aws-sdk-transfer 1.82.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.
@@ -32,7 +32,7 @@ module Aws::Transfer
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://transfer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -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
  #
@@ -4859,8 +4915,8 @@ module Aws::Transfer
4859
4915
  # @!attribute [rw] user_secret_id
4860
4916
  # The identifier for the secret (in Amazon Web Services Secrets
4861
4917
  # Manager) that contains the SFTP user's private key, password, or
4862
- # both. The identifier can be either the Amazon Resource Name (ARN) or
4863
- # the name of the secret.
4918
+ # both. The identifier must be the Amazon Resource Name (ARN) of the
4919
+ # secret.
4864
4920
  # @return [String]
4865
4921
  #
4866
4922
  # @!attribute [rw] trusted_host_keys
@@ -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
@@ -91,16 +91,16 @@ module Aws::Transfer
91
91
  operation_name: :describe_server,
92
92
  acceptors: [
93
93
  {
94
- "argument" => "server.state",
95
- "expected" => "OFFLINE",
96
94
  "matcher" => "path",
97
- "state" => "success"
95
+ "argument" => "server.state",
96
+ "state" => "success",
97
+ "expected" => "OFFLINE"
98
98
  },
99
99
  {
100
- "argument" => "server.state",
101
- "expected" => "STOP_FAILED",
102
100
  "matcher" => "path",
103
- "state" => "failure"
101
+ "argument" => "server.state",
102
+ "state" => "failure",
103
+ "expected" => "STOP_FAILED"
104
104
  }
105
105
  ]
106
106
  )
@@ -135,16 +135,16 @@ module Aws::Transfer
135
135
  operation_name: :describe_server,
136
136
  acceptors: [
137
137
  {
138
- "argument" => "server.state",
139
- "expected" => "ONLINE",
140
138
  "matcher" => "path",
141
- "state" => "success"
139
+ "argument" => "server.state",
140
+ "state" => "success",
141
+ "expected" => "ONLINE"
142
142
  },
143
143
  {
144
- "argument" => "server.state",
145
- "expected" => "START_FAILED",
146
144
  "matcher" => "path",
147
- "state" => "failure"
145
+ "argument" => "server.state",
146
+ "state" => "failure",
147
+ "expected" => "START_FAILED"
148
148
  }
149
149
  ]
150
150
  )
@@ -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.82.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.82.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-16 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