aws-sdk-s3control 1.70.0 → 1.71.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.
@@ -63,6 +63,7 @@ module Aws::S3Control
63
63
  CreateMultiRegionAccessPointInput = Shapes::StructureShape.new(name: 'CreateMultiRegionAccessPointInput')
64
64
  CreateMultiRegionAccessPointRequest = Shapes::StructureShape.new(name: 'CreateMultiRegionAccessPointRequest')
65
65
  CreateMultiRegionAccessPointResult = Shapes::StructureShape.new(name: 'CreateMultiRegionAccessPointResult')
66
+ CreateStorageLensGroupRequest = Shapes::StructureShape.new(name: 'CreateStorageLensGroupRequest')
66
67
  CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
67
68
  CreationTimestamp = Shapes::TimestampShape.new(name: 'CreationTimestamp')
68
69
  Date = Shapes::TimestampShape.new(name: 'Date')
@@ -88,6 +89,7 @@ module Aws::S3Control
88
89
  DeleteStorageLensConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteStorageLensConfigurationRequest')
89
90
  DeleteStorageLensConfigurationTaggingRequest = Shapes::StructureShape.new(name: 'DeleteStorageLensConfigurationTaggingRequest')
90
91
  DeleteStorageLensConfigurationTaggingResult = Shapes::StructureShape.new(name: 'DeleteStorageLensConfigurationTaggingResult')
92
+ DeleteStorageLensGroupRequest = Shapes::StructureShape.new(name: 'DeleteStorageLensGroupRequest')
91
93
  DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
92
94
  DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
93
95
  DescribeMultiRegionAccessPointOperationRequest = Shapes::StructureShape.new(name: 'DescribeMultiRegionAccessPointOperationRequest')
@@ -149,6 +151,8 @@ module Aws::S3Control
149
151
  GetStorageLensConfigurationResult = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationResult')
150
152
  GetStorageLensConfigurationTaggingRequest = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationTaggingRequest')
151
153
  GetStorageLensConfigurationTaggingResult = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationTaggingResult')
154
+ GetStorageLensGroupRequest = Shapes::StructureShape.new(name: 'GetStorageLensGroupRequest')
155
+ GetStorageLensGroupResult = Shapes::StructureShape.new(name: 'GetStorageLensGroupResult')
152
156
  GrantFullControl = Shapes::StringShape.new(name: 'GrantFullControl')
153
157
  GrantRead = Shapes::StringShape.new(name: 'GrantRead')
154
158
  GrantReadACP = Shapes::StringShape.new(name: 'GrantReadACP')
@@ -218,11 +222,21 @@ module Aws::S3Control
218
222
  ListStorageLensConfigurationEntry = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationEntry')
219
223
  ListStorageLensConfigurationsRequest = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsRequest')
220
224
  ListStorageLensConfigurationsResult = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsResult')
225
+ ListStorageLensGroupEntry = Shapes::StructureShape.new(name: 'ListStorageLensGroupEntry')
226
+ ListStorageLensGroupsRequest = Shapes::StructureShape.new(name: 'ListStorageLensGroupsRequest')
227
+ ListStorageLensGroupsResult = Shapes::StructureShape.new(name: 'ListStorageLensGroupsResult')
228
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
229
+ ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
221
230
  Location = Shapes::StringShape.new(name: 'Location')
222
231
  MFA = Shapes::StringShape.new(name: 'MFA')
223
232
  MFADelete = Shapes::StringShape.new(name: 'MFADelete')
224
233
  MFADeleteStatus = Shapes::StringShape.new(name: 'MFADeleteStatus')
225
234
  ManifestPrefixString = Shapes::StringShape.new(name: 'ManifestPrefixString')
235
+ MatchAnyPrefix = Shapes::ListShape.new(name: 'MatchAnyPrefix')
236
+ MatchAnySuffix = Shapes::ListShape.new(name: 'MatchAnySuffix')
237
+ MatchAnyTag = Shapes::ListShape.new(name: 'MatchAnyTag')
238
+ MatchObjectAge = Shapes::StructureShape.new(name: 'MatchObjectAge')
239
+ MatchObjectSize = Shapes::StructureShape.new(name: 'MatchObjectSize')
226
240
  MaxLength1024String = Shapes::StringShape.new(name: 'MaxLength1024String')
227
241
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
228
242
  Metrics = Shapes::StructureShape.new(name: 'Metrics')
@@ -253,6 +267,7 @@ module Aws::S3Control
253
267
  NoncurrentVersionTransition = Shapes::StructureShape.new(name: 'NoncurrentVersionTransition')
254
268
  NoncurrentVersionTransitionList = Shapes::ListShape.new(name: 'NoncurrentVersionTransitionList')
255
269
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
270
+ ObjectAgeValue = Shapes::IntegerShape.new(name: 'ObjectAgeValue')
256
271
  ObjectCreationTime = Shapes::TimestampShape.new(name: 'ObjectCreationTime')
257
272
  ObjectLambdaAccessPoint = Shapes::StructureShape.new(name: 'ObjectLambdaAccessPoint')
258
273
  ObjectLambdaAccessPointAlias = Shapes::StructureShape.new(name: 'ObjectLambdaAccessPointAlias')
@@ -274,6 +289,7 @@ module Aws::S3Control
274
289
  ObjectLockEnabledForBucket = Shapes::BooleanShape.new(name: 'ObjectLockEnabledForBucket')
