lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.88.0 vs lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.89.0
- old
+ new
@@ -676,21 +676,21 @@
# Creates the connector, which captures the parameters for a connection
# for the AS2 or SFTP protocol. For AS2, the connector is required for
# sending files to an externally hosted AS2 server. For SFTP, the
# connector is required when sending files to an SFTP server or
# receiving files from an SFTP server. For more details about
- # connectors, see [Create AS2 connectors][1] and [Create SFTP
+ # connectors, see [Configure AS2 connectors][1] and [Create SFTP
# connectors][2].
#
# <note markdown="1"> You must specify exactly one configuration object: either for AS2
# (`As2Config`) or SFTP (`SftpConfig`).
#
# </note>
#
#
#
- # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector
+ # [1]: https://docs.aws.amazon.com/transfer/latest/userguide/configure-as2-connector.html
# [2]: https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html
#
# @option params [required, String] :url
# The URL of the partner's AS2 or SFTP endpoint.
#
@@ -755,11 +755,11 @@
# as_2_config: {
# local_profile_id: "ProfileId",
# partner_profile_id: "ProfileId",
# message_subject: "MessageSubject",
# compression: "ZLIB", # accepts ZLIB, DISABLED
- # encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC, NONE
+ # encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC, DES_EDE3_CBC, NONE
# signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
# mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
# mdn_response: "SYNC", # accepts SYNC, NONE
# basic_auth_secret_id: "As2ConnectorSecretId",
# },
@@ -2052,11 +2052,11 @@
# resp.connector.url #=> String
# resp.connector.as_2_config.local_profile_id #=> String
# resp.connector.as_2_config.partner_profile_id #=> String
# resp.connector.as_2_config.message_subject #=> String
# resp.connector.as_2_config.compression #=> String, one of "ZLIB", "DISABLED"
- # resp.connector.as_2_config.encryption_algorithm #=> String, one of "AES128_CBC", "AES192_CBC", "AES256_CBC", "NONE"
+ # resp.connector.as_2_config.encryption_algorithm #=> String, one of "AES128_CBC", "AES192_CBC", "AES256_CBC", "DES_EDE3_CBC", "NONE"
# resp.connector.as_2_config.signing_algorithm #=> String, one of "SHA256", "SHA384", "SHA512", "SHA1", "NONE"
# resp.connector.as_2_config.mdn_signing_algorithm #=> String, one of "SHA256", "SHA384", "SHA512", "SHA1", "NONE", "DEFAULT"
# resp.connector.as_2_config.mdn_response #=> String, one of "SYNC", "NONE"
# resp.connector.as_2_config.basic_auth_secret_id #=> String
# resp.connector.access_role #=> String
@@ -4058,11 +4058,11 @@
# as_2_config: {
# local_profile_id: "ProfileId",
# partner_profile_id: "ProfileId",
# message_subject: "MessageSubject",
# compression: "ZLIB", # accepts ZLIB, DISABLED
- # encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC, NONE
+ # encryption_algorithm: "AES128_CBC", # accepts AES128_CBC, AES192_CBC, AES256_CBC, DES_EDE3_CBC, NONE
# signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE
# mdn_signing_algorithm: "SHA256", # accepts SHA256, SHA384, SHA512, SHA1, NONE, DEFAULT
# mdn_response: "SYNC", # accepts SYNC, NONE
# basic_auth_secret_id: "As2ConnectorSecretId",
# },
@@ -4498,10 +4498,25 @@
# `UserName` and `ServerId` you specify.
#
# The response returns the `ServerId` and the `UserName` for the updated
# user.
#
+ # In the console, you can select *Restricted* when you create or update
+ # a user. This ensures that the user can't access anything outside of
+ # their home directory. The programmatic way to configure this behavior
+ # is to update the user. Set their `HomeDirectoryType` to `LOGICAL`, and
+ # specify `HomeDirectoryMappings` with `Entry` as root (`/`) and
+ # `Target` as their home directory.
+ #
+ # For example, if the user's home directory is `/test/admin-user`, the
+ # following command updates the user so that their configuration in the
+ # console shows the *Restricted* flag as selected.
+ #
+ # ` aws transfer update-user --server-id <server-id> --user-name
+ # admin-user --home-directory-type LOGICAL --home-directory-mappings
+ # "[\{"Entry":"/", "Target":"/test/admin-user"\}]"`
+ #
# @option params [String] :home_directory
# The landing directory (folder) for a user when they log in to the
# server using the client.
#
# A `HomeDirectory` example is `/bucket_name/home/mydirectory`.
@@ -4663,10 +4678,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-transfer'
- context[:gem_version] = '1.88.0'
+ context[:gem_version] = '1.89.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#