aws-sdk-transfer 1.83.0 → 1.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feb68e88f1f47eb13e3073f521d9e259d0784edda7cc3d1fa85eb1e1cf57e98a
4
- data.tar.gz: 2c6d9bed1321b215320865462d466f612769b5f9aad736381cd64890dd93c478
3
+ metadata.gz: eaad993f5ebb6d19753c237db94a5f16686faa3c6421f6eee927c919a1e27534
4
+ data.tar.gz: 610ad2cb14bedd04c227161609813d000697758a4cd5c0f9e05133426fb8215a
5
5
  SHA512:
6
- metadata.gz: 064f2a13a4bcc13560091cc5ba753635aaf4a8f3f376b3730f751edb6586d3a49dd66d77ecc37e505851f6ace42763d300cdcb27dd660f5374c392ec60245208
7
- data.tar.gz: 6f58d5ea97d8299619dc0faaf543a606202707fdda2bc776fdb72d18f381be793c170486763ba122dfff93e768a10dd5bc379879348872073cd90b0db851b984
6
+ metadata.gz: 24ce1f79924e3bf4bbf15abf3b8a0daff602d1d0d9fbf268db540eb188a2984052dd80699cbaa403e0cd484bc8ccde71ac306e0114c48df7c459bb3797bebfad
7
+ data.tar.gz: 606ab70216480b776531becec406d3b6b4f1187a71d2c73bb52a96eea2d1d638299ca5fcaeb98d7609cfa9b89f121c18e987d6c4f8c5986e60e521f5400405da
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.84.0 (2023-11-16)
5
+ ------------------
6
+
7
+ * Feature - Introduced S3StorageOptions for servers to enable directory listing optimizations and added Type fields to logical directory mappings.
8
+
4
9
  1.83.0 (2023-10-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.83.0
1
+ 1.84.0
@@ -540,6 +540,7 @@ module Aws::Transfer
540
540
  # {
541
541
  # entry: "MapEntry", # required
542
542
  # target: "MapTarget", # required
543
+ # type: "FILE", # accepts FILE, DIRECTORY
543
544
  # },
544
545
  # ],
545
546
  # policy: "Policy",
@@ -1130,6 +1131,15 @@ module Aws::Transfer
1130
1131
  # `update-server --server-id s-1234567890abcdef0
1131
1132
  # --structured-log-destinations`
1132
1133
  #
1134
+ # @option params [Types::S3StorageOptions] :s3_storage_options
1135
+ # Specifies whether or not performance for your Amazon S3 directories is
1136
+ # optimized. This is disabled by default.
1137
+ #
1138
+ # By default, home directory mappings have a `TYPE` of `DIRECTORY`. If
1139
+ # you enable this option, you would then need to explicitly set the
1140
+ # `HomeDirectoryMapEntry` `Type` to `FILE` if you want a mapping to have
1141
+ # a file target.
1142
+ #
1133
1143
  # @return [Types::CreateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1134
1144
  #
1135
1145
  # * {Types::CreateServerResponse#server_id #server_id} => String
@@ -1188,6 +1198,9 @@ module Aws::Transfer
1188
1198
  # ],
1189
1199
  # },
1190
1200
  # structured_log_destinations: ["Arn"],
1201
+ # s3_storage_options: {
1202
+ # directory_listing_optimization: "ENABLED", # accepts ENABLED, DISABLED
1203
+ # },
1191
1204
  # })
1192
1205
  #
1193
1206
  # @example Response structure
@@ -1356,6 +1369,7 @@ module Aws::Transfer
1356
1369
  # {
1357
1370
  # entry: "MapEntry", # required
1358
1371
  # target: "MapTarget", # required
1372
+ # type: "FILE", # accepts FILE, DIRECTORY
1359
1373
  # },
1360
1374
  # ],
1361
1375
  # policy: "Policy",
@@ -1909,6 +1923,7 @@ module Aws::Transfer
1909
1923
  # resp.access.home_directory_mappings #=> Array
1910
1924
  # resp.access.home_directory_mappings[0].entry #=> String
1911
1925
  # resp.access.home_directory_mappings[0].target #=> String
1926
+ # resp.access.home_directory_mappings[0].type #=> String, one of "FILE", "DIRECTORY"
1912
1927
  # resp.access.home_directory_type #=> String, one of "PATH", "LOGICAL"
1913
1928
  # resp.access.policy #=> String
1914
1929
  # resp.access.posix_profile.uid #=> Integer
@@ -2322,6 +2337,7 @@ module Aws::Transfer
2322
2337
  # resp.server.workflow_details.on_partial_upload[0].execution_role #=> String
2323
2338
  # resp.server.structured_log_destinations #=> Array
2324
2339
  # resp.server.structured_log_destinations[0] #=> String
2340
+ # resp.server.s3_storage_options.directory_listing_optimization #=> String, one of "ENABLED", "DISABLED"
2325
2341
  #
2326
2342
  #
2327
2343
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2373,6 +2389,7 @@ module Aws::Transfer
2373
2389
  # resp.user.home_directory_mappings #=> Array
2374
2390
  # resp.user.home_directory_mappings[0].entry #=> String
2375
2391
  # resp.user.home_directory_mappings[0].target #=> String
2392
+ # resp.user.home_directory_mappings[0].type #=> String, one of "FILE", "DIRECTORY"
2376
2393
  # resp.user.home_directory_type #=> String, one of "PATH", "LOGICAL"
2377
2394
  # resp.user.policy #=> String
2378
2395
  # resp.user.posix_profile.uid #=> Integer
@@ -3803,6 +3820,7 @@ module Aws::Transfer
3803
3820
  # {
3804
3821
  # entry: "MapEntry", # required
3805
3822
  # target: "MapTarget", # required
3823
+ # type: "FILE", # accepts FILE, DIRECTORY
3806
3824
  # },
3807
3825
  # ],
3808
3826
  # policy: "Policy",
@@ -4393,6 +4411,15 @@ module Aws::Transfer
4393
4411
  # `update-server --server-id s-1234567890abcdef0
4394
4412
  # --structured-log-destinations`
4395
4413
  #
4414
+ # @option params [Types::S3StorageOptions] :s3_storage_options
4415
+ # Specifies whether or not performance for your Amazon S3 directories is
4416
+ # optimized. This is disabled by default.
4417
+ #
4418
+ # By default, home directory mappings have a `TYPE` of `DIRECTORY`. If
4419
+ # you enable this option, you would then need to explicitly set the
4420
+ # `HomeDirectoryMapEntry` `Type` to `FILE` if you want a mapping to have
4421
+ # a file target.
4422
+ #
4396
4423
  # @return [Types::UpdateServerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4397
4424
  #
4398
4425
  # * {Types::UpdateServerResponse#server_id #server_id} => String
@@ -4444,6 +4471,9 @@ module Aws::Transfer
4444
4471
  # ],
4445
4472
  # },
4446
4473
  # structured_log_destinations: ["Arn"],
4474
+ # s3_storage_options: {
4475
+ # directory_listing_optimization: "ENABLED", # accepts ENABLED, DISABLED
4476
+ # },
4447
4477
  # })
4448
4478
  #
4449
4479
  # @example Response structure
@@ -4590,6 +4620,7 @@ module Aws::Transfer
4590
4620
  # {
4591
4621
  # entry: "MapEntry", # required
4592
4622
  # target: "MapTarget", # required
4623
+ # type: "FILE", # accepts FILE, DIRECTORY
4593
4624
  # },
4594
4625
  # ],
4595
4626
  # policy: "Policy",
@@ -4630,7 +4661,7 @@ module Aws::Transfer
4630
4661
  params: params,
4631
4662
  config: config)