275
290
  ObjectSizeGreaterThanBytes = Shapes::IntegerShape.new(name: 'ObjectSizeGreaterThanBytes')
276
291
  ObjectSizeLessThanBytes = Shapes::IntegerShape.new(name: 'ObjectSizeLessThanBytes')
292
+ ObjectSizeValue = Shapes::IntegerShape.new(name: 'ObjectSizeValue')
277
293
  OperationName = Shapes::StringShape.new(name: 'OperationName')
278
294
  OutputSchemaVersion = Shapes::StringShape.new(name: 'OutputSchemaVersion')
279
295
  OwnerOverride = Shapes::StringShape.new(name: 'OwnerOverride')
@@ -363,6 +379,7 @@ module Aws::S3Control
363
379
  S3Permission = Shapes::StringShape.new(name: 'S3Permission')
364
380
  S3RegionalBucketArn = Shapes::StringShape.new(name: 'S3RegionalBucketArn')
365
381
  S3ReplicateObjectOperation = Shapes::StructureShape.new(name: 'S3ReplicateObjectOperation')
382
+ S3ResourceArn = Shapes::StringShape.new(name: 'S3ResourceArn')
366
383
  S3Retention = Shapes::StructureShape.new(name: 'S3Retention')
367
384
  S3SSEAlgorithm = Shapes::StringShape.new(name: 'S3SSEAlgorithm')
368
385
  S3SetObjectAclOperation = Shapes::StructureShape.new(name: 'S3SetObjectAclOperation')
@@ -389,6 +406,17 @@ module Aws::S3Control
389
406
  StorageLensConfigurationList = Shapes::ListShape.new(name: 'StorageLensConfigurationList', flattened: true)
390
407
  StorageLensDataExport = Shapes::StructureShape.new(name: 'StorageLensDataExport')
391
408
  StorageLensDataExportEncryption = Shapes::StructureShape.new(name: 'StorageLensDataExportEncryption')
409
+ StorageLensGroup = Shapes::StructureShape.new(name: 'StorageLensGroup')
410
+ StorageLensGroupAndOperator = Shapes::StructureShape.new(name: 'StorageLensGroupAndOperator')
411
+ StorageLensGroupArn = Shapes::StringShape.new(name: 'StorageLensGroupArn')
412
+ StorageLensGroupFilter = Shapes::StructureShape.new(name: 'StorageLensGroupFilter')
413
+ StorageLensGroupLevel = Shapes::StructureShape.new(name: 'StorageLensGroupLevel')
414
+ StorageLensGroupLevelExclude = Shapes::ListShape.new(name: 'StorageLensGroupLevelExclude')
415
+ StorageLensGroupLevelInclude = Shapes::ListShape.new(name: 'StorageLensGroupLevelInclude')
416
+ StorageLensGroupLevelSelectionCriteria = Shapes::StructureShape.new(name: 'StorageLensGroupLevelSelectionCriteria')
417
+ StorageLensGroupList = Shapes::ListShape.new(name: 'StorageLensGroupList', flattened: true)
418
+ StorageLensGroupName = Shapes::StringShape.new(name: 'StorageLensGroupName')
419
+ StorageLensGroupOrOperator = Shapes::StructureShape.new(name: 'StorageLensGroupOrOperator')
392
420
  StorageLensPrefixLevelDelimiter = Shapes::StringShape.new(name: 'StorageLensPrefixLevelDelimiter')
393
421
  StorageLensPrefixLevelMaxDepth = Shapes::IntegerShape.new(name: 'StorageLensPrefixLevelMaxDepth')
394
422
  StorageLensTag = Shapes::StructureShape.new(name: 'StorageLensTag')
@@ -396,9 +424,15 @@ module Aws::S3Control
396
424
  StringForNextToken = Shapes::StringShape.new(name: 'StringForNextToken')
397
425
  SubmitMultiRegionAccessPointRoutesRequest = Shapes::StructureShape.new(name: 'SubmitMultiRegionAccessPointRoutesRequest')
398
426
  SubmitMultiRegionAccessPointRoutesResult = Shapes::StructureShape.new(name: 'SubmitMultiRegionAccessPointRoutesResult')
427
+ Suffix = Shapes::StringShape.new(name: 'Suffix')
399
428
  SuspendedCause = Shapes::StringShape.new(name: 'SuspendedCause')
400
429
  SuspendedDate = Shapes::TimestampShape.new(name: 'SuspendedDate')
430
+ Tag = Shapes::StructureShape.new(name: 'Tag')
431
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
401
432
  TagKeyString = Shapes::StringShape.new(name: 'TagKeyString')
433
+ TagList = Shapes::ListShape.new(name: 'TagList')
434
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
435
+ TagResourceResult = Shapes::StructureShape.new(name: 'TagResourceResult')
402
436
  TagValueString = Shapes::StringShape.new(name: 'TagValueString')
403
437
  Tagging = Shapes::StructureShape.new(name: 'Tagging')
404
438
  TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
@@ -408,10 +442,13 @@ module Aws::S3Control
408
442
  Transition = Shapes::StructureShape.new(name: 'Transition')
409
443
  TransitionList = Shapes::ListShape.new(name: 'TransitionList')
410
444
  TransitionStorageClass = Shapes::StringShape.new(name: 'TransitionStorageClass')
445
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
446
+ UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
411
447
  UpdateJobPriorityRequest = Shapes::StructureShape.new(name: 'UpdateJobPriorityRequest')
412
448
  UpdateJobPriorityResult = Shapes::StructureShape.new(name: 'UpdateJobPriorityResult')
413
449
  UpdateJobStatusRequest = Shapes::StructureShape.new(name: 'UpdateJobStatusRequest')
414
450
  UpdateJobStatusResult = Shapes::StructureShape.new(name: 'UpdateJobStatusResult')
451
+ UpdateStorageLensGroupRequest = Shapes::StructureShape.new(name: 'UpdateStorageLensGroupRequest')
415
452
  VersioningConfiguration = Shapes::StructureShape.new(name: 'VersioningConfiguration')
416
453
  VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
417
454
  VpcId = Shapes::StringShape.new(name: 'VpcId')
@@ -438,6 +475,7 @@ module Aws::S3Control
438
475
  AccountLevel.add_member(:advanced_cost_optimization_metrics, Shapes::ShapeRef.new(shape: AdvancedCostOptimizationMetrics, location_name: "AdvancedCostOptimizationMetrics"))
439
476
  AccountLevel.add_member(:advanced_data_protection_metrics, Shapes::ShapeRef.new(shape: AdvancedDataProtectionMetrics, location_name: "AdvancedDataProtectionMetrics"))
440
477
  AccountLevel.add_member(:detailed_status_codes_metrics, Shapes::ShapeRef.new(shape: DetailedStatusCodesMetrics, location_name: "DetailedStatusCodesMetrics"))
478
+ AccountLevel.add_member(:storage_lens_group_level, Shapes::ShapeRef.new(shape: StorageLensGroupLevel, location_name: "StorageLensGroupLevel"))
441
479
  AccountLevel.struct_class = Types::AccountLevel
442
480
 
443
481
  ActivityMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
@@ -566,6 +604,11 @@ module Aws::S3Control
566
604
  CreateMultiRegionAccessPointResult.add_member(:request_token_arn, Shapes::ShapeRef.new(shape: AsyncRequestTokenARN, location_name: "RequestTokenARN"))
567
605
  CreateMultiRegionAccessPointResult.struct_class = Types::CreateMultiRegionAccessPointResult
568
606
 
607
+ CreateStorageLensGroupRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
608
+ CreateStorageLensGroupRequest.add_member(:storage_lens_group, Shapes::ShapeRef.new(shape: StorageLensGroup, required: true, location_name: "StorageLensGroup"))
609
+ CreateStorageLensGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
610
+ CreateStorageLensGroupRequest.struct_class = Types::CreateStorageLensGroupRequest
611
+
569
612
  DeleteAccessPointForObjectLambdaRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
570
613
  DeleteAccessPointForObjectLambdaRequest.add_member(:name, Shapes::ShapeRef.new(shape: ObjectLambdaAccessPointName, required: true, location: "uri", location_name: "name"))
571
614
  DeleteAccessPointForObjectLambdaRequest.struct_class = Types::DeleteAccessPointForObjectLambdaRequest
@@ -635,6 +678,10 @@ module Aws::S3Control
635
678
 
636
679
  DeleteStorageLensConfigurationTaggingResult.struct_class = Types::DeleteStorageLensConfigurationTaggingResult
637
680
 
681
+ DeleteStorageLensGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: StorageLensGroupName, required: true, location: "uri", location_name: "name"))
682
+ DeleteStorageLensGroupRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
683
+ DeleteStorageLensGroupRequest.struct_class = Types::DeleteStorageLensGroupRequest
684
+
638
685
  DescribeJobRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
639
686
  DescribeJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
640
687
  DescribeJobRequest.struct_class = Types::DescribeJobRequest
@@ -847,6 +894,15 @@ module Aws::S3Control
847
894
  GetStorageLensConfigurationTaggingResult.add_member(:tags, Shapes::ShapeRef.new(shape: StorageLensTags, location_name: "Tags"))
848
895
  GetStorageLensConfigurationTaggingResult.struct_class = Types::GetStorageLensConfigurationTaggingResult
849
896
 
897
+ GetStorageLensGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: StorageLensGroupName, required: true, location: "uri", location_name: "name"))
898
+ GetStorageLensGroupRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
899
+ GetStorageLensGroupRequest.struct_class = Types::GetStorageLensGroupRequest
900
+
901
+ GetStorageLensGroupResult.add_member(:storage_lens_group, Shapes::ShapeRef.new(shape: StorageLensGroup, location_name: "StorageLensGroup"))
902
+ GetStorageLensGroupResult.struct_class = Types::GetStorageLensGroupResult
903
+ GetStorageLensGroupResult[:payload] = :storage_lens_group
904
+ GetStorageLensGroupResult[:payload_member] = GetStorageLensGroupResult.member(:storage_lens_group)
905
+
850
906
  IdempotencyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
851
907
  IdempotencyException.struct_class = Types::IdempotencyException
852
908
 
@@ -1059,6 +1115,40 @@ module Aws::S3Control
1059
1115
  ListStorageLensConfigurationsResult.add_member(:storage_lens_configuration_list, Shapes::ShapeRef.new(shape: StorageLensConfigurationList, location_name: "StorageLensConfigurationList"))
