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