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