1060
1116
  ListStorageLensConfigurationsResult.struct_class = Types::ListStorageLensConfigurationsResult
1061
1117
 
1118
+ ListStorageLensGroupEntry.add_member(:name, Shapes::ShapeRef.new(shape: StorageLensGroupName, required: true, location_name: "Name"))
1119
+ ListStorageLensGroupEntry.add_member(:storage_lens_group_arn, Shapes::ShapeRef.new(shape: StorageLensGroupArn, required: true, location_name: "StorageLensGroupArn"))
1120
+ ListStorageLensGroupEntry.add_member(:home_region, Shapes::ShapeRef.new(shape: S3AWSRegion, required: true, location_name: "HomeRegion"))
1121
+ ListStorageLensGroupEntry.struct_class = Types::ListStorageLensGroupEntry
1122
+
1123
+ ListStorageLensGroupsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1124
+ ListStorageLensGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ContinuationToken, location: "querystring", location_name: "nextToken"))
1125
+ ListStorageLensGroupsRequest.struct_class = Types::ListStorageLensGroupsRequest
1126
+
1127
+ ListStorageLensGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: ContinuationToken, location_name: "NextToken"))
1128
+ ListStorageLensGroupsResult.add_member(:storage_lens_group_list, Shapes::ShapeRef.new(shape: StorageLensGroupList, location_name: "StorageLensGroupList"))
1129
+ ListStorageLensGroupsResult.struct_class = Types::ListStorageLensGroupsResult
1130
+
1131
+ ListTagsForResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1132
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
1133
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1134
+
1135
+ ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1136
+ ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
1137
+
1138
+ MatchAnyPrefix.member = Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix")
1139
+
1140
+ MatchAnySuffix.member = Shapes::ShapeRef.new(shape: Suffix, location_name: "Suffix")
1141
+
1142
+ MatchAnyTag.member = Shapes::ShapeRef.new(shape: S3Tag, location_name: "Tag")
1143
+
1144
+ MatchObjectAge.add_member(:days_greater_than, Shapes::ShapeRef.new(shape: ObjectAgeValue, location_name: "DaysGreaterThan"))
1145
+ MatchObjectAge.add_member(:days_less_than, Shapes::ShapeRef.new(shape: ObjectAgeValue, location_name: "DaysLessThan"))
1146
+ MatchObjectAge.struct_class = Types::MatchObjectAge
1147
+
1148
+ MatchObjectSize.add_member(:bytes_greater_than, Shapes::ShapeRef.new(shape: ObjectSizeValue, location_name: "BytesGreaterThan"))
1149
+ MatchObjectSize.add_member(:bytes_less_than, Shapes::ShapeRef.new(shape: ObjectSizeValue, location_name: "BytesLessThan"))
1150
+ MatchObjectSize.struct_class = Types::MatchObjectSize
1151
+
1062
1152
  Metrics.add_member(:status, Shapes::ShapeRef.new(shape: MetricsStatus, required: true, location_name: "Status"))
1063
1153
  Metrics.add_member(:event_threshold, Shapes::ShapeRef.new(shape: ReplicationTimeValue, location_name: "EventThreshold"))
1064
1154
  Metrics.struct_class = Types::Metrics
@@ -1476,6 +1566,47 @@ module Aws::S3Control
1476
1566
  StorageLensDataExportEncryption.add_member(:ssekms, Shapes::ShapeRef.new(shape: SSEKMS, location_name: "SSE-KMS"))
1477
1567
  StorageLensDataExportEncryption.struct_class = Types::StorageLensDataExportEncryption
1478
1568
 
