lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.44.0 vs lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.45.0
- old
+ new
@@ -25,10 +25,11 @@
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
require 'aws-sdk-core/plugins/transfer_encoding.rb'
require 'aws-sdk-core/plugins/http_checksum.rb'
+require 'aws-sdk-core/plugins/defaults_mode.rb'
require 'aws-sdk-core/plugins/signature_v4.rb'
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
Aws::Plugins::GlobalConfiguration.add_identifier(:transfer)
@@ -71,10 +72,11 @@
add_plugin(Aws::Plugins::JsonvalueConverter)
add_plugin(Aws::Plugins::ClientMetricsPlugin)
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
add_plugin(Aws::Plugins::TransferEncoding)
add_plugin(Aws::Plugins::HttpChecksum)
+ add_plugin(Aws::Plugins::DefaultsMode)
add_plugin(Aws::Plugins::SignatureV4)
add_plugin(Aws::Plugins::Protocols::JsonRpc)
# @overload initialize(options)
# @param [Hash] options
@@ -173,10 +175,14 @@
#
# @option options [Boolean] :correct_clock_skew (true)
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
# a clock skew correction and retry requests with skewed client clocks.
#
+ # @option options [String] :defaults_mode ("legacy")
+ # See {Aws::DefaultsModeConfiguration} for a list of the
+ # accepted modes and the configuration defaults that are included.
+ #
# @option options [Boolean] :disable_host_prefix_injection (false)
# Set to true to disable SDK automatically adding host prefix
# to default service endpoint when available.
#
# @option options [String] :endpoint
@@ -305,11 +311,11 @@
#
# @option options [Float] :http_open_timeout (15) The number of
# seconds to wait when opening a HTTP session before raising a
# `Timeout::Error`.
#
- # @option options [Integer] :http_read_timeout (60) The default
+ # @option options [Float] :http_read_timeout (60) The default
# number of seconds to wait for response data. This value can
# safely be set per-request on the session.
#
# @option options [Float] :http_idle_timeout (5) The number of
# seconds a connection is allowed to sit idle before it is
@@ -321,10 +327,13 @@
# request body. This option has no effect unless the request has
# "Expect" header set to "100-continue". Defaults to `nil` which
# disables this behaviour. This value can safely be set per
# request on the session.
#
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
+ # in seconds.
+ #
# @option options [Boolean] :http_wire_trace (false) When `true`,
# HTTP debug output will be sent to the `:logger`.
#
# @option options [Boolean] :ssl_verify_peer (true) When `true`,
# SSL peer certificates are verified when establishing a
@@ -641,11 +650,11 @@
# Use the `API_GATEWAY` value to integrate with an identity provider of
# your choosing. The `API_GATEWAY` setting requires you to provide an
# API Gateway endpoint URL to call for authentication using the
# `IdentityProviderDetails` parameter.
#
- # Use the `LAMBDA` value to directly use a Lambda function as your
+ # Use the `AWS_LAMBDA` value to directly use a Lambda function as your
# identity provider. If you choose this value, you must specify the ARN
# for the lambda function in the `Function` parameter for the
# `IdentityProviderDetails` data type.
#
# @option params [String] :logging_role
@@ -682,10 +691,21 @@
# `PUBLIC` and the `IdentityProviderType` can be set to
# `SERVICE_MANAGED`.
#
# </note>
#
+ # @option params [Types::ProtocolDetails] :protocol_details
+ # The protocol settings that are configured for your server.
+ #
+ # Use the `PassiveIp` parameter to indicate passive mode (for FTP and
+ # FTPS protocols). Enter a single dotted-quad IPv4 address, such as the
+ # external IP address of a firewall, router, or load balancer.
+ #
+ # Use the `TlsSessionResumptionMode` parameter to determine whether or
+ # not your Transfer server resumes recent, negotiated sessions through a
+ # unique session ID.
+ #
# @option params [String] :security_policy_name
# Specifies the name of the security policy that is attached to the
# server.
#
# @option params [Array<Types::Tag>] :tags
@@ -720,10 +740,14 @@
# function: "Function",
# },
# identity_provider_type: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, API_GATEWAY, AWS_DIRECTORY_SERVICE, AWS_LAMBDA
# logging_role: "Role",
# protocols: ["SFTP"], # accepts SFTP, FTP, FTPS
+ # protocol_details: {
+ # passive_ip: "PassiveIp",
+ # tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
+ # },
# security_policy_name: "SecurityPolicyName",
# tags: [
# {
# key: "TagKey", # required
# value: "TagValue", # required
@@ -861,10 +885,15 @@
#
# @option params [String] :ssh_public_key_body
# The public portion of the Secure Shell (SSH) key used to authenticate
# the user to the server.
#
+ # <note markdown="1"> Currently, Transfer Family does not accept elliptical curve keys (keys
+ # beginning with `ecdsa`).
+ #
+ # </note>
+ #
# @option params [Array<Types::Tag>] :tags
# Key-value pairs that can be used to group and search for users. Tags
# are metadata attached to users for any purpose.
#
# @option params [required, String] :user_name
@@ -1423,10 +1452,11 @@
# @example Response structure
#
# resp.server.arn #=> String
# resp.server.certificate #=> String
# resp.server.protocol_details.passive_ip #=> String
+ # resp.server.protocol_details.tls_session_resumption_mode #=> String, one of "DISABLED", "ENABLED", "ENFORCED"
# resp.server.domain #=> String, one of "S3", "EFS"
# resp.server.endpoint_details.address_allocation_ids #=> Array
# resp.server.endpoint_details.address_allocation_ids[0] #=> String
# resp.server.endpoint_details.subnet_ids #=> Array
# resp.server.endpoint_details.subnet_ids[0] #=> String
@@ -2474,10 +2504,14 @@
#
# Use the `PassiveIp` parameter to indicate passive mode (for FTP and
# FTPS protocols). Enter a single dotted-quad IPv4 address, such as the
# external IP address of a firewall, router, or load balancer.
#
+ # Use the `TlsSessionResumptionMode` parameter to determine whether or
+ # not your Transfer server resumes recent, negotiated sessions through a
+ # unique session ID.
+ #
# @option params [Types::EndpointDetails] :endpoint_details
# The virtual private cloud (VPC) endpoint settings that are configured
# for your server. When you host your endpoint within your VPC, you can
# make it accessible only to resources within your VPC, or you can
# attach Elastic IP addresses and make it accessible to clients over the
@@ -2586,10 +2620,11 @@
#
# resp = client.update_server({
# certificate: "Certificate",
# protocol_details: {
# passive_ip: "PassiveIp",
+ # tls_session_resumption_mode: "DISABLED", # accepts DISABLED, ENABLED, ENFORCED
# },
# endpoint_details: {
# address_allocation_ids: ["AddressAllocationId"],
# subnet_ids: ["SubnetId"],
# vpc_endpoint_id: "VpcEndpointId",
@@ -2797,10 +2832,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-transfer'
- context[:gem_version] = '1.44.0'
+ context[:gem_version] = '1.45.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated