aws-sdk-s3control 1.70.0 → 1.72.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.
@@ -99,7 +99,7 @@ module Aws::S3Control
99
99
  include Aws::Structure
100
100
  end
101
101
 
102
- # A container for the account-level Amazon S3 Storage Lens
102
+ # A container element for the account-level Amazon S3 Storage Lens
103
103
  # configuration.
104
104
  #
105
105
  # For more information about S3 Storage Lens, see [Assessing your
@@ -113,25 +113,32 @@ module Aws::S3Control
113
113
  # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html
114
114
  #
115
115
  # @!attribute [rw] activity_metrics
116
- # A container for S3 Storage Lens activity metrics.
116
+ # A container element for S3 Storage Lens activity metrics.
117
117
  # @return [Types::ActivityMetrics]
118
118
  #
119
119
  # @!attribute [rw] bucket_level
120
- # A container for the S3 Storage Lens bucket-level configuration.
120
+ # A container element for the S3 Storage Lens bucket-level
121
+ # configuration.
121
122
  # @return [Types::BucketLevel]
122
123
  #
123
124
  # @!attribute [rw] advanced_cost_optimization_metrics
124
- # A container for S3 Storage Lens advanced cost-optimization metrics.
125
+ # A container element for S3 Storage Lens advanced cost-optimization
126
+ # metrics.
125
127
  # @return [Types::AdvancedCostOptimizationMetrics]
126
128
  #
127
129
  # @!attribute [rw] advanced_data_protection_metrics
128
- # A container for S3 Storage Lens advanced data-protection metrics.
130
+ # A container element for S3 Storage Lens advanced data-protection
131
+ # metrics.
129
132
  # @return [Types::AdvancedDataProtectionMetrics]
130
133
  #
131
134
  # @!attribute [rw] detailed_status_codes_metrics
132
- # A container for detailed status code metrics.
135
+ # A container element for detailed status code metrics.
133
136
  # @return [Types::DetailedStatusCodesMetrics]
134
137
  #
138
+ # @!attribute [rw] storage_lens_group_level
139
+ # A container element for S3 Storage Lens groups metrics.
140
+ # @return [Types::StorageLensGroupLevel]
141
+ #
135
142
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AccountLevel AWS API Documentation
136
143
  #
137
144
  class AccountLevel < Struct.new(
@@ -139,7 +146,8 @@ module Aws::S3Control
139
146
  :bucket_level,
140
147
  :advanced_cost_optimization_metrics,
141
148
  :advanced_data_protection_metrics,
142
- :detailed_status_codes_metrics)
149
+ :detailed_status_codes_metrics,
150
+ :storage_lens_group_level)
143
151
  SENSITIVE = []
144
152
  include Aws::Structure
145
153
  end
@@ -930,6 +938,30 @@ module Aws::S3Control
930
938
  include Aws::Structure
931
939
  end
932
940
 
941
+ # @!attribute [rw] account_id
942
+ # The Amazon Web Services account ID that the Storage Lens group is
943
+ # created from and associated with.
944
+ # @return [String]
945
+ #
946
+ # @!attribute [rw] storage_lens_group
947
+ # The Storage Lens group configuration.
948
+ # @return [Types::StorageLensGroup]
949
+ #
950
+ # @!attribute [rw] tags
951
+ # The Amazon Web Services resource tags that you're adding to your
952
+ # Storage Lens group. This parameter is optional.
953
+ # @return [Array<Types::Tag>]
954
+ #
955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateStorageLensGroupRequest AWS API Documentation
956
+ #
957
+ class CreateStorageLensGroupRequest < Struct.new(
958
+ :account_id,
959
+ :storage_lens_group,
960
+ :tags)
961
+ SENSITIVE = []
962
+ include Aws::Structure
963
+ end
964
+
933
965
  # @!attribute [rw] account_id
934
966
  # The account ID for the account that owns the specified Object Lambda
935
967
  # Access Point.
@@ -1348,6 +1380,24 @@ module Aws::S3Control
1348
1380
  #