1569
+ StorageLensGroup.add_member(:name, Shapes::ShapeRef.new(shape: StorageLensGroupName, required: true, location_name: "Name"))
1570
+ StorageLensGroup.add_member(:filter, Shapes::ShapeRef.new(shape: StorageLensGroupFilter, required: true, location_name: "Filter"))
1571
+ StorageLensGroup.add_member(:storage_lens_group_arn, Shapes::ShapeRef.new(shape: StorageLensGroupArn, location_name: "StorageLensGroupArn"))
1572
+ StorageLensGroup.struct_class = Types::StorageLensGroup
1573
+
1574
+ StorageLensGroupAndOperator.add_member(:match_any_prefix, Shapes::ShapeRef.new(shape: MatchAnyPrefix, location_name: "MatchAnyPrefix"))
1575
+ StorageLensGroupAndOperator.add_member(:match_any_suffix, Shapes::ShapeRef.new(shape: MatchAnySuffix, location_name: "MatchAnySuffix"))
1576
+ StorageLensGroupAndOperator.add_member(:match_any_tag, Shapes::ShapeRef.new(shape: MatchAnyTag, location_name: "MatchAnyTag"))
1577
+ StorageLensGroupAndOperator.add_member(:match_object_age, Shapes::ShapeRef.new(shape: MatchObjectAge, location_name: "MatchObjectAge"))
1578
+ StorageLensGroupAndOperator.add_member(:match_object_size, Shapes::ShapeRef.new(shape: MatchObjectSize, location_name: "MatchObjectSize"))
1579
+ StorageLensGroupAndOperator.struct_class = Types::StorageLensGroupAndOperator
1580
+
1581
+ StorageLensGroupFilter.add_member(:match_any_prefix, Shapes::ShapeRef.new(shape: MatchAnyPrefix, location_name: "MatchAnyPrefix"))
1582
+ StorageLensGroupFilter.add_member(:match_any_suffix, Shapes::ShapeRef.new(shape: MatchAnySuffix, location_name: "MatchAnySuffix"))
1583
+ StorageLensGroupFilter.add_member(:match_any_tag, Shapes::ShapeRef.new(shape: MatchAnyTag, location_name: "MatchAnyTag"))
1584
+ StorageLensGroupFilter.add_member(:match_object_age, Shapes::ShapeRef.new(shape: MatchObjectAge, location_name: "MatchObjectAge"))
1585
+ StorageLensGroupFilter.add_member(:match_object_size, Shapes::ShapeRef.new(shape: MatchObjectSize, location_name: "MatchObjectSize"))
1586
+ StorageLensGroupFilter.add_member(:and, Shapes::ShapeRef.new(shape: StorageLensGroupAndOperator, location_name: "And"))
1587
+ StorageLensGroupFilter.add_member(:or, Shapes::ShapeRef.new(shape: StorageLensGroupOrOperator, location_name: "Or"))
1588
+ StorageLensGroupFilter.struct_class = Types::StorageLensGroupFilter
1589
+
1590
+ StorageLensGroupLevel.add_member(:selection_criteria, Shapes::ShapeRef.new(shape: StorageLensGroupLevelSelectionCriteria, location_name: "SelectionCriteria"))
1591
+ StorageLensGroupLevel.struct_class = Types::StorageLensGroupLevel
1592
+
1593
+ StorageLensGroupLevelExclude.member = Shapes::ShapeRef.new(shape: StorageLensGroupArn, location_name: "Arn")
1594
+
1595
+ StorageLensGroupLevelInclude.member = Shapes::ShapeRef.new(shape: StorageLensGroupArn, location_name: "Arn")
1596
+
1597
+ StorageLensGroupLevelSelectionCriteria.add_member(:include, Shapes::ShapeRef.new(shape: StorageLensGroupLevelInclude, location_name: "Include"))
1598
+ StorageLensGroupLevelSelectionCriteria.add_member(:exclude, Shapes::ShapeRef.new(shape: StorageLensGroupLevelExclude, location_name: "Exclude"))
1599
+ StorageLensGroupLevelSelectionCriteria.struct_class = Types::StorageLensGroupLevelSelectionCriteria
1600
+
1601
+ StorageLensGroupList.member = Shapes::ShapeRef.new(shape: ListStorageLensGroupEntry, location_name: "StorageLensGroup")
1602
+
1603
+ StorageLensGroupOrOperator.add_member(:match_any_prefix, Shapes::ShapeRef.new(shape: MatchAnyPrefix, location_name: "MatchAnyPrefix"))
1604
+ StorageLensGroupOrOperator.add_member(:match_any_suffix, Shapes::ShapeRef.new(shape: MatchAnySuffix, location_name: "MatchAnySuffix"))
1605
+ StorageLensGroupOrOperator.add_member(:match_any_tag, Shapes::ShapeRef.new(shape: MatchAnyTag, location_name: "MatchAnyTag"))
1606
+ StorageLensGroupOrOperator.add_member(:match_object_age, Shapes::ShapeRef.new(shape: MatchObjectAge, location_name: "MatchObjectAge"))
1607
+ StorageLensGroupOrOperator.add_member(:match_object_size, Shapes::ShapeRef.new(shape: MatchObjectSize, location_name: "MatchObjectSize"))
1608
+ StorageLensGroupOrOperator.struct_class = Types::StorageLensGroupOrOperator
1609
+
1479
1610
  StorageLensTag.add_member(:key, Shapes::ShapeRef.new(shape: TagKeyString, required: true, location_name: "Key"))
1480
1611
  StorageLensTag.add_member(:value, Shapes::ShapeRef.new(shape: TagValueString, required: true, location_name: "Value"))
1481
1612
  StorageLensTag.struct_class = Types::StorageLensTag
@@ -1489,6 +1620,21 @@ module Aws::S3Control
1489
1620
 
1490
1621
  SubmitMultiRegionAccessPointRoutesResult.struct_class = Types::SubmitMultiRegionAccessPointRoutesResult
1491
1622
 
1623
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKeyString, required: true, location_name: "Key"))
1624
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValueString, required: true, location_name: "Value"))
1625
+ Tag.struct_class = Types::Tag
1626
+
1627
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKeyString)
1628
+
1629
+ TagList.member = Shapes::ShapeRef.new(shape: Tag, location_name: "Tag")
1630
+
1631
+ TagResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1632
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
1633
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
1634
+ TagResourceRequest.struct_class = Types::TagResourceRequest
1635
+
1636
+ TagResourceResult.struct_class = Types::TagResourceResult
1637
+
1492
1638
  Tagging.add_member(:tag_set, Shapes::ShapeRef.new(shape: S3TagSet, required: true, location_name: "TagSet"))
1493
1639
  Tagging.struct_class = Types::Tagging
1494
1640
 
@@ -1505,6 +1651,13 @@ module Aws::S3Control
1505
1651
 
1506
1652
  TransitionList.member = Shapes::ShapeRef.new(shape: Transition, location_name: "Transition")
1507
1653
 