4632
4663
  context[:gem_name] = 'aws-sdk-transfer'
4633
- context[:gem_version] = '1.83.0'
4664
+ context[:gem_version] = '1.84.0'
4634
4665
  Seahorse::Client::Request.new(handlers, context)
4635
4666
  end
4636
4667
 
@@ -105,6 +105,7 @@ module Aws::Transfer
105
105
  DescribedWorkflow = Shapes::StructureShape.new(name: 'DescribedWorkflow')
106
106
  Description = Shapes::StringShape.new(name: 'Description')
107
107
  DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
108
+ DirectoryListingOptimization = Shapes::StringShape.new(name: 'DirectoryListingOptimization')
108
109
  Domain = Shapes::StringShape.new(name: 'Domain')
109
110
  EfsFileLocation = Shapes::StructureShape.new(name: 'EfsFileLocation')
110
111
  EfsFileSystemId = Shapes::StringShape.new(name: 'EfsFileSystemId')
@@ -196,6 +197,7 @@ module Aws::Transfer
196
197
  LoggingConfiguration = Shapes::StructureShape.new(name: 'LoggingConfiguration')
197
198
  MapEntry = Shapes::StringShape.new(name: 'MapEntry')
198
199
  MapTarget = Shapes::StringShape.new(name: 'MapTarget')