1349
1381
  class DeleteStorageLensConfigurationTaggingResult < Aws::EmptyStructure; end
1350
1382
 
1383
+ # @!attribute [rw] name
1384
+ # The name of the Storage Lens group that you're trying to delete.
1385
+ # @return [String]
1386
+ #
1387
+ # @!attribute [rw] account_id
1388
+ # The Amazon Web Services account ID used to create the Storage Lens
1389
+ # group that you're trying to delete.
1390
+ # @return [String]
1391
+ #
1392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensGroupRequest AWS API Documentation
1393
+ #
1394
+ class DeleteStorageLensGroupRequest < Struct.new(
1395
+ :name,
1396
+ :account_id)
1397
+ SENSITIVE = []
1398
+ include Aws::Structure
1399
+ end
1400
+
1351
1401
  # @!attribute [rw] account_id
1352
1402
  # The Amazon Web Services account ID associated with the S3 Batch
1353
1403
  # Operations job.
@@ -2490,6 +2540,38 @@ module Aws::S3Control
2490
2540
  include Aws::Structure
2491
2541
  end
2492
2542
 
2543
+ # @!attribute [rw] name
2544
+ # The name of the Storage Lens group that you're trying to retrieve
2545
+ # the configuration details for.
2546
+ # @return [String]
2547
+ #
2548
+ # @!attribute [rw] account_id
2549
+ # The Amazon Web Services account ID associated with the Storage Lens
2550
+ # group that you're trying to retrieve the details for.
2551
+ # @return [String]
2552
+ #
2553
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensGroupRequest AWS API Documentation
2554
+ #
2555
+ class GetStorageLensGroupRequest < Struct.new(
2556
+ :name,
2557
+ :account_id)
2558
+ SENSITIVE = []
2559
+ include Aws::Structure
2560
+ end
2561
+
2562
+ # @!attribute [rw] storage_lens_group
2563
+ # The name of the Storage Lens group that you're trying to retrieve
2564
+ # the configuration details for.
2565
+ # @return [Types::StorageLensGroup]
2566
+ #
2567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensGroupResult AWS API Documentation
2568
+ #
2569
+ class GetStorageLensGroupResult < Struct.new(
2570
+ :storage_lens_group)
2571
+ SENSITIVE = []
2572
+ include Aws::Structure
2573
+ end
2574
+
2493
2575
  # @!attribute [rw] message
2494
2576
  # @return [String]
2495
2577
  #
@@ -2805,18 +2887,40 @@ module Aws::S3Control
2805
2887
  # @return [Boolean]
2806
2888
  #
2807
2889
  # @!attribute [rw] created_after
2808
- # If provided, the generated manifest should include only source
2809
- # bucket objects that were created after this time.
2890
+ # If provided, the generated manifest includes only source bucket
2891
+ # objects that were created after this time.
2810
2892
  # @return [Time]
2811
2893
  #
2812
2894
  # @!attribute [rw] created_before
2813
- # If provided, the generated manifest should include only source
2814
- # bucket objects that were created before this time.
2895
+ # If provided, the generated manifest includes only source bucket
2896
+ # objects that were created before this time.
2815
2897
  # @return [Time]
2816
2898
  #
2817
2899
  # @!attribute [rw] object_replication_statuses
2818
- # If provided, the generated manifest should include only source
2819
- # bucket objects that have one of the specified Replication statuses.
2900
+ # If provided, the generated manifest includes only source bucket
2901
+ # objects that have one of the specified Replication statuses.
2902
+ # @return [Array<String>]
2903
+ #
2904
+ # @!attribute [rw] key_name_constraint
2905
+ # If provided, the generated manifest includes only source bucket
2906
+ # objects whose object keys match the string constraints specified for
2907
+ # `MatchAnyPrefix`, `MatchAnySuffix`, and `MatchAnySubstring`.
2908
+ # @return [Types::KeyNameConstraint]
2909
+ #
2910
+ # @!attribute [rw] object_size_greater_than_bytes
2911
+ # If provided, the generated manifest includes only source bucket
2912
+ # objects whose file size is greater than the specified number of
2913
+ # bytes.
2914
+ # @return [Integer]
2915
+ #
2916
+ # @!attribute [rw] object_size_less_than_bytes
2917
+ # If provided, the generated manifest includes only source bucket
2918
+ # objects whose file size is less than the specified number of bytes.
2919
+ # @return [Integer]
2920
+ #
2921
+ # @!attribute [rw] match_any_storage_class
2922
+ # If provided, the generated manifest includes only source bucket
2923
+ # objects that are stored with the specified storage class.
2820
2924
  # @return [Array<String>]
2821
2925
  #
2822
2926
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/JobManifestGeneratorFilter AWS API Documentation
@@ -2825,7 +2929,11 @@ module Aws::S3Control
2825
2929
  :eligible_for_replication,
2826
2930
  :created_after,
2827
2931
  :created_before,
2828
- :object_replication_statuses)
2932
+ :object_replication_statuses,
2933
+ :key_name_constraint,
2934
+ :object_size_greater_than_bytes,
2935
+ :object_size_less_than_bytes,
2936
+ :match_any_storage_class)
2829
2937
  SENSITIVE = []
2830
2938
  include Aws::Structure
2831
2939
  end
@@ -3063,6 +3171,35 @@ module Aws::S3Control
3063
3171
  include Aws::Structure
3064
3172
  end
3065
3173
 
3174
+ # If provided, the generated manifest includes only source bucket
3175
+ # objects whose object keys match the string constraints specified for
3176
+ # `MatchAnyPrefix`, `MatchAnySuffix`, and `MatchAnySubstring`.
3177
+ #
3178
+ # @!attribute [rw] match_any_prefix
3179
+ # If provided, the generated manifest includes objects where the
3180
+ # specified string appears at the start of the object key string.
3181
+ # @return [Array<String>]
3182
+ #
3183
+ # @!attribute [rw] match_any_suffix
3184
+ # If provided, the generated manifest includes objects where the
3185
+ # specified string appears at the end of the object key string.
3186
+ # @return [Array<String>]
3187
+ #
3188
+ # @!attribute [rw] match_any_substring
3189
+ # If provided, the generated manifest includes objects where the
3190
+ # specified string appears anywhere within the object key string.
3191
+ # @return [Array<String>]
3192
+ #
3193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/KeyNameConstraint AWS API Documentation
3194
+ #
3195
+ class KeyNameConstraint < Struct.new(
3196
+ :match_any_prefix,
3197
+ :match_any_suffix,
3198
+ :match_any_substring)
3199
+ SENSITIVE = []
3200
+ include Aws::Structure
3201
+ end
3202
+
3066
3203
  # Contains the configuration parameters for a `Lambda Invoke` operation.
3067
3204
  #
3068
3205
  # @!attribute [rw] function_arn
@@ -3605,6 +3742,153 @@ module Aws::S3Control
3605
3742
  include Aws::Structure
3606
3743
  end
3607
3744
 