1654
+ UntagResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1655
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: S3ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
1656
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1657
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1658
+
1659
+ UntagResourceResult.struct_class = Types::UntagResourceResult
1660
+
1508
1661
  UpdateJobPriorityRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1509
1662
  UpdateJobPriorityRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
1510
1663
  UpdateJobPriorityRequest.add_member(:priority, Shapes::ShapeRef.new(shape: JobPriority, required: true, location: "querystring", location_name: "priority"))
@@ -1525,6 +1678,11 @@ module Aws::S3Control
1525
1678
  UpdateJobStatusResult.add_member(:status_update_reason, Shapes::ShapeRef.new(shape: JobStatusUpdateReason, location_name: "StatusUpdateReason"))
1526
1679
  UpdateJobStatusResult.struct_class = Types::UpdateJobStatusResult
1527
1680
 
1681
+ UpdateStorageLensGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: StorageLensGroupName, required: true, location: "uri", location_name: "name"))
1682
+ UpdateStorageLensGroupRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1683
+ UpdateStorageLensGroupRequest.add_member(:storage_lens_group, Shapes::ShapeRef.new(shape: StorageLensGroup, required: true, location_name: "StorageLensGroup"))
1684
+ UpdateStorageLensGroupRequest.struct_class = Types::UpdateStorageLensGroupRequest
1685
+
1528
1686
  VersioningConfiguration.add_member(:mfa_delete, Shapes::ShapeRef.new(shape: MFADelete, location_name: "MfaDelete"))
1529
1687
  VersioningConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: BucketVersioningStatus, location_name: "Status"))
1530
1688
  VersioningConfiguration.struct_class = Types::VersioningConfiguration
@@ -1625,6 +1783,21 @@ module Aws::S3Control
1625
1783
  o.output = Shapes::ShapeRef.new(shape: CreateMultiRegionAccessPointResult)
1626
1784
  end)
1627
1785
 
1786
+ api.add_operation(:create_storage_lens_group, Seahorse::Model::Operation.new.tap do |o|
1787
+ o.name = "CreateStorageLensGroup"
1788
+ o.http_method = "POST"
1789
+ o.http_request_uri = "/v20180820/storagelensgroup"
1790
+ o.endpoint_pattern = {
1791
+ }
1792
+ o.input = Shapes::ShapeRef.new(shape: CreateStorageLensGroupRequest,
1793
+ location_name: "CreateStorageLensGroupRequest",
1794
+ metadata: {
1795
+ "xmlNamespace" => {"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}
1796
+ }
1797
+ )
1798
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1799
+ end)
1800
+
1628
1801
  api.add_operation(:delete_access_point, Seahorse::Model::Operation.new.tap do |o|
1629
1802
  o.name = "DeleteAccessPoint"
1630
1803
  o.http_method = "DELETE"
@@ -1774,6 +1947,16 @@ module Aws::S3Control
1774
1947
  o.output = Shapes::ShapeRef.new(shape: DeleteStorageLensConfigurationTaggingResult)
1775
1948
  end)
1776
1949
 
1950
+ api.add_operation(:delete_storage_lens_group, Seahorse::Model::Operation.new.tap do |o|
1951
+ o.name = "DeleteStorageLensGroup"
1952
+ o.http_method = "DELETE"
1953
+ o.http_request_uri = "/v20180820/storagelensgroup/{name}"
1954
+ o.endpoint_pattern = {
1955
+ }
1956
+ o.input = Shapes::ShapeRef.new(shape: DeleteStorageLensGroupRequest)
1957
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1958
+ end)
1959
+
1777
1960
  api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
1778
1961
  o.name = "DescribeJob"
1779
1962
  o.http_method = "GET"
@@ -2017,6 +2200,16 @@ module Aws::S3Control
2017
2200
  o.output = Shapes::ShapeRef.new(shape: GetStorageLensConfigurationTaggingResult)
2018
2201
  end)
2019
2202
 
2203
+ api.add_operation(:get_storage_lens_group, Seahorse::Model::Operation.new.tap do |o|
2204
+ o.name = "GetStorageLensGroup"
2205
+ o.http_method = "GET"
2206
+ o.http_request_uri = "/v20180820/storagelensgroup/{name}"
2207
+ o.endpoint_pattern = {
2208
+ }
2209
+ o.input = Shapes::ShapeRef.new(shape: GetStorageLensGroupRequest)
2210
+ o.output = Shapes::ShapeRef.new(shape: GetStorageLensGroupResult)
2211
+ end)
2212
+
2020
2213
  api.add_operation(:list_access_points, Seahorse::Model::Operation.new.tap do |o|
2021
2214
  o.name = "ListAccessPoints"
2022
2215
  o.http_method = "GET"
@@ -2116,6 +2309,31 @@ module Aws::S3Control
2116
2309
  )
2117
2310
  end)
2118
2311
 
