aws-sdk-s3 1.48.0 → 1.169.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +1270 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-s3/access_grants_credentials.rb +57 -0
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +250 -0
- data/lib/aws-sdk-s3/bucket.rb +959 -106
- data/lib/aws-sdk-s3/bucket_acl.rb +64 -18
- data/lib/aws-sdk-s3/bucket_cors.rb +79 -18
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +66 -20
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +106 -21
- data/lib/aws-sdk-s3/bucket_logging.rb +68 -16
- data/lib/aws-sdk-s3/bucket_notification.rb +52 -20
- data/lib/aws-sdk-s3/bucket_policy.rb +107 -17
- data/lib/aws-sdk-s3/bucket_region_cache.rb +11 -5
- data/lib/aws-sdk-s3/bucket_request_payment.rb +60 -15
- data/lib/aws-sdk-s3/bucket_tagging.rb +71 -18
- data/lib/aws-sdk-s3/bucket_versioning.rb +133 -17
- data/lib/aws-sdk-s3/bucket_website.rb +78 -21
- data/lib/aws-sdk-s3/client.rb +13765 -1019
- data/lib/aws-sdk-s3/client_api.rb +1137 -197
- data/lib/aws-sdk-s3/customizations/bucket.rb +56 -37
- data/lib/aws-sdk-s3/customizations/errors.rb +40 -0
- data/lib/aws-sdk-s3/customizations/multipart_upload.rb +2 -0
- data/lib/aws-sdk-s3/customizations/object.rb +288 -68
- data/lib/aws-sdk-s3/customizations/object_summary.rb +10 -0
- data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
- data/lib/aws-sdk-s3/customizations/types/list_object_versions_output.rb +2 -0
- data/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb +26 -0
- data/lib/aws-sdk-s3/customizations.rb +27 -28
- data/lib/aws-sdk-s3/encryption/client.rb +28 -7
- data/lib/aws-sdk-s3/encryption/decrypt_handler.rb +71 -29
- data/lib/aws-sdk-s3/encryption/default_cipher_provider.rb +43 -5
- data/lib/aws-sdk-s3/encryption/default_key_provider.rb +2 -0
- data/lib/aws-sdk-s3/encryption/encrypt_handler.rb +13 -2
- data/lib/aws-sdk-s3/encryption/errors.rb +2 -0
- data/lib/aws-sdk-s3/encryption/io_auth_decrypter.rb +2 -0
- data/lib/aws-sdk-s3/encryption/io_decrypter.rb +11 -3
- data/lib/aws-sdk-s3/encryption/io_encrypter.rb +2 -0
- data/lib/aws-sdk-s3/encryption/key_provider.rb +2 -0
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +46 -11
- data/lib/aws-sdk-s3/encryption/materials.rb +8 -6
- data/lib/aws-sdk-s3/encryption/utils.rb +25 -0
- data/lib/aws-sdk-s3/encryption.rb +4 -0
- data/lib/aws-sdk-s3/encryptionV2/client.rb +570 -0
- data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +223 -0
- data/lib/aws-sdk-s3/encryptionV2/default_cipher_provider.rb +170 -0
- data/lib/aws-sdk-s3/encryptionV2/default_key_provider.rb +40 -0
- data/lib/aws-sdk-s3/encryptionV2/encrypt_handler.rb +65 -0
- data/lib/aws-sdk-s3/encryptionV2/errors.rb +37 -0
- data/lib/aws-sdk-s3/encryptionV2/io_auth_decrypter.rb +58 -0
- data/lib/aws-sdk-s3/encryptionV2/io_decrypter.rb +37 -0
- data/lib/aws-sdk-s3/encryptionV2/io_encrypter.rb +73 -0
- data/lib/aws-sdk-s3/encryptionV2/key_provider.rb +31 -0
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +173 -0
- data/lib/aws-sdk-s3/encryptionV2/materials.rb +60 -0
- data/lib/aws-sdk-s3/encryptionV2/utils.rb +103 -0
- data/lib/aws-sdk-s3/encryption_v2.rb +23 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +181 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +592 -0
- data/lib/aws-sdk-s3/endpoints.rb +1392 -0
- data/lib/aws-sdk-s3/errors.rb +126 -1
- data/lib/aws-sdk-s3/event_streams.rb +8 -1
- data/lib/aws-sdk-s3/express_credentials.rb +55 -0
- data/lib/aws-sdk-s3/express_credentials_provider.rb +59 -0
- data/lib/aws-sdk-s3/file_downloader.rb +176 -44
- data/lib/aws-sdk-s3/file_part.rb +11 -6
- data/lib/aws-sdk-s3/file_uploader.rb +39 -18
- data/lib/aws-sdk-s3/legacy_signer.rb +17 -25
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +82 -23
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +61 -21
- data/lib/aws-sdk-s3/multipart_upload.rb +265 -32
- data/lib/aws-sdk-s3/multipart_upload_error.rb +2 -0
- data/lib/aws-sdk-s3/multipart_upload_part.rb +367 -45
- data/lib/aws-sdk-s3/object.rb +2475 -228
- data/lib/aws-sdk-s3/object_acl.rb +103 -25
- data/lib/aws-sdk-s3/object_copier.rb +9 -5
- data/lib/aws-sdk-s3/object_multipart_copier.rb +48 -22
- data/lib/aws-sdk-s3/object_summary.rb +2075 -203
- data/lib/aws-sdk-s3/object_version.rb +492 -80
- data/lib/aws-sdk-s3/plugins/accelerate.rb +17 -64
- data/lib/aws-sdk-s3/plugins/access_grants.rb +178 -0
- data/lib/aws-sdk-s3/plugins/arn.rb +70 -0
- data/lib/aws-sdk-s3/plugins/bucket_dns.rb +7 -43
- data/lib/aws-sdk-s3/plugins/bucket_name_restrictions.rb +20 -3
- data/lib/aws-sdk-s3/plugins/dualstack.rb +7 -50
- data/lib/aws-sdk-s3/plugins/endpoints.rb +86 -0
- data/lib/aws-sdk-s3/plugins/expect_100_continue.rb +5 -4
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +97 -0
- data/lib/aws-sdk-s3/plugins/get_bucket_location_fix.rb +3 -1
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +60 -15
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +44 -0
- data/lib/aws-sdk-s3/plugins/location_constraint.rb +5 -1
- data/lib/aws-sdk-s3/plugins/md5s.rb +35 -30
- data/lib/aws-sdk-s3/plugins/redirects.rb +2 -0
- data/lib/aws-sdk-s3/plugins/s3_host_id.rb +2 -0
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +63 -94
- data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +31 -0
- data/lib/aws-sdk-s3/plugins/sse_cpk.rb +3 -1
- data/lib/aws-sdk-s3/plugins/streaming_retry.rb +139 -0
- data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -0
- data/lib/aws-sdk-s3/presigned_post.rb +160 -99
- data/lib/aws-sdk-s3/presigner.rb +138 -59
- data/lib/aws-sdk-s3/resource.rb +155 -17
- data/lib/aws-sdk-s3/types.rb +12229 -4377
- data/lib/aws-sdk-s3/waiters.rb +67 -1
- data/lib/aws-sdk-s3.rb +46 -32
- data/sig/bucket.rbs +216 -0
- data/sig/bucket_acl.rbs +78 -0
- data/sig/bucket_cors.rbs +69 -0
- data/sig/bucket_lifecycle.rbs +88 -0
- data/sig/bucket_lifecycle_configuration.rbs +115 -0
- data/sig/bucket_logging.rbs +76 -0
- data/sig/bucket_notification.rbs +114 -0
- data/sig/bucket_policy.rbs +59 -0
- data/sig/bucket_request_payment.rbs +54 -0
- data/sig/bucket_tagging.rbs +65 -0
- data/sig/bucket_versioning.rbs +77 -0
- data/sig/bucket_website.rbs +93 -0
- data/sig/client.rbs +2406 -0
- data/sig/customizations/bucket.rbs +19 -0
- data/sig/customizations/object.rbs +38 -0
- data/sig/customizations/object_summary.rbs +35 -0
- data/sig/errors.rbs +34 -0
- data/sig/multipart_upload.rbs +111 -0
- data/sig/multipart_upload_part.rbs +105 -0
- data/sig/object.rbs +443 -0
- data/sig/object_acl.rbs +86 -0
- data/sig/object_summary.rbs +335 -0
- data/sig/object_version.rbs +137 -0
- data/sig/resource.rbs +132 -0
- data/sig/types.rbs +2596 -0
- data/sig/waiters.rbs +95 -0
- metadata +74 -15
@@ -0,0 +1,1392 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::S3
|
12
|
+
# @api private
|
13
|
+
module Endpoints
|
14
|
+
|
15
|
+
class AbortMultipartUpload
|
16
|
+
def self.build(context)
|
17
|
+
Aws::S3::EndpointParameters.create(
|
18
|
+
context.config,
|
19
|
+
bucket: context.params[:bucket],
|
20
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
21
|
+
accelerate: context[:use_accelerate_endpoint],
|
22
|
+
key: context.params[:key],
|
23
|
+
)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
class CompleteMultipartUpload
|
28
|
+
def self.build(context)
|
29
|
+
Aws::S3::EndpointParameters.create(
|
30
|
+
context.config,
|
31
|
+
bucket: context.params[:bucket],
|
32
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
33
|
+
accelerate: context[:use_accelerate_endpoint],
|
34
|
+
key: context.params[:key],
|
35
|
+
)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
class CopyObject
|
40
|
+
def self.build(context)
|
41
|
+
Aws::S3::EndpointParameters.create(
|
42
|
+
context.config,
|
43
|
+
bucket: context.params[:bucket],
|
44
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
45
|
+
accelerate: context[:use_accelerate_endpoint],
|
46
|
+
key: context.params[:key],
|
47
|
+
copy_source: context.params[:copy_source],
|
48
|
+
disable_s3_express_session_auth: true,
|
49
|
+
)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
class CreateBucket
|
54
|
+
def self.build(context)
|
55
|
+
Aws::S3::EndpointParameters.create(
|
56
|
+
context.config,
|
57
|
+
bucket: context.params[:bucket],
|
58
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
59
|
+
accelerate: context[:use_accelerate_endpoint],
|
60
|
+
disable_access_points: true,
|
61
|
+
use_s3_express_control_endpoint: true,
|
62
|
+
)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
class CreateMultipartUpload
|
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
|
+
key: context.params[:key],
|
74
|
+
)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
class CreateSession
|
79
|
+
def self.build(context)
|
80
|
+
Aws::S3::EndpointParameters.create(
|
81
|
+
context.config,
|
82
|
+
bucket: context.params[:bucket],
|
83
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
84
|
+
accelerate: context[:use_accelerate_endpoint],
|
85
|
+
disable_s3_express_session_auth: true,
|
86
|
+
)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
class DeleteBucket
|
91
|
+
def self.build(context)
|
92
|
+
Aws::S3::EndpointParameters.create(
|
93
|
+
context.config,
|
94
|
+
bucket: context.params[:bucket],
|
95
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
96
|
+
accelerate: context[:use_accelerate_endpoint],
|
97
|
+
use_s3_express_control_endpoint: true,
|
98
|
+
)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
class DeleteBucketAnalyticsConfiguration
|
103
|
+
def self.build(context)
|
104
|
+
Aws::S3::EndpointParameters.create(
|
105
|
+
context.config,
|
106
|
+
bucket: context.params[:bucket],
|
107
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
108
|
+
accelerate: context[:use_accelerate_endpoint],
|
109
|
+
use_s3_express_control_endpoint: true,
|
110
|
+
)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
class DeleteBucketCors
|
115
|
+
def self.build(context)
|
116
|
+
Aws::S3::EndpointParameters.create(
|
117
|
+
context.config,
|
118
|
+
bucket: context.params[:bucket],
|
119
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
120
|
+
accelerate: context[:use_accelerate_endpoint],
|
121
|
+
use_s3_express_control_endpoint: true,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class DeleteBucketEncryption
|
127
|
+
def self.build(context)
|
128
|
+
Aws::S3::EndpointParameters.create(
|
129
|
+
context.config,
|
130
|
+
bucket: context.params[:bucket],
|
131
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
132
|
+
accelerate: context[:use_accelerate_endpoint],
|
133
|
+
use_s3_express_control_endpoint: true,
|
134
|
+
)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
class DeleteBucketIntelligentTieringConfiguration
|
139
|
+
def self.build(context)
|
140
|
+
Aws::S3::EndpointParameters.create(
|
141
|
+
context.config,
|
142
|
+
bucket: context.params[:bucket],
|
143
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
144
|
+
accelerate: context[:use_accelerate_endpoint],
|
145
|
+
use_s3_express_control_endpoint: true,
|
146
|
+
)
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
class DeleteBucketInventoryConfiguration
|
151
|
+
def self.build(context)
|
152
|
+
Aws::S3::EndpointParameters.create(
|
153
|
+
context.config,
|
154
|
+
bucket: context.params[:bucket],
|
155
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
156
|
+
accelerate: context[:use_accelerate_endpoint],
|
157
|
+
use_s3_express_control_endpoint: true,
|
158
|
+
)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
class DeleteBucketLifecycle
|
163
|
+
def self.build(context)
|
164
|
+
Aws::S3::EndpointParameters.create(
|
165
|
+
context.config,
|
166
|
+
bucket: context.params[:bucket],
|
167
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
168
|
+
accelerate: context[:use_accelerate_endpoint],
|
169
|
+
use_s3_express_control_endpoint: true,
|
170
|
+
)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
class DeleteBucketMetricsConfiguration
|
175
|
+
def self.build(context)
|
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 DeleteBucketOwnershipControls
|
187
|
+
def self.build(context)
|
188
|
+
Aws::S3::EndpointParameters.create(
|
189
|
+
context.config,
|
190
|
+
bucket: context.params[:bucket],
|
191
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
192
|
+
accelerate: context[:use_accelerate_endpoint],
|
193
|
+
use_s3_express_control_endpoint: true,
|
194
|
+
)
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
class DeleteBucketPolicy
|
199
|
+
def self.build(context)
|
200
|
+
Aws::S3::EndpointParameters.create(
|
201
|
+
context.config,
|
202
|
+
bucket: context.params[:bucket],
|
203
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
204
|
+
accelerate: context[:use_accelerate_endpoint],
|
205
|
+
use_s3_express_control_endpoint: true,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class DeleteBucketReplication
|
211
|
+
def self.build(context)
|
212
|
+
Aws::S3::EndpointParameters.create(
|
213
|
+
context.config,
|
214
|
+
bucket: context.params[:bucket],
|
215
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
216
|
+
accelerate: context[:use_accelerate_endpoint],
|
217
|
+
use_s3_express_control_endpoint: true,
|
218
|
+
)
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
class DeleteBucketTagging
|
223
|
+
def self.build(context)
|
224
|
+
Aws::S3::EndpointParameters.create(
|
225
|
+
context.config,
|
226
|
+
bucket: context.params[:bucket],
|
227
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
228
|
+
accelerate: context[:use_accelerate_endpoint],
|
229
|
+
use_s3_express_control_endpoint: true,
|
230
|
+
)
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
class DeleteBucketWebsite
|
235
|
+
def self.build(context)
|
236
|
+
Aws::S3::EndpointParameters.create(
|
237
|
+
context.config,
|
238
|
+
bucket: context.params[:bucket],
|
239
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
240
|
+
accelerate: context[:use_accelerate_endpoint],
|
241
|
+
use_s3_express_control_endpoint: true,
|
242
|
+
)
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
class DeleteObject
|
247
|
+
def self.build(context)
|
248
|
+
Aws::S3::EndpointParameters.create(
|
249
|
+
context.config,
|
250
|
+
bucket: context.params[:bucket],
|
251
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
252
|
+
accelerate: context[:use_accelerate_endpoint],
|
253
|
+
key: context.params[:key],
|
254
|
+
)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
class DeleteObjectTagging
|
259
|
+
def self.build(context)
|
260
|
+
Aws::S3::EndpointParameters.create(
|
261
|
+
context.config,
|
262
|
+
bucket: context.params[:bucket],
|
263
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
264
|
+
accelerate: context[:use_accelerate_endpoint],
|
265
|
+
)
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class DeleteObjects
|
270
|
+
def self.build(context)
|
271
|
+
Aws::S3::EndpointParameters.create(
|
272
|
+
context.config,
|
273
|
+
bucket: context.params[:bucket],
|
274
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
275
|
+
accelerate: context[:use_accelerate_endpoint],
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class DeletePublicAccessBlock
|
281
|
+
def self.build(context)
|
282
|
+
Aws::S3::EndpointParameters.create(
|
283
|
+
context.config,
|
284
|
+
bucket: context.params[:bucket],
|
285
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
286
|
+
accelerate: context[:use_accelerate_endpoint],
|
287
|
+
use_s3_express_control_endpoint: true,
|
288
|
+
)
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
class GetBucketAccelerateConfiguration
|
293
|
+
def self.build(context)
|
294
|
+
Aws::S3::EndpointParameters.create(
|
295
|
+
context.config,
|
296
|
+
bucket: context.params[:bucket],
|
297
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
298
|
+
accelerate: context[:use_accelerate_endpoint],
|
299
|
+
use_s3_express_control_endpoint: true,
|
300
|
+
)
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
class GetBucketAcl
|
305
|
+
def self.build(context)
|
306
|
+
Aws::S3::EndpointParameters.create(
|
307
|
+
context.config,
|
308
|
+
bucket: context.params[:bucket],
|
309
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
310
|
+
accelerate: context[:use_accelerate_endpoint],
|
311
|
+
use_s3_express_control_endpoint: true,
|
312
|
+
)
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
class GetBucketAnalyticsConfiguration
|
317
|
+
def self.build(context)
|
318
|
+
Aws::S3::EndpointParameters.create(
|
319
|
+
context.config,
|
320
|
+
bucket: context.params[:bucket],
|
321
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
322
|
+
accelerate: context[:use_accelerate_endpoint],
|
323
|
+
use_s3_express_control_endpoint: true,
|
324
|
+
)
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
class GetBucketCors
|
329
|
+
def self.build(context)
|
330
|
+
Aws::S3::EndpointParameters.create(
|
331
|
+
context.config,
|
332
|
+
bucket: context.params[:bucket],
|
333
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
334
|
+
accelerate: context[:use_accelerate_endpoint],
|
335
|
+
use_s3_express_control_endpoint: true,
|
336
|
+
)
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class GetBucketEncryption
|
341
|
+
def self.build(context)
|
342
|
+
Aws::S3::EndpointParameters.create(
|
343
|
+
context.config,
|
344
|
+
bucket: context.params[:bucket],
|
345
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
346
|
+
accelerate: context[:use_accelerate_endpoint],
|
347
|
+
use_s3_express_control_endpoint: true,
|
348
|
+
)
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
class GetBucketIntelligentTieringConfiguration
|
353
|
+
def self.build(context)
|
354
|
+
Aws::S3::EndpointParameters.create(
|
355
|
+
context.config,
|
356
|
+
bucket: context.params[:bucket],
|
357
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
358
|
+
accelerate: context[:use_accelerate_endpoint],
|
359
|
+
use_s3_express_control_endpoint: true,
|
360
|
+
)
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
class GetBucketInventoryConfiguration
|
365
|
+
def self.build(context)
|
366
|
+
Aws::S3::EndpointParameters.create(
|
367
|
+
context.config,
|
368
|
+
bucket: context.params[:bucket],
|
369
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
370
|
+
accelerate: context[:use_accelerate_endpoint],
|
371
|
+
use_s3_express_control_endpoint: true,
|
372
|
+
)
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
class GetBucketLifecycle
|
377
|
+
def self.build(context)
|
378
|
+
Aws::S3::EndpointParameters.create(
|
379
|
+
context.config,
|
380
|
+
bucket: context.params[:bucket],
|
381
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
382
|
+
accelerate: context[:use_accelerate_endpoint],
|
383
|
+
use_s3_express_control_endpoint: true,
|
384
|
+
)
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
class GetBucketLifecycleConfiguration
|
389
|
+
def self.build(context)
|
390
|
+
Aws::S3::EndpointParameters.create(
|
391
|
+
context.config,
|
392
|
+
bucket: context.params[:bucket],
|
393
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
394
|
+
accelerate: context[:use_accelerate_endpoint],
|
395
|
+
use_s3_express_control_endpoint: true,
|
396
|
+
)
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class GetBucketLocation
|
401
|
+
def self.build(context)
|
402
|
+
Aws::S3::EndpointParameters.create(
|
403
|
+
context.config,
|
404
|
+
bucket: context.params[:bucket],
|
405
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
406
|
+
accelerate: context[:use_accelerate_endpoint],
|
407
|
+
use_s3_express_control_endpoint: true,
|
408
|
+
)
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
class GetBucketLogging
|
413
|
+
def self.build(context)
|
414
|
+
Aws::S3::EndpointParameters.create(
|
415
|
+
context.config,
|
416
|
+
bucket: context.params[:bucket],
|
417
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
418
|
+
accelerate: context[:use_accelerate_endpoint],
|
419
|
+
use_s3_express_control_endpoint: true,
|
420
|
+
)
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class GetBucketMetricsConfiguration
|
425
|
+
def self.build(context)
|
426
|
+
Aws::S3::EndpointParameters.create(
|
427
|
+
context.config,
|
428
|
+
bucket: context.params[:bucket],
|
429
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
430
|
+
accelerate: context[:use_accelerate_endpoint],
|
431
|
+
use_s3_express_control_endpoint: true,
|
432
|
+
)
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class GetBucketNotification
|
437
|
+
def self.build(context)
|
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 GetBucketNotificationConfiguration
|
449
|
+
def self.build(context)
|
450
|
+
Aws::S3::EndpointParameters.create(
|
451
|
+
context.config,
|
452
|
+
bucket: context.params[:bucket],
|
453
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
454
|
+
accelerate: context[:use_accelerate_endpoint],
|
455
|
+
use_s3_express_control_endpoint: true,
|
456
|
+
)
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
class GetBucketOwnershipControls
|
461
|
+
def self.build(context)
|
462
|
+
Aws::S3::EndpointParameters.create(
|
463
|
+
context.config,
|
464
|
+
bucket: context.params[:bucket],
|
465
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
466
|
+
accelerate: context[:use_accelerate_endpoint],
|
467
|
+
use_s3_express_control_endpoint: true,
|
468
|
+
)
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class GetBucketPolicy
|
473
|
+
def self.build(context)
|
474
|
+
Aws::S3::EndpointParameters.create(
|
475
|
+
context.config,
|
476
|
+
bucket: context.params[:bucket],
|
477
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
478
|
+
accelerate: context[:use_accelerate_endpoint],
|
479
|
+
use_s3_express_control_endpoint: true,
|
480
|
+
)
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
class GetBucketPolicyStatus
|
485
|
+
def self.build(context)
|
486
|
+
Aws::S3::EndpointParameters.create(
|
487
|
+
context.config,
|
488
|
+
bucket: context.params[:bucket],
|
489
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
490
|
+
accelerate: context[:use_accelerate_endpoint],
|
491
|
+
use_s3_express_control_endpoint: true,
|
492
|
+
)
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
class GetBucketReplication
|
497
|
+
def self.build(context)
|
498
|
+
Aws::S3::EndpointParameters.create(
|
499
|
+
context.config,
|
500
|
+
bucket: context.params[:bucket],
|
501
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
502
|
+
accelerate: context[:use_accelerate_endpoint],
|
503
|
+
use_s3_express_control_endpoint: true,
|
504
|
+
)
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
class GetBucketRequestPayment
|
509
|
+
def self.build(context)
|
510
|
+
Aws::S3::EndpointParameters.create(
|
511
|
+
context.config,
|
512
|
+
bucket: context.params[:bucket],
|
513
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
514
|
+
accelerate: context[:use_accelerate_endpoint],
|
515
|
+
use_s3_express_control_endpoint: true,
|
516
|
+
)
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
class GetBucketTagging
|
521
|
+
def self.build(context)
|
522
|
+
Aws::S3::EndpointParameters.create(
|
523
|
+
context.config,
|
524
|
+
bucket: context.params[:bucket],
|
525
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
526
|
+
accelerate: context[:use_accelerate_endpoint],
|
527
|
+
use_s3_express_control_endpoint: true,
|
528
|
+
)
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
class GetBucketVersioning
|
533
|
+
def self.build(context)
|
534
|
+
Aws::S3::EndpointParameters.create(
|
535
|
+
context.config,
|
536
|
+
bucket: context.params[:bucket],
|
537
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
538
|
+
accelerate: context[:use_accelerate_endpoint],
|
539
|
+
use_s3_express_control_endpoint: true,
|
540
|
+
)
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
class GetBucketWebsite
|
545
|
+
def self.build(context)
|
546
|
+
Aws::S3::EndpointParameters.create(
|
547
|
+
context.config,
|
548
|
+
bucket: context.params[:bucket],
|
549
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
550
|
+
accelerate: context[:use_accelerate_endpoint],
|
551
|
+
use_s3_express_control_endpoint: true,
|
552
|
+
)
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
class GetObject
|
557
|
+
def self.build(context)
|
558
|
+
Aws::S3::EndpointParameters.create(
|
559
|
+
context.config,
|
560
|
+
bucket: context.params[:bucket],
|
561
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
562
|
+
accelerate: context[:use_accelerate_endpoint],
|
563
|
+
key: context.params[:key],
|
564
|
+
)
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
class GetObjectAcl
|
569
|
+
def self.build(context)
|
570
|
+
Aws::S3::EndpointParameters.create(
|
571
|
+
context.config,
|
572
|
+
bucket: context.params[:bucket],
|
573
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
574
|
+
accelerate: context[:use_accelerate_endpoint],
|
575
|
+
key: context.params[:key],
|
576
|
+
)
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
class GetObjectAttributes
|
581
|
+
def self.build(context)
|
582
|
+
Aws::S3::EndpointParameters.create(
|
583
|
+
context.config,
|
584
|
+
bucket: context.params[:bucket],
|
585
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
586
|
+
accelerate: context[:use_accelerate_endpoint],
|
587
|
+
)
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
class GetObjectLegalHold
|
592
|
+
def self.build(context)
|
593
|
+
Aws::S3::EndpointParameters.create(
|
594
|
+
context.config,
|
595
|
+
bucket: context.params[:bucket],
|
596
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
597
|
+
accelerate: context[:use_accelerate_endpoint],
|
598
|
+
)
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
class GetObjectLockConfiguration
|
603
|
+
def self.build(context)
|
604
|
+
Aws::S3::EndpointParameters.create(
|
605
|
+
context.config,
|
606
|
+
bucket: context.params[:bucket],
|
607
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
608
|
+
accelerate: context[:use_accelerate_endpoint],
|
609
|
+
)
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
class GetObjectRetention
|
614
|
+
def self.build(context)
|
615
|
+
Aws::S3::EndpointParameters.create(
|
616
|
+
context.config,
|
617
|
+
bucket: context.params[:bucket],
|
618
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
619
|
+
accelerate: context[:use_accelerate_endpoint],
|
620
|
+
)
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
class GetObjectTagging
|
625
|
+
def self.build(context)
|
626
|
+
Aws::S3::EndpointParameters.create(
|
627
|
+
context.config,
|
628
|
+
bucket: context.params[:bucket],
|
629
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
630
|
+
accelerate: context[:use_accelerate_endpoint],
|
631
|
+
)
|
632
|
+
end
|
633
|
+
end
|
634
|
+
|
635
|
+
class GetObjectTorrent
|
636
|
+
def self.build(context)
|
637
|
+
Aws::S3::EndpointParameters.create(
|
638
|
+
context.config,
|
639
|
+
bucket: context.params[:bucket],
|
640
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
641
|
+
accelerate: context[:use_accelerate_endpoint],
|
642
|
+
)
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
646
|
+
class GetPublicAccessBlock
|
647
|
+
def self.build(context)
|
648
|
+
Aws::S3::EndpointParameters.create(
|
649
|
+
context.config,
|
650
|
+
bucket: context.params[:bucket],
|
651
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
652
|
+
accelerate: context[:use_accelerate_endpoint],
|
653
|
+
use_s3_express_control_endpoint: true,
|
654
|
+
)
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class HeadBucket
|
659
|
+
def self.build(context)
|
660
|
+
Aws::S3::EndpointParameters.create(
|
661
|
+
context.config,
|
662
|
+
bucket: context.params[:bucket],
|
663
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
664
|
+
accelerate: context[:use_accelerate_endpoint],
|
665
|
+
)
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
class HeadObject
|
670
|
+
def self.build(context)
|
671
|
+
Aws::S3::EndpointParameters.create(
|
672
|
+
context.config,
|
673
|
+
bucket: context.params[:bucket],
|
674
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
675
|
+
accelerate: context[:use_accelerate_endpoint],
|
676
|
+
key: context.params[:key],
|
677
|
+
)
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
681
|
+
class ListBucketAnalyticsConfigurations
|
682
|
+
def self.build(context)
|
683
|
+
Aws::S3::EndpointParameters.create(
|
684
|
+
context.config,
|
685
|
+
bucket: context.params[:bucket],
|
686
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
687
|
+
accelerate: context[:use_accelerate_endpoint],
|
688
|
+
use_s3_express_control_endpoint: true,
|
689
|
+
)
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
class ListBucketIntelligentTieringConfigurations
|
694
|
+
def self.build(context)
|
695
|
+
Aws::S3::EndpointParameters.create(
|
696
|
+
context.config,
|
697
|
+
bucket: context.params[:bucket],
|
698
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
699
|
+
accelerate: context[:use_accelerate_endpoint],
|
700
|
+
use_s3_express_control_endpoint: true,
|
701
|
+
)
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
705
|
+
class ListBucketInventoryConfigurations
|
706
|
+
def self.build(context)
|
707
|
+
Aws::S3::EndpointParameters.create(
|
708
|
+
context.config,
|
709
|
+
bucket: context.params[:bucket],
|
710
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
711
|
+
accelerate: context[:use_accelerate_endpoint],
|
712
|
+
use_s3_express_control_endpoint: true,
|
713
|
+
)
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
717
|
+
class ListBucketMetricsConfigurations
|
718
|
+
def self.build(context)
|
719
|
+
Aws::S3::EndpointParameters.create(
|
720
|
+
context.config,
|
721
|
+
bucket: context.params[:bucket],
|
722
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
723
|
+
accelerate: context[:use_accelerate_endpoint],
|
724
|
+
)
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
class ListBuckets
|
729
|
+
def self.build(context)
|
730
|
+
Aws::S3::EndpointParameters.create(
|
731
|
+
context.config,
|
732
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
733
|
+
accelerate: context[:use_accelerate_endpoint],
|
734
|
+
)
|
735
|
+
end
|
736
|
+
end
|
737
|
+
|
738
|
+
class ListDirectoryBuckets
|
739
|
+
def self.build(context)
|
740
|
+
Aws::S3::EndpointParameters.create(
|
741
|
+
context.config,
|
742
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
743
|
+
accelerate: context[:use_accelerate_endpoint],
|
744
|
+
use_s3_express_control_endpoint: true,
|
745
|
+
)
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
class ListMultipartUploads
|
750
|
+
def self.build(context)
|
751
|
+
Aws::S3::EndpointParameters.create(
|
752
|
+
context.config,
|
753
|
+
bucket: context.params[:bucket],
|
754
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
755
|
+
accelerate: context[:use_accelerate_endpoint],
|
756
|
+
prefix: context.params[:prefix],
|
757
|
+
)
|
758
|
+
end
|
759
|
+
end
|
760
|
+
|
761
|
+
class ListObjectVersions
|
762
|
+
def self.build(context)
|
763
|
+
Aws::S3::EndpointParameters.create(
|
764
|
+
context.config,
|
765
|
+
bucket: context.params[:bucket],
|
766
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
767
|
+
accelerate: context[:use_accelerate_endpoint],
|
768
|
+
prefix: context.params[:prefix],
|
769
|
+
)
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
class ListObjects
|
774
|
+
def self.build(context)
|
775
|
+
Aws::S3::EndpointParameters.create(
|
776
|
+
context.config,
|
777
|
+
bucket: context.params[:bucket],
|
778
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
779
|
+
accelerate: context[:use_accelerate_endpoint],
|
780
|
+
prefix: context.params[:prefix],
|
781
|
+
)
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
class ListObjectsV2
|
786
|
+
def self.build(context)
|
787
|
+
Aws::S3::EndpointParameters.create(
|
788
|
+
context.config,
|
789
|
+
bucket: context.params[:bucket],
|
790
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
791
|
+
accelerate: context[:use_accelerate_endpoint],
|
792
|
+
prefix: context.params[:prefix],
|
793
|
+
)
|
794
|
+
end
|
795
|
+
end
|
796
|
+
|
797
|
+
class ListParts
|
798
|
+
def self.build(context)
|
799
|
+
Aws::S3::EndpointParameters.create(
|
800
|
+
context.config,
|
801
|
+
bucket: context.params[:bucket],
|
802
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
803
|
+
accelerate: context[:use_accelerate_endpoint],
|
804
|
+
key: context.params[:key],
|
805
|
+
)
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
809
|
+
class PutBucketAccelerateConfiguration
|
810
|
+
def self.build(context)
|
811
|
+
Aws::S3::EndpointParameters.create(
|
812
|
+
context.config,
|
813
|
+
bucket: context.params[:bucket],
|
814
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
815
|
+
accelerate: context[:use_accelerate_endpoint],
|
816
|
+
use_s3_express_control_endpoint: true,
|
817
|
+
)
|
818
|
+
end
|
819
|
+
end
|
820
|
+
|
821
|
+
class PutBucketAcl
|
822
|
+
def self.build(context)
|
823
|
+
Aws::S3::EndpointParameters.create(
|
824
|
+
context.config,
|
825
|
+
bucket: context.params[:bucket],
|
826
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
827
|
+
accelerate: context[:use_accelerate_endpoint],
|
828
|
+
use_s3_express_control_endpoint: true,
|
829
|
+
)
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
833
|
+
class PutBucketAnalyticsConfiguration
|
834
|
+
def self.build(context)
|
835
|
+
Aws::S3::EndpointParameters.create(
|
836
|
+
context.config,
|
837
|
+
bucket: context.params[:bucket],
|
838
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
839
|
+
accelerate: context[:use_accelerate_endpoint],
|
840
|
+
use_s3_express_control_endpoint: true,
|
841
|
+
)
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
class PutBucketCors
|
846
|
+
def self.build(context)
|
847
|
+
Aws::S3::EndpointParameters.create(
|
848
|
+
context.config,
|
849
|
+
bucket: context.params[:bucket],
|
850
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
851
|
+
accelerate: context[:use_accelerate_endpoint],
|
852
|
+
use_s3_express_control_endpoint: true,
|
853
|
+
)
|
854
|
+
end
|
855
|
+
end
|
856
|
+
|
857
|
+
class PutBucketEncryption
|
858
|
+
def self.build(context)
|
859
|
+
Aws::S3::EndpointParameters.create(
|
860
|
+
context.config,
|
861
|
+
bucket: context.params[:bucket],
|
862
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
863
|
+
accelerate: context[:use_accelerate_endpoint],
|
864
|
+
use_s3_express_control_endpoint: true,
|
865
|
+
)
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
869
|
+
class PutBucketIntelligentTieringConfiguration
|
870
|
+
def self.build(context)
|
871
|
+
Aws::S3::EndpointParameters.create(
|
872
|
+
context.config,
|
873
|
+
bucket: context.params[:bucket],
|
874
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
875
|
+
accelerate: context[:use_accelerate_endpoint],
|
876
|
+
use_s3_express_control_endpoint: true,
|
877
|
+
)
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
class PutBucketInventoryConfiguration
|
882
|
+
def self.build(context)
|
883
|
+
Aws::S3::EndpointParameters.create(
|
884
|
+
context.config,
|
885
|
+
bucket: context.params[:bucket],
|
886
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
887
|
+
accelerate: context[:use_accelerate_endpoint],
|
888
|
+
use_s3_express_control_endpoint: true,
|
889
|
+
)
|
890
|
+
end
|
891
|
+
end
|
892
|
+
|
893
|
+
class PutBucketLifecycle
|
894
|
+
def self.build(context)
|
895
|
+
Aws::S3::EndpointParameters.create(
|
896
|
+
context.config,
|
897
|
+
bucket: context.params[:bucket],
|
898
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
899
|
+
accelerate: context[:use_accelerate_endpoint],
|
900
|
+
use_s3_express_control_endpoint: true,
|
901
|
+
)
|
902
|
+
end
|
903
|
+
end
|
904
|
+
|
905
|
+
class PutBucketLifecycleConfiguration
|
906
|
+
def self.build(context)
|
907
|
+
Aws::S3::EndpointParameters.create(
|
908
|
+
context.config,
|
909
|
+
bucket: context.params[:bucket],
|
910
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
911
|
+
accelerate: context[:use_accelerate_endpoint],
|
912
|
+
use_s3_express_control_endpoint: true,
|
913
|
+
)
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
917
|
+
class PutBucketLogging
|
918
|
+
def self.build(context)
|
919
|
+
Aws::S3::EndpointParameters.create(
|
920
|
+
context.config,
|
921
|
+
bucket: context.params[:bucket],
|
922
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
923
|
+
accelerate: context[:use_accelerate_endpoint],
|
924
|
+
use_s3_express_control_endpoint: true,
|
925
|
+
)
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
class PutBucketMetricsConfiguration
|
930
|
+
def self.build(context)
|
931
|
+
Aws::S3::EndpointParameters.create(
|
932
|
+
context.config,
|
933
|
+
bucket: context.params[:bucket],
|
934
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
935
|
+
accelerate: context[:use_accelerate_endpoint],
|
936
|
+
use_s3_express_control_endpoint: true,
|
937
|
+
)
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
class PutBucketNotification
|
942
|
+
def self.build(context)
|
943
|
+
Aws::S3::EndpointParameters.create(
|
944
|
+
context.config,
|
945
|
+
bucket: context.params[:bucket],
|
946
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
947
|
+
accelerate: context[:use_accelerate_endpoint],
|
948
|
+
use_s3_express_control_endpoint: true,
|
949
|
+
)
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
953
|
+
class PutBucketNotificationConfiguration
|
954
|
+
def self.build(context)
|
955
|
+
Aws::S3::EndpointParameters.create(
|
956
|
+
context.config,
|
957
|
+
bucket: context.params[:bucket],
|
958
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
959
|
+
accelerate: context[:use_accelerate_endpoint],
|
960
|
+
use_s3_express_control_endpoint: true,
|
961
|
+
)
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
965
|
+
class PutBucketOwnershipControls
|
966
|
+
def self.build(context)
|
967
|
+
Aws::S3::EndpointParameters.create(
|
968
|
+
context.config,
|
969
|
+
bucket: context.params[:bucket],
|
970
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
971
|
+
accelerate: context[:use_accelerate_endpoint],
|
972
|
+
use_s3_express_control_endpoint: true,
|
973
|
+
)
|
974
|
+
end
|
975
|
+
end
|
976
|
+
|
977
|
+
class PutBucketPolicy
|
978
|
+
def self.build(context)
|
979
|
+
Aws::S3::EndpointParameters.create(
|
980
|
+
context.config,
|
981
|
+
bucket: context.params[:bucket],
|
982
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
983
|
+
accelerate: context[:use_accelerate_endpoint],
|
984
|
+
use_s3_express_control_endpoint: true,
|
985
|
+
)
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
989
|
+
class PutBucketReplication
|
990
|
+
def self.build(context)
|
991
|
+
Aws::S3::EndpointParameters.create(
|
992
|
+
context.config,
|
993
|
+
bucket: context.params[:bucket],
|
994
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
995
|
+
accelerate: context[:use_accelerate_endpoint],
|
996
|
+
use_s3_express_control_endpoint: true,
|
997
|
+
)
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
1001
|
+
class PutBucketRequestPayment
|
1002
|
+
def self.build(context)
|
1003
|
+
Aws::S3::EndpointParameters.create(
|
1004
|
+
context.config,
|
1005
|
+
bucket: context.params[:bucket],
|
1006
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1007
|
+
accelerate: context[:use_accelerate_endpoint],
|
1008
|
+
use_s3_express_control_endpoint: true,
|
1009
|
+
)
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
class PutBucketTagging
|
1014
|
+
def self.build(context)
|
1015
|
+
Aws::S3::EndpointParameters.create(
|
1016
|
+
context.config,
|
1017
|
+
bucket: context.params[:bucket],
|
1018
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1019
|
+
accelerate: context[:use_accelerate_endpoint],
|
1020
|
+
use_s3_express_control_endpoint: true,
|
1021
|
+
)
|
1022
|
+
end
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
class PutBucketVersioning
|
1026
|
+
def self.build(context)
|
1027
|
+
Aws::S3::EndpointParameters.create(
|
1028
|
+
context.config,
|
1029
|
+
bucket: context.params[:bucket],
|
1030
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1031
|
+
accelerate: context[:use_accelerate_endpoint],
|
1032
|
+
use_s3_express_control_endpoint: true,
|
1033
|
+
)
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
class PutBucketWebsite
|
1038
|
+
def self.build(context)
|
1039
|
+
Aws::S3::EndpointParameters.create(
|
1040
|
+
context.config,
|
1041
|
+
bucket: context.params[:bucket],
|
1042
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1043
|
+
accelerate: context[:use_accelerate_endpoint],
|
1044
|
+
use_s3_express_control_endpoint: true,
|
1045
|
+
)
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
class PutObject
|
1050
|
+
def self.build(context)
|
1051
|
+
Aws::S3::EndpointParameters.create(
|
1052
|
+
context.config,
|
1053
|
+
bucket: context.params[:bucket],
|
1054
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1055
|
+
accelerate: context[:use_accelerate_endpoint],
|
1056
|
+
key: context.params[:key],
|
1057
|
+
)
|
1058
|
+
end
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
class PutObjectAcl
|
1062
|
+
def self.build(context)
|
1063
|
+
Aws::S3::EndpointParameters.create(
|
1064
|
+
context.config,
|
1065
|
+
bucket: context.params[:bucket],
|
1066
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1067
|
+
accelerate: context[:use_accelerate_endpoint],
|
1068
|
+
key: context.params[:key],
|
1069
|
+
)
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
class PutObjectLegalHold
|
1074
|
+
def self.build(context)
|
1075
|
+
Aws::S3::EndpointParameters.create(
|
1076
|
+
context.config,
|
1077
|
+
bucket: context.params[:bucket],
|
1078
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1079
|
+
accelerate: context[:use_accelerate_endpoint],
|
1080
|
+
)
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
class PutObjectLockConfiguration
|
1085
|
+
def self.build(context)
|
1086
|
+
Aws::S3::EndpointParameters.create(
|
1087
|
+
context.config,
|
1088
|
+
bucket: context.params[:bucket],
|
1089
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1090
|
+
accelerate: context[:use_accelerate_endpoint],
|
1091
|
+
)
|
1092
|
+
end
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
class PutObjectRetention
|
1096
|
+
def self.build(context)
|
1097
|
+
Aws::S3::EndpointParameters.create(
|
1098
|
+
context.config,
|
1099
|
+
bucket: context.params[:bucket],
|
1100
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1101
|
+
accelerate: context[:use_accelerate_endpoint],
|
1102
|
+
)
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
class PutObjectTagging
|
1107
|
+
def self.build(context)
|
1108
|
+
Aws::S3::EndpointParameters.create(
|
1109
|
+
context.config,
|
1110
|
+
bucket: context.params[:bucket],
|
1111
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1112
|
+
accelerate: context[:use_accelerate_endpoint],
|
1113
|
+
)
|
1114
|
+
end
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
class PutPublicAccessBlock
|
1118
|
+
def self.build(context)
|
1119
|
+
Aws::S3::EndpointParameters.create(
|
1120
|
+
context.config,
|
1121
|
+
bucket: context.params[:bucket],
|
1122
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1123
|
+
accelerate: context[:use_accelerate_endpoint],
|
1124
|
+
use_s3_express_control_endpoint: true,
|
1125
|
+
)
|
1126
|
+
end
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
class RestoreObject
|
1130
|
+
def self.build(context)
|
1131
|
+
Aws::S3::EndpointParameters.create(
|
1132
|
+
context.config,
|
1133
|
+
bucket: context.params[:bucket],
|
1134
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1135
|
+
accelerate: context[:use_accelerate_endpoint],
|
1136
|
+
)
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
class SelectObjectContent
|
1141
|
+
def self.build(context)
|
1142
|
+
Aws::S3::EndpointParameters.create(
|
1143
|
+
context.config,
|
1144
|
+
bucket: context.params[:bucket],
|
1145
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1146
|
+
accelerate: context[:use_accelerate_endpoint],
|
1147
|
+
)
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
class UploadPart
|
1152
|
+
def self.build(context)
|
1153
|
+
Aws::S3::EndpointParameters.create(
|
1154
|
+
context.config,
|
1155
|
+
bucket: context.params[:bucket],
|
1156
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1157
|
+
accelerate: context[:use_accelerate_endpoint],
|
1158
|
+
key: context.params[:key],
|
1159
|
+
)
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
class UploadPartCopy
|
1164
|
+
def self.build(context)
|
1165
|
+
Aws::S3::EndpointParameters.create(
|
1166
|
+
context.config,
|
1167
|
+
bucket: context.params[:bucket],
|
1168
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1169
|
+
accelerate: context[:use_accelerate_endpoint],
|
1170
|
+
disable_s3_express_session_auth: true,
|
1171
|
+
)
|
1172
|
+
end
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
class WriteGetObjectResponse
|
1176
|
+
def self.build(context)
|
1177
|
+
Aws::S3::EndpointParameters.create(
|
1178
|
+
context.config,
|
1179
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1180
|
+
accelerate: context[:use_accelerate_endpoint],
|
1181
|
+
use_object_lambda_endpoint: true,
|
1182
|
+
)
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
|
1187
|
+
def self.parameters_for_operation(context)
|
1188
|
+
case context.operation_name
|
1189
|
+
when :abort_multipart_upload
|
1190
|
+
AbortMultipartUpload.build(context)
|
1191
|
+
when :complete_multipart_upload
|
1192
|
+
CompleteMultipartUpload.build(context)
|
1193
|
+
when :copy_object
|
1194
|
+
CopyObject.build(context)
|
1195
|
+
when :create_bucket
|
1196
|
+
CreateBucket.build(context)
|
1197
|
+
when :create_multipart_upload
|
1198
|
+
CreateMultipartUpload.build(context)
|
1199
|
+
when :create_session
|
1200
|
+
CreateSession.build(context)
|
1201
|
+
when :delete_bucket
|
1202
|
+
DeleteBucket.build(context)
|
1203
|
+
when :delete_bucket_analytics_configuration
|
1204
|
+
DeleteBucketAnalyticsConfiguration.build(context)
|
1205
|
+
when :delete_bucket_cors
|
1206
|
+
DeleteBucketCors.build(context)
|
1207
|
+
when :delete_bucket_encryption
|
1208
|
+
DeleteBucketEncryption.build(context)
|
1209
|
+
when :delete_bucket_intelligent_tiering_configuration
|
1210
|
+
DeleteBucketIntelligentTieringConfiguration.build(context)
|
1211
|
+
when :delete_bucket_inventory_configuration
|
1212
|
+
DeleteBucketInventoryConfiguration.build(context)
|
1213
|
+
when :delete_bucket_lifecycle
|
1214
|
+
DeleteBucketLifecycle.build(context)
|
1215
|
+
when :delete_bucket_metrics_configuration
|
1216
|
+
DeleteBucketMetricsConfiguration.build(context)
|
1217
|
+
when :delete_bucket_ownership_controls
|
1218
|
+
DeleteBucketOwnershipControls.build(context)
|
1219
|
+
when :delete_bucket_policy
|
1220
|
+
DeleteBucketPolicy.build(context)
|
1221
|
+
when :delete_bucket_replication
|
1222
|
+
DeleteBucketReplication.build(context)
|
1223
|
+
when :delete_bucket_tagging
|
1224
|
+
DeleteBucketTagging.build(context)
|
1225
|
+
when :delete_bucket_website
|
1226
|
+
DeleteBucketWebsite.build(context)
|
1227
|
+
when :delete_object
|
1228
|
+
DeleteObject.build(context)
|
1229
|
+
when :delete_object_tagging
|
1230
|
+
DeleteObjectTagging.build(context)
|
1231
|
+
when :delete_objects
|
1232
|
+
DeleteObjects.build(context)
|
1233
|
+
when :delete_public_access_block
|
1234
|
+
DeletePublicAccessBlock.build(context)
|
1235
|
+
when :get_bucket_accelerate_configuration
|
1236
|
+
GetBucketAccelerateConfiguration.build(context)
|
1237
|
+
when :get_bucket_acl
|
1238
|
+
GetBucketAcl.build(context)
|
1239
|
+
when :get_bucket_analytics_configuration
|
1240
|
+
GetBucketAnalyticsConfiguration.build(context)
|
1241
|
+
when :get_bucket_cors
|
1242
|
+
GetBucketCors.build(context)
|
1243
|
+
when :get_bucket_encryption
|
1244
|
+
GetBucketEncryption.build(context)
|
1245
|
+
when :get_bucket_intelligent_tiering_configuration
|
1246
|
+
GetBucketIntelligentTieringConfiguration.build(context)
|
1247
|
+
when :get_bucket_inventory_configuration
|
1248
|
+
GetBucketInventoryConfiguration.build(context)
|
1249
|
+
when :get_bucket_lifecycle
|
1250
|
+
GetBucketLifecycle.build(context)
|
1251
|
+
when :get_bucket_lifecycle_configuration
|
1252
|
+
GetBucketLifecycleConfiguration.build(context)
|
1253
|
+
when :get_bucket_location
|
1254
|
+
GetBucketLocation.build(context)
|
1255
|
+
when :get_bucket_logging
|
1256
|
+
GetBucketLogging.build(context)
|
1257
|
+
when :get_bucket_metrics_configuration
|
1258
|
+
GetBucketMetricsConfiguration.build(context)
|
1259
|
+
when :get_bucket_notification
|
1260
|
+
GetBucketNotification.build(context)
|
1261
|
+
when :get_bucket_notification_configuration
|
1262
|
+
GetBucketNotificationConfiguration.build(context)
|
1263
|
+
when :get_bucket_ownership_controls
|
1264
|
+
GetBucketOwnershipControls.build(context)
|
1265
|
+
when :get_bucket_policy
|
1266
|
+
GetBucketPolicy.build(context)
|
1267
|
+
when :get_bucket_policy_status
|
1268
|
+
GetBucketPolicyStatus.build(context)
|
1269
|
+
when :get_bucket_replication
|
1270
|
+
GetBucketReplication.build(context)
|
1271
|
+
when :get_bucket_request_payment
|
1272
|
+
GetBucketRequestPayment.build(context)
|
1273
|
+
when :get_bucket_tagging
|
1274
|
+
GetBucketTagging.build(context)
|
1275
|
+
when :get_bucket_versioning
|
1276
|
+
GetBucketVersioning.build(context)
|
1277
|
+
when :get_bucket_website
|
1278
|
+
GetBucketWebsite.build(context)
|
1279
|
+
when :get_object
|
1280
|
+
GetObject.build(context)
|
1281
|
+
when :get_object_acl
|
1282
|
+
GetObjectAcl.build(context)
|
1283
|
+
when :get_object_attributes
|
1284
|
+
GetObjectAttributes.build(context)
|
1285
|
+
when :get_object_legal_hold
|
1286
|
+
GetObjectLegalHold.build(context)
|
1287
|
+
when :get_object_lock_configuration
|
1288
|
+
GetObjectLockConfiguration.build(context)
|
1289
|
+
when :get_object_retention
|
1290
|
+
GetObjectRetention.build(context)
|
1291
|
+
when :get_object_tagging
|
1292
|
+
GetObjectTagging.build(context)
|
1293
|
+
when :get_object_torrent
|
1294
|
+
GetObjectTorrent.build(context)
|
1295
|
+
when :get_public_access_block
|
1296
|
+
GetPublicAccessBlock.build(context)
|
1297
|
+
when :head_bucket
|
1298
|
+
HeadBucket.build(context)
|
1299
|
+
when :head_object
|
1300
|
+
HeadObject.build(context)
|
1301
|
+
when :list_bucket_analytics_configurations
|
1302
|
+
ListBucketAnalyticsConfigurations.build(context)
|
1303
|
+
when :list_bucket_intelligent_tiering_configurations
|
1304
|
+
ListBucketIntelligentTieringConfigurations.build(context)
|
1305
|
+
when :list_bucket_inventory_configurations
|
1306
|
+
ListBucketInventoryConfigurations.build(context)
|
1307
|
+
when :list_bucket_metrics_configurations
|
1308
|
+
ListBucketMetricsConfigurations.build(context)
|
1309
|
+
when :list_buckets
|
1310
|
+
ListBuckets.build(context)
|
1311
|
+
when :list_directory_buckets
|
1312
|
+
ListDirectoryBuckets.build(context)
|
1313
|
+
when :list_multipart_uploads
|
1314
|
+
ListMultipartUploads.build(context)
|
1315
|
+
when :list_object_versions
|
1316
|
+
ListObjectVersions.build(context)
|
1317
|
+
when :list_objects
|
1318
|
+
ListObjects.build(context)
|
1319
|
+
when :list_objects_v2
|
1320
|
+
ListObjectsV2.build(context)
|
1321
|
+
when :list_parts
|
1322
|
+
ListParts.build(context)
|
1323
|
+
when :put_bucket_accelerate_configuration
|
1324
|
+
PutBucketAccelerateConfiguration.build(context)
|
1325
|
+
when :put_bucket_acl
|
1326
|
+
PutBucketAcl.build(context)
|
1327
|
+
when :put_bucket_analytics_configuration
|
1328
|
+
PutBucketAnalyticsConfiguration.build(context)
|
1329
|
+
when :put_bucket_cors
|
1330
|
+
PutBucketCors.build(context)
|
1331
|
+
when :put_bucket_encryption
|
1332
|
+
PutBucketEncryption.build(context)
|
1333
|
+
when :put_bucket_intelligent_tiering_configuration
|
1334
|
+
PutBucketIntelligentTieringConfiguration.build(context)
|
1335
|
+
when :put_bucket_inventory_configuration
|
1336
|
+
PutBucketInventoryConfiguration.build(context)
|
1337
|
+
when :put_bucket_lifecycle
|
1338
|
+
PutBucketLifecycle.build(context)
|
1339
|
+
when :put_bucket_lifecycle_configuration
|
1340
|
+
PutBucketLifecycleConfiguration.build(context)
|
1341
|
+
when :put_bucket_logging
|
1342
|
+
PutBucketLogging.build(context)
|
1343
|
+
when :put_bucket_metrics_configuration
|
1344
|
+
PutBucketMetricsConfiguration.build(context)
|
1345
|
+
when :put_bucket_notification
|
1346
|
+
PutBucketNotification.build(context)
|
1347
|
+
when :put_bucket_notification_configuration
|
1348
|
+
PutBucketNotificationConfiguration.build(context)
|
1349
|
+
when :put_bucket_ownership_controls
|
1350
|
+
PutBucketOwnershipControls.build(context)
|
1351
|
+
when :put_bucket_policy
|
1352
|
+
PutBucketPolicy.build(context)
|
1353
|
+
when :put_bucket_replication
|
1354
|
+
PutBucketReplication.build(context)
|
1355
|
+
when :put_bucket_request_payment
|
1356
|
+
PutBucketRequestPayment.build(context)
|
1357
|
+
when :put_bucket_tagging
|
1358
|
+
PutBucketTagging.build(context)
|
1359
|
+
when :put_bucket_versioning
|
1360
|
+
PutBucketVersioning.build(context)
|
1361
|
+
when :put_bucket_website
|
1362
|
+
PutBucketWebsite.build(context)
|
1363
|
+
when :put_object
|
1364
|
+
PutObject.build(context)
|
1365
|
+
when :put_object_acl
|
1366
|
+
PutObjectAcl.build(context)
|
1367
|
+
when :put_object_legal_hold
|
1368
|
+
PutObjectLegalHold.build(context)
|
1369
|
+
when :put_object_lock_configuration
|
1370
|
+
PutObjectLockConfiguration.build(context)
|
1371
|
+
when :put_object_retention
|
1372
|
+
PutObjectRetention.build(context)
|
1373
|
+
when :put_object_tagging
|
1374
|
+
PutObjectTagging.build(context)
|
1375
|
+
when :put_public_access_block
|
1376
|
+
PutPublicAccessBlock.build(context)
|
1377
|
+
when :restore_object
|
1378
|
+
RestoreObject.build(context)
|
1379
|
+
when :select_object_content
|
1380
|
+
SelectObjectContent.build(context)
|
1381
|
+
when :upload_part
|
1382
|
+
UploadPart.build(context)
|
1383
|
+
when :upload_part_copy
|
1384
|
+
UploadPartCopy.build(context)
|
1385
|
+
when :write_get_object_response
|
1386
|
+
WriteGetObjectResponse.build(context)
|
1387
|
+
else
|
1388
|
+
Aws::S3::EndpointParameters.create(context.config)
|
1389
|
+
end
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
end
|