aws-sdk-s3control 1.55.0 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +168 -7
- data/lib/aws-sdk-s3control/client_api.rb +78 -3
- data/lib/aws-sdk-s3control/endpoint_provider.rb +41 -41
- data/lib/aws-sdk-s3control/endpoints.rb +40 -0
- data/lib/aws-sdk-s3control/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-s3control/types.rb +418 -27
- data/lib/aws-sdk-s3control.rb +1 -1
- metadata +2 -2
@@ -82,9 +82,19 @@ module Aws::S3Control
|
|
82
82
|
include Aws::Structure
|
83
83
|
end
|
84
84
|
|
85
|
-
# A container for the account
|
85
|
+
# A container for the account-level Amazon S3 Storage Lens
|
86
86
|
# configuration.
|
87
87
|
#
|
88
|
+
# For more information about S3 Storage Lens, see [Assessing your
|
89
|
+
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
90
|
+
# User Guide*. For a complete list of S3 Storage Lens metrics, see [S3
|
91
|
+
# Storage Lens metrics glossary][2] in the *Amazon S3 User Guide*.
|
92
|
+
#
|
93
|
+
#
|
94
|
+
#
|
95
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html
|
96
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
|
97
|
+
#
|
88
98
|
# @note When making an API call, you may pass AccountLevel
|
89
99
|
# data as a hash:
|
90
100
|
#
|
@@ -106,27 +116,73 @@ module Aws::S3Control
|
|
106
116
|
# },
|
107
117
|
# },
|
108
118
|
# },
|
119
|
+
# advanced_cost_optimization_metrics: {
|
120
|
+
# is_enabled: false,
|
121
|
+
# },
|
122
|
+
# advanced_data_protection_metrics: {
|
123
|
+
# is_enabled: false,
|
124
|
+
# },
|
125
|
+
# detailed_status_codes_metrics: {
|
126
|
+
# is_enabled: false,
|
127
|
+
# },
|
128
|
+
# },
|
129
|
+
# advanced_cost_optimization_metrics: {
|
130
|
+
# is_enabled: false,
|
131
|
+
# },
|
132
|
+
# advanced_data_protection_metrics: {
|
133
|
+
# is_enabled: false,
|
134
|
+
# },
|
135
|
+
# detailed_status_codes_metrics: {
|
136
|
+
# is_enabled: false,
|
109
137
|
# },
|
110
138
|
# }
|
111
139
|
#
|
112
140
|
# @!attribute [rw] activity_metrics
|
113
|
-
# A container for
|
141
|
+
# A container for S3 Storage Lens activity metrics.
|
114
142
|
# @return [Types::ActivityMetrics]
|
115
143
|
#
|
116
144
|
# @!attribute [rw] bucket_level
|
117
145
|
# A container for the S3 Storage Lens bucket-level configuration.
|
118
146
|
# @return [Types::BucketLevel]
|
119
147
|
#
|
148
|
+
# @!attribute [rw] advanced_cost_optimization_metrics
|
149
|
+
# A container for S3 Storage Lens advanced cost-optimization metrics.
|
150
|
+
# @return [Types::AdvancedCostOptimizationMetrics]
|
151
|
+
#
|
152
|
+
# @!attribute [rw] advanced_data_protection_metrics
|
153
|
+
# A container for S3 Storage Lens advanced data-protection metrics.
|
154
|
+
# @return [Types::AdvancedDataProtectionMetrics]
|
155
|
+
#
|
156
|
+
# @!attribute [rw] detailed_status_codes_metrics
|
157
|
+
# A container for detailed status code metrics.
|
158
|
+
# @return [Types::DetailedStatusCodesMetrics]
|
159
|
+
#
|
120
160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AccountLevel AWS API Documentation
|
121
161
|
#
|
122
162
|
class AccountLevel < Struct.new(
|
123
163
|
:activity_metrics,
|
124
|
-
:bucket_level
|
164
|
+
:bucket_level,
|
165
|
+
:advanced_cost_optimization_metrics,
|
166
|
+
:advanced_data_protection_metrics,
|
167
|
+
:detailed_status_codes_metrics)
|
125
168
|
SENSITIVE = []
|
126
169
|
include Aws::Structure
|
127
170
|
end
|
128
171
|
|
129
|
-
#
|
172
|
+
# The container element for Amazon S3 Storage Lens activity metrics.
|
173
|
+
# Activity metrics show details about how your storage is requested,
|
174
|
+
# such as requests (for example, All requests, Get requests, Put
|
175
|
+
# requests), bytes uploaded or downloaded, and errors.
|
176
|
+
#
|
177
|
+
# For more information about S3 Storage Lens, see [Assessing your
|
178
|
+
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
179
|
+
# User Guide*. For a complete list of S3 Storage Lens metrics, see [S3
|
180
|
+
# Storage Lens metrics glossary][2] in the *Amazon S3 User Guide*.
|
181
|
+
#
|
182
|
+
#
|
183
|
+
#
|
184
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html
|
185
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
|
130
186
|
#
|
131
187
|
# @note When making an API call, you may pass ActivityMetrics
|
132
188
|
# data as a hash:
|
@@ -136,7 +192,7 @@ module Aws::S3Control
|
|
136
192
|
# }
|
137
193
|
#
|
138
194
|
# @!attribute [rw] is_enabled
|
139
|
-
# A container
|
195
|
+
# A container that indicates whether activity metrics are enabled.
|
140
196
|
# @return [Boolean]
|
141
197
|
#
|
142
198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ActivityMetrics AWS API Documentation
|
@@ -147,6 +203,77 @@ module Aws::S3Control
|
|
147
203
|
include Aws::Structure
|
148
204
|
end
|
149
205
|
|
206
|
+
# The container element for Amazon S3 Storage Lens advanced
|
207
|
+
# cost-optimization metrics. Advanced cost-optimization metrics provide
|
208
|
+
# insights that you can use to manage and optimize your storage costs,
|
209
|
+
# for example, lifecycle rule counts for transitions, expirations, and
|
210
|
+
# incomplete multipart uploads.
|
211
|
+
#
|
212
|
+
# For more information about S3 Storage Lens, see [Assessing your
|
213
|
+
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
214
|
+
# User Guide*. For a complete list of S3 Storage Lens metrics, see [S3
|
215
|
+
# Storage Lens metrics glossary][2] in the *Amazon S3 User Guide*.
|
216
|
+
#
|
217
|
+
#
|
218
|
+
#
|
219
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html
|
220
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
|
221
|
+
#
|
222
|
+
# @note When making an API call, you may pass AdvancedCostOptimizationMetrics
|
223
|
+
# data as a hash:
|
224
|
+
#
|
225
|
+
# {
|
226
|
+
# is_enabled: false,
|
227
|
+
# }
|
228
|
+
#
|
229
|
+
# @!attribute [rw] is_enabled
|
230
|
+
# A container that indicates whether advanced cost-optimization
|
231
|
+
# metrics are enabled.
|
232
|
+
# @return [Boolean]
|
233
|
+
#
|
234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AdvancedCostOptimizationMetrics AWS API Documentation
|
235
|
+
#
|
236
|
+
class AdvancedCostOptimizationMetrics < Struct.new(
|
237
|
+
:is_enabled)
|
238
|
+
SENSITIVE = []
|
239
|
+
include Aws::Structure
|
240
|
+
end
|
241
|
+
|
242
|
+
# The container element for Amazon S3 Storage Lens advanced
|
243
|
+
# data-protection metrics. Advanced data-protection metrics provide
|
244
|
+
# insights that you can use to perform audits and protect your data, for
|
245
|
+
# example replication rule counts within and across Regions.
|
246
|
+
#
|
247
|
+
# For more information about S3 Storage Lens, see [Assessing your
|
248
|
+
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
249
|
+
# User Guide*. For a complete list of S3 Storage Lens metrics, see [S3
|
250
|
+
# Storage Lens metrics glossary][2] in the *Amazon S3 User Guide*.
|
251
|
+
#
|
252
|
+
#
|
253
|
+
#
|
254
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html
|
255
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
|
256
|
+
#
|
257
|
+
# @note When making an API call, you may pass AdvancedDataProtectionMetrics
|
258
|
+
# data as a hash:
|
259
|
+
#
|
260
|
+
# {
|
261
|
+
# is_enabled: false,
|
262
|
+
# }
|
263
|
+
#
|
264
|
+
# @!attribute [rw] is_enabled
|
265
|
+
# A container that indicates whether advanced data-protection metrics
|
266
|
+
# are enabled.
|
267
|
+
# @return [Boolean]
|
268
|
+
#
|
269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AdvancedDataProtectionMetrics AWS API Documentation
|
270
|
+
#
|
271
|
+
class AdvancedDataProtectionMetrics < Struct.new(
|
272
|
+
:is_enabled)
|
273
|
+
SENSITIVE = []
|
274
|
+
include Aws::Structure
|
275
|
+
end
|
276
|
+
|
150
277
|
# Error details for the failed asynchronous operation.
|
151
278
|
#
|
152
279
|
# @!attribute [rw] code
|
@@ -330,7 +457,16 @@ module Aws::S3Control
|
|
330
457
|
#
|
331
458
|
class BucketAlreadyOwnedByYou < Aws::EmptyStructure; end
|
332
459
|
|
333
|
-
# A container for the bucket-level configuration
|
460
|
+
# A container for the bucket-level configuration for Amazon S3 Storage
|
461
|
+
# Lens.
|
462
|
+
#
|
463
|
+
# For more information about S3 Storage Lens, see [Assessing your
|
464
|
+
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
465
|
+
# User Guide*.
|
466
|
+
#
|
467
|
+
#
|
468
|
+
#
|
469
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html
|
334
470
|
#
|
335
471
|
# @note When making an API call, you may pass BucketLevel
|
336
472
|
# data as a hash:
|
@@ -349,23 +485,49 @@ module Aws::S3Control
|
|
349
485
|
# },
|
350
486
|
# },
|
351
487
|
# },
|
488
|
+
# advanced_cost_optimization_metrics: {
|
489
|
+
# is_enabled: false,
|
490
|
+
# },
|
491
|
+
# advanced_data_protection_metrics: {
|
492
|
+
# is_enabled: false,
|
493
|
+
# },
|
494
|
+
# detailed_status_codes_metrics: {
|
495
|
+
# is_enabled: false,
|
496
|
+
# },
|
352
497
|
# }
|
353
498
|
#
|
354
499
|
# @!attribute [rw] activity_metrics
|
355
|
-
# A container for the bucket-level activity metrics for
|
356
|
-
#
|
500
|
+
# A container for the bucket-level activity metrics for S3 Storage
|
501
|
+
# Lens.
|
357
502
|
# @return [Types::ActivityMetrics]
|
358
503
|
#
|
359
504
|
# @!attribute [rw] prefix_level
|
360
|
-
# A container for the
|
361
|
-
# Lens
|
505
|
+
# A container for the prefix-level metrics for S3 Storage Lens.
|
362
506
|
# @return [Types::PrefixLevel]
|
363
507
|
#
|
508
|
+
# @!attribute [rw] advanced_cost_optimization_metrics
|
509
|
+
# A container for bucket-level advanced cost-optimization metrics for
|
510
|
+
# S3 Storage Lens.
|
511
|
+
# @return [Types::AdvancedCostOptimizationMetrics]
|
512
|
+
#
|
513
|
+
# @!attribute [rw] advanced_data_protection_metrics
|
514
|
+
# A container for bucket-level advanced data-protection metrics for S3
|
515
|
+
# Storage Lens.
|
516
|
+
# @return [Types::AdvancedDataProtectionMetrics]
|
517
|
+
#
|
518
|
+
# @!attribute [rw] detailed_status_codes_metrics
|
519
|
+
# A container for bucket-level detailed status code metrics for S3
|
520
|
+
# Storage Lens.
|
521
|
+
# @return [Types::DetailedStatusCodesMetrics]
|
522
|
+
#
|
364
523
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/BucketLevel AWS API Documentation
|
365
524
|
#
|
366
525
|
class BucketLevel < Struct.new(
|
367
526
|
:activity_metrics,
|
368
|
-
:prefix_level
|
527
|
+
:prefix_level,
|
528
|
+
:advanced_cost_optimization_metrics,
|
529
|
+
:advanced_data_protection_metrics,
|
530
|
+
:detailed_status_codes_metrics)
|
369
531
|
SENSITIVE = []
|
370
532
|
include Aws::Structure
|
371
533
|
end
|
@@ -1026,7 +1188,7 @@ module Aws::S3Control
|
|
1026
1188
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
1027
1189
|
# *Amazon S3 User Guide*.
|
1028
1190
|
#
|
1029
|
-
# This is not supported for Amazon S3 on Outposts.
|
1191
|
+
# This data type is not supported for Amazon S3 on Outposts.
|
1030
1192
|
#
|
1031
1193
|
#
|
1032
1194
|
#
|
@@ -1669,6 +1831,41 @@ module Aws::S3Control
|
|
1669
1831
|
include Aws::Structure
|
1670
1832
|
end
|
1671
1833
|
|
1834
|
+
# The container element for Amazon S3 Storage Lens detailed status code
|
1835
|
+
# metrics. Detailed status code metrics generate metrics for HTTP status
|
1836
|
+
# codes, such as `200 OK`, `403 Forbidden`, `503 Service Unavailable`
|
1837
|
+
# and others.
|
1838
|
+
#
|
1839
|
+
# For more information about S3 Storage Lens, see [Assessing your
|
1840
|
+
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
1841
|
+
# User Guide*. For a complete list of S3 Storage Lens metrics, see [S3
|
1842
|
+
# Storage Lens metrics glossary][2] in the *Amazon S3 User Guide*.
|
1843
|
+
#
|
1844
|
+
#
|
1845
|
+
#
|
1846
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html
|
1847
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
|
1848
|
+
#
|
1849
|
+
# @note When making an API call, you may pass DetailedStatusCodesMetrics
|
1850
|
+
# data as a hash:
|
1851
|
+
#
|
1852
|
+
# {
|
1853
|
+
# is_enabled: false,
|
1854
|
+
# }
|
1855
|
+
#
|
1856
|
+
# @!attribute [rw] is_enabled
|
1857
|
+
# A container that indicates whether detailed status code metrics are
|
1858
|
+
# enabled.
|
1859
|
+
# @return [Boolean]
|
1860
|
+
#
|
1861
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DetailedStatusCodesMetrics AWS API Documentation
|
1862
|
+
#
|
1863
|
+
class DetailedStatusCodesMetrics < Struct.new(
|
1864
|
+
:is_enabled)
|
1865
|
+
SENSITIVE = []
|
1866
|
+
include Aws::Structure
|
1867
|
+
end
|
1868
|
+
|
1672
1869
|
# The last established access control policy for a Multi-Region Access
|
1673
1870
|
# Point.
|
1674
1871
|
#
|
@@ -2084,7 +2281,7 @@ module Aws::S3Control
|
|
2084
2281
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
2085
2282
|
# *Amazon S3 User Guide*.
|
2086
2283
|
#
|
2087
|
-
# This is not supported for Amazon S3 on Outposts.
|
2284
|
+
# This data type is not supported for Amazon S3 on Outposts.
|
2088
2285
|
#
|
2089
2286
|
#
|
2090
2287
|
#
|
@@ -2563,6 +2760,51 @@ module Aws::S3Control
|
|
2563
2760
|
include Aws::Structure
|
2564
2761
|
end
|
2565
2762
|
|
2763
|
+
# @note When making an API call, you may pass GetMultiRegionAccessPointRoutesRequest
|
2764
|
+
# data as a hash:
|
2765
|
+
#
|
2766
|
+
# {
|
2767
|
+
# account_id: "AccountId",
|
2768
|
+
# mrap: "MultiRegionAccessPointId", # required
|
2769
|
+
# }
|
2770
|
+
#
|
2771
|
+
# @!attribute [rw] account_id
|
2772
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
2773
|
+
# Access Point.
|
2774
|
+
# @return [String]
|
2775
|
+
#
|
2776
|
+
# @!attribute [rw] mrap
|
2777
|
+
# The Multi-Region Access Point ARN.
|
2778
|
+
# @return [String]
|
2779
|
+
#
|
2780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointRoutesRequest AWS API Documentation
|
2781
|
+
#
|
2782
|
+
class GetMultiRegionAccessPointRoutesRequest < Struct.new(
|
2783
|
+
:account_id,
|
2784
|
+
:mrap)
|
2785
|
+
SENSITIVE = []
|
2786
|
+
include Aws::Structure
|
2787
|
+
end
|
2788
|
+
|
2789
|
+
# @!attribute [rw] mrap
|
2790
|
+
# The Multi-Region Access Point ARN.
|
2791
|
+
# @return [String]
|
2792
|
+
#
|
2793
|
+
# @!attribute [rw] routes
|
2794
|
+
# The different routes that make up the route configuration. Active
|
2795
|
+
# routes return a value of `100`, and passive routes return a value of
|
2796
|
+
# `0`.
|
2797
|
+
# @return [Array<Types::MultiRegionAccessPointRoute>]
|
2798
|
+
#
|
2799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointRoutesResult AWS API Documentation
|
2800
|
+
#
|
2801
|
+
class GetMultiRegionAccessPointRoutesResult < Struct.new(
|
2802
|
+
:mrap,
|
2803
|
+
:routes)
|
2804
|
+
SENSITIVE = []
|
2805
|
+
include Aws::Structure
|
2806
|
+
end
|
2807
|
+
|
2566
2808
|
# @!attribute [rw] public_access_block_configuration
|
2567
2809
|
# The `PublicAccessBlock` configuration currently in effect for this
|
2568
2810
|
# Amazon Web Services account.
|
@@ -3241,7 +3483,7 @@ module Aws::S3Control
|
|
3241
3483
|
# @return [Types::S3CopyObjectOperation]
|
3242
3484
|
#
|
3243
3485
|
# @!attribute [rw] s3_put_object_acl
|
3244
|
-
# Directs the specified job to run a
|
3486
|
+
# Directs the specified job to run a `PutObjectAcl` call on every
|
3245
3487
|
# object in the manifest.
|
3246
3488
|
# @return [Types::S3SetObjectAclOperation]
|
3247
3489
|
#
|
@@ -3751,6 +3993,7 @@ module Aws::S3Control
|
|
3751
3993
|
# @return [String]
|
3752
3994
|
#
|
3753
3995
|
# @!attribute [rw] tag
|
3996
|
+
# A container for a key-value name pair.
|
3754
3997
|
# @return [Types::S3Tag]
|
3755
3998
|
#
|
3756
3999
|
# @!attribute [rw] and
|
@@ -4243,7 +4486,7 @@ module Aws::S3Control
|
|
4243
4486
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
4244
4487
|
# *Amazon S3 User Guide*.
|
4245
4488
|
#
|
4246
|
-
# This is not supported for Amazon S3 on Outposts.
|
4489
|
+
# This data type is not supported for Amazon S3 on Outposts.
|
4247
4490
|
#
|
4248
4491
|
#
|
4249
4492
|
#
|
@@ -4280,6 +4523,70 @@ module Aws::S3Control
|
|
4280
4523
|
include Aws::Structure
|
4281
4524
|
end
|
4282
4525
|
|
4526
|
+
# A structure for a Multi-Region Access Point that indicates where
|
4527
|
+
# Amazon S3 traffic can be routed. Routes can be either active or
|
4528
|
+
# passive. Active routes can process Amazon S3 requests through the
|
4529
|
+
# Multi-Region Access Point, but passive routes are not eligible to
|
4530
|
+
# process Amazon S3 requests.
|
4531
|
+
#
|
4532
|
+
# Each route contains the Amazon S3 bucket name and the Amazon Web
|
4533
|
+
# Services Region that the bucket is located in. The route also includes
|
4534
|
+
# the `TrafficDialPercentage` value, which shows whether the bucket and
|
4535
|
+
# Region are active (indicated by a value of `100`) or passive
|
4536
|
+
# (indicated by a value of `0`).
|
4537
|
+
#
|
4538
|
+
# @note When making an API call, you may pass MultiRegionAccessPointRoute
|
4539
|
+
# data as a hash:
|
4540
|
+
#
|
4541
|
+
# {
|
4542
|
+
# bucket: "BucketName",
|
4543
|
+
# region: "RegionName",
|
4544
|
+
# traffic_dial_percentage: 1, # required
|
4545
|
+
# }
|
4546
|
+
#
|
4547
|
+
# @!attribute [rw] bucket
|
4548
|
+
# The name of the Amazon S3 bucket for which you'll submit a routing
|
4549
|
+
# configuration change. Either the `Bucket` or the `Region` value must
|
4550
|
+
# be provided. If both are provided, the bucket must be in the
|
4551
|
+
# specified Region.
|
4552
|
+
# @return [String]
|
4553
|
+
#
|
4554
|
+
# @!attribute [rw] region
|
4555
|
+
# The Amazon Web Services Region to which you'll be submitting a
|
4556
|
+
# routing configuration change. Either the `Bucket` or the `Region`
|
4557
|
+
# value must be provided. If both are provided, the bucket must be in
|
4558
|
+
# the specified Region.
|
4559
|
+
# @return [String]
|
4560
|
+
#
|
4561
|
+
# @!attribute [rw] traffic_dial_percentage
|
4562
|
+
# The traffic state for the specified bucket or Amazon Web Services
|
4563
|
+
# Region.
|
4564
|
+
#
|
4565
|
+
# A value of `0` indicates a passive state, which means that no new
|
4566
|
+
# traffic will be routed to the Region.
|
4567
|
+
#
|
4568
|
+
# A value of `100` indicates an active state, which means that traffic
|
4569
|
+
# will be routed to the specified Region.
|
4570
|
+
#
|
4571
|
+
# When the routing configuration for a Region is changed from active
|
4572
|
+
# to passive, any in-progress operations (uploads, copies, deletes,
|
4573
|
+
# and so on) to the formerly active Region will continue to run to
|
4574
|
+
# until a final success or failure status is reached.
|
4575
|
+
#
|
4576
|
+
# If all Regions in the routing configuration are designated as
|
4577
|
+
# passive, you'll receive an `InvalidRequest` error.
|
4578
|
+
# @return [Integer]
|
4579
|
+
#
|
4580
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/MultiRegionAccessPointRoute AWS API Documentation
|
4581
|
+
#
|
4582
|
+
class MultiRegionAccessPointRoute < Struct.new(
|
4583
|
+
:bucket,
|
4584
|
+
:region,
|
4585
|
+
:traffic_dial_percentage)
|
4586
|
+
SENSITIVE = []
|
4587
|
+
include Aws::Structure
|
4588
|
+
end
|
4589
|
+
|
4283
4590
|
# The Multi-Region Access Point details that are returned when querying
|
4284
4591
|
# about an asynchronous request.
|
4285
4592
|
#
|
@@ -4637,7 +4944,7 @@ module Aws::S3Control
|
|
4637
4944
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
4638
4945
|
# *Amazon S3 User Guide*.
|
4639
4946
|
#
|
4640
|
-
# This is not supported for Amazon S3 on Outposts.
|
4947
|
+
# This data type is not supported for Amazon S3 on Outposts.
|
4641
4948
|
#
|
4642
4949
|
#
|
4643
4950
|
#
|
@@ -4658,7 +4965,7 @@ module Aws::S3Control
|
|
4658
4965
|
# (ACLs) for buckets in this account. Setting this element to `TRUE`
|
4659
4966
|
# causes the following behavior:
|
4660
4967
|
#
|
4661
|
-
# *
|
4968
|
+
# * `PutBucketAcl` and `PutObjectAcl` calls fail if the specified ACL
|
4662
4969
|
# is public.
|
4663
4970
|
#
|
4664
4971
|
# * PUT Object calls fail if the request includes a public ACL.
|
@@ -4667,7 +4974,7 @@ module Aws::S3Control
|
|
4667
4974
|
#
|
4668
4975
|
# Enabling this setting doesn't affect existing policies or ACLs.
|
4669
4976
|
#
|
4670
|
-
# This is not supported for Amazon S3 on Outposts.
|
4977
|
+
# This property is not supported for Amazon S3 on Outposts.
|
4671
4978
|
# @return [Boolean]
|
4672
4979
|
#
|
4673
4980
|
# @!attribute [rw] ignore_public_acls
|
@@ -4679,7 +4986,7 @@ module Aws::S3Control
|
|
4679
4986
|
# Enabling this setting doesn't affect the persistence of any
|
4680
4987
|
# existing ACLs and doesn't prevent new public ACLs from being set.
|
4681
4988
|
#
|
4682
|
-
# This is not supported for Amazon S3 on Outposts.
|
4989
|
+
# This property is not supported for Amazon S3 on Outposts.
|
4683
4990
|
# @return [Boolean]
|
4684
4991
|
#
|
4685
4992
|
# @!attribute [rw] block_public_policy
|
@@ -4690,7 +4997,7 @@ module Aws::S3Control
|
|
4690
4997
|
#
|
4691
4998
|
# Enabling this setting doesn't affect existing bucket policies.
|
4692
4999
|
#
|
4693
|
-
# This is not supported for Amazon S3 on Outposts.
|
5000
|
+
# This property is not supported for Amazon S3 on Outposts.
|
4694
5001
|
# @return [Boolean]
|
4695
5002
|
#
|
4696
5003
|
# @!attribute [rw] restrict_public_buckets
|
@@ -4704,7 +5011,7 @@ module Aws::S3Control
|
|
4704
5011
|
# public bucket policy, including non-public delegation to specific
|
4705
5012
|
# accounts, is blocked.
|
4706
5013
|
#
|
4707
|
-
# This is not supported for Amazon S3 on Outposts.
|
5014
|
+
# This property is not supported for Amazon S3 on Outposts.
|
4708
5015
|
# @return [Boolean]
|
4709
5016
|
#
|
4710
5017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PublicAccessBlockConfiguration AWS API Documentation
|
@@ -5271,6 +5578,24 @@ module Aws::S3Control
|
|
5271
5578
|
# },
|
5272
5579
|
# },
|
5273
5580
|
# },
|
5581
|
+
# advanced_cost_optimization_metrics: {
|
5582
|
+
# is_enabled: false,
|
5583
|
+
# },
|
5584
|
+
# advanced_data_protection_metrics: {
|
5585
|
+
# is_enabled: false,
|
5586
|
+
# },
|
5587
|
+
# detailed_status_codes_metrics: {
|
5588
|
+
# is_enabled: false,
|
5589
|
+
# },
|
5590
|
+
# },
|
5591
|
+
# advanced_cost_optimization_metrics: {
|
5592
|
+
# is_enabled: false,
|
5593
|
+
# },
|
5594
|
+
# advanced_data_protection_metrics: {
|
5595
|
+
# is_enabled: false,
|
5596
|
+
# },
|
5597
|
+
# detailed_status_codes_metrics: {
|
5598
|
+
# is_enabled: false,
|
5274
5599
|
# },
|
5275
5600
|
# },
|
5276
5601
|
# include: {
|
@@ -5662,9 +5987,9 @@ module Aws::S3Control
|
|
5662
5987
|
#
|
5663
5988
|
# @!attribute [rw] target_resource
|
5664
5989
|
# Specifies the destination bucket ARN for the batch copy operation.
|
5665
|
-
# For example, to copy objects to a bucket named
|
5666
|
-
#
|
5667
|
-
#
|
5990
|
+
# For example, to copy objects to a bucket named `destinationBucket`,
|
5991
|
+
# set the `TargetResource` property to
|
5992
|
+
# `arn:aws:s3:::destinationBucket`.
|
5668
5993
|
# @return [String]
|
5669
5994
|
#
|
5670
5995
|
# @!attribute [rw] canned_access_control_list
|
@@ -6198,9 +6523,9 @@ module Aws::S3Control
|
|
6198
6523
|
end
|
6199
6524
|
|
6200
6525
|
# Contains the configuration parameters for a Set Object ACL operation.
|
6201
|
-
# S3 Batch Operations passes every object to the underlying
|
6202
|
-
#
|
6203
|
-
# see [
|
6526
|
+
# S3 Batch Operations passes every object to the underlying
|
6527
|
+
# `PutObjectAcl` API. For more information about the parameters for this
|
6528
|
+
# operation, see [ `PutObjectAcl` ][1].
|
6204
6529
|
#
|
6205
6530
|
#
|
6206
6531
|
#
|
@@ -6353,6 +6678,8 @@ module Aws::S3Control
|
|
6353
6678
|
include Aws::Structure
|
6354
6679
|
end
|
6355
6680
|
|
6681
|
+
# A container for a key-value name pair.
|
6682
|
+
#
|
6356
6683
|
# @note When making an API call, you may pass S3Tag
|
6357
6684
|
# data as a hash:
|
6358
6685
|
#
|
@@ -6362,9 +6689,11 @@ module Aws::S3Control
|
|
6362
6689
|
# }
|
6363
6690
|
#
|
6364
6691
|
# @!attribute [rw] key
|
6692
|
+
# Key of the tag
|
6365
6693
|
# @return [String]
|
6366
6694
|
#
|
6367
6695
|
# @!attribute [rw] value
|
6696
|
+
# Value of the tag
|
6368
6697
|
# @return [String]
|
6369
6698
|
#
|
6370
6699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3Tag AWS API Documentation
|
@@ -6523,6 +6852,24 @@ module Aws::S3Control
|
|
6523
6852
|
# },
|
6524
6853
|
# },
|
6525
6854
|
# },
|
6855
|
+
# advanced_cost_optimization_metrics: {
|
6856
|
+
# is_enabled: false,
|
6857
|
+
# },
|
6858
|
+
# advanced_data_protection_metrics: {
|
6859
|
+
# is_enabled: false,
|
6860
|
+
# },
|
6861
|
+
# detailed_status_codes_metrics: {
|
6862
|
+
# is_enabled: false,
|
6863
|
+
# },
|
6864
|
+
# },
|
6865
|
+
# advanced_cost_optimization_metrics: {
|
6866
|
+
# is_enabled: false,
|
6867
|
+
# },
|
6868
|
+
# advanced_data_protection_metrics: {
|
6869
|
+
# is_enabled: false,
|
6870
|
+
# },
|
6871
|
+
# detailed_status_codes_metrics: {
|
6872
|
+
# is_enabled: false,
|
6526
6873
|
# },
|
6527
6874
|
# },
|
6528
6875
|
# include: {
|
@@ -6718,6 +7065,50 @@ module Aws::S3Control
|
|
6718
7065
|
include Aws::Structure
|
6719
7066
|
end
|
6720
7067
|
|
7068
|
+
# @note When making an API call, you may pass SubmitMultiRegionAccessPointRoutesRequest
|
7069
|
+
# data as a hash:
|
7070
|
+
#
|
7071
|
+
# {
|
7072
|
+
# account_id: "AccountId",
|
7073
|
+
# mrap: "MultiRegionAccessPointId", # required
|
7074
|
+
# route_updates: [ # required
|
7075
|
+
# {
|
7076
|
+
# bucket: "BucketName",
|
7077
|
+
# region: "RegionName",
|
7078
|
+
# traffic_dial_percentage: 1, # required
|
7079
|
+
# },
|
7080
|
+
# ],
|
7081
|
+
# }
|
7082
|
+
#
|
7083
|
+
# @!attribute [rw] account_id
|
7084
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
7085
|
+
# Access Point.
|
7086
|
+
# @return [String]
|
7087
|
+
#
|
7088
|
+
# @!attribute [rw] mrap
|
7089
|
+
# The Multi-Region Access Point ARN.
|
7090
|
+
# @return [String]
|
7091
|
+
#
|
7092
|
+
# @!attribute [rw] route_updates
|
7093
|
+
# The different routes that make up the new route configuration.
|
7094
|
+
# Active routes return a value of `100`, and passive routes return a
|
7095
|
+
# value of `0`.
|
7096
|
+
# @return [Array<Types::MultiRegionAccessPointRoute>]
|
7097
|
+
#
|
7098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SubmitMultiRegionAccessPointRoutesRequest AWS API Documentation
|
7099
|
+
#
|
7100
|
+
class SubmitMultiRegionAccessPointRoutesRequest < Struct.new(
|
7101
|
+
:account_id,
|
7102
|
+
:mrap,
|
7103
|
+
:route_updates)
|
7104
|
+
SENSITIVE = []
|
7105
|
+
include Aws::Structure
|
7106
|
+
end
|
7107
|
+
|
7108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SubmitMultiRegionAccessPointRoutesResult AWS API Documentation
|
7109
|
+
#
|
7110
|
+
class SubmitMultiRegionAccessPointRoutesResult < Aws::EmptyStructure; end
|
7111
|
+
|
6721
7112
|
# @note When making an API call, you may pass Tagging
|
6722
7113
|
# data as a hash:
|
6723
7114
|
#
|
data/lib/aws-sdk-s3control.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.57.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|