2312
+ api.add_operation(:list_storage_lens_groups, Seahorse::Model::Operation.new.tap do |o|
2313
+ o.name = "ListStorageLensGroups"
2314
+ o.http_method = "GET"
2315
+ o.http_request_uri = "/v20180820/storagelensgroup"
2316
+ o.endpoint_pattern = {
2317
+ }
2318
+ o.input = Shapes::ShapeRef.new(shape: ListStorageLensGroupsRequest)
2319
+ o.output = Shapes::ShapeRef.new(shape: ListStorageLensGroupsResult)
2320
+ o[:pager] = Aws::Pager.new(
2321
+ tokens: {
2322
+ "next_token" => "next_token"
2323
+ }
2324
+ )
2325
+ end)
2326
+
2327
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2328
+ o.name = "ListTagsForResource"
2329
+ o.http_method = "GET"
2330
+ o.http_request_uri = "/v20180820/tags/{resourceArn+}"
2331
+ o.endpoint_pattern = {
2332
+ }
2333
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
2334
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
2335
+ end)
2336
+
2119
2337
  api.add_operation(:put_access_point_configuration_for_object_lambda, Seahorse::Model::Operation.new.tap do |o|
2120
2338
  o.name = "PutAccessPointConfigurationForObjectLambda"
2121
2339
  o.http_method = "PUT"
@@ -2312,6 +2530,31 @@ module Aws::S3Control
2312
2530
  o.output = Shapes::ShapeRef.new(shape: SubmitMultiRegionAccessPointRoutesResult)
2313
2531
  end)
2314
2532
 
2533
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2534
+ o.name = "TagResource"
2535
+ o.http_method = "POST"
2536
+ o.http_request_uri = "/v20180820/tags/{resourceArn+}"
2537
+ o.endpoint_pattern = {
2538
+ }
2539
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest,
2540
+ location_name: "TagResourceRequest",
2541
+ metadata: {
2542
+ "xmlNamespace" => {"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}
2543
+ }
2544
+ )
2545
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
2546
+ end)
2547
+
2548
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
2549
+ o.name = "UntagResource"
2550
+ o.http_method = "DELETE"
2551
+ o.http_request_uri = "/v20180820/tags/{resourceArn+}"
2552
+ o.endpoint_pattern = {
2553
+ }
2554
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2555
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
2556
+ end)
2557
+
2315
2558
  api.add_operation(:update_job_priority, Seahorse::Model::Operation.new.tap do |o|
2316
2559
  o.name = "UpdateJobPriority"
2317
2560
  o.http_method = "POST"
@@ -2340,6 +2583,21 @@ module Aws::S3Control
2340
2583
  o.errors << Shapes::ShapeRef.new(shape: JobStatusException)
2341
2584
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2342
2585
  end)
