aws-sdk-s3control 1.55.0 → 1.56.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +37 -7
- data/lib/aws-sdk-s3control/client_api.rb +18 -0
- data/lib/aws-sdk-s3control/types.rb +265 -27
- data/lib/aws-sdk-s3control.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0af62c49847da4df3b44e80e2722a53820f16e9c5fbd7a1874100c443f2df7e3
|
4
|
+
data.tar.gz: e793fcc46c3447ee5d655e3118422dd0b18752b0712c416ca3e60221db1d6c13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa0fec0b6884898b4dd840c9cee1e915a413c1a06534416316e2b2c3e1e31c622e7207cfc2bf46021c64eb7718c3eb53eb6ee4c4fb8669556e442ca7d4fe5404
|
7
|
+
data.tar.gz: 1835481b9f33f429145f70102d0f9e0c743afc98a4ed8f777496499b7fc87c2555d50f13b5a467fe2198fce43874e5dae5dbd3a9b22ce27d8b842c7ea34e2217
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
@@ -3211,11 +3211,13 @@ module Aws::S3Control
|
|
3211
3211
|
|
3212
3212
|
# Gets the Amazon S3 Storage Lens configuration. For more information,
|
3213
3213
|
# see [Assessing your storage activity and usage with Amazon S3 Storage
|
3214
|
-
# Lens ][1] in the *Amazon S3 User Guide*.
|
3214
|
+
# Lens ][1] in the *Amazon S3 User Guide*. For a complete list of S3
|
3215
|
+
# Storage Lens metrics, see [S3 Storage Lens metrics glossary][2] in the
|
3216
|
+
# *Amazon S3 User Guide*.
|
3215
3217
|
#
|
3216
3218
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
3217
3219
|
# `s3:GetStorageLensConfiguration` action. For more information, see
|
3218
|
-
# [Setting permissions to use Amazon S3 Storage Lens][
|
3220
|
+
# [Setting permissions to use Amazon S3 Storage Lens][3] in the *Amazon
|
3219
3221
|
# S3 User Guide*.
|
3220
3222
|
#
|
3221
3223
|
# </note>
|
@@ -3223,7 +3225,8 @@ module Aws::S3Control
|
|
3223
3225
|
#
|
3224
3226
|
#
|
3225
3227
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
|
3226
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
3228
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
|
3229
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html
|
3227
3230
|
#
|
3228
3231
|
# @option params [required, String] :config_id
|
3229
3232
|
# The ID of the Amazon S3 Storage Lens configuration.
|
@@ -3251,6 +3254,12 @@ module Aws::S3Control
|
|
3251
3254
|
# resp.storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics.selection_criteria.delimiter #=> String
|
3252
3255
|
# resp.storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics.selection_criteria.max_depth #=> Integer
|
3253
3256
|
# resp.storage_lens_configuration.account_level.bucket_level.prefix_level.storage_metrics.selection_criteria.min_storage_bytes_percentage #=> Float
|
3257
|
+
# resp.storage_lens_configuration.account_level.bucket_level.advanced_cost_optimization_metrics.is_enabled #=> Boolean
|
3258
|
+
# resp.storage_lens_configuration.account_level.bucket_level.advanced_data_protection_metrics.is_enabled #=> Boolean
|
3259
|
+
# resp.storage_lens_configuration.account_level.bucket_level.detailed_status_codes_metrics.is_enabled #=> Boolean
|
3260
|
+
# resp.storage_lens_configuration.account_level.advanced_cost_optimization_metrics.is_enabled #=> Boolean
|
3261
|
+
# resp.storage_lens_configuration.account_level.advanced_data_protection_metrics.is_enabled #=> Boolean
|
3262
|
+
# resp.storage_lens_configuration.account_level.detailed_status_codes_metrics.is_enabled #=> Boolean
|
3254
3263
|
# resp.storage_lens_configuration.include.buckets #=> Array
|
3255
3264
|
# resp.storage_lens_configuration.include.buckets[0] #=> String
|
3256
3265
|
# resp.storage_lens_configuration.include.regions #=> Array
|
@@ -4627,11 +4636,13 @@ module Aws::S3Control
|
|
4627
4636
|
|
4628
4637
|
# Puts an Amazon S3 Storage Lens configuration. For more information
|
4629
4638
|
# about S3 Storage Lens, see [Working with Amazon S3 Storage Lens][1] in
|
4630
|
-
# the *Amazon S3 User Guide*.
|
4639
|
+
# the *Amazon S3 User Guide*. For a complete list of S3 Storage Lens
|
4640
|
+
# metrics, see [S3 Storage Lens metrics glossary][2] in the *Amazon S3
|
4641
|
+
# User Guide*.
|
4631
4642
|
#
|
4632
4643
|
# <note markdown="1"> To use this action, you must have permission to perform the
|
4633
4644
|
# `s3:PutStorageLensConfiguration` action. For more information, see
|
4634
|
-
# [Setting permissions to use Amazon S3 Storage Lens][
|
4645
|
+
# [Setting permissions to use Amazon S3 Storage Lens][3] in the *Amazon
|
4635
4646
|
# S3 User Guide*.
|
4636
4647
|
#
|
4637
4648
|
# </note>
|
@@ -4639,7 +4650,8 @@ module Aws::S3Control
|
|
4639
4650
|
#
|
4640
4651
|
#
|
4641
4652
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html
|
4642
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
4653
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
|
4654
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html
|
4643
4655
|
#
|
4644
4656
|
# @option params [required, String] :config_id
|
4645
4657
|
# The ID of the S3 Storage Lens configuration.
|
@@ -4684,6 +4696,24 @@ module Aws::S3Control
|
|
4684
4696
|
# },
|
4685
4697
|
# },
|
4686
4698
|
# },
|
4699
|
+
# advanced_cost_optimization_metrics: {
|
4700
|
+
# is_enabled: false,
|
4701
|
+
# },
|
4702
|
+
# advanced_data_protection_metrics: {
|
4703
|
+
# is_enabled: false,
|
4704
|
+
# },
|
4705
|
+
# detailed_status_codes_metrics: {
|
4706
|
+
# is_enabled: false,
|
4707
|
+
# },
|
4708
|
+
# },
|
4709
|
+
# advanced_cost_optimization_metrics: {
|
4710
|
+
# is_enabled: false,
|
4711
|
+
# },
|
4712
|
+
# advanced_data_protection_metrics: {
|
4713
|
+
# is_enabled: false,
|
4714
|
+
# },
|
4715
|
+
# detailed_status_codes_metrics: {
|
4716
|
+
# is_enabled: false,
|
4687
4717
|
# },
|
4688
4718
|
# },
|
4689
4719
|
# include: {
|
@@ -4933,7 +4963,7 @@ module Aws::S3Control
|
|
4933
4963
|
params: params,
|
4934
4964
|
config: config)
|
4935
4965
|
context[:gem_name] = 'aws-sdk-s3control'
|
4936
|
-
context[:gem_version] = '1.
|
4966
|
+
context[:gem_version] = '1.56.0'
|
4937
4967
|
Seahorse::Client::Request.new(handlers, context)
|
4938
4968
|
end
|
4939
4969
|
|
@@ -20,6 +20,8 @@ module Aws::S3Control
|
|
20
20
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
21
21
|
AccountLevel = Shapes::StructureShape.new(name: 'AccountLevel')
|
22
22
|
ActivityMetrics = Shapes::StructureShape.new(name: 'ActivityMetrics')
|
23
|
+
AdvancedCostOptimizationMetrics = Shapes::StructureShape.new(name: 'AdvancedCostOptimizationMetrics')
|
24
|
+
AdvancedDataProtectionMetrics = Shapes::StructureShape.new(name: 'AdvancedDataProtectionMetrics')
|
23
25
|
Alias = Shapes::StringShape.new(name: 'Alias')
|
24
26
|
AsyncCreationTimestamp = Shapes::TimestampShape.new(name: 'AsyncCreationTimestamp')
|
25
27
|
AsyncErrorDetails = Shapes::StructureShape.new(name: 'AsyncErrorDetails')
|
@@ -85,6 +87,7 @@ module Aws::S3Control
|
|
85
87
|
DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
|
86
88
|
DescribeMultiRegionAccessPointOperationRequest = Shapes::StructureShape.new(name: 'DescribeMultiRegionAccessPointOperationRequest')
|
87
89
|
DescribeMultiRegionAccessPointOperationResult = Shapes::StructureShape.new(name: 'DescribeMultiRegionAccessPointOperationResult')
|
90
|
+
DetailedStatusCodesMetrics = Shapes::StructureShape.new(name: 'DetailedStatusCodesMetrics')
|
88
91
|
Endpoints = Shapes::MapShape.new(name: 'Endpoints')
|
89
92
|
EstablishedMultiRegionAccessPointPolicy = Shapes::StructureShape.new(name: 'EstablishedMultiRegionAccessPointPolicy')
|
90
93
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
@@ -383,11 +386,20 @@ module Aws::S3Control
|
|
383
386
|
|
384
387
|
AccountLevel.add_member(:activity_metrics, Shapes::ShapeRef.new(shape: ActivityMetrics, location_name: "ActivityMetrics"))
|
385
388
|
AccountLevel.add_member(:bucket_level, Shapes::ShapeRef.new(shape: BucketLevel, required: true, location_name: "BucketLevel"))
|
389
|
+
AccountLevel.add_member(:advanced_cost_optimization_metrics, Shapes::ShapeRef.new(shape: AdvancedCostOptimizationMetrics, location_name: "AdvancedCostOptimizationMetrics"))
|
390
|
+
AccountLevel.add_member(:advanced_data_protection_metrics, Shapes::ShapeRef.new(shape: AdvancedDataProtectionMetrics, location_name: "AdvancedDataProtectionMetrics"))
|
391
|
+
AccountLevel.add_member(:detailed_status_codes_metrics, Shapes::ShapeRef.new(shape: DetailedStatusCodesMetrics, location_name: "DetailedStatusCodesMetrics"))
|
386
392
|
AccountLevel.struct_class = Types::AccountLevel
|
387
393
|
|
388
394
|
ActivityMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
|
389
395
|
ActivityMetrics.struct_class = Types::ActivityMetrics
|
390
396
|
|
397
|
+
AdvancedCostOptimizationMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
|
398
|
+
AdvancedCostOptimizationMetrics.struct_class = Types::AdvancedCostOptimizationMetrics
|
399
|
+
|
400
|
+
AdvancedDataProtectionMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
|
401
|
+
AdvancedDataProtectionMetrics.struct_class = Types::AdvancedDataProtectionMetrics
|
402
|
+
|
391
403
|
AsyncErrorDetails.add_member(:code, Shapes::ShapeRef.new(shape: MaxLength1024String, location_name: "Code"))
|
392
404
|
AsyncErrorDetails.add_member(:message, Shapes::ShapeRef.new(shape: MaxLength1024String, location_name: "Message"))
|
393
405
|
AsyncErrorDetails.add_member(:resource, Shapes::ShapeRef.new(shape: MaxLength1024String, location_name: "Resource"))
|
@@ -424,6 +436,9 @@ module Aws::S3Control
|
|
424
436
|
|
425
437
|
BucketLevel.add_member(:activity_metrics, Shapes::ShapeRef.new(shape: ActivityMetrics, location_name: "ActivityMetrics"))
|
426
438
|
BucketLevel.add_member(:prefix_level, Shapes::ShapeRef.new(shape: PrefixLevel, location_name: "PrefixLevel"))
|
439
|
+
BucketLevel.add_member(:advanced_cost_optimization_metrics, Shapes::ShapeRef.new(shape: AdvancedCostOptimizationMetrics, location_name: "AdvancedCostOptimizationMetrics"))
|
440
|
+
BucketLevel.add_member(:advanced_data_protection_metrics, Shapes::ShapeRef.new(shape: AdvancedDataProtectionMetrics, location_name: "AdvancedDataProtectionMetrics"))
|
441
|
+
BucketLevel.add_member(:detailed_status_codes_metrics, Shapes::ShapeRef.new(shape: DetailedStatusCodesMetrics, location_name: "DetailedStatusCodesMetrics"))
|
427
442
|
BucketLevel.struct_class = Types::BucketLevel
|
428
443
|
|
429
444
|
Buckets.member = Shapes::ShapeRef.new(shape: S3BucketArnString, location_name: "Arn")
|
@@ -576,6 +591,9 @@ module Aws::S3Control
|
|
576
591
|
DescribeMultiRegionAccessPointOperationResult.add_member(:async_operation, Shapes::ShapeRef.new(shape: AsyncOperation, location_name: "AsyncOperation"))
|
577
592
|
DescribeMultiRegionAccessPointOperationResult.struct_class = Types::DescribeMultiRegionAccessPointOperationResult
|
578
593
|
|
594
|
+
DetailedStatusCodesMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
|
595
|
+
DetailedStatusCodesMetrics.struct_class = Types::DetailedStatusCodesMetrics
|
596
|
+
|
579
597
|
Endpoints.key = Shapes::ShapeRef.new(shape: NonEmptyMaxLength64String)
|
580
598
|
Endpoints.value = Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String)
|
581
599
|
|
@@ -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
|
#
|
@@ -3241,7 +3438,7 @@ module Aws::S3Control
|
|
3241
3438
|
# @return [Types::S3CopyObjectOperation]
|
3242
3439
|
#
|
3243
3440
|
# @!attribute [rw] s3_put_object_acl
|
3244
|
-
# Directs the specified job to run a
|
3441
|
+
# Directs the specified job to run a `PutObjectAcl` call on every
|
3245
3442
|
# object in the manifest.
|
3246
3443
|
# @return [Types::S3SetObjectAclOperation]
|
3247
3444
|
#
|
@@ -3751,6 +3948,7 @@ module Aws::S3Control
|
|
3751
3948
|
# @return [String]
|
3752
3949
|
#
|
3753
3950
|
# @!attribute [rw] tag
|
3951
|
+
# A container for a key-value name pair.
|
3754
3952
|
# @return [Types::S3Tag]
|
3755
3953
|
#
|
3756
3954
|
# @!attribute [rw] and
|
@@ -4243,7 +4441,7 @@ module Aws::S3Control
|
|
4243
4441
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
4244
4442
|
# *Amazon S3 User Guide*.
|
4245
4443
|
#
|
4246
|
-
# This is not supported for Amazon S3 on Outposts.
|
4444
|
+
# This data type is not supported for Amazon S3 on Outposts.
|
4247
4445
|
#
|
4248
4446
|
#
|
4249
4447
|
#
|
@@ -4637,7 +4835,7 @@ module Aws::S3Control
|
|
4637
4835
|
# bucket or object public, see [The Meaning of "Public"][1] in the
|
4638
4836
|
# *Amazon S3 User Guide*.
|
4639
4837
|
#
|
4640
|
-
# This is not supported for Amazon S3 on Outposts.
|
4838
|
+
# This data type is not supported for Amazon S3 on Outposts.
|
4641
4839
|
#
|
4642
4840
|
#
|
4643
4841
|
#
|
@@ -4658,7 +4856,7 @@ module Aws::S3Control
|
|
4658
4856
|
# (ACLs) for buckets in this account. Setting this element to `TRUE`
|
4659
4857
|
# causes the following behavior:
|
4660
4858
|
#
|
4661
|
-
# *
|
4859
|
+
# * `PutBucketAcl` and `PutObjectAcl` calls fail if the specified ACL
|
4662
4860
|
# is public.
|
4663
4861
|
#
|
4664
4862
|
# * PUT Object calls fail if the request includes a public ACL.
|
@@ -4667,7 +4865,7 @@ module Aws::S3Control
|
|
4667
4865
|
#
|
4668
4866
|
# Enabling this setting doesn't affect existing policies or ACLs.
|
4669
4867
|
#
|
4670
|
-
# This is not supported for Amazon S3 on Outposts.
|
4868
|
+
# This property is not supported for Amazon S3 on Outposts.
|
4671
4869
|
# @return [Boolean]
|
4672
4870
|
#
|
4673
4871
|
# @!attribute [rw] ignore_public_acls
|
@@ -4679,7 +4877,7 @@ module Aws::S3Control
|
|
4679
4877
|
# Enabling this setting doesn't affect the persistence of any
|
4680
4878
|
# existing ACLs and doesn't prevent new public ACLs from being set.
|
4681
4879
|
#
|
4682
|
-
# This is not supported for Amazon S3 on Outposts.
|
4880
|
+
# This property is not supported for Amazon S3 on Outposts.
|
4683
4881
|
# @return [Boolean]
|
4684
4882
|
#
|
4685
4883
|
# @!attribute [rw] block_public_policy
|
@@ -4690,7 +4888,7 @@ module Aws::S3Control
|
|
4690
4888
|
#
|
4691
4889
|
# Enabling this setting doesn't affect existing bucket policies.
|
4692
4890
|
#
|
4693
|
-
# This is not supported for Amazon S3 on Outposts.
|
4891
|
+
# This property is not supported for Amazon S3 on Outposts.
|
4694
4892
|
# @return [Boolean]
|
4695
4893
|
#
|
4696
4894
|
# @!attribute [rw] restrict_public_buckets
|
@@ -4704,7 +4902,7 @@ module Aws::S3Control
|
|
4704
4902
|
# public bucket policy, including non-public delegation to specific
|
4705
4903
|
# accounts, is blocked.
|
4706
4904
|
#
|
4707
|
-
# This is not supported for Amazon S3 on Outposts.
|
4905
|
+
# This property is not supported for Amazon S3 on Outposts.
|
4708
4906
|
# @return [Boolean]
|
4709
4907
|
#
|
4710
4908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PublicAccessBlockConfiguration AWS API Documentation
|
@@ -5271,6 +5469,24 @@ module Aws::S3Control
|
|
5271
5469
|
# },
|
5272
5470
|
# },
|
5273
5471
|
# },
|
5472
|
+
# advanced_cost_optimization_metrics: {
|
5473
|
+
# is_enabled: false,
|
5474
|
+
# },
|
5475
|
+
# advanced_data_protection_metrics: {
|
5476
|
+
# is_enabled: false,
|
5477
|
+
# },
|
5478
|
+
# detailed_status_codes_metrics: {
|
5479
|
+
# is_enabled: false,
|
5480
|
+
# },
|
5481
|
+
# },
|
5482
|
+
# advanced_cost_optimization_metrics: {
|
5483
|
+
# is_enabled: false,
|
5484
|
+
# },
|
5485
|
+
# advanced_data_protection_metrics: {
|
5486
|
+
# is_enabled: false,
|
5487
|
+
# },
|
5488
|
+
# detailed_status_codes_metrics: {
|
5489
|
+
# is_enabled: false,
|
5274
5490
|
# },
|
5275
5491
|
# },
|
5276
5492
|
# include: {
|
@@ -5662,9 +5878,9 @@ module Aws::S3Control
|
|
5662
5878
|
#
|
5663
5879
|
# @!attribute [rw] target_resource
|
5664
5880
|
# Specifies the destination bucket ARN for the batch copy operation.
|
5665
|
-
# For example, to copy objects to a bucket named
|
5666
|
-
#
|
5667
|
-
#
|
5881
|
+
# For example, to copy objects to a bucket named `destinationBucket`,
|
5882
|
+
# set the `TargetResource` property to
|
5883
|
+
# `arn:aws:s3:::destinationBucket`.
|
5668
5884
|
# @return [String]
|
5669
5885
|
#
|
5670
5886
|
# @!attribute [rw] canned_access_control_list
|
@@ -6198,9 +6414,9 @@ module Aws::S3Control
|
|
6198
6414
|
end
|
6199
6415
|
|
6200
6416
|
# Contains the configuration parameters for a Set Object ACL operation.
|
6201
|
-
# S3 Batch Operations passes every object to the underlying
|
6202
|
-
#
|
6203
|
-
# see [
|
6417
|
+
# S3 Batch Operations passes every object to the underlying
|
6418
|
+
# `PutObjectAcl` API. For more information about the parameters for this
|
6419
|
+
# operation, see [ `PutObjectAcl` ][1].
|
6204
6420
|
#
|
6205
6421
|
#
|
6206
6422
|
#
|
@@ -6353,6 +6569,8 @@ module Aws::S3Control
|
|
6353
6569
|
include Aws::Structure
|
6354
6570
|
end
|
6355
6571
|
|
6572
|
+
# A container for a key-value name pair.
|
6573
|
+
#
|
6356
6574
|
# @note When making an API call, you may pass S3Tag
|
6357
6575
|
# data as a hash:
|
6358
6576
|
#
|
@@ -6362,9 +6580,11 @@ module Aws::S3Control
|
|
6362
6580
|
# }
|
6363
6581
|
#
|
6364
6582
|
# @!attribute [rw] key
|
6583
|
+
# Key of the tag
|
6365
6584
|
# @return [String]
|
6366
6585
|
#
|
6367
6586
|
# @!attribute [rw] value
|
6587
|
+
# Value of the tag
|
6368
6588
|
# @return [String]
|
6369
6589
|
#
|
6370
6590
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3Tag AWS API Documentation
|
@@ -6523,6 +6743,24 @@ module Aws::S3Control
|
|
6523
6743
|
# },
|
6524
6744
|
# },
|
6525
6745
|
# },
|
6746
|
+
# advanced_cost_optimization_metrics: {
|
6747
|
+
# is_enabled: false,
|
6748
|
+
# },
|
6749
|
+
# advanced_data_protection_metrics: {
|
6750
|
+
# is_enabled: false,
|
6751
|
+
# },
|
6752
|
+
# detailed_status_codes_metrics: {
|
6753
|
+
# is_enabled: false,
|
6754
|
+
# },
|
6755
|
+
# },
|
6756
|
+
# advanced_cost_optimization_metrics: {
|
6757
|
+
# is_enabled: false,
|
6758
|
+
# },
|
6759
|
+
# advanced_data_protection_metrics: {
|
6760
|
+
# is_enabled: false,
|
6761
|
+
# },
|
6762
|
+
# detailed_status_codes_metrics: {
|
6763
|
+
# is_enabled: false,
|
6526
6764
|
# },
|
6527
6765
|
# },
|
6528
6766
|
# include: {
|
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.56.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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|