aws-sdk-s3 1.147.0 → 1.163.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +103 -2
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/access_grants_credentials.rb +57 -0
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +250 -0
- data/lib/aws-sdk-s3/bucket.rb +209 -69
- data/lib/aws-sdk-s3/bucket_acl.rb +3 -3
- data/lib/aws-sdk-s3/bucket_cors.rb +4 -4
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +4 -4
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +4 -4
- data/lib/aws-sdk-s3/bucket_logging.rb +3 -3
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
- data/lib/aws-sdk-s3/bucket_region_cache.rb +9 -5
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
- data/lib/aws-sdk-s3/bucket_tagging.rb +4 -4
- data/lib/aws-sdk-s3/bucket_versioning.rb +5 -5
- data/lib/aws-sdk-s3/bucket_website.rb +4 -4
- data/lib/aws-sdk-s3/client.rb +1653 -637
- data/lib/aws-sdk-s3/client_api.rb +35 -3
- data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
- data/lib/aws-sdk-s3/customizations/errors.rb +15 -2
- data/lib/aws-sdk-s3/customizations/object.rb +5 -5
- data/lib/aws-sdk-s3/customizations.rb +4 -1
- data/lib/aws-sdk-s3/encryption/client.rb +2 -2
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/client.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/endpoint_parameters.rb +8 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +1 -0
- data/lib/aws-sdk-s3/endpoints.rb +199 -397
- data/lib/aws-sdk-s3/express_credentials_provider.rb +27 -4
- data/lib/aws-sdk-s3/file_downloader.rb +1 -1
- data/lib/aws-sdk-s3/file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_upload.rb +24 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +3 -3
- data/lib/aws-sdk-s3/object.rb +394 -137
- data/lib/aws-sdk-s3/object_acl.rb +3 -3
- data/lib/aws-sdk-s3/object_copier.rb +1 -1
- data/lib/aws-sdk-s3/object_multipart_copier.rb +10 -8
- data/lib/aws-sdk-s3/object_summary.rb +358 -115
- data/lib/aws-sdk-s3/object_version.rb +46 -9
- data/lib/aws-sdk-s3/plugins/access_grants.rb +178 -0
- data/lib/aws-sdk-s3/plugins/endpoints.rb +10 -1
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +8 -2
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +53 -16
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +7 -2
- data/lib/aws-sdk-s3/presigner.rb +1 -0
- data/lib/aws-sdk-s3/resource.rb +12 -10
- data/lib/aws-sdk-s3/types.rb +966 -350
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +1 -0
- data/sig/client.rbs +38 -2
- data/sig/customizations/bucket.rbs +19 -0
- data/sig/customizations/object.rbs +38 -0
- data/sig/customizations/object_summary.rbs +35 -0
- data/sig/multipart_upload.rbs +1 -0
- data/sig/object.rbs +7 -0
- data/sig/object_summary.rbs +1 -0
- data/sig/object_version.rbs +6 -0
- data/sig/resource.rbs +6 -1
- data/sig/types.rbs +25 -2
- data/sig/waiters.rbs +12 -0
- metadata +12 -7
- data/lib/aws-sdk-s3/express_credentials_cache.rb +0 -30
data/lib/aws-sdk-s3/endpoints.rb
CHANGED
@@ -14,21 +14,19 @@ module Aws::S3
|
|
14
14
|
|
15
15
|
class AbortMultipartUpload
|
16
16
|
def self.build(context)
|
17
|
-
unless context.config.regional_endpoint
|
18
|
-
endpoint = context.config.endpoint.to_s
|
19
|
-
end
|
20
17
|
Aws::S3::EndpointParameters.new(
|
21
18
|
bucket: context.params[:bucket],
|
22
19
|
region: context.config.region,
|
23
20
|
use_fips: context.config.use_fips_endpoint,
|
24
21
|
use_dual_stack: context[:use_dualstack_endpoint],
|
25
|
-
endpoint: endpoint,
|
22
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
26
23
|
force_path_style: context.config.force_path_style,
|
27
24
|
accelerate: context[:use_accelerate_endpoint],
|
28
25
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
29
26
|
use_object_lambda_endpoint: nil,
|
30
27
|
key: context.params[:key],
|
31
28
|
prefix: nil,
|
29
|
+
copy_source: nil,
|
32
30
|
disable_access_points: nil,
|
33
31
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
34
32
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -40,21 +38,19 @@ module Aws::S3
|
|
40
38
|
|
41
39
|
class CompleteMultipartUpload
|
42
40
|
def self.build(context)
|
43
|
-
unless context.config.regional_endpoint
|
44
|
-
endpoint = context.config.endpoint.to_s
|
45
|
-
end
|
46
41
|
Aws::S3::EndpointParameters.new(
|
47
42
|
bucket: context.params[:bucket],
|
48
43
|
region: context.config.region,
|
49
44
|
use_fips: context.config.use_fips_endpoint,
|
50
45
|
use_dual_stack: context[:use_dualstack_endpoint],
|
51
|
-
endpoint: endpoint,
|
46
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
52
47
|
force_path_style: context.config.force_path_style,
|
53
48
|
accelerate: context[:use_accelerate_endpoint],
|
54
49
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
55
50
|
use_object_lambda_endpoint: nil,
|
56
51
|
key: context.params[:key],
|
57
52
|
prefix: nil,
|
53
|
+
copy_source: nil,
|
58
54
|
disable_access_points: nil,
|
59
55
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
60
56
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -66,21 +62,19 @@ module Aws::S3
|
|
66
62
|
|
67
63
|
class CopyObject
|
68
64
|
def self.build(context)
|
69
|
-
unless context.config.regional_endpoint
|
70
|
-
endpoint = context.config.endpoint.to_s
|
71
|
-
end
|
72
65
|
Aws::S3::EndpointParameters.new(
|
73
66
|
bucket: context.params[:bucket],
|
74
67
|
region: context.config.region,
|
75
68
|
use_fips: context.config.use_fips_endpoint,
|
76
69
|
use_dual_stack: context[:use_dualstack_endpoint],
|
77
|
-
endpoint: endpoint,
|
70
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
78
71
|
force_path_style: context.config.force_path_style,
|
79
72
|
accelerate: context[:use_accelerate_endpoint],
|
80
73
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
81
74
|
use_object_lambda_endpoint: nil,
|
82
|
-
key:
|
75
|
+
key: context.params[:key],
|
83
76
|
prefix: nil,
|
77
|
+
copy_source: context.params[:copy_source],
|
84
78
|
disable_access_points: nil,
|
85
79
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
86
80
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -92,21 +86,19 @@ module Aws::S3
|
|
92
86
|
|
93
87
|
class CreateBucket
|
94
88
|
def self.build(context)
|
95
|
-
unless context.config.regional_endpoint
|
96
|
-
endpoint = context.config.endpoint.to_s
|
97
|
-
end
|
98
89
|
Aws::S3::EndpointParameters.new(
|
99
90
|
bucket: context.params[:bucket],
|
100
91
|
region: context.config.region,
|
101
92
|
use_fips: context.config.use_fips_endpoint,
|
102
93
|
use_dual_stack: context[:use_dualstack_endpoint],
|
103
|
-
endpoint: endpoint,
|
94
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
104
95
|
force_path_style: context.config.force_path_style,
|
105
96
|
accelerate: context[:use_accelerate_endpoint],
|
106
97
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
107
98
|
use_object_lambda_endpoint: nil,
|
108
99
|
key: nil,
|
109
100
|
prefix: nil,
|
101
|
+
copy_source: nil,
|
110
102
|
disable_access_points: true,
|
111
103
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
112
104
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -118,21 +110,19 @@ module Aws::S3
|
|
118
110
|
|
119
111
|
class CreateMultipartUpload
|
120
112
|
def self.build(context)
|
121
|
-
unless context.config.regional_endpoint
|
122
|
-
endpoint = context.config.endpoint.to_s
|
123
|
-
end
|
124
113
|
Aws::S3::EndpointParameters.new(
|
125
114
|
bucket: context.params[:bucket],
|
126
115
|
region: context.config.region,
|
127
116
|
use_fips: context.config.use_fips_endpoint,
|
128
117
|
use_dual_stack: context[:use_dualstack_endpoint],
|
129
|
-
endpoint: endpoint,
|
118
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
130
119
|
force_path_style: context.config.force_path_style,
|
131
120
|
accelerate: context[:use_accelerate_endpoint],
|
132
121
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
133
122
|
use_object_lambda_endpoint: nil,
|
134
123
|
key: context.params[:key],
|
135
124
|
prefix: nil,
|
125
|
+
copy_source: nil,
|
136
126
|
disable_access_points: nil,
|
137
127
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
138
128
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -144,21 +134,19 @@ module Aws::S3
|
|
144
134
|
|
145
135
|
class CreateSession
|
146
136
|
def self.build(context)
|
147
|
-
unless context.config.regional_endpoint
|
148
|
-
endpoint = context.config.endpoint.to_s
|
149
|
-
end
|
150
137
|
Aws::S3::EndpointParameters.new(
|
151
138
|
bucket: context.params[:bucket],
|
152
139
|
region: context.config.region,
|
153
140
|
use_fips: context.config.use_fips_endpoint,
|
154
141
|
use_dual_stack: context[:use_dualstack_endpoint],
|
155
|
-
endpoint: endpoint,
|
142
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
156
143
|
force_path_style: context.config.force_path_style,
|
157
144
|
accelerate: context[:use_accelerate_endpoint],
|
158
145
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
159
146
|
use_object_lambda_endpoint: nil,
|
160
147
|
key: nil,
|
161
148
|
prefix: nil,
|
149
|
+
copy_source: nil,
|
162
150
|
disable_access_points: nil,
|
163
151
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
164
152
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -170,21 +158,19 @@ module Aws::S3
|
|
170
158
|
|
171
159
|
class DeleteBucket
|
172
160
|
def self.build(context)
|
173
|
-
unless context.config.regional_endpoint
|
174
|
-
endpoint = context.config.endpoint.to_s
|
175
|
-
end
|
176
161
|
Aws::S3::EndpointParameters.new(
|
177
162
|
bucket: context.params[:bucket],
|
178
163
|
region: context.config.region,
|
179
164
|
use_fips: context.config.use_fips_endpoint,
|
180
165
|
use_dual_stack: context[:use_dualstack_endpoint],
|
181
|
-
endpoint: endpoint,
|
166
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
182
167
|
force_path_style: context.config.force_path_style,
|
183
168
|
accelerate: context[:use_accelerate_endpoint],
|
184
169
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
185
170
|
use_object_lambda_endpoint: nil,
|
186
171
|
key: nil,
|
187
172
|
prefix: nil,
|
173
|
+
copy_source: nil,
|
188
174
|
disable_access_points: nil,
|
189
175
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
190
176
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -196,21 +182,19 @@ module Aws::S3
|
|
196
182
|
|
197
183
|
class DeleteBucketAnalyticsConfiguration
|
198
184
|
def self.build(context)
|
199
|
-
unless context.config.regional_endpoint
|
200
|
-
endpoint = context.config.endpoint.to_s
|
201
|
-
end
|
202
185
|
Aws::S3::EndpointParameters.new(
|
203
186
|
bucket: context.params[:bucket],
|
204
187
|
region: context.config.region,
|
205
188
|
use_fips: context.config.use_fips_endpoint,
|
206
189
|
use_dual_stack: context[:use_dualstack_endpoint],
|
207
|
-
endpoint: endpoint,
|
190
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
208
191
|
force_path_style: context.config.force_path_style,
|
209
192
|
accelerate: context[:use_accelerate_endpoint],
|
210
193
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
211
194
|
use_object_lambda_endpoint: nil,
|
212
195
|
key: nil,
|
213
196
|
prefix: nil,
|
197
|
+
copy_source: nil,
|
214
198
|
disable_access_points: nil,
|
215
199
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
216
200
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -222,21 +206,19 @@ module Aws::S3
|
|
222
206
|
|
223
207
|
class DeleteBucketCors
|
224
208
|
def self.build(context)
|
225
|
-
unless context.config.regional_endpoint
|
226
|
-
endpoint = context.config.endpoint.to_s
|
227
|
-
end
|
228
209
|
Aws::S3::EndpointParameters.new(
|
229
210
|
bucket: context.params[:bucket],
|
230
211
|
region: context.config.region,
|
231
212
|
use_fips: context.config.use_fips_endpoint,
|
232
213
|
use_dual_stack: context[:use_dualstack_endpoint],
|
233
|
-
endpoint: endpoint,
|
214
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
234
215
|
force_path_style: context.config.force_path_style,
|
235
216
|
accelerate: context[:use_accelerate_endpoint],
|
236
217
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
237
218
|
use_object_lambda_endpoint: nil,
|
238
219
|
key: nil,
|
239
220
|
prefix: nil,
|
221
|
+
copy_source: nil,
|
240
222
|
disable_access_points: nil,
|
241
223
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
242
224
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -248,21 +230,19 @@ module Aws::S3
|
|
248
230
|
|
249
231
|
class DeleteBucketEncryption
|
250
232
|
def self.build(context)
|
251
|
-
unless context.config.regional_endpoint
|
252
|
-
endpoint = context.config.endpoint.to_s
|
253
|
-
end
|
254
233
|
Aws::S3::EndpointParameters.new(
|
255
234
|
bucket: context.params[:bucket],
|
256
235
|
region: context.config.region,
|
257
236
|
use_fips: context.config.use_fips_endpoint,
|
258
237
|
use_dual_stack: context[:use_dualstack_endpoint],
|
259
|
-
endpoint: endpoint,
|
238
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
260
239
|
force_path_style: context.config.force_path_style,
|
261
240
|
accelerate: context[:use_accelerate_endpoint],
|
262
241
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
263
242
|
use_object_lambda_endpoint: nil,
|
264
243
|
key: nil,
|
265
244
|
prefix: nil,
|
245
|
+
copy_source: nil,
|
266
246
|
disable_access_points: nil,
|
267
247
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
268
248
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -274,21 +254,19 @@ module Aws::S3
|
|
274
254
|
|
275
255
|
class DeleteBucketIntelligentTieringConfiguration
|
276
256
|
def self.build(context)
|
277
|
-
unless context.config.regional_endpoint
|
278
|
-
endpoint = context.config.endpoint.to_s
|
279
|
-
end
|
280
257
|
Aws::S3::EndpointParameters.new(
|
281
258
|
bucket: context.params[:bucket],
|
282
259
|
region: context.config.region,
|
283
260
|
use_fips: context.config.use_fips_endpoint,
|
284
261
|
use_dual_stack: context[:use_dualstack_endpoint],
|
285
|
-
endpoint: endpoint,
|
262
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
286
263
|
force_path_style: context.config.force_path_style,
|
287
264
|
accelerate: context[:use_accelerate_endpoint],
|
288
265
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
289
266
|
use_object_lambda_endpoint: nil,
|
290
267
|
key: nil,
|
291
268
|
prefix: nil,
|
269
|
+
copy_source: nil,
|
292
270
|
disable_access_points: nil,
|
293
271
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
294
272
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -300,21 +278,19 @@ module Aws::S3
|
|
300
278
|
|
301
279
|
class DeleteBucketInventoryConfiguration
|
302
280
|
def self.build(context)
|
303
|
-
unless context.config.regional_endpoint
|
304
|
-
endpoint = context.config.endpoint.to_s
|
305
|
-
end
|
306
281
|
Aws::S3::EndpointParameters.new(
|
307
282
|
bucket: context.params[:bucket],
|
308
283
|
region: context.config.region,
|
309
284
|
use_fips: context.config.use_fips_endpoint,
|
310
285
|
use_dual_stack: context[:use_dualstack_endpoint],
|
311
|
-
endpoint: endpoint,
|
286
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
312
287
|
force_path_style: context.config.force_path_style,
|
313
288
|
accelerate: context[:use_accelerate_endpoint],
|
314
289
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
315
290
|
use_object_lambda_endpoint: nil,
|
316
291
|
key: nil,
|
317
292
|
prefix: nil,
|
293
|
+
copy_source: nil,
|
318
294
|
disable_access_points: nil,
|
319
295
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
320
296
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -326,21 +302,19 @@ module Aws::S3
|
|
326
302
|
|
327
303
|
class DeleteBucketLifecycle
|
328
304
|
def self.build(context)
|
329
|
-
unless context.config.regional_endpoint
|
330
|
-
endpoint = context.config.endpoint.to_s
|
331
|
-
end
|
332
305
|
Aws::S3::EndpointParameters.new(
|
333
306
|
bucket: context.params[:bucket],
|
334
307
|
region: context.config.region,
|
335
308
|
use_fips: context.config.use_fips_endpoint,
|
336
309
|
use_dual_stack: context[:use_dualstack_endpoint],
|
337
|
-
endpoint: endpoint,
|
310
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
338
311
|
force_path_style: context.config.force_path_style,
|
339
312
|
accelerate: context[:use_accelerate_endpoint],
|
340
313
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
341
314
|
use_object_lambda_endpoint: nil,
|
342
315
|
key: nil,
|
343
316
|
prefix: nil,
|
317
|
+
copy_source: nil,
|
344
318
|
disable_access_points: nil,
|
345
319
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
346
320
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -352,21 +326,19 @@ module Aws::S3
|
|
352
326
|
|
353
327
|
class DeleteBucketMetricsConfiguration
|
354
328
|
def self.build(context)
|
355
|
-
unless context.config.regional_endpoint
|
356
|
-
endpoint = context.config.endpoint.to_s
|
357
|
-
end
|
358
329
|
Aws::S3::EndpointParameters.new(
|
359
330
|
bucket: context.params[:bucket],
|
360
331
|
region: context.config.region,
|
361
332
|
use_fips: context.config.use_fips_endpoint,
|
362
333
|
use_dual_stack: context[:use_dualstack_endpoint],
|
363
|
-
endpoint: endpoint,
|
334
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
364
335
|
force_path_style: context.config.force_path_style,
|
365
336
|
accelerate: context[:use_accelerate_endpoint],
|
366
337
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
367
338
|
use_object_lambda_endpoint: nil,
|
368
339
|
key: nil,
|
369
340
|
prefix: nil,
|
341
|
+
copy_source: nil,
|
370
342
|
disable_access_points: nil,
|
371
343
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
372
344
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -378,21 +350,19 @@ module Aws::S3
|
|
378
350
|
|
379
351
|
class DeleteBucketOwnershipControls
|
380
352
|
def self.build(context)
|
381
|
-
unless context.config.regional_endpoint
|
382
|
-
endpoint = context.config.endpoint.to_s
|
383
|
-
end
|
384
353
|
Aws::S3::EndpointParameters.new(
|
385
354
|
bucket: context.params[:bucket],
|
386
355
|
region: context.config.region,
|
387
356
|
use_fips: context.config.use_fips_endpoint,
|
388
357
|
use_dual_stack: context[:use_dualstack_endpoint],
|
389
|
-
endpoint: endpoint,
|
358
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
390
359
|
force_path_style: context.config.force_path_style,
|
391
360
|
accelerate: context[:use_accelerate_endpoint],
|
392
361
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
393
362
|
use_object_lambda_endpoint: nil,
|
394
363
|
key: nil,
|
395
364
|
prefix: nil,
|
365
|
+
copy_source: nil,
|
396
366
|
disable_access_points: nil,
|
397
367
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
398
368
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -404,21 +374,19 @@ module Aws::S3
|
|
404
374
|
|
405
375
|
class DeleteBucketPolicy
|
406
376
|
def self.build(context)
|
407
|
-
unless context.config.regional_endpoint
|
408
|
-
endpoint = context.config.endpoint.to_s
|
409
|
-
end
|
410
377
|
Aws::S3::EndpointParameters.new(
|
411
378
|
bucket: context.params[:bucket],
|
412
379
|
region: context.config.region,
|
413
380
|
use_fips: context.config.use_fips_endpoint,
|
414
381
|
use_dual_stack: context[:use_dualstack_endpoint],
|
415
|
-
endpoint: endpoint,
|
382
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
416
383
|
force_path_style: context.config.force_path_style,
|
417
384
|
accelerate: context[:use_accelerate_endpoint],
|
418
385
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
419
386
|
use_object_lambda_endpoint: nil,
|
420
387
|
key: nil,
|
421
388
|
prefix: nil,
|
389
|
+
copy_source: nil,
|
422
390
|
disable_access_points: nil,
|
423
391
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
424
392
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -430,21 +398,19 @@ module Aws::S3
|
|
430
398
|
|
431
399
|
class DeleteBucketReplication
|
432
400
|
def self.build(context)
|
433
|
-
unless context.config.regional_endpoint
|
434
|
-
endpoint = context.config.endpoint.to_s
|
435
|
-
end
|
436
401
|
Aws::S3::EndpointParameters.new(
|
437
402
|
bucket: context.params[:bucket],
|
438
403
|
region: context.config.region,
|
439
404
|
use_fips: context.config.use_fips_endpoint,
|
440
405
|
use_dual_stack: context[:use_dualstack_endpoint],
|
441
|
-
endpoint: endpoint,
|
406
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
442
407
|
force_path_style: context.config.force_path_style,
|
443
408
|
accelerate: context[:use_accelerate_endpoint],
|
444
409
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
445
410
|
use_object_lambda_endpoint: nil,
|
446
411
|
key: nil,
|
447
412
|
prefix: nil,
|
413
|
+
copy_source: nil,
|
448
414
|
disable_access_points: nil,
|
449
415
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
450
416
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -456,21 +422,19 @@ module Aws::S3
|
|
456
422
|
|
457
423
|
class DeleteBucketTagging
|
458
424
|
def self.build(context)
|
459
|
-
unless context.config.regional_endpoint
|
460
|
-
endpoint = context.config.endpoint.to_s
|
461
|
-
end
|
462
425
|
Aws::S3::EndpointParameters.new(
|
463
426
|
bucket: context.params[:bucket],
|
464
427
|
region: context.config.region,
|
465
428
|
use_fips: context.config.use_fips_endpoint,
|
466
429
|
use_dual_stack: context[:use_dualstack_endpoint],
|
467
|
-
endpoint: endpoint,
|
430
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
468
431
|
force_path_style: context.config.force_path_style,
|
469
432
|
accelerate: context[:use_accelerate_endpoint],
|
470
433
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
471
434
|
use_object_lambda_endpoint: nil,
|
472
435
|
key: nil,
|
473
436
|
prefix: nil,
|
437
|
+
copy_source: nil,
|
474
438
|
disable_access_points: nil,
|
475
439
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
476
440
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -482,21 +446,19 @@ module Aws::S3
|
|
482
446
|
|
483
447
|
class DeleteBucketWebsite
|
484
448
|
def self.build(context)
|
485
|
-
unless context.config.regional_endpoint
|
486
|
-
endpoint = context.config.endpoint.to_s
|
487
|
-
end
|
488
449
|
Aws::S3::EndpointParameters.new(
|
489
450
|
bucket: context.params[:bucket],
|
490
451
|
region: context.config.region,
|
491
452
|
use_fips: context.config.use_fips_endpoint,
|
492
453
|
use_dual_stack: context[:use_dualstack_endpoint],
|
493
|
-
endpoint: endpoint,
|
454
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
494
455
|
force_path_style: context.config.force_path_style,
|
495
456
|
accelerate: context[:use_accelerate_endpoint],
|
496
457
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
497
458
|
use_object_lambda_endpoint: nil,
|
498
459
|
key: nil,
|
499
460
|
prefix: nil,
|
461
|
+
copy_source: nil,
|
500
462
|
disable_access_points: nil,
|
501
463
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
502
464
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -508,21 +470,19 @@ module Aws::S3
|
|
508
470
|
|
509
471
|
class DeleteObject
|
510
472
|
def self.build(context)
|
511
|
-
unless context.config.regional_endpoint
|
512
|
-
endpoint = context.config.endpoint.to_s
|
513
|
-
end
|
514
473
|
Aws::S3::EndpointParameters.new(
|
515
474
|
bucket: context.params[:bucket],
|
516
475
|
region: context.config.region,
|
517
476
|
use_fips: context.config.use_fips_endpoint,
|
518
477
|
use_dual_stack: context[:use_dualstack_endpoint],
|
519
|
-
endpoint: endpoint,
|
478
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
520
479
|
force_path_style: context.config.force_path_style,
|
521
480
|
accelerate: context[:use_accelerate_endpoint],
|
522
481
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
523
482
|
use_object_lambda_endpoint: nil,
|
524
483
|
key: context.params[:key],
|
525
484
|
prefix: nil,
|
485
|
+
copy_source: nil,
|
526
486
|
disable_access_points: nil,
|
527
487
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
528
488
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -534,21 +494,19 @@ module Aws::S3
|
|
534
494
|
|
535
495
|
class DeleteObjectTagging
|
536
496
|
def self.build(context)
|
537
|
-
unless context.config.regional_endpoint
|
538
|
-
endpoint = context.config.endpoint.to_s
|
539
|
-
end
|
540
497
|
Aws::S3::EndpointParameters.new(
|
541
498
|
bucket: context.params[:bucket],
|
542
499
|
region: context.config.region,
|
543
500
|
use_fips: context.config.use_fips_endpoint,
|
544
501
|
use_dual_stack: context[:use_dualstack_endpoint],
|
545
|
-
endpoint: endpoint,
|
502
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
546
503
|
force_path_style: context.config.force_path_style,
|
547
504
|
accelerate: context[:use_accelerate_endpoint],
|
548
505
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
549
506
|
use_object_lambda_endpoint: nil,
|
550
507
|
key: nil,
|
551
508
|
prefix: nil,
|
509
|
+
copy_source: nil,
|
552
510
|
disable_access_points: nil,
|
553
511
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
554
512
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -560,21 +518,19 @@ module Aws::S3
|
|
560
518
|
|
561
519
|
class DeleteObjects
|
562
520
|
def self.build(context)
|
563
|
-
unless context.config.regional_endpoint
|
564
|
-
endpoint = context.config.endpoint.to_s
|
565
|
-
end
|
566
521
|
Aws::S3::EndpointParameters.new(
|
567
522
|
bucket: context.params[:bucket],
|
568
523
|
region: context.config.region,
|
569
524
|
use_fips: context.config.use_fips_endpoint,
|
570
525
|
use_dual_stack: context[:use_dualstack_endpoint],
|
571
|
-
endpoint: endpoint,
|
526
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
572
527
|
force_path_style: context.config.force_path_style,
|
573
528
|
accelerate: context[:use_accelerate_endpoint],
|
574
529
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
575
530
|
use_object_lambda_endpoint: nil,
|
576
531
|
key: nil,
|
577
532
|
prefix: nil,
|
533
|
+
copy_source: nil,
|
578
534
|
disable_access_points: nil,
|
579
535
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
580
536
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -586,21 +542,19 @@ module Aws::S3
|
|
586
542
|
|
587
543
|
class DeletePublicAccessBlock
|
588
544
|
def self.build(context)
|
589
|
-
unless context.config.regional_endpoint
|
590
|
-
endpoint = context.config.endpoint.to_s
|
591
|
-
end
|
592
545
|
Aws::S3::EndpointParameters.new(
|
593
546
|
bucket: context.params[:bucket],
|
594
547
|
region: context.config.region,
|
595
548
|
use_fips: context.config.use_fips_endpoint,
|
596
549
|
use_dual_stack: context[:use_dualstack_endpoint],
|
597
|
-
endpoint: endpoint,
|
550
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
598
551
|
force_path_style: context.config.force_path_style,
|
599
552
|
accelerate: context[:use_accelerate_endpoint],
|
600
553
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
601
554
|
use_object_lambda_endpoint: nil,
|
602
555
|
key: nil,
|
603
556
|
prefix: nil,
|
557
|
+
copy_source: nil,
|
604
558
|
disable_access_points: nil,
|
605
559
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
606
560
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -612,21 +566,19 @@ module Aws::S3
|
|
612
566
|
|
613
567
|
class GetBucketAccelerateConfiguration
|
614
568
|
def self.build(context)
|
615
|
-
unless context.config.regional_endpoint
|
616
|
-
endpoint = context.config.endpoint.to_s
|
617
|
-
end
|
618
569
|
Aws::S3::EndpointParameters.new(
|
619
570
|
bucket: context.params[:bucket],
|
620
571
|
region: context.config.region,
|
621
572
|
use_fips: context.config.use_fips_endpoint,
|
622
573
|
use_dual_stack: context[:use_dualstack_endpoint],
|
623
|
-
endpoint: endpoint,
|
574
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
624
575
|
force_path_style: context.config.force_path_style,
|
625
576
|
accelerate: context[:use_accelerate_endpoint],
|
626
577
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
627
578
|
use_object_lambda_endpoint: nil,
|
628
579
|
key: nil,
|
629
580
|
prefix: nil,
|
581
|
+
copy_source: nil,
|
630
582
|
disable_access_points: nil,
|
631
583
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
632
584
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -638,21 +590,19 @@ module Aws::S3
|
|
638
590
|
|
639
591
|
class GetBucketAcl
|
640
592
|
def self.build(context)
|
641
|
-
unless context.config.regional_endpoint
|
642
|
-
endpoint = context.config.endpoint.to_s
|
643
|
-
end
|
644
593
|
Aws::S3::EndpointParameters.new(
|
645
594
|
bucket: context.params[:bucket],
|
646
595
|
region: context.config.region,
|
647
596
|
use_fips: context.config.use_fips_endpoint,
|
648
597
|
use_dual_stack: context[:use_dualstack_endpoint],
|
649
|
-
endpoint: endpoint,
|
598
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
650
599
|
force_path_style: context.config.force_path_style,
|
651
600
|
accelerate: context[:use_accelerate_endpoint],
|
652
601
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
653
602
|
use_object_lambda_endpoint: nil,
|
654
603
|
key: nil,
|
655
604
|
prefix: nil,
|
605
|
+
copy_source: nil,
|
656
606
|
disable_access_points: nil,
|
657
607
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
658
608
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -664,21 +614,19 @@ module Aws::S3
|
|
664
614
|
|
665
615
|
class GetBucketAnalyticsConfiguration
|
666
616
|
def self.build(context)
|
667
|
-
unless context.config.regional_endpoint
|
668
|
-
endpoint = context.config.endpoint.to_s
|
669
|
-
end
|
670
617
|
Aws::S3::EndpointParameters.new(
|
671
618
|
bucket: context.params[:bucket],
|
672
619
|
region: context.config.region,
|
673
620
|
use_fips: context.config.use_fips_endpoint,
|
674
621
|
use_dual_stack: context[:use_dualstack_endpoint],
|
675
|
-
endpoint: endpoint,
|
622
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
676
623
|
force_path_style: context.config.force_path_style,
|
677
624
|
accelerate: context[:use_accelerate_endpoint],
|
678
625
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
679
626
|
use_object_lambda_endpoint: nil,
|
680
627
|
key: nil,
|
681
628
|
prefix: nil,
|
629
|
+
copy_source: nil,
|
682
630
|
disable_access_points: nil,
|
683
631
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
684
632
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -690,21 +638,19 @@ module Aws::S3
|
|
690
638
|
|
691
639
|
class GetBucketCors
|
692
640
|
def self.build(context)
|
693
|
-
unless context.config.regional_endpoint
|
694
|
-
endpoint = context.config.endpoint.to_s
|
695
|
-
end
|
696
641
|
Aws::S3::EndpointParameters.new(
|
697
642
|
bucket: context.params[:bucket],
|
698
643
|
region: context.config.region,
|
699
644
|
use_fips: context.config.use_fips_endpoint,
|
700
645
|
use_dual_stack: context[:use_dualstack_endpoint],
|
701
|
-
endpoint: endpoint,
|
646
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
702
647
|
force_path_style: context.config.force_path_style,
|
703
648
|
accelerate: context[:use_accelerate_endpoint],
|
704
649
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
705
650
|
use_object_lambda_endpoint: nil,
|
706
651
|
key: nil,
|
707
652
|
prefix: nil,
|
653
|
+
copy_source: nil,
|
708
654
|
disable_access_points: nil,
|
709
655
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
710
656
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -716,21 +662,19 @@ module Aws::S3
|
|
716
662
|
|
717
663
|
class GetBucketEncryption
|
718
664
|
def self.build(context)
|
719
|
-
unless context.config.regional_endpoint
|
720
|
-
endpoint = context.config.endpoint.to_s
|
721
|
-
end
|
722
665
|
Aws::S3::EndpointParameters.new(
|
723
666
|
bucket: context.params[:bucket],
|
724
667
|
region: context.config.region,
|
725
668
|
use_fips: context.config.use_fips_endpoint,
|
726
669
|
use_dual_stack: context[:use_dualstack_endpoint],
|
727
|
-
endpoint: endpoint,
|
670
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
728
671
|
force_path_style: context.config.force_path_style,
|
729
672
|
accelerate: context[:use_accelerate_endpoint],
|
730
673
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
731
674
|
use_object_lambda_endpoint: nil,
|
732
675
|
key: nil,
|
733
676
|
prefix: nil,
|
677
|
+
copy_source: nil,
|
734
678
|
disable_access_points: nil,
|
735
679
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
736
680
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -742,21 +686,19 @@ module Aws::S3
|
|
742
686
|
|
743
687
|
class GetBucketIntelligentTieringConfiguration
|
744
688
|
def self.build(context)
|
745
|
-
unless context.config.regional_endpoint
|
746
|
-
endpoint = context.config.endpoint.to_s
|
747
|
-
end
|
748
689
|
Aws::S3::EndpointParameters.new(
|
749
690
|
bucket: context.params[:bucket],
|
750
691
|
region: context.config.region,
|
751
692
|
use_fips: context.config.use_fips_endpoint,
|
752
693
|
use_dual_stack: context[:use_dualstack_endpoint],
|
753
|
-
endpoint: endpoint,
|
694
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
754
695
|
force_path_style: context.config.force_path_style,
|
755
696
|
accelerate: context[:use_accelerate_endpoint],
|
756
697
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
757
698
|
use_object_lambda_endpoint: nil,
|
758
699
|
key: nil,
|
759
700
|
prefix: nil,
|
701
|
+
copy_source: nil,
|
760
702
|
disable_access_points: nil,
|
761
703
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
762
704
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -768,21 +710,19 @@ module Aws::S3
|
|
768
710
|
|
769
711
|
class GetBucketInventoryConfiguration
|
770
712
|
def self.build(context)
|
771
|
-
unless context.config.regional_endpoint
|
772
|
-
endpoint = context.config.endpoint.to_s
|
773
|
-
end
|
774
713
|
Aws::S3::EndpointParameters.new(
|
775
714
|
bucket: context.params[:bucket],
|
776
715
|
region: context.config.region,
|
777
716
|
use_fips: context.config.use_fips_endpoint,
|
778
717
|
use_dual_stack: context[:use_dualstack_endpoint],
|
779
|
-
endpoint: endpoint,
|
718
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
780
719
|
force_path_style: context.config.force_path_style,
|
781
720
|
accelerate: context[:use_accelerate_endpoint],
|
782
721
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
783
722
|
use_object_lambda_endpoint: nil,
|
784
723
|
key: nil,
|
785
724
|
prefix: nil,
|
725
|
+
copy_source: nil,
|
786
726
|
disable_access_points: nil,
|
787
727
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
788
728
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -794,21 +734,19 @@ module Aws::S3
|
|
794
734
|
|
795
735
|
class GetBucketLifecycle
|
796
736
|
def self.build(context)
|
797
|
-
unless context.config.regional_endpoint
|
798
|
-
endpoint = context.config.endpoint.to_s
|
799
|
-
end
|
800
737
|
Aws::S3::EndpointParameters.new(
|
801
738
|
bucket: context.params[:bucket],
|
802
739
|
region: context.config.region,
|
803
740
|
use_fips: context.config.use_fips_endpoint,
|
804
741
|
use_dual_stack: context[:use_dualstack_endpoint],
|
805
|
-
endpoint: endpoint,
|
742
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
806
743
|
force_path_style: context.config.force_path_style,
|
807
744
|
accelerate: context[:use_accelerate_endpoint],
|
808
745
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
809
746
|
use_object_lambda_endpoint: nil,
|
810
747
|
key: nil,
|
811
748
|
prefix: nil,
|
749
|
+
copy_source: nil,
|
812
750
|
disable_access_points: nil,
|
813
751
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
814
752
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -820,21 +758,19 @@ module Aws::S3
|
|
820
758
|
|
821
759
|
class GetBucketLifecycleConfiguration
|
822
760
|
def self.build(context)
|
823
|
-
unless context.config.regional_endpoint
|
824
|
-
endpoint = context.config.endpoint.to_s
|
825
|
-
end
|
826
761
|
Aws::S3::EndpointParameters.new(
|
827
762
|
bucket: context.params[:bucket],
|
828
763
|
region: context.config.region,
|
829
764
|
use_fips: context.config.use_fips_endpoint,
|
830
765
|
use_dual_stack: context[:use_dualstack_endpoint],
|
831
|
-
endpoint: endpoint,
|
766
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
832
767
|
force_path_style: context.config.force_path_style,
|
833
768
|
accelerate: context[:use_accelerate_endpoint],
|
834
769
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
835
770
|
use_object_lambda_endpoint: nil,
|
836
771
|
key: nil,
|
837
772
|
prefix: nil,
|
773
|
+
copy_source: nil,
|
838
774
|
disable_access_points: nil,
|
839
775
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
840
776
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -846,21 +782,19 @@ module Aws::S3
|
|
846
782
|
|
847
783
|
class GetBucketLocation
|
848
784
|
def self.build(context)
|
849
|
-
unless context.config.regional_endpoint
|
850
|
-
endpoint = context.config.endpoint.to_s
|
851
|
-
end
|
852
785
|
Aws::S3::EndpointParameters.new(
|
853
786
|
bucket: context.params[:bucket],
|
854
787
|
region: context.config.region,
|
855
788
|
use_fips: context.config.use_fips_endpoint,
|
856
789
|
use_dual_stack: context[:use_dualstack_endpoint],
|
857
|
-
endpoint: endpoint,
|
790
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
858
791
|
force_path_style: context.config.force_path_style,
|
859
792
|
accelerate: context[:use_accelerate_endpoint],
|
860
793
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
861
794
|
use_object_lambda_endpoint: nil,
|
862
795
|
key: nil,
|
863
796
|
prefix: nil,
|
797
|
+
copy_source: nil,
|
864
798
|
disable_access_points: nil,
|
865
799
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
866
800
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -872,21 +806,19 @@ module Aws::S3
|
|
872
806
|
|
873
807
|
class GetBucketLogging
|
874
808
|
def self.build(context)
|
875
|
-
unless context.config.regional_endpoint
|
876
|
-
endpoint = context.config.endpoint.to_s
|
877
|
-
end
|
878
809
|
Aws::S3::EndpointParameters.new(
|
879
810
|
bucket: context.params[:bucket],
|
880
811
|
region: context.config.region,
|
881
812
|
use_fips: context.config.use_fips_endpoint,
|
882
813
|
use_dual_stack: context[:use_dualstack_endpoint],
|
883
|
-
endpoint: endpoint,
|
814
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
884
815
|
force_path_style: context.config.force_path_style,
|
885
816
|
accelerate: context[:use_accelerate_endpoint],
|
886
817
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
887
818
|
use_object_lambda_endpoint: nil,
|
888
819
|
key: nil,
|
889
820
|
prefix: nil,
|
821
|
+
copy_source: nil,
|
890
822
|
disable_access_points: nil,
|
891
823
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
892
824
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -898,21 +830,19 @@ module Aws::S3
|
|
898
830
|
|
899
831
|
class GetBucketMetricsConfiguration
|
900
832
|
def self.build(context)
|
901
|
-
unless context.config.regional_endpoint
|
902
|
-
endpoint = context.config.endpoint.to_s
|
903
|
-
end
|
904
833
|
Aws::S3::EndpointParameters.new(
|
905
834
|
bucket: context.params[:bucket],
|
906
835
|
region: context.config.region,
|
907
836
|
use_fips: context.config.use_fips_endpoint,
|
908
837
|
use_dual_stack: context[:use_dualstack_endpoint],
|
909
|
-
endpoint: endpoint,
|
838
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
910
839
|
force_path_style: context.config.force_path_style,
|
911
840
|
accelerate: context[:use_accelerate_endpoint],
|
912
841
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
913
842
|
use_object_lambda_endpoint: nil,
|
914
843
|
key: nil,
|
915
844
|
prefix: nil,
|
845
|
+
copy_source: nil,
|
916
846
|
disable_access_points: nil,
|
917
847
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
918
848
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -924,21 +854,19 @@ module Aws::S3
|
|
924
854
|
|
925
855
|
class GetBucketNotification
|
926
856
|
def self.build(context)
|
927
|
-
unless context.config.regional_endpoint
|
928
|
-
endpoint = context.config.endpoint.to_s
|
929
|
-
end
|
930
857
|
Aws::S3::EndpointParameters.new(
|
931
858
|
bucket: context.params[:bucket],
|
932
859
|
region: context.config.region,
|
933
860
|
use_fips: context.config.use_fips_endpoint,
|
934
861
|
use_dual_stack: context[:use_dualstack_endpoint],
|
935
|
-
endpoint: endpoint,
|
862
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
936
863
|
force_path_style: context.config.force_path_style,
|
937
864
|
accelerate: context[:use_accelerate_endpoint],
|
938
865
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
939
866
|
use_object_lambda_endpoint: nil,
|
940
867
|
key: nil,
|
941
868
|
prefix: nil,
|
869
|
+
copy_source: nil,
|
942
870
|
disable_access_points: nil,
|
943
871
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
944
872
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -950,21 +878,19 @@ module Aws::S3
|
|
950
878
|
|
951
879
|
class GetBucketNotificationConfiguration
|
952
880
|
def self.build(context)
|
953
|
-
unless context.config.regional_endpoint
|
954
|
-
endpoint = context.config.endpoint.to_s
|
955
|
-
end
|
956
881
|
Aws::S3::EndpointParameters.new(
|
957
882
|
bucket: context.params[:bucket],
|
958
883
|
region: context.config.region,
|
959
884
|
use_fips: context.config.use_fips_endpoint,
|
960
885
|
use_dual_stack: context[:use_dualstack_endpoint],
|
961
|
-
endpoint: endpoint,
|
886
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
962
887
|
force_path_style: context.config.force_path_style,
|
963
888
|
accelerate: context[:use_accelerate_endpoint],
|
964
889
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
965
890
|
use_object_lambda_endpoint: nil,
|
966
891
|
key: nil,
|
967
892
|
prefix: nil,
|
893
|
+
copy_source: nil,
|
968
894
|
disable_access_points: nil,
|
969
895
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
970
896
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -976,21 +902,19 @@ module Aws::S3
|
|
976
902
|
|
977
903
|
class GetBucketOwnershipControls
|
978
904
|
def self.build(context)
|
979
|
-
unless context.config.regional_endpoint
|
980
|
-
endpoint = context.config.endpoint.to_s
|
981
|
-
end
|
982
905
|
Aws::S3::EndpointParameters.new(
|
983
906
|
bucket: context.params[:bucket],
|
984
907
|
region: context.config.region,
|
985
908
|
use_fips: context.config.use_fips_endpoint,
|
986
909
|
use_dual_stack: context[:use_dualstack_endpoint],
|
987
|
-
endpoint: endpoint,
|
910
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
988
911
|
force_path_style: context.config.force_path_style,
|
989
912
|
accelerate: context[:use_accelerate_endpoint],
|
990
913
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
991
914
|
use_object_lambda_endpoint: nil,
|
992
915
|
key: nil,
|
993
916
|
prefix: nil,
|
917
|
+
copy_source: nil,
|
994
918
|
disable_access_points: nil,
|
995
919
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
996
920
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1002,21 +926,19 @@ module Aws::S3
|
|
1002
926
|
|
1003
927
|
class GetBucketPolicy
|
1004
928
|
def self.build(context)
|
1005
|
-
unless context.config.regional_endpoint
|
1006
|
-
endpoint = context.config.endpoint.to_s
|
1007
|
-
end
|
1008
929
|
Aws::S3::EndpointParameters.new(
|
1009
930
|
bucket: context.params[:bucket],
|
1010
931
|
region: context.config.region,
|
1011
932
|
use_fips: context.config.use_fips_endpoint,
|
1012
933
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1013
|
-
endpoint: endpoint,
|
934
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1014
935
|
force_path_style: context.config.force_path_style,
|
1015
936
|
accelerate: context[:use_accelerate_endpoint],
|
1016
937
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1017
938
|
use_object_lambda_endpoint: nil,
|
1018
939
|
key: nil,
|
1019
940
|
prefix: nil,
|
941
|
+
copy_source: nil,
|
1020
942
|
disable_access_points: nil,
|
1021
943
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1022
944
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1028,21 +950,19 @@ module Aws::S3
|
|
1028
950
|
|
1029
951
|
class GetBucketPolicyStatus
|
1030
952
|
def self.build(context)
|
1031
|
-
unless context.config.regional_endpoint
|
1032
|
-
endpoint = context.config.endpoint.to_s
|
1033
|
-
end
|
1034
953
|
Aws::S3::EndpointParameters.new(
|
1035
954
|
bucket: context.params[:bucket],
|
1036
955
|
region: context.config.region,
|
1037
956
|
use_fips: context.config.use_fips_endpoint,
|
1038
957
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1039
|
-
endpoint: endpoint,
|
958
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1040
959
|
force_path_style: context.config.force_path_style,
|
1041
960
|
accelerate: context[:use_accelerate_endpoint],
|
1042
961
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1043
962
|
use_object_lambda_endpoint: nil,
|
1044
963
|
key: nil,
|
1045
964
|
prefix: nil,
|
965
|
+
copy_source: nil,
|
1046
966
|
disable_access_points: nil,
|
1047
967
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1048
968
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1054,21 +974,19 @@ module Aws::S3
|
|
1054
974
|
|
1055
975
|
class GetBucketReplication
|
1056
976
|
def self.build(context)
|
1057
|
-
unless context.config.regional_endpoint
|
1058
|
-
endpoint = context.config.endpoint.to_s
|
1059
|
-
end
|
1060
977
|
Aws::S3::EndpointParameters.new(
|
1061
978
|
bucket: context.params[:bucket],
|
1062
979
|
region: context.config.region,
|
1063
980
|
use_fips: context.config.use_fips_endpoint,
|
1064
981
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1065
|
-
endpoint: endpoint,
|
982
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1066
983
|
force_path_style: context.config.force_path_style,
|
1067
984
|
accelerate: context[:use_accelerate_endpoint],
|
1068
985
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1069
986
|
use_object_lambda_endpoint: nil,
|
1070
987
|
key: nil,
|
1071
988
|
prefix: nil,
|
989
|
+
copy_source: nil,
|
1072
990
|
disable_access_points: nil,
|
1073
991
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1074
992
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1080,21 +998,19 @@ module Aws::S3
|
|
1080
998
|
|
1081
999
|
class GetBucketRequestPayment
|
1082
1000
|
def self.build(context)
|
1083
|
-
unless context.config.regional_endpoint
|
1084
|
-
endpoint = context.config.endpoint.to_s
|
1085
|
-
end
|
1086
1001
|
Aws::S3::EndpointParameters.new(
|
1087
1002
|
bucket: context.params[:bucket],
|
1088
1003
|
region: context.config.region,
|
1089
1004
|
use_fips: context.config.use_fips_endpoint,
|
1090
1005
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1091
|
-
endpoint: endpoint,
|
1006
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1092
1007
|
force_path_style: context.config.force_path_style,
|
1093
1008
|
accelerate: context[:use_accelerate_endpoint],
|
1094
1009
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1095
1010
|
use_object_lambda_endpoint: nil,
|
1096
1011
|
key: nil,
|
1097
1012
|
prefix: nil,
|
1013
|
+
copy_source: nil,
|
1098
1014
|
disable_access_points: nil,
|
1099
1015
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1100
1016
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1106,21 +1022,19 @@ module Aws::S3
|
|
1106
1022
|
|
1107
1023
|
class GetBucketTagging
|
1108
1024
|
def self.build(context)
|
1109
|
-
unless context.config.regional_endpoint
|
1110
|
-
endpoint = context.config.endpoint.to_s
|
1111
|
-
end
|
1112
1025
|
Aws::S3::EndpointParameters.new(
|
1113
1026
|
bucket: context.params[:bucket],
|
1114
1027
|
region: context.config.region,
|
1115
1028
|
use_fips: context.config.use_fips_endpoint,
|
1116
1029
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1117
|
-
endpoint: endpoint,
|
1030
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1118
1031
|
force_path_style: context.config.force_path_style,
|
1119
1032
|
accelerate: context[:use_accelerate_endpoint],
|
1120
1033
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1121
1034
|
use_object_lambda_endpoint: nil,
|
1122
1035
|
key: nil,
|
1123
1036
|
prefix: nil,
|
1037
|
+
copy_source: nil,
|
1124
1038
|
disable_access_points: nil,
|
1125
1039
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1126
1040
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1132,21 +1046,19 @@ module Aws::S3
|
|
1132
1046
|
|
1133
1047
|
class GetBucketVersioning
|
1134
1048
|
def self.build(context)
|
1135
|
-
unless context.config.regional_endpoint
|
1136
|
-
endpoint = context.config.endpoint.to_s
|
1137
|
-
end
|
1138
1049
|
Aws::S3::EndpointParameters.new(
|
1139
1050
|
bucket: context.params[:bucket],
|
1140
1051
|
region: context.config.region,
|
1141
1052
|
use_fips: context.config.use_fips_endpoint,
|
1142
1053
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1143
|
-
endpoint: endpoint,
|
1054
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1144
1055
|
force_path_style: context.config.force_path_style,
|
1145
1056
|
accelerate: context[:use_accelerate_endpoint],
|
1146
1057
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1147
1058
|
use_object_lambda_endpoint: nil,
|
1148
1059
|
key: nil,
|
1149
1060
|
prefix: nil,
|
1061
|
+
copy_source: nil,
|
1150
1062
|
disable_access_points: nil,
|
1151
1063
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1152
1064
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1158,21 +1070,19 @@ module Aws::S3
|
|
1158
1070
|
|
1159
1071
|
class GetBucketWebsite
|
1160
1072
|
def self.build(context)
|
1161
|
-
unless context.config.regional_endpoint
|
1162
|
-
endpoint = context.config.endpoint.to_s
|
1163
|
-
end
|
1164
1073
|
Aws::S3::EndpointParameters.new(
|
1165
1074
|
bucket: context.params[:bucket],
|
1166
1075
|
region: context.config.region,
|
1167
1076
|
use_fips: context.config.use_fips_endpoint,
|
1168
1077
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1169
|
-
endpoint: endpoint,
|
1078
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1170
1079
|
force_path_style: context.config.force_path_style,
|
1171
1080
|
accelerate: context[:use_accelerate_endpoint],
|
1172
1081
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1173
1082
|
use_object_lambda_endpoint: nil,
|
1174
1083
|
key: nil,
|
1175
1084
|
prefix: nil,
|
1085
|
+
copy_source: nil,
|
1176
1086
|
disable_access_points: nil,
|
1177
1087
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1178
1088
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1184,21 +1094,19 @@ module Aws::S3
|
|
1184
1094
|
|
1185
1095
|
class GetObject
|
1186
1096
|
def self.build(context)
|
1187
|
-
unless context.config.regional_endpoint
|
1188
|
-
endpoint = context.config.endpoint.to_s
|
1189
|
-
end
|
1190
1097
|
Aws::S3::EndpointParameters.new(
|
1191
1098
|
bucket: context.params[:bucket],
|
1192
1099
|
region: context.config.region,
|
1193
1100
|
use_fips: context.config.use_fips_endpoint,
|
1194
1101
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1195
|
-
endpoint: endpoint,
|
1102
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1196
1103
|
force_path_style: context.config.force_path_style,
|
1197
1104
|
accelerate: context[:use_accelerate_endpoint],
|
1198
1105
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1199
1106
|
use_object_lambda_endpoint: nil,
|
1200
1107
|
key: context.params[:key],
|
1201
1108
|
prefix: nil,
|
1109
|
+
copy_source: nil,
|
1202
1110
|
disable_access_points: nil,
|
1203
1111
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1204
1112
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1210,21 +1118,19 @@ module Aws::S3
|
|
1210
1118
|
|
1211
1119
|
class GetObjectAcl
|
1212
1120
|
def self.build(context)
|
1213
|
-
unless context.config.regional_endpoint
|
1214
|
-
endpoint = context.config.endpoint.to_s
|
1215
|
-
end
|
1216
1121
|
Aws::S3::EndpointParameters.new(
|
1217
1122
|
bucket: context.params[:bucket],
|
1218
1123
|
region: context.config.region,
|
1219
1124
|
use_fips: context.config.use_fips_endpoint,
|
1220
1125
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1221
|
-
endpoint: endpoint,
|
1126
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1222
1127
|
force_path_style: context.config.force_path_style,
|
1223
1128
|
accelerate: context[:use_accelerate_endpoint],
|
1224
1129
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1225
1130
|
use_object_lambda_endpoint: nil,
|
1226
1131
|
key: context.params[:key],
|
1227
1132
|
prefix: nil,
|
1133
|
+
copy_source: nil,
|
1228
1134
|
disable_access_points: nil,
|
1229
1135
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1230
1136
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1236,21 +1142,19 @@ module Aws::S3
|
|
1236
1142
|
|
1237
1143
|
class GetObjectAttributes
|
1238
1144
|
def self.build(context)
|
1239
|
-
unless context.config.regional_endpoint
|
1240
|
-
endpoint = context.config.endpoint.to_s
|
1241
|
-
end
|
1242
1145
|
Aws::S3::EndpointParameters.new(
|
1243
1146
|
bucket: context.params[:bucket],
|
1244
1147
|
region: context.config.region,
|
1245
1148
|
use_fips: context.config.use_fips_endpoint,
|
1246
1149
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1247
|
-
endpoint: endpoint,
|
1150
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1248
1151
|
force_path_style: context.config.force_path_style,
|
1249
1152
|
accelerate: context[:use_accelerate_endpoint],
|
1250
1153
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1251
1154
|
use_object_lambda_endpoint: nil,
|
1252
1155
|
key: nil,
|
1253
1156
|
prefix: nil,
|
1157
|
+
copy_source: nil,
|
1254
1158
|
disable_access_points: nil,
|
1255
1159
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1256
1160
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1262,21 +1166,19 @@ module Aws::S3
|
|
1262
1166
|
|
1263
1167
|
class GetObjectLegalHold
|
1264
1168
|
def self.build(context)
|
1265
|
-
unless context.config.regional_endpoint
|
1266
|
-
endpoint = context.config.endpoint.to_s
|
1267
|
-
end
|
1268
1169
|
Aws::S3::EndpointParameters.new(
|
1269
1170
|
bucket: context.params[:bucket],
|
1270
1171
|
region: context.config.region,
|
1271
1172
|
use_fips: context.config.use_fips_endpoint,
|
1272
1173
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1273
|
-
endpoint: endpoint,
|
1174
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1274
1175
|
force_path_style: context.config.force_path_style,
|
1275
1176
|
accelerate: context[:use_accelerate_endpoint],
|
1276
1177
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1277
1178
|
use_object_lambda_endpoint: nil,
|
1278
1179
|
key: nil,
|
1279
1180
|
prefix: nil,
|
1181
|
+
copy_source: nil,
|
1280
1182
|
disable_access_points: nil,
|
1281
1183
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1282
1184
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1288,21 +1190,19 @@ module Aws::S3
|
|
1288
1190
|
|
1289
1191
|
class GetObjectLockConfiguration
|
1290
1192
|
def self.build(context)
|
1291
|
-
unless context.config.regional_endpoint
|
1292
|
-
endpoint = context.config.endpoint.to_s
|
1293
|
-
end
|
1294
1193
|
Aws::S3::EndpointParameters.new(
|
1295
1194
|
bucket: context.params[:bucket],
|
1296
1195
|
region: context.config.region,
|
1297
1196
|
use_fips: context.config.use_fips_endpoint,
|
1298
1197
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1299
|
-
endpoint: endpoint,
|
1198
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1300
1199
|
force_path_style: context.config.force_path_style,
|
1301
1200
|
accelerate: context[:use_accelerate_endpoint],
|
1302
1201
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1303
1202
|
use_object_lambda_endpoint: nil,
|
1304
1203
|
key: nil,
|
1305
1204
|
prefix: nil,
|
1205
|
+
copy_source: nil,
|
1306
1206
|
disable_access_points: nil,
|
1307
1207
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1308
1208
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1314,21 +1214,19 @@ module Aws::S3
|
|
1314
1214
|
|
1315
1215
|
class GetObjectRetention
|
1316
1216
|
def self.build(context)
|
1317
|
-
unless context.config.regional_endpoint
|
1318
|
-
endpoint = context.config.endpoint.to_s
|
1319
|
-
end
|
1320
1217
|
Aws::S3::EndpointParameters.new(
|
1321
1218
|
bucket: context.params[:bucket],
|
1322
1219
|
region: context.config.region,
|
1323
1220
|
use_fips: context.config.use_fips_endpoint,
|
1324
1221
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1325
|
-
endpoint: endpoint,
|
1222
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1326
1223
|
force_path_style: context.config.force_path_style,
|
1327
1224
|
accelerate: context[:use_accelerate_endpoint],
|
1328
1225
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1329
1226
|
use_object_lambda_endpoint: nil,
|
1330
1227
|
key: nil,
|
1331
1228
|
prefix: nil,
|
1229
|
+
copy_source: nil,
|
1332
1230
|
disable_access_points: nil,
|
1333
1231
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1334
1232
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1340,21 +1238,19 @@ module Aws::S3
|
|
1340
1238
|
|
1341
1239
|
class GetObjectTagging
|
1342
1240
|
def self.build(context)
|
1343
|
-
unless context.config.regional_endpoint
|
1344
|
-
endpoint = context.config.endpoint.to_s
|
1345
|
-
end
|
1346
1241
|
Aws::S3::EndpointParameters.new(
|
1347
1242
|
bucket: context.params[:bucket],
|
1348
1243
|
region: context.config.region,
|
1349
1244
|
use_fips: context.config.use_fips_endpoint,
|
1350
1245
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1351
|
-
endpoint: endpoint,
|
1246
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1352
1247
|
force_path_style: context.config.force_path_style,
|
1353
1248
|
accelerate: context[:use_accelerate_endpoint],
|
1354
1249
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1355
1250
|
use_object_lambda_endpoint: nil,
|
1356
1251
|
key: nil,
|
1357
1252
|
prefix: nil,
|
1253
|
+
copy_source: nil,
|
1358
1254
|
disable_access_points: nil,
|
1359
1255
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1360
1256
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1366,21 +1262,19 @@ module Aws::S3
|
|
1366
1262
|
|
1367
1263
|
class GetObjectTorrent
|
1368
1264
|
def self.build(context)
|
1369
|
-
unless context.config.regional_endpoint
|
1370
|
-
endpoint = context.config.endpoint.to_s
|
1371
|
-
end
|
1372
1265
|
Aws::S3::EndpointParameters.new(
|
1373
1266
|
bucket: context.params[:bucket],
|
1374
1267
|
region: context.config.region,
|
1375
1268
|
use_fips: context.config.use_fips_endpoint,
|
1376
1269
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1377
|
-
endpoint: endpoint,
|
1270
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1378
1271
|
force_path_style: context.config.force_path_style,
|
1379
1272
|
accelerate: context[:use_accelerate_endpoint],
|
1380
1273
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1381
1274
|
use_object_lambda_endpoint: nil,
|
1382
1275
|
key: nil,
|
1383
1276
|
prefix: nil,
|
1277
|
+
copy_source: nil,
|
1384
1278
|
disable_access_points: nil,
|
1385
1279
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1386
1280
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1392,21 +1286,19 @@ module Aws::S3
|
|
1392
1286
|
|
1393
1287
|
class GetPublicAccessBlock
|
1394
1288
|
def self.build(context)
|
1395
|
-
unless context.config.regional_endpoint
|
1396
|
-
endpoint = context.config.endpoint.to_s
|
1397
|
-
end
|
1398
1289
|
Aws::S3::EndpointParameters.new(
|
1399
1290
|
bucket: context.params[:bucket],
|
1400
1291
|
region: context.config.region,
|
1401
1292
|
use_fips: context.config.use_fips_endpoint,
|
1402
1293
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1403
|
-
endpoint: endpoint,
|
1294
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1404
1295
|
force_path_style: context.config.force_path_style,
|
1405
1296
|
accelerate: context[:use_accelerate_endpoint],
|
1406
1297
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1407
1298
|
use_object_lambda_endpoint: nil,
|
1408
1299
|
key: nil,
|
1409
1300
|
prefix: nil,
|
1301
|
+
copy_source: nil,
|
1410
1302
|
disable_access_points: nil,
|
1411
1303
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1412
1304
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1418,21 +1310,19 @@ module Aws::S3
|
|
1418
1310
|
|
1419
1311
|
class HeadBucket
|
1420
1312
|
def self.build(context)
|
1421
|
-
unless context.config.regional_endpoint
|
1422
|
-
endpoint = context.config.endpoint.to_s
|
1423
|
-
end
|
1424
1313
|
Aws::S3::EndpointParameters.new(
|
1425
1314
|
bucket: context.params[:bucket],
|
1426
1315
|
region: context.config.region,
|
1427
1316
|
use_fips: context.config.use_fips_endpoint,
|
1428
1317
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1429
|
-
endpoint: endpoint,
|
1318
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1430
1319
|
force_path_style: context.config.force_path_style,
|
1431
1320
|
accelerate: context[:use_accelerate_endpoint],
|
1432
1321
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1433
1322
|
use_object_lambda_endpoint: nil,
|
1434
1323
|
key: nil,
|
1435
1324
|
prefix: nil,
|
1325
|
+
copy_source: nil,
|
1436
1326
|
disable_access_points: nil,
|
1437
1327
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1438
1328
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1444,21 +1334,19 @@ module Aws::S3
|
|
1444
1334
|
|
1445
1335
|
class HeadObject
|
1446
1336
|
def self.build(context)
|
1447
|
-
unless context.config.regional_endpoint
|
1448
|
-
endpoint = context.config.endpoint.to_s
|
1449
|
-
end
|
1450
1337
|
Aws::S3::EndpointParameters.new(
|
1451
1338
|
bucket: context.params[:bucket],
|
1452
1339
|
region: context.config.region,
|
1453
1340
|
use_fips: context.config.use_fips_endpoint,
|
1454
1341
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1455
|
-
endpoint: endpoint,
|
1342
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1456
1343
|
force_path_style: context.config.force_path_style,
|
1457
1344
|
accelerate: context[:use_accelerate_endpoint],
|
1458
1345
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1459
1346
|
use_object_lambda_endpoint: nil,
|
1460
1347
|
key: context.params[:key],
|
1461
1348
|
prefix: nil,
|
1349
|
+
copy_source: nil,
|
1462
1350
|
disable_access_points: nil,
|
1463
1351
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1464
1352
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1470,21 +1358,19 @@ module Aws::S3
|
|
1470
1358
|
|
1471
1359
|
class ListBucketAnalyticsConfigurations
|
1472
1360
|
def self.build(context)
|
1473
|
-
unless context.config.regional_endpoint
|
1474
|
-
endpoint = context.config.endpoint.to_s
|
1475
|
-
end
|
1476
1361
|
Aws::S3::EndpointParameters.new(
|
1477
1362
|
bucket: context.params[:bucket],
|
1478
1363
|
region: context.config.region,
|
1479
1364
|
use_fips: context.config.use_fips_endpoint,
|
1480
1365
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1481
|
-
endpoint: endpoint,
|
1366
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1482
1367
|
force_path_style: context.config.force_path_style,
|
1483
1368
|
accelerate: context[:use_accelerate_endpoint],
|
1484
1369
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1485
1370
|
use_object_lambda_endpoint: nil,
|
1486
1371
|
key: nil,
|
1487
1372
|
prefix: nil,
|
1373
|
+
copy_source: nil,
|
1488
1374
|
disable_access_points: nil,
|
1489
1375
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1490
1376
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1496,21 +1382,19 @@ module Aws::S3
|
|
1496
1382
|
|
1497
1383
|
class ListBucketIntelligentTieringConfigurations
|
1498
1384
|
def self.build(context)
|
1499
|
-
unless context.config.regional_endpoint
|
1500
|
-
endpoint = context.config.endpoint.to_s
|
1501
|
-
end
|
1502
1385
|
Aws::S3::EndpointParameters.new(
|
1503
1386
|
bucket: context.params[:bucket],
|
1504
1387
|
region: context.config.region,
|
1505
1388
|
use_fips: context.config.use_fips_endpoint,
|
1506
1389
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1507
|
-
endpoint: endpoint,
|
1390
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1508
1391
|
force_path_style: context.config.force_path_style,
|
1509
1392
|
accelerate: context[:use_accelerate_endpoint],
|
1510
1393
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1511
1394
|
use_object_lambda_endpoint: nil,
|
1512
1395
|
key: nil,
|
1513
1396
|
prefix: nil,
|
1397
|
+
copy_source: nil,
|
1514
1398
|
disable_access_points: nil,
|
1515
1399
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1516
1400
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1522,21 +1406,19 @@ module Aws::S3
|
|
1522
1406
|
|
1523
1407
|
class ListBucketInventoryConfigurations
|
1524
1408
|
def self.build(context)
|
1525
|
-
unless context.config.regional_endpoint
|
1526
|
-
endpoint = context.config.endpoint.to_s
|
1527
|
-
end
|
1528
1409
|
Aws::S3::EndpointParameters.new(
|
1529
1410
|
bucket: context.params[:bucket],
|
1530
1411
|
region: context.config.region,
|
1531
1412
|
use_fips: context.config.use_fips_endpoint,
|
1532
1413
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1533
|
-
endpoint: endpoint,
|
1414
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1534
1415
|
force_path_style: context.config.force_path_style,
|
1535
1416
|
accelerate: context[:use_accelerate_endpoint],
|
1536
1417
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1537
1418
|
use_object_lambda_endpoint: nil,
|
1538
1419
|
key: nil,
|
1539
1420
|
prefix: nil,
|
1421
|
+
copy_source: nil,
|
1540
1422
|
disable_access_points: nil,
|
1541
1423
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1542
1424
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1548,21 +1430,19 @@ module Aws::S3
|
|
1548
1430
|
|
1549
1431
|
class ListBucketMetricsConfigurations
|
1550
1432
|
def self.build(context)
|
1551
|
-
unless context.config.regional_endpoint
|
1552
|
-
endpoint = context.config.endpoint.to_s
|
1553
|
-
end
|
1554
1433
|
Aws::S3::EndpointParameters.new(
|
1555
1434
|
bucket: context.params[:bucket],
|
1556
1435
|
region: context.config.region,
|
1557
1436
|
use_fips: context.config.use_fips_endpoint,
|
1558
1437
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1559
|
-
endpoint: endpoint,
|
1438
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1560
1439
|
force_path_style: context.config.force_path_style,
|
1561
1440
|
accelerate: context[:use_accelerate_endpoint],
|
1562
1441
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1563
1442
|
use_object_lambda_endpoint: nil,
|
1564
1443
|
key: nil,
|
1565
1444
|
prefix: nil,
|
1445
|
+
copy_source: nil,
|
1566
1446
|
disable_access_points: nil,
|
1567
1447
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1568
1448
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1574,21 +1454,19 @@ module Aws::S3
|
|
1574
1454
|
|
1575
1455
|
class ListBuckets
|
1576
1456
|
def self.build(context)
|
1577
|
-
unless context.config.regional_endpoint
|
1578
|
-
endpoint = context.config.endpoint.to_s
|
1579
|
-
end
|
1580
1457
|
Aws::S3::EndpointParameters.new(
|
1581
1458
|
bucket: nil,
|
1582
1459
|
region: context.config.region,
|
1583
1460
|
use_fips: context.config.use_fips_endpoint,
|
1584
1461
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1585
|
-
endpoint: endpoint,
|
1462
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1586
1463
|
force_path_style: context.config.force_path_style,
|
1587
1464
|
accelerate: context[:use_accelerate_endpoint],
|
1588
1465
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1589
1466
|
use_object_lambda_endpoint: nil,
|
1590
1467
|
key: nil,
|
1591
1468
|
prefix: nil,
|
1469
|
+
copy_source: nil,
|
1592
1470
|
disable_access_points: nil,
|
1593
1471
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1594
1472
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1600,21 +1478,19 @@ module Aws::S3
|
|
1600
1478
|
|
1601
1479
|
class ListDirectoryBuckets
|
1602
1480
|
def self.build(context)
|
1603
|
-
unless context.config.regional_endpoint
|
1604
|
-
endpoint = context.config.endpoint.to_s
|
1605
|
-
end
|
1606
1481
|
Aws::S3::EndpointParameters.new(
|
1607
1482
|
bucket: nil,
|
1608
1483
|
region: context.config.region,
|
1609
1484
|
use_fips: context.config.use_fips_endpoint,
|
1610
1485
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1611
|
-
endpoint: endpoint,
|
1486
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1612
1487
|
force_path_style: context.config.force_path_style,
|
1613
1488
|
accelerate: context[:use_accelerate_endpoint],
|
1614
1489
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1615
1490
|
use_object_lambda_endpoint: nil,
|
1616
1491
|
key: nil,
|
1617
1492
|
prefix: nil,
|
1493
|
+
copy_source: nil,
|
1618
1494
|
disable_access_points: nil,
|
1619
1495
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1620
1496
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1626,21 +1502,19 @@ module Aws::S3
|
|
1626
1502
|
|
1627
1503
|
class ListMultipartUploads
|
1628
1504
|
def self.build(context)
|
1629
|
-
unless context.config.regional_endpoint
|
1630
|
-
endpoint = context.config.endpoint.to_s
|
1631
|
-
end
|
1632
1505
|
Aws::S3::EndpointParameters.new(
|
1633
1506
|
bucket: context.params[:bucket],
|
1634
1507
|
region: context.config.region,
|
1635
1508
|
use_fips: context.config.use_fips_endpoint,
|
1636
1509
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1637
|
-
endpoint: endpoint,
|
1510
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1638
1511
|
force_path_style: context.config.force_path_style,
|
1639
1512
|
accelerate: context[:use_accelerate_endpoint],
|
1640
1513
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1641
1514
|
use_object_lambda_endpoint: nil,
|
1642
1515
|
key: nil,
|
1643
1516
|
prefix: context.params[:prefix],
|
1517
|
+
copy_source: nil,
|
1644
1518
|
disable_access_points: nil,
|
1645
1519
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1646
1520
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1652,21 +1526,19 @@ module Aws::S3
|
|
1652
1526
|
|
1653
1527
|
class ListObjectVersions
|
1654
1528
|
def self.build(context)
|
1655
|
-
unless context.config.regional_endpoint
|
1656
|
-
endpoint = context.config.endpoint.to_s
|
1657
|
-
end
|
1658
1529
|
Aws::S3::EndpointParameters.new(
|
1659
1530
|
bucket: context.params[:bucket],
|
1660
1531
|
region: context.config.region,
|
1661
1532
|
use_fips: context.config.use_fips_endpoint,
|
1662
1533
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1663
|
-
endpoint: endpoint,
|
1534
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1664
1535
|
force_path_style: context.config.force_path_style,
|
1665
1536
|
accelerate: context[:use_accelerate_endpoint],
|
1666
1537
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1667
1538
|
use_object_lambda_endpoint: nil,
|
1668
1539
|
key: nil,
|
1669
1540
|
prefix: context.params[:prefix],
|
1541
|
+
copy_source: nil,
|
1670
1542
|
disable_access_points: nil,
|
1671
1543
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1672
1544
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1678,21 +1550,19 @@ module Aws::S3
|
|
1678
1550
|
|
1679
1551
|
class ListObjects
|
1680
1552
|
def self.build(context)
|
1681
|
-
unless context.config.regional_endpoint
|
1682
|
-
endpoint = context.config.endpoint.to_s
|
1683
|
-
end
|
1684
1553
|
Aws::S3::EndpointParameters.new(
|
1685
1554
|
bucket: context.params[:bucket],
|
1686
1555
|
region: context.config.region,
|
1687
1556
|
use_fips: context.config.use_fips_endpoint,
|
1688
1557
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1689
|
-
endpoint: endpoint,
|
1558
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1690
1559
|
force_path_style: context.config.force_path_style,
|
1691
1560
|
accelerate: context[:use_accelerate_endpoint],
|
1692
1561
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1693
1562
|
use_object_lambda_endpoint: nil,
|
1694
1563
|
key: nil,
|
1695
1564
|
prefix: context.params[:prefix],
|
1565
|
+
copy_source: nil,
|
1696
1566
|
disable_access_points: nil,
|
1697
1567
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1698
1568
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1704,21 +1574,19 @@ module Aws::S3
|
|
1704
1574
|
|
1705
1575
|
class ListObjectsV2
|
1706
1576
|
def self.build(context)
|
1707
|
-
unless context.config.regional_endpoint
|
1708
|
-
endpoint = context.config.endpoint.to_s
|
1709
|
-
end
|
1710
1577
|
Aws::S3::EndpointParameters.new(
|
1711
1578
|
bucket: context.params[:bucket],
|
1712
1579
|
region: context.config.region,
|
1713
1580
|
use_fips: context.config.use_fips_endpoint,
|
1714
1581
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1715
|
-
endpoint: endpoint,
|
1582
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1716
1583
|
force_path_style: context.config.force_path_style,
|
1717
1584
|
accelerate: context[:use_accelerate_endpoint],
|
1718
1585
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1719
1586
|
use_object_lambda_endpoint: nil,
|
1720
1587
|
key: nil,
|
1721
1588
|
prefix: context.params[:prefix],
|
1589
|
+
copy_source: nil,
|
1722
1590
|
disable_access_points: nil,
|
1723
1591
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1724
1592
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1730,21 +1598,19 @@ module Aws::S3
|
|
1730
1598
|
|
1731
1599
|
class ListParts
|
1732
1600
|
def self.build(context)
|
1733
|
-
unless context.config.regional_endpoint
|
1734
|
-
endpoint = context.config.endpoint.to_s
|
1735
|
-
end
|
1736
1601
|
Aws::S3::EndpointParameters.new(
|
1737
1602
|
bucket: context.params[:bucket],
|
1738
1603
|
region: context.config.region,
|
1739
1604
|
use_fips: context.config.use_fips_endpoint,
|
1740
1605
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1741
|
-
endpoint: endpoint,
|
1606
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1742
1607
|
force_path_style: context.config.force_path_style,
|
1743
1608
|
accelerate: context[:use_accelerate_endpoint],
|
1744
1609
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1745
1610
|
use_object_lambda_endpoint: nil,
|
1746
1611
|
key: context.params[:key],
|
1747
1612
|
prefix: nil,
|
1613
|
+
copy_source: nil,
|
1748
1614
|
disable_access_points: nil,
|
1749
1615
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1750
1616
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1756,21 +1622,19 @@ module Aws::S3
|
|
1756
1622
|
|
1757
1623
|
class PutBucketAccelerateConfiguration
|
1758
1624
|
def self.build(context)
|
1759
|
-
unless context.config.regional_endpoint
|
1760
|
-
endpoint = context.config.endpoint.to_s
|
1761
|
-
end
|
1762
1625
|
Aws::S3::EndpointParameters.new(
|
1763
1626
|
bucket: context.params[:bucket],
|
1764
1627
|
region: context.config.region,
|
1765
1628
|
use_fips: context.config.use_fips_endpoint,
|
1766
1629
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1767
|
-
endpoint: endpoint,
|
1630
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1768
1631
|
force_path_style: context.config.force_path_style,
|
1769
1632
|
accelerate: context[:use_accelerate_endpoint],
|
1770
1633
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1771
1634
|
use_object_lambda_endpoint: nil,
|
1772
1635
|
key: nil,
|
1773
1636
|
prefix: nil,
|
1637
|
+
copy_source: nil,
|
1774
1638
|
disable_access_points: nil,
|
1775
1639
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1776
1640
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1782,21 +1646,19 @@ module Aws::S3
|
|
1782
1646
|
|
1783
1647
|
class PutBucketAcl
|
1784
1648
|
def self.build(context)
|
1785
|
-
unless context.config.regional_endpoint
|
1786
|
-
endpoint = context.config.endpoint.to_s
|
1787
|
-
end
|
1788
1649
|
Aws::S3::EndpointParameters.new(
|
1789
1650
|
bucket: context.params[:bucket],
|
1790
1651
|
region: context.config.region,
|
1791
1652
|
use_fips: context.config.use_fips_endpoint,
|
1792
1653
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1793
|
-
endpoint: endpoint,
|
1654
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1794
1655
|
force_path_style: context.config.force_path_style,
|
1795
1656
|
accelerate: context[:use_accelerate_endpoint],
|
1796
1657
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1797
1658
|
use_object_lambda_endpoint: nil,
|
1798
1659
|
key: nil,
|
1799
1660
|
prefix: nil,
|
1661
|
+
copy_source: nil,
|
1800
1662
|
disable_access_points: nil,
|
1801
1663
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1802
1664
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1808,21 +1670,19 @@ module Aws::S3
|
|
1808
1670
|
|
1809
1671
|
class PutBucketAnalyticsConfiguration
|
1810
1672
|
def self.build(context)
|
1811
|
-
unless context.config.regional_endpoint
|
1812
|
-
endpoint = context.config.endpoint.to_s
|
1813
|
-
end
|
1814
1673
|
Aws::S3::EndpointParameters.new(
|
1815
1674
|
bucket: context.params[:bucket],
|
1816
1675
|
region: context.config.region,
|
1817
1676
|
use_fips: context.config.use_fips_endpoint,
|
1818
1677
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1819
|
-
endpoint: endpoint,
|
1678
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1820
1679
|
force_path_style: context.config.force_path_style,
|
1821
1680
|
accelerate: context[:use_accelerate_endpoint],
|
1822
1681
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1823
1682
|
use_object_lambda_endpoint: nil,
|
1824
1683
|
key: nil,
|
1825
1684
|
prefix: nil,
|
1685
|
+
copy_source: nil,
|
1826
1686
|
disable_access_points: nil,
|
1827
1687
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1828
1688
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1834,21 +1694,19 @@ module Aws::S3
|
|
1834
1694
|
|
1835
1695
|
class PutBucketCors
|
1836
1696
|
def self.build(context)
|
1837
|
-
unless context.config.regional_endpoint
|
1838
|
-
endpoint = context.config.endpoint.to_s
|
1839
|
-
end
|
1840
1697
|
Aws::S3::EndpointParameters.new(
|
1841
1698
|
bucket: context.params[:bucket],
|
1842
1699
|
region: context.config.region,
|
1843
1700
|
use_fips: context.config.use_fips_endpoint,
|
1844
1701
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1845
|
-
endpoint: endpoint,
|
1702
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1846
1703
|
force_path_style: context.config.force_path_style,
|
1847
1704
|
accelerate: context[:use_accelerate_endpoint],
|
1848
1705
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1849
1706
|
use_object_lambda_endpoint: nil,
|
1850
1707
|
key: nil,
|
1851
1708
|
prefix: nil,
|
1709
|
+
copy_source: nil,
|
1852
1710
|
disable_access_points: nil,
|
1853
1711
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1854
1712
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1860,21 +1718,19 @@ module Aws::S3
|
|
1860
1718
|
|
1861
1719
|
class PutBucketEncryption
|
1862
1720
|
def self.build(context)
|
1863
|
-
unless context.config.regional_endpoint
|
1864
|
-
endpoint = context.config.endpoint.to_s
|
1865
|
-
end
|
1866
1721
|
Aws::S3::EndpointParameters.new(
|
1867
1722
|
bucket: context.params[:bucket],
|
1868
1723
|
region: context.config.region,
|
1869
1724
|
use_fips: context.config.use_fips_endpoint,
|
1870
1725
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1871
|
-
endpoint: endpoint,
|
1726
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1872
1727
|
force_path_style: context.config.force_path_style,
|
1873
1728
|
accelerate: context[:use_accelerate_endpoint],
|
1874
1729
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1875
1730
|
use_object_lambda_endpoint: nil,
|
1876
1731
|
key: nil,
|
1877
1732
|
prefix: nil,
|
1733
|
+
copy_source: nil,
|
1878
1734
|
disable_access_points: nil,
|
1879
1735
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1880
1736
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1886,21 +1742,19 @@ module Aws::S3
|
|
1886
1742
|
|
1887
1743
|
class PutBucketIntelligentTieringConfiguration
|
1888
1744
|
def self.build(context)
|
1889
|
-
unless context.config.regional_endpoint
|
1890
|
-
endpoint = context.config.endpoint.to_s
|
1891
|
-
end
|
1892
1745
|
Aws::S3::EndpointParameters.new(
|
1893
1746
|
bucket: context.params[:bucket],
|
1894
1747
|
region: context.config.region,
|
1895
1748
|
use_fips: context.config.use_fips_endpoint,
|
1896
1749
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1897
|
-
endpoint: endpoint,
|
1750
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1898
1751
|
force_path_style: context.config.force_path_style,
|
1899
1752
|
accelerate: context[:use_accelerate_endpoint],
|
1900
1753
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1901
1754
|
use_object_lambda_endpoint: nil,
|
1902
1755
|
key: nil,
|
1903
1756
|
prefix: nil,
|
1757
|
+
copy_source: nil,
|
1904
1758
|
disable_access_points: nil,
|
1905
1759
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1906
1760
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1912,21 +1766,19 @@ module Aws::S3
|
|
1912
1766
|
|
1913
1767
|
class PutBucketInventoryConfiguration
|
1914
1768
|
def self.build(context)
|
1915
|
-
unless context.config.regional_endpoint
|
1916
|
-
endpoint = context.config.endpoint.to_s
|
1917
|
-
end
|
1918
1769
|
Aws::S3::EndpointParameters.new(
|
1919
1770
|
bucket: context.params[:bucket],
|
1920
1771
|
region: context.config.region,
|
1921
1772
|
use_fips: context.config.use_fips_endpoint,
|
1922
1773
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1923
|
-
endpoint: endpoint,
|
1774
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1924
1775
|
force_path_style: context.config.force_path_style,
|
1925
1776
|
accelerate: context[:use_accelerate_endpoint],
|
1926
1777
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1927
1778
|
use_object_lambda_endpoint: nil,
|
1928
1779
|
key: nil,
|
1929
1780
|
prefix: nil,
|
1781
|
+
copy_source: nil,
|
1930
1782
|
disable_access_points: nil,
|
1931
1783
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1932
1784
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1938,21 +1790,19 @@ module Aws::S3
|
|
1938
1790
|
|
1939
1791
|
class PutBucketLifecycle
|
1940
1792
|
def self.build(context)
|
1941
|
-
unless context.config.regional_endpoint
|
1942
|
-
endpoint = context.config.endpoint.to_s
|
1943
|
-
end
|
1944
1793
|
Aws::S3::EndpointParameters.new(
|
1945
1794
|
bucket: context.params[:bucket],
|
1946
1795
|
region: context.config.region,
|
1947
1796
|
use_fips: context.config.use_fips_endpoint,
|
1948
1797
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1949
|
-
endpoint: endpoint,
|
1798
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1950
1799
|
force_path_style: context.config.force_path_style,
|
1951
1800
|
accelerate: context[:use_accelerate_endpoint],
|
1952
1801
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1953
1802
|
use_object_lambda_endpoint: nil,
|
1954
1803
|
key: nil,
|
1955
1804
|
prefix: nil,
|
1805
|
+
copy_source: nil,
|
1956
1806
|
disable_access_points: nil,
|
1957
1807
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1958
1808
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1964,21 +1814,19 @@ module Aws::S3
|
|
1964
1814
|
|
1965
1815
|
class PutBucketLifecycleConfiguration
|
1966
1816
|
def self.build(context)
|
1967
|
-
unless context.config.regional_endpoint
|
1968
|
-
endpoint = context.config.endpoint.to_s
|
1969
|
-
end
|
1970
1817
|
Aws::S3::EndpointParameters.new(
|
1971
1818
|
bucket: context.params[:bucket],
|
1972
1819
|
region: context.config.region,
|
1973
1820
|
use_fips: context.config.use_fips_endpoint,
|
1974
1821
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1975
|
-
endpoint: endpoint,
|
1822
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1976
1823
|
force_path_style: context.config.force_path_style,
|
1977
1824
|
accelerate: context[:use_accelerate_endpoint],
|
1978
1825
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
1979
1826
|
use_object_lambda_endpoint: nil,
|
1980
1827
|
key: nil,
|
1981
1828
|
prefix: nil,
|
1829
|
+
copy_source: nil,
|
1982
1830
|
disable_access_points: nil,
|
1983
1831
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
1984
1832
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -1990,21 +1838,19 @@ module Aws::S3
|
|
1990
1838
|
|
1991
1839
|
class PutBucketLogging
|
1992
1840
|
def self.build(context)
|
1993
|
-
unless context.config.regional_endpoint
|
1994
|
-
endpoint = context.config.endpoint.to_s
|
1995
|
-
end
|
1996
1841
|
Aws::S3::EndpointParameters.new(
|
1997
1842
|
bucket: context.params[:bucket],
|
1998
1843
|
region: context.config.region,
|
1999
1844
|
use_fips: context.config.use_fips_endpoint,
|
2000
1845
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2001
|
-
endpoint: endpoint,
|
1846
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2002
1847
|
force_path_style: context.config.force_path_style,
|
2003
1848
|
accelerate: context[:use_accelerate_endpoint],
|
2004
1849
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2005
1850
|
use_object_lambda_endpoint: nil,
|
2006
1851
|
key: nil,
|
2007
1852
|
prefix: nil,
|
1853
|
+
copy_source: nil,
|
2008
1854
|
disable_access_points: nil,
|
2009
1855
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2010
1856
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2016,21 +1862,19 @@ module Aws::S3
|
|
2016
1862
|
|
2017
1863
|
class PutBucketMetricsConfiguration
|
2018
1864
|
def self.build(context)
|
2019
|
-
unless context.config.regional_endpoint
|
2020
|
-
endpoint = context.config.endpoint.to_s
|
2021
|
-
end
|
2022
1865
|
Aws::S3::EndpointParameters.new(
|
2023
1866
|
bucket: context.params[:bucket],
|
2024
1867
|
region: context.config.region,
|
2025
1868
|
use_fips: context.config.use_fips_endpoint,
|
2026
1869
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2027
|
-
endpoint: endpoint,
|
1870
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2028
1871
|
force_path_style: context.config.force_path_style,
|
2029
1872
|
accelerate: context[:use_accelerate_endpoint],
|
2030
1873
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2031
1874
|
use_object_lambda_endpoint: nil,
|
2032
1875
|
key: nil,
|
2033
1876
|
prefix: nil,
|
1877
|
+
copy_source: nil,
|
2034
1878
|
disable_access_points: nil,
|
2035
1879
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2036
1880
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2042,21 +1886,19 @@ module Aws::S3
|
|
2042
1886
|
|
2043
1887
|
class PutBucketNotification
|
2044
1888
|
def self.build(context)
|
2045
|
-
unless context.config.regional_endpoint
|
2046
|
-
endpoint = context.config.endpoint.to_s
|
2047
|
-
end
|
2048
1889
|
Aws::S3::EndpointParameters.new(
|
2049
1890
|
bucket: context.params[:bucket],
|
2050
1891
|
region: context.config.region,
|
2051
1892
|
use_fips: context.config.use_fips_endpoint,
|
2052
1893
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2053
|
-
endpoint: endpoint,
|
1894
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2054
1895
|
force_path_style: context.config.force_path_style,
|
2055
1896
|
accelerate: context[:use_accelerate_endpoint],
|
2056
1897
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2057
1898
|
use_object_lambda_endpoint: nil,
|
2058
1899
|
key: nil,
|
2059
1900
|
prefix: nil,
|
1901
|
+
copy_source: nil,
|
2060
1902
|
disable_access_points: nil,
|
2061
1903
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2062
1904
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2068,21 +1910,19 @@ module Aws::S3
|
|
2068
1910
|
|
2069
1911
|
class PutBucketNotificationConfiguration
|
2070
1912
|
def self.build(context)
|
2071
|
-
unless context.config.regional_endpoint
|
2072
|
-
endpoint = context.config.endpoint.to_s
|
2073
|
-
end
|
2074
1913
|
Aws::S3::EndpointParameters.new(
|
2075
1914
|
bucket: context.params[:bucket],
|
2076
1915
|
region: context.config.region,
|
2077
1916
|
use_fips: context.config.use_fips_endpoint,
|
2078
1917
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2079
|
-
endpoint: endpoint,
|
1918
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2080
1919
|
force_path_style: context.config.force_path_style,
|
2081
1920
|
accelerate: context[:use_accelerate_endpoint],
|
2082
1921
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2083
1922
|
use_object_lambda_endpoint: nil,
|
2084
1923
|
key: nil,
|
2085
1924
|
prefix: nil,
|
1925
|
+
copy_source: nil,
|
2086
1926
|
disable_access_points: nil,
|
2087
1927
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2088
1928
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2094,21 +1934,19 @@ module Aws::S3
|
|
2094
1934
|
|
2095
1935
|
class PutBucketOwnershipControls
|
2096
1936
|
def self.build(context)
|
2097
|
-
unless context.config.regional_endpoint
|
2098
|
-
endpoint = context.config.endpoint.to_s
|
2099
|
-
end
|
2100
1937
|
Aws::S3::EndpointParameters.new(
|
2101
1938
|
bucket: context.params[:bucket],
|
2102
1939
|
region: context.config.region,
|
2103
1940
|
use_fips: context.config.use_fips_endpoint,
|
2104
1941
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2105
|
-
endpoint: endpoint,
|
1942
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2106
1943
|
force_path_style: context.config.force_path_style,
|
2107
1944
|
accelerate: context[:use_accelerate_endpoint],
|
2108
1945
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2109
1946
|
use_object_lambda_endpoint: nil,
|
2110
1947
|
key: nil,
|
2111
1948
|
prefix: nil,
|
1949
|
+
copy_source: nil,
|
2112
1950
|
disable_access_points: nil,
|
2113
1951
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2114
1952
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2120,21 +1958,19 @@ module Aws::S3
|
|
2120
1958
|
|
2121
1959
|
class PutBucketPolicy
|
2122
1960
|
def self.build(context)
|
2123
|
-
unless context.config.regional_endpoint
|
2124
|
-
endpoint = context.config.endpoint.to_s
|
2125
|
-
end
|
2126
1961
|
Aws::S3::EndpointParameters.new(
|
2127
1962
|
bucket: context.params[:bucket],
|
2128
1963
|
region: context.config.region,
|
2129
1964
|
use_fips: context.config.use_fips_endpoint,
|
2130
1965
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2131
|
-
endpoint: endpoint,
|
1966
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2132
1967
|
force_path_style: context.config.force_path_style,
|
2133
1968
|
accelerate: context[:use_accelerate_endpoint],
|
2134
1969
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2135
1970
|
use_object_lambda_endpoint: nil,
|
2136
1971
|
key: nil,
|
2137
1972
|
prefix: nil,
|
1973
|
+
copy_source: nil,
|
2138
1974
|
disable_access_points: nil,
|
2139
1975
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2140
1976
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2146,21 +1982,19 @@ module Aws::S3
|
|
2146
1982
|
|
2147
1983
|
class PutBucketReplication
|
2148
1984
|
def self.build(context)
|
2149
|
-
unless context.config.regional_endpoint
|
2150
|
-
endpoint = context.config.endpoint.to_s
|
2151
|
-
end
|
2152
1985
|
Aws::S3::EndpointParameters.new(
|
2153
1986
|
bucket: context.params[:bucket],
|
2154
1987
|
region: context.config.region,
|
2155
1988
|
use_fips: context.config.use_fips_endpoint,
|
2156
1989
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2157
|
-
endpoint: endpoint,
|
1990
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2158
1991
|
force_path_style: context.config.force_path_style,
|
2159
1992
|
accelerate: context[:use_accelerate_endpoint],
|
2160
1993
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2161
1994
|
use_object_lambda_endpoint: nil,
|
2162
1995
|
key: nil,
|
2163
1996
|
prefix: nil,
|
1997
|
+
copy_source: nil,
|
2164
1998
|
disable_access_points: nil,
|
2165
1999
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2166
2000
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2172,21 +2006,19 @@ module Aws::S3
|
|
2172
2006
|
|
2173
2007
|
class PutBucketRequestPayment
|
2174
2008
|
def self.build(context)
|
2175
|
-
unless context.config.regional_endpoint
|
2176
|
-
endpoint = context.config.endpoint.to_s
|
2177
|
-
end
|
2178
2009
|
Aws::S3::EndpointParameters.new(
|
2179
2010
|
bucket: context.params[:bucket],
|
2180
2011
|
region: context.config.region,
|
2181
2012
|
use_fips: context.config.use_fips_endpoint,
|
2182
2013
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2183
|
-
endpoint: endpoint,
|
2014
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2184
2015
|
force_path_style: context.config.force_path_style,
|
2185
2016
|
accelerate: context[:use_accelerate_endpoint],
|
2186
2017
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2187
2018
|
use_object_lambda_endpoint: nil,
|
2188
2019
|
key: nil,
|
2189
2020
|
prefix: nil,
|
2021
|
+
copy_source: nil,
|
2190
2022
|
disable_access_points: nil,
|
2191
2023
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2192
2024
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2198,21 +2030,19 @@ module Aws::S3
|
|
2198
2030
|
|
2199
2031
|
class PutBucketTagging
|
2200
2032
|
def self.build(context)
|
2201
|
-
unless context.config.regional_endpoint
|
2202
|
-
endpoint = context.config.endpoint.to_s
|
2203
|
-
end
|
2204
2033
|
Aws::S3::EndpointParameters.new(
|
2205
2034
|
bucket: context.params[:bucket],
|
2206
2035
|
region: context.config.region,
|
2207
2036
|
use_fips: context.config.use_fips_endpoint,
|
2208
2037
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2209
|
-
endpoint: endpoint,
|
2038
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2210
2039
|
force_path_style: context.config.force_path_style,
|
2211
2040
|
accelerate: context[:use_accelerate_endpoint],
|
2212
2041
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2213
2042
|
use_object_lambda_endpoint: nil,
|
2214
2043
|
key: nil,
|
2215
2044
|
prefix: nil,
|
2045
|
+
copy_source: nil,
|
2216
2046
|
disable_access_points: nil,
|
2217
2047
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2218
2048
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2224,21 +2054,19 @@ module Aws::S3
|
|
2224
2054
|
|
2225
2055
|
class PutBucketVersioning
|
2226
2056
|
def self.build(context)
|
2227
|
-
unless context.config.regional_endpoint
|
2228
|
-
endpoint = context.config.endpoint.to_s
|
2229
|
-
end
|
2230
2057
|
Aws::S3::EndpointParameters.new(
|
2231
2058
|
bucket: context.params[:bucket],
|
2232
2059
|
region: context.config.region,
|
2233
2060
|
use_fips: context.config.use_fips_endpoint,
|
2234
2061
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2235
|
-
endpoint: endpoint,
|
2062
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2236
2063
|
force_path_style: context.config.force_path_style,
|
2237
2064
|
accelerate: context[:use_accelerate_endpoint],
|
2238
2065
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2239
2066
|
use_object_lambda_endpoint: nil,
|
2240
2067
|
key: nil,
|
2241
2068
|
prefix: nil,
|
2069
|
+
copy_source: nil,
|
2242
2070
|
disable_access_points: nil,
|
2243
2071
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2244
2072
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2250,21 +2078,19 @@ module Aws::S3
|
|
2250
2078
|
|
2251
2079
|
class PutBucketWebsite
|
2252
2080
|
def self.build(context)
|
2253
|
-
unless context.config.regional_endpoint
|
2254
|
-
endpoint = context.config.endpoint.to_s
|
2255
|
-
end
|
2256
2081
|
Aws::S3::EndpointParameters.new(
|
2257
2082
|
bucket: context.params[:bucket],
|
2258
2083
|
region: context.config.region,
|
2259
2084
|
use_fips: context.config.use_fips_endpoint,
|
2260
2085
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2261
|
-
endpoint: endpoint,
|
2086
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2262
2087
|
force_path_style: context.config.force_path_style,
|
2263
2088
|
accelerate: context[:use_accelerate_endpoint],
|
2264
2089
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2265
2090
|
use_object_lambda_endpoint: nil,
|
2266
2091
|
key: nil,
|
2267
2092
|
prefix: nil,
|
2093
|
+
copy_source: nil,
|
2268
2094
|
disable_access_points: nil,
|
2269
2095
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2270
2096
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2276,21 +2102,19 @@ module Aws::S3
|
|
2276
2102
|
|
2277
2103
|
class PutObject
|
2278
2104
|
def self.build(context)
|
2279
|
-
unless context.config.regional_endpoint
|
2280
|
-
endpoint = context.config.endpoint.to_s
|
2281
|
-
end
|
2282
2105
|
Aws::S3::EndpointParameters.new(
|
2283
2106
|
bucket: context.params[:bucket],
|
2284
2107
|
region: context.config.region,
|
2285
2108
|
use_fips: context.config.use_fips_endpoint,
|
2286
2109
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2287
|
-
endpoint: endpoint,
|
2110
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2288
2111
|
force_path_style: context.config.force_path_style,
|
2289
2112
|
accelerate: context[:use_accelerate_endpoint],
|
2290
2113
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2291
2114
|
use_object_lambda_endpoint: nil,
|
2292
2115
|
key: context.params[:key],
|
2293
2116
|
prefix: nil,
|
2117
|
+
copy_source: nil,
|
2294
2118
|
disable_access_points: nil,
|
2295
2119
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2296
2120
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2302,21 +2126,19 @@ module Aws::S3
|
|
2302
2126
|
|
2303
2127
|
class PutObjectAcl
|
2304
2128
|
def self.build(context)
|
2305
|
-
unless context.config.regional_endpoint
|
2306
|
-
endpoint = context.config.endpoint.to_s
|
2307
|
-
end
|
2308
2129
|
Aws::S3::EndpointParameters.new(
|
2309
2130
|
bucket: context.params[:bucket],
|
2310
2131
|
region: context.config.region,
|
2311
2132
|
use_fips: context.config.use_fips_endpoint,
|
2312
2133
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2313
|
-
endpoint: endpoint,
|
2134
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2314
2135
|
force_path_style: context.config.force_path_style,
|
2315
2136
|
accelerate: context[:use_accelerate_endpoint],
|
2316
2137
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2317
2138
|
use_object_lambda_endpoint: nil,
|
2318
2139
|
key: context.params[:key],
|
2319
2140
|
prefix: nil,
|
2141
|
+
copy_source: nil,
|
2320
2142
|
disable_access_points: nil,
|
2321
2143
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2322
2144
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2328,21 +2150,19 @@ module Aws::S3
|
|
2328
2150
|
|
2329
2151
|
class PutObjectLegalHold
|
2330
2152
|
def self.build(context)
|
2331
|
-
unless context.config.regional_endpoint
|
2332
|
-
endpoint = context.config.endpoint.to_s
|
2333
|
-
end
|
2334
2153
|
Aws::S3::EndpointParameters.new(
|
2335
2154
|
bucket: context.params[:bucket],
|
2336
2155
|
region: context.config.region,
|
2337
2156
|
use_fips: context.config.use_fips_endpoint,
|
2338
2157
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2339
|
-
endpoint: endpoint,
|
2158
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2340
2159
|
force_path_style: context.config.force_path_style,
|
2341
2160
|
accelerate: context[:use_accelerate_endpoint],
|
2342
2161
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2343
2162
|
use_object_lambda_endpoint: nil,
|
2344
2163
|
key: nil,
|
2345
2164
|
prefix: nil,
|
2165
|
+
copy_source: nil,
|
2346
2166
|
disable_access_points: nil,
|
2347
2167
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2348
2168
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2354,21 +2174,19 @@ module Aws::S3
|
|
2354
2174
|
|
2355
2175
|
class PutObjectLockConfiguration
|
2356
2176
|
def self.build(context)
|
2357
|
-
unless context.config.regional_endpoint
|
2358
|
-
endpoint = context.config.endpoint.to_s
|
2359
|
-
end
|
2360
2177
|
Aws::S3::EndpointParameters.new(
|
2361
2178
|
bucket: context.params[:bucket],
|
2362
2179
|
region: context.config.region,
|
2363
2180
|
use_fips: context.config.use_fips_endpoint,
|
2364
2181
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2365
|
-
endpoint: endpoint,
|
2182
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2366
2183
|
force_path_style: context.config.force_path_style,
|
2367
2184
|
accelerate: context[:use_accelerate_endpoint],
|
2368
2185
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2369
2186
|
use_object_lambda_endpoint: nil,
|
2370
2187
|
key: nil,
|
2371
2188
|
prefix: nil,
|
2189
|
+
copy_source: nil,
|
2372
2190
|
disable_access_points: nil,
|
2373
2191
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2374
2192
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2380,21 +2198,19 @@ module Aws::S3
|
|
2380
2198
|
|
2381
2199
|
class PutObjectRetention
|
2382
2200
|
def self.build(context)
|
2383
|
-
unless context.config.regional_endpoint
|
2384
|
-
endpoint = context.config.endpoint.to_s
|
2385
|
-
end
|
2386
2201
|
Aws::S3::EndpointParameters.new(
|
2387
2202
|
bucket: context.params[:bucket],
|
2388
2203
|
region: context.config.region,
|
2389
2204
|
use_fips: context.config.use_fips_endpoint,
|
2390
2205
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2391
|
-
endpoint: endpoint,
|
2206
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2392
2207
|
force_path_style: context.config.force_path_style,
|
2393
2208
|
accelerate: context[:use_accelerate_endpoint],
|
2394
2209
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2395
2210
|
use_object_lambda_endpoint: nil,
|
2396
2211
|
key: nil,
|
2397
2212
|
prefix: nil,
|
2213
|
+
copy_source: nil,
|
2398
2214
|
disable_access_points: nil,
|
2399
2215
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2400
2216
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2406,21 +2222,19 @@ module Aws::S3
|
|
2406
2222
|
|
2407
2223
|
class PutObjectTagging
|
2408
2224
|
def self.build(context)
|
2409
|
-
unless context.config.regional_endpoint
|
2410
|
-
endpoint = context.config.endpoint.to_s
|
2411
|
-
end
|
2412
2225
|
Aws::S3::EndpointParameters.new(
|
2413
2226
|
bucket: context.params[:bucket],
|
2414
2227
|
region: context.config.region,
|
2415
2228
|
use_fips: context.config.use_fips_endpoint,
|
2416
2229
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2417
|
-
endpoint: endpoint,
|
2230
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2418
2231
|
force_path_style: context.config.force_path_style,
|
2419
2232
|
accelerate: context[:use_accelerate_endpoint],
|
2420
2233
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2421
2234
|
use_object_lambda_endpoint: nil,
|
2422
2235
|
key: nil,
|
2423
2236
|
prefix: nil,
|
2237
|
+
copy_source: nil,
|
2424
2238
|
disable_access_points: nil,
|
2425
2239
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2426
2240
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2432,21 +2246,19 @@ module Aws::S3
|
|
2432
2246
|
|
2433
2247
|
class PutPublicAccessBlock
|
2434
2248
|
def self.build(context)
|
2435
|
-
unless context.config.regional_endpoint
|
2436
|
-
endpoint = context.config.endpoint.to_s
|
2437
|
-
end
|
2438
2249
|
Aws::S3::EndpointParameters.new(
|
2439
2250
|
bucket: context.params[:bucket],
|
2440
2251
|
region: context.config.region,
|
2441
2252
|
use_fips: context.config.use_fips_endpoint,
|
2442
2253
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2443
|
-
endpoint: endpoint,
|
2254
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2444
2255
|
force_path_style: context.config.force_path_style,
|
2445
2256
|
accelerate: context[:use_accelerate_endpoint],
|
2446
2257
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2447
2258
|
use_object_lambda_endpoint: nil,
|
2448
2259
|
key: nil,
|
2449
2260
|
prefix: nil,
|
2261
|
+
copy_source: nil,
|
2450
2262
|
disable_access_points: nil,
|
2451
2263
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2452
2264
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2458,21 +2270,19 @@ module Aws::S3
|
|
2458
2270
|
|
2459
2271
|
class RestoreObject
|
2460
2272
|
def self.build(context)
|
2461
|
-
unless context.config.regional_endpoint
|
2462
|
-
endpoint = context.config.endpoint.to_s
|
2463
|
-
end
|
2464
2273
|
Aws::S3::EndpointParameters.new(
|
2465
2274
|
bucket: context.params[:bucket],
|
2466
2275
|
region: context.config.region,
|
2467
2276
|
use_fips: context.config.use_fips_endpoint,
|
2468
2277
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2469
|
-
endpoint: endpoint,
|
2278
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2470
2279
|
force_path_style: context.config.force_path_style,
|
2471
2280
|
accelerate: context[:use_accelerate_endpoint],
|
2472
2281
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2473
2282
|
use_object_lambda_endpoint: nil,
|
2474
2283
|
key: nil,
|
2475
2284
|
prefix: nil,
|
2285
|
+
copy_source: nil,
|
2476
2286
|
disable_access_points: nil,
|
2477
2287
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2478
2288
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2484,21 +2294,19 @@ module Aws::S3
|
|
2484
2294
|
|
2485
2295
|
class SelectObjectContent
|
2486
2296
|
def self.build(context)
|
2487
|
-
unless context.config.regional_endpoint
|
2488
|
-
endpoint = context.config.endpoint.to_s
|
2489
|
-
end
|
2490
2297
|
Aws::S3::EndpointParameters.new(
|
2491
2298
|
bucket: context.params[:bucket],
|
2492
2299
|
region: context.config.region,
|
2493
2300
|
use_fips: context.config.use_fips_endpoint,
|
2494
2301
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2495
|
-
endpoint: endpoint,
|
2302
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2496
2303
|
force_path_style: context.config.force_path_style,
|
2497
2304
|
accelerate: context[:use_accelerate_endpoint],
|
2498
2305
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2499
2306
|
use_object_lambda_endpoint: nil,
|
2500
2307
|
key: nil,
|
2501
2308
|
prefix: nil,
|
2309
|
+
copy_source: nil,
|
2502
2310
|
disable_access_points: nil,
|
2503
2311
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2504
2312
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2510,21 +2318,19 @@ module Aws::S3
|
|
2510
2318
|
|
2511
2319
|
class UploadPart
|
2512
2320
|
def self.build(context)
|
2513
|
-
unless context.config.regional_endpoint
|
2514
|
-
endpoint = context.config.endpoint.to_s
|
2515
|
-
end
|
2516
2321
|
Aws::S3::EndpointParameters.new(
|
2517
2322
|
bucket: context.params[:bucket],
|
2518
2323
|
region: context.config.region,
|
2519
2324
|
use_fips: context.config.use_fips_endpoint,
|
2520
2325
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2521
|
-
endpoint: endpoint,
|
2326
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2522
2327
|
force_path_style: context.config.force_path_style,
|
2523
2328
|
accelerate: context[:use_accelerate_endpoint],
|
2524
2329
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2525
2330
|
use_object_lambda_endpoint: nil,
|
2526
2331
|
key: context.params[:key],
|
2527
2332
|
prefix: nil,
|
2333
|
+
copy_source: nil,
|
2528
2334
|
disable_access_points: nil,
|
2529
2335
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2530
2336
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2536,21 +2342,19 @@ module Aws::S3
|
|
2536
2342
|
|
2537
2343
|
class UploadPartCopy
|
2538
2344
|
def self.build(context)
|
2539
|
-
unless context.config.regional_endpoint
|
2540
|
-
endpoint = context.config.endpoint.to_s
|
2541
|
-
end
|
2542
2345
|
Aws::S3::EndpointParameters.new(
|
2543
2346
|
bucket: context.params[:bucket],
|
2544
2347
|
region: context.config.region,
|
2545
2348
|
use_fips: context.config.use_fips_endpoint,
|
2546
2349
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2547
|
-
endpoint: endpoint,
|
2350
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2548
2351
|
force_path_style: context.config.force_path_style,
|
2549
2352
|
accelerate: context[:use_accelerate_endpoint],
|
2550
2353
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2551
2354
|
use_object_lambda_endpoint: nil,
|
2552
2355
|
key: nil,
|
2553
2356
|
prefix: nil,
|
2357
|
+
copy_source: nil,
|
2554
2358
|
disable_access_points: nil,
|
2555
2359
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2556
2360
|
use_arn_region: context.config.s3_use_arn_region,
|
@@ -2562,21 +2366,19 @@ module Aws::S3
|
|
2562
2366
|
|
2563
2367
|
class WriteGetObjectResponse
|
2564
2368
|
def self.build(context)
|
2565
|
-
unless context.config.regional_endpoint
|
2566
|
-
endpoint = context.config.endpoint.to_s
|
2567
|
-
end
|
2568
2369
|
Aws::S3::EndpointParameters.new(
|
2569
2370
|
bucket: nil,
|
2570
2371
|
region: context.config.region,
|
2571
2372
|
use_fips: context.config.use_fips_endpoint,
|
2572
2373
|
use_dual_stack: context[:use_dualstack_endpoint],
|
2573
|
-
endpoint: endpoint,
|
2374
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
2574
2375
|
force_path_style: context.config.force_path_style,
|
2575
2376
|
accelerate: context[:use_accelerate_endpoint],
|
2576
2377
|
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2577
2378
|
use_object_lambda_endpoint: true,
|
2578
2379
|
key: nil,
|
2579
2380
|
prefix: nil,
|
2381
|
+
copy_source: nil,
|
2580
2382
|
disable_access_points: nil,
|
2581
2383
|
disable_multi_region_access_points: context.config.s3_disable_multiregion_access_points,
|
2582
2384
|
use_arn_region: context.config.s3_use_arn_region,
|