lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.89.0 vs lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.90.0
- old
+ new
@@ -742,10 +742,13 @@
# Tags are metadata attached to connectors for any purpose.
#
# @option params [Types::SftpConnectorConfig] :sftp_config
# A structure that contains the parameters for an SFTP connector object.
#
+ # @option params [String] :security_policy_name
+ # Specifies the name of the security policy for the connector.
+ #
# @return [Types::CreateConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateConnectorResponse#connector_id #connector_id} => String
#
# @example Request syntax with placeholder values
@@ -773,10 +776,11 @@
# ],
# sftp_config: {
# user_secret_id: "SecretId",
# trusted_host_keys: ["SftpConnectorTrustedHostKey"],
# },
+ # security_policy_name: "ConnectorSecurityPolicyName",
# })
#
# @example Response structure
#
# resp.connector_id #=> String
@@ -1094,12 +1098,11 @@
#
# * `As2Transports` indicates the transport method for the AS2 messages.
# Currently, only HTTP is supported.
#
# @option params [String] :security_policy_name
- # Specifies the name of the security policy that is attached to the
- # server.
+ # Specifies the name of the security policy for the server.
#
# @option params [Array<Types::Tag>] :tags
# Key-value pairs that can be used to group and search for servers.
#
# @option params [Types::WorkflowDetails] :workflow_details
@@ -2067,10 +2070,11 @@
# resp.connector.sftp_config.user_secret_id #=> String
# resp.connector.sftp_config.trusted_host_keys #=> Array
# resp.connector.sftp_config.trusted_host_keys[0] #=> String
# resp.connector.service_managed_egress_ip_addresses #=> Array
# resp.connector.service_managed_egress_ip_addresses[0] #=> String
+ # resp.connector.security_policy_name #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeConnector AWS API Documentation
#
# @overload describe_connector(params = {})
# @param [Hash] params ({})
@@ -2226,22 +2230,24 @@
def describe_profile(params = {}, options = {})
req = build_request(:describe_profile, params)
req.send_request(options)
end
- # Describes the security policy that is attached to your file transfer
- # protocol-enabled server. The response contains a description of the
- # security policy's properties. For more information about security
- # policies, see [Working with security policies][1].
+ # Describes the security policy that is attached to your server or SFTP
+ # connector. The response contains a description of the security
+ # policy's properties. For more information about security policies,
+ # see [Working with security policies for servers][1] or [Working with
+ # security policies for SFTP connectors][2].
#
#
#
# [1]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html
+ # [2]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html
#
# @option params [required, String] :security_policy_name
- # Specifies the name of the security policy that is attached to the
- # server.
+ # Specify the text name of the security policy for which you want the
+ # details.
#
# @return [Types::DescribeSecurityPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DescribeSecurityPolicyResponse#security_policy #security_policy} => Types::DescribedSecurityPolicy
#
@@ -2261,10 +2267,15 @@
# resp.security_policy.ssh_kexs[0] #=> String
# resp.security_policy.ssh_macs #=> Array
# resp.security_policy.ssh_macs[0] #=> String
# resp.security_policy.tls_ciphers #=> Array
# resp.security_policy.tls_ciphers[0] #=> String
+ # resp.security_policy.ssh_host_key_algorithms #=> Array
+ # resp.security_policy.ssh_host_key_algorithms[0] #=> String
+ # resp.security_policy.type #=> String, one of "SERVER", "CONNECTOR"
+ # resp.security_policy.protocols #=> Array
+ # resp.security_policy.protocols[0] #=> String, one of "SFTP", "FTPS"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy AWS API Documentation
#
# @overload describe_security_policy(params = {})
# @param [Hash] params ({})
@@ -3056,13 +3067,20 @@
def list_profiles(params = {}, options = {})
req = build_request(:list_profiles, params)
req.send_request(options)
end
- # Lists the security policies that are attached to your file transfer
- # protocol-enabled servers.
+ # Lists the security policies that are attached to your servers and SFTP
+ # connectors. For more information about security policies, see [Working
+ # with security policies for servers][1] or [Working with security
+ # policies for SFTP connectors][2].
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html
+ # [2]: https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html
+ #
# @option params [Integer] :max_results
# Specifies the number of security policies to return as a response to
# the `ListSecurityPolicies` query.
#
# @option params [String] :next_token
@@ -4044,10 +4062,13 @@
# CloudWatch logs.
#
# @option params [Types::SftpConnectorConfig] :sftp_config
# A structure that contains the parameters for an SFTP connector object.
#
+ # @option params [String] :security_policy_name
+ # Specifies the name of the security policy for the connector.
+ #
# @return [Types::UpdateConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateConnectorResponse#connector_id #connector_id} => String
#
# @example Request syntax with placeholder values
@@ -4070,10 +4091,11 @@
# logging_role: "Role",
# sftp_config: {
# user_secret_id: "SecretId",
# trusted_host_keys: ["SftpConnectorTrustedHostKey"],
# },
+ # security_policy_name: "ConnectorSecurityPolicyName",
# })
#
# @example Response structure
#
# resp.connector_id #=> String
@@ -4371,12 +4393,11 @@
# and domain must be Amazon S3.
#
# </note>
#
# @option params [String] :security_policy_name
- # Specifies the name of the security policy that is attached to the
- # server.
+ # Specifies the name of the security policy for the server.
#
# @option params [required, String] :server_id
# A system-assigned unique identifier for a server instance that the
# Transfer Family user is assigned to.
#
@@ -4678,10 +4699,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-transfer'
- context[:gem_version] = '1.89.0'
+ context[:gem_version] = '1.90.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#