200
+ MapType = Shapes::StringShape.new(name: 'MapType')
199
201
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
200
202
  MdnResponse = Shapes::StringShape.new(name: 'MdnResponse')
201
203
  MdnSigningAlg = Shapes::StringShape.new(name: 'MdnSigningAlg')
@@ -230,6 +232,7 @@ module Aws::Transfer
230
232
  S3FileLocation = Shapes::StructureShape.new(name: 'S3FileLocation')
231
233
  S3InputFileLocation = Shapes::StructureShape.new(name: 'S3InputFileLocation')
232
234
  S3Key = Shapes::StringShape.new(name: 'S3Key')
235
+ S3StorageOptions = Shapes::StructureShape.new(name: 'S3StorageOptions')
233
236
  S3Tag = Shapes::StructureShape.new(name: 'S3Tag')
234
237
  S3TagKey = Shapes::StringShape.new(name: 'S3TagKey')
235
238
  S3TagValue = Shapes::StringShape.new(name: 'S3TagValue')
@@ -413,6 +416,7 @@ module Aws::Transfer
413
416
  CreateServerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
414
417
  CreateServerRequest.add_member(:workflow_details, Shapes::ShapeRef.new(shape: WorkflowDetails, location_name: "WorkflowDetails"))
415
418
  CreateServerRequest.add_member(:structured_log_destinations, Shapes::ShapeRef.new(shape: StructuredLogDestinations, location_name: "StructuredLogDestinations"))
419
+ CreateServerRequest.add_member(:s3_storage_options, Shapes::ShapeRef.new(shape: S3StorageOptions, location_name: "S3StorageOptions"))
416
420
  CreateServerRequest.struct_class = Types::CreateServerRequest
417
421
 
418
422
  CreateServerResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
@@ -672,6 +676,7 @@ module Aws::Transfer
672
676
  DescribedServer.add_member(:user_count, Shapes::ShapeRef.new(shape: UserCount, location_name: "UserCount"))
673
677
  DescribedServer.add_member(:workflow_details, Shapes::ShapeRef.new(shape: WorkflowDetails, location_name: "WorkflowDetails"))
674
678
  DescribedServer.add_member(:structured_log_destinations, Shapes::ShapeRef.new(shape: StructuredLogDestinations, location_name: "StructuredLogDestinations"))
679
+ DescribedServer.add_member(:s3_storage_options, Shapes::ShapeRef.new(shape: S3StorageOptions, location_name: "S3StorageOptions"))
675
680
  DescribedServer.struct_class = Types::DescribedServer
676
681
 
677
682
  DescribedUser.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
@@ -728,6 +733,7 @@ module Aws::Transfer
728
733
 
729
734
  HomeDirectoryMapEntry.add_member(:entry, Shapes::ShapeRef.new(shape: MapEntry, required: true, location_name: "Entry"))
730
735
  HomeDirectoryMapEntry.add_member(:target, Shapes::ShapeRef.new(shape: MapTarget, required: true, location_name: "Target"))
736
+ HomeDirectoryMapEntry.add_member(:type, Shapes::ShapeRef.new(shape: MapType, location_name: "Type"))
731
737
  HomeDirectoryMapEntry.struct_class = Types::HomeDirectoryMapEntry
732
738
 
733
739
  HomeDirectoryMappings.member = Shapes::ShapeRef.new(shape: HomeDirectoryMapEntry)
@@ -1027,6 +1033,9 @@ module Aws::Transfer
1027
1033
  S3InputFileLocation.add_member(:key, Shapes::ShapeRef.new(shape: S3Key, location_name: "Key"))