3745
+ # Each entry contains a Storage Lens group that exists in the specified
3746
+ # home Region.
3747
+ #
3748
+ # @!attribute [rw] name
3749
+ # Contains the name of the Storage Lens group that exists in the
3750
+ # specified home Region.
3751
+ # @return [String]
3752
+ #
3753
+ # @!attribute [rw] storage_lens_group_arn
3754
+ # Contains the Amazon Resource Name (ARN) of the Storage Lens group.
3755
+ # This property is read-only.
3756
+ # @return [String]
3757
+ #
3758
+ # @!attribute [rw] home_region
3759
+ # Contains the Amazon Web Services Region where the Storage Lens group
3760
+ # was created.
3761
+ # @return [String]
3762
+ #
3763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensGroupEntry AWS API Documentation
3764
+ #
3765
+ class ListStorageLensGroupEntry < Struct.new(
3766
+ :name,
3767
+ :storage_lens_group_arn,
3768
+ :home_region)
3769
+ SENSITIVE = []
3770
+ include Aws::Structure
3771
+ end
3772
+
3773
+ # @!attribute [rw] account_id
3774
+ # The Amazon Web Services account ID that owns the Storage Lens
3775
+ # groups.
3776
+ # @return [String]
3777
+ #
3778
+ # @!attribute [rw] next_token
3779
+ # The token for the next set of results, or `null` if there are no
3780
+ # more results.
3781
+ # @return [String]
3782
+ #
3783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensGroupsRequest AWS API Documentation
3784
+ #
3785
+ class ListStorageLensGroupsRequest < Struct.new(
3786
+ :account_id,
3787
+ :next_token)
3788
+ SENSITIVE = []
3789
+ include Aws::Structure
3790
+ end
3791
+
3792
+ # @!attribute [rw] next_token
3793
+ # If `NextToken` is returned, there are more Storage Lens groups
3794
+ # results available. The value of `NextToken` is a unique pagination
3795
+ # token for each page. Make the call again using the returned token to
3796
+ # retrieve the next page. Keep all other arguments unchanged. Each
3797
+ # pagination token expires after 24 hours.
3798
+ # @return [String]
3799
+ #
3800
+ # @!attribute [rw] storage_lens_group_list
3801
+ # The list of Storage Lens groups that exist in the specified home
3802
+ # Region.
3803
+ # @return [Array<Types::ListStorageLensGroupEntry>]
3804
+ #
3805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensGroupsResult AWS API Documentation
3806
+ #
3807
+ class ListStorageLensGroupsResult < Struct.new(
3808
+ :next_token,
3809
+ :storage_lens_group_list)
3810
+ SENSITIVE = []
3811
+ include Aws::Structure
3812
+ end
3813
+
3814
+ # @!attribute [rw] account_id
3815
+ # The Amazon Web Services account ID of the resource owner.
3816
+ # @return [String]
3817
+ #
3818
+ # @!attribute [rw] resource_arn
3819
+ # The Amazon Resource Name (ARN) of the S3 resource that you want to
3820
+ # list the tags for.
3821
+ # @return [String]
3822
+ #
3823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListTagsForResourceRequest AWS API Documentation
3824
+ #
3825
+ class ListTagsForResourceRequest < Struct.new(
3826
+ :account_id,
3827
+ :resource_arn)
3828
+ SENSITIVE = []
3829
+ include Aws::Structure
3830
+ end
3831
+
3832
+ # @!attribute [rw] tags
3833
+ # The Amazon Web Services resource tags that are associated with the
3834
+ # resource.
3835
+ # @return [Array<Types::Tag>]
3836
+ #
3837
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListTagsForResourceResult AWS API Documentation
3838
+ #
3839
+ class ListTagsForResourceResult < Struct.new(
3840
+ :tags)
3841
+ SENSITIVE = []
3842
+ include Aws::Structure
3843
+ end
3844
+
3845
+ # A filter condition that specifies the object age range of included
3846
+ # objects in days. Only integers are supported.
3847
+ #
3848
+ # @!attribute [rw] days_greater_than
3849
+ # Specifies the maximum object age in days. Must be a positive whole
3850
+ # number, greater than the minimum object age and less than or equal
3851
+ # to 2,147,483,647.
3852
+ # @return [Integer]
3853
+ #
3854
+ # @!attribute [rw] days_less_than
3855
+ # Specifies the minimum object age in days. The value must be a
3856
+ # positive whole number, greater than 0 and less than or equal to
3857
+ # 2,147,483,647.
3858
+ # @return [Integer]
3859
+ #
3860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/MatchObjectAge AWS API Documentation
3861
+ #
3862
+ class MatchObjectAge < Struct.new(
3863
+ :days_greater_than,
3864
+ :days_less_than)
3865
+ SENSITIVE = []
3866
+ include Aws::Structure
3867
+ end
3868
+
3869
+ # A filter condition that specifies the object size range of included
3870
+ # objects in bytes. Only integers are supported.
3871
+ #
3872
+ # @!attribute [rw] bytes_greater_than
3873
+ # Specifies the minimum object size in Bytes. The value must be a
3874
+ # positive number, greater than 0 and less than 5 TB.
3875
+ # @return [Integer]
3876
+ #
3877
+ # @!attribute [rw] bytes_less_than
3878
+ # Specifies the maximum object size in Bytes. The value must be a
3879
+ # positive number, greater than the minimum object size and less than
3880
+ # 5 TB.
3881
+ # @return [Integer]
3882
+ #
3883
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/MatchObjectSize AWS API Documentation
3884
+ #
3885
+ class MatchObjectSize < Struct.new(
3886
+ :bytes_greater_than,
3887
+ :bytes_less_than)
3888
+ SENSITIVE = []
3889
+ include Aws::Structure
3890
+ end
3891
+
3608
3892
  # A container that specifies replication metrics-related settings.