2586
+
2587
+ api.add_operation(:update_storage_lens_group, Seahorse::Model::Operation.new.tap do |o|
2588
+ o.name = "UpdateStorageLensGroup"
2589
+ o.http_method = "PUT"
2590
+ o.http_request_uri = "/v20180820/storagelensgroup/{name}"
2591
+ o.endpoint_pattern = {
2592
+ }
2593
+ o.input = Shapes::ShapeRef.new(shape: UpdateStorageLensGroupRequest,
2594
+ location_name: "UpdateStorageLensGroupRequest",
2595
+ metadata: {
2596
+ "xmlNamespace" => {"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}
2597
+ }
2598
+ )
2599
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2600
+ end)
2343
2601
  end
2344
2602
 
2345
2603
  end
@@ -112,6 +112,26 @@ module Aws::S3Control
112
112
  end
113
113
  end
114
114
 
115
+ class CreateStorageLensGroup
116
+ def self.build(context)
117
+ unless context.config.regional_endpoint
118
+ endpoint = context.config.endpoint.to_s
119
+ end
120
+ Aws::S3Control::EndpointParameters.new(
121
+ region: context.config.region,
122
+ use_fips: context.config.use_fips_endpoint,
123
+ use_dual_stack: context[:use_dualstack_endpoint],
124
+ endpoint: endpoint,
125
+ account_id: context.params[:account_id],
126
+ requires_account_id: true,
127
+ outpost_id: nil,
128
+ bucket: nil,
129
+ access_point_name: nil,
130
+ use_arn_region: context.config.s3_use_arn_region,
131
+ )
132
+ end
133
+ end
134
+
115
135
  class DeleteAccessPoint
116
136
  def self.build(context)
117
137
  unless context.config.regional_endpoint
@@ -392,6 +412,26 @@ module Aws::S3Control
392
412
  end
393
413
  end
394
414
 
415
+ class DeleteStorageLensGroup
416
+ def self.build(context)
417
+ unless context.config.regional_endpoint
418
+ endpoint = context.config.endpoint.to_s
419
+ end
420
+ Aws::S3Control::EndpointParameters.new(
421
+ region: context.config.region,
422
+ use_fips: context.config.use_fips_endpoint,
423
+ use_dual_stack: context[:use_dualstack_endpoint],
424
+ endpoint: endpoint,
425
+ account_id: context.params[:account_id],
426
+ requires_account_id: true,
427
+ outpost_id: nil,
428
+ bucket: nil,
429
+ access_point_name: nil,
430
+ use_arn_region: context.config.s3_use_arn_region,
431
+ )
432
+ end
433
+ end
434
+
395
435
  class DescribeJob
396
436
  def self.build(context)
397
437
  unless context.config.regional_endpoint
@@ -852,6 +892,26 @@ module Aws::S3Control
852
892
  end
853
893
  end
854
894
 
895
+ class GetStorageLensGroup
896
+ def self.build(context)
897
+ unless context.config.regional_endpoint
898
+ endpoint = context.config.endpoint.to_s
899
+ end
900
+ Aws::S3Control::EndpointParameters.new(
901
+ region: context.config.region,
902
+ use_fips: context.config.use_fips_endpoint,
903
+ use_dual_stack: context[:use_dualstack_endpoint],
904
+ endpoint: endpoint,
905
+ account_id: context.params[:account_id],
906
+ requires_account_id: true,
907
+ outpost_id: nil,
908
+ bucket: nil,
909
+ access_point_name: nil,
910
+ use_arn_region: context.config.s3_use_arn_region,
911
+ )
912
+ end
913
+ end
914
+
855
915
  class ListAccessPoints
856
916
  def self.build(context)
857
917
  unless context.config.regional_endpoint
@@ -972,6 +1032,46 @@ module Aws::S3Control
972
1032
  end
973
1033
  end
974
1034
 
1035
+ class ListStorageLensGroups
1036
+ def self.build(context)
1037
+ unless context.config.regional_endpoint
1038
+ endpoint = context.config.endpoint.to_s
1039
+ end
1040
+ Aws::S3Control::EndpointParameters.new(
1041
+ region: context.config.region,
1042
+ use_fips: context.config.use_fips_endpoint,
1043
+ use_dual_stack: context[:use_dualstack_endpoint],
1044
+ endpoint: endpoint,
1045
+ account_id: context.params[:account_id],
1046
+ requires_account_id: true,
1047
+ outpost_id: nil,
1048
+ bucket: nil,
1049
+ access_point_name: nil,
1050
+ use_arn_region: context.config.s3_use_arn_region,
1051
+ )
1052
+ end
1053
+ end
1054
+
1055
+ class ListTagsForResource
1056
+ def self.build(context)
1057
+ unless context.config.regional_endpoint
1058
+ endpoint = context.config.endpoint.to_s
1059
+ end
1060
+ Aws::S3Control::EndpointParameters.new(
1061
+ region: context.config.region,
1062
+ use_fips: context.config.use_fips_endpoint,
1063
+ use_dual_stack: context[:use_dualstack_endpoint],
1064
+ endpoint: endpoint,
1065
+ account_id: context.params[:account_id],
1066
+ requires_account_id: true,
1067
+ outpost_id: nil,
1068
+ bucket: nil,
1069
+ access_point_name: nil,
1070
+ use_arn_region: context.config.s3_use_arn_region,
1071
+ )
1072
+ end
1073
+ end
1074
+
975
1075
  class PutAccessPointConfigurationForObjectLambda
976
1076
  def self.build(context)
977
1077
  unless context.config.regional_endpoint
@@ -1252,6 +1352,46 @@ module Aws::S3Control
1252
1352
  end
1253
1353
  end
1254
1354
 
1355
+ class TagResource
1356
+ def self.build(context)
1357
+ unless context.config.regional_endpoint
1358
+ endpoint = context.config.endpoint.to_s
1359
+ end
1360
+ Aws::S3Control::EndpointParameters.new(
1361
+ region: context.config.region,
1362
+ use_fips: context.config.use_fips_endpoint,
1363
+ use_dual_stack: context[:use_dualstack_endpoint],
1364
+ endpoint: endpoint,
1365
+ account_id: context.params[:account_id],
1366
+ requires_account_id: true,
1367
+ outpost_id: nil,
1368
+ bucket: nil,
1369
+ access_point_name: nil,
1370
+ use_arn_region: context.config.s3_use_arn_region,
1371
+ )
1372
+ end
1373
+ end
1374
+
1375
+ class UntagResource
1376
+ def self.build(context)
1377
+ unless context.config.regional_endpoint
1378
+ endpoint = context.config.endpoint.to_s
1379
+ end
1380
+ Aws::S3Control::EndpointParameters.new(
1381
+ region: context.config.region,
1382
+ use_fips: context.config.use_fips_endpoint,
1383
+ use_dual_stack: context[:use_dualstack_endpoint],
1384
+ endpoint: endpoint,
1385
+ account_id: context.params[:account_id],
1386
+ requires_account_id: true,
1387
+ outpost_id: nil,
1388
+ bucket: nil,
1389
+ access_point_name: nil,
1390
+ use_arn_region: context.config.s3_use_arn_region,
1391
+ )
1392
+ end
1393
+ end
1394
+
1255
1395
  class UpdateJobPriority
1256
1396
  def self.build(context)
1257
1397
  unless context.config.regional_endpoint
@@ -1292,5 +1432,25 @@ module Aws::S3Control
1292
1432
  end
1293
1433
  end
1294
1434
 
1435
+ class UpdateStorageLensGroup
1436
+ def self.build(context)
1437
+ unless context.config.regional_endpoint
1438
+ endpoint = context.config.endpoint.to_s
1439
+ end
1440
+ Aws::S3Control::EndpointParameters.new(
1441
+ region: context.config.region,
1442
+ use_fips: context.config.use_fips_endpoint,
1443
+ use_dual_stack: context[:use_dualstack_endpoint],
1444
+ endpoint: endpoint,
1445
+ account_id: context.params[:account_id],
1446
+ requires_account_id: true,
1447
+ outpost_id: nil,
1448
+ bucket: nil,
1449
+ access_point_name: nil,
1450
+ use_arn_region: context.config.s3_use_arn_region,
1451
+ )
1452
+ end
1453
+ end
1454
+
1295
1455
  end
1296
1456
  end