1028
1034
  S3InputFileLocation.struct_class = Types::S3InputFileLocation
1029
1035
 
1036
+ S3StorageOptions.add_member(:directory_listing_optimization, Shapes::ShapeRef.new(shape: DirectoryListingOptimization, location_name: "DirectoryListingOptimization"))
1037
+ S3StorageOptions.struct_class = Types::S3StorageOptions
1038
+
1030
1039
  S3Tag.add_member(:key, Shapes::ShapeRef.new(shape: S3TagKey, required: true, location_name: "Key"))
1031
1040
  S3Tag.add_member(:value, Shapes::ShapeRef.new(shape: S3TagValue, required: true, location_name: "Value"))
1032
1041
  S3Tag.struct_class = Types::S3Tag
@@ -1210,6 +1219,7 @@ module Aws::Transfer
1210
1219
  UpdateServerRequest.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
1211
1220
  UpdateServerRequest.add_member(:workflow_details, Shapes::ShapeRef.new(shape: WorkflowDetails, location_name: "WorkflowDetails"))
1212
1221
  UpdateServerRequest.add_member(:structured_log_destinations, Shapes::ShapeRef.new(shape: StructuredLogDestinations, location_name: "StructuredLogDestinations"))
1222
+ UpdateServerRequest.add_member(:s3_storage_options, Shapes::ShapeRef.new(shape: S3StorageOptions, location_name: "S3StorageOptions"))
1213
1223
  UpdateServerRequest.struct_class = Types::UpdateServerRequest
1214
1224
 
1215
1225
  UpdateServerResponse.add_member(:server_id, Shapes::ShapeRef.new(shape: ServerId, required: true, location_name: "ServerId"))
@@ -908,6 +908,16 @@ module Aws::Transfer
908
908
  # --structured-log-destinations`
909
909
  # @return [Array<String>]
910
910
  #
911
+ # @!attribute [rw] s3_storage_options
912
+ # Specifies whether or not performance for your Amazon S3 directories
913
+ # is optimized. This is disabled by default.
914
+ #
915
+ # By default, home directory mappings have a `TYPE` of `DIRECTORY`. If
916
+ # you enable this option, you would then need to explicitly set the
917
+ # `HomeDirectoryMapEntry` `Type` to `FILE` if you want a mapping to
918
+ # have a file target.
919
+ # @return [Types::S3StorageOptions]
920
+ #
911
921
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServerRequest AWS API Documentation
912
922
  #
913
923
  class CreateServerRequest < Struct.new(
@@ -926,7 +936,8 @@ module Aws::Transfer
926
936
  :security_policy_name,
927
937
  :tags,
928
938
  :workflow_details,
929
- :structured_log_destinations)
939
+ :structured_log_destinations,
940
+ :s3_storage_options)
930
941
  SENSITIVE = [:host_key]
931
942
  include Aws::Structure
932
943
  end
@@ -2656,6 +2667,16 @@ module Aws::Transfer
2656
2667
  # --structured-log-destinations`
2657
2668
  # @return [Array<String>]
2658
2669
  #
2670
+ # @!attribute [rw] s3_storage_options
2671
+ # Specifies whether or not performance for your Amazon S3 directories
2672
+ # is optimized. This is disabled by default.
2673
+ #
2674
+ # By default, home directory mappings have a `TYPE` of `DIRECTORY`. If
2675
+ # you enable this option, you would then need to explicitly set the
2676
+ # `HomeDirectoryMapEntry` `Type` to `FILE` if you want a mapping to
2677
+ # have a file target.
2678
+ # @return [Types::S3StorageOptions]
2679
+ #
2659
2680
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribedServer AWS API Documentation
2660
2681
  #
2661
2682
  class DescribedServer < Struct.new(
@@ -2678,7 +2699,8 @@ module Aws::Transfer
2678
2699
  :tags,
2679
2700
  :user_count,
2680
2701
  :workflow_details,
2681
- :structured_log_destinations)
2702
+ :structured_log_destinations,
2703
+ :s3_storage_options)
2682
2704
  SENSITIVE = []
