aws-sdk-s3control 1.89.0 → 1.91.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 +7 -1
- data/lib/aws-sdk-s3control/endpoints.rb +93 -372
- data/lib/aws-sdk-s3control/plugins/endpoints.rb +10 -1
- data/lib/aws-sdk-s3control.rb +1 -1
- metadata +4 -4
@@ -14,14 +14,11 @@ module Aws::S3Control
|
|
14
14
|
|
15
15
|
class AssociateAccessGrantsIdentityCenter
|
16
16
|
def self.build(context)
|
17
|
-
unless context.config.regional_endpoint
|
18
|
-
endpoint = context.config.endpoint.to_s
|
19
|
-
end
|
20
17
|
Aws::S3Control::EndpointParameters.new(
|
21
18
|
region: context.config.region,
|
22
19
|
use_fips: context.config.use_fips_endpoint,
|
23
20
|
use_dual_stack: context[:use_dualstack_endpoint],
|
24
|
-
endpoint: endpoint,
|
21
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
25
22
|
account_id: context.params[:account_id],
|
26
23
|
requires_account_id: true,
|
27
24
|
outpost_id: nil,
|
@@ -34,14 +31,11 @@ module Aws::S3Control
|
|
34
31
|
|
35
32
|
class CreateAccessGrant
|
36
33
|
def self.build(context)
|
37
|
-
unless context.config.regional_endpoint
|
38
|
-
endpoint = context.config.endpoint.to_s
|
39
|
-
end
|
40
34
|
Aws::S3Control::EndpointParameters.new(
|
41
35
|
region: context.config.region,
|
42
36
|
use_fips: context.config.use_fips_endpoint,
|
43
37
|
use_dual_stack: context[:use_dualstack_endpoint],
|
44
|
-
endpoint: endpoint,
|
38
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
45
39
|
account_id: context.params[:account_id],
|
46
40
|
requires_account_id: true,
|
47
41
|
outpost_id: nil,
|
@@ -54,14 +48,11 @@ module Aws::S3Control
|
|
54
48
|
|
55
49
|
class CreateAccessGrantsInstance
|
56
50
|
def self.build(context)
|
57
|
-
unless context.config.regional_endpoint
|
58
|
-
endpoint = context.config.endpoint.to_s
|
59
|
-
end
|
60
51
|
Aws::S3Control::EndpointParameters.new(
|
61
52
|
region: context.config.region,
|
62
53
|
use_fips: context.config.use_fips_endpoint,
|
63
54
|
use_dual_stack: context[:use_dualstack_endpoint],
|
64
|
-
endpoint: endpoint,
|
55
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
65
56
|
account_id: context.params[:account_id],
|
66
57
|
requires_account_id: true,
|
67
58
|
outpost_id: nil,
|
@@ -74,14 +65,11 @@ module Aws::S3Control
|
|
74
65
|
|
75
66
|
class CreateAccessGrantsLocation
|
76
67
|
def self.build(context)
|
77
|
-
unless context.config.regional_endpoint
|
78
|
-
endpoint = context.config.endpoint.to_s
|
79
|
-
end
|
80
68
|
Aws::S3Control::EndpointParameters.new(
|
81
69
|
region: context.config.region,
|
82
70
|
use_fips: context.config.use_fips_endpoint,
|
83
71
|
use_dual_stack: context[:use_dualstack_endpoint],
|
84
|
-
endpoint: endpoint,
|
72
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
85
73
|
account_id: context.params[:account_id],
|
86
74
|
requires_account_id: true,
|
87
75
|
outpost_id: nil,
|
@@ -94,14 +82,11 @@ module Aws::S3Control
|
|
94
82
|
|
95
83
|
class CreateAccessPoint
|
96
84
|
def self.build(context)
|
97
|
-
unless context.config.regional_endpoint
|
98
|
-
endpoint = context.config.endpoint.to_s
|
99
|
-
end
|
100
85
|
Aws::S3Control::EndpointParameters.new(
|
101
86
|
region: context.config.region,
|
102
87
|
use_fips: context.config.use_fips_endpoint,
|
103
88
|
use_dual_stack: context[:use_dualstack_endpoint],
|
104
|
-
endpoint: endpoint,
|
89
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
105
90
|
account_id: context.params[:account_id],
|
106
91
|
requires_account_id: true,
|
107
92
|
outpost_id: nil,
|
@@ -114,14 +99,11 @@ module Aws::S3Control
|
|
114
99
|
|
115
100
|
class CreateAccessPointForObjectLambda
|
116
101
|
def self.build(context)
|
117
|
-
unless context.config.regional_endpoint
|
118
|
-
endpoint = context.config.endpoint.to_s
|
119
|
-
end
|
120
102
|
Aws::S3Control::EndpointParameters.new(
|
121
103
|
region: context.config.region,
|
122
104
|
use_fips: context.config.use_fips_endpoint,
|
123
105
|
use_dual_stack: context[:use_dualstack_endpoint],
|
124
|
-
endpoint: endpoint,
|
106
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
125
107
|
account_id: context.params[:account_id],
|
126
108
|
requires_account_id: true,
|
127
109
|
outpost_id: nil,
|
@@ -134,14 +116,11 @@ module Aws::S3Control
|
|
134
116
|
|
135
117
|
class CreateBucket
|
136
118
|
def self.build(context)
|
137
|
-
unless context.config.regional_endpoint
|
138
|
-
endpoint = context.config.endpoint.to_s
|
139
|
-
end
|
140
119
|
Aws::S3Control::EndpointParameters.new(
|
141
120
|
region: context.config.region,
|
142
121
|
use_fips: context.config.use_fips_endpoint,
|
143
122
|
use_dual_stack: context[:use_dualstack_endpoint],
|
144
|
-
endpoint: endpoint,
|
123
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
145
124
|
account_id: nil,
|
146
125
|
requires_account_id: nil,
|
147
126
|
outpost_id: context.params[:outpost_id],
|
@@ -154,14 +133,11 @@ module Aws::S3Control
|
|
154
133
|
|
155
134
|
class CreateJob
|
156
135
|
def self.build(context)
|
157
|
-
unless context.config.regional_endpoint
|
158
|
-
endpoint = context.config.endpoint.to_s
|
159
|
-
end
|
160
136
|
Aws::S3Control::EndpointParameters.new(
|
161
137
|
region: context.config.region,
|
162
138
|
use_fips: context.config.use_fips_endpoint,
|
163
139
|
use_dual_stack: context[:use_dualstack_endpoint],
|
164
|
-
endpoint: endpoint,
|
140
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
165
141
|
account_id: context.params[:account_id],
|
166
142
|
requires_account_id: true,
|
167
143
|
outpost_id: nil,
|
@@ -174,14 +150,11 @@ module Aws::S3Control
|
|
174
150
|
|
175
151
|
class CreateMultiRegionAccessPoint
|
176
152
|
def self.build(context)
|
177
|
-
unless context.config.regional_endpoint
|
178
|
-
endpoint = context.config.endpoint.to_s
|
179
|
-
end
|
180
153
|
Aws::S3Control::EndpointParameters.new(
|
181
154
|
region: context.config.region,
|
182
155
|
use_fips: context.config.use_fips_endpoint,
|
183
156
|
use_dual_stack: context[:use_dualstack_endpoint],
|
184
|
-
endpoint: endpoint,
|
157
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
185
158
|
account_id: context.params[:account_id],
|
186
159
|
requires_account_id: true,
|
187
160
|
outpost_id: nil,
|
@@ -194,14 +167,11 @@ module Aws::S3Control
|
|
194
167
|
|
195
168
|
class CreateStorageLensGroup
|
196
169
|
def self.build(context)
|
197
|
-
unless context.config.regional_endpoint
|
198
|
-
endpoint = context.config.endpoint.to_s
|
199
|
-
end
|
200
170
|
Aws::S3Control::EndpointParameters.new(
|
201
171
|
region: context.config.region,
|
202
172
|
use_fips: context.config.use_fips_endpoint,
|
203
173
|
use_dual_stack: context[:use_dualstack_endpoint],
|
204
|
-
endpoint: endpoint,
|
174
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
205
175
|
account_id: context.params[:account_id],
|
206
176
|
requires_account_id: true,
|
207
177
|
outpost_id: nil,
|
@@ -214,14 +184,11 @@ module Aws::S3Control
|
|
214
184
|
|
215
185
|
class DeleteAccessGrant
|
216
186
|
def self.build(context)
|
217
|
-
unless context.config.regional_endpoint
|
218
|
-
endpoint = context.config.endpoint.to_s
|
219
|
-
end
|
220
187
|
Aws::S3Control::EndpointParameters.new(
|
221
188
|
region: context.config.region,
|
222
189
|
use_fips: context.config.use_fips_endpoint,
|
223
190
|
use_dual_stack: context[:use_dualstack_endpoint],
|
224
|
-
endpoint: endpoint,
|
191
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
225
192
|
account_id: context.params[:account_id],
|
226
193
|
requires_account_id: true,
|
227
194
|
outpost_id: nil,
|
@@ -234,14 +201,11 @@ module Aws::S3Control
|
|
234
201
|
|
235
202
|
class DeleteAccessGrantsInstance
|
236
203
|
def self.build(context)
|
237
|
-
unless context.config.regional_endpoint
|
238
|
-
endpoint = context.config.endpoint.to_s
|
239
|
-
end
|
240
204
|
Aws::S3Control::EndpointParameters.new(
|
241
205
|
region: context.config.region,
|
242
206
|
use_fips: context.config.use_fips_endpoint,
|
243
207
|
use_dual_stack: context[:use_dualstack_endpoint],
|
244
|
-
endpoint: endpoint,
|
208
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
245
209
|
account_id: context.params[:account_id],
|
246
210
|
requires_account_id: true,
|
247
211
|
outpost_id: nil,
|
@@ -254,14 +218,11 @@ module Aws::S3Control
|
|
254
218
|
|
255
219
|
class DeleteAccessGrantsInstanceResourcePolicy
|
256
220
|
def self.build(context)
|
257
|
-
unless context.config.regional_endpoint
|
258
|
-
endpoint = context.config.endpoint.to_s
|
259
|
-
end
|
260
221
|
Aws::S3Control::EndpointParameters.new(
|
261
222
|
region: context.config.region,
|
262
223
|
use_fips: context.config.use_fips_endpoint,
|
263
224
|
use_dual_stack: context[:use_dualstack_endpoint],
|
264
|
-
endpoint: endpoint,
|
225
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
265
226
|
account_id: context.params[:account_id],
|
266
227
|
requires_account_id: true,
|
267
228
|
outpost_id: nil,
|
@@ -274,14 +235,11 @@ module Aws::S3Control
|
|
274
235
|
|
275
236
|
class DeleteAccessGrantsLocation
|
276
237
|
def self.build(context)
|
277
|
-
unless context.config.regional_endpoint
|
278
|
-
endpoint = context.config.endpoint.to_s
|
279
|
-
end
|
280
238
|
Aws::S3Control::EndpointParameters.new(
|
281
239
|
region: context.config.region,
|
282
240
|
use_fips: context.config.use_fips_endpoint,
|
283
241
|
use_dual_stack: context[:use_dualstack_endpoint],
|
284
|
-
endpoint: endpoint,
|
242
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
285
243
|
account_id: context.params[:account_id],
|
286
244
|
requires_account_id: true,
|
287
245
|
outpost_id: nil,
|
@@ -294,14 +252,11 @@ module Aws::S3Control
|
|
294
252
|
|
295
253
|
class DeleteAccessPoint
|
296
254
|
def self.build(context)
|
297
|
-
unless context.config.regional_endpoint
|
298
|
-
endpoint = context.config.endpoint.to_s
|
299
|
-
end
|
300
255
|
Aws::S3Control::EndpointParameters.new(
|
301
256
|
region: context.config.region,
|
302
257
|
use_fips: context.config.use_fips_endpoint,
|
303
258
|
use_dual_stack: context[:use_dualstack_endpoint],
|
304
|
-
endpoint: endpoint,
|
259
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
305
260
|
account_id: context.params[:account_id],
|
306
261
|
requires_account_id: true,
|
307
262
|
outpost_id: nil,
|
@@ -314,14 +269,11 @@ module Aws::S3Control
|
|
314
269
|
|
315
270
|
class DeleteAccessPointForObjectLambda
|
316
271
|
def self.build(context)
|
317
|
-
unless context.config.regional_endpoint
|
318
|
-
endpoint = context.config.endpoint.to_s
|
319
|
-
end
|
320
272
|
Aws::S3Control::EndpointParameters.new(
|
321
273
|
region: context.config.region,
|
322
274
|
use_fips: context.config.use_fips_endpoint,
|
323
275
|
use_dual_stack: context[:use_dualstack_endpoint],
|
324
|
-
endpoint: endpoint,
|
276
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
325
277
|
account_id: context.params[:account_id],
|
326
278
|
requires_account_id: true,
|
327
279
|
outpost_id: nil,
|
@@ -334,14 +286,11 @@ module Aws::S3Control
|
|
334
286
|
|
335
287
|
class DeleteAccessPointPolicy
|
336
288
|
def self.build(context)
|
337
|
-
unless context.config.regional_endpoint
|
338
|
-
endpoint = context.config.endpoint.to_s
|
339
|
-
end
|
340
289
|
Aws::S3Control::EndpointParameters.new(
|
341
290
|
region: context.config.region,
|
342
291
|
use_fips: context.config.use_fips_endpoint,
|
343
292
|
use_dual_stack: context[:use_dualstack_endpoint],
|
344
|
-
endpoint: endpoint,
|
293
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
345
294
|
account_id: context.params[:account_id],
|
346
295
|
requires_account_id: true,
|
347
296
|
outpost_id: nil,
|
@@ -354,14 +303,11 @@ module Aws::S3Control
|
|
354
303
|
|
355
304
|
class DeleteAccessPointPolicyForObjectLambda
|
356
305
|
def self.build(context)
|
357
|
-
unless context.config.regional_endpoint
|
358
|
-
endpoint = context.config.endpoint.to_s
|
359
|
-
end
|
360
306
|
Aws::S3Control::EndpointParameters.new(
|
361
307
|
region: context.config.region,
|
362
308
|
use_fips: context.config.use_fips_endpoint,
|
363
309
|
use_dual_stack: context[:use_dualstack_endpoint],
|
364
|
-
endpoint: endpoint,
|
310
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
365
311
|
account_id: context.params[:account_id],
|
366
312
|
requires_account_id: true,
|
367
313
|
outpost_id: nil,
|
@@ -374,14 +320,11 @@ module Aws::S3Control
|
|
374
320
|
|
375
321
|
class DeleteBucket
|
376
322
|
def self.build(context)
|
377
|
-
unless context.config.regional_endpoint
|
378
|
-
endpoint = context.config.endpoint.to_s
|
379
|
-
end
|
380
323
|
Aws::S3Control::EndpointParameters.new(
|
381
324
|
region: context.config.region,
|
382
325
|
use_fips: context.config.use_fips_endpoint,
|
383
326
|
use_dual_stack: context[:use_dualstack_endpoint],
|
384
|
-
endpoint: endpoint,
|
327
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
385
328
|
account_id: context.params[:account_id],
|
386
329
|
requires_account_id: true,
|
387
330
|
outpost_id: nil,
|
@@ -394,14 +337,11 @@ module Aws::S3Control
|
|
394
337
|
|
395
338
|
class DeleteBucketLifecycleConfiguration
|
396
339
|
def self.build(context)
|
397
|
-
unless context.config.regional_endpoint
|
398
|
-
endpoint = context.config.endpoint.to_s
|
399
|
-
end
|
400
340
|
Aws::S3Control::EndpointParameters.new(
|
401
341
|
region: context.config.region,
|
402
342
|
use_fips: context.config.use_fips_endpoint,
|
403
343
|
use_dual_stack: context[:use_dualstack_endpoint],
|
404
|
-
endpoint: endpoint,
|
344
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
405
345
|
account_id: context.params[:account_id],
|
406
346
|
requires_account_id: true,
|
407
347
|
outpost_id: nil,
|
@@ -414,14 +354,11 @@ module Aws::S3Control
|
|
414
354
|
|
415
355
|
class DeleteBucketPolicy
|
416
356
|
def self.build(context)
|
417
|
-
unless context.config.regional_endpoint
|
418
|
-
endpoint = context.config.endpoint.to_s
|
419
|
-
end
|
420
357
|
Aws::S3Control::EndpointParameters.new(
|
421
358
|
region: context.config.region,
|
422
359
|
use_fips: context.config.use_fips_endpoint,
|
423
360
|
use_dual_stack: context[:use_dualstack_endpoint],
|
424
|
-
endpoint: endpoint,
|
361
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
425
362
|
account_id: context.params[:account_id],
|
426
363
|
requires_account_id: true,
|
427
364
|
outpost_id: nil,
|
@@ -434,14 +371,11 @@ module Aws::S3Control
|
|
434
371
|
|
435
372
|
class DeleteBucketReplication
|
436
373
|
def self.build(context)
|
437
|
-
unless context.config.regional_endpoint
|
438
|
-
endpoint = context.config.endpoint.to_s
|
439
|
-
end
|
440
374
|
Aws::S3Control::EndpointParameters.new(
|
441
375
|
region: context.config.region,
|
442
376
|
use_fips: context.config.use_fips_endpoint,
|
443
377
|
use_dual_stack: context[:use_dualstack_endpoint],
|
444
|
-
endpoint: endpoint,
|
378
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
445
379
|
account_id: context.params[:account_id],
|
446
380
|
requires_account_id: true,
|
447
381
|
outpost_id: nil,
|
@@ -454,14 +388,11 @@ module Aws::S3Control
|
|
454
388
|
|
455
389
|
class DeleteBucketTagging
|
456
390
|
def self.build(context)
|
457
|
-
unless context.config.regional_endpoint
|
458
|
-
endpoint = context.config.endpoint.to_s
|
459
|
-
end
|
460
391
|
Aws::S3Control::EndpointParameters.new(
|
461
392
|
region: context.config.region,
|
462
393
|
use_fips: context.config.use_fips_endpoint,
|
463
394
|
use_dual_stack: context[:use_dualstack_endpoint],
|
464
|
-
endpoint: endpoint,
|
395
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
465
396
|
account_id: context.params[:account_id],
|
466
397
|
requires_account_id: true,
|
467
398
|
outpost_id: nil,
|
@@ -474,14 +405,11 @@ module Aws::S3Control
|
|
474
405
|
|
475
406
|
class DeleteJobTagging
|
476
407
|
def self.build(context)
|
477
|
-
unless context.config.regional_endpoint
|
478
|
-
endpoint = context.config.endpoint.to_s
|
479
|
-
end
|
480
408
|
Aws::S3Control::EndpointParameters.new(
|
481
409
|
region: context.config.region,
|
482
410
|
use_fips: context.config.use_fips_endpoint,
|
483
411
|
use_dual_stack: context[:use_dualstack_endpoint],
|
484
|
-
endpoint: endpoint,
|
412
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
485
413
|
account_id: context.params[:account_id],
|
486
414
|
requires_account_id: true,
|
487
415
|
outpost_id: nil,
|
@@ -494,14 +422,11 @@ module Aws::S3Control
|
|
494
422
|
|
495
423
|
class DeleteMultiRegionAccessPoint
|
496
424
|
def self.build(context)
|
497
|
-
unless context.config.regional_endpoint
|
498
|
-
endpoint = context.config.endpoint.to_s
|
499
|
-
end
|
500
425
|
Aws::S3Control::EndpointParameters.new(
|
501
426
|
region: context.config.region,
|
502
427
|
use_fips: context.config.use_fips_endpoint,
|
503
428
|
use_dual_stack: context[:use_dualstack_endpoint],
|
504
|
-
endpoint: endpoint,
|
429
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
505
430
|
account_id: context.params[:account_id],
|
506
431
|
requires_account_id: true,
|
507
432
|
outpost_id: nil,
|
@@ -514,14 +439,11 @@ module Aws::S3Control
|
|
514
439
|
|
515
440
|
class DeletePublicAccessBlock
|
516
441
|
def self.build(context)
|
517
|
-
unless context.config.regional_endpoint
|
518
|
-
endpoint = context.config.endpoint.to_s
|
519
|
-
end
|
520
442
|
Aws::S3Control::EndpointParameters.new(
|
521
443
|
region: context.config.region,
|
522
444
|
use_fips: context.config.use_fips_endpoint,
|
523
445
|
use_dual_stack: context[:use_dualstack_endpoint],
|
524
|
-
endpoint: endpoint,
|
446
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
525
447
|
account_id: context.params[:account_id],
|
526
448
|
requires_account_id: true,
|
527
449
|
outpost_id: nil,
|
@@ -534,14 +456,11 @@ module Aws::S3Control
|
|
534
456
|
|
535
457
|
class DeleteStorageLensConfiguration
|
536
458
|
def self.build(context)
|
537
|
-
unless context.config.regional_endpoint
|
538
|
-
endpoint = context.config.endpoint.to_s
|
539
|
-
end
|
540
459
|
Aws::S3Control::EndpointParameters.new(
|
541
460
|
region: context.config.region,
|
542
461
|
use_fips: context.config.use_fips_endpoint,
|
543
462
|
use_dual_stack: context[:use_dualstack_endpoint],
|
544
|
-
endpoint: endpoint,
|
463
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
545
464
|
account_id: context.params[:account_id],
|
546
465
|
requires_account_id: true,
|
547
466
|
outpost_id: nil,
|
@@ -554,14 +473,11 @@ module Aws::S3Control
|
|
554
473
|
|
555
474
|
class DeleteStorageLensConfigurationTagging
|
556
475
|
def self.build(context)
|
557
|
-
unless context.config.regional_endpoint
|
558
|
-
endpoint = context.config.endpoint.to_s
|
559
|
-
end
|
560
476
|
Aws::S3Control::EndpointParameters.new(
|
561
477
|
region: context.config.region,
|
562
478
|
use_fips: context.config.use_fips_endpoint,
|
563
479
|
use_dual_stack: context[:use_dualstack_endpoint],
|
564
|
-
endpoint: endpoint,
|
480
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
565
481
|
account_id: context.params[:account_id],
|
566
482
|
requires_account_id: true,
|
567
483
|
outpost_id: nil,
|
@@ -574,14 +490,11 @@ module Aws::S3Control
|
|
574
490
|
|
575
491
|
class DeleteStorageLensGroup
|
576
492
|
def self.build(context)
|
577
|
-
unless context.config.regional_endpoint
|
578
|
-
endpoint = context.config.endpoint.to_s
|
579
|
-
end
|
580
493
|
Aws::S3Control::EndpointParameters.new(
|
581
494
|
region: context.config.region,
|
582
495
|
use_fips: context.config.use_fips_endpoint,
|
583
496
|
use_dual_stack: context[:use_dualstack_endpoint],
|
584
|
-
endpoint: endpoint,
|
497
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
585
498
|
account_id: context.params[:account_id],
|
586
499
|
requires_account_id: true,
|
587
500
|
outpost_id: nil,
|
@@ -594,14 +507,11 @@ module Aws::S3Control
|
|
594
507
|
|
595
508
|
class DescribeJob
|
596
509
|
def self.build(context)
|
597
|
-
unless context.config.regional_endpoint
|
598
|
-
endpoint = context.config.endpoint.to_s
|
599
|
-
end
|
600
510
|
Aws::S3Control::EndpointParameters.new(
|
601
511
|
region: context.config.region,
|
602
512
|
use_fips: context.config.use_fips_endpoint,
|
603
513
|
use_dual_stack: context[:use_dualstack_endpoint],
|
604
|
-
endpoint: endpoint,
|
514
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
605
515
|
account_id: context.params[:account_id],
|
606
516
|
requires_account_id: true,
|
607
517
|
outpost_id: nil,
|
@@ -614,14 +524,11 @@ module Aws::S3Control
|
|
614
524
|
|
615
525
|
class DescribeMultiRegionAccessPointOperation
|
616
526
|
def self.build(context)
|
617
|
-
unless context.config.regional_endpoint
|
618
|
-
endpoint = context.config.endpoint.to_s
|
619
|
-
end
|
620
527
|
Aws::S3Control::EndpointParameters.new(
|
621
528
|
region: context.config.region,
|
622
529
|
use_fips: context.config.use_fips_endpoint,
|
623
530
|
use_dual_stack: context[:use_dualstack_endpoint],
|
624
|
-
endpoint: endpoint,
|
531
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
625
532
|
account_id: context.params[:account_id],
|
626
533
|
requires_account_id: true,
|
627
534
|
outpost_id: nil,
|
@@ -634,14 +541,11 @@ module Aws::S3Control
|
|
634
541
|
|
635
542
|
class DissociateAccessGrantsIdentityCenter
|
636
543
|
def self.build(context)
|
637
|
-
unless context.config.regional_endpoint
|
638
|
-
endpoint = context.config.endpoint.to_s
|
639
|
-
end
|
640
544
|
Aws::S3Control::EndpointParameters.new(
|
641
545
|
region: context.config.region,
|
642
546
|
use_fips: context.config.use_fips_endpoint,
|
643
547
|
use_dual_stack: context[:use_dualstack_endpoint],
|
644
|
-
endpoint: endpoint,
|
548
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
645
549
|
account_id: context.params[:account_id],
|
646
550
|
requires_account_id: true,
|
647
551
|
outpost_id: nil,
|
@@ -654,14 +558,11 @@ module Aws::S3Control
|
|
654
558
|
|
655
559
|
class GetAccessGrant
|
656
560
|
def self.build(context)
|
657
|
-
unless context.config.regional_endpoint
|
658
|
-
endpoint = context.config.endpoint.to_s
|
659
|
-
end
|
660
561
|
Aws::S3Control::EndpointParameters.new(
|
661
562
|
region: context.config.region,
|
662
563
|
use_fips: context.config.use_fips_endpoint,
|
663
564
|
use_dual_stack: context[:use_dualstack_endpoint],
|
664
|
-
endpoint: endpoint,
|
565
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
665
566
|
account_id: context.params[:account_id],
|
666
567
|
requires_account_id: true,
|
667
568
|
outpost_id: nil,
|
@@ -674,14 +575,11 @@ module Aws::S3Control
|
|
674
575
|
|
675
576
|
class GetAccessGrantsInstance
|
676
577
|
def self.build(context)
|
677
|
-
unless context.config.regional_endpoint
|
678
|
-
endpoint = context.config.endpoint.to_s
|
679
|
-
end
|
680
578
|
Aws::S3Control::EndpointParameters.new(
|
681
579
|
region: context.config.region,
|
682
580
|
use_fips: context.config.use_fips_endpoint,
|
683
581
|
use_dual_stack: context[:use_dualstack_endpoint],
|
684
|
-
endpoint: endpoint,
|
582
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
685
583
|
account_id: context.params[:account_id],
|
686
584
|
requires_account_id: true,
|
687
585
|
outpost_id: nil,
|
@@ -694,14 +592,11 @@ module Aws::S3Control
|
|
694
592
|
|
695
593
|
class GetAccessGrantsInstanceForPrefix
|
696
594
|
def self.build(context)
|
697
|
-
unless context.config.regional_endpoint
|
698
|
-
endpoint = context.config.endpoint.to_s
|
699
|
-
end
|
700
595
|
Aws::S3Control::EndpointParameters.new(
|
701
596
|
region: context.config.region,
|
702
597
|
use_fips: context.config.use_fips_endpoint,
|
703
598
|
use_dual_stack: context[:use_dualstack_endpoint],
|
704
|
-
endpoint: endpoint,
|
599
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
705
600
|
account_id: context.params[:account_id],
|
706
601
|
requires_account_id: true,
|
707
602
|
outpost_id: nil,
|
@@ -714,14 +609,11 @@ module Aws::S3Control
|
|
714
609
|
|
715
610
|
class GetAccessGrantsInstanceResourcePolicy
|
716
611
|
def self.build(context)
|
717
|
-
unless context.config.regional_endpoint
|
718
|
-
endpoint = context.config.endpoint.to_s
|
719
|
-
end
|
720
612
|
Aws::S3Control::EndpointParameters.new(
|
721
613
|
region: context.config.region,
|
722
614
|
use_fips: context.config.use_fips_endpoint,
|
723
615
|
use_dual_stack: context[:use_dualstack_endpoint],
|
724
|
-
endpoint: endpoint,
|
616
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
725
617
|
account_id: context.params[:account_id],
|
726
618
|
requires_account_id: true,
|
727
619
|
outpost_id: nil,
|
@@ -734,14 +626,11 @@ module Aws::S3Control
|
|
734
626
|
|
735
627
|
class GetAccessGrantsLocation
|
736
628
|
def self.build(context)
|
737
|
-
unless context.config.regional_endpoint
|
738
|
-
endpoint = context.config.endpoint.to_s
|
739
|
-
end
|
740
629
|
Aws::S3Control::EndpointParameters.new(
|
741
630
|
region: context.config.region,
|
742
631
|
use_fips: context.config.use_fips_endpoint,
|
743
632
|
use_dual_stack: context[:use_dualstack_endpoint],
|
744
|
-
endpoint: endpoint,
|
633
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
745
634
|
account_id: context.params[:account_id],
|
746
635
|
requires_account_id: true,
|
747
636
|
outpost_id: nil,
|
@@ -754,14 +643,11 @@ module Aws::S3Control
|
|
754
643
|
|
755
644
|
class GetAccessPoint
|
756
645
|
def self.build(context)
|
757
|
-
unless context.config.regional_endpoint
|
758
|
-
endpoint = context.config.endpoint.to_s
|
759
|
-
end
|
760
646
|
Aws::S3Control::EndpointParameters.new(
|
761
647
|
region: context.config.region,
|
762
648
|
use_fips: context.config.use_fips_endpoint,
|
763
649
|
use_dual_stack: context[:use_dualstack_endpoint],
|
764
|
-
endpoint: endpoint,
|
650
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
765
651
|
account_id: context.params[:account_id],
|
766
652
|
requires_account_id: true,
|
767
653
|
outpost_id: nil,
|
@@ -774,14 +660,11 @@ module Aws::S3Control
|
|
774
660
|
|
775
661
|
class GetAccessPointConfigurationForObjectLambda
|
776
662
|
def self.build(context)
|
777
|
-
unless context.config.regional_endpoint
|
778
|
-
endpoint = context.config.endpoint.to_s
|
779
|
-
end
|
780
663
|
Aws::S3Control::EndpointParameters.new(
|
781
664
|
region: context.config.region,
|
782
665
|
use_fips: context.config.use_fips_endpoint,
|
783
666
|
use_dual_stack: context[:use_dualstack_endpoint],
|
784
|
-
endpoint: endpoint,
|
667
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
785
668
|
account_id: context.params[:account_id],
|
786
669
|
requires_account_id: true,
|
787
670
|
outpost_id: nil,
|
@@ -794,14 +677,11 @@ module Aws::S3Control
|
|
794
677
|
|
795
678
|
class GetAccessPointForObjectLambda
|
796
679
|
def self.build(context)
|
797
|
-
unless context.config.regional_endpoint
|
798
|
-
endpoint = context.config.endpoint.to_s
|
799
|
-
end
|
800
680
|
Aws::S3Control::EndpointParameters.new(
|
801
681
|
region: context.config.region,
|
802
682
|
use_fips: context.config.use_fips_endpoint,
|
803
683
|
use_dual_stack: context[:use_dualstack_endpoint],
|
804
|
-
endpoint: endpoint,
|
684
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
805
685
|
account_id: context.params[:account_id],
|
806
686
|
requires_account_id: true,
|
807
687
|
outpost_id: nil,
|
@@ -814,14 +694,11 @@ module Aws::S3Control
|
|
814
694
|
|
815
695
|
class GetAccessPointPolicy
|
816
696
|
def self.build(context)
|
817
|
-
unless context.config.regional_endpoint
|
818
|
-
endpoint = context.config.endpoint.to_s
|
819
|
-
end
|
820
697
|
Aws::S3Control::EndpointParameters.new(
|
821
698
|
region: context.config.region,
|
822
699
|
use_fips: context.config.use_fips_endpoint,
|
823
700
|
use_dual_stack: context[:use_dualstack_endpoint],
|
824
|
-
endpoint: endpoint,
|
701
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
825
702
|
account_id: context.params[:account_id],
|
826
703
|
requires_account_id: true,
|
827
704
|
outpost_id: nil,
|
@@ -834,14 +711,11 @@ module Aws::S3Control
|
|
834
711
|
|
835
712
|
class GetAccessPointPolicyForObjectLambda
|
836
713
|
def self.build(context)
|
837
|
-
unless context.config.regional_endpoint
|
838
|
-
endpoint = context.config.endpoint.to_s
|
839
|
-
end
|
840
714
|
Aws::S3Control::EndpointParameters.new(
|
841
715
|
region: context.config.region,
|
842
716
|
use_fips: context.config.use_fips_endpoint,
|
843
717
|
use_dual_stack: context[:use_dualstack_endpoint],
|
844
|
-
endpoint: endpoint,
|
718
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
845
719
|
account_id: context.params[:account_id],
|
846
720
|
requires_account_id: true,
|
847
721
|
outpost_id: nil,
|
@@ -854,14 +728,11 @@ module Aws::S3Control
|
|
854
728
|
|
855
729
|
class GetAccessPointPolicyStatus
|
856
730
|
def self.build(context)
|
857
|
-
unless context.config.regional_endpoint
|
858
|
-
endpoint = context.config.endpoint.to_s
|
859
|
-
end
|
860
731
|
Aws::S3Control::EndpointParameters.new(
|
861
732
|
region: context.config.region,
|
862
733
|
use_fips: context.config.use_fips_endpoint,
|
863
734
|
use_dual_stack: context[:use_dualstack_endpoint],
|
864
|
-
endpoint: endpoint,
|
735
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
865
736
|
account_id: context.params[:account_id],
|
866
737
|
requires_account_id: true,
|
867
738
|
outpost_id: nil,
|
@@ -874,14 +745,11 @@ module Aws::S3Control
|
|
874
745
|
|
875
746
|
class GetAccessPointPolicyStatusForObjectLambda
|
876
747
|
def self.build(context)
|
877
|
-
unless context.config.regional_endpoint
|
878
|
-
endpoint = context.config.endpoint.to_s
|
879
|
-
end
|
880
748
|
Aws::S3Control::EndpointParameters.new(
|
881
749
|
region: context.config.region,
|
882
750
|
use_fips: context.config.use_fips_endpoint,
|
883
751
|
use_dual_stack: context[:use_dualstack_endpoint],
|
884
|
-
endpoint: endpoint,
|
752
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
885
753
|
account_id: context.params[:account_id],
|
886
754
|
requires_account_id: true,
|
887
755
|
outpost_id: nil,
|
@@ -894,14 +762,11 @@ module Aws::S3Control
|
|
894
762
|
|
895
763
|
class GetBucket
|
896
764
|
def self.build(context)
|
897
|
-
unless context.config.regional_endpoint
|
898
|
-
endpoint = context.config.endpoint.to_s
|
899
|
-
end
|
900
765
|
Aws::S3Control::EndpointParameters.new(
|
901
766
|
region: context.config.region,
|
902
767
|
use_fips: context.config.use_fips_endpoint,
|
903
768
|
use_dual_stack: context[:use_dualstack_endpoint],
|
904
|
-
endpoint: endpoint,
|
769
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
905
770
|
account_id: context.params[:account_id],
|
906
771
|
requires_account_id: true,
|
907
772
|
outpost_id: nil,
|
@@ -914,14 +779,11 @@ module Aws::S3Control
|
|
914
779
|
|
915
780
|
class GetBucketLifecycleConfiguration
|
916
781
|
def self.build(context)
|
917
|
-
unless context.config.regional_endpoint
|
918
|
-
endpoint = context.config.endpoint.to_s
|
919
|
-
end
|
920
782
|
Aws::S3Control::EndpointParameters.new(
|
921
783
|
region: context.config.region,
|
922
784
|
use_fips: context.config.use_fips_endpoint,
|
923
785
|
use_dual_stack: context[:use_dualstack_endpoint],
|
924
|
-
endpoint: endpoint,
|
786
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
925
787
|
account_id: context.params[:account_id],
|
926
788
|
requires_account_id: true,
|
927
789
|
outpost_id: nil,
|
@@ -934,14 +796,11 @@ module Aws::S3Control
|
|
934
796
|
|
935
797
|
class GetBucketPolicy
|
936
798
|
def self.build(context)
|
937
|
-
unless context.config.regional_endpoint
|
938
|
-
endpoint = context.config.endpoint.to_s
|
939
|
-
end
|
940
799
|
Aws::S3Control::EndpointParameters.new(
|
941
800
|
region: context.config.region,
|
942
801
|
use_fips: context.config.use_fips_endpoint,
|
943
802
|
use_dual_stack: context[:use_dualstack_endpoint],
|
944
|
-
endpoint: endpoint,
|
803
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
945
804
|
account_id: context.params[:account_id],
|
946
805
|
requires_account_id: true,
|
947
806
|
outpost_id: nil,
|
@@ -954,14 +813,11 @@ module Aws::S3Control
|
|
954
813
|
|
955
814
|
class GetBucketReplication
|
956
815
|
def self.build(context)
|
957
|
-
unless context.config.regional_endpoint
|
958
|
-
endpoint = context.config.endpoint.to_s
|
959
|
-
end
|
960
816
|
Aws::S3Control::EndpointParameters.new(
|
961
817
|
region: context.config.region,
|
962
818
|
use_fips: context.config.use_fips_endpoint,
|
963
819
|
use_dual_stack: context[:use_dualstack_endpoint],
|
964
|
-
endpoint: endpoint,
|
820
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
965
821
|
account_id: context.params[:account_id],
|
966
822
|
requires_account_id: true,
|
967
823
|
outpost_id: nil,
|
@@ -974,14 +830,11 @@ module Aws::S3Control
|
|
974
830
|
|
975
831
|
class GetBucketTagging
|
976
832
|
def self.build(context)
|
977
|
-
unless context.config.regional_endpoint
|
978
|
-
endpoint = context.config.endpoint.to_s
|
979
|
-
end
|
980
833
|
Aws::S3Control::EndpointParameters.new(
|
981
834
|
region: context.config.region,
|
982
835
|
use_fips: context.config.use_fips_endpoint,
|
983
836
|
use_dual_stack: context[:use_dualstack_endpoint],
|
984
|
-
endpoint: endpoint,
|
837
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
985
838
|
account_id: context.params[:account_id],
|
986
839
|
requires_account_id: true,
|
987
840
|
outpost_id: nil,
|
@@ -994,14 +847,11 @@ module Aws::S3Control
|
|
994
847
|
|
995
848
|
class GetBucketVersioning
|
996
849
|
def self.build(context)
|
997
|
-
unless context.config.regional_endpoint
|
998
|
-
endpoint = context.config.endpoint.to_s
|
999
|
-
end
|
1000
850
|
Aws::S3Control::EndpointParameters.new(
|
1001
851
|
region: context.config.region,
|
1002
852
|
use_fips: context.config.use_fips_endpoint,
|
1003
853
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1004
|
-
endpoint: endpoint,
|
854
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1005
855
|
account_id: context.params[:account_id],
|
1006
856
|
requires_account_id: true,
|
1007
857
|
outpost_id: nil,
|
@@ -1014,14 +864,11 @@ module Aws::S3Control
|
|
1014
864
|
|
1015
865
|
class GetDataAccess
|
1016
866
|
def self.build(context)
|
1017
|
-
unless context.config.regional_endpoint
|
1018
|
-
endpoint = context.config.endpoint.to_s
|
1019
|
-
end
|
1020
867
|
Aws::S3Control::EndpointParameters.new(
|
1021
868
|
region: context.config.region,
|
1022
869
|
use_fips: context.config.use_fips_endpoint,
|
1023
870
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1024
|
-
endpoint: endpoint,
|
871
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1025
872
|
account_id: context.params[:account_id],
|
1026
873
|
requires_account_id: true,
|
1027
874
|
outpost_id: nil,
|
@@ -1034,14 +881,11 @@ module Aws::S3Control
|
|
1034
881
|
|
1035
882
|
class GetJobTagging
|
1036
883
|
def self.build(context)
|
1037
|
-
unless context.config.regional_endpoint
|
1038
|
-
endpoint = context.config.endpoint.to_s
|
1039
|
-
end
|
1040
884
|
Aws::S3Control::EndpointParameters.new(
|
1041
885
|
region: context.config.region,
|
1042
886
|
use_fips: context.config.use_fips_endpoint,
|
1043
887
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1044
|
-
endpoint: endpoint,
|
888
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1045
889
|
account_id: context.params[:account_id],
|
1046
890
|
requires_account_id: true,
|
1047
891
|
outpost_id: nil,
|
@@ -1054,14 +898,11 @@ module Aws::S3Control
|
|
1054
898
|
|
1055
899
|
class GetMultiRegionAccessPoint
|
1056
900
|
def self.build(context)
|
1057
|
-
unless context.config.regional_endpoint
|
1058
|
-
endpoint = context.config.endpoint.to_s
|
1059
|
-
end
|
1060
901
|
Aws::S3Control::EndpointParameters.new(
|
1061
902
|
region: context.config.region,
|
1062
903
|
use_fips: context.config.use_fips_endpoint,
|
1063
904
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1064
|
-
endpoint: endpoint,
|
905
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1065
906
|
account_id: context.params[:account_id],
|
1066
907
|
requires_account_id: true,
|
1067
908
|
outpost_id: nil,
|
@@ -1074,14 +915,11 @@ module Aws::S3Control
|
|
1074
915
|
|
1075
916
|
class GetMultiRegionAccessPointPolicy
|
1076
917
|
def self.build(context)
|
1077
|
-
unless context.config.regional_endpoint
|
1078
|
-
endpoint = context.config.endpoint.to_s
|
1079
|
-
end
|
1080
918
|
Aws::S3Control::EndpointParameters.new(
|
1081
919
|
region: context.config.region,
|
1082
920
|
use_fips: context.config.use_fips_endpoint,
|
1083
921
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1084
|
-
endpoint: endpoint,
|
922
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1085
923
|
account_id: context.params[:account_id],
|
1086
924
|
requires_account_id: true,
|
1087
925
|
outpost_id: nil,
|
@@ -1094,14 +932,11 @@ module Aws::S3Control
|
|
1094
932
|
|
1095
933
|
class GetMultiRegionAccessPointPolicyStatus
|
1096
934
|
def self.build(context)
|
1097
|
-
unless context.config.regional_endpoint
|
1098
|
-
endpoint = context.config.endpoint.to_s
|
1099
|
-
end
|
1100
935
|
Aws::S3Control::EndpointParameters.new(
|
1101
936
|
region: context.config.region,
|
1102
937
|
use_fips: context.config.use_fips_endpoint,
|
1103
938
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1104
|
-
endpoint: endpoint,
|
939
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1105
940
|
account_id: context.params[:account_id],
|
1106
941
|
requires_account_id: true,
|
1107
942
|
outpost_id: nil,
|
@@ -1114,14 +949,11 @@ module Aws::S3Control
|
|
1114
949
|
|
1115
950
|
class GetMultiRegionAccessPointRoutes
|
1116
951
|
def self.build(context)
|
1117
|
-
unless context.config.regional_endpoint
|
1118
|
-
endpoint = context.config.endpoint.to_s
|
1119
|
-
end
|
1120
952
|
Aws::S3Control::EndpointParameters.new(
|
1121
953
|
region: context.config.region,
|
1122
954
|
use_fips: context.config.use_fips_endpoint,
|
1123
955
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1124
|
-
endpoint: endpoint,
|
956
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1125
957
|
account_id: context.params[:account_id],
|
1126
958
|
requires_account_id: true,
|
1127
959
|
outpost_id: nil,
|
@@ -1134,14 +966,11 @@ module Aws::S3Control
|
|
1134
966
|
|
1135
967
|
class GetPublicAccessBlock
|
1136
968
|
def self.build(context)
|
1137
|
-
unless context.config.regional_endpoint
|
1138
|
-
endpoint = context.config.endpoint.to_s
|
1139
|
-
end
|
1140
969
|
Aws::S3Control::EndpointParameters.new(
|
1141
970
|
region: context.config.region,
|
1142
971
|
use_fips: context.config.use_fips_endpoint,
|
1143
972
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1144
|
-
endpoint: endpoint,
|
973
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1145
974
|
account_id: context.params[:account_id],
|
1146
975
|
requires_account_id: true,
|
1147
976
|
outpost_id: nil,
|
@@ -1154,14 +983,11 @@ module Aws::S3Control
|
|
1154
983
|
|
1155
984
|
class GetStorageLensConfiguration
|
1156
985
|
def self.build(context)
|
1157
|
-
unless context.config.regional_endpoint
|
1158
|
-
endpoint = context.config.endpoint.to_s
|
1159
|
-
end
|
1160
986
|
Aws::S3Control::EndpointParameters.new(
|
1161
987
|
region: context.config.region,
|
1162
988
|
use_fips: context.config.use_fips_endpoint,
|
1163
989
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1164
|
-
endpoint: endpoint,
|
990
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1165
991
|
account_id: context.params[:account_id],
|
1166
992
|
requires_account_id: true,
|
1167
993
|
outpost_id: nil,
|
@@ -1174,14 +1000,11 @@ module Aws::S3Control
|
|
1174
1000
|
|
1175
1001
|
class GetStorageLensConfigurationTagging
|
1176
1002
|
def self.build(context)
|
1177
|
-
unless context.config.regional_endpoint
|
1178
|
-
endpoint = context.config.endpoint.to_s
|
1179
|
-
end
|
1180
1003
|
Aws::S3Control::EndpointParameters.new(
|
1181
1004
|
region: context.config.region,
|
1182
1005
|
use_fips: context.config.use_fips_endpoint,
|
1183
1006
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1184
|
-
endpoint: endpoint,
|
1007
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1185
1008
|
account_id: context.params[:account_id],
|
1186
1009
|
requires_account_id: true,
|
1187
1010
|
outpost_id: nil,
|
@@ -1194,14 +1017,11 @@ module Aws::S3Control
|
|
1194
1017
|
|
1195
1018
|
class GetStorageLensGroup
|
1196
1019
|
def self.build(context)
|
1197
|
-
unless context.config.regional_endpoint
|
1198
|
-
endpoint = context.config.endpoint.to_s
|
1199
|
-
end
|
1200
1020
|
Aws::S3Control::EndpointParameters.new(
|
1201
1021
|
region: context.config.region,
|
1202
1022
|
use_fips: context.config.use_fips_endpoint,
|
1203
1023
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1204
|
-
endpoint: endpoint,
|
1024
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1205
1025
|
account_id: context.params[:account_id],
|
1206
1026
|
requires_account_id: true,
|
1207
1027
|
outpost_id: nil,
|
@@ -1214,14 +1034,11 @@ module Aws::S3Control
|
|
1214
1034
|
|
1215
1035
|
class ListAccessGrants
|
1216
1036
|
def self.build(context)
|
1217
|
-
unless context.config.regional_endpoint
|
1218
|
-
endpoint = context.config.endpoint.to_s
|
1219
|
-
end
|
1220
1037
|
Aws::S3Control::EndpointParameters.new(
|
1221
1038
|
region: context.config.region,
|
1222
1039
|
use_fips: context.config.use_fips_endpoint,
|
1223
1040
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1224
|
-
endpoint: endpoint,
|
1041
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1225
1042
|
account_id: context.params[:account_id],
|
1226
1043
|
requires_account_id: true,
|
1227
1044
|
outpost_id: nil,
|
@@ -1234,14 +1051,11 @@ module Aws::S3Control
|
|
1234
1051
|
|
1235
1052
|
class ListAccessGrantsInstances
|
1236
1053
|
def self.build(context)
|
1237
|
-
unless context.config.regional_endpoint
|
1238
|
-
endpoint = context.config.endpoint.to_s
|
1239
|
-
end
|
1240
1054
|
Aws::S3Control::EndpointParameters.new(
|
1241
1055
|
region: context.config.region,
|
1242
1056
|
use_fips: context.config.use_fips_endpoint,
|
1243
1057
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1244
|
-
endpoint: endpoint,
|
1058
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1245
1059
|
account_id: context.params[:account_id],
|
1246
1060
|
requires_account_id: true,
|
1247
1061
|
outpost_id: nil,
|
@@ -1254,14 +1068,11 @@ module Aws::S3Control
|
|
1254
1068
|
|
1255
1069
|
class ListAccessGrantsLocations
|
1256
1070
|
def self.build(context)
|
1257
|
-
unless context.config.regional_endpoint
|
1258
|
-
endpoint = context.config.endpoint.to_s
|
1259
|
-
end
|
1260
1071
|
Aws::S3Control::EndpointParameters.new(
|
1261
1072
|
region: context.config.region,
|
1262
1073
|
use_fips: context.config.use_fips_endpoint,
|
1263
1074
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1264
|
-
endpoint: endpoint,
|
1075
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1265
1076
|
account_id: context.params[:account_id],
|
1266
1077
|
requires_account_id: true,
|
1267
1078
|
outpost_id: nil,
|
@@ -1274,14 +1085,11 @@ module Aws::S3Control
|
|
1274
1085
|
|
1275
1086
|
class ListAccessPoints
|
1276
1087
|
def self.build(context)
|
1277
|
-
unless context.config.regional_endpoint
|
1278
|
-
endpoint = context.config.endpoint.to_s
|
1279
|
-
end
|
1280
1088
|
Aws::S3Control::EndpointParameters.new(
|
1281
1089
|
region: context.config.region,
|
1282
1090
|
use_fips: context.config.use_fips_endpoint,
|
1283
1091
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1284
|
-
endpoint: endpoint,
|
1092
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1285
1093
|
account_id: context.params[:account_id],
|
1286
1094
|
requires_account_id: true,
|
1287
1095
|
outpost_id: nil,
|
@@ -1294,14 +1102,11 @@ module Aws::S3Control
|
|
1294
1102
|
|
1295
1103
|
class ListAccessPointsForObjectLambda
|
1296
1104
|
def self.build(context)
|
1297
|
-
unless context.config.regional_endpoint
|
1298
|
-
endpoint = context.config.endpoint.to_s
|
1299
|
-
end
|
1300
1105
|
Aws::S3Control::EndpointParameters.new(
|
1301
1106
|
region: context.config.region,
|
1302
1107
|
use_fips: context.config.use_fips_endpoint,
|
1303
1108
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1304
|
-
endpoint: endpoint,
|
1109
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1305
1110
|
account_id: context.params[:account_id],
|
1306
1111
|
requires_account_id: true,
|
1307
1112
|
outpost_id: nil,
|
@@ -1314,14 +1119,11 @@ module Aws::S3Control
|
|
1314
1119
|
|
1315
1120
|
class ListCallerAccessGrants
|
1316
1121
|
def self.build(context)
|
1317
|
-
unless context.config.regional_endpoint
|
1318
|
-
endpoint = context.config.endpoint.to_s
|
1319
|
-
end
|
1320
1122
|
Aws::S3Control::EndpointParameters.new(
|
1321
1123
|
region: context.config.region,
|
1322
1124
|
use_fips: context.config.use_fips_endpoint,
|
1323
1125
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1324
|
-
endpoint: endpoint,
|
1126
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1325
1127
|
account_id: context.params[:account_id],
|
1326
1128
|
requires_account_id: true,
|
1327
1129
|
outpost_id: nil,
|
@@ -1334,14 +1136,11 @@ module Aws::S3Control
|
|
1334
1136
|
|
1335
1137
|
class ListJobs
|
1336
1138
|
def self.build(context)
|
1337
|
-
unless context.config.regional_endpoint
|
1338
|
-
endpoint = context.config.endpoint.to_s
|
1339
|
-
end
|
1340
1139
|
Aws::S3Control::EndpointParameters.new(
|
1341
1140
|
region: context.config.region,
|
1342
1141
|
use_fips: context.config.use_fips_endpoint,
|
1343
1142
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1344
|
-
endpoint: endpoint,
|
1143
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1345
1144
|
account_id: context.params[:account_id],
|
1346
1145
|
requires_account_id: true,
|
1347
1146
|
outpost_id: nil,
|
@@ -1354,14 +1153,11 @@ module Aws::S3Control
|
|
1354
1153
|
|
1355
1154
|
class ListMultiRegionAccessPoints
|
1356
1155
|
def self.build(context)
|
1357
|
-
unless context.config.regional_endpoint
|
1358
|
-
endpoint = context.config.endpoint.to_s
|
1359
|
-
end
|
1360
1156
|
Aws::S3Control::EndpointParameters.new(
|
1361
1157
|
region: context.config.region,
|
1362
1158
|
use_fips: context.config.use_fips_endpoint,
|
1363
1159
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1364
|
-
endpoint: endpoint,
|
1160
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1365
1161
|
account_id: context.params[:account_id],
|
1366
1162
|
requires_account_id: true,
|
1367
1163
|
outpost_id: nil,
|
@@ -1374,14 +1170,11 @@ module Aws::S3Control
|
|
1374
1170
|
|
1375
1171
|
class ListRegionalBuckets
|
1376
1172
|
def self.build(context)
|
1377
|
-
unless context.config.regional_endpoint
|
1378
|
-
endpoint = context.config.endpoint.to_s
|
1379
|
-
end
|
1380
1173
|
Aws::S3Control::EndpointParameters.new(
|
1381
1174
|
region: context.config.region,
|
1382
1175
|
use_fips: context.config.use_fips_endpoint,
|
1383
1176
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1384
|
-
endpoint: endpoint,
|
1177
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1385
1178
|
account_id: context.params[:account_id],
|
1386
1179
|
requires_account_id: true,
|
1387
1180
|
outpost_id: context.params[:outpost_id],
|
@@ -1394,14 +1187,11 @@ module Aws::S3Control
|
|
1394
1187
|
|
1395
1188
|
class ListStorageLensConfigurations
|
1396
1189
|
def self.build(context)
|
1397
|
-
unless context.config.regional_endpoint
|
1398
|
-
endpoint = context.config.endpoint.to_s
|
1399
|
-
end
|
1400
1190
|
Aws::S3Control::EndpointParameters.new(
|
1401
1191
|
region: context.config.region,
|
1402
1192
|
use_fips: context.config.use_fips_endpoint,
|
1403
1193
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1404
|
-
endpoint: endpoint,
|
1194
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1405
1195
|
account_id: context.params[:account_id],
|
1406
1196
|
requires_account_id: true,
|
1407
1197
|
outpost_id: nil,
|
@@ -1414,14 +1204,11 @@ module Aws::S3Control
|
|
1414
1204
|
|
1415
1205
|
class ListStorageLensGroups
|
1416
1206
|
def self.build(context)
|
1417
|
-
unless context.config.regional_endpoint
|
1418
|
-
endpoint = context.config.endpoint.to_s
|
1419
|
-
end
|
1420
1207
|
Aws::S3Control::EndpointParameters.new(
|
1421
1208
|
region: context.config.region,
|
1422
1209
|
use_fips: context.config.use_fips_endpoint,
|
1423
1210
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1424
|
-
endpoint: endpoint,
|
1211
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1425
1212
|
account_id: context.params[:account_id],
|
1426
1213
|
requires_account_id: true,
|
1427
1214
|
outpost_id: nil,
|
@@ -1434,14 +1221,11 @@ module Aws::S3Control
|
|
1434
1221
|
|
1435
1222
|
class ListTagsForResource
|
1436
1223
|
def self.build(context)
|
1437
|
-
unless context.config.regional_endpoint
|
1438
|
-
endpoint = context.config.endpoint.to_s
|
1439
|
-
end
|
1440
1224
|
Aws::S3Control::EndpointParameters.new(
|
1441
1225
|
region: context.config.region,
|
1442
1226
|
use_fips: context.config.use_fips_endpoint,
|
1443
1227
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1444
|
-
endpoint: endpoint,
|
1228
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1445
1229
|
account_id: context.params[:account_id],
|
1446
1230
|
requires_account_id: true,
|
1447
1231
|
outpost_id: nil,
|
@@ -1454,14 +1238,11 @@ module Aws::S3Control
|
|
1454
1238
|
|
1455
1239
|
class PutAccessGrantsInstanceResourcePolicy
|
1456
1240
|
def self.build(context)
|
1457
|
-
unless context.config.regional_endpoint
|
1458
|
-
endpoint = context.config.endpoint.to_s
|
1459
|
-
end
|
1460
1241
|
Aws::S3Control::EndpointParameters.new(
|
1461
1242
|
region: context.config.region,
|
1462
1243
|
use_fips: context.config.use_fips_endpoint,
|
1463
1244
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1464
|
-
endpoint: endpoint,
|
1245
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1465
1246
|
account_id: context.params[:account_id],
|
1466
1247
|
requires_account_id: true,
|
1467
1248
|
outpost_id: nil,
|
@@ -1474,14 +1255,11 @@ module Aws::S3Control
|
|
1474
1255
|
|
1475
1256
|
class PutAccessPointConfigurationForObjectLambda
|
1476
1257
|
def self.build(context)
|
1477
|
-
unless context.config.regional_endpoint
|
1478
|
-
endpoint = context.config.endpoint.to_s
|
1479
|
-
end
|
1480
1258
|
Aws::S3Control::EndpointParameters.new(
|
1481
1259
|
region: context.config.region,
|
1482
1260
|
use_fips: context.config.use_fips_endpoint,
|
1483
1261
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1484
|
-
endpoint: endpoint,
|
1262
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1485
1263
|
account_id: context.params[:account_id],
|
1486
1264
|
requires_account_id: true,
|
1487
1265
|
outpost_id: nil,
|
@@ -1494,14 +1272,11 @@ module Aws::S3Control
|
|
1494
1272
|
|
1495
1273
|
class PutAccessPointPolicy
|
1496
1274
|
def self.build(context)
|
1497
|
-
unless context.config.regional_endpoint
|
1498
|
-
endpoint = context.config.endpoint.to_s
|
1499
|
-
end
|
1500
1275
|
Aws::S3Control::EndpointParameters.new(
|
1501
1276
|
region: context.config.region,
|
1502
1277
|
use_fips: context.config.use_fips_endpoint,
|
1503
1278
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1504
|
-
endpoint: endpoint,
|
1279
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1505
1280
|
account_id: context.params[:account_id],
|
1506
1281
|
requires_account_id: true,
|
1507
1282
|
outpost_id: nil,
|
@@ -1514,14 +1289,11 @@ module Aws::S3Control
|
|
1514
1289
|
|
1515
1290
|
class PutAccessPointPolicyForObjectLambda
|
1516
1291
|
def self.build(context)
|
1517
|
-
unless context.config.regional_endpoint
|
1518
|
-
endpoint = context.config.endpoint.to_s
|
1519
|
-
end
|
1520
1292
|
Aws::S3Control::EndpointParameters.new(
|
1521
1293
|
region: context.config.region,
|
1522
1294
|
use_fips: context.config.use_fips_endpoint,
|
1523
1295
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1524
|
-
endpoint: endpoint,
|
1296
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1525
1297
|
account_id: context.params[:account_id],
|
1526
1298
|
requires_account_id: true,
|
1527
1299
|
outpost_id: nil,
|
@@ -1534,14 +1306,11 @@ module Aws::S3Control
|
|
1534
1306
|
|
1535
1307
|
class PutBucketLifecycleConfiguration
|
1536
1308
|
def self.build(context)
|
1537
|
-
unless context.config.regional_endpoint
|
1538
|
-
endpoint = context.config.endpoint.to_s
|
1539
|
-
end
|
1540
1309
|
Aws::S3Control::EndpointParameters.new(
|
1541
1310
|
region: context.config.region,
|
1542
1311
|
use_fips: context.config.use_fips_endpoint,
|
1543
1312
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1544
|
-
endpoint: endpoint,
|
1313
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1545
1314
|
account_id: context.params[:account_id],
|
1546
1315
|
requires_account_id: true,
|
1547
1316
|
outpost_id: nil,
|
@@ -1554,14 +1323,11 @@ module Aws::S3Control
|
|
1554
1323
|
|
1555
1324
|
class PutBucketPolicy
|
1556
1325
|
def self.build(context)
|
1557
|
-
unless context.config.regional_endpoint
|
1558
|
-
endpoint = context.config.endpoint.to_s
|
1559
|
-
end
|
1560
1326
|
Aws::S3Control::EndpointParameters.new(
|
1561
1327
|
region: context.config.region,
|
1562
1328
|
use_fips: context.config.use_fips_endpoint,
|
1563
1329
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1564
|
-
endpoint: endpoint,
|
1330
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1565
1331
|
account_id: context.params[:account_id],
|
1566
1332
|
requires_account_id: true,
|
1567
1333
|
outpost_id: nil,
|
@@ -1574,14 +1340,11 @@ module Aws::S3Control
|
|
1574
1340
|
|
1575
1341
|
class PutBucketReplication
|
1576
1342
|
def self.build(context)
|
1577
|
-
unless context.config.regional_endpoint
|
1578
|
-
endpoint = context.config.endpoint.to_s
|
1579
|
-
end
|
1580
1343
|
Aws::S3Control::EndpointParameters.new(
|
1581
1344
|
region: context.config.region,
|
1582
1345
|
use_fips: context.config.use_fips_endpoint,
|
1583
1346
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1584
|
-
endpoint: endpoint,
|
1347
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1585
1348
|
account_id: context.params[:account_id],
|
1586
1349
|
requires_account_id: true,
|
1587
1350
|
outpost_id: nil,
|
@@ -1594,14 +1357,11 @@ module Aws::S3Control
|
|
1594
1357
|
|
1595
1358
|
class PutBucketTagging
|
1596
1359
|
def self.build(context)
|
1597
|
-
unless context.config.regional_endpoint
|
1598
|
-
endpoint = context.config.endpoint.to_s
|
1599
|
-
end
|
1600
1360
|
Aws::S3Control::EndpointParameters.new(
|
1601
1361
|
region: context.config.region,
|
1602
1362
|
use_fips: context.config.use_fips_endpoint,
|
1603
1363
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1604
|
-
endpoint: endpoint,
|
1364
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1605
1365
|
account_id: context.params[:account_id],
|
1606
1366
|
requires_account_id: true,
|
1607
1367
|
outpost_id: nil,
|
@@ -1614,14 +1374,11 @@ module Aws::S3Control
|
|
1614
1374
|
|
1615
1375
|
class PutBucketVersioning
|
1616
1376
|
def self.build(context)
|
1617
|
-
unless context.config.regional_endpoint
|
1618
|
-
endpoint = context.config.endpoint.to_s
|
1619
|
-
end
|
1620
1377
|
Aws::S3Control::EndpointParameters.new(
|
1621
1378
|
region: context.config.region,
|
1622
1379
|
use_fips: context.config.use_fips_endpoint,
|
1623
1380
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1624
|
-
endpoint: endpoint,
|
1381
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1625
1382
|
account_id: context.params[:account_id],
|
1626
1383
|
requires_account_id: true,
|
1627
1384
|
outpost_id: nil,
|
@@ -1634,14 +1391,11 @@ module Aws::S3Control
|
|
1634
1391
|
|
1635
1392
|
class PutJobTagging
|
1636
1393
|
def self.build(context)
|
1637
|
-
unless context.config.regional_endpoint
|
1638
|
-
endpoint = context.config.endpoint.to_s
|
1639
|
-
end
|
1640
1394
|
Aws::S3Control::EndpointParameters.new(
|
1641
1395
|
region: context.config.region,
|
1642
1396
|
use_fips: context.config.use_fips_endpoint,
|
1643
1397
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1644
|
-
endpoint: endpoint,
|
1398
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1645
1399
|
account_id: context.params[:account_id],
|
1646
1400
|
requires_account_id: true,
|
1647
1401
|
outpost_id: nil,
|
@@ -1654,14 +1408,11 @@ module Aws::S3Control
|
|
1654
1408
|
|
1655
1409
|
class PutMultiRegionAccessPointPolicy
|
1656
1410
|
def self.build(context)
|
1657
|
-
unless context.config.regional_endpoint
|
1658
|
-
endpoint = context.config.endpoint.to_s
|
1659
|
-
end
|
1660
1411
|
Aws::S3Control::EndpointParameters.new(
|
1661
1412
|
region: context.config.region,
|
1662
1413
|
use_fips: context.config.use_fips_endpoint,
|
1663
1414
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1664
|
-
endpoint: endpoint,
|
1415
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1665
1416
|
account_id: context.params[:account_id],
|
1666
1417
|
requires_account_id: true,
|
1667
1418
|
outpost_id: nil,
|
@@ -1674,14 +1425,11 @@ module Aws::S3Control
|
|
1674
1425
|
|
1675
1426
|
class PutPublicAccessBlock
|
1676
1427
|
def self.build(context)
|
1677
|
-
unless context.config.regional_endpoint
|
1678
|
-
endpoint = context.config.endpoint.to_s
|
1679
|
-
end
|
1680
1428
|
Aws::S3Control::EndpointParameters.new(
|
1681
1429
|
region: context.config.region,
|
1682
1430
|
use_fips: context.config.use_fips_endpoint,
|
1683
1431
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1684
|
-
endpoint: endpoint,
|
1432
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1685
1433
|
account_id: context.params[:account_id],
|
1686
1434
|
requires_account_id: true,
|
1687
1435
|
outpost_id: nil,
|
@@ -1694,14 +1442,11 @@ module Aws::S3Control
|
|
1694
1442
|
|
1695
1443
|
class PutStorageLensConfiguration
|
1696
1444
|
def self.build(context)
|
1697
|
-
unless context.config.regional_endpoint
|
1698
|
-
endpoint = context.config.endpoint.to_s
|
1699
|
-
end
|
1700
1445
|
Aws::S3Control::EndpointParameters.new(
|
1701
1446
|
region: context.config.region,
|
1702
1447
|
use_fips: context.config.use_fips_endpoint,
|
1703
1448
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1704
|
-
endpoint: endpoint,
|
1449
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1705
1450
|
account_id: context.params[:account_id],
|
1706
1451
|
requires_account_id: true,
|
1707
1452
|
outpost_id: nil,
|
@@ -1714,14 +1459,11 @@ module Aws::S3Control
|
|
1714
1459
|
|
1715
1460
|
class PutStorageLensConfigurationTagging
|
1716
1461
|
def self.build(context)
|
1717
|
-
unless context.config.regional_endpoint
|
1718
|
-
endpoint = context.config.endpoint.to_s
|
1719
|
-
end
|
1720
1462
|
Aws::S3Control::EndpointParameters.new(
|
1721
1463
|
region: context.config.region,
|
1722
1464
|
use_fips: context.config.use_fips_endpoint,
|
1723
1465
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1724
|
-
endpoint: endpoint,
|
1466
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1725
1467
|
account_id: context.params[:account_id],
|
1726
1468
|
requires_account_id: true,
|
1727
1469
|
outpost_id: nil,
|
@@ -1734,14 +1476,11 @@ module Aws::S3Control
|
|
1734
1476
|
|
1735
1477
|
class SubmitMultiRegionAccessPointRoutes
|
1736
1478
|
def self.build(context)
|
1737
|
-
unless context.config.regional_endpoint
|
1738
|
-
endpoint = context.config.endpoint.to_s
|
1739
|
-
end
|
1740
1479
|
Aws::S3Control::EndpointParameters.new(
|
1741
1480
|
region: context.config.region,
|
1742
1481
|
use_fips: context.config.use_fips_endpoint,
|
1743
1482
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1744
|
-
endpoint: endpoint,
|
1483
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1745
1484
|
account_id: context.params[:account_id],
|
1746
1485
|
requires_account_id: true,
|
1747
1486
|
outpost_id: nil,
|
@@ -1754,14 +1493,11 @@ module Aws::S3Control
|
|
1754
1493
|
|
1755
1494
|
class TagResource
|
1756
1495
|
def self.build(context)
|
1757
|
-
unless context.config.regional_endpoint
|
1758
|
-
endpoint = context.config.endpoint.to_s
|
1759
|
-
end
|
1760
1496
|
Aws::S3Control::EndpointParameters.new(
|
1761
1497
|
region: context.config.region,
|
1762
1498
|
use_fips: context.config.use_fips_endpoint,
|
1763
1499
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1764
|
-
endpoint: endpoint,
|
1500
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1765
1501
|
account_id: context.params[:account_id],
|
1766
1502
|
requires_account_id: true,
|
1767
1503
|
outpost_id: nil,
|
@@ -1774,14 +1510,11 @@ module Aws::S3Control
|
|
1774
1510
|
|
1775
1511
|
class UntagResource
|
1776
1512
|
def self.build(context)
|
1777
|
-
unless context.config.regional_endpoint
|
1778
|
-
endpoint = context.config.endpoint.to_s
|
1779
|
-
end
|
1780
1513
|
Aws::S3Control::EndpointParameters.new(
|
1781
1514
|
region: context.config.region,
|
1782
1515
|
use_fips: context.config.use_fips_endpoint,
|
1783
1516
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1784
|
-
endpoint: endpoint,
|
1517
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1785
1518
|
account_id: context.params[:account_id],
|
1786
1519
|
requires_account_id: true,
|
1787
1520
|
outpost_id: nil,
|
@@ -1794,14 +1527,11 @@ module Aws::S3Control
|
|
1794
1527
|
|
1795
1528
|
class UpdateAccessGrantsLocation
|
1796
1529
|
def self.build(context)
|
1797
|
-
unless context.config.regional_endpoint
|
1798
|
-
endpoint = context.config.endpoint.to_s
|
1799
|
-
end
|
1800
1530
|
Aws::S3Control::EndpointParameters.new(
|
1801
1531
|
region: context.config.region,
|
1802
1532
|
use_fips: context.config.use_fips_endpoint,
|
1803
1533
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1804
|
-
endpoint: endpoint,
|
1534
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1805
1535
|
account_id: context.params[:account_id],
|
1806
1536
|
requires_account_id: true,
|
1807
1537
|
outpost_id: nil,
|
@@ -1814,14 +1544,11 @@ module Aws::S3Control
|
|
1814
1544
|
|
1815
1545
|
class UpdateJobPriority
|
1816
1546
|
def self.build(context)
|
1817
|
-
unless context.config.regional_endpoint
|
1818
|
-
endpoint = context.config.endpoint.to_s
|
1819
|
-
end
|
1820
1547
|
Aws::S3Control::EndpointParameters.new(
|
1821
1548
|
region: context.config.region,
|
1822
1549
|
use_fips: context.config.use_fips_endpoint,
|
1823
1550
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1824
|
-
endpoint: endpoint,
|
1551
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1825
1552
|
account_id: context.params[:account_id],
|
1826
1553
|
requires_account_id: true,
|
1827
1554
|
outpost_id: nil,
|
@@ -1834,14 +1561,11 @@ module Aws::S3Control
|
|
1834
1561
|
|
1835
1562
|
class UpdateJobStatus
|
1836
1563
|
def self.build(context)
|
1837
|
-
unless context.config.regional_endpoint
|
1838
|
-
endpoint = context.config.endpoint.to_s
|
1839
|
-
end
|
1840
1564
|
Aws::S3Control::EndpointParameters.new(
|
1841
1565
|
region: context.config.region,
|
1842
1566
|
use_fips: context.config.use_fips_endpoint,
|
1843
1567
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1844
|
-
endpoint: endpoint,
|
1568
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1845
1569
|
account_id: context.params[:account_id],
|
1846
1570
|
requires_account_id: true,
|
1847
1571
|
outpost_id: nil,
|
@@ -1854,14 +1578,11 @@ module Aws::S3Control
|
|
1854
1578
|
|
1855
1579
|
class UpdateStorageLensGroup
|
1856
1580
|
def self.build(context)
|
1857
|
-
unless context.config.regional_endpoint
|
1858
|
-
endpoint = context.config.endpoint.to_s
|
1859
|
-
end
|
1860
1581
|
Aws::S3Control::EndpointParameters.new(
|
1861
1582
|
region: context.config.region,
|
1862
1583
|
use_fips: context.config.use_fips_endpoint,
|
1863
1584
|
use_dual_stack: context[:use_dualstack_endpoint],
|
1864
|
-
endpoint: endpoint,
|
1585
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
1865
1586
|
account_id: context.params[:account_id],
|
1866
1587
|
requires_account_id: true,
|
1867
1588
|
outpost_id: nil,
|