lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.83.0 vs lib/aws-sdk-transfer/client.rb in aws-sdk-transfer-1.84.0
- old
+ new
@@ -538,10 +538,11 @@
# home_directory_type: "PATH", # accepts PATH, LOGICAL
# home_directory_mappings: [
# {
# entry: "MapEntry", # required
# target: "MapTarget", # required
+ # type: "FILE", # accepts FILE, DIRECTORY
# },
# ],
# policy: "Policy",
# posix_profile: {
# uid: 1, # required
@@ -1128,10 +1129,19 @@
# example:
#
# `update-server --server-id s-1234567890abcdef0
# --structured-log-destinations`
#
+ # @option params [Types::S3StorageOptions] :s3_storage_options
+ # Specifies whether or not performance for your Amazon S3 directories is
+ # optimized. This is disabled by default.
+ #
+ # By default, home directory mappings have a `TYPE` of `DIRECTORY`. If
+ # you enable this option, you would then need to explicitly set the
+ # `HomeDirectoryMapEntry` `Type` to `FILE` if you want a mapping to have
+ # a file target.
+ #
# @return [Types::CreateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateServerResponse#server_id #server_id} => String
#
# @example Request syntax with placeholder values
@@ -1186,10 +1196,13 @@
# execution_role: "Role", # required
# },
# ],
# },
# structured_log_destinations: ["Arn"],
+ # s3_storage_options: {
+ # directory_listing_optimization: "ENABLED", # accepts ENABLED, DISABLED
+ # },
# })
#
# @example Response structure
#
# resp.server_id #=> String
@@ -1354,10 +1367,11 @@
# home_directory_type: "PATH", # accepts PATH, LOGICAL
# home_directory_mappings: [
# {
# entry: "MapEntry", # required
# target: "MapTarget", # required
+ # type: "FILE", # accepts FILE, DIRECTORY
# },
# ],
# policy: "Policy",
# posix_profile: {
# uid: 1, # required
@@ -1907,10 +1921,11 @@
# resp.server_id #=> String
# resp.access.home_directory #=> String
# resp.access.home_directory_mappings #=> Array
# resp.access.home_directory_mappings[0].entry #=> String
# resp.access.home_directory_mappings[0].target #=> String
+ # resp.access.home_directory_mappings[0].type #=> String, one of "FILE", "DIRECTORY"
# resp.access.home_directory_type #=> String, one of "PATH", "LOGICAL"
# resp.access.policy #=> String
# resp.access.posix_profile.uid #=> Integer
# resp.access.posix_profile.gid #=> Integer
# resp.access.posix_profile.secondary_gids #=> Array
@@ -2320,10 +2335,11 @@
# resp.server.workflow_details.on_partial_upload #=> Array
# resp.server.workflow_details.on_partial_upload[0].workflow_id #=> String
# resp.server.workflow_details.on_partial_upload[0].execution_role #=> String
# resp.server.structured_log_destinations #=> Array
# resp.server.structured_log_destinations[0] #=> String
+ # resp.server.s3_storage_options.directory_listing_optimization #=> String, one of "ENABLED", "DISABLED"
#
#
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
#
# * server_offline
@@ -2371,10 +2387,11 @@
# resp.user.arn #=> String
# resp.user.home_directory #=> String
# resp.user.home_directory_mappings #=> Array
# resp.user.home_directory_mappings[0].entry #=> String
# resp.user.home_directory_mappings[0].target #=> String
+ # resp.user.home_directory_mappings[0].type #=> String, one of "FILE", "DIRECTORY"
# resp.user.home_directory_type #=> String, one of "PATH", "LOGICAL"
# resp.user.policy #=> String
# resp.user.posix_profile.uid #=> Integer
# resp.user.posix_profile.gid #=> Integer
# resp.user.posix_profile.secondary_gids #=> Array
@@ -3801,10 +3818,11 @@
# home_directory_type: "PATH", # accepts PATH, LOGICAL
# home_directory_mappings: [
# {
# entry: "MapEntry", # required
# target: "MapTarget", # required
+ # type: "FILE", # accepts FILE, DIRECTORY
# },
# ],
# policy: "Policy",
# posix_profile: {
# uid: 1, # required
@@ -4391,10 +4409,19 @@
# example:
#
# `update-server --server-id s-1234567890abcdef0
# --structured-log-destinations`
#
+ # @option params [Types::S3StorageOptions] :s3_storage_options
+ # Specifies whether or not performance for your Amazon S3 directories is
+ # optimized. This is disabled by default.
+ #
+ # By default, home directory mappings have a `TYPE` of `DIRECTORY`. If
+ # you enable this option, you would then need to explicitly set the
+ # `HomeDirectoryMapEntry` `Type` to `FILE` if you want a mapping to have
+ # a file target.
+ #
# @return [Types::UpdateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateServerResponse#server_id #server_id} => String
#
# @example Request syntax with placeholder values
@@ -4442,10 +4469,13 @@
# execution_role: "Role", # required
# },
# ],
# },
# structured_log_destinations: ["Arn"],
+ # s3_storage_options: {
+ # directory_listing_optimization: "ENABLED", # accepts ENABLED, DISABLED
+ # },
# })
#
# @example Response structure
#
# resp.server_id #=> String
@@ -4588,10 +4618,11 @@
# home_directory_type: "PATH", # accepts PATH, LOGICAL
# home_directory_mappings: [
# {
# entry: "MapEntry", # required
# target: "MapTarget", # required
+ # type: "FILE", # accepts FILE, DIRECTORY
# },
# ],
# policy: "Policy",
# posix_profile: {
# uid: 1, # required
@@ -4628,10 +4659,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-transfer'
- context[:gem_version] = '1.83.0'
+ context[:gem_version] = '1.84.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#