aws-sdk-s3 1.167.0 → 1.176.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +72 -17
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +5 -0
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +20 -0
- data/lib/aws-sdk-s3/client.rb +1577 -947
- data/lib/aws-sdk-s3/client_api.rb +131 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
- data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
- data/lib/aws-sdk-s3/endpoints.rb +445 -1403
- data/lib/aws-sdk-s3/errors.rb +44 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +33 -0
- data/lib/aws-sdk-s3/object.rb +142 -43
- data/lib/aws-sdk-s3/object_summary.rb +139 -42
- data/lib/aws-sdk-s3/object_version.rb +43 -0
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -204
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +3 -3
- data/lib/aws-sdk-s3/presigner.rb +1 -0
- data/lib/aws-sdk-s3/resource.rb +34 -9
- data/lib/aws-sdk-s3/types.rb +903 -257
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +11 -3
- data/sig/client.rbs +54 -7
- data/sig/errors.rbs +8 -0
- data/sig/multipart_upload.rbs +3 -1
- data/sig/object.rbs +6 -1
- data/sig/object_summary.rbs +6 -1
- data/sig/object_version.rbs +4 -1
- data/sig/resource.rbs +4 -2
- data/sig/types.rbs +93 -3
- 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,48 @@ 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
|
-
|
62
|
+
)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
class CreateBucketMetadataTableConfiguration
|
67
|
+
def self.build(context)
|
68
|
+
Aws::S3::EndpointParameters.create(
|
69
|
+
context.config,
|
70
|
+
bucket: context.params[:bucket],
|
71
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
72
|
+
accelerate: context[:use_accelerate_endpoint],
|
73
|
+
use_s3_express_control_endpoint: true,
|
107
74
|
)
|
108
75
|
end
|
109
76
|
end
|
110
77
|
|
111
78
|
class CreateMultipartUpload
|
112
79
|
def self.build(context)
|
113
|
-
Aws::S3::EndpointParameters.
|
80
|
+
Aws::S3::EndpointParameters.create(
|
81
|
+
context.config,
|
114
82
|
bucket: context.params[:bucket],
|
115
|
-
region: context.config.region,
|
116
|
-
use_fips: context.config.use_fips_endpoint,
|
117
83
|
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
84
|
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
85
|
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
86
|
)
|
132
87
|
end
|
133
88
|
end
|
134
89
|
|
135
90
|
class CreateSession
|
136
91
|
def self.build(context)
|
137
|
-
Aws::S3::EndpointParameters.
|
92
|
+
Aws::S3::EndpointParameters.create(
|
93
|
+
context.config,
|
138
94
|
bucket: context.params[:bucket],
|
139
|
-
region: context.config.region,
|
140
|
-
use_fips: context.config.use_fips_endpoint,
|
141
95
|
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
96
|
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
97
|
disable_s3_express_session_auth: true,
|
155
98
|
)
|
156
99
|
end
|
@@ -158,2207 +101,1108 @@ module Aws::S3
|
|
158
101
|
|
159
102
|
class DeleteBucket
|
160
103
|
def self.build(context)
|
161
|
-
Aws::S3::EndpointParameters.
|
104
|
+
Aws::S3::EndpointParameters.create(
|
105
|
+
context.config,
|
162
106
|
bucket: context.params[:bucket],
|
163
|
-
region: context.config.region,
|
164
|
-
use_fips: context.config.use_fips_endpoint,
|
165
107
|
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
108
|
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
109
|
use_s3_express_control_endpoint: true,
|
178
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
179
110
|
)
|
180
111
|
end
|
181
112
|
end
|
182
113
|
|
183
114
|
class DeleteBucketAnalyticsConfiguration
|
184
115
|
def self.build(context)
|
185
|
-
Aws::S3::EndpointParameters.
|
116
|
+
Aws::S3::EndpointParameters.create(
|
117
|
+
context.config,
|
186
118
|
bucket: context.params[:bucket],
|
187
|
-
region: context.config.region,
|
188
|
-
use_fips: context.config.use_fips_endpoint,
|
189
119
|
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
120
|
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
121
|
use_s3_express_control_endpoint: true,
|
202
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
203
122
|
)
|
204
123
|
end
|
205
124
|
end
|
206
125
|
|
207
126
|
class DeleteBucketCors
|
208
127
|
def self.build(context)
|
209
|
-
Aws::S3::EndpointParameters.
|
128
|
+
Aws::S3::EndpointParameters.create(
|
129
|
+
context.config,
|
210
130
|
bucket: context.params[:bucket],
|
211
|
-
region: context.config.region,
|
212
|
-
use_fips: context.config.use_fips_endpoint,
|
213
131
|
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
132
|
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
133
|
use_s3_express_control_endpoint: true,
|
226
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
227
134
|
)
|
228
135
|
end
|
229
136
|
end
|
230
137
|
|
231
138
|
class DeleteBucketEncryption
|
232
139
|
def self.build(context)
|
233
|
-
Aws::S3::EndpointParameters.
|
140
|
+
Aws::S3::EndpointParameters.create(
|
141
|
+
context.config,
|
234
142
|
bucket: context.params[:bucket],
|
235
|
-
region: context.config.region,
|
236
|
-
use_fips: context.config.use_fips_endpoint,
|
237
143
|
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
144
|
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
145
|
use_s3_express_control_endpoint: true,
|
250
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
251
146
|
)
|
252
147
|
end
|
253
148
|
end
|
254
149
|
|
255
150
|
class DeleteBucketIntelligentTieringConfiguration
|
256
151
|
def self.build(context)
|
257
|
-
Aws::S3::EndpointParameters.
|
152
|
+
Aws::S3::EndpointParameters.create(
|
153
|
+
context.config,
|
258
154
|
bucket: context.params[:bucket],
|
259
|
-
region: context.config.region,
|
260
|
-
use_fips: context.config.use_fips_endpoint,
|
261
155
|
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
156
|
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
157
|
use_s3_express_control_endpoint: true,
|
274
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
275
158
|
)
|
276
159
|
end
|
277
160
|
end
|
278
161
|
|
279
162
|
class DeleteBucketInventoryConfiguration
|
280
163
|
def self.build(context)
|
281
|
-
Aws::S3::EndpointParameters.
|
164
|
+
Aws::S3::EndpointParameters.create(
|
165
|
+
context.config,
|
282
166
|
bucket: context.params[:bucket],
|
283
|
-
region: context.config.region,
|
284
|
-
use_fips: context.config.use_fips_endpoint,
|
285
167
|
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
168
|
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
169
|
use_s3_express_control_endpoint: true,
|
298
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
299
170
|
)
|
300
171
|
end
|
301
172
|
end
|
302
173
|
|
303
174
|
class DeleteBucketLifecycle
|
304
175
|
def self.build(context)
|
305
|
-
Aws::S3::EndpointParameters.
|
176
|
+
Aws::S3::EndpointParameters.create(
|
177
|
+
context.config,
|
178
|
+
bucket: context.params[:bucket],
|
179
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
180
|
+
accelerate: context[:use_accelerate_endpoint],
|
181
|
+
use_s3_express_control_endpoint: true,
|
182
|
+
)
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
class DeleteBucketMetadataTableConfiguration
|
187
|
+
def self.build(context)
|
188
|
+
Aws::S3::EndpointParameters.create(
|
189
|
+
context.config,
|
306
190
|
bucket: context.params[:bucket],
|
307
|
-
region: context.config.region,
|
308
|
-
use_fips: context.config.use_fips_endpoint,
|
309
191
|
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
192
|
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
193
|
use_s3_express_control_endpoint: true,
|
322
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
323
194
|
)
|
324
195
|
end
|
325
196
|
end
|
326
197
|
|
327
198
|
class DeleteBucketMetricsConfiguration
|
328
199
|
def self.build(context)
|
329
|
-
Aws::S3::EndpointParameters.
|
200
|
+
Aws::S3::EndpointParameters.create(
|
201
|
+
context.config,
|
330
202
|
bucket: context.params[:bucket],
|
331
|
-
region: context.config.region,
|
332
|
-
use_fips: context.config.use_fips_endpoint,
|
333
203
|
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
204
|
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
205
|
use_s3_express_control_endpoint: true,
|
346
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
347
206
|
)
|
348
207
|
end
|
349
208
|
end
|
350
209
|
|
351
210
|
class DeleteBucketOwnershipControls
|
352
211
|
def self.build(context)
|
353
|
-
Aws::S3::EndpointParameters.
|
212
|
+
Aws::S3::EndpointParameters.create(
|
213
|
+
context.config,
|
354
214
|
bucket: context.params[:bucket],
|
355
|
-
region: context.config.region,
|
356
|
-
use_fips: context.config.use_fips_endpoint,
|
357
215
|
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
216
|
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
217
|
use_s3_express_control_endpoint: true,
|
370
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
371
218
|
)
|
372
219
|
end
|
373
220
|
end
|
374
221
|
|
375
222
|
class DeleteBucketPolicy
|
376
223
|
def self.build(context)
|
377
|
-
Aws::S3::EndpointParameters.
|
224
|
+
Aws::S3::EndpointParameters.create(
|
225
|
+
context.config,
|
378
226
|
bucket: context.params[:bucket],
|
379
|
-
region: context.config.region,
|
380
|
-
use_fips: context.config.use_fips_endpoint,
|
381
227
|
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
228
|
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
229
|
use_s3_express_control_endpoint: true,
|
394
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
395
230
|
)
|
396
231
|
end
|
397
232
|
end
|
398
233
|
|
399
234
|
class DeleteBucketReplication
|
400
235
|
def self.build(context)
|
401
|
-
Aws::S3::EndpointParameters.
|
236
|
+
Aws::S3::EndpointParameters.create(
|
237
|
+
context.config,
|
402
238
|
bucket: context.params[:bucket],
|
403
|
-
region: context.config.region,
|
404
|
-
use_fips: context.config.use_fips_endpoint,
|
405
239
|
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
240
|
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
241
|
use_s3_express_control_endpoint: true,
|
418
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
419
242
|
)
|
420
243
|
end
|
421
244
|
end
|
422
245
|
|
423
246
|
class DeleteBucketTagging
|
424
247
|
def self.build(context)
|
425
|
-
Aws::S3::EndpointParameters.
|
248
|
+
Aws::S3::EndpointParameters.create(
|
249
|
+
context.config,
|
426
250
|
bucket: context.params[:bucket],
|
427
|
-
region: context.config.region,
|
428
|
-
use_fips: context.config.use_fips_endpoint,
|
429
251
|
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
252
|
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
253
|
use_s3_express_control_endpoint: true,
|
442
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
443
254
|
)
|
444
255
|
end
|
445
256
|
end
|
446
257
|
|
447
258
|
class DeleteBucketWebsite
|
448
259
|
def self.build(context)
|
449
|
-
Aws::S3::EndpointParameters.
|
260
|
+
Aws::S3::EndpointParameters.create(
|
261
|
+
context.config,
|
450
262
|
bucket: context.params[:bucket],
|
451
|
-
region: context.config.region,
|
452
|
-
use_fips: context.config.use_fips_endpoint,
|
453
263
|
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
264
|
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
265
|
use_s3_express_control_endpoint: true,
|
466
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
467
266
|
)
|
468
267
|
end
|
469
268
|
end
|
470
269
|
|
471
270
|
class DeleteObject
|
472
271
|
def self.build(context)
|
473
|
-
Aws::S3::EndpointParameters.
|
272
|
+
Aws::S3::EndpointParameters.create(
|
273
|
+
context.config,
|
474
274
|
bucket: context.params[:bucket],
|
475
|
-
region: context.config.region,
|
476
|
-
use_fips: context.config.use_fips_endpoint,
|
477
275
|
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
276
|
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
277
|
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
278
|
)
|
492
279
|
end
|
493
280
|
end
|
494
281
|
|
495
282
|
class DeleteObjectTagging
|
496
283
|
def self.build(context)
|
497
|
-
Aws::S3::EndpointParameters.
|
284
|
+
Aws::S3::EndpointParameters.create(
|
285
|
+
context.config,
|
498
286
|
bucket: context.params[:bucket],
|
499
|
-
region: context.config.region,
|
500
|
-
use_fips: context.config.use_fips_endpoint,
|
501
287
|
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
288
|
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
289
|
)
|
516
290
|
end
|
517
291
|
end
|
518
292
|
|
519
293
|
class DeleteObjects
|
520
294
|
def self.build(context)
|
521
|
-
Aws::S3::EndpointParameters.
|
295
|
+
Aws::S3::EndpointParameters.create(
|
296
|
+
context.config,
|
522
297
|
bucket: context.params[:bucket],
|
523
|
-
region: context.config.region,
|
524
|
-
use_fips: context.config.use_fips_endpoint,
|
525
298
|
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
299
|
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
300
|
)
|
540
301
|
end
|
541
302
|
end
|
542
303
|
|
543
304
|
class DeletePublicAccessBlock
|
544
305
|
def self.build(context)
|
545
|
-
Aws::S3::EndpointParameters.
|
306
|
+
Aws::S3::EndpointParameters.create(
|
307
|
+
context.config,
|
546
308
|
bucket: context.params[:bucket],
|
547
|
-
region: context.config.region,
|
548
|
-
use_fips: context.config.use_fips_endpoint,
|
549
309
|
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
310
|
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
311
|
use_s3_express_control_endpoint: true,
|
562
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
563
312
|
)
|
564
313
|
end
|
565
314
|
end
|
566
315
|
|
567
316
|
class GetBucketAccelerateConfiguration
|
568
317
|
def self.build(context)
|
569
|
-
Aws::S3::EndpointParameters.
|
318
|
+
Aws::S3::EndpointParameters.create(
|
319
|
+
context.config,
|
570
320
|
bucket: context.params[:bucket],
|
571
|
-
region: context.config.region,
|
572
|
-
use_fips: context.config.use_fips_endpoint,
|
573
321
|
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
322
|
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
323
|
use_s3_express_control_endpoint: true,
|
586
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
587
324
|
)
|
588
325
|
end
|
589
326
|
end
|
590
327
|
|
591
328
|
class GetBucketAcl
|
592
329
|
def self.build(context)
|
593
|
-
Aws::S3::EndpointParameters.
|
330
|
+
Aws::S3::EndpointParameters.create(
|
331
|
+
context.config,
|
594
332
|
bucket: context.params[:bucket],
|
595
|
-
region: context.config.region,
|
596
|
-
use_fips: context.config.use_fips_endpoint,
|
597
333
|
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
334
|
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
335
|
use_s3_express_control_endpoint: true,
|
610
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
611
336
|
)
|
612
337
|
end
|
613
338
|
end
|
614
339
|
|
615
340
|
class GetBucketAnalyticsConfiguration
|
616
341
|
def self.build(context)
|
617
|
-
Aws::S3::EndpointParameters.
|
342
|
+
Aws::S3::EndpointParameters.create(
|
343
|
+
context.config,
|
618
344
|
bucket: context.params[:bucket],
|
619
|
-
region: context.config.region,
|
620
|
-
use_fips: context.config.use_fips_endpoint,
|
621
345
|
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
346
|
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
347
|
use_s3_express_control_endpoint: true,
|
634
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
635
348
|
)
|
636
349
|
end
|
637
350
|
end
|
638
351
|
|
639
352
|
class GetBucketCors
|
640
353
|
def self.build(context)
|
641
|
-
Aws::S3::EndpointParameters.
|
354
|
+
Aws::S3::EndpointParameters.create(
|
355
|
+
context.config,
|
642
356
|
bucket: context.params[:bucket],
|
643
|
-
region: context.config.region,
|
644
|
-
use_fips: context.config.use_fips_endpoint,
|
645
357
|
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
358
|
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
359
|
use_s3_express_control_endpoint: true,
|
658
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
659
360
|
)
|
660
361
|
end
|
661
362
|
end
|
662
363
|
|
663
364
|
class GetBucketEncryption
|
664
365
|
def self.build(context)
|
665
|
-
Aws::S3::EndpointParameters.
|
366
|
+
Aws::S3::EndpointParameters.create(
|
367
|
+
context.config,
|
666
368
|
bucket: context.params[:bucket],
|
667
|
-
region: context.config.region,
|
668
|
-
use_fips: context.config.use_fips_endpoint,
|
669
369
|
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
370
|
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
371
|
use_s3_express_control_endpoint: true,
|
682
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
683
372
|
)
|
684
373
|
end
|
685
374
|
end
|
686
375
|
|
687
376
|
class GetBucketIntelligentTieringConfiguration
|
688
377
|
def self.build(context)
|
689
|
-
Aws::S3::EndpointParameters.
|
378
|
+
Aws::S3::EndpointParameters.create(
|
379
|
+
context.config,
|
690
380
|
bucket: context.params[:bucket],
|
691
|
-
region: context.config.region,
|
692
|
-
use_fips: context.config.use_fips_endpoint,
|
693
381
|
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
382
|
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
383
|
use_s3_express_control_endpoint: true,
|
706
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
707
384
|
)
|
708
385
|
end
|
709
386
|
end
|
710
387
|
|
711
388
|
class GetBucketInventoryConfiguration
|
712
389
|
def self.build(context)
|
713
|
-
Aws::S3::EndpointParameters.
|
390
|
+
Aws::S3::EndpointParameters.create(
|
391
|
+
context.config,
|
714
392
|
bucket: context.params[:bucket],
|
715
|
-
region: context.config.region,
|
716
|
-
use_fips: context.config.use_fips_endpoint,
|
717
393
|
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
394
|
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
395
|
use_s3_express_control_endpoint: true,
|
730
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
731
396
|
)
|
732
397
|
end
|
733
398
|
end
|
734
399
|
|
735
400
|
class GetBucketLifecycle
|
736
401
|
def self.build(context)
|
737
|
-
Aws::S3::EndpointParameters.
|
402
|
+
Aws::S3::EndpointParameters.create(
|
403
|
+
context.config,
|
738
404
|
bucket: context.params[:bucket],
|
739
|
-
region: context.config.region,
|
740
|
-
use_fips: context.config.use_fips_endpoint,
|
741
405
|
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
406
|
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
407
|
use_s3_express_control_endpoint: true,
|
754
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
755
408
|
)
|
756
409
|
end
|
757
410
|
end
|
758
411
|
|
759
412
|
class GetBucketLifecycleConfiguration
|
760
413
|
def self.build(context)
|
761
|
-
Aws::S3::EndpointParameters.
|
414
|
+
Aws::S3::EndpointParameters.create(
|
415
|
+
context.config,
|
762
416
|
bucket: context.params[:bucket],
|
763
|
-
region: context.config.region,
|
764
|
-
use_fips: context.config.use_fips_endpoint,
|
765
417
|
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
418
|
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
419
|
use_s3_express_control_endpoint: true,
|
778
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
779
420
|
)
|
780
421
|
end
|
781
422
|
end
|
782
423
|
|
783
424
|
class GetBucketLocation
|
784
425
|
def self.build(context)
|
785
|
-
Aws::S3::EndpointParameters.
|
426
|
+
Aws::S3::EndpointParameters.create(
|
427
|
+
context.config,
|
786
428
|
bucket: context.params[:bucket],
|
787
|
-
region: context.config.region,
|
788
|
-
use_fips: context.config.use_fips_endpoint,
|
789
429
|
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
430
|
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
431
|
use_s3_express_control_endpoint: true,
|
802
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
803
432
|
)
|
804
433
|
end
|
805
434
|
end
|
806
435
|
|
807
436
|
class GetBucketLogging
|
808
437
|
def self.build(context)
|
809
|
-
Aws::S3::EndpointParameters.
|
438
|
+
Aws::S3::EndpointParameters.create(
|
439
|
+
context.config,
|
440
|
+
bucket: context.params[:bucket],
|
441
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
442
|
+
accelerate: context[:use_accelerate_endpoint],
|
443
|
+
use_s3_express_control_endpoint: true,
|
444
|
+
)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
class GetBucketMetadataTableConfiguration
|
449
|
+
def self.build(context)
|
450
|
+
Aws::S3::EndpointParameters.create(
|
451
|
+
context.config,
|
810
452
|
bucket: context.params[:bucket],
|
811
|
-
region: context.config.region,
|
812
|
-
use_fips: context.config.use_fips_endpoint,
|
813
453
|
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
454
|
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
455
|
use_s3_express_control_endpoint: true,
|
826
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
827
456
|
)
|
828
457
|
end
|
829
458
|
end
|
830
459
|
|
831
460
|
class GetBucketMetricsConfiguration
|
832
461
|
def self.build(context)
|
833
|
-
Aws::S3::EndpointParameters.
|
462
|
+
Aws::S3::EndpointParameters.create(
|
463
|
+
context.config,
|
834
464
|
bucket: context.params[:bucket],
|
835
|
-
region: context.config.region,
|
836
|
-
use_fips: context.config.use_fips_endpoint,
|
837
465
|
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
466
|
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
467
|
use_s3_express_control_endpoint: true,
|
850
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
851
468
|
)
|
852
469
|
end
|
853
470
|
end
|
854
471
|
|
855
472
|
class GetBucketNotification
|
856
473
|
def self.build(context)
|
857
|
-
Aws::S3::EndpointParameters.
|
474
|
+
Aws::S3::EndpointParameters.create(
|
475
|
+
context.config,
|
858
476
|
bucket: context.params[:bucket],
|
859
|
-
region: context.config.region,
|
860
|
-
use_fips: context.config.use_fips_endpoint,
|
861
477
|
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
478
|
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
479
|
use_s3_express_control_endpoint: true,
|
874
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
875
480
|
)
|
876
481
|
end
|
877
482
|
end
|
878
483
|
|
879
484
|
class GetBucketNotificationConfiguration
|
880
485
|
def self.build(context)
|
881
|
-
Aws::S3::EndpointParameters.
|
486
|
+
Aws::S3::EndpointParameters.create(
|
487
|
+
context.config,
|
882
488
|
bucket: context.params[:bucket],
|
883
|
-
region: context.config.region,
|
884
|
-
use_fips: context.config.use_fips_endpoint,
|
885
489
|
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
490
|
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
491
|
use_s3_express_control_endpoint: true,
|
898
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
899
492
|
)
|
900
493
|
end
|
901
494
|
end
|
902
495
|
|
903
496
|
class GetBucketOwnershipControls
|
904
497
|
def self.build(context)
|
905
|
-
Aws::S3::EndpointParameters.
|
498
|
+
Aws::S3::EndpointParameters.create(
|
499
|
+
context.config,
|
906
500
|
bucket: context.params[:bucket],
|
907
|
-
region: context.config.region,
|
908
|
-
use_fips: context.config.use_fips_endpoint,
|
909
501
|
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
502
|
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
503
|
use_s3_express_control_endpoint: true,
|
922
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
923
504
|
)
|
924
505
|
end
|
925
506
|
end
|
926
507
|
|
927
508
|
class GetBucketPolicy
|
928
509
|
def self.build(context)
|
929
|
-
Aws::S3::EndpointParameters.
|
510
|
+
Aws::S3::EndpointParameters.create(
|
511
|
+
context.config,
|
930
512
|
bucket: context.params[:bucket],
|
931
|
-
region: context.config.region,
|
932
|
-
use_fips: context.config.use_fips_endpoint,
|
933
513
|
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
514
|
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
515
|
use_s3_express_control_endpoint: true,
|
946
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
947
516
|
)
|
948
517
|
end
|
949
518
|
end
|
950
519
|
|
951
520
|
class GetBucketPolicyStatus
|
952
521
|
def self.build(context)
|
953
|
-
Aws::S3::EndpointParameters.
|
522
|
+
Aws::S3::EndpointParameters.create(
|
523
|
+
context.config,
|
954
524
|
bucket: context.params[:bucket],
|
955
|
-
region: context.config.region,
|
956
|
-
use_fips: context.config.use_fips_endpoint,
|
957
525
|
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
526
|
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
527
|
use_s3_express_control_endpoint: true,
|
970
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
971
528
|
)
|
972
529
|
end
|
973
530
|
end
|
974
531
|
|
975
532
|
class GetBucketReplication
|
976
533
|
def self.build(context)
|
977
|
-
Aws::S3::EndpointParameters.
|
534
|
+
Aws::S3::EndpointParameters.create(
|
535
|
+
context.config,
|
978
536
|
bucket: context.params[:bucket],
|
979
|
-
region: context.config.region,
|
980
|
-
use_fips: context.config.use_fips_endpoint,
|
981
537
|
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
538
|
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
539
|
use_s3_express_control_endpoint: true,
|
994
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
995
540
|
)
|
996
541
|
end
|
997
542
|
end
|
998
543
|
|
999
544
|
class GetBucketRequestPayment
|
1000
545
|
def self.build(context)
|
1001
|
-
Aws::S3::EndpointParameters.
|
546
|
+
Aws::S3::EndpointParameters.create(
|
547
|
+
context.config,
|
1002
548
|
bucket: context.params[:bucket],
|
1003
|
-
region: context.config.region,
|
1004
|
-
use_fips: context.config.use_fips_endpoint,
|
1005
549
|
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
550
|
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
551
|
use_s3_express_control_endpoint: true,
|
1018
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1019
552
|
)
|
1020
553
|
end
|
1021
554
|
end
|
1022
555
|
|
1023
556
|
class GetBucketTagging
|
1024
557
|
def self.build(context)
|
1025
|
-
Aws::S3::EndpointParameters.
|
558
|
+
Aws::S3::EndpointParameters.create(
|
559
|
+
context.config,
|
1026
560
|
bucket: context.params[:bucket],
|
1027
|
-
region: context.config.region,
|
1028
|
-
use_fips: context.config.use_fips_endpoint,
|
1029
561
|
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
562
|
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
563
|
use_s3_express_control_endpoint: true,
|
1042
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1043
564
|
)
|
1044
565
|
end
|
1045
566
|
end
|
1046
567
|
|
1047
568
|
class GetBucketVersioning
|
1048
569
|
def self.build(context)
|
1049
|
-
Aws::S3::EndpointParameters.
|
570
|
+
Aws::S3::EndpointParameters.create(
|
571
|
+
context.config,
|
1050
572
|
bucket: context.params[:bucket],
|
1051
|
-
region: context.config.region,
|
1052
|
-
use_fips: context.config.use_fips_endpoint,
|
1053
573
|
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
574
|
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
575
|
use_s3_express_control_endpoint: true,
|
1066
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1067
576
|
)
|
1068
577
|
end
|
1069
578
|
end
|
1070
579
|
|
1071
580
|
class GetBucketWebsite
|
1072
581
|
def self.build(context)
|
1073
|
-
Aws::S3::EndpointParameters.
|
582
|
+
Aws::S3::EndpointParameters.create(
|
583
|
+
context.config,
|
1074
584
|
bucket: context.params[:bucket],
|
1075
|
-
region: context.config.region,
|
1076
|
-
use_fips: context.config.use_fips_endpoint,
|
1077
585
|
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
586
|
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
587
|
use_s3_express_control_endpoint: true,
|
1090
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1091
588
|
)
|
1092
589
|
end
|
1093
590
|
end
|
1094
591
|
|
1095
592
|
class GetObject
|
1096
593
|
def self.build(context)
|
1097
|
-
Aws::S3::EndpointParameters.
|
594
|
+
Aws::S3::EndpointParameters.create(
|
595
|
+
context.config,
|
1098
596
|
bucket: context.params[:bucket],
|
1099
|
-
region: context.config.region,
|
1100
|
-
use_fips: context.config.use_fips_endpoint,
|
1101
597
|
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
598
|
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
599
|
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
600
|
)
|
1116
601
|
end
|
1117
602
|
end
|
1118
603
|
|
1119
604
|
class GetObjectAcl
|
1120
605
|
def self.build(context)
|
1121
|
-
Aws::S3::EndpointParameters.
|
606
|
+
Aws::S3::EndpointParameters.create(
|
607
|
+
context.config,
|
1122
608
|
bucket: context.params[:bucket],
|
1123
|
-
region: context.config.region,
|
1124
|
-
use_fips: context.config.use_fips_endpoint,
|
1125
609
|
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
610
|
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
611
|
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
612
|
)
|
1140
613
|
end
|
1141
614
|
end
|
1142
615
|
|
1143
616
|
class GetObjectAttributes
|
1144
617
|
def self.build(context)
|
1145
|
-
Aws::S3::EndpointParameters.
|
618
|
+
Aws::S3::EndpointParameters.create(
|
619
|
+
context.config,
|
1146
620
|
bucket: context.params[:bucket],
|
1147
|
-
region: context.config.region,
|
1148
|
-
use_fips: context.config.use_fips_endpoint,
|
1149
621
|
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
622
|
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
623
|
)
|
1164
624
|
end
|
1165
625
|
end
|
1166
626
|
|
1167
627
|
class GetObjectLegalHold
|
1168
628
|
def self.build(context)
|
1169
|
-
Aws::S3::EndpointParameters.
|
629
|
+
Aws::S3::EndpointParameters.create(
|
630
|
+
context.config,
|
1170
631
|
bucket: context.params[:bucket],
|
1171
|
-
region: context.config.region,
|
1172
|
-
use_fips: context.config.use_fips_endpoint,
|
1173
632
|
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
633
|
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
634
|
)
|
1188
635
|
end
|
1189
636
|
end
|
1190
637
|
|
1191
638
|
class GetObjectLockConfiguration
|
1192
639
|
def self.build(context)
|
1193
|
-
Aws::S3::EndpointParameters.
|
640
|
+
Aws::S3::EndpointParameters.create(
|
641
|
+
context.config,
|
1194
642
|
bucket: context.params[:bucket],
|
1195
|
-
region: context.config.region,
|
1196
|
-
use_fips: context.config.use_fips_endpoint,
|
1197
643
|
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
644
|
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
645
|
)
|
1212
646
|
end
|
1213
647
|
end
|
1214
648
|
|
1215
649
|
class GetObjectRetention
|
1216
650
|
def self.build(context)
|
1217
|
-
Aws::S3::EndpointParameters.
|
651
|
+
Aws::S3::EndpointParameters.create(
|
652
|
+
context.config,
|
1218
653
|
bucket: context.params[:bucket],
|
1219
|
-
region: context.config.region,
|
1220
|
-
use_fips: context.config.use_fips_endpoint,
|
1221
654
|
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
655
|
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
656
|
)
|
1236
657
|
end
|
1237
658
|
end
|
1238
659
|
|
1239
660
|
class GetObjectTagging
|
1240
661
|
def self.build(context)
|
1241
|
-
Aws::S3::EndpointParameters.
|
662
|
+
Aws::S3::EndpointParameters.create(
|
663
|
+
context.config,
|
1242
664
|
bucket: context.params[:bucket],
|
1243
|
-
region: context.config.region,
|
1244
|
-
use_fips: context.config.use_fips_endpoint,
|
1245
665
|
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
666
|
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
667
|
)
|
1260
668
|
end
|
1261
669
|
end
|
1262
670
|
|
1263
671
|
class GetObjectTorrent
|
1264
672
|
def self.build(context)
|
1265
|
-
Aws::S3::EndpointParameters.
|
673
|
+
Aws::S3::EndpointParameters.create(
|
674
|
+
context.config,
|
1266
675
|
bucket: context.params[:bucket],
|
1267
|
-
region: context.config.region,
|
1268
|
-
use_fips: context.config.use_fips_endpoint,
|
1269
676
|
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
677
|
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
678
|
)
|
1284
679
|
end
|
1285
680
|
end
|
1286
681
|
|
1287
682
|
class GetPublicAccessBlock
|
1288
683
|
def self.build(context)
|
1289
|
-
Aws::S3::EndpointParameters.
|
684
|
+
Aws::S3::EndpointParameters.create(
|
685
|
+
context.config,
|
1290
686
|
bucket: context.params[:bucket],
|
1291
|
-
region: context.config.region,
|
1292
|
-
use_fips: context.config.use_fips_endpoint,
|
1293
687
|
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
688
|
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
689
|
use_s3_express_control_endpoint: true,
|
1306
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1307
690
|
)
|
1308
691
|
end
|
1309
692
|
end
|
1310
693
|
|
1311
694
|
class HeadBucket
|
1312
695
|
def self.build(context)
|
1313
|
-
Aws::S3::EndpointParameters.
|
696
|
+
Aws::S3::EndpointParameters.create(
|
697
|
+
context.config,
|
1314
698
|
bucket: context.params[:bucket],
|
1315
|
-
region: context.config.region,
|
1316
|
-
use_fips: context.config.use_fips_endpoint,
|
1317
699
|
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
700
|
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
701
|
)
|
1332
702
|
end
|
1333
703
|
end
|
1334
704
|
|
1335
705
|
class HeadObject
|
1336
706
|
def self.build(context)
|
1337
|
-
Aws::S3::EndpointParameters.
|
707
|
+
Aws::S3::EndpointParameters.create(
|
708
|
+
context.config,
|
1338
709
|
bucket: context.params[:bucket],
|
1339
|
-
region: context.config.region,
|
1340
|
-
use_fips: context.config.use_fips_endpoint,
|
1341
710
|
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
711
|
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
712
|
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
713
|
)
|
1356
714
|
end
|
1357
715
|
end
|
1358
716
|
|
1359
717
|
class ListBucketAnalyticsConfigurations
|
1360
718
|
def self.build(context)
|
1361
|
-
Aws::S3::EndpointParameters.
|
719
|
+
Aws::S3::EndpointParameters.create(
|
720
|
+
context.config,
|
1362
721
|
bucket: context.params[:bucket],
|
1363
|
-
region: context.config.region,
|
1364
|
-
use_fips: context.config.use_fips_endpoint,
|
1365
722
|
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
723
|
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
724
|
use_s3_express_control_endpoint: true,
|
1378
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1379
725
|
)
|
1380
726
|
end
|
1381
727
|
end
|
1382
728
|
|
1383
729
|
class ListBucketIntelligentTieringConfigurations
|
1384
730
|
def self.build(context)
|
1385
|
-
Aws::S3::EndpointParameters.
|
731
|
+
Aws::S3::EndpointParameters.create(
|
732
|
+
context.config,
|
1386
733
|
bucket: context.params[:bucket],
|
1387
|
-
region: context.config.region,
|
1388
|
-
use_fips: context.config.use_fips_endpoint,
|
1389
734
|
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
735
|
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
736
|
use_s3_express_control_endpoint: true,
|
1402
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1403
737
|
)
|
1404
738
|
end
|
1405
739
|
end
|
1406
740
|
|
1407
741
|
class ListBucketInventoryConfigurations
|
1408
742
|
def self.build(context)
|
1409
|
-
Aws::S3::EndpointParameters.
|
743
|
+
Aws::S3::EndpointParameters.create(
|
744
|
+
context.config,
|
1410
745
|
bucket: context.params[:bucket],
|
1411
|
-
region: context.config.region,
|
1412
|
-
use_fips: context.config.use_fips_endpoint,
|
1413
746
|
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
747
|
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
748
|
use_s3_express_control_endpoint: true,
|
1426
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1427
749
|
)
|
1428
750
|
end
|
1429
751
|
end
|
1430
752
|
|
1431
753
|
class ListBucketMetricsConfigurations
|
1432
754
|
def self.build(context)
|
1433
|
-
Aws::S3::EndpointParameters.
|
755
|
+
Aws::S3::EndpointParameters.create(
|
756
|
+
context.config,
|
1434
757
|
bucket: context.params[:bucket],
|
1435
|
-
region: context.config.region,
|
1436
|
-
use_fips: context.config.use_fips_endpoint,
|
1437
758
|
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
759
|
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
760
|
)
|
1452
761
|
end
|
1453
762
|
end
|
1454
763
|
|
1455
764
|
class ListBuckets
|
1456
765
|
def self.build(context)
|
1457
|
-
Aws::S3::EndpointParameters.
|
1458
|
-
|
1459
|
-
region: context.config.region,
|
1460
|
-
use_fips: context.config.use_fips_endpoint,
|
766
|
+
Aws::S3::EndpointParameters.create(
|
767
|
+
context.config,
|
1461
768
|
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
769
|
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
770
|
)
|
1476
771
|
end
|
1477
772
|
end
|
1478
773
|
|
1479
774
|
class ListDirectoryBuckets
|
1480
775
|
def self.build(context)
|
1481
|
-
Aws::S3::EndpointParameters.
|
1482
|
-
|
1483
|
-
region: context.config.region,
|
1484
|
-
use_fips: context.config.use_fips_endpoint,
|
776
|
+
Aws::S3::EndpointParameters.create(
|
777
|
+
context.config,
|
1485
778
|
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
779
|
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,
|
1497
780
|
use_s3_express_control_endpoint: true,
|
1498
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1499
781
|
)
|
1500
782
|
end
|
1501
783
|
end
|
1502
784
|
|
1503
785
|
class ListMultipartUploads
|
1504
786
|
def self.build(context)
|
1505
|
-
Aws::S3::EndpointParameters.
|
787
|
+
Aws::S3::EndpointParameters.create(
|
788
|
+
context.config,
|
1506
789
|
bucket: context.params[:bucket],
|
1507
|
-
region: context.config.region,
|
1508
|
-
use_fips: context.config.use_fips_endpoint,
|
1509
790
|
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
791
|
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
792
|
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
793
|
)
|
1524
794
|
end
|
1525
795
|
end
|
1526
796
|
|
1527
797
|
class ListObjectVersions
|
1528
798
|
def self.build(context)
|
1529
|
-
Aws::S3::EndpointParameters.
|
799
|
+
Aws::S3::EndpointParameters.create(
|
800
|
+
context.config,
|
1530
801
|
bucket: context.params[:bucket],
|
1531
|
-
region: context.config.region,
|
1532
|
-
use_fips: context.config.use_fips_endpoint,
|
1533
802
|
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
803
|
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
804
|
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
805
|
)
|
1548
806
|
end
|
1549
807
|
end
|
1550
808
|
|
1551
809
|
class ListObjects
|
1552
810
|
def self.build(context)
|
1553
|
-
Aws::S3::EndpointParameters.
|
811
|
+
Aws::S3::EndpointParameters.create(
|
812
|
+
context.config,
|
1554
813
|
bucket: context.params[:bucket],
|
1555
|
-
region: context.config.region,
|
1556
|
-
use_fips: context.config.use_fips_endpoint,
|
1557
814
|
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
815
|
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
816
|
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
817
|
)
|
1572
818
|
end
|
1573
819
|
end
|
1574
820
|
|
1575
821
|
class ListObjectsV2
|
1576
822
|
def self.build(context)
|
1577
|
-
Aws::S3::EndpointParameters.
|
823
|
+
Aws::S3::EndpointParameters.create(
|
824
|
+
context.config,
|
1578
825
|
bucket: context.params[:bucket],
|
1579
|
-
region: context.config.region,
|
1580
|
-
use_fips: context.config.use_fips_endpoint,
|
1581
826
|
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
827
|
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
828
|
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
829
|
)
|
1596
830
|
end
|
1597
831
|
end
|
1598
832
|
|
1599
833
|
class ListParts
|
1600
834
|
def self.build(context)
|
1601
|
-
Aws::S3::EndpointParameters.
|
835
|
+
Aws::S3::EndpointParameters.create(
|
836
|
+
context.config,
|
1602
837
|
bucket: context.params[:bucket],
|
1603
|
-
region: context.config.region,
|
1604
|
-
use_fips: context.config.use_fips_endpoint,
|
1605
838
|
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
839
|
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
840
|
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
841
|
)
|
1620
842
|
end
|
1621
843
|
end
|
1622
844
|
|
1623
845
|
class PutBucketAccelerateConfiguration
|
1624
846
|
def self.build(context)
|
1625
|
-
Aws::S3::EndpointParameters.
|
847
|
+
Aws::S3::EndpointParameters.create(
|
848
|
+
context.config,
|
1626
849
|
bucket: context.params[:bucket],
|
1627
|
-
region: context.config.region,
|
1628
|
-
use_fips: context.config.use_fips_endpoint,
|
1629
850
|
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
851
|
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
852
|
use_s3_express_control_endpoint: true,
|
1642
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1643
853
|
)
|
1644
854
|
end
|
1645
855
|
end
|
1646
856
|
|
1647
857
|
class PutBucketAcl
|
1648
858
|
def self.build(context)
|
1649
|
-
Aws::S3::EndpointParameters.
|
859
|
+
Aws::S3::EndpointParameters.create(
|
860
|
+
context.config,
|
1650
861
|
bucket: context.params[:bucket],
|
1651
|
-
region: context.config.region,
|
1652
|
-
use_fips: context.config.use_fips_endpoint,
|
1653
862
|
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
863
|
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
864
|
use_s3_express_control_endpoint: true,
|
1666
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1667
865
|
)
|
1668
866
|
end
|
1669
867
|
end
|
1670
868
|
|
1671
869
|
class PutBucketAnalyticsConfiguration
|
1672
870
|
def self.build(context)
|
1673
|
-
Aws::S3::EndpointParameters.
|
871
|
+
Aws::S3::EndpointParameters.create(
|
872
|
+
context.config,
|
1674
873
|
bucket: context.params[:bucket],
|
1675
|
-
region: context.config.region,
|
1676
|
-
use_fips: context.config.use_fips_endpoint,
|
1677
874
|
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
875
|
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
876
|
use_s3_express_control_endpoint: true,
|
1690
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1691
877
|
)
|
1692
878
|
end
|
1693
879
|
end
|
1694
880
|
|
1695
881
|
class PutBucketCors
|
1696
882
|
def self.build(context)
|
1697
|
-
Aws::S3::EndpointParameters.
|
883
|
+
Aws::S3::EndpointParameters.create(
|
884
|
+
context.config,
|
1698
885
|
bucket: context.params[:bucket],
|
1699
|
-
region: context.config.region,
|
1700
|
-
use_fips: context.config.use_fips_endpoint,
|
1701
886
|
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
887
|
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
888
|
use_s3_express_control_endpoint: true,
|
1714
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1715
889
|
)
|
1716
890
|
end
|
1717
891
|
end
|
1718
892
|
|
1719
893
|
class PutBucketEncryption
|
1720
894
|
def self.build(context)
|
1721
|
-
Aws::S3::EndpointParameters.
|
895
|
+
Aws::S3::EndpointParameters.create(
|
896
|
+
context.config,
|
1722
897
|
bucket: context.params[:bucket],
|
1723
|
-
region: context.config.region,
|
1724
|
-
use_fips: context.config.use_fips_endpoint,
|
1725
898
|
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
899
|
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
900
|
use_s3_express_control_endpoint: true,
|
1738
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1739
901
|
)
|
1740
902
|
end
|
1741
903
|
end
|
1742
904
|
|
1743
905
|
class PutBucketIntelligentTieringConfiguration
|
1744
906
|
def self.build(context)
|
1745
|
-
Aws::S3::EndpointParameters.
|
907
|
+
Aws::S3::EndpointParameters.create(
|
908
|
+
context.config,
|
1746
909
|
bucket: context.params[:bucket],
|
1747
|
-
region: context.config.region,
|
1748
|
-
use_fips: context.config.use_fips_endpoint,
|
1749
910
|
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
911
|
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
912
|
use_s3_express_control_endpoint: true,
|
1762
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1763
913
|
)
|
1764
914
|
end
|
1765
915
|
end
|
1766
916
|
|
1767
917
|
class PutBucketInventoryConfiguration
|
1768
918
|
def self.build(context)
|
1769
|
-
Aws::S3::EndpointParameters.
|
919
|
+
Aws::S3::EndpointParameters.create(
|
920
|
+
context.config,
|
1770
921
|
bucket: context.params[:bucket],
|
1771
|
-
region: context.config.region,
|
1772
|
-
use_fips: context.config.use_fips_endpoint,
|
1773
922
|
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
923
|
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
924
|
use_s3_express_control_endpoint: true,
|
1786
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1787
925
|
)
|
1788
926
|
end
|
1789
927
|
end
|
1790
928
|
|
1791
929
|
class PutBucketLifecycle
|
1792
930
|
def self.build(context)
|
1793
|
-
Aws::S3::EndpointParameters.
|
931
|
+
Aws::S3::EndpointParameters.create(
|
932
|
+
context.config,
|
1794
933
|
bucket: context.params[:bucket],
|
1795
|
-
region: context.config.region,
|
1796
|
-
use_fips: context.config.use_fips_endpoint,
|
1797
934
|
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
935
|
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
936
|
use_s3_express_control_endpoint: true,
|
1810
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1811
937
|
)
|
1812
938
|
end
|
1813
939
|
end
|
1814
940
|
|
1815
941
|
class PutBucketLifecycleConfiguration
|
1816
942
|
def self.build(context)
|
1817
|
-
Aws::S3::EndpointParameters.
|
943
|
+
Aws::S3::EndpointParameters.create(
|
944
|
+
context.config,
|
1818
945
|
bucket: context.params[:bucket],
|
1819
|
-
region: context.config.region,
|
1820
|
-
use_fips: context.config.use_fips_endpoint,
|
1821
946
|
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
947
|
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
948
|
use_s3_express_control_endpoint: true,
|
1834
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1835
949
|
)
|
1836
950
|
end
|
1837
951
|
end
|
1838
952
|
|
1839
953
|
class PutBucketLogging
|
1840
954
|
def self.build(context)
|
1841
|
-
Aws::S3::EndpointParameters.
|
955
|
+
Aws::S3::EndpointParameters.create(
|
956
|
+
context.config,
|
1842
957
|
bucket: context.params[:bucket],
|
1843
|
-
region: context.config.region,
|
1844
|
-
use_fips: context.config.use_fips_endpoint,
|
1845
958
|
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
959
|
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
960
|
use_s3_express_control_endpoint: true,
|
1858
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1859
961
|
)
|
1860
962
|
end
|
1861
963
|
end
|
1862
964
|
|
1863
965
|
class PutBucketMetricsConfiguration
|
1864
966
|
def self.build(context)
|
1865
|
-
Aws::S3::EndpointParameters.
|
967
|
+
Aws::S3::EndpointParameters.create(
|
968
|
+
context.config,
|
1866
969
|
bucket: context.params[:bucket],
|
1867
|
-
region: context.config.region,
|
1868
|
-
use_fips: context.config.use_fips_endpoint,
|
1869
970
|
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
971
|
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
972
|
use_s3_express_control_endpoint: true,
|
1882
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1883
973
|
)
|
1884
974
|
end
|
1885
975
|
end
|
1886
976
|
|
1887
977
|
class PutBucketNotification
|
1888
978
|
def self.build(context)
|
1889
|
-
Aws::S3::EndpointParameters.
|
979
|
+
Aws::S3::EndpointParameters.create(
|
980
|
+
context.config,
|
1890
981
|
bucket: context.params[:bucket],
|
1891
|
-
region: context.config.region,
|
1892
|
-
use_fips: context.config.use_fips_endpoint,
|
1893
982
|
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
983
|
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
984
|
use_s3_express_control_endpoint: true,
|
1906
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1907
985
|
)
|
1908
986
|
end
|
1909
987
|
end
|
1910
988
|
|
1911
989
|
class PutBucketNotificationConfiguration
|
1912
990
|
def self.build(context)
|
1913
|
-
Aws::S3::EndpointParameters.
|
991
|
+
Aws::S3::EndpointParameters.create(
|
992
|
+
context.config,
|
1914
993
|
bucket: context.params[:bucket],
|
1915
|
-
region: context.config.region,
|
1916
|
-
use_fips: context.config.use_fips_endpoint,
|
1917
994
|
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
995
|
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
996
|
use_s3_express_control_endpoint: true,
|
1930
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1931
997
|
)
|
1932
998
|
end
|
1933
999
|
end
|
1934
1000
|
|
1935
1001
|
class PutBucketOwnershipControls
|
1936
1002
|
def self.build(context)
|
1937
|
-
Aws::S3::EndpointParameters.
|
1003
|
+
Aws::S3::EndpointParameters.create(
|
1004
|
+
context.config,
|
1938
1005
|
bucket: context.params[:bucket],
|
1939
|
-
region: context.config.region,
|
1940
|
-
use_fips: context.config.use_fips_endpoint,
|
1941
1006
|
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
1007
|
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
1008
|
use_s3_express_control_endpoint: true,
|
1954
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1955
1009
|
)
|
1956
1010
|
end
|
1957
1011
|
end
|
1958
1012
|
|
1959
1013
|
class PutBucketPolicy
|
1960
1014
|
def self.build(context)
|
1961
|
-
Aws::S3::EndpointParameters.
|
1015
|
+
Aws::S3::EndpointParameters.create(
|
1016
|
+
context.config,
|
1962
1017
|
bucket: context.params[:bucket],
|
1963
|
-
region: context.config.region,
|
1964
|
-
use_fips: context.config.use_fips_endpoint,
|
1965
1018
|
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
1019
|
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
1020
|
use_s3_express_control_endpoint: true,
|
1978
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
1979
1021
|
)
|
1980
1022
|
end
|
1981
1023
|
end
|
1982
1024
|
|
1983
1025
|
class PutBucketReplication
|
1984
1026
|
def self.build(context)
|
1985
|
-
Aws::S3::EndpointParameters.
|
1027
|
+
Aws::S3::EndpointParameters.create(
|
1028
|
+
context.config,
|
1986
1029
|
bucket: context.params[:bucket],
|
1987
|
-
region: context.config.region,
|
1988
|
-
use_fips: context.config.use_fips_endpoint,
|
1989
1030
|
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
1031
|
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
1032
|
use_s3_express_control_endpoint: true,
|
2002
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
2003
1033
|
)
|
2004
1034
|
end
|
2005
1035
|
end
|
2006
1036
|
|
2007
1037
|
class PutBucketRequestPayment
|
2008
1038
|
def self.build(context)
|
2009
|
-
Aws::S3::EndpointParameters.
|
1039
|
+
Aws::S3::EndpointParameters.create(
|
1040
|
+
context.config,
|
2010
1041
|
bucket: context.params[:bucket],
|
2011
|
-
region: context.config.region,
|
2012
|
-
use_fips: context.config.use_fips_endpoint,
|
2013
1042
|
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
1043
|
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
1044
|
use_s3_express_control_endpoint: true,
|
2026
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
2027
1045
|
)
|
2028
1046
|
end
|
2029
1047
|
end
|
2030
1048
|
|
2031
1049
|
class PutBucketTagging
|
2032
1050
|
def self.build(context)
|
2033
|
-
Aws::S3::EndpointParameters.
|
1051
|
+
Aws::S3::EndpointParameters.create(
|
1052
|
+
context.config,
|
2034
1053
|
bucket: context.params[:bucket],
|
2035
|
-
region: context.config.region,
|
2036
|
-
use_fips: context.config.use_fips_endpoint,
|
2037
1054
|
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
1055
|
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
1056
|
use_s3_express_control_endpoint: true,
|
2050
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
2051
1057
|
)
|
2052
1058
|
end
|
2053
1059
|
end
|
2054
1060
|
|
2055
1061
|
class PutBucketVersioning
|
2056
1062
|
def self.build(context)
|
2057
|
-
Aws::S3::EndpointParameters.
|
1063
|
+
Aws::S3::EndpointParameters.create(
|
1064
|
+
context.config,
|
2058
1065
|
bucket: context.params[:bucket],
|
2059
|
-
region: context.config.region,
|
2060
|
-
use_fips: context.config.use_fips_endpoint,
|
2061
1066
|
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
1067
|
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
1068
|
use_s3_express_control_endpoint: true,
|
2074
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
2075
1069
|
)
|
2076
1070
|
end
|
2077
1071
|
end
|
2078
1072
|
|
2079
1073
|
class PutBucketWebsite
|
2080
1074
|
def self.build(context)
|
2081
|
-
Aws::S3::EndpointParameters.
|
1075
|
+
Aws::S3::EndpointParameters.create(
|
1076
|
+
context.config,
|
2082
1077
|
bucket: context.params[:bucket],
|
2083
|
-
region: context.config.region,
|
2084
|
-
use_fips: context.config.use_fips_endpoint,
|
2085
1078
|
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
1079
|
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
1080
|
use_s3_express_control_endpoint: true,
|
2098
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
2099
1081
|
)
|
2100
1082
|
end
|
2101
1083
|
end
|
2102
1084
|
|
2103
1085
|
class PutObject
|
2104
1086
|
def self.build(context)
|
2105
|
-
Aws::S3::EndpointParameters.
|
1087
|
+
Aws::S3::EndpointParameters.create(
|
1088
|
+
context.config,
|
2106
1089
|
bucket: context.params[:bucket],
|
2107
|
-
region: context.config.region,
|
2108
|
-
use_fips: context.config.use_fips_endpoint,
|
2109
1090
|
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
1091
|
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
1092
|
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
1093
|
)
|
2124
1094
|
end
|
2125
1095
|
end
|
2126
1096
|
|
2127
1097
|
class PutObjectAcl
|
2128
1098
|
def self.build(context)
|
2129
|
-
Aws::S3::EndpointParameters.
|
1099
|
+
Aws::S3::EndpointParameters.create(
|
1100
|
+
context.config,
|
2130
1101
|
bucket: context.params[:bucket],
|
2131
|
-
region: context.config.region,
|
2132
|
-
use_fips: context.config.use_fips_endpoint,
|
2133
1102
|
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
1103
|
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
1104
|
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
1105
|
)
|
2148
1106
|
end
|
2149
1107
|
end
|
2150
1108
|
|
2151
1109
|
class PutObjectLegalHold
|
2152
1110
|
def self.build(context)
|
2153
|
-
Aws::S3::EndpointParameters.
|
1111
|
+
Aws::S3::EndpointParameters.create(
|
1112
|
+
context.config,
|
2154
1113
|
bucket: context.params[:bucket],
|
2155
|
-
region: context.config.region,
|
2156
|
-
use_fips: context.config.use_fips_endpoint,
|
2157
1114
|
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
1115
|
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
1116
|
)
|
2172
1117
|
end
|
2173
1118
|
end
|
2174
1119
|
|
2175
1120
|
class PutObjectLockConfiguration
|
2176
1121
|
def self.build(context)
|
2177
|
-
Aws::S3::EndpointParameters.
|
1122
|
+
Aws::S3::EndpointParameters.create(
|
1123
|
+
context.config,
|
2178
1124
|
bucket: context.params[:bucket],
|
2179
|
-
region: context.config.region,
|
2180
|
-
use_fips: context.config.use_fips_endpoint,
|
2181
1125
|
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
1126
|
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
1127
|
)
|
2196
1128
|
end
|
2197
1129
|
end
|
2198
1130
|
|
2199
1131
|
class PutObjectRetention
|
2200
1132
|
def self.build(context)
|
2201
|
-
Aws::S3::EndpointParameters.
|
1133
|
+
Aws::S3::EndpointParameters.create(
|
1134
|
+
context.config,
|
2202
1135
|
bucket: context.params[:bucket],
|
2203
|
-
region: context.config.region,
|
2204
|
-
use_fips: context.config.use_fips_endpoint,
|
2205
1136
|
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
1137
|
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
1138
|
)
|
2220
1139
|
end
|
2221
1140
|
end
|
2222
1141
|
|
2223
1142
|
class PutObjectTagging
|
2224
1143
|
def self.build(context)
|
2225
|
-
Aws::S3::EndpointParameters.
|
1144
|
+
Aws::S3::EndpointParameters.create(
|
1145
|
+
context.config,
|
2226
1146
|
bucket: context.params[:bucket],
|
2227
|
-
region: context.config.region,
|
2228
|
-
use_fips: context.config.use_fips_endpoint,
|
2229
1147
|
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
1148
|
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
1149
|
)
|
2244
1150
|
end
|
2245
1151
|
end
|
2246
1152
|
|
2247
1153
|
class PutPublicAccessBlock
|
2248
1154
|
def self.build(context)
|
2249
|
-
Aws::S3::EndpointParameters.
|
1155
|
+
Aws::S3::EndpointParameters.create(
|
1156
|
+
context.config,
|
2250
1157
|
bucket: context.params[:bucket],
|
2251
|
-
region: context.config.region,
|
2252
|
-
use_fips: context.config.use_fips_endpoint,
|
2253
1158
|
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
1159
|
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
1160
|
use_s3_express_control_endpoint: true,
|
2266
|
-
disable_s3_express_session_auth: context.config.disable_s3_express_session_auth,
|
2267
1161
|
)
|
2268
1162
|
end
|
2269
1163
|
end
|
2270
1164
|
|
2271
1165
|
class RestoreObject
|
2272
1166
|
def self.build(context)
|
2273
|
-
Aws::S3::EndpointParameters.
|
1167
|
+
Aws::S3::EndpointParameters.create(
|
1168
|
+
context.config,
|
2274
1169
|
bucket: context.params[:bucket],
|
2275
|
-
region: context.config.region,
|
2276
|
-
use_fips: context.config.use_fips_endpoint,
|
2277
1170
|
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
1171
|
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
1172
|
)
|
2292
1173
|
end
|
2293
1174
|
end
|
2294
1175
|
|
2295
1176
|
class SelectObjectContent
|
2296
1177
|
def self.build(context)
|
2297
|
-
Aws::S3::EndpointParameters.
|
1178
|
+
Aws::S3::EndpointParameters.create(
|
1179
|
+
context.config,
|
2298
1180
|
bucket: context.params[:bucket],
|
2299
|
-
region: context.config.region,
|
2300
|
-
use_fips: context.config.use_fips_endpoint,
|
2301
1181
|
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
1182
|
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
1183
|
)
|
2316
1184
|
end
|
2317
1185
|
end
|
2318
1186
|
|
2319
1187
|
class UploadPart
|
2320
1188
|
def self.build(context)
|
2321
|
-
Aws::S3::EndpointParameters.
|
1189
|
+
Aws::S3::EndpointParameters.create(
|
1190
|
+
context.config,
|
2322
1191
|
bucket: context.params[:bucket],
|
2323
|
-
region: context.config.region,
|
2324
|
-
use_fips: context.config.use_fips_endpoint,
|
2325
1192
|
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
1193
|
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
1194
|
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
1195
|
)
|
2340
1196
|
end
|
2341
1197
|
end
|
2342
1198
|
|
2343
1199
|
class UploadPartCopy
|
2344
1200
|
def self.build(context)
|
2345
|
-
Aws::S3::EndpointParameters.
|
1201
|
+
Aws::S3::EndpointParameters.create(
|
1202
|
+
context.config,
|
2346
1203
|
bucket: context.params[:bucket],
|
2347
|
-
region: context.config.region,
|
2348
|
-
use_fips: context.config.use_fips_endpoint,
|
2349
1204
|
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
1205
|
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
1206
|
disable_s3_express_session_auth: true,
|
2363
1207
|
)
|
2364
1208
|
end
|
@@ -2366,27 +1210,225 @@ module Aws::S3
|
|
2366
1210
|
|
2367
1211
|
class WriteGetObjectResponse
|
2368
1212
|
def self.build(context)
|
2369
|
-
Aws::S3::EndpointParameters.
|
2370
|
-
|
2371
|
-
region: context.config.region,
|
2372
|
-
use_fips: context.config.use_fips_endpoint,
|
1213
|
+
Aws::S3::EndpointParameters.create(
|
1214
|
+
context.config,
|
2373
1215
|
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
1216
|
accelerate: context[:use_accelerate_endpoint],
|
2377
|
-
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
|
2378
1217
|
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
1218
|
)
|
2388
1219
|
end
|
2389
1220
|
end
|
2390
1221
|
|
1222
|
+
|
1223
|
+
def self.parameters_for_operation(context)
|
1224
|
+
case context.operation_name
|
1225
|
+
when :abort_multipart_upload
|
1226
|
+
AbortMultipartUpload.build(context)
|
1227
|
+
when :complete_multipart_upload
|
1228
|
+
CompleteMultipartUpload.build(context)
|
1229
|
+
when :copy_object
|
1230
|
+
CopyObject.build(context)
|
1231
|
+
when :create_bucket
|
1232
|
+
CreateBucket.build(context)
|
1233
|
+
when :create_bucket_metadata_table_configuration
|
1234
|
+
CreateBucketMetadataTableConfiguration.build(context)
|
1235
|
+
when :create_multipart_upload
|
1236
|
+
CreateMultipartUpload.build(context)
|
1237
|
+
when :create_session
|
1238
|
+
CreateSession.build(context)
|
1239
|
+
when :delete_bucket
|
1240
|
+
DeleteBucket.build(context)
|
1241
|
+
when :delete_bucket_analytics_configuration
|
1242
|
+
DeleteBucketAnalyticsConfiguration.build(context)
|
1243
|
+
when :delete_bucket_cors
|
1244
|
+
DeleteBucketCors.build(context)
|
1245
|
+
when :delete_bucket_encryption
|
1246
|
+
DeleteBucketEncryption.build(context)
|
1247
|
+
when :delete_bucket_intelligent_tiering_configuration
|
1248
|
+
DeleteBucketIntelligentTieringConfiguration.build(context)
|
1249
|
+
when :delete_bucket_inventory_configuration
|
1250
|
+
DeleteBucketInventoryConfiguration.build(context)
|
1251
|
+
when :delete_bucket_lifecycle
|
1252
|
+
DeleteBucketLifecycle.build(context)
|
1253
|
+
when :delete_bucket_metadata_table_configuration
|
1254
|
+
DeleteBucketMetadataTableConfiguration.build(context)
|
1255
|
+
when :delete_bucket_metrics_configuration
|
1256
|
+
DeleteBucketMetricsConfiguration.build(context)
|
1257
|
+
when :delete_bucket_ownership_controls
|
1258
|
+
DeleteBucketOwnershipControls.build(context)
|
1259
|
+
when :delete_bucket_policy
|
1260
|
+
DeleteBucketPolicy.build(context)
|
1261
|
+
when :delete_bucket_replication
|
1262
|
+
DeleteBucketReplication.build(context)
|
1263
|
+
when :delete_bucket_tagging
|
1264
|
+
DeleteBucketTagging.build(context)
|
1265
|
+
when :delete_bucket_website
|
1266
|
+
DeleteBucketWebsite.build(context)
|
1267
|
+
when :delete_object
|
1268
|
+
DeleteObject.build(context)
|
1269
|
+
when :delete_object_tagging
|
1270
|
+
DeleteObjectTagging.build(context)
|
1271
|
+
when :delete_objects
|
1272
|
+
DeleteObjects.build(context)
|
1273
|
+
when :delete_public_access_block
|
1274
|
+
DeletePublicAccessBlock.build(context)
|
1275
|
+
when :get_bucket_accelerate_configuration
|
1276
|
+
GetBucketAccelerateConfiguration.build(context)
|
1277
|
+
when :get_bucket_acl
|
1278
|
+
GetBucketAcl.build(context)
|
1279
|
+
when :get_bucket_analytics_configuration
|
1280
|
+
GetBucketAnalyticsConfiguration.build(context)
|
1281
|
+
when :get_bucket_cors
|
1282
|
+
GetBucketCors.build(context)
|
1283
|
+
when :get_bucket_encryption
|
1284
|
+
GetBucketEncryption.build(context)
|
1285
|
+
when :get_bucket_intelligent_tiering_configuration
|
1286
|
+
GetBucketIntelligentTieringConfiguration.build(context)
|
1287
|
+
when :get_bucket_inventory_configuration
|
1288
|
+
GetBucketInventoryConfiguration.build(context)
|
1289
|
+
when :get_bucket_lifecycle
|
1290
|
+
GetBucketLifecycle.build(context)
|
1291
|
+
when :get_bucket_lifecycle_configuration
|
1292
|
+
GetBucketLifecycleConfiguration.build(context)
|
1293
|
+
when :get_bucket_location
|
1294
|
+
GetBucketLocation.build(context)
|
1295
|
+
when :get_bucket_logging
|
1296
|
+
GetBucketLogging.build(context)
|
1297
|
+
when :get_bucket_metadata_table_configuration
|
1298
|
+
GetBucketMetadataTableConfiguration.build(context)
|
1299
|
+
when :get_bucket_metrics_configuration
|
1300
|
+
GetBucketMetricsConfiguration.build(context)
|
1301
|
+
when :get_bucket_notification
|
1302
|
+
GetBucketNotification.build(context)
|
1303
|
+
when :get_bucket_notification_configuration
|
1304
|
+
GetBucketNotificationConfiguration.build(context)
|
1305
|
+
when :get_bucket_ownership_controls
|
1306
|
+
GetBucketOwnershipControls.build(context)
|
1307
|
+
when :get_bucket_policy
|
1308
|
+
GetBucketPolicy.build(context)
|
1309
|
+
when :get_bucket_policy_status
|
1310
|
+
GetBucketPolicyStatus.build(context)
|
1311
|
+
when :get_bucket_replication
|
1312
|
+
GetBucketReplication.build(context)
|
1313
|
+
when :get_bucket_request_payment
|
1314
|
+
GetBucketRequestPayment.build(context)
|
1315
|
+
when :get_bucket_tagging
|
1316
|
+
GetBucketTagging.build(context)
|
1317
|
+
when :get_bucket_versioning
|
1318
|
+
GetBucketVersioning.build(context)
|
1319
|
+
when :get_bucket_website
|
1320
|
+
GetBucketWebsite.build(context)
|
1321
|
+
when :get_object
|
1322
|
+
GetObject.build(context)
|
1323
|
+
when :get_object_acl
|
1324
|
+
GetObjectAcl.build(context)
|
1325
|
+
when :get_object_attributes
|
1326
|
+
GetObjectAttributes.build(context)
|
1327
|
+
when :get_object_legal_hold
|
1328
|
+
GetObjectLegalHold.build(context)
|
1329
|
+
when :get_object_lock_configuration
|
1330
|
+
GetObjectLockConfiguration.build(context)
|
1331
|
+
when :get_object_retention
|
1332
|
+
GetObjectRetention.build(context)
|
1333
|
+
when :get_object_tagging
|
1334
|
+
GetObjectTagging.build(context)
|
1335
|
+
when :get_object_torrent
|
1336
|
+
GetObjectTorrent.build(context)
|
1337
|
+
when :get_public_access_block
|
1338
|
+
GetPublicAccessBlock.build(context)
|
1339
|
+
when :head_bucket
|
1340
|
+
HeadBucket.build(context)
|
1341
|
+
when :head_object
|
1342
|
+
HeadObject.build(context)
|
1343
|
+
when :list_bucket_analytics_configurations
|
1344
|
+
ListBucketAnalyticsConfigurations.build(context)
|
1345
|
+
when :list_bucket_intelligent_tiering_configurations
|
1346
|
+
ListBucketIntelligentTieringConfigurations.build(context)
|
1347
|
+
when :list_bucket_inventory_configurations
|
1348
|
+
ListBucketInventoryConfigurations.build(context)
|
1349
|
+
when :list_bucket_metrics_configurations
|
1350
|
+
ListBucketMetricsConfigurations.build(context)
|
1351
|
+
when :list_buckets
|
1352
|
+
ListBuckets.build(context)
|
1353
|
+
when :list_directory_buckets
|
1354
|
+
ListDirectoryBuckets.build(context)
|
1355
|
+
when :list_multipart_uploads
|
1356
|
+
ListMultipartUploads.build(context)
|
1357
|
+
when :list_object_versions
|
1358
|
+
ListObjectVersions.build(context)
|
1359
|
+
when :list_objects
|
1360
|
+
ListObjects.build(context)
|
1361
|
+
when :list_objects_v2
|
1362
|
+
ListObjectsV2.build(context)
|
1363
|
+
when :list_parts
|
1364
|
+
ListParts.build(context)
|
1365
|
+
when :put_bucket_accelerate_configuration
|
1366
|
+
PutBucketAccelerateConfiguration.build(context)
|
1367
|
+
when :put_bucket_acl
|
1368
|
+
PutBucketAcl.build(context)
|
1369
|
+
when :put_bucket_analytics_configuration
|
1370
|
+
PutBucketAnalyticsConfiguration.build(context)
|
1371
|
+
when :put_bucket_cors
|
1372
|
+
PutBucketCors.build(context)
|
1373
|
+
when :put_bucket_encryption
|
1374
|
+
PutBucketEncryption.build(context)
|
1375
|
+
when :put_bucket_intelligent_tiering_configuration
|
1376
|
+
PutBucketIntelligentTieringConfiguration.build(context)
|
1377
|
+
when :put_bucket_inventory_configuration
|
1378
|
+
PutBucketInventoryConfiguration.build(context)
|
1379
|
+
when :put_bucket_lifecycle
|
1380
|
+
PutBucketLifecycle.build(context)
|
1381
|
+
when :put_bucket_lifecycle_configuration
|
1382
|
+
PutBucketLifecycleConfiguration.build(context)
|
1383
|
+
when :put_bucket_logging
|
1384
|
+
PutBucketLogging.build(context)
|
1385
|
+
when :put_bucket_metrics_configuration
|
1386
|
+
PutBucketMetricsConfiguration.build(context)
|
1387
|
+
when :put_bucket_notification
|
1388
|
+
PutBucketNotification.build(context)
|
1389
|
+
when :put_bucket_notification_configuration
|
1390
|
+
PutBucketNotificationConfiguration.build(context)
|
1391
|
+
when :put_bucket_ownership_controls
|
1392
|
+
PutBucketOwnershipControls.build(context)
|
1393
|
+
when :put_bucket_policy
|
1394
|
+
PutBucketPolicy.build(context)
|
1395
|
+
when :put_bucket_replication
|
1396
|
+
PutBucketReplication.build(context)
|
1397
|
+
when :put_bucket_request_payment
|
1398
|
+
PutBucketRequestPayment.build(context)
|
1399
|
+
when :put_bucket_tagging
|
1400
|
+
PutBucketTagging.build(context)
|
1401
|
+
when :put_bucket_versioning
|
1402
|
+
PutBucketVersioning.build(context)
|
1403
|
+
when :put_bucket_website
|
1404
|
+
PutBucketWebsite.build(context)
|
1405
|
+
when :put_object
|
1406
|
+
PutObject.build(context)
|
1407
|
+
when :put_object_acl
|
1408
|
+
PutObjectAcl.build(context)
|
1409
|
+
when :put_object_legal_hold
|
1410
|
+
PutObjectLegalHold.build(context)
|
1411
|
+
when :put_object_lock_configuration
|
1412
|
+
PutObjectLockConfiguration.build(context)
|
1413
|
+
when :put_object_retention
|
1414
|
+
PutObjectRetention.build(context)
|
1415
|
+
when :put_object_tagging
|
1416
|
+
PutObjectTagging.build(context)
|
1417
|
+
when :put_public_access_block
|
1418
|
+
PutPublicAccessBlock.build(context)
|
1419
|
+
when :restore_object
|
1420
|
+
RestoreObject.build(context)
|
1421
|
+
when :select_object_content
|
1422
|
+
SelectObjectContent.build(context)
|
1423
|
+
when :upload_part
|
1424
|
+
UploadPart.build(context)
|
1425
|
+
when :upload_part_copy
|
1426
|
+
UploadPartCopy.build(context)
|
1427
|
+
when :write_get_object_response
|
1428
|
+
WriteGetObjectResponse.build(context)
|
1429
|
+
else
|
1430
|
+
Aws::S3::EndpointParameters.create(context.config)
|
1431
|
+
end
|
1432
|
+
end
|
2391
1433
|
end
|
2392
1434
|
end
|