3609
3893
  #
3610
3894
  # @!attribute [rw] status
@@ -5158,7 +5442,7 @@ module Aws::S3Control
5158
5442
  #
5159
5443
  #
5160
5444
  #
5161
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CheckingObjectIntegrity.xml
5445
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
5162
5446
  # @return [String]
5163
5447
  #
5164
5448
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3CopyObjectOperation AWS API Documentation
@@ -5873,6 +6157,215 @@ module Aws::S3Control
5873
6157
  include Aws::Structure
5874
6158
  end
5875
6159
 
6160
+ # A custom grouping of objects that include filters for prefixes,
6161
+ # suffixes, object tags, object size, or object age. You can create an
6162
+ # S3 Storage Lens group that includes a single filter or multiple filter
6163
+ # conditions. To specify multiple filter conditions, you use `AND` or
6164
+ # `OR` logical operators.
6165
+ #
6166
+ # @!attribute [rw] name
6167
+ # Contains the name of the Storage Lens group.
6168
+ # @return [String]
6169
+ #
6170
+ # @!attribute [rw] filter
6171
+ # Sets the criteria for the Storage Lens group data that is displayed.
6172
+ # For multiple filter conditions, the `AND` or `OR` logical operator
6173
+ # is used.
6174
+ # @return [Types::StorageLensGroupFilter]
6175
+ #
6176
+ # @!attribute [rw] storage_lens_group_arn
6177
+ # Contains the Amazon Resource Name (ARN) of the Storage Lens group.
6178
+ # This property is read-only.
6179
+ # @return [String]
6180
+ #
6181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensGroup AWS API Documentation
6182
+ #
6183
+ class StorageLensGroup < Struct.new(
6184
+ :name,
6185
+ :filter,
6186
+ :storage_lens_group_arn)
6187
+ SENSITIVE = []
6188
+ include Aws::Structure
6189
+ end
6190
+
6191
+ # A logical operator that allows multiple filter conditions to be joined
6192
+ # for more complex comparisons of Storage Lens group data.
6193
+ #
6194
+ # @!attribute [rw] match_any_prefix
6195
+ # Contains a list of prefixes. At least one prefix must be specified.
6196
+ # Up to 10 prefixes are allowed.
6197
+ # @return [Array<String>]
6198
+ #
6199
+ # @!attribute [rw] match_any_suffix
6200
+ # Contains a list of suffixes. At least one suffix must be specified.
6201
+ # Up to 10 suffixes are allowed.
6202
+ # @return [Array<String>]
6203
+ #
6204
+ # @!attribute [rw] match_any_tag
6205
+ # Contains the list of object tags. At least one object tag must be
6206
+ # specified. Up to 10 object tags are allowed.
6207
+ # @return [Array<Types::S3Tag>]
6208
+ #
6209
+ # @!attribute [rw] match_object_age
6210
+ # Contains `DaysGreaterThan` and `DaysLessThan` to define the object
6211
+ # age range (minimum and maximum number of days).
6212
+ # @return [Types::MatchObjectAge]
6213
+ #
6214
+ # @!attribute [rw] match_object_size
6215
+ # Contains `BytesGreaterThan` and `BytesLessThan` to define the object
6216
+ # size range (minimum and maximum number of Bytes).
6217
+ # @return [Types::MatchObjectSize]
6218
+ #
6219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensGroupAndOperator AWS API Documentation
6220
+ #
6221
+ class StorageLensGroupAndOperator < Struct.new(
6222
+ :match_any_prefix,
6223
+ :match_any_suffix,
6224
+ :match_any_tag,
6225
+ :match_object_age,
6226
+ :match_object_size)
6227
+ SENSITIVE = []
6228
+ include Aws::Structure
6229
+ end
6230
+
6231
+ # The filter element sets the criteria for the Storage Lens group data
6232
+ # that is displayed. For multiple filter conditions, the `AND` or `OR`
6233
+ # logical operator is used.
6234
+ #
6235
+ # @!attribute [rw] match_any_prefix
6236
+ # Contains a list of prefixes. At least one prefix must be specified.
6237
+ # Up to 10 prefixes are allowed.
6238
+ # @return [Array<String>]
6239
+ #
6240
+ # @!attribute [rw] match_any_suffix
6241
+ # Contains a list of suffixes. At least one suffix must be specified.
6242
+ # Up to 10 suffixes are allowed.
6243
+ # @return [Array<String>]
6244
+ #
6245
+ # @!attribute [rw] match_any_tag
6246
+ # Contains the list of S3 object tags. At least one object tag must be
6247
+ # specified. Up to 10 object tags are allowed.
6248
+ # @return [Array<Types::S3Tag>]
6249
+ #
6250
+ # @!attribute [rw] match_object_age
6251
+ # Contains `DaysGreaterThan` and `DaysLessThan` to define the object
6252
+ # age range (minimum and maximum number of days).
6253
+ # @return [Types::MatchObjectAge]
6254
+ #
6255
+ # @!attribute [rw] match_object_size
6256
+ # Contains `BytesGreaterThan` and `BytesLessThan` to define the object
6257
+ # size range (minimum and maximum number of Bytes).
6258
+ # @return [Types::MatchObjectSize]
6259
+ #
6260
+ # @!attribute [rw] and
6261
+ # A logical operator that allows multiple filter conditions to be
6262
+ # joined for more complex comparisons of Storage Lens group data.
6263
+ # Objects must match all of the listed filter conditions that are
6264
+ # joined by the `And` logical operator. Only one of each filter
6265
+ # condition is allowed.
6266
+ # @return [Types::StorageLensGroupAndOperator]
6267
+ #
6268
+ # @!attribute [rw] or
6269
+ # A single logical operator that allows multiple filter conditions to
6270
+ # be joined. Objects can match any of the listed filter conditions,
6271
+ # which are joined by the `Or` logical operator. Only one of each
6272
+ # filter condition is allowed.
6273
+ # @return [Types::StorageLensGroupOrOperator]
6274
+ #
6275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensGroupFilter AWS API Documentation
6276
+ #
6277
+ class StorageLensGroupFilter < Struct.new(
6278
+ :match_any_prefix,
6279
+ :match_any_suffix,
6280
+ :match_any_tag,
6281
+ :match_object_age,
6282
+ :match_object_size,
6283
+ :and,
6284
+ :or)
6285
+ SENSITIVE = []
6286
+ include Aws::Structure
6287
+ end
6288
+
6289
+ # Specifies the Storage Lens groups to include in the Storage Lens group
6290
+ # aggregation.
6291
+ #
6292
+ # @!attribute [rw] selection_criteria
6293
+ # Indicates which Storage Lens group ARNs to include or exclude in the
6294
+ # Storage Lens group aggregation. If this value is left null, then all
6295
+ # Storage Lens groups are selected.
6296
+ # @return [Types::StorageLensGroupLevelSelectionCriteria]
6297
+ #
6298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensGroupLevel AWS API Documentation
6299
+ #
6300
+ class StorageLensGroupLevel < Struct.new(
6301
+ :selection_criteria)
6302
+ SENSITIVE = []
6303
+ include Aws::Structure
6304
+ end
6305
+
6306
+ # Indicates which Storage Lens group ARNs to include or exclude in the
6307
+ # Storage Lens group aggregation. You can only attach Storage Lens
6308
+ # groups to your Storage Lens dashboard if they're included in your
6309
+ # Storage Lens group aggregation. If this value is left null, then all
6310
+ # Storage Lens groups are selected.
6311
+ #
6312
+ # @!attribute [rw] include
6313
+ # Indicates which Storage Lens group ARNs to include in the Storage
6314
+ # Lens group aggregation.
6315
+ # @return [Array<String>]
6316
+ #
6317
+ # @!attribute [rw] exclude
6318
+ # Indicates which Storage Lens group ARNs to exclude from the Storage
6319
+ # Lens group aggregation.
6320
+ # @return [Array<String>]
6321
+ #
6322
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensGroupLevelSelectionCriteria AWS API Documentation
6323
+ #
6324
+ class StorageLensGroupLevelSelectionCriteria < Struct.new(
6325
+ :include,
6326
+ :exclude)
6327
+ SENSITIVE = []
6328
+ include Aws::Structure
6329
+ end
6330
+
6331
+ # A container element for specifying `Or` rule conditions. The rule
6332
+ # conditions determine the subset of objects to which the `Or` rule
6333
+ # applies. Objects can match any of the listed filter conditions, which
6334
+ # are joined by the `Or` logical operator. Only one of each filter
6335
+ # condition is allowed.
6336
+ #
6337
+ # @!attribute [rw] match_any_prefix
6338
+ # Filters objects that match any of the specified prefixes.
6339
+ # @return [Array<String>]
6340
+ #
6341
+ # @!attribute [rw] match_any_suffix
6342
+ # Filters objects that match any of the specified suffixes.
6343
+ # @return [Array<String>]
6344
+ #
6345
+ # @!attribute [rw] match_any_tag
6346
+ # Filters objects that match any of the specified S3 object tags.
6347
+ # @return [Array<Types::S3Tag>]
6348
+ #
6349
+ # @!attribute [rw] match_object_age
6350
+ # Filters objects that match the specified object age range.
6351
+ # @return [Types::MatchObjectAge]
6352
+ #
6353
+ # @!attribute [rw] match_object_size
6354
+ # Filters objects that match the specified object size range.
6355
+ # @return [Types::MatchObjectSize]
6356
+ #
6357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensGroupOrOperator AWS API Documentation
6358
+ #
6359
+ class StorageLensGroupOrOperator < Struct.new(
6360
+ :match_any_prefix,
6361
+ :match_any_suffix,
6362
+ :match_any_tag,
6363
+ :match_object_age,
6364
+ :match_object_size)
6365
+ SENSITIVE = []
6366
+ include Aws::Structure
6367
+ end
6368
+
5876
6369
  # @!attribute [rw] key
