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