aws-sdk-s3 1.168.0 → 1.170.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5deee905659cfbeca6362fae14f63d939f3a8490903b7c3b3602d0ddc168abab
4
- data.tar.gz: 0f0fbfc8ed93827eb0b8adccc42cfce4be8c7feeb2d1f9afe15d5cda60111bae
3
+ metadata.gz: 8fbb9d2ce339539a64280ac5c819839aa6a25ab6bba04fe19081ea2474357985
4
+ data.tar.gz: be626f4d8eeb71b48a1ac9a10f46352303cd350e9d6af29a64d9435efdcd9866
5
5
  SHA512:
6
- metadata.gz: fd3e33b847cb5248407c6c45fc46deaefbf7ebd9cd9bd6b9013472fcb948dba1183bc28ebb9ea4b4efd00f48527755134365c50702de8040a8d0e14d42e1a968
7
- data.tar.gz: 3617f3cade4cabaf522754972d37cb6bd4e9e14dfc8ed1ec4ba06436e63960066dac01148577043d4260160df1a53bdfa4a00df85ff56cfa20622bf6714947fb
6
+ metadata.gz: b51f11c287ae4650f82e8d0b91fc89d798aeaea62c4082d495e64110faf27a6c02f0c095e29c55d01376e79f48b60c0b5fbaafe9b422083ca69f7609e30d84a8
7
+ data.tar.gz: 57e5a2de576b43c9f05ed47a94f19dc9f806ef2d241252a24cd469601ba78c13a25a7eb21290571192afb73f60cb1df86cd8dbb35fb613d30e9016b005246e9c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.170.0 (2024-11-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.169.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.168.0 (2024-10-16)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.168.0
1
+ 1.170.0
@@ -19845,7 +19845,7 @@ module Aws::S3
19845
19845
  tracer: tracer
19846
19846
  )
19847
19847
  context[:gem_name] = 'aws-sdk-s3'
19848
- context[:gem_version] = '1.168.0'
19848
+ context[:gem_version] = '1.170.0'
19849
19849
  Seahorse::Client::Request.new(handlers, context)
19850
19850
  end
19851
19851
 
@@ -144,30 +144,15 @@ module Aws::S3
144
144
  self[:region] = options[:region]
145
145
  self[:use_fips] = options[:use_fips]
146
146
  self[:use_fips] = false if self[:use_fips].nil?
147
- if self[:use_fips].nil?
148
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
149
- end
150
147
  self[:use_dual_stack] = options[:use_dual_stack]
151
148
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
152
- if self[:use_dual_stack].nil?
153
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
154
- end
155
149
  self[:endpoint] = options[:endpoint]
156
150
  self[:force_path_style] = options[:force_path_style]
157
151
  self[:force_path_style] = false if self[:force_path_style].nil?
158
- if self[:force_path_style].nil?
159
- raise ArgumentError, "Missing required EndpointParameter: :force_path_style"
160
- end
161
152
  self[:accelerate] = options[:accelerate]
162
153
  self[:accelerate] = false if self[:accelerate].nil?
163
- if self[:accelerate].nil?
164
- raise ArgumentError, "Missing required EndpointParameter: :accelerate"
165
- end
166
154
  self[:use_global_endpoint] = options[:use_global_endpoint]
167
155
  self[:use_global_endpoint] = false if self[:use_global_endpoint].nil?
168
- if self[:use_global_endpoint].nil?
169
- raise ArgumentError, "Missing required EndpointParameter: :use_global_endpoint"
170
- end
171
156
  self[:use_object_lambda_endpoint] = options[:use_object_lambda_endpoint]
172
157
  self[:key] = options[:key]
173
158
  self[:prefix] = options[:prefix]
@@ -175,12 +160,22 @@ module Aws::S3
175
160
  self[:disable_access_points] = options[:disable_access_points]
176
161
  self[:disable_multi_region_access_points] = options[:disable_multi_region_access_points]
177
162
  self[:disable_multi_region_access_points] = false if self[:disable_multi_region_access_points].nil?
178
- if self[:disable_multi_region_access_points].nil?
179
- raise ArgumentError, "Missing required EndpointParameter: :disable_multi_region_access_points"
180
- end
181
163
  self[:use_arn_region] = options[:use_arn_region]
182
164
  self[:use_s3_express_control_endpoint] = options[:use_s3_express_control_endpoint]
183
165
  self[:disable_s3_express_session_auth] = options[:disable_s3_express_session_auth]
184
166
  end
167
+
168
+ def self.create(config, options={})
169
+ new({
170
+ region: config.region,
171
+ use_fips: config.use_fips_endpoint,
172
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
173
+ force_path_style: config.force_path_style,
174
+ use_global_endpoint: config.s3_us_east_1_regional_endpoint == 'legacy',
175
+ disable_multi_region_access_points: config.s3_disable_multiregion_access_points,
176
+ use_arn_region: config.s3_use_arn_region,
177
+ disable_s3_express_session_auth: config.disable_s3_express_session_auth,
178
+ }.merge(options))
179
+ end
185
180
  end
186
181
  end