5877
6370
  # @return [String]
5878
6371
  #
@@ -5917,6 +6410,67 @@ module Aws::S3Control
5917
6410
  #
5918
6411
  class SubmitMultiRegionAccessPointRoutesResult < Aws::EmptyStructure; end
5919
6412
 
6413
+ # An Amazon Web Services resource tag that's associated with your S3
6414
+ # resource. You can add tags to new objects when you upload them, or you
6415
+ # can add object tags to existing objects.
6416
+ #
6417
+ # <note markdown="1"> This data type is only supported for [S3 Storage Lens groups][1].
6418
+ #
6419
+ # </note>
6420
+ #
6421
+ #
6422
+ #
6423
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html
6424
+ #
6425
+ # @!attribute [rw] key
6426
+ # The tag key for your Amazon Web Services resource. A tag key can be
6427
+ # up to 128 Unicode characters in length and is case-sensitive. System
6428
+ # created tags that begin with `aws:` aren’t supported.
6429
+ # @return [String]
6430
+ #
6431
+ # @!attribute [rw] value
6432
+ # The tag value for your Amazon Web Services resource. A tag value can
6433
+ # be up to 256 Unicode characters in length and is case-sensitive.
6434
+ # @return [String]
6435
+ #
6436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/Tag AWS API Documentation
6437
+ #
6438
+ class Tag < Struct.new(
6439
+ :key,
6440
+ :value)
6441
+ SENSITIVE = []
6442
+ include Aws::Structure
6443
+ end
6444
+
6445
+ # @!attribute [rw] account_id
6446
+ # The Amazon Web Services account ID that created the S3 resource that
6447
+ # you're trying to add tags to.
6448
+ # @return [String]
6449
+ #
6450
+ # @!attribute [rw] resource_arn
6451
+ # The Amazon Resource Name (ARN) of the S3 resource that you're
6452
+ # trying to add tags to.
6453
+ # @return [String]
6454
+ #
6455
+ # @!attribute [rw] tags
6456
+ # The Amazon Web Services resource tags that you want to add to the
6457
+ # specified S3 resource.
6458
+ # @return [Array<Types::Tag>]
6459
+ #
6460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/TagResourceRequest AWS API Documentation
6461
+ #
6462
+ class TagResourceRequest < Struct.new(
6463
+ :account_id,
6464
+ :resource_arn,
6465
+ :tags)
6466
+ SENSITIVE = []
6467
+ include Aws::Structure
6468
+ end
6469
+
6470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/TagResourceResult AWS API Documentation
6471
+ #
6472
+ class TagResourceResult < Aws::EmptyStructure; end
6473
+
5920
6474
  # @!attribute [rw] tag_set