2683
2705
  include Aws::Structure
2684
2706
  end
@@ -3099,14 +3121,28 @@ module Aws::Transfer
3099
3121
  # @return [String]
3100
3122
  #
3101
3123
  # @!attribute [rw] target
3102
- # Represents the map target that is used in a `HomeDirectorymapEntry`.
3124
+ # Represents the map target that is used in a `HomeDirectoryMapEntry`.
3125
+ # @return [String]
3126
+ #
3127
+ # @!attribute [rw] type
3128
+ # Specifies the type of mapping. Set the type to `FILE` if you want
3129
+ # the mapping to point to a file, or `DIRECTORY` for the directory to
3130
+ # point to a directory.
3131
+ #
3132
+ # <note markdown="1"> By default, home directory mappings have a `Type` of `DIRECTORY`
3133
+ # when you create a Transfer Family server. You would need to
3134
+ # explicitly set `Type` to `FILE` if you want a mapping to have a file
3135
+ # target.
3136
+ #
3137
+ # </note>
3103
3138
  # @return [String]
3104
3139
  #
3105
3140
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/HomeDirectoryMapEntry AWS API Documentation
3106
3141
  #
3107
3142
  class HomeDirectoryMapEntry < Struct.new(
3108
3143
  :entry,
3109
- :target)
3144
+ :target,
3145
+ :type)
3110
3146
  SENSITIVE = []
3111
3147
  include Aws::Structure
3112
3148
  end
@@ -4770,6 +4806,26 @@ module Aws::Transfer
4770
4806
  include Aws::Structure
4771
4807
  end
4772
4808
 
4809
+ # The Amazon S3 storage options that are configured for your server.
4810
+ #
4811
+ # @!attribute [rw] directory_listing_optimization
4812
+ # Specifies whether or not performance for your Amazon S3 directories
4813
+ # is optimized. This is disabled by default.
4814
+ #
4815
+ # By default, home directory mappings have a `TYPE` of `DIRECTORY`. If
4816
+ # you enable this option, you would then need to explicitly set the
4817
+ # `HomeDirectoryMapEntry` `Type` to `FILE` if you want a mapping to
4818
+ # have a file target.
4819
+ # @return [String]
4820
+ #
4821
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/S3StorageOptions AWS API Documentation
4822
+ #
4823
+ class S3StorageOptions < Struct.new(
4824
+ :directory_listing_optimization)
4825
+ SENSITIVE = []
4826
+ include Aws::Structure
4827
+ end
4828
+
4773
4829
  # Specifies the key-value pair that are assigned to a file during the
4774
4830
  # execution of a Tagging step.
4775
4831
  #
@@ -5976,6 +6032,16 @@ module Aws::Transfer
5976
6032
  # --structured-log-destinations`
5977
6033
  # @return [Array<String>]
5978
6034
  #
6035
+ # @!attribute [rw] s3_storage_options
6036
+ # Specifies whether or not performance for your Amazon S3 directories
6037
+ # is optimized. This is disabled by default.
6038
+ #
6039
+ # By default, home directory mappings have a `TYPE` of `DIRECTORY`. If
6040
+ # you enable this option, you would then need to explicitly set the
6041
+ # `HomeDirectoryMapEntry` `Type` to `FILE` if you want a mapping to
6042
+ # have a file target.
6043
+ # @return [Types::S3StorageOptions]
6044
+ #
5979
6045
  # @see http://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateServerRequest AWS API Documentation
5980
6046
  #
5981
6047
  class UpdateServerRequest < Struct.new(
@@ -5992,7 +6058,8 @@ module Aws::Transfer
5992
6058
  :security_policy_name,
5993
6059
  :server_id,
5994
6060
  :workflow_details,
5995
- :structured_log_destinations)
6061
+ :structured_log_destinations,
6062
+ :s3_storage_options)
5996
6063
  SENSITIVE = [:host_key]
5997
6064
  include Aws::Structure
5998
6065
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-transfer/customizations'
53
53
  # @!group service
54
54
  module Aws::Transfer
55
55
 
56
- GEM_VERSION = '1.83.0'
56
+ GEM_VERSION = '1.84.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-transfer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.83.0
4
+ version: 1.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-26 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core