aws-sdk-s3control 1.53.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +146 -119
- data/lib/aws-sdk-s3control/client_api.rb +66 -116
- data/lib/aws-sdk-s3control/endpoint_parameters.rb +114 -0
- data/lib/aws-sdk-s3control/endpoint_provider.rb +545 -0
- data/lib/aws-sdk-s3control/endpoints.rb +1195 -0
- data/lib/aws-sdk-s3control/plugins/arn.rb +1 -162
- data/lib/aws-sdk-s3control/plugins/dualstack.rb +2 -31
- data/lib/aws-sdk-s3control/plugins/endpoints.rb +186 -0
- data/lib/aws-sdk-s3control/types.rb +121 -68
- data/lib/aws-sdk-s3control.rb +5 -1
- metadata +8 -5
- data/lib/aws-sdk-s3control/plugins/s3_control_signer.rb +0 -97
@@ -0,0 +1,1195 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::S3Control
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CreateAccessPoint
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::S3Control::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_fips: context.config.use_fips_endpoint,
|
22
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
23
|
+
endpoint: endpoint,
|
24
|
+
account_id: context.params[:account_id],
|
25
|
+
requires_account_id: true,
|
26
|
+
outpost_id: nil,
|
27
|
+
bucket: context.params[:bucket],
|
28
|
+
access_point_name: nil,
|
29
|
+
use_arn_region: context.config.s3_use_arn_region,
|
30
|
+
)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
class CreateAccessPointForObjectLambda
|
35
|
+
def self.build(context)
|
36
|
+
unless context.config.regional_endpoint
|
37
|
+
endpoint = context.config.endpoint.to_s
|
38
|
+
end
|
39
|
+
Aws::S3Control::EndpointParameters.new(
|
40
|
+
region: context.config.region,
|
41
|
+
use_fips: context.config.use_fips_endpoint,
|
42
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
43
|
+
endpoint: endpoint,
|
44
|
+
account_id: context.params[:account_id],
|
45
|
+
requires_account_id: true,
|
46
|
+
outpost_id: nil,
|
47
|
+
bucket: nil,
|
48
|
+
access_point_name: nil,
|
49
|
+
use_arn_region: context.config.s3_use_arn_region,
|
50
|
+
)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
class CreateBucket
|
55
|
+
def self.build(context)
|
56
|
+
unless context.config.regional_endpoint
|
57
|
+
endpoint = context.config.endpoint.to_s
|
58
|
+
end
|
59
|
+
Aws::S3Control::EndpointParameters.new(
|
60
|
+
region: context.config.region,
|
61
|
+
use_fips: context.config.use_fips_endpoint,
|
62
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
63
|
+
endpoint: endpoint,
|
64
|
+
account_id: nil,
|
65
|
+
requires_account_id: nil,
|
66
|
+
outpost_id: context.params[:outpost_id],
|
67
|
+
bucket: context.params[:bucket],
|
68
|
+
access_point_name: nil,
|
69
|
+
use_arn_region: context.config.s3_use_arn_region,
|
70
|
+
)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
class CreateJob
|
75
|
+
def self.build(context)
|
76
|
+
unless context.config.regional_endpoint
|
77
|
+
endpoint = context.config.endpoint.to_s
|
78
|
+
end
|
79
|
+
Aws::S3Control::EndpointParameters.new(
|
80
|
+
region: context.config.region,
|
81
|
+
use_fips: context.config.use_fips_endpoint,
|
82
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
83
|
+
endpoint: endpoint,
|
84
|
+
account_id: context.params[:account_id],
|
85
|
+
requires_account_id: true,
|
86
|
+
outpost_id: nil,
|
87
|
+
bucket: nil,
|
88
|
+
access_point_name: nil,
|
89
|
+
use_arn_region: context.config.s3_use_arn_region,
|
90
|
+
)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
class CreateMultiRegionAccessPoint
|
95
|
+
def self.build(context)
|
96
|
+
unless context.config.regional_endpoint
|
97
|
+
endpoint = context.config.endpoint.to_s
|
98
|
+
end
|
99
|
+
Aws::S3Control::EndpointParameters.new(
|
100
|
+
region: context.config.region,
|
101
|
+
use_fips: context.config.use_fips_endpoint,
|
102
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
103
|
+
endpoint: endpoint,
|
104
|
+
account_id: context.params[:account_id],
|
105
|
+
requires_account_id: true,
|
106
|
+
outpost_id: nil,
|
107
|
+
bucket: nil,
|
108
|
+
access_point_name: nil,
|
109
|
+
use_arn_region: context.config.s3_use_arn_region,
|
110
|
+
)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
class DeleteAccessPoint
|
115
|
+
def self.build(context)
|
116
|
+
unless context.config.regional_endpoint
|
117
|
+
endpoint = context.config.endpoint.to_s
|
118
|
+
end
|
119
|
+
Aws::S3Control::EndpointParameters.new(
|
120
|
+
region: context.config.region,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
123
|
+
endpoint: endpoint,
|
124
|
+
account_id: context.params[:account_id],
|
125
|
+
requires_account_id: true,
|
126
|
+
outpost_id: nil,
|
127
|
+
bucket: nil,
|
128
|
+
access_point_name: context.params[:name],
|
129
|
+
use_arn_region: context.config.s3_use_arn_region,
|
130
|
+
)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
class DeleteAccessPointForObjectLambda
|
135
|
+
def self.build(context)
|
136
|
+
unless context.config.regional_endpoint
|
137
|
+
endpoint = context.config.endpoint.to_s
|
138
|
+
end
|
139
|
+
Aws::S3Control::EndpointParameters.new(
|
140
|
+
region: context.config.region,
|
141
|
+
use_fips: context.config.use_fips_endpoint,
|
142
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
143
|
+
endpoint: endpoint,
|
144
|
+
account_id: context.params[:account_id],
|
145
|
+
requires_account_id: true,
|
146
|
+
outpost_id: nil,
|
147
|
+
bucket: nil,
|
148
|
+
access_point_name: nil,
|
149
|
+
use_arn_region: context.config.s3_use_arn_region,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class DeleteAccessPointPolicy
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::S3Control::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_fips: context.config.use_fips_endpoint,
|
162
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
163
|
+
endpoint: endpoint,
|
164
|
+
account_id: context.params[:account_id],
|
165
|
+
requires_account_id: true,
|
166
|
+
outpost_id: nil,
|
167
|
+
bucket: nil,
|
168
|
+
access_point_name: context.params[:name],
|
169
|
+
use_arn_region: context.config.s3_use_arn_region,
|
170
|
+
)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
class DeleteAccessPointPolicyForObjectLambda
|
175
|
+
def self.build(context)
|
176
|
+
unless context.config.regional_endpoint
|
177
|
+
endpoint = context.config.endpoint.to_s
|
178
|
+
end
|
179
|
+
Aws::S3Control::EndpointParameters.new(
|
180
|
+
region: context.config.region,
|
181
|
+
use_fips: context.config.use_fips_endpoint,
|
182
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
183
|
+
endpoint: endpoint,
|
184
|
+
account_id: context.params[:account_id],
|
185
|
+
requires_account_id: true,
|
186
|
+
outpost_id: nil,
|
187
|
+
bucket: nil,
|
188
|
+
access_point_name: nil,
|
189
|
+
use_arn_region: context.config.s3_use_arn_region,
|
190
|
+
)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
class DeleteBucket
|
195
|
+
def self.build(context)
|
196
|
+
unless context.config.regional_endpoint
|
197
|
+
endpoint = context.config.endpoint.to_s
|
198
|
+
end
|
199
|
+
Aws::S3Control::EndpointParameters.new(
|
200
|
+
region: context.config.region,
|
201
|
+
use_fips: context.config.use_fips_endpoint,
|
202
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
203
|
+
endpoint: endpoint,
|
204
|
+
account_id: context.params[:account_id],
|
205
|
+
requires_account_id: true,
|
206
|
+
outpost_id: nil,
|
207
|
+
bucket: context.params[:bucket],
|
208
|
+
access_point_name: nil,
|
209
|
+
use_arn_region: context.config.s3_use_arn_region,
|
210
|
+
)
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
class DeleteBucketLifecycleConfiguration
|
215
|
+
def self.build(context)
|
216
|
+
unless context.config.regional_endpoint
|
217
|
+
endpoint = context.config.endpoint.to_s
|
218
|
+
end
|
219
|
+
Aws::S3Control::EndpointParameters.new(
|
220
|
+
region: context.config.region,
|
221
|
+
use_fips: context.config.use_fips_endpoint,
|
222
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
223
|
+
endpoint: endpoint,
|
224
|
+
account_id: context.params[:account_id],
|
225
|
+
requires_account_id: true,
|
226
|
+
outpost_id: nil,
|
227
|
+
bucket: context.params[:bucket],
|
228
|
+
access_point_name: nil,
|
229
|
+
use_arn_region: context.config.s3_use_arn_region,
|
230
|
+
)
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
class DeleteBucketPolicy
|
235
|
+
def self.build(context)
|
236
|
+
unless context.config.regional_endpoint
|
237
|
+
endpoint = context.config.endpoint.to_s
|
238
|
+
end
|
239
|
+
Aws::S3Control::EndpointParameters.new(
|
240
|
+
region: context.config.region,
|
241
|
+
use_fips: context.config.use_fips_endpoint,
|
242
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
243
|
+
endpoint: endpoint,
|
244
|
+
account_id: context.params[:account_id],
|
245
|
+
requires_account_id: true,
|
246
|
+
outpost_id: nil,
|
247
|
+
bucket: context.params[:bucket],
|
248
|
+
access_point_name: nil,
|
249
|
+
use_arn_region: context.config.s3_use_arn_region,
|
250
|
+
)
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
class DeleteBucketTagging
|
255
|
+
def self.build(context)
|
256
|
+
unless context.config.regional_endpoint
|
257
|
+
endpoint = context.config.endpoint.to_s
|
258
|
+
end
|
259
|
+
Aws::S3Control::EndpointParameters.new(
|
260
|
+
region: context.config.region,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
263
|
+
endpoint: endpoint,
|
264
|
+
account_id: context.params[:account_id],
|
265
|
+
requires_account_id: true,
|
266
|
+
outpost_id: nil,
|
267
|
+
bucket: context.params[:bucket],
|
268
|
+
access_point_name: nil,
|
269
|
+
use_arn_region: context.config.s3_use_arn_region,
|
270
|
+
)
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
class DeleteJobTagging
|
275
|
+
def self.build(context)
|
276
|
+
unless context.config.regional_endpoint
|
277
|
+
endpoint = context.config.endpoint.to_s
|
278
|
+
end
|
279
|
+
Aws::S3Control::EndpointParameters.new(
|
280
|
+
region: context.config.region,
|
281
|
+
use_fips: context.config.use_fips_endpoint,
|
282
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
283
|
+
endpoint: endpoint,
|
284
|
+
account_id: context.params[:account_id],
|
285
|
+
requires_account_id: true,
|
286
|
+
outpost_id: nil,
|
287
|
+
bucket: nil,
|
288
|
+
access_point_name: nil,
|
289
|
+
use_arn_region: context.config.s3_use_arn_region,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class DeleteMultiRegionAccessPoint
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::S3Control::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_fips: context.config.use_fips_endpoint,
|
302
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
303
|
+
endpoint: endpoint,
|
304
|
+
account_id: context.params[:account_id],
|
305
|
+
requires_account_id: true,
|
306
|
+
outpost_id: nil,
|
307
|
+
bucket: nil,
|
308
|
+
access_point_name: nil,
|
309
|
+
use_arn_region: context.config.s3_use_arn_region,
|
310
|
+
)
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
class DeletePublicAccessBlock
|
315
|
+
def self.build(context)
|
316
|
+
unless context.config.regional_endpoint
|
317
|
+
endpoint = context.config.endpoint.to_s
|
318
|
+
end
|
319
|
+
Aws::S3Control::EndpointParameters.new(
|
320
|
+
region: context.config.region,
|
321
|
+
use_fips: context.config.use_fips_endpoint,
|
322
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
323
|
+
endpoint: endpoint,
|
324
|
+
account_id: context.params[:account_id],
|
325
|
+
requires_account_id: true,
|
326
|
+
outpost_id: nil,
|
327
|
+
bucket: nil,
|
328
|
+
access_point_name: nil,
|
329
|
+
use_arn_region: context.config.s3_use_arn_region,
|
330
|
+
)
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
class DeleteStorageLensConfiguration
|
335
|
+
def self.build(context)
|
336
|
+
unless context.config.regional_endpoint
|
337
|
+
endpoint = context.config.endpoint.to_s
|
338
|
+
end
|
339
|
+
Aws::S3Control::EndpointParameters.new(
|
340
|
+
region: context.config.region,
|
341
|
+
use_fips: context.config.use_fips_endpoint,
|
342
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
343
|
+
endpoint: endpoint,
|
344
|
+
account_id: context.params[:account_id],
|
345
|
+
requires_account_id: true,
|
346
|
+
outpost_id: nil,
|
347
|
+
bucket: nil,
|
348
|
+
access_point_name: nil,
|
349
|
+
use_arn_region: context.config.s3_use_arn_region,
|
350
|
+
)
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
class DeleteStorageLensConfigurationTagging
|
355
|
+
def self.build(context)
|
356
|
+
unless context.config.regional_endpoint
|
357
|
+
endpoint = context.config.endpoint.to_s
|
358
|
+
end
|
359
|
+
Aws::S3Control::EndpointParameters.new(
|
360
|
+
region: context.config.region,
|
361
|
+
use_fips: context.config.use_fips_endpoint,
|
362
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
363
|
+
endpoint: endpoint,
|
364
|
+
account_id: context.params[:account_id],
|
365
|
+
requires_account_id: true,
|
366
|
+
outpost_id: nil,
|
367
|
+
bucket: nil,
|
368
|
+
access_point_name: nil,
|
369
|
+
use_arn_region: context.config.s3_use_arn_region,
|
370
|
+
)
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
class DescribeJob
|
375
|
+
def self.build(context)
|
376
|
+
unless context.config.regional_endpoint
|
377
|
+
endpoint = context.config.endpoint.to_s
|
378
|
+
end
|
379
|
+
Aws::S3Control::EndpointParameters.new(
|
380
|
+
region: context.config.region,
|
381
|
+
use_fips: context.config.use_fips_endpoint,
|
382
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
383
|
+
endpoint: endpoint,
|
384
|
+
account_id: context.params[:account_id],
|
385
|
+
requires_account_id: true,
|
386
|
+
outpost_id: nil,
|
387
|
+
bucket: nil,
|
388
|
+
access_point_name: nil,
|
389
|
+
use_arn_region: context.config.s3_use_arn_region,
|
390
|
+
)
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
class DescribeMultiRegionAccessPointOperation
|
395
|
+
def self.build(context)
|
396
|
+
unless context.config.regional_endpoint
|
397
|
+
endpoint = context.config.endpoint.to_s
|
398
|
+
end
|
399
|
+
Aws::S3Control::EndpointParameters.new(
|
400
|
+
region: context.config.region,
|
401
|
+
use_fips: context.config.use_fips_endpoint,
|
402
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
403
|
+
endpoint: endpoint,
|
404
|
+
account_id: context.params[:account_id],
|
405
|
+
requires_account_id: true,
|
406
|
+
outpost_id: nil,
|
407
|
+
bucket: nil,
|
408
|
+
access_point_name: nil,
|
409
|
+
use_arn_region: context.config.s3_use_arn_region,
|
410
|
+
)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
class GetAccessPoint
|
415
|
+
def self.build(context)
|
416
|
+
unless context.config.regional_endpoint
|
417
|
+
endpoint = context.config.endpoint.to_s
|
418
|
+
end
|
419
|
+
Aws::S3Control::EndpointParameters.new(
|
420
|
+
region: context.config.region,
|
421
|
+
use_fips: context.config.use_fips_endpoint,
|
422
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
423
|
+
endpoint: endpoint,
|
424
|
+
account_id: context.params[:account_id],
|
425
|
+
requires_account_id: true,
|
426
|
+
outpost_id: nil,
|
427
|
+
bucket: nil,
|
428
|
+
access_point_name: context.params[:name],
|
429
|
+
use_arn_region: context.config.s3_use_arn_region,
|
430
|
+
)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
class GetAccessPointConfigurationForObjectLambda
|
435
|
+
def self.build(context)
|
436
|
+
unless context.config.regional_endpoint
|
437
|
+
endpoint = context.config.endpoint.to_s
|
438
|
+
end
|
439
|
+
Aws::S3Control::EndpointParameters.new(
|
440
|
+
region: context.config.region,
|
441
|
+
use_fips: context.config.use_fips_endpoint,
|
442
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
443
|
+
endpoint: endpoint,
|
444
|
+
account_id: context.params[:account_id],
|
445
|
+
requires_account_id: true,
|
446
|
+
outpost_id: nil,
|
447
|
+
bucket: nil,
|
448
|
+
access_point_name: nil,
|
449
|
+
use_arn_region: context.config.s3_use_arn_region,
|
450
|
+
)
|
451
|
+
end
|
452
|
+
end
|
453
|
+
|
454
|
+
class GetAccessPointForObjectLambda
|
455
|
+
def self.build(context)
|
456
|
+
unless context.config.regional_endpoint
|
457
|
+
endpoint = context.config.endpoint.to_s
|
458
|
+
end
|
459
|
+
Aws::S3Control::EndpointParameters.new(
|
460
|
+
region: context.config.region,
|
461
|
+
use_fips: context.config.use_fips_endpoint,
|
462
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
463
|
+
endpoint: endpoint,
|
464
|
+
account_id: context.params[:account_id],
|
465
|
+
requires_account_id: true,
|
466
|
+
outpost_id: nil,
|
467
|
+
bucket: nil,
|
468
|
+
access_point_name: nil,
|
469
|
+
use_arn_region: context.config.s3_use_arn_region,
|
470
|
+
)
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
class GetAccessPointPolicy
|
475
|
+
def self.build(context)
|
476
|
+
unless context.config.regional_endpoint
|
477
|
+
endpoint = context.config.endpoint.to_s
|
478
|
+
end
|
479
|
+
Aws::S3Control::EndpointParameters.new(
|
480
|
+
region: context.config.region,
|
481
|
+
use_fips: context.config.use_fips_endpoint,
|
482
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
483
|
+
endpoint: endpoint,
|
484
|
+
account_id: context.params[:account_id],
|
485
|
+
requires_account_id: true,
|
486
|
+
outpost_id: nil,
|
487
|
+
bucket: nil,
|
488
|
+
access_point_name: context.params[:name],
|
489
|
+
use_arn_region: context.config.s3_use_arn_region,
|
490
|
+
)
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
class GetAccessPointPolicyForObjectLambda
|
495
|
+
def self.build(context)
|
496
|
+
unless context.config.regional_endpoint
|
497
|
+
endpoint = context.config.endpoint.to_s
|
498
|
+
end
|
499
|
+
Aws::S3Control::EndpointParameters.new(
|
500
|
+
region: context.config.region,
|
501
|
+
use_fips: context.config.use_fips_endpoint,
|
502
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
503
|
+
endpoint: endpoint,
|
504
|
+
account_id: context.params[:account_id],
|
505
|
+
requires_account_id: true,
|
506
|
+
outpost_id: nil,
|
507
|
+
bucket: nil,
|
508
|
+
access_point_name: nil,
|
509
|
+
use_arn_region: context.config.s3_use_arn_region,
|
510
|
+
)
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
class GetAccessPointPolicyStatus
|
515
|
+
def self.build(context)
|
516
|
+
unless context.config.regional_endpoint
|
517
|
+
endpoint = context.config.endpoint.to_s
|
518
|
+
end
|
519
|
+
Aws::S3Control::EndpointParameters.new(
|
520
|
+
region: context.config.region,
|
521
|
+
use_fips: context.config.use_fips_endpoint,
|
522
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
523
|
+
endpoint: endpoint,
|
524
|
+
account_id: context.params[:account_id],
|
525
|
+
requires_account_id: true,
|
526
|
+
outpost_id: nil,
|
527
|
+
bucket: nil,
|
528
|
+
access_point_name: context.params[:name],
|
529
|
+
use_arn_region: context.config.s3_use_arn_region,
|
530
|
+
)
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
class GetAccessPointPolicyStatusForObjectLambda
|
535
|
+
def self.build(context)
|
536
|
+
unless context.config.regional_endpoint
|
537
|
+
endpoint = context.config.endpoint.to_s
|
538
|
+
end
|
539
|
+
Aws::S3Control::EndpointParameters.new(
|
540
|
+
region: context.config.region,
|
541
|
+
use_fips: context.config.use_fips_endpoint,
|
542
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
543
|
+
endpoint: endpoint,
|
544
|
+
account_id: context.params[:account_id],
|
545
|
+
requires_account_id: true,
|
546
|
+
outpost_id: nil,
|
547
|
+
bucket: nil,
|
548
|
+
access_point_name: nil,
|
549
|
+
use_arn_region: context.config.s3_use_arn_region,
|
550
|
+
)
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
554
|
+
class GetBucket
|
555
|
+
def self.build(context)
|
556
|
+
unless context.config.regional_endpoint
|
557
|
+
endpoint = context.config.endpoint.to_s
|
558
|
+
end
|
559
|
+
Aws::S3Control::EndpointParameters.new(
|
560
|
+
region: context.config.region,
|
561
|
+
use_fips: context.config.use_fips_endpoint,
|
562
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
563
|
+
endpoint: endpoint,
|
564
|
+
account_id: context.params[:account_id],
|
565
|
+
requires_account_id: true,
|
566
|
+
outpost_id: nil,
|
567
|
+
bucket: context.params[:bucket],
|
568
|
+
access_point_name: nil,
|
569
|
+
use_arn_region: context.config.s3_use_arn_region,
|
570
|
+
)
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
class GetBucketLifecycleConfiguration
|
575
|
+
def self.build(context)
|
576
|
+
unless context.config.regional_endpoint
|
577
|
+
endpoint = context.config.endpoint.to_s
|
578
|
+
end
|
579
|
+
Aws::S3Control::EndpointParameters.new(
|
580
|
+
region: context.config.region,
|
581
|
+
use_fips: context.config.use_fips_endpoint,
|
582
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
583
|
+
endpoint: endpoint,
|
584
|
+
account_id: context.params[:account_id],
|
585
|
+
requires_account_id: true,
|
586
|
+
outpost_id: nil,
|
587
|
+
bucket: context.params[:bucket],
|
588
|
+
access_point_name: nil,
|
589
|
+
use_arn_region: context.config.s3_use_arn_region,
|
590
|
+
)
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
class GetBucketPolicy
|
595
|
+
def self.build(context)
|
596
|
+
unless context.config.regional_endpoint
|
597
|
+
endpoint = context.config.endpoint.to_s
|
598
|
+
end
|
599
|
+
Aws::S3Control::EndpointParameters.new(
|
600
|
+
region: context.config.region,
|
601
|
+
use_fips: context.config.use_fips_endpoint,
|
602
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
603
|
+
endpoint: endpoint,
|
604
|
+
account_id: context.params[:account_id],
|
605
|
+
requires_account_id: true,
|
606
|
+
outpost_id: nil,
|
607
|
+
bucket: context.params[:bucket],
|
608
|
+
access_point_name: nil,
|
609
|
+
use_arn_region: context.config.s3_use_arn_region,
|
610
|
+
)
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
class GetBucketTagging
|
615
|
+
def self.build(context)
|
616
|
+
unless context.config.regional_endpoint
|
617
|
+
endpoint = context.config.endpoint.to_s
|
618
|
+
end
|
619
|
+
Aws::S3Control::EndpointParameters.new(
|
620
|
+
region: context.config.region,
|
621
|
+
use_fips: context.config.use_fips_endpoint,
|
622
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
623
|
+
endpoint: endpoint,
|
624
|
+
account_id: context.params[:account_id],
|
625
|
+
requires_account_id: true,
|
626
|
+
outpost_id: nil,
|
627
|
+
bucket: context.params[:bucket],
|
628
|
+
access_point_name: nil,
|
629
|
+
use_arn_region: context.config.s3_use_arn_region,
|
630
|
+
)
|
631
|
+
end
|
632
|
+
end
|
633
|
+
|
634
|
+
class GetBucketVersioning
|
635
|
+
def self.build(context)
|
636
|
+
unless context.config.regional_endpoint
|
637
|
+
endpoint = context.config.endpoint.to_s
|
638
|
+
end
|
639
|
+
Aws::S3Control::EndpointParameters.new(
|
640
|
+
region: context.config.region,
|
641
|
+
use_fips: context.config.use_fips_endpoint,
|
642
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
643
|
+
endpoint: endpoint,
|
644
|
+
account_id: nil,
|
645
|
+
requires_account_id: nil,
|
646
|
+
outpost_id: nil,
|
647
|
+
bucket: nil,
|
648
|
+
access_point_name: nil,
|
649
|
+
use_arn_region: context.config.s3_use_arn_region,
|
650
|
+
)
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
class GetJobTagging
|
655
|
+
def self.build(context)
|
656
|
+
unless context.config.regional_endpoint
|
657
|
+
endpoint = context.config.endpoint.to_s
|
658
|
+
end
|
659
|
+
Aws::S3Control::EndpointParameters.new(
|
660
|
+
region: context.config.region,
|
661
|
+
use_fips: context.config.use_fips_endpoint,
|
662
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
663
|
+
endpoint: endpoint,
|
664
|
+
account_id: context.params[:account_id],
|
665
|
+
requires_account_id: true,
|
666
|
+
outpost_id: nil,
|
667
|
+
bucket: nil,
|
668
|
+
access_point_name: nil,
|
669
|
+
use_arn_region: context.config.s3_use_arn_region,
|
670
|
+
)
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
class GetMultiRegionAccessPoint
|
675
|
+
def self.build(context)
|
676
|
+
unless context.config.regional_endpoint
|
677
|
+
endpoint = context.config.endpoint.to_s
|
678
|
+
end
|
679
|
+
Aws::S3Control::EndpointParameters.new(
|
680
|
+
region: context.config.region,
|
681
|
+
use_fips: context.config.use_fips_endpoint,
|
682
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
683
|
+
endpoint: endpoint,
|
684
|
+
account_id: context.params[:account_id],
|
685
|
+
requires_account_id: true,
|
686
|
+
outpost_id: nil,
|
687
|
+
bucket: nil,
|
688
|
+
access_point_name: nil,
|
689
|
+
use_arn_region: context.config.s3_use_arn_region,
|
690
|
+
)
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
class GetMultiRegionAccessPointPolicy
|
695
|
+
def self.build(context)
|
696
|
+
unless context.config.regional_endpoint
|
697
|
+
endpoint = context.config.endpoint.to_s
|
698
|
+
end
|
699
|
+
Aws::S3Control::EndpointParameters.new(
|
700
|
+
region: context.config.region,
|
701
|
+
use_fips: context.config.use_fips_endpoint,
|
702
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
703
|
+
endpoint: endpoint,
|
704
|
+
account_id: context.params[:account_id],
|
705
|
+
requires_account_id: true,
|
706
|
+
outpost_id: nil,
|
707
|
+
bucket: nil,
|
708
|
+
access_point_name: nil,
|
709
|
+
use_arn_region: context.config.s3_use_arn_region,
|
710
|
+
)
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
class GetMultiRegionAccessPointPolicyStatus
|
715
|
+
def self.build(context)
|
716
|
+
unless context.config.regional_endpoint
|
717
|
+
endpoint = context.config.endpoint.to_s
|
718
|
+
end
|
719
|
+
Aws::S3Control::EndpointParameters.new(
|
720
|
+
region: context.config.region,
|
721
|
+
use_fips: context.config.use_fips_endpoint,
|
722
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
723
|
+
endpoint: endpoint,
|
724
|
+
account_id: context.params[:account_id],
|
725
|
+
requires_account_id: true,
|
726
|
+
outpost_id: nil,
|
727
|
+
bucket: nil,
|
728
|
+
access_point_name: nil,
|
729
|
+
use_arn_region: context.config.s3_use_arn_region,
|
730
|
+
)
|
731
|
+
end
|
732
|
+
end
|
733
|
+
|
734
|
+
class GetPublicAccessBlock
|
735
|
+
def self.build(context)
|
736
|
+
unless context.config.regional_endpoint
|
737
|
+
endpoint = context.config.endpoint.to_s
|
738
|
+
end
|
739
|
+
Aws::S3Control::EndpointParameters.new(
|
740
|
+
region: context.config.region,
|
741
|
+
use_fips: context.config.use_fips_endpoint,
|
742
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
743
|
+
endpoint: endpoint,
|
744
|
+
account_id: context.params[:account_id],
|
745
|
+
requires_account_id: true,
|
746
|
+
outpost_id: nil,
|
747
|
+
bucket: nil,
|
748
|
+
access_point_name: nil,
|
749
|
+
use_arn_region: context.config.s3_use_arn_region,
|
750
|
+
)
|
751
|
+
end
|
752
|
+
end
|
753
|
+
|
754
|
+
class GetStorageLensConfiguration
|
755
|
+
def self.build(context)
|
756
|
+
unless context.config.regional_endpoint
|
757
|
+
endpoint = context.config.endpoint.to_s
|
758
|
+
end
|
759
|
+
Aws::S3Control::EndpointParameters.new(
|
760
|
+
region: context.config.region,
|
761
|
+
use_fips: context.config.use_fips_endpoint,
|
762
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
763
|
+
endpoint: endpoint,
|
764
|
+
account_id: context.params[:account_id],
|
765
|
+
requires_account_id: true,
|
766
|
+
outpost_id: nil,
|
767
|
+
bucket: nil,
|
768
|
+
access_point_name: nil,
|
769
|
+
use_arn_region: context.config.s3_use_arn_region,
|
770
|
+
)
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
774
|
+
class GetStorageLensConfigurationTagging
|
775
|
+
def self.build(context)
|
776
|
+
unless context.config.regional_endpoint
|
777
|
+
endpoint = context.config.endpoint.to_s
|
778
|
+
end
|
779
|
+
Aws::S3Control::EndpointParameters.new(
|
780
|
+
region: context.config.region,
|
781
|
+
use_fips: context.config.use_fips_endpoint,
|
782
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
783
|
+
endpoint: endpoint,
|
784
|
+
account_id: context.params[:account_id],
|
785
|
+
requires_account_id: true,
|
786
|
+
outpost_id: nil,
|
787
|
+
bucket: nil,
|
788
|
+
access_point_name: nil,
|
789
|
+
use_arn_region: context.config.s3_use_arn_region,
|
790
|
+
)
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
class ListAccessPoints
|
795
|
+
def self.build(context)
|
796
|
+
unless context.config.regional_endpoint
|
797
|
+
endpoint = context.config.endpoint.to_s
|
798
|
+
end
|
799
|
+
Aws::S3Control::EndpointParameters.new(
|
800
|
+
region: context.config.region,
|
801
|
+
use_fips: context.config.use_fips_endpoint,
|
802
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
803
|
+
endpoint: endpoint,
|
804
|
+
account_id: context.params[:account_id],
|
805
|
+
requires_account_id: true,
|
806
|
+
outpost_id: nil,
|
807
|
+
bucket: context.params[:bucket],
|
808
|
+
access_point_name: nil,
|
809
|
+
use_arn_region: context.config.s3_use_arn_region,
|
810
|
+
)
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
814
|
+
class ListAccessPointsForObjectLambda
|
815
|
+
def self.build(context)
|
816
|
+
unless context.config.regional_endpoint
|
817
|
+
endpoint = context.config.endpoint.to_s
|
818
|
+
end
|
819
|
+
Aws::S3Control::EndpointParameters.new(
|
820
|
+
region: context.config.region,
|
821
|
+
use_fips: context.config.use_fips_endpoint,
|
822
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
823
|
+
endpoint: endpoint,
|
824
|
+
account_id: context.params[:account_id],
|
825
|
+
requires_account_id: true,
|
826
|
+
outpost_id: nil,
|
827
|
+
bucket: nil,
|
828
|
+
access_point_name: nil,
|
829
|
+
use_arn_region: context.config.s3_use_arn_region,
|
830
|
+
)
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
834
|
+
class ListJobs
|
835
|
+
def self.build(context)
|
836
|
+
unless context.config.regional_endpoint
|
837
|
+
endpoint = context.config.endpoint.to_s
|
838
|
+
end
|
839
|
+
Aws::S3Control::EndpointParameters.new(
|
840
|
+
region: context.config.region,
|
841
|
+
use_fips: context.config.use_fips_endpoint,
|
842
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
843
|
+
endpoint: endpoint,
|
844
|
+
account_id: context.params[:account_id],
|
845
|
+
requires_account_id: true,
|
846
|
+
outpost_id: nil,
|
847
|
+
bucket: nil,
|
848
|
+
access_point_name: nil,
|
849
|
+
use_arn_region: context.config.s3_use_arn_region,
|
850
|
+
)
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
class ListMultiRegionAccessPoints
|
855
|
+
def self.build(context)
|
856
|
+
unless context.config.regional_endpoint
|
857
|
+
endpoint = context.config.endpoint.to_s
|
858
|
+
end
|
859
|
+
Aws::S3Control::EndpointParameters.new(
|
860
|
+
region: context.config.region,
|
861
|
+
use_fips: context.config.use_fips_endpoint,
|
862
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
863
|
+
endpoint: endpoint,
|
864
|
+
account_id: context.params[:account_id],
|
865
|
+
requires_account_id: true,
|
866
|
+
outpost_id: nil,
|
867
|
+
bucket: nil,
|
868
|
+
access_point_name: nil,
|
869
|
+
use_arn_region: context.config.s3_use_arn_region,
|
870
|
+
)
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
class ListRegionalBuckets
|
875
|
+
def self.build(context)
|
876
|
+
unless context.config.regional_endpoint
|
877
|
+
endpoint = context.config.endpoint.to_s
|
878
|
+
end
|
879
|
+
Aws::S3Control::EndpointParameters.new(
|
880
|
+
region: context.config.region,
|
881
|
+
use_fips: context.config.use_fips_endpoint,
|
882
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
883
|
+
endpoint: endpoint,
|
884
|
+
account_id: context.params[:account_id],
|
885
|
+
requires_account_id: true,
|
886
|
+
outpost_id: context.params[:outpost_id],
|
887
|
+
bucket: nil,
|
888
|
+
access_point_name: nil,
|
889
|
+
use_arn_region: context.config.s3_use_arn_region,
|
890
|
+
)
|
891
|
+
end
|
892
|
+
end
|
893
|
+
|
894
|
+
class ListStorageLensConfigurations
|
895
|
+
def self.build(context)
|
896
|
+
unless context.config.regional_endpoint
|
897
|
+
endpoint = context.config.endpoint.to_s
|
898
|
+
end
|
899
|
+
Aws::S3Control::EndpointParameters.new(
|
900
|
+
region: context.config.region,
|
901
|
+
use_fips: context.config.use_fips_endpoint,
|
902
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
903
|
+
endpoint: endpoint,
|
904
|
+
account_id: context.params[:account_id],
|
905
|
+
requires_account_id: true,
|
906
|
+
outpost_id: nil,
|
907
|
+
bucket: nil,
|
908
|
+
access_point_name: nil,
|
909
|
+
use_arn_region: context.config.s3_use_arn_region,
|
910
|
+
)
|
911
|
+
end
|
912
|
+
end
|
913
|
+
|
914
|
+
class PutAccessPointConfigurationForObjectLambda
|
915
|
+
def self.build(context)
|
916
|
+
unless context.config.regional_endpoint
|
917
|
+
endpoint = context.config.endpoint.to_s
|
918
|
+
end
|
919
|
+
Aws::S3Control::EndpointParameters.new(
|
920
|
+
region: context.config.region,
|
921
|
+
use_fips: context.config.use_fips_endpoint,
|
922
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
923
|
+
endpoint: endpoint,
|
924
|
+
account_id: context.params[:account_id],
|
925
|
+
requires_account_id: true,
|
926
|
+
outpost_id: nil,
|
927
|
+
bucket: nil,
|
928
|
+
access_point_name: nil,
|
929
|
+
use_arn_region: context.config.s3_use_arn_region,
|
930
|
+
)
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
class PutAccessPointPolicy
|
935
|
+
def self.build(context)
|
936
|
+
unless context.config.regional_endpoint
|
937
|
+
endpoint = context.config.endpoint.to_s
|
938
|
+
end
|
939
|
+
Aws::S3Control::EndpointParameters.new(
|
940
|
+
region: context.config.region,
|
941
|
+
use_fips: context.config.use_fips_endpoint,
|
942
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
943
|
+
endpoint: endpoint,
|
944
|
+
account_id: context.params[:account_id],
|
945
|
+
requires_account_id: true,
|
946
|
+
outpost_id: nil,
|
947
|
+
bucket: nil,
|
948
|
+
access_point_name: context.params[:name],
|
949
|
+
use_arn_region: context.config.s3_use_arn_region,
|
950
|
+
)
|
951
|
+
end
|
952
|
+
end
|
953
|
+
|
954
|
+
class PutAccessPointPolicyForObjectLambda
|
955
|
+
def self.build(context)
|
956
|
+
unless context.config.regional_endpoint
|
957
|
+
endpoint = context.config.endpoint.to_s
|
958
|
+
end
|
959
|
+
Aws::S3Control::EndpointParameters.new(
|
960
|
+
region: context.config.region,
|
961
|
+
use_fips: context.config.use_fips_endpoint,
|
962
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
963
|
+
endpoint: endpoint,
|
964
|
+
account_id: context.params[:account_id],
|
965
|
+
requires_account_id: true,
|
966
|
+
outpost_id: nil,
|
967
|
+
bucket: nil,
|
968
|
+
access_point_name: nil,
|
969
|
+
use_arn_region: context.config.s3_use_arn_region,
|
970
|
+
)
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
974
|
+
class PutBucketLifecycleConfiguration
|
975
|
+
def self.build(context)
|
976
|
+
unless context.config.regional_endpoint
|
977
|
+
endpoint = context.config.endpoint.to_s
|
978
|
+
end
|
979
|
+
Aws::S3Control::EndpointParameters.new(
|
980
|
+
region: context.config.region,
|
981
|
+
use_fips: context.config.use_fips_endpoint,
|
982
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
983
|
+
endpoint: endpoint,
|
984
|
+
account_id: context.params[:account_id],
|
985
|
+
requires_account_id: true,
|
986
|
+
outpost_id: nil,
|
987
|
+
bucket: context.params[:bucket],
|
988
|
+
access_point_name: nil,
|
989
|
+
use_arn_region: context.config.s3_use_arn_region,
|
990
|
+
)
|
991
|
+
end
|
992
|
+
end
|
993
|
+
|
994
|
+
class PutBucketPolicy
|
995
|
+
def self.build(context)
|
996
|
+
unless context.config.regional_endpoint
|
997
|
+
endpoint = context.config.endpoint.to_s
|
998
|
+
end
|
999
|
+
Aws::S3Control::EndpointParameters.new(
|
1000
|
+
region: context.config.region,
|
1001
|
+
use_fips: context.config.use_fips_endpoint,
|
1002
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1003
|
+
endpoint: endpoint,
|
1004
|
+
account_id: context.params[:account_id],
|
1005
|
+
requires_account_id: true,
|
1006
|
+
outpost_id: nil,
|
1007
|
+
bucket: context.params[:bucket],
|
1008
|
+
access_point_name: nil,
|
1009
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1010
|
+
)
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
class PutBucketTagging
|
1015
|
+
def self.build(context)
|
1016
|
+
unless context.config.regional_endpoint
|
1017
|
+
endpoint = context.config.endpoint.to_s
|
1018
|
+
end
|
1019
|
+
Aws::S3Control::EndpointParameters.new(
|
1020
|
+
region: context.config.region,
|
1021
|
+
use_fips: context.config.use_fips_endpoint,
|
1022
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1023
|
+
endpoint: endpoint,
|
1024
|
+
account_id: context.params[:account_id],
|
1025
|
+
requires_account_id: true,
|
1026
|
+
outpost_id: nil,
|
1027
|
+
bucket: context.params[:bucket],
|
1028
|
+
access_point_name: nil,
|
1029
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1030
|
+
)
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
class PutBucketVersioning
|
1035
|
+
def self.build(context)
|
1036
|
+
unless context.config.regional_endpoint
|
1037
|
+
endpoint = context.config.endpoint.to_s
|
1038
|
+
end
|
1039
|
+
Aws::S3Control::EndpointParameters.new(
|
1040
|
+
region: context.config.region,
|
1041
|
+
use_fips: context.config.use_fips_endpoint,
|
1042
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1043
|
+
endpoint: endpoint,
|
1044
|
+
account_id: nil,
|
1045
|
+
requires_account_id: nil,
|
1046
|
+
outpost_id: nil,
|
1047
|
+
bucket: nil,
|
1048
|
+
access_point_name: nil,
|
1049
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1050
|
+
)
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
class PutJobTagging
|
1055
|
+
def self.build(context)
|
1056
|
+
unless context.config.regional_endpoint
|
1057
|
+
endpoint = context.config.endpoint.to_s
|
1058
|
+
end
|
1059
|
+
Aws::S3Control::EndpointParameters.new(
|
1060
|
+
region: context.config.region,
|
1061
|
+
use_fips: context.config.use_fips_endpoint,
|
1062
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1063
|
+
endpoint: endpoint,
|
1064
|
+
account_id: context.params[:account_id],
|
1065
|
+
requires_account_id: true,
|
1066
|
+
outpost_id: nil,
|
1067
|
+
bucket: nil,
|
1068
|
+
access_point_name: nil,
|
1069
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1070
|
+
)
|
1071
|
+
end
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
class PutMultiRegionAccessPointPolicy
|
1075
|
+
def self.build(context)
|
1076
|
+
unless context.config.regional_endpoint
|
1077
|
+
endpoint = context.config.endpoint.to_s
|
1078
|
+
end
|
1079
|
+
Aws::S3Control::EndpointParameters.new(
|
1080
|
+
region: context.config.region,
|
1081
|
+
use_fips: context.config.use_fips_endpoint,
|
1082
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1083
|
+
endpoint: endpoint,
|
1084
|
+
account_id: context.params[:account_id],
|
1085
|
+
requires_account_id: true,
|
1086
|
+
outpost_id: nil,
|
1087
|
+
bucket: nil,
|
1088
|
+
access_point_name: nil,
|
1089
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1090
|
+
)
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
class PutPublicAccessBlock
|
1095
|
+
def self.build(context)
|
1096
|
+
unless context.config.regional_endpoint
|
1097
|
+
endpoint = context.config.endpoint.to_s
|
1098
|
+
end
|
1099
|
+
Aws::S3Control::EndpointParameters.new(
|
1100
|
+
region: context.config.region,
|
1101
|
+
use_fips: context.config.use_fips_endpoint,
|
1102
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1103
|
+
endpoint: endpoint,
|
1104
|
+
account_id: context.params[:account_id],
|
1105
|
+
requires_account_id: true,
|
1106
|
+
outpost_id: nil,
|
1107
|
+
bucket: nil,
|
1108
|
+
access_point_name: nil,
|
1109
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1110
|
+
)
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
class PutStorageLensConfiguration
|
1115
|
+
def self.build(context)
|
1116
|
+
unless context.config.regional_endpoint
|
1117
|
+
endpoint = context.config.endpoint.to_s
|
1118
|
+
end
|
1119
|
+
Aws::S3Control::EndpointParameters.new(
|
1120
|
+
region: context.config.region,
|
1121
|
+
use_fips: context.config.use_fips_endpoint,
|
1122
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1123
|
+
endpoint: endpoint,
|
1124
|
+
account_id: context.params[:account_id],
|
1125
|
+
requires_account_id: true,
|
1126
|
+
outpost_id: nil,
|
1127
|
+
bucket: nil,
|
1128
|
+
access_point_name: nil,
|
1129
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1130
|
+
)
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
class PutStorageLensConfigurationTagging
|
1135
|
+
def self.build(context)
|
1136
|
+
unless context.config.regional_endpoint
|
1137
|
+
endpoint = context.config.endpoint.to_s
|
1138
|
+
end
|
1139
|
+
Aws::S3Control::EndpointParameters.new(
|
1140
|
+
region: context.config.region,
|
1141
|
+
use_fips: context.config.use_fips_endpoint,
|
1142
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1143
|
+
endpoint: endpoint,
|
1144
|
+
account_id: context.params[:account_id],
|
1145
|
+
requires_account_id: true,
|
1146
|
+
outpost_id: nil,
|
1147
|
+
bucket: nil,
|
1148
|
+
access_point_name: nil,
|
1149
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1150
|
+
)
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
class UpdateJobPriority
|
1155
|
+
def self.build(context)
|
1156
|
+
unless context.config.regional_endpoint
|
1157
|
+
endpoint = context.config.endpoint.to_s
|
1158
|
+
end
|
1159
|
+
Aws::S3Control::EndpointParameters.new(
|
1160
|
+
region: context.config.region,
|
1161
|
+
use_fips: context.config.use_fips_endpoint,
|
1162
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1163
|
+
endpoint: endpoint,
|
1164
|
+
account_id: context.params[:account_id],
|
1165
|
+
requires_account_id: true,
|
1166
|
+
outpost_id: nil,
|
1167
|
+
bucket: nil,
|
1168
|
+
access_point_name: nil,
|
1169
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1170
|
+
)
|
1171
|
+
end
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
class UpdateJobStatus
|
1175
|
+
def self.build(context)
|
1176
|
+
unless context.config.regional_endpoint
|
1177
|
+
endpoint = context.config.endpoint.to_s
|
1178
|
+
end
|
1179
|
+
Aws::S3Control::EndpointParameters.new(
|
1180
|
+
region: context.config.region,
|
1181
|
+
use_fips: context.config.use_fips_endpoint,
|
1182
|
+
use_dual_stack: context[:use_dualstack_endpoint],
|
1183
|
+
endpoint: endpoint,
|
1184
|
+
account_id: context.params[:account_id],
|
1185
|
+
requires_account_id: true,
|
1186
|
+
outpost_id: nil,
|
1187
|
+
bucket: nil,
|
1188
|
+
access_point_name: nil,
|
1189
|
+
use_arn_region: context.config.s3_use_arn_region,
|
1190
|
+
)
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
end
|
1195
|
+
end
|