5921
6475
  # A collection for a set of tags.
5922
6476
  # @return [Array<Types::S3Tag>]
@@ -5989,6 +6543,35 @@ module Aws::S3Control
5989
6543
  include Aws::Structure
5990
6544
  end
5991
6545
 
6546
+ # @!attribute [rw] account_id
6547
+ # The Amazon Web Services account ID that owns the resource that
6548
+ # you're trying to remove the tags from.
6549
+ # @return [String]
6550
+ #
6551
+ # @!attribute [rw] resource_arn
6552
+ # The Amazon Resource Name (ARN) of the S3 resource that you want to
6553
+ # remove the resource tags from.
6554
+ # @return [String]
6555
+ #
6556
+ # @!attribute [rw] tag_keys
6557
+ # The tag key pair of the S3 resource tag that you're trying to
6558
+ # remove.
6559
+ # @return [Array<String>]
6560
+ #
6561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UntagResourceRequest AWS API Documentation
6562
+ #
6563
+ class UntagResourceRequest < Struct.new(
6564
+ :account_id,
6565
+ :resource_arn,
6566
+ :tag_keys)
6567
+ SENSITIVE = []
6568
+ include Aws::Structure
6569
+ end
6570
+
6571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UntagResourceResult AWS API Documentation
6572
+ #
6573
+ class UntagResourceResult < Aws::EmptyStructure; end
6574
+
5992
6575
  # @!attribute [rw] account_id
