aws-sdk-s3control 1.121.0 → 1.122.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +133 -439
- data/lib/aws-sdk-s3control/client_api.rb +19 -0
- data/lib/aws-sdk-s3control/types.rb +159 -64
- data/lib/aws-sdk-s3control.rb +1 -1
- data/sig/client.rbs +44 -1
- data/sig/types.rbs +22 -0
- metadata +1 -1
|
@@ -36,6 +36,7 @@ module Aws::S3Control
|
|
|
36
36
|
ActivityMetrics = Shapes::StructureShape.new(name: 'ActivityMetrics')
|
|
37
37
|
AdvancedCostOptimizationMetrics = Shapes::StructureShape.new(name: 'AdvancedCostOptimizationMetrics')
|
|
38
38
|
AdvancedDataProtectionMetrics = Shapes::StructureShape.new(name: 'AdvancedDataProtectionMetrics')
|
|
39
|
+
AdvancedPerformanceMetrics = Shapes::StructureShape.new(name: 'AdvancedPerformanceMetrics')
|
|
39
40
|
Alias = Shapes::StringShape.new(name: 'Alias')
|
|
40
41
|
AssociateAccessGrantsIdentityCenterRequest = Shapes::StructureShape.new(name: 'AssociateAccessGrantsIdentityCenterRequest')
|
|
41
42
|
AsyncCreationTimestamp = Shapes::TimestampShape.new(name: 'AsyncCreationTimestamp')
|
|
@@ -501,6 +502,7 @@ module Aws::S3Control
|
|
|
501
502
|
StorageLensConfigurationList = Shapes::ListShape.new(name: 'StorageLensConfigurationList', flattened: true)
|
|
502
503
|
StorageLensDataExport = Shapes::StructureShape.new(name: 'StorageLensDataExport')
|
|
503
504
|
StorageLensDataExportEncryption = Shapes::StructureShape.new(name: 'StorageLensDataExportEncryption')
|
|
505
|
+
StorageLensExpandedPrefixesDataExport = Shapes::StructureShape.new(name: 'StorageLensExpandedPrefixesDataExport')
|
|
504
506
|
StorageLensGroup = Shapes::StructureShape.new(name: 'StorageLensGroup')
|
|
505
507
|
StorageLensGroupAndOperator = Shapes::StructureShape.new(name: 'StorageLensGroupAndOperator')
|
|
506
508
|
StorageLensGroupArn = Shapes::StringShape.new(name: 'StorageLensGroupArn')
|
|
@@ -514,6 +516,7 @@ module Aws::S3Control
|
|
|
514
516
|
StorageLensGroupOrOperator = Shapes::StructureShape.new(name: 'StorageLensGroupOrOperator')
|
|
515
517
|
StorageLensPrefixLevelDelimiter = Shapes::StringShape.new(name: 'StorageLensPrefixLevelDelimiter')
|
|
516
518
|
StorageLensPrefixLevelMaxDepth = Shapes::IntegerShape.new(name: 'StorageLensPrefixLevelMaxDepth')
|
|
519
|
+
StorageLensTableDestination = Shapes::StructureShape.new(name: 'StorageLensTableDestination')
|
|
517
520
|
StorageLensTag = Shapes::StructureShape.new(name: 'StorageLensTag')
|
|
518
521
|
StorageLensTags = Shapes::ListShape.new(name: 'StorageLensTags')
|
|
519
522
|
StringForNextToken = Shapes::StringShape.new(name: 'StringForNextToken')
|
|
@@ -584,6 +587,7 @@ module Aws::S3Control
|
|
|
584
587
|
AccountLevel.add_member(:advanced_cost_optimization_metrics, Shapes::ShapeRef.new(shape: AdvancedCostOptimizationMetrics, location_name: "AdvancedCostOptimizationMetrics"))
|
|
585
588
|
AccountLevel.add_member(:advanced_data_protection_metrics, Shapes::ShapeRef.new(shape: AdvancedDataProtectionMetrics, location_name: "AdvancedDataProtectionMetrics"))
|
|
586
589
|
AccountLevel.add_member(:detailed_status_codes_metrics, Shapes::ShapeRef.new(shape: DetailedStatusCodesMetrics, location_name: "DetailedStatusCodesMetrics"))
|
|
590
|
+
AccountLevel.add_member(:advanced_performance_metrics, Shapes::ShapeRef.new(shape: AdvancedPerformanceMetrics, location_name: "AdvancedPerformanceMetrics"))
|
|
587
591
|
AccountLevel.add_member(:storage_lens_group_level, Shapes::ShapeRef.new(shape: StorageLensGroupLevel, location_name: "StorageLensGroupLevel"))
|
|
588
592
|
AccountLevel.struct_class = Types::AccountLevel
|
|
589
593
|
|
|
@@ -596,6 +600,9 @@ module Aws::S3Control
|
|
|
596
600
|
AdvancedDataProtectionMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
|
|
597
601
|
AdvancedDataProtectionMetrics.struct_class = Types::AdvancedDataProtectionMetrics
|
|
598
602
|
|
|
603
|
+
AdvancedPerformanceMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
|
|
604
|
+
AdvancedPerformanceMetrics.struct_class = Types::AdvancedPerformanceMetrics
|
|
605
|
+
|
|
599
606
|
AssociateAccessGrantsIdentityCenterRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam" => {"name" => "AccountId"}}))
|
|
600
607
|
AssociateAccessGrantsIdentityCenterRequest.add_member(:identity_center_arn, Shapes::ShapeRef.new(shape: IdentityCenterArn, required: true, location_name: "IdentityCenterArn"))
|
|
601
608
|
AssociateAccessGrantsIdentityCenterRequest.struct_class = Types::AssociateAccessGrantsIdentityCenterRequest
|
|
@@ -639,6 +646,7 @@ module Aws::S3Control
|
|
|
639
646
|
BucketLevel.add_member(:advanced_cost_optimization_metrics, Shapes::ShapeRef.new(shape: AdvancedCostOptimizationMetrics, location_name: "AdvancedCostOptimizationMetrics"))
|
|
640
647
|
BucketLevel.add_member(:advanced_data_protection_metrics, Shapes::ShapeRef.new(shape: AdvancedDataProtectionMetrics, location_name: "AdvancedDataProtectionMetrics"))
|
|
641
648
|
BucketLevel.add_member(:detailed_status_codes_metrics, Shapes::ShapeRef.new(shape: DetailedStatusCodesMetrics, location_name: "DetailedStatusCodesMetrics"))
|
|
649
|
+
BucketLevel.add_member(:advanced_performance_metrics, Shapes::ShapeRef.new(shape: AdvancedPerformanceMetrics, location_name: "AdvancedPerformanceMetrics"))
|
|
642
650
|
BucketLevel.struct_class = Types::BucketLevel
|
|
643
651
|
|
|
644
652
|
Buckets.member = Shapes::ShapeRef.new(shape: S3BucketArnString, location_name: "Arn")
|
|
@@ -1982,21 +1990,28 @@ module Aws::S3Control
|
|
|
1982
1990
|
StorageLensConfiguration.add_member(:include, Shapes::ShapeRef.new(shape: Include, location_name: "Include"))
|
|
1983
1991
|
StorageLensConfiguration.add_member(:exclude, Shapes::ShapeRef.new(shape: Exclude, location_name: "Exclude"))
|
|
1984
1992
|
StorageLensConfiguration.add_member(:data_export, Shapes::ShapeRef.new(shape: StorageLensDataExport, location_name: "DataExport"))
|
|
1993
|
+
StorageLensConfiguration.add_member(:expanded_prefixes_data_export, Shapes::ShapeRef.new(shape: StorageLensExpandedPrefixesDataExport, location_name: "ExpandedPrefixesDataExport"))
|
|
1985
1994
|
StorageLensConfiguration.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, required: true, location_name: "IsEnabled"))
|
|
1986
1995
|
StorageLensConfiguration.add_member(:aws_org, Shapes::ShapeRef.new(shape: StorageLensAwsOrg, location_name: "AwsOrg"))
|
|
1987
1996
|
StorageLensConfiguration.add_member(:storage_lens_arn, Shapes::ShapeRef.new(shape: StorageLensArn, location_name: "StorageLensArn"))
|
|
1997
|
+
StorageLensConfiguration.add_member(:prefix_delimiter, Shapes::ShapeRef.new(shape: StorageLensPrefixLevelDelimiter, location_name: "PrefixDelimiter"))
|
|
1988
1998
|
StorageLensConfiguration.struct_class = Types::StorageLensConfiguration
|
|
1989
1999
|
|
|
1990
2000
|
StorageLensConfigurationList.member = Shapes::ShapeRef.new(shape: ListStorageLensConfigurationEntry, location_name: "StorageLensConfiguration")
|
|
1991
2001
|
|
|
1992
2002
|
StorageLensDataExport.add_member(:s3_bucket_destination, Shapes::ShapeRef.new(shape: S3BucketDestination, location_name: "S3BucketDestination"))
|
|
1993
2003
|
StorageLensDataExport.add_member(:cloud_watch_metrics, Shapes::ShapeRef.new(shape: CloudWatchMetrics, location_name: "CloudWatchMetrics"))
|
|
2004
|
+
StorageLensDataExport.add_member(:storage_lens_table_destination, Shapes::ShapeRef.new(shape: StorageLensTableDestination, location_name: "StorageLensTableDestination"))
|
|
1994
2005
|
StorageLensDataExport.struct_class = Types::StorageLensDataExport
|
|
1995
2006
|
|
|
1996
2007
|
StorageLensDataExportEncryption.add_member(:sses3, Shapes::ShapeRef.new(shape: SSES3, location_name: "SSE-S3"))
|
|
1997
2008
|
StorageLensDataExportEncryption.add_member(:ssekms, Shapes::ShapeRef.new(shape: SSEKMS, location_name: "SSE-KMS"))
|
|
1998
2009
|
StorageLensDataExportEncryption.struct_class = Types::StorageLensDataExportEncryption
|
|
1999
2010
|
|
|
2011
|
+
StorageLensExpandedPrefixesDataExport.add_member(:s3_bucket_destination, Shapes::ShapeRef.new(shape: S3BucketDestination, location_name: "S3BucketDestination"))
|
|
2012
|
+
StorageLensExpandedPrefixesDataExport.add_member(:storage_lens_table_destination, Shapes::ShapeRef.new(shape: StorageLensTableDestination, location_name: "StorageLensTableDestination"))
|
|
2013
|
+
StorageLensExpandedPrefixesDataExport.struct_class = Types::StorageLensExpandedPrefixesDataExport
|
|
2014
|
+
|
|
2000
2015
|
StorageLensGroup.add_member(:name, Shapes::ShapeRef.new(shape: StorageLensGroupName, required: true, location_name: "Name"))
|
|
2001
2016
|
StorageLensGroup.add_member(:filter, Shapes::ShapeRef.new(shape: StorageLensGroupFilter, required: true, location_name: "Filter"))
|
|
2002
2017
|
StorageLensGroup.add_member(:storage_lens_group_arn, Shapes::ShapeRef.new(shape: StorageLensGroupArn, location_name: "StorageLensGroupArn"))
|
|
@@ -2038,6 +2053,10 @@ module Aws::S3Control
|
|
|
2038
2053
|
StorageLensGroupOrOperator.add_member(:match_object_size, Shapes::ShapeRef.new(shape: MatchObjectSize, location_name: "MatchObjectSize"))
|
|
2039
2054
|
StorageLensGroupOrOperator.struct_class = Types::StorageLensGroupOrOperator
|
|
2040
2055
|
|
|
2056
|
+
StorageLensTableDestination.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, required: true, location_name: "IsEnabled"))
|
|
2057
|
+
StorageLensTableDestination.add_member(:encryption, Shapes::ShapeRef.new(shape: StorageLensDataExportEncryption, location_name: "Encryption"))
|
|
2058
|
+
StorageLensTableDestination.struct_class = Types::StorageLensTableDestination
|
|
2059
|
+
|
|
2041
2060
|
StorageLensTag.add_member(:key, Shapes::ShapeRef.new(shape: TagKeyString, required: true, location_name: "Key"))
|
|
2042
2061
|
StorageLensTag.add_member(:value, Shapes::ShapeRef.new(shape: TagValueString, required: true, location_name: "Value"))
|
|
2043
2062
|
StorageLensTag.struct_class = Types::StorageLensTag
|
|
@@ -143,6 +143,11 @@ module Aws::S3Control
|
|
|
143
143
|
# A container element for the account-level Amazon S3 Storage Lens
|
|
144
144
|
# configuration.
|
|
145
145
|
#
|
|
146
|
+
# <note markdown="1"> You must enable Storage Lens metrics consistently at both the account
|
|
147
|
+
# level and bucket level, or your request will fail.
|
|
148
|
+
#
|
|
149
|
+
# </note>
|
|
150
|
+
#
|
|
146
151
|
# For more information about S3 Storage Lens, see [Assessing your
|
|
147
152
|
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
|
148
153
|
# User Guide*. For a complete list of S3 Storage Lens metrics, see [S3
|
|
@@ -176,6 +181,11 @@ module Aws::S3Control
|
|
|
176
181
|
# A container element for detailed status code metrics.
|
|
177
182
|
# @return [Types::DetailedStatusCodesMetrics]
|
|
178
183
|
#
|
|
184
|
+
# @!attribute [rw] advanced_performance_metrics
|
|
185
|
+
# A container element for S3 Storage Lens advanced performance
|
|
186
|
+
# metrics.
|
|
187
|
+
# @return [Types::AdvancedPerformanceMetrics]
|
|
188
|
+
#
|
|
179
189
|
# @!attribute [rw] storage_lens_group_level
|
|
180
190
|
# A container element for S3 Storage Lens groups metrics.
|
|
181
191
|
# @return [Types::StorageLensGroupLevel]
|
|
@@ -188,6 +198,7 @@ module Aws::S3Control
|
|
|
188
198
|
:advanced_cost_optimization_metrics,
|
|
189
199
|
:advanced_data_protection_metrics,
|
|
190
200
|
:detailed_status_codes_metrics,
|
|
201
|
+
:advanced_performance_metrics,
|
|
191
202
|
:storage_lens_group_level)
|
|
192
203
|
SENSITIVE = []
|
|
193
204
|
include Aws::Structure
|
|
@@ -277,6 +288,36 @@ module Aws::S3Control
|
|
|
277
288
|
include Aws::Structure
|
|
278
289
|
end
|
|
279
290
|
|
|
291
|
+
# The container element for S3 Storage Lens advanced performance
|
|
292
|
+
# metrics. Advanced performance metrics provide insights into
|
|
293
|
+
# application performance, such as request efficiency and access
|
|
294
|
+
# patterns. These metrics help you optimize your S3 storage for both
|
|
295
|
+
# cost and performance by providing detailed analytics on how your
|
|
296
|
+
# applications interact with S3 resources.
|
|
297
|
+
#
|
|
298
|
+
# For more information about S3 Storage Lens, see [Assessing your
|
|
299
|
+
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
|
300
|
+
# User Guide*. For a complete list of S3 Storage Lens metrics, see [S3
|
|
301
|
+
# Storage Lens metrics glossary][2] in the *Amazon S3 User Guide*.
|
|
302
|
+
#
|
|
303
|
+
#
|
|
304
|
+
#
|
|
305
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html
|
|
306
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
|
|
307
|
+
#
|
|
308
|
+
# @!attribute [rw] is_enabled
|
|
309
|
+
# A container that indicates whether S3 Storage Lens advanced
|
|
310
|
+
# performance metrics are enabled.
|
|
311
|
+
# @return [Boolean]
|
|
312
|
+
#
|
|
313
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AdvancedPerformanceMetrics AWS API Documentation
|
|
314
|
+
#
|
|
315
|
+
class AdvancedPerformanceMetrics < Struct.new(
|
|
316
|
+
:is_enabled)
|
|
317
|
+
SENSITIVE = []
|
|
318
|
+
include Aws::Structure
|
|
319
|
+
end
|
|
320
|
+
|
|
280
321
|
# @!attribute [rw] account_id
|
|
281
322
|
# The Amazon Web Services account ID of the S3 Access Grants instance.
|
|
282
323
|
# @return [String]
|
|
@@ -513,6 +554,11 @@ module Aws::S3Control
|
|
|
513
554
|
# Storage Lens.
|
|
514
555
|
# @return [Types::DetailedStatusCodesMetrics]
|
|
515
556
|
#
|
|
557
|
+
# @!attribute [rw] advanced_performance_metrics
|
|
558
|
+
# A container for bucket-level advanced performance metrics for S3
|
|
559
|
+
# Storage Lens.
|
|
560
|
+
# @return [Types::AdvancedPerformanceMetrics]
|
|
561
|
+
#
|
|
516
562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/BucketLevel AWS API Documentation
|
|
517
563
|
#
|
|
518
564
|
class BucketLevel < Struct.new(
|
|
@@ -520,7 +566,8 @@ module Aws::S3Control
|
|
|
520
566
|
:prefix_level,
|
|
521
567
|
:advanced_cost_optimization_metrics,
|
|
522
568
|
:advanced_data_protection_metrics,
|
|
523
|
-
:detailed_status_codes_metrics
|
|
569
|
+
:detailed_status_codes_metrics,
|
|
570
|
+
:advanced_performance_metrics)
|
|
524
571
|
SENSITIVE = []
|
|
525
572
|
include Aws::Structure
|
|
526
573
|
end
|
|
@@ -1018,14 +1065,6 @@ module Aws::S3Control
|
|
|
1018
1065
|
# S3][1]. For information about tagging access points, see [Using tags
|
|
1019
1066
|
# for attribute-based access control (ABAC)][2].
|
|
1020
1067
|
#
|
|
1021
|
-
# <note markdown="1"> * You must have the `s3:TagResource` permission to create an access
|
|
1022
|
-
# point with tags for a general purpose bucket.
|
|
1023
|
-
#
|
|
1024
|
-
# * You must have the `s3express:TagResource` permission to create an
|
|
1025
|
-
# access point with tags for a directory bucket.
|
|
1026
|
-
#
|
|
1027
|
-
# </note>
|
|
1028
|
-
#
|
|
1029
1068
|
#
|
|
1030
1069
|
#
|
|
1031
1070
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html
|
|
@@ -1465,26 +1504,14 @@ module Aws::S3Control
|
|
|
1465
1504
|
# A filter that returns objects that are encrypted by dual-layer
|
|
1466
1505
|
# server-side encryption with Amazon Web Services Key Management Service
|
|
1467
1506
|
# (KMS) keys (DSSE-KMS). You can further refine your filtering by
|
|
1468
|
-
# optionally providing a KMS Key ARN to
|
|
1469
|
-
#
|
|
1507
|
+
# optionally providing a KMS Key ARN to filter objects encrypted by a
|
|
1508
|
+
# specific key.
|
|
1470
1509
|
#
|
|
1471
1510
|
# @!attribute [rw] kms_key_arn
|
|
1472
1511
|
# The Amazon Resource Name (ARN) of the customer managed KMS key to
|
|
1473
1512
|
# use for the filter to return objects that are encrypted by the
|
|
1474
|
-
# specified key. For best performance,
|
|
1475
|
-
#
|
|
1476
|
-
# filters, like `MatchAnyPrefix`, `CreatedAfter`, or
|
|
1477
|
-
# `MatchAnyStorageClass`.
|
|
1478
|
-
#
|
|
1479
|
-
# <note markdown="1"> You must provide the full KMS Key ARN. You can't use an alias name
|
|
1480
|
-
# or alias ARN. For more information, see [ KMS keys][1] in the
|
|
1481
|
-
# *Amazon Web Services Key Management Service Developer Guide*.
|
|
1482
|
-
#
|
|
1483
|
-
# </note>
|
|
1484
|
-
#
|
|
1485
|
-
#
|
|
1486
|
-
#
|
|
1487
|
-
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN
|
|
1513
|
+
# specified key. For best performance, use keys in the same Region as
|
|
1514
|
+
# the S3 Batch Operations job.
|
|
1488
1515
|
# @return [String]
|
|
1489
1516
|
#
|
|
1490
1517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DSSEKMSFilter AWS API Documentation
|
|
@@ -4034,11 +4061,7 @@ module Aws::S3Control
|
|
|
4034
4061
|
# @!attribute [rw] match_any_object_encryption
|
|
4035
4062
|
# If provided, the generated object list includes only source bucket
|
|
4036
4063
|
# objects with the indicated server-side encryption type (SSE-S3,
|
|
4037
|
-
# SSE-KMS, DSSE-KMS, SSE-C, or NOT-SSE).
|
|
4038
|
-
# DSSE-KMS, you can optionally further filter your results by
|
|
4039
|
-
# specifying a specific KMS Key ARN. If you select SSE-KMS, you can
|
|
4040
|
-
# also optionally further filter your results by Bucket Key enabled
|
|
4041
|
-
# status.
|
|
4064
|
+
# SSE-KMS, DSSE-KMS, SSE-C, or NOT-SSE).
|
|
4042
4065
|
# @return [Array<Types::ObjectEncryptionFilter>]
|
|
4043
4066
|
#
|
|
4044
4067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/JobManifestGeneratorFilter AWS API Documentation
|
|
@@ -4513,7 +4536,7 @@ module Aws::S3Control
|
|
|
4513
4536
|
#
|
|
4514
4537
|
# @!attribute [rw] noncurrent_version_transitions
|
|
4515
4538
|
# Specifies the transition rule for the lifecycle rule that describes
|
|
4516
|
-
# when
|
|
4539
|
+
# when noncurrent objects transition to a specific storage class. If
|
|
4517
4540
|
# your bucket is versioning-enabled (or versioning is suspended), you
|
|
4518
4541
|
# can set this action to request that Amazon S3 transition noncurrent
|
|
4519
4542
|
# object versions to a specific storage class at a set period in the
|
|
@@ -5658,13 +5681,13 @@ module Aws::S3Control
|
|
|
5658
5681
|
#
|
|
5659
5682
|
# @!attribute [rw] bytes_greater_than
|
|
5660
5683
|
# Specifies the minimum object size in Bytes. The value must be a
|
|
5661
|
-
# positive number, greater than 0 and less than
|
|
5684
|
+
# positive number, greater than 0 and less than 50 TB.
|
|
5662
5685
|
# @return [Integer]
|
|
5663
5686
|
#
|
|
5664
5687
|
# @!attribute [rw] bytes_less_than
|
|
5665
5688
|
# Specifies the maximum object size in Bytes. The value must be a
|
|
5666
5689
|
# positive number, greater than the minimum object size and less than
|
|
5667
|
-
#
|
|
5690
|
+
# 50 TB.
|
|
5668
5691
|
# @return [Integer]
|
|
5669
5692
|
#
|
|
5670
5693
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/MatchObjectSize AWS API Documentation
|
|
@@ -5976,11 +5999,8 @@ module Aws::S3Control
|
|
|
5976
5999
|
#
|
|
5977
6000
|
class NotSSEFilter < Aws::EmptyStructure; end
|
|
5978
6001
|
|
|
5979
|
-
# An optional filter for the
|
|
5980
|
-
#
|
|
5981
|
-
# create an object list for S3 Batch Operations jobs. If provided, this
|
|
5982
|
-
# filter will generate an object list that only includes objects with
|
|
5983
|
-
# the specified encryption type.
|
|
6002
|
+
# An optional filter for the S3JobManifestGenerator that identifies the
|
|
6003
|
+
# subset of objects by encryption type.
|
|
5984
6004
|
#
|
|
5985
6005
|
# @note ObjectEncryptionFilter is a union - when making an API calls you must set exactly one of the members.
|
|
5986
6006
|
#
|
|
@@ -7275,13 +7295,13 @@ module Aws::S3Control
|
|
|
7275
7295
|
include Aws::Structure
|
|
7276
7296
|
end
|
|
7277
7297
|
|
|
7278
|
-
# Directs the specified job to invoke the
|
|
7298
|
+
# Directs the specified job to invoke the ComputeObjectChecksum
|
|
7279
7299
|
# operation on every object listed in the job's manifest.
|
|
7280
7300
|
#
|
|
7281
7301
|
# @!attribute [rw] checksum_algorithm
|
|
7282
7302
|
# Indicates the algorithm that you want Amazon S3 to use to create the
|
|
7283
7303
|
# checksum. For more information, see [Checking object integrity][1]
|
|
7284
|
-
# in the
|
|
7304
|
+
# in the Amazon S3 User Guide.
|
|
7285
7305
|
#
|
|
7286
7306
|
#
|
|
7287
7307
|
#
|
|
@@ -7290,8 +7310,8 @@ module Aws::S3Control
|
|
|
7290
7310
|
#
|
|
7291
7311
|
# @!attribute [rw] checksum_type
|
|
7292
7312
|
# Indicates the checksum type that you want Amazon S3 to use to
|
|
7293
|
-
# calculate the object
|
|
7294
|
-
# [Checking object integrity][1] in the
|
|
7313
|
+
# calculate the object's checksum value. For more information, see
|
|
7314
|
+
# [Checking object integrity][1] in the Amazon S3 User Guide.
|
|
7295
7315
|
#
|
|
7296
7316
|
#
|
|
7297
7317
|
#
|
|
@@ -8057,20 +8077,8 @@ module Aws::S3Control
|
|
|
8057
8077
|
# @!attribute [rw] kms_key_arn
|
|
8058
8078
|
# The Amazon Resource Name (ARN) of the customer managed KMS key to
|
|
8059
8079
|
# use for the filter to return objects that are encrypted by the
|
|
8060
|
-
# specified key. For best performance,
|
|
8061
|
-
#
|
|
8062
|
-
# filters, like `MatchAnyPrefix`, `CreatedAfter`, or
|
|
8063
|
-
# `MatchAnyStorageClass`.
|
|
8064
|
-
#
|
|
8065
|
-
# <note markdown="1"> You must provide the full KMS Key ARN. You can't use an alias name
|
|
8066
|
-
# or alias ARN. For more information, see [ KMS keys][1] in the
|
|
8067
|
-
# *Amazon Web Services Key Management Service Developer Guide*.
|
|
8068
|
-
#
|
|
8069
|
-
# </note>
|
|
8070
|
-
#
|
|
8071
|
-
#
|
|
8072
|
-
#
|
|
8073
|
-
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN
|
|
8080
|
+
# specified key. For best performance, use keys in the same Region as
|
|
8081
|
+
# the S3 Batch Operations job.
|
|
8074
8082
|
# @return [String]
|
|
8075
8083
|
#
|
|
8076
8084
|
# @!attribute [rw] bucket_key_enabled
|
|
@@ -8078,12 +8086,7 @@ module Aws::S3Control
|
|
|
8078
8086
|
# encryption with server-side encryption using Amazon Web Services Key
|
|
8079
8087
|
# Management Service (Amazon Web Services KMS) keys (SSE-KMS). If
|
|
8080
8088
|
# specified, will filter SSE-KMS encrypted objects by S3 Bucket Key
|
|
8081
|
-
# status.
|
|
8082
|
-
# Amazon S3 Bucket Keys][1] in the *Amazon S3 User Guide*.
|
|
8083
|
-
#
|
|
8084
|
-
#
|
|
8085
|
-
#
|
|
8086
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html
|
|
8089
|
+
# status.
|
|
8087
8090
|
# @return [Boolean]
|
|
8088
8091
|
#
|
|
8089
8092
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SSEKMSFilter AWS API Documentation
|
|
@@ -8286,6 +8289,11 @@ module Aws::S3Control
|
|
|
8286
8289
|
# metrics export including, the destination, schema and format.
|
|
8287
8290
|
# @return [Types::StorageLensDataExport]
|
|
8288
8291
|
#
|
|
8292
|
+
# @!attribute [rw] expanded_prefixes_data_export
|
|
8293
|
+
# A container that configures your S3 Storage Lens expanded prefixes
|
|
8294
|
+
# metrics report.
|
|
8295
|
+
# @return [Types::StorageLensExpandedPrefixesDataExport]
|
|
8296
|
+
#
|
|
8289
8297
|
# @!attribute [rw] is_enabled
|
|
8290
8298
|
# A container for whether the S3 Storage Lens configuration is
|
|
8291
8299
|
# enabled.
|
|
@@ -8303,6 +8311,25 @@ module Aws::S3Control
|
|
|
8303
8311
|
# `
|
|
8304
8312
|
# @return [String]
|
|
8305
8313
|
#
|
|
8314
|
+
# @!attribute [rw] prefix_delimiter
|
|
8315
|
+
# A container for all prefix delimiters that are used for object keys
|
|
8316
|
+
# in this S3 Storage Lens configuration. The prefix delimiters
|
|
8317
|
+
# determine how S3 Storage Lens counts prefix depth, by separating the
|
|
8318
|
+
# hierarchical levels in object keys.
|
|
8319
|
+
#
|
|
8320
|
+
# <note markdown="1"> * If either a prefix delimiter or existing delimiter is undefined,
|
|
8321
|
+
# Amazon S3 uses the delimiter that’s defined.
|
|
8322
|
+
#
|
|
8323
|
+
# * If both the prefix delimiter and existing delimiter are undefined,
|
|
8324
|
+
# S3 uses `/` as the default delimiter.
|
|
8325
|
+
#
|
|
8326
|
+
# * When custom delimiters are used, both the prefix delimiter and
|
|
8327
|
+
# existing delimiter must specify the same special character.
|
|
8328
|
+
# Otherwise, your request results in an error.
|
|
8329
|
+
#
|
|
8330
|
+
# </note>
|
|
8331
|
+
# @return [String]
|
|
8332
|
+
#
|
|
8306
8333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensConfiguration AWS API Documentation
|
|
8307
8334
|
#
|
|
8308
8335
|
class StorageLensConfiguration < Struct.new(
|
|
@@ -8311,9 +8338,11 @@ module Aws::S3Control
|
|
|
8311
8338
|
:include,
|
|
8312
8339
|
:exclude,
|
|
8313
8340
|
:data_export,
|
|
8341
|
+
:expanded_prefixes_data_export,
|
|
8314
8342
|
:is_enabled,
|
|
8315
8343
|
:aws_org,
|
|
8316
|
-
:storage_lens_arn
|
|
8344
|
+
:storage_lens_arn,
|
|
8345
|
+
:prefix_delimiter)
|
|
8317
8346
|
SENSITIVE = []
|
|
8318
8347
|
include Aws::Structure
|
|
8319
8348
|
end
|
|
@@ -8336,11 +8365,17 @@ module Aws::S3Control
|
|
|
8336
8365
|
# Lens metrics.
|
|
8337
8366
|
# @return [Types::CloudWatchMetrics]
|
|
8338
8367
|
#
|
|
8368
|
+
# @!attribute [rw] storage_lens_table_destination
|
|
8369
|
+
# A container for configuring S3 Storage Lens data exports to
|
|
8370
|
+
# read-only S3 table buckets.
|
|
8371
|
+
# @return [Types::StorageLensTableDestination]
|
|
8372
|
+
#
|
|
8339
8373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensDataExport AWS API Documentation
|
|
8340
8374
|
#
|
|
8341
8375
|
class StorageLensDataExport < Struct.new(
|
|
8342
8376
|
:s3_bucket_destination,
|
|
8343
|
-
:cloud_watch_metrics
|
|
8377
|
+
:cloud_watch_metrics,
|
|
8378
|
+
:storage_lens_table_destination)
|
|
8344
8379
|
SENSITIVE = []
|
|
8345
8380
|
include Aws::Structure
|
|
8346
8381
|
end
|
|
@@ -8362,6 +8397,32 @@ module Aws::S3Control
|
|
|
8362
8397
|
include Aws::Structure
|
|
8363
8398
|
end
|
|
8364
8399
|
|
|
8400
|
+
# A container for your S3 Storage Lens expanded prefix metrics report
|
|
8401
|
+
# configuration. Unlike the default Storage Lens metrics report, the
|
|
8402
|
+
# enhanced prefix metrics report includes all S3 Storage Lens storage
|
|
8403
|
+
# and activity data related to the full list of prefixes in your Storage
|
|
8404
|
+
# Lens configuration.
|
|
8405
|
+
#
|
|
8406
|
+
# @!attribute [rw] s3_bucket_destination
|
|
8407
|
+
# A container for the bucket where the Amazon S3 Storage Lens metrics
|
|
8408
|
+
# export files are located.
|
|
8409
|
+
# @return [Types::S3BucketDestination]
|
|
8410
|
+
#
|
|
8411
|
+
# @!attribute [rw] storage_lens_table_destination
|
|
8412
|
+
# A container for the bucket where the S3 Storage Lens metric export
|
|
8413
|
+
# files are located. At least one export destination must be
|
|
8414
|
+
# specified.
|
|
8415
|
+
# @return [Types::StorageLensTableDestination]
|
|
8416
|
+
#
|
|
8417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensExpandedPrefixesDataExport AWS API Documentation
|
|
8418
|
+
#
|
|
8419
|
+
class StorageLensExpandedPrefixesDataExport < Struct.new(
|
|
8420
|
+
:s3_bucket_destination,
|
|
8421
|
+
:storage_lens_table_destination)
|
|
8422
|
+
SENSITIVE = []
|
|
8423
|
+
include Aws::Structure
|
|
8424
|
+
end
|
|
8425
|
+
|
|
8365
8426
|
# A custom grouping of objects that include filters for prefixes,
|
|
8366
8427
|
# suffixes, object tags, object size, or object age. You can create an
|
|
8367
8428
|
# S3 Storage Lens group that includes a single filter or multiple filter
|
|
@@ -8571,6 +8632,40 @@ module Aws::S3Control
|
|
|
8571
8632
|
include Aws::Structure
|
|
8572
8633
|
end
|
|
8573
8634
|
|
|
8635
|
+
# A container for configuring your S3 Storage Lens reports to export to
|
|
8636
|
+
# read-only S3 table buckets. This parameter enables you to store your
|
|
8637
|
+
# Storage Lens metrics in a structured, queryable table format in Apache
|
|
8638
|
+
# Iceberg.
|
|
8639
|
+
#
|
|
8640
|
+
# For more information about S3 Storage Lens, see [Assessing your
|
|
8641
|
+
# storage activity and usage with S3 Storage Lens][1] in the *Amazon S3
|
|
8642
|
+
# User Guide*.
|
|
8643
|
+
#
|
|
8644
|
+
#
|
|
8645
|
+
#
|
|
8646
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens.html
|
|
8647
|
+
#
|
|
8648
|
+
# @!attribute [rw] is_enabled
|
|
8649
|
+
# A container that indicates whether the export to read-only S3 table
|
|
8650
|
+
# buckets is enabled for your S3 Storage Lens configuration. When set
|
|
8651
|
+
# to true, Storage Lens reports are automatically exported to tables
|
|
8652
|
+
# in addition to other configured destinations.
|
|
8653
|
+
# @return [Boolean]
|
|
8654
|
+
#
|
|
8655
|
+
# @!attribute [rw] encryption
|
|
8656
|
+
# A container for the encryption of the S3 Storage Lens metrics
|
|
8657
|
+
# exports.
|
|
8658
|
+
# @return [Types::StorageLensDataExportEncryption]
|
|
8659
|
+
#
|
|
8660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensTableDestination AWS API Documentation
|
|
8661
|
+
#
|
|
8662
|
+
class StorageLensTableDestination < Struct.new(
|
|
8663
|
+
:is_enabled,
|
|
8664
|
+
:encryption)
|
|
8665
|
+
SENSITIVE = []
|
|
8666
|
+
include Aws::Structure
|
|
8667
|
+
end
|
|
8668
|
+
|
|
8574
8669
|
# @!attribute [rw] key
|
|
8575
8670
|
# @return [String]
|
|
8576
8671
|
#
|
data/lib/aws-sdk-s3control.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1565,6 +1565,9 @@ module Aws
|
|
|
1565
1565
|
}?,
|
|
1566
1566
|
detailed_status_codes_metrics: {
|
|
1567
1567
|
is_enabled: bool?
|
|
1568
|
+
}?,
|
|
1569
|
+
advanced_performance_metrics: {
|
|
1570
|
+
is_enabled: bool?
|
|
1568
1571
|
}?
|
|
1569
1572
|
},
|
|
1570
1573
|
advanced_cost_optimization_metrics: {
|
|
@@ -1576,6 +1579,9 @@ module Aws
|
|
|
1576
1579
|
detailed_status_codes_metrics: {
|
|
1577
1580
|
is_enabled: bool?
|
|
1578
1581
|
}?,
|
|
1582
|
+
advanced_performance_metrics: {
|
|
1583
|
+
is_enabled: bool?
|
|
1584
|
+
}?,
|
|
1579
1585
|
storage_lens_group_level: {
|
|
1580
1586
|
selection_criteria: {
|
|
1581
1587
|
include: Array[::String]?,
|
|
@@ -1608,13 +1614,50 @@ module Aws
|
|
|
1608
1614
|
}?,
|
|
1609
1615
|
cloud_watch_metrics: {
|
|
1610
1616
|
is_enabled: bool
|
|
1617
|
+
}?,
|
|
1618
|
+
storage_lens_table_destination: {
|
|
1619
|
+
is_enabled: bool,
|
|
1620
|
+
encryption: {
|
|
1621
|
+
sses3: {
|
|
1622
|
+
}?,
|
|
1623
|
+
ssekms: {
|
|
1624
|
+
key_id: ::String
|
|
1625
|
+
}?
|
|
1626
|
+
}?
|
|
1627
|
+
}?
|
|
1628
|
+
}?,
|
|
1629
|
+
expanded_prefixes_data_export: {
|
|
1630
|
+
s3_bucket_destination: {
|
|
1631
|
+
format: ("CSV" | "Parquet"),
|
|
1632
|
+
output_schema_version: ("V_1"),
|
|
1633
|
+
account_id: ::String,
|
|
1634
|
+
arn: ::String,
|
|
1635
|
+
prefix: ::String?,
|
|
1636
|
+
encryption: {
|
|
1637
|
+
sses3: {
|
|
1638
|
+
}?,
|
|
1639
|
+
ssekms: {
|
|
1640
|
+
key_id: ::String
|
|
1641
|
+
}?
|
|
1642
|
+
}?
|
|
1643
|
+
}?,
|
|
1644
|
+
storage_lens_table_destination: {
|
|
1645
|
+
is_enabled: bool,
|
|
1646
|
+
encryption: {
|
|
1647
|
+
sses3: {
|
|
1648
|
+
}?,
|
|
1649
|
+
ssekms: {
|
|
1650
|
+
key_id: ::String
|
|
1651
|
+
}?
|
|
1652
|
+
}?
|
|
1611
1653
|
}?
|
|
1612
1654
|
}?,
|
|
1613
1655
|
is_enabled: bool,
|
|
1614
1656
|
aws_org: {
|
|
1615
1657
|
arn: ::String
|
|
1616
1658
|
}?,
|
|
1617
|
-
storage_lens_arn: ::String
|
|
1659
|
+
storage_lens_arn: ::String?,
|
|
1660
|
+
prefix_delimiter: ::String?
|
|
1618
1661
|
},
|
|
1619
1662
|
?tags: Array[
|
|
1620
1663
|
{
|
data/sig/types.rbs
CHANGED
|
@@ -42,6 +42,7 @@ module Aws::S3Control
|
|
|
42
42
|
attr_accessor advanced_cost_optimization_metrics: Types::AdvancedCostOptimizationMetrics
|
|
43
43
|
attr_accessor advanced_data_protection_metrics: Types::AdvancedDataProtectionMetrics
|
|
44
44
|
attr_accessor detailed_status_codes_metrics: Types::DetailedStatusCodesMetrics
|
|
45
|
+
attr_accessor advanced_performance_metrics: Types::AdvancedPerformanceMetrics
|
|
45
46
|
attr_accessor storage_lens_group_level: Types::StorageLensGroupLevel
|
|
46
47
|
SENSITIVE: []
|
|
47
48
|
end
|
|
@@ -61,6 +62,11 @@ module Aws::S3Control
|
|
|
61
62
|
SENSITIVE: []
|
|
62
63
|
end
|
|
63
64
|
|
|
65
|
+
class AdvancedPerformanceMetrics
|
|
66
|
+
attr_accessor is_enabled: bool
|
|
67
|
+
SENSITIVE: []
|
|
68
|
+
end
|
|
69
|
+
|
|
64
70
|
class AssociateAccessGrantsIdentityCenterRequest
|
|
65
71
|
attr_accessor account_id: ::String
|
|
66
72
|
attr_accessor identity_center_arn: ::String
|
|
@@ -121,6 +127,7 @@ module Aws::S3Control
|
|
|
121
127
|
attr_accessor advanced_cost_optimization_metrics: Types::AdvancedCostOptimizationMetrics
|
|
122
128
|
attr_accessor advanced_data_protection_metrics: Types::AdvancedDataProtectionMetrics
|
|
123
129
|
attr_accessor detailed_status_codes_metrics: Types::DetailedStatusCodesMetrics
|
|
130
|
+
attr_accessor advanced_performance_metrics: Types::AdvancedPerformanceMetrics
|
|
124
131
|
SENSITIVE: []
|
|
125
132
|
end
|
|
126
133
|
|
|
@@ -1908,15 +1915,18 @@ module Aws::S3Control
|
|
|
1908
1915
|
attr_accessor include: Types::Include
|
|
1909
1916
|
attr_accessor exclude: Types::Exclude
|
|
1910
1917
|
attr_accessor data_export: Types::StorageLensDataExport
|
|
1918
|
+
attr_accessor expanded_prefixes_data_export: Types::StorageLensExpandedPrefixesDataExport
|
|
1911
1919
|
attr_accessor is_enabled: bool
|
|
1912
1920
|
attr_accessor aws_org: Types::StorageLensAwsOrg
|
|
1913
1921
|
attr_accessor storage_lens_arn: ::String
|
|
1922
|
+
attr_accessor prefix_delimiter: ::String
|
|
1914
1923
|
SENSITIVE: []
|
|
1915
1924
|
end
|
|
1916
1925
|
|
|
1917
1926
|
class StorageLensDataExport
|
|
1918
1927
|
attr_accessor s3_bucket_destination: Types::S3BucketDestination
|
|
1919
1928
|
attr_accessor cloud_watch_metrics: Types::CloudWatchMetrics
|
|
1929
|
+
attr_accessor storage_lens_table_destination: Types::StorageLensTableDestination
|
|
1920
1930
|
SENSITIVE: []
|
|
1921
1931
|
end
|
|
1922
1932
|
|
|
@@ -1926,6 +1936,12 @@ module Aws::S3Control
|
|
|
1926
1936
|
SENSITIVE: []
|
|
1927
1937
|
end
|
|
1928
1938
|
|
|
1939
|
+
class StorageLensExpandedPrefixesDataExport
|
|
1940
|
+
attr_accessor s3_bucket_destination: Types::S3BucketDestination
|
|
1941
|
+
attr_accessor storage_lens_table_destination: Types::StorageLensTableDestination
|
|
1942
|
+
SENSITIVE: []
|
|
1943
|
+
end
|
|
1944
|
+
|
|
1929
1945
|
class StorageLensGroup
|
|
1930
1946
|
attr_accessor name: ::String
|
|
1931
1947
|
attr_accessor filter: Types::StorageLensGroupFilter
|
|
@@ -1973,6 +1989,12 @@ module Aws::S3Control
|
|
|
1973
1989
|
SENSITIVE: []
|
|
1974
1990
|
end
|
|
1975
1991
|
|
|
1992
|
+
class StorageLensTableDestination
|
|
1993
|
+
attr_accessor is_enabled: bool
|
|
1994
|
+
attr_accessor encryption: Types::StorageLensDataExportEncryption
|
|
1995
|
+
SENSITIVE: []
|
|
1996
|
+
end
|
|
1997
|
+
|
|
1976
1998
|
class StorageLensTag
|
|
1977
1999
|
attr_accessor key: ::String
|
|
1978
2000
|
attr_accessor value: ::String
|