5993
6576
  # The Amazon Web Services account ID associated with the S3 Batch
5994
6577
  # Operations job.
@@ -6081,6 +6664,28 @@ module Aws::S3Control
6081
6664
  include Aws::Structure
6082
6665
  end
6083
6666
 
6667
+ # @!attribute [rw] name
6668
+ # The name of the Storage Lens group that you want to update.
6669
+ # @return [String]
6670
+ #
6671
+ # @!attribute [rw] account_id
6672
+ # The Amazon Web Services account ID of the Storage Lens group owner.
6673
+ # @return [String]
6674
+ #
6675
+ # @!attribute [rw] storage_lens_group
6676
+ # The JSON file that contains the Storage Lens group configuration.
6677
+ # @return [Types::StorageLensGroup]
6678
+ #
6679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateStorageLensGroupRequest AWS API Documentation
6680
+ #
6681
+ class UpdateStorageLensGroupRequest < Struct.new(
6682
+ :name,
6683
+ :account_id,
6684
+ :storage_lens_group)
6685
+ SENSITIVE = []
6686
+ include Aws::Structure
6687
+ end
6688
+
6084
6689
  # Describes the versioning state of an Amazon S3 on Outposts bucket. For
6085
6690
  # more information, see [PutBucketVersioning][1].
6086
6691
  #