aws-sdk-s3control 1.24.0 → 1.25.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.
@@ -18,15 +18,22 @@ module Aws::S3Control
18
18
  AccessPointList = Shapes::ListShape.new(name: 'AccessPointList')
19
19
  AccessPointName = Shapes::StringShape.new(name: 'AccessPointName')
20
20
  AccountId = Shapes::StringShape.new(name: 'AccountId')
21
+ AccountLevel = Shapes::StructureShape.new(name: 'AccountLevel')
22
+ ActivityMetrics = Shapes::StructureShape.new(name: 'ActivityMetrics')
23
+ AwsOrgArn = Shapes::StringShape.new(name: 'AwsOrgArn')
21
24
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
22
25
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
23
26
  BucketAlreadyExists = Shapes::StructureShape.new(name: 'BucketAlreadyExists')
24
27
  BucketAlreadyOwnedByYou = Shapes::StructureShape.new(name: 'BucketAlreadyOwnedByYou')
25
28
  BucketCannedACL = Shapes::StringShape.new(name: 'BucketCannedACL')
29
+ BucketLevel = Shapes::StructureShape.new(name: 'BucketLevel')
26
30
  BucketLocationConstraint = Shapes::StringShape.new(name: 'BucketLocationConstraint')
27
31
  BucketName = Shapes::StringShape.new(name: 'BucketName')
32
+ Buckets = Shapes::ListShape.new(name: 'Buckets')
33
+ ConfigId = Shapes::StringShape.new(name: 'ConfigId')
28
34
  ConfirmRemoveSelfBucketAccess = Shapes::BooleanShape.new(name: 'ConfirmRemoveSelfBucketAccess')
29
35
  ConfirmationRequired = Shapes::BooleanShape.new(name: 'ConfirmationRequired')
36
+ ContinuationToken = Shapes::StringShape.new(name: 'ContinuationToken')
30
37
  CreateAccessPointRequest = Shapes::StructureShape.new(name: 'CreateAccessPointRequest')
31
38
  CreateAccessPointResult = Shapes::StructureShape.new(name: 'CreateAccessPointResult')
32
39
  CreateBucketConfiguration = Shapes::StructureShape.new(name: 'CreateBucketConfiguration')
@@ -47,11 +54,16 @@ module Aws::S3Control
47
54
  DeleteJobTaggingRequest = Shapes::StructureShape.new(name: 'DeleteJobTaggingRequest')
48
55
  DeleteJobTaggingResult = Shapes::StructureShape.new(name: 'DeleteJobTaggingResult')
49
56
  DeletePublicAccessBlockRequest = Shapes::StructureShape.new(name: 'DeletePublicAccessBlockRequest')
57
+ DeleteStorageLensConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteStorageLensConfigurationRequest')
58
+ DeleteStorageLensConfigurationTaggingRequest = Shapes::StructureShape.new(name: 'DeleteStorageLensConfigurationTaggingRequest')
59
+ DeleteStorageLensConfigurationTaggingResult = Shapes::StructureShape.new(name: 'DeleteStorageLensConfigurationTaggingResult')
50
60
  DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
51
61
  DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
52
62
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
63
+ Exclude = Shapes::StructureShape.new(name: 'Exclude')
53
64
  ExpirationStatus = Shapes::StringShape.new(name: 'ExpirationStatus')
54
65
  ExpiredObjectDeleteMarker = Shapes::BooleanShape.new(name: 'ExpiredObjectDeleteMarker')
66
+ Format = Shapes::StringShape.new(name: 'Format')
55
67
  FunctionArnString = Shapes::StringShape.new(name: 'FunctionArnString')
56
68
  GetAccessPointPolicyRequest = Shapes::StructureShape.new(name: 'GetAccessPointPolicyRequest')
57
69
  GetAccessPointPolicyResult = Shapes::StructureShape.new(name: 'GetAccessPointPolicyResult')
@@ -71,6 +83,10 @@ module Aws::S3Control
71
83
  GetJobTaggingResult = Shapes::StructureShape.new(name: 'GetJobTaggingResult')
72
84
  GetPublicAccessBlockOutput = Shapes::StructureShape.new(name: 'GetPublicAccessBlockOutput')
73
85
  GetPublicAccessBlockRequest = Shapes::StructureShape.new(name: 'GetPublicAccessBlockRequest')
86
+ GetStorageLensConfigurationRequest = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationRequest')
87
+ GetStorageLensConfigurationResult = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationResult')
88
+ GetStorageLensConfigurationTaggingRequest = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationTaggingRequest')
89
+ GetStorageLensConfigurationTaggingResult = Shapes::StructureShape.new(name: 'GetStorageLensConfigurationTaggingResult')
74
90
  GrantFullControl = Shapes::StringShape.new(name: 'GrantFullControl')
75
91
  GrantRead = Shapes::StringShape.new(name: 'GrantRead')
76
92
  GrantReadACP = Shapes::StringShape.new(name: 'GrantReadACP')
@@ -79,9 +95,11 @@ module Aws::S3Control
79
95
  IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
80
96
  ID = Shapes::StringShape.new(name: 'ID')
81
97
  IdempotencyException = Shapes::StructureShape.new(name: 'IdempotencyException')
98
+ Include = Shapes::StructureShape.new(name: 'Include')
82
99
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
83
100
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
84
101
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
102
+ IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
85
103
  IsPublic = Shapes::BooleanShape.new(name: 'IsPublic')
86
104
  JobArn = Shapes::StringShape.new(name: 'JobArn')
87
105
  JobCreationTime = Shapes::TimestampShape.new(name: 'JobCreationTime')
@@ -127,9 +145,13 @@ module Aws::S3Control
127
145
  ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
128
146
  ListRegionalBucketsRequest = Shapes::StructureShape.new(name: 'ListRegionalBucketsRequest')
129
147
  ListRegionalBucketsResult = Shapes::StructureShape.new(name: 'ListRegionalBucketsResult')
148
+ ListStorageLensConfigurationEntry = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationEntry')
149
+ ListStorageLensConfigurationsRequest = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsRequest')
150
+ ListStorageLensConfigurationsResult = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsResult')
130
151
  Location = Shapes::StringShape.new(name: 'Location')
131
152
  MaxLength1024String = Shapes::StringShape.new(name: 'MaxLength1024String')
132
153
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
154
+ MinStorageBytesPercentage = Shapes::FloatShape.new(name: 'MinStorageBytesPercentage')
133
155
  NetworkOrigin = Shapes::StringShape.new(name: 'NetworkOrigin')
134
156
  NoSuchPublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'NoSuchPublicAccessBlockConfiguration')
135
157
  NoSuchPublicAccessBlockConfigurationMessage = Shapes::StringShape.new(name: 'NoSuchPublicAccessBlockConfigurationMessage')
@@ -143,9 +165,12 @@ module Aws::S3Control
143
165
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
144
166
  ObjectLockEnabledForBucket = Shapes::BooleanShape.new(name: 'ObjectLockEnabledForBucket')
145
167
  OperationName = Shapes::StringShape.new(name: 'OperationName')
168
+ OutputSchemaVersion = Shapes::StringShape.new(name: 'OutputSchemaVersion')
146
169
  Policy = Shapes::StringShape.new(name: 'Policy')
147
170
  PolicyStatus = Shapes::StructureShape.new(name: 'PolicyStatus')
148
171
  Prefix = Shapes::StringShape.new(name: 'Prefix')
172
+ PrefixLevel = Shapes::StructureShape.new(name: 'PrefixLevel')
173
+ PrefixLevelStorageMetrics = Shapes::StructureShape.new(name: 'PrefixLevelStorageMetrics')
149
174
  PublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'PublicAccessBlockConfiguration')
150
175
  PublicAccessBlockEnabled = Shapes::BooleanShape.new(name: 'PublicAccessBlockEnabled')
151
176
  PutAccessPointPolicyRequest = Shapes::StructureShape.new(name: 'PutAccessPointPolicyRequest')
@@ -155,14 +180,20 @@ module Aws::S3Control
155
180
  PutJobTaggingRequest = Shapes::StructureShape.new(name: 'PutJobTaggingRequest')
156
181
  PutJobTaggingResult = Shapes::StructureShape.new(name: 'PutJobTaggingResult')
157
182
  PutPublicAccessBlockRequest = Shapes::StructureShape.new(name: 'PutPublicAccessBlockRequest')
183
+ PutStorageLensConfigurationRequest = Shapes::StructureShape.new(name: 'PutStorageLensConfigurationRequest')
184
+ PutStorageLensConfigurationTaggingRequest = Shapes::StructureShape.new(name: 'PutStorageLensConfigurationTaggingRequest')
185
+ PutStorageLensConfigurationTaggingResult = Shapes::StructureShape.new(name: 'PutStorageLensConfigurationTaggingResult')
158
186
  RegionalBucket = Shapes::StructureShape.new(name: 'RegionalBucket')
159
187
  RegionalBucketList = Shapes::ListShape.new(name: 'RegionalBucketList')
188
+ Regions = Shapes::ListShape.new(name: 'Regions')
160
189
  ReportPrefixString = Shapes::StringShape.new(name: 'ReportPrefixString')
161
190
  RequestedJobStatus = Shapes::StringShape.new(name: 'RequestedJobStatus')
191
+ S3AWSRegion = Shapes::StringShape.new(name: 'S3AWSRegion')
162
192
  S3AccessControlList = Shapes::StructureShape.new(name: 'S3AccessControlList')
163
193
  S3AccessControlPolicy = Shapes::StructureShape.new(name: 'S3AccessControlPolicy')
164
194
  S3AccessPointArn = Shapes::StringShape.new(name: 'S3AccessPointArn')
165
195
  S3BucketArnString = Shapes::StringShape.new(name: 'S3BucketArnString')
196
+ S3BucketDestination = Shapes::StructureShape.new(name: 'S3BucketDestination')
166
197
  S3CannedAccessControlList = Shapes::StringShape.new(name: 'S3CannedAccessControlList')
167
198
  S3ContentLength = Shapes::IntegerShape.new(name: 'S3ContentLength')
168
199
  S3CopyObjectOperation = Shapes::StructureShape.new(name: 'S3CopyObjectOperation')
@@ -194,7 +225,21 @@ module Aws::S3Control
194
225
  S3Tag = Shapes::StructureShape.new(name: 'S3Tag')
195
226
  S3TagSet = Shapes::ListShape.new(name: 'S3TagSet')
196
227
  S3UserMetadata = Shapes::MapShape.new(name: 'S3UserMetadata')
228
+ SSEKMS = Shapes::StructureShape.new(name: 'SSEKMS')
229
+ SSEKMSKeyId = Shapes::StringShape.new(name: 'SSEKMSKeyId')
230
+ SSES3 = Shapes::StructureShape.new(name: 'SSES3')
231
+ SelectionCriteria = Shapes::StructureShape.new(name: 'SelectionCriteria')
197
232
  Setting = Shapes::BooleanShape.new(name: 'Setting')
233
+ StorageLensArn = Shapes::StringShape.new(name: 'StorageLensArn')
234
+ StorageLensAwsOrg = Shapes::StructureShape.new(name: 'StorageLensAwsOrg')
235
+ StorageLensConfiguration = Shapes::StructureShape.new(name: 'StorageLensConfiguration')
236
+ StorageLensConfigurationList = Shapes::ListShape.new(name: 'StorageLensConfigurationList', flattened: true)
237
+ StorageLensDataExport = Shapes::StructureShape.new(name: 'StorageLensDataExport')
238
+ StorageLensDataExportEncryption = Shapes::StructureShape.new(name: 'StorageLensDataExportEncryption')
239
+ StorageLensPrefixLevelDelimiter = Shapes::StringShape.new(name: 'StorageLensPrefixLevelDelimiter')
240
+ StorageLensPrefixLevelMaxDepth = Shapes::IntegerShape.new(name: 'StorageLensPrefixLevelMaxDepth')
241
+ StorageLensTag = Shapes::StructureShape.new(name: 'StorageLensTag')
242
+ StorageLensTags = Shapes::ListShape.new(name: 'StorageLensTags')
198
243
  StringForNextToken = Shapes::StringShape.new(name: 'StringForNextToken')
199
244
  SuspendedCause = Shapes::StringShape.new(name: 'SuspendedCause')
200
245
  SuspendedDate = Shapes::TimestampShape.new(name: 'SuspendedDate')
@@ -226,6 +271,13 @@ module Aws::S3Control
226
271
 
227
272
  AccessPointList.member = Shapes::ShapeRef.new(shape: AccessPoint, location_name: "AccessPoint")
228
273
 
274
+ AccountLevel.add_member(:activity_metrics, Shapes::ShapeRef.new(shape: ActivityMetrics, location_name: "ActivityMetrics"))
275
+ AccountLevel.add_member(:bucket_level, Shapes::ShapeRef.new(shape: BucketLevel, required: true, location_name: "BucketLevel"))
276
+ AccountLevel.struct_class = Types::AccountLevel
277
+
278
+ ActivityMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
279
+ ActivityMetrics.struct_class = Types::ActivityMetrics
280
+
229
281
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
230
282
  BadRequestException.struct_class = Types::BadRequestException
231
283
 
@@ -233,6 +285,12 @@ module Aws::S3Control
233
285
 
234
286
  BucketAlreadyOwnedByYou.struct_class = Types::BucketAlreadyOwnedByYou
235
287
 
288
+ BucketLevel.add_member(:activity_metrics, Shapes::ShapeRef.new(shape: ActivityMetrics, location_name: "ActivityMetrics"))
289
+ BucketLevel.add_member(:prefix_level, Shapes::ShapeRef.new(shape: PrefixLevel, location_name: "PrefixLevel"))
290
+ BucketLevel.struct_class = Types::BucketLevel
291
+
292
+ Buckets.member = Shapes::ShapeRef.new(shape: S3BucketArnString, location_name: "Arn")
293
+
236
294
  CreateAccessPointRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
237
295
  CreateAccessPointRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
238
296
  CreateAccessPointRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
@@ -312,6 +370,16 @@ module Aws::S3Control
312
370
  DeletePublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
313
371
  DeletePublicAccessBlockRequest.struct_class = Types::DeletePublicAccessBlockRequest
314
372
 
373
+ DeleteStorageLensConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: ConfigId, required: true, location: "uri", location_name: "storagelensid"))
374
+ DeleteStorageLensConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
375
+ DeleteStorageLensConfigurationRequest.struct_class = Types::DeleteStorageLensConfigurationRequest
376
+
377
+ DeleteStorageLensConfigurationTaggingRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: ConfigId, required: true, location: "uri", location_name: "storagelensid"))
378
+ DeleteStorageLensConfigurationTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
379
+ DeleteStorageLensConfigurationTaggingRequest.struct_class = Types::DeleteStorageLensConfigurationTaggingRequest
380
+
381
+ DeleteStorageLensConfigurationTaggingResult.struct_class = Types::DeleteStorageLensConfigurationTaggingResult
382
+
315
383
  DescribeJobRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
316
384
  DescribeJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "id"))
317
385
  DescribeJobRequest.struct_class = Types::DescribeJobRequest
@@ -319,6 +387,10 @@ module Aws::S3Control
319
387
  DescribeJobResult.add_member(:job, Shapes::ShapeRef.new(shape: JobDescriptor, location_name: "Job"))
320
388
  DescribeJobResult.struct_class = Types::DescribeJobResult
321
389
 
390
+ Exclude.add_member(:buckets, Shapes::ShapeRef.new(shape: Buckets, location_name: "Buckets"))
391
+ Exclude.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, location_name: "Regions"))
392
+ Exclude.struct_class = Types::Exclude
393
+
322
394
  GetAccessPointPolicyRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
323
395
  GetAccessPointPolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: AccessPointName, required: true, location: "uri", location_name: "name"))
324
396
  GetAccessPointPolicyRequest.struct_class = Types::GetAccessPointPolicyRequest
@@ -390,9 +462,29 @@ module Aws::S3Control
390
462
  GetPublicAccessBlockRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
391
463
  GetPublicAccessBlockRequest.struct_class = Types::GetPublicAccessBlockRequest
392
464
 
465
+ GetStorageLensConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: ConfigId, required: true, location: "uri", location_name: "storagelensid"))
466
+ GetStorageLensConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
467
+ GetStorageLensConfigurationRequest.struct_class = Types::GetStorageLensConfigurationRequest
468
+
469
+ GetStorageLensConfigurationResult.add_member(:storage_lens_configuration, Shapes::ShapeRef.new(shape: StorageLensConfiguration, location_name: "StorageLensConfiguration"))
470
+ GetStorageLensConfigurationResult.struct_class = Types::GetStorageLensConfigurationResult
471
+ GetStorageLensConfigurationResult[:payload] = :storage_lens_configuration
472
+ GetStorageLensConfigurationResult[:payload_member] = GetStorageLensConfigurationResult.member(:storage_lens_configuration)
473
+
474
+ GetStorageLensConfigurationTaggingRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: ConfigId, required: true, location: "uri", location_name: "storagelensid"))
475
+ GetStorageLensConfigurationTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
476
+ GetStorageLensConfigurationTaggingRequest.struct_class = Types::GetStorageLensConfigurationTaggingRequest
477
+
478
+ GetStorageLensConfigurationTaggingResult.add_member(:tags, Shapes::ShapeRef.new(shape: StorageLensTags, location_name: "Tags"))
479
+ GetStorageLensConfigurationTaggingResult.struct_class = Types::GetStorageLensConfigurationTaggingResult
480
+
393
481
  IdempotencyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
394
482
  IdempotencyException.struct_class = Types::IdempotencyException
395
483
 
484
+ Include.add_member(:buckets, Shapes::ShapeRef.new(shape: Buckets, location_name: "Buckets"))
485
+ Include.add_member(:regions, Shapes::ShapeRef.new(shape: Regions, location_name: "Regions"))
486
+ Include.struct_class = Types::Include
487
+
396
488
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
397
489
  InternalServiceException.struct_class = Types::InternalServiceException
398
490
 
@@ -542,6 +634,20 @@ module Aws::S3Control
542
634
  ListRegionalBucketsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location_name: "NextToken"))
543
635
  ListRegionalBucketsResult.struct_class = Types::ListRegionalBucketsResult
544
636
 
637
+ ListStorageLensConfigurationEntry.add_member(:id, Shapes::ShapeRef.new(shape: ConfigId, required: true, location_name: "Id"))
638
+ ListStorageLensConfigurationEntry.add_member(:storage_lens_arn, Shapes::ShapeRef.new(shape: StorageLensArn, required: true, location_name: "StorageLensArn"))
639
+ ListStorageLensConfigurationEntry.add_member(:home_region, Shapes::ShapeRef.new(shape: S3AWSRegion, required: true, location_name: "HomeRegion"))
640
+ ListStorageLensConfigurationEntry.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
641
+ ListStorageLensConfigurationEntry.struct_class = Types::ListStorageLensConfigurationEntry
642
+
643
+ ListStorageLensConfigurationsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
644
+ ListStorageLensConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: ContinuationToken, location: "querystring", location_name: "nextToken"))
645
+ ListStorageLensConfigurationsRequest.struct_class = Types::ListStorageLensConfigurationsRequest
646
+
647
+ ListStorageLensConfigurationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: ContinuationToken, location_name: "NextToken"))
648
+ ListStorageLensConfigurationsResult.add_member(:storage_lens_configuration_list, Shapes::ShapeRef.new(shape: StorageLensConfigurationList, location_name: "StorageLensConfigurationList"))
649
+ ListStorageLensConfigurationsResult.struct_class = Types::ListStorageLensConfigurationsResult
650
+
545
651
  NoSuchPublicAccessBlockConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: NoSuchPublicAccessBlockConfigurationMessage, location_name: "Message"))
546
652
  NoSuchPublicAccessBlockConfiguration.struct_class = Types::NoSuchPublicAccessBlockConfiguration
547
653
 
@@ -560,6 +666,13 @@ module Aws::S3Control
560
666
  PolicyStatus.add_member(:is_public, Shapes::ShapeRef.new(shape: IsPublic, location_name: "IsPublic"))
561
667
  PolicyStatus.struct_class = Types::PolicyStatus
562
668
 
669
+ PrefixLevel.add_member(:storage_metrics, Shapes::ShapeRef.new(shape: PrefixLevelStorageMetrics, required: true, location_name: "StorageMetrics"))
670
+ PrefixLevel.struct_class = Types::PrefixLevel
671
+
672
+ PrefixLevelStorageMetrics.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, location_name: "IsEnabled"))
673
+ PrefixLevelStorageMetrics.add_member(:selection_criteria, Shapes::ShapeRef.new(shape: SelectionCriteria, location_name: "SelectionCriteria"))
674
+ PrefixLevelStorageMetrics.struct_class = Types::PrefixLevelStorageMetrics
675
+
563
676
  PublicAccessBlockConfiguration.add_member(:block_public_acls, Shapes::ShapeRef.new(shape: Setting, location_name: "BlockPublicAcls"))
564
677
  PublicAccessBlockConfiguration.add_member(:ignore_public_acls, Shapes::ShapeRef.new(shape: Setting, location_name: "IgnorePublicAcls"))
565
678
  PublicAccessBlockConfiguration.add_member(:block_public_policy, Shapes::ShapeRef.new(shape: Setting, location_name: "BlockPublicPolicy"))
@@ -604,6 +717,19 @@ module Aws::S3Control
604
717
  PutPublicAccessBlockRequest[:payload] = :public_access_block_configuration
605
718
  PutPublicAccessBlockRequest[:payload_member] = PutPublicAccessBlockRequest.member(:public_access_block_configuration)
606
719
 
720
+ PutStorageLensConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: ConfigId, required: true, location: "uri", location_name: "storagelensid"))
721
+ PutStorageLensConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
722
+ PutStorageLensConfigurationRequest.add_member(:storage_lens_configuration, Shapes::ShapeRef.new(shape: StorageLensConfiguration, required: true, location_name: "StorageLensConfiguration"))
723
+ PutStorageLensConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: StorageLensTags, location_name: "Tags"))
724
+ PutStorageLensConfigurationRequest.struct_class = Types::PutStorageLensConfigurationRequest
725
+
726
+ PutStorageLensConfigurationTaggingRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: ConfigId, required: true, location: "uri", location_name: "storagelensid"))
727
+ PutStorageLensConfigurationTaggingRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location: "header", location_name: "x-amz-account-id", metadata: {"hostLabel"=>true, "hostLabelName"=>"AccountId"}))
728
+ PutStorageLensConfigurationTaggingRequest.add_member(:tags, Shapes::ShapeRef.new(shape: StorageLensTags, required: true, location_name: "Tags"))
729
+ PutStorageLensConfigurationTaggingRequest.struct_class = Types::PutStorageLensConfigurationTaggingRequest
730
+
731
+ PutStorageLensConfigurationTaggingResult.struct_class = Types::PutStorageLensConfigurationTaggingResult
732
+
607
733
  RegionalBucket.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
608
734
  RegionalBucket.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalBucketArn, location_name: "BucketArn"))
609
735
  RegionalBucket.add_member(:public_access_block_enabled, Shapes::ShapeRef.new(shape: PublicAccessBlockEnabled, required: true, location_name: "PublicAccessBlockEnabled"))
@@ -613,6 +739,8 @@ module Aws::S3Control
613
739
 
614
740
  RegionalBucketList.member = Shapes::ShapeRef.new(shape: RegionalBucket, location_name: "RegionalBucket")
615
741
 
742
+ Regions.member = Shapes::ShapeRef.new(shape: S3AWSRegion, location_name: "Region")
743
+
616
744
  S3AccessControlList.add_member(:owner, Shapes::ShapeRef.new(shape: S3ObjectOwner, required: true, location_name: "Owner"))
617
745
  S3AccessControlList.add_member(:grants, Shapes::ShapeRef.new(shape: S3GrantList, location_name: "Grants"))
618
746
  S3AccessControlList.struct_class = Types::S3AccessControlList
@@ -621,6 +749,14 @@ module Aws::S3Control
621
749
  S3AccessControlPolicy.add_member(:canned_access_control_list, Shapes::ShapeRef.new(shape: S3CannedAccessControlList, location_name: "CannedAccessControlList", metadata: {"box"=>true}))
622
750
  S3AccessControlPolicy.struct_class = Types::S3AccessControlPolicy
623
751
 
752
+ S3BucketDestination.add_member(:format, Shapes::ShapeRef.new(shape: Format, required: true, location_name: "Format"))
753
+ S3BucketDestination.add_member(:output_schema_version, Shapes::ShapeRef.new(shape: OutputSchemaVersion, required: true, location_name: "OutputSchemaVersion"))
754
+ S3BucketDestination.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
755
+ S3BucketDestination.add_member(:arn, Shapes::ShapeRef.new(shape: S3BucketArnString, required: true, location_name: "Arn"))
756
+ S3BucketDestination.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
757
+ S3BucketDestination.add_member(:encryption, Shapes::ShapeRef.new(shape: StorageLensDataExportEncryption, location_name: "Encryption"))
758
+ S3BucketDestination.struct_class = Types::S3BucketDestination
759
+
624
760
  S3CopyObjectOperation.add_member(:target_resource, Shapes::ShapeRef.new(shape: S3BucketArnString, location_name: "TargetResource"))
625
761
  S3CopyObjectOperation.add_member(:canned_access_control_list, Shapes::ShapeRef.new(shape: S3CannedAccessControlList, location_name: "CannedAccessControlList", metadata: {"box"=>true}))
626
762
  S3CopyObjectOperation.add_member(:access_control_grants, Shapes::ShapeRef.new(shape: S3GrantList, location_name: "AccessControlGrants", metadata: {"box"=>true}))
@@ -700,6 +836,44 @@ module Aws::S3Control
700
836
  S3UserMetadata.key = Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String)
701
837
  S3UserMetadata.value = Shapes::ShapeRef.new(shape: MaxLength1024String)
702
838
 
839
+ SSEKMS.add_member(:key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, required: true, location_name: "KeyId"))
840
+ SSEKMS.struct_class = Types::SSEKMS
841
+
842
+ SSES3.struct_class = Types::SSES3
843
+
844
+ SelectionCriteria.add_member(:delimiter, Shapes::ShapeRef.new(shape: StorageLensPrefixLevelDelimiter, location_name: "Delimiter"))
845
+ SelectionCriteria.add_member(:max_depth, Shapes::ShapeRef.new(shape: StorageLensPrefixLevelMaxDepth, location_name: "MaxDepth"))
846
+ SelectionCriteria.add_member(:min_storage_bytes_percentage, Shapes::ShapeRef.new(shape: MinStorageBytesPercentage, location_name: "MinStorageBytesPercentage"))
847
+ SelectionCriteria.struct_class = Types::SelectionCriteria
848
+
849
+ StorageLensAwsOrg.add_member(:arn, Shapes::ShapeRef.new(shape: AwsOrgArn, required: true, location_name: "Arn"))
850
+ StorageLensAwsOrg.struct_class = Types::StorageLensAwsOrg
851
+
852
+ StorageLensConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: ConfigId, required: true, location_name: "Id"))
853
+ StorageLensConfiguration.add_member(:account_level, Shapes::ShapeRef.new(shape: AccountLevel, required: true, location_name: "AccountLevel"))
854
+ StorageLensConfiguration.add_member(:include, Shapes::ShapeRef.new(shape: Include, location_name: "Include"))
855
+ StorageLensConfiguration.add_member(:exclude, Shapes::ShapeRef.new(shape: Exclude, location_name: "Exclude"))
856
+ StorageLensConfiguration.add_member(:data_export, Shapes::ShapeRef.new(shape: StorageLensDataExport, location_name: "DataExport"))
857
+ StorageLensConfiguration.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, required: true, location_name: "IsEnabled"))
858
+ StorageLensConfiguration.add_member(:aws_org, Shapes::ShapeRef.new(shape: StorageLensAwsOrg, location_name: "AwsOrg"))
859
+ StorageLensConfiguration.add_member(:storage_lens_arn, Shapes::ShapeRef.new(shape: StorageLensArn, location_name: "StorageLensArn"))
860
+ StorageLensConfiguration.struct_class = Types::StorageLensConfiguration
861
+
862
+ StorageLensConfigurationList.member = Shapes::ShapeRef.new(shape: ListStorageLensConfigurationEntry, location_name: "StorageLensConfiguration")
863
+
864
+ StorageLensDataExport.add_member(:s3_bucket_destination, Shapes::ShapeRef.new(shape: S3BucketDestination, required: true, location_name: "S3BucketDestination"))
865
+ StorageLensDataExport.struct_class = Types::StorageLensDataExport
866
+
867
+ StorageLensDataExportEncryption.add_member(:sses3, Shapes::ShapeRef.new(shape: SSES3, location_name: "SSE-S3"))
868
+ StorageLensDataExportEncryption.add_member(:ssekms, Shapes::ShapeRef.new(shape: SSEKMS, location_name: "SSE-KMS"))
869
+ StorageLensDataExportEncryption.struct_class = Types::StorageLensDataExportEncryption
870
+
871
+ StorageLensTag.add_member(:key, Shapes::ShapeRef.new(shape: TagKeyString, required: true, location_name: "Key"))
872
+ StorageLensTag.add_member(:value, Shapes::ShapeRef.new(shape: TagValueString, required: true, location_name: "Value"))
873
+ StorageLensTag.struct_class = Types::StorageLensTag
874
+
875
+ StorageLensTags.member = Shapes::ShapeRef.new(shape: StorageLensTag, location_name: "Tag")
876
+
703
877
  Tagging.add_member(:tag_set, Shapes::ShapeRef.new(shape: S3TagSet, required: true, location_name: "TagSet"))
704
878
  Tagging.struct_class = Types::Tagging
705
879
 
@@ -894,6 +1068,28 @@ module Aws::S3Control
894
1068
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
895
1069
  end)
896
1070
 
1071
+ api.add_operation(:delete_storage_lens_configuration, Seahorse::Model::Operation.new.tap do |o|
1072
+ o.name = "DeleteStorageLensConfiguration"
1073
+ o.http_method = "DELETE"
1074
+ o.http_request_uri = "/v20180820/storagelens/{storagelensid}"
1075
+ o.endpoint_pattern = {
1076
+ "hostPrefix" => "{AccountId}.",
1077
+ }
1078
+ o.input = Shapes::ShapeRef.new(shape: DeleteStorageLensConfigurationRequest)
1079
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1080
+ end)
1081
+
1082
+ api.add_operation(:delete_storage_lens_configuration_tagging, Seahorse::Model::Operation.new.tap do |o|
1083
+ o.name = "DeleteStorageLensConfigurationTagging"
1084
+ o.http_method = "DELETE"
1085
+ o.http_request_uri = "/v20180820/storagelens/{storagelensid}/tagging"
1086
+ o.endpoint_pattern = {
1087
+ "hostPrefix" => "{AccountId}.",
1088
+ }
1089
+ o.input = Shapes::ShapeRef.new(shape: DeleteStorageLensConfigurationTaggingRequest)
1090
+ o.output = Shapes::ShapeRef.new(shape: DeleteStorageLensConfigurationTaggingResult)
1091
+ end)
1092
+
897
1093
  api.add_operation(:describe_job, Seahorse::Model::Operation.new.tap do |o|
898
1094
  o.name = "DescribeJob"
899
1095
  o.http_method = "GET"
@@ -1012,6 +1208,28 @@ module Aws::S3Control
1012
1208
  o.errors << Shapes::ShapeRef.new(shape: NoSuchPublicAccessBlockConfiguration)
1013
1209
  end)
1014
1210
 
1211
+ api.add_operation(:get_storage_lens_configuration, Seahorse::Model::Operation.new.tap do |o|
1212
+ o.name = "GetStorageLensConfiguration"
1213
+ o.http_method = "GET"
1214
+ o.http_request_uri = "/v20180820/storagelens/{storagelensid}"
1215
+ o.endpoint_pattern = {
1216
+ "hostPrefix" => "{AccountId}.",
1217
+ }
1218
+ o.input = Shapes::ShapeRef.new(shape: GetStorageLensConfigurationRequest)
1219
+ o.output = Shapes::ShapeRef.new(shape: GetStorageLensConfigurationResult)
1220
+ end)
1221
+
1222
+ api.add_operation(:get_storage_lens_configuration_tagging, Seahorse::Model::Operation.new.tap do |o|
1223
+ o.name = "GetStorageLensConfigurationTagging"
1224
+ o.http_method = "GET"
1225
+ o.http_request_uri = "/v20180820/storagelens/{storagelensid}/tagging"
1226
+ o.endpoint_pattern = {
1227
+ "hostPrefix" => "{AccountId}.",
1228
+ }
1229
+ o.input = Shapes::ShapeRef.new(shape: GetStorageLensConfigurationTaggingRequest)
1230
+ o.output = Shapes::ShapeRef.new(shape: GetStorageLensConfigurationTaggingResult)
1231
+ end)
1232
+
1015
1233
  api.add_operation(:list_access_points, Seahorse::Model::Operation.new.tap do |o|
1016
1234
  o.name = "ListAccessPoints"
1017
1235
  o.http_method = "GET"
@@ -1066,6 +1284,17 @@ module Aws::S3Control
1066
1284
  )
1067
1285
  end)
1068
1286
 
1287
+ api.add_operation(:list_storage_lens_configurations, Seahorse::Model::Operation.new.tap do |o|
1288
+ o.name = "ListStorageLensConfigurations"
1289
+ o.http_method = "GET"
1290
+ o.http_request_uri = "/v20180820/storagelens"
1291
+ o.endpoint_pattern = {
1292
+ "hostPrefix" => "{AccountId}.",
1293
+ }
1294
+ o.input = Shapes::ShapeRef.new(shape: ListStorageLensConfigurationsRequest)
1295
+ o.output = Shapes::ShapeRef.new(shape: ListStorageLensConfigurationsResult)
1296
+ end)
1297
+
1069
1298
  api.add_operation(:put_access_point_policy, Seahorse::Model::Operation.new.tap do |o|
1070
1299
  o.name = "PutAccessPointPolicy"
1071
1300
  o.http_method = "PUT"
@@ -1154,6 +1383,38 @@ module Aws::S3Control
1154
1383
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1155
1384
  end)
1156
1385
 
1386
+ api.add_operation(:put_storage_lens_configuration, Seahorse::Model::Operation.new.tap do |o|
1387
+ o.name = "PutStorageLensConfiguration"
1388
+ o.http_method = "PUT"
1389
+ o.http_request_uri = "/v20180820/storagelens/{storagelensid}"
1390
+ o.endpoint_pattern = {
1391
+ "hostPrefix" => "{AccountId}.",
1392
+ }
1393
+ o.input = Shapes::ShapeRef.new(shape: PutStorageLensConfigurationRequest,
1394
+ location_name: "PutStorageLensConfigurationRequest",
1395
+ metadata: {
1396
+ "xmlNamespace" => {"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}
1397
+ }
1398
+ )
1399
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1400
+ end)
1401
+
1402
+ api.add_operation(:put_storage_lens_configuration_tagging, Seahorse::Model::Operation.new.tap do |o|
1403
+ o.name = "PutStorageLensConfigurationTagging"
1404
+ o.http_method = "PUT"
1405
+ o.http_request_uri = "/v20180820/storagelens/{storagelensid}/tagging"
1406
+ o.endpoint_pattern = {
1407
+ "hostPrefix" => "{AccountId}.",
1408
+ }
1409
+ o.input = Shapes::ShapeRef.new(shape: PutStorageLensConfigurationTaggingRequest,
1410
+ location_name: "PutStorageLensConfigurationTaggingRequest",
1411
+ metadata: {
1412
+ "xmlNamespace" => {"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}
1413
+ }
1414
+ )
1415
+ o.output = Shapes::ShapeRef.new(shape: PutStorageLensConfigurationTaggingResult)
1416
+ end)
1417
+
1157
1418
  api.add_operation(:update_job_priority, Seahorse::Model::Operation.new.tap do |o|
1158
1419
  o.name = "UpdateJobPriority"
1159
1420
  o.http_method = "POST"
@@ -72,6 +72,71 @@ module Aws::S3Control
72
72
  include Aws::Structure
73
73
  end
74
74
 
75
+ # A container for the account level Amazon S3 Storage Lens
76
+ # configuration.
77
+ #
78
+ # @note When making an API call, you may pass AccountLevel
79
+ # data as a hash:
80
+ #
81
+ # {
82
+ # activity_metrics: {
83
+ # is_enabled: false,
84
+ # },
85
+ # bucket_level: { # required
86
+ # activity_metrics: {
87
+ # is_enabled: false,
88
+ # },
89
+ # prefix_level: {
90
+ # storage_metrics: { # required
91
+ # is_enabled: false,
92
+ # selection_criteria: {
93
+ # delimiter: "StorageLensPrefixLevelDelimiter",
94
+ # max_depth: 1,
95
+ # min_storage_bytes_percentage: 1.0,
96
+ # },
97
+ # },
98
+ # },
99
+ # },
100
+ # }
101
+ #
102
+ # @!attribute [rw] activity_metrics
103
+ # A container for the S3 Storage Lens activity metrics.
104
+ # @return [Types::ActivityMetrics]
105
+ #
106
+ # @!attribute [rw] bucket_level
107
+ # A container for the S3 Storage Lens bucket-level configuration.
108
+ # @return [Types::BucketLevel]
109
+ #
110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/AccountLevel AWS API Documentation
111
+ #
112
+ class AccountLevel < Struct.new(
113
+ :activity_metrics,
114
+ :bucket_level)
115
+ SENSITIVE = []
116
+ include Aws::Structure
117
+ end
118
+
119
+ # A container for the activity metrics.
120
+ #
121
+ # @note When making an API call, you may pass ActivityMetrics
122
+ # data as a hash:
123
+ #
124
+ # {
125
+ # is_enabled: false,
126
+ # }
127
+ #
128
+ # @!attribute [rw] is_enabled
129
+ # A container for whether the activity metrics are enabled.
130
+ # @return [Boolean]
131
+ #
132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ActivityMetrics AWS API Documentation
133
+ #
134
+ class ActivityMetrics < Struct.new(
135
+ :is_enabled)
136
+ SENSITIVE = []
137
+ include Aws::Structure
138
+ end
139
+
75
140
  # @!attribute [rw] message
76
141
  # @return [String]
77
142
  #
@@ -98,6 +163,46 @@ module Aws::S3Control
98
163
  #
99
164
  class BucketAlreadyOwnedByYou < Aws::EmptyStructure; end
100
165
 
166
+ # A container for the bucket-level configuration.
167
+ #
168
+ # @note When making an API call, you may pass BucketLevel
169
+ # data as a hash:
170
+ #
171
+ # {
172
+ # activity_metrics: {
173
+ # is_enabled: false,
174
+ # },
175
+ # prefix_level: {
176
+ # storage_metrics: { # required
177
+ # is_enabled: false,
178
+ # selection_criteria: {
179
+ # delimiter: "StorageLensPrefixLevelDelimiter",
180
+ # max_depth: 1,
181
+ # min_storage_bytes_percentage: 1.0,
182
+ # },
183
+ # },
184
+ # },
185
+ # }
186
+ #
187
+ # @!attribute [rw] activity_metrics
188
+ # A container for the bucket-level activity metrics for Amazon S3
189
+ # Storage Lens
190
+ # @return [Types::ActivityMetrics]
191
+ #
192
+ # @!attribute [rw] prefix_level
193
+ # A container for the bucket-level prefix-level metrics for S3 Storage
194
+ # Lens
195
+ # @return [Types::PrefixLevel]
196
+ #
197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/BucketLevel AWS API Documentation
198
+ #
199
+ class BucketLevel < Struct.new(
200
+ :activity_metrics,
201
+ :prefix_level)
202
+ SENSITIVE = []
203
+ include Aws::Structure
204
+ end
205
+
101
206
  # @note When making an API call, you may pass CreateAccessPointRequest
102
207
  # data as a hash:
103
208
  #
@@ -129,8 +234,11 @@ module Aws::S3Control
129
234
  # The name of the bucket that you want to associate this access point
130
235
  # with.
131
236
  #
132
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
133
- # the format
237
+ # For using this parameter with Amazon S3 on Outposts with the REST
238
+ # API, you must specify the name and the x-amz-outpost-id as well.
239
+ #
240
+ # For using this parameter with S3 on Outposts with the AWS SDK and
241
+ # CLI, you must specify the ARN of the bucket accessed in the format
134
242
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
135
243
  # For example, to access the bucket `reports` through outpost
136
244
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -151,7 +259,7 @@ module Aws::S3Control
151
259
  #
152
260
  # @!attribute [rw] public_access_block_configuration
153
261
  # The `PublicAccessBlock` configuration that you want to apply to this
154
- # Amazon S3 bucket. You can enable the configuration options in any
262
+ # Amazon S3 account. You can enable the configuration options in any
155
263
  # combination. For more information about when Amazon S3 considers a
156
264
  # bucket or object public, see [The Meaning of "Public"][1] in the
157
265
  # *Amazon Simple Storage Service Developer Guide*.
@@ -177,6 +285,10 @@ module Aws::S3Control
177
285
 
178
286
  # @!attribute [rw] access_point_arn
179
287
  # The ARN of the access point.
288
+ #
289
+ # <note markdown="1"> This is only supported by Amazon S3 on Outposts.
290
+ #
291
+ # </note>
180
292
  # @return [String]
181
293
  #
182
294
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointResult AWS API Documentation
@@ -339,8 +451,11 @@ module Aws::S3Control
339
451
  # @!attribute [rw] bucket_arn
340
452
  # The Amazon Resource Name (ARN) of the bucket.
341
453
  #
342
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
343
- # the format
454
+ # For using this parameter with Amazon S3 on Outposts with the REST
455
+ # API, you must specify the name and the x-amz-outpost-id as well.
456
+ #
457
+ # For using this parameter with S3 on Outposts with the AWS SDK and
458
+ # CLI, you must specify the ARN of the bucket accessed in the format
344
459
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
345
460
  # For example, to access the bucket `reports` through outpost
346
461
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -595,8 +710,12 @@ module Aws::S3Control
595
710
  # @!attribute [rw] name
596
711
  # The name of the access point whose policy you want to delete.
597
712
  #
598
- # For Amazon S3 on Outposts specify the ARN of the access point
599
- # accessed in the format
713
+ # For using this parameter with Amazon S3 on Outposts with the REST
714
+ # API, you must specify the name and the x-amz-outpost-id as well.
715
+ #
716
+ # For using this parameter with S3 on Outposts with the AWS SDK and
717
+ # CLI, you must specify the ARN of the access point accessed in the
718
+ # format
600
719
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
601
720
  # For example, to access the access point `reports-ap` through outpost
602
721
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -629,8 +748,12 @@ module Aws::S3Control
629
748
  # @!attribute [rw] name
630
749
  # The name of the access point you want to delete.
631
750
  #
632
- # For Amazon S3 on Outposts specify the ARN of the access point
633
- # accessed in the format
751
+ # For using this parameter with Amazon S3 on Outposts with the REST
752
+ # API, you must specify the name and the x-amz-outpost-id as well.
753
+ #
754
+ # For using this parameter with S3 on Outposts with the AWS SDK and
755
+ # CLI, you must specify the ARN of the access point accessed in the
756
+ # format
634
757
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
635
758
  # For example, to access the access point `reports-ap` through outpost
636
759
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -661,10 +784,13 @@ module Aws::S3Control
661
784
  # @return [String]
662
785
  #
663
786
  # @!attribute [rw] bucket
664
- # The bucket ARN of the bucket.
787
+ # Specifies the bucket.
665
788
  #
666
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
667
- # the format
789
+ # For using this parameter with Amazon S3 on Outposts with the REST
790
+ # API, you must specify the name and the x-amz-outpost-id as well.
791
+ #
792
+ # For using this parameter with S3 on Outposts with the AWS SDK and
793
+ # CLI, you must specify the ARN of the bucket accessed in the format
668
794
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
669
795
  # For example, to access the bucket `reports` through outpost
670
796
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -695,10 +821,13 @@ module Aws::S3Control
695
821
  # @return [String]
696
822
  #
697
823
  # @!attribute [rw] bucket
698
- # The ARN of the bucket.
824
+ # Specifies the bucket.
825
+ #
826
+ # For using this parameter with Amazon S3 on Outposts with the REST
827
+ # API, you must specify the name and the x-amz-outpost-id as well.
699
828
  #
700
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
701
- # the format
829
+ # For using this parameter with S3 on Outposts with the AWS SDK and
830
+ # CLI, you must specify the ARN of the bucket accessed in the format
702
831
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
703
832
  # For example, to access the bucket `reports` through outpost
704
833
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -731,8 +860,11 @@ module Aws::S3Control
731
860
  # @!attribute [rw] bucket
732
861
  # Specifies the bucket being deleted.
733
862
  #
734
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
735
- # the format
863
+ # For using this parameter with Amazon S3 on Outposts with the REST
864
+ # API, you must specify the name and the x-amz-outpost-id as well.
865
+ #
866
+ # For using this parameter with S3 on Outposts with the AWS SDK and
867
+ # CLI, you must specify the ARN of the bucket accessed in the format
736
868
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
737
869
  # For example, to access the bucket `reports` through outpost
738
870
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -765,8 +897,11 @@ module Aws::S3Control
765
897
  # @!attribute [rw] bucket
766
898
  # The bucket ARN that has the tag set to be removed.
767
899
  #
768
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
769
- # the format
900
+ # For using this parameter with Amazon S3 on Outposts with the REST
901
+ # API, you must specify the name and the x-amz-outpost-id as well.
902
+ #
903
+ # For using this parameter with S3 on Outposts with the AWS SDK and
904
+ # CLI, you must specify the ARN of the bucket accessed in the format
770
905
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
771
906
  # For example, to access the bucket `reports` through outpost
772
907
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -834,6 +969,60 @@ module Aws::S3Control
834
969
  include Aws::Structure
835
970
  end
836
971
 
972
+ # @note When making an API call, you may pass DeleteStorageLensConfigurationRequest
973
+ # data as a hash:
974
+ #
975
+ # {
976
+ # config_id: "ConfigId", # required
977
+ # account_id: "AccountId", # required
978
+ # }
979
+ #
980
+ # @!attribute [rw] config_id
981
+ # The ID of the S3 Storage Lens configuration.
982
+ # @return [String]
983
+ #
984
+ # @!attribute [rw] account_id
985
+ # The account ID of the requester.
986
+ # @return [String]
987
+ #
988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfigurationRequest AWS API Documentation
989
+ #
990
+ class DeleteStorageLensConfigurationRequest < Struct.new(
991
+ :config_id,
992
+ :account_id)
993
+ SENSITIVE = []
994
+ include Aws::Structure
995
+ end
996
+
997
+ # @note When making an API call, you may pass DeleteStorageLensConfigurationTaggingRequest
998
+ # data as a hash:
999
+ #
1000
+ # {
1001
+ # config_id: "ConfigId", # required
1002
+ # account_id: "AccountId", # required
1003
+ # }
1004
+ #
1005
+ # @!attribute [rw] config_id
1006
+ # The ID of the S3 Storage Lens configuration.
1007
+ # @return [String]
1008
+ #
1009
+ # @!attribute [rw] account_id
1010
+ # The account ID of the requester.
1011
+ # @return [String]
1012
+ #
1013
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfigurationTaggingRequest AWS API Documentation
1014
+ #
1015
+ class DeleteStorageLensConfigurationTaggingRequest < Struct.new(
1016
+ :config_id,
1017
+ :account_id)
1018
+ SENSITIVE = []
1019
+ include Aws::Structure
1020
+ end
1021
+
1022
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfigurationTaggingResult AWS API Documentation
1023
+ #
1024
+ class DeleteStorageLensConfigurationTaggingResult < Aws::EmptyStructure; end
1025
+
837
1026
  # @note When making an API call, you may pass DescribeJobRequest
838
1027
  # data as a hash:
839
1028
  #
@@ -871,6 +1060,33 @@ module Aws::S3Control
871
1060
  include Aws::Structure
872
1061
  end
873
1062
 
1063
+ # A container for what Amazon S3 Storage Lens will exclude.
1064
+ #
1065
+ # @note When making an API call, you may pass Exclude
1066
+ # data as a hash:
1067
+ #
1068
+ # {
1069
+ # buckets: ["S3BucketArnString"],
1070
+ # regions: ["S3AWSRegion"],
1071
+ # }
1072
+ #
1073
+ # @!attribute [rw] buckets
1074
+ # A container for the S3 Storage Lens bucket excludes.
1075
+ # @return [Array<String>]
1076
+ #
1077
+ # @!attribute [rw] regions
1078
+ # A container for the S3 Storage Lens Region excludes.
1079
+ # @return [Array<String>]
1080
+ #
1081
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/Exclude AWS API Documentation
1082
+ #
1083
+ class Exclude < Struct.new(
1084
+ :buckets,
1085
+ :regions)
1086
+ SENSITIVE = []
1087
+ include Aws::Structure
1088
+ end
1089
+
874
1090
  # @note When making an API call, you may pass GetAccessPointPolicyRequest
875
1091
  # data as a hash:
876
1092
  #
@@ -886,8 +1102,12 @@ module Aws::S3Control
886
1102
  # @!attribute [rw] name
887
1103
  # The name of the access point whose policy you want to retrieve.
888
1104
  #
889
- # For Amazon S3 on Outposts specify the ARN of the access point
890
- # accessed in the format
1105
+ # For using this parameter with Amazon S3 on Outposts with the REST
1106
+ # API, you must specify the name and the x-amz-outpost-id as well.
1107
+ #
1108
+ # For using this parameter with S3 on Outposts with the AWS SDK and
1109
+ # CLI, you must specify the ARN of the access point accessed in the
1110
+ # format
891
1111
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
892
1112
  # For example, to access the access point `reports-ap` through outpost
893
1113
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -971,8 +1191,12 @@ module Aws::S3Control
971
1191
  # The name of the access point whose configuration information you
972
1192
  # want to retrieve.
973
1193
  #
974
- # For Amazon S3 on Outposts specify the ARN of the access point
975
- # accessed in the format
1194
+ # For using this parameter with Amazon S3 on Outposts with the REST
1195
+ # API, you must specify the name and the x-amz-outpost-id as well.
1196
+ #
1197
+ # For using this parameter with S3 on Outposts with the AWS SDK and
1198
+ # CLI, you must specify the ARN of the access point accessed in the
1199
+ # format
976
1200
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
977
1201
  # For example, to access the access point `reports-ap` through outpost
978
1202
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1016,7 +1240,7 @@ module Aws::S3Control
1016
1240
  #
1017
1241
  # @!attribute [rw] public_access_block_configuration
1018
1242
  # The `PublicAccessBlock` configuration that you want to apply to this
1019
- # Amazon S3 bucket. You can enable the configuration options in any
1243
+ # Amazon S3 account. You can enable the configuration options in any
1020
1244
  # combination. For more information about when Amazon S3 considers a
1021
1245
  # bucket or object public, see [The Meaning of "Public"][1] in the
1022
1246
  # *Amazon Simple Storage Service Developer Guide*.
@@ -1060,8 +1284,11 @@ module Aws::S3Control
1060
1284
  # @!attribute [rw] bucket
1061
1285
  # The Amazon Resource Name (ARN) of the bucket.
1062
1286
  #
1063
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1064
- # the format
1287
+ # For using this parameter with Amazon S3 on Outposts with the REST
1288
+ # API, you must specify the name and the x-amz-outpost-id as well.
1289
+ #
1290
+ # For using this parameter with S3 on Outposts with the AWS SDK and
1291
+ # CLI, you must specify the ARN of the bucket accessed in the format
1065
1292
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1066
1293
  # For example, to access the bucket `reports` through outpost
1067
1294
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1104,10 +1331,13 @@ module Aws::S3Control
1104
1331
  # @return [String]
1105
1332
  #
1106
1333
  # @!attribute [rw] bucket
1107
- # The ARN of the bucket.
1334
+ # Specifies the bucket.
1335
+ #
1336
+ # For using this parameter with Amazon S3 on Outposts with the REST
1337
+ # API, you must specify the name and the x-amz-outpost-id as well.
1108
1338
  #
1109
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1110
- # the format
1339
+ # For using this parameter with S3 on Outposts with the AWS SDK and
1340
+ # CLI, you must specify the ARN of the bucket accessed in the format
1111
1341
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1112
1342
  # For example, to access the bucket `reports` through outpost
1113
1343
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1150,10 +1380,13 @@ module Aws::S3Control
1150
1380
  # @return [String]
1151
1381
  #
1152
1382
  # @!attribute [rw] bucket
1153
- # The ARN of the bucket.
1383
+ # Specifies the bucket.
1154
1384
  #
1155
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1156
- # the format
1385
+ # For using this parameter with Amazon S3 on Outposts with the REST
1386
+ # API, you must specify the name and the x-amz-outpost-id as well.
1387
+ #
1388
+ # For using this parameter with S3 on Outposts with the AWS SDK and
1389
+ # CLI, you must specify the ARN of the bucket accessed in the format
1157
1390
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1158
1391
  # For example, to access the bucket `reports` through outpost
1159
1392
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1205,10 +1438,13 @@ module Aws::S3Control
1205
1438
  # @return [String]
1206
1439
  #
1207
1440
  # @!attribute [rw] bucket
1208
- # The ARN of the bucket.
1441
+ # Specifies the bucket.
1442
+ #
1443
+ # For using this parameter with Amazon S3 on Outposts with the REST
1444
+ # API, you must specify the name and the x-amz-outpost-id as well.
1209
1445
  #
1210
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
1211
- # the format
1446
+ # For using this parameter with S3 on Outposts with the AWS SDK and
1447
+ # CLI, you must specify the ARN of the bucket accessed in the format
1212
1448
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
1213
1449
  # For example, to access the bucket `reports` through outpost
1214
1450
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -1309,6 +1545,80 @@ module Aws::S3Control
1309
1545
  include Aws::Structure
1310
1546
  end
1311
1547
 
1548
+ # @note When making an API call, you may pass GetStorageLensConfigurationRequest
1549
+ # data as a hash:
1550
+ #
1551
+ # {
1552
+ # config_id: "ConfigId", # required
1553
+ # account_id: "AccountId", # required
1554
+ # }
1555
+ #
1556
+ # @!attribute [rw] config_id
1557
+ # The ID of the Amazon S3 Storage Lens configuration.
1558
+ # @return [String]
1559
+ #
1560
+ # @!attribute [rw] account_id
1561
+ # The account ID of the requester.
1562
+ # @return [String]
1563
+ #
1564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfigurationRequest AWS API Documentation
1565
+ #
1566
+ class GetStorageLensConfigurationRequest < Struct.new(
1567
+ :config_id,
1568
+ :account_id)
1569
+ SENSITIVE = []
1570
+ include Aws::Structure
1571
+ end
1572
+
1573
+ # @!attribute [rw] storage_lens_configuration
1574
+ # The S3 Storage Lens configuration requested.
1575
+ # @return [Types::StorageLensConfiguration]
1576
+ #
1577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfigurationResult AWS API Documentation
1578
+ #
1579
+ class GetStorageLensConfigurationResult < Struct.new(
1580
+ :storage_lens_configuration)
1581
+ SENSITIVE = []
1582
+ include Aws::Structure
1583
+ end
1584
+
1585
+ # @note When making an API call, you may pass GetStorageLensConfigurationTaggingRequest
1586
+ # data as a hash:
1587
+ #
1588
+ # {
1589
+ # config_id: "ConfigId", # required
1590
+ # account_id: "AccountId", # required
1591
+ # }
1592
+ #
1593
+ # @!attribute [rw] config_id
1594
+ # The ID of the Amazon S3 Storage Lens configuration.
1595
+ # @return [String]
1596
+ #
1597
+ # @!attribute [rw] account_id
1598
+ # The account ID of the requester.
1599
+ # @return [String]
1600
+ #
1601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfigurationTaggingRequest AWS API Documentation
1602
+ #
1603
+ class GetStorageLensConfigurationTaggingRequest < Struct.new(
1604
+ :config_id,
1605
+ :account_id)
1606
+ SENSITIVE = []
1607
+ include Aws::Structure
1608
+ end
1609
+
1610
+ # @!attribute [rw] tags
1611
+ # The tags of S3 Storage Lens configuration requested.
1612
+ # @return [Array<Types::StorageLensTag>]
1613
+ #
1614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfigurationTaggingResult AWS API Documentation
1615
+ #
1616
+ class GetStorageLensConfigurationTaggingResult < Struct.new(
1617
+ :tags)
1618
+ SENSITIVE = []
1619
+ include Aws::Structure
1620
+ end
1621
+
1312
1622
  # @!attribute [rw] message
1313
1623
  # @return [String]
1314
1624
  #
@@ -1320,6 +1630,33 @@ module Aws::S3Control
1320
1630
  include Aws::Structure
1321
1631
  end
1322
1632
 
1633
+ # A container for what Amazon S3 Storage Lens configuration includes.
1634
+ #
1635
+ # @note When making an API call, you may pass Include
1636
+ # data as a hash:
1637
+ #
1638
+ # {
1639
+ # buckets: ["S3BucketArnString"],
1640
+ # regions: ["S3AWSRegion"],
1641
+ # }
1642
+ #
1643
+ # @!attribute [rw] buckets
1644
+ # A container for the S3 Storage Lens bucket includes.
1645
+ # @return [Array<String>]
1646
+ #
1647
+ # @!attribute [rw] regions
1648
+ # A container for the S3 Storage Lens Region includes.
1649
+ # @return [Array<String>]
1650
+ #
1651
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/Include AWS API Documentation
1652
+ #
1653
+ class Include < Struct.new(
1654
+ :buckets,
1655
+ :regions)
1656
+ SENSITIVE = []
1657
+ include Aws::Structure
1658
+ end
1659
+
1323
1660
  # @!attribute [rw] message
1324
1661
  # @return [String]
1325
1662
  #
@@ -2245,8 +2582,11 @@ module Aws::S3Control
2245
2582
  # The name of the bucket whose associated access points you want to
2246
2583
  # list.
2247
2584
  #
2248
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
2249
- # the format
2585
+ # For using this parameter with Amazon S3 on Outposts with the REST
2586
+ # API, you must specify the name and the x-amz-outpost-id as well.
2587
+ #
2588
+ # For using this parameter with S3 on Outposts with the AWS SDK and
2589
+ # CLI, you must specify the ARN of the bucket accessed in the format
2250
2590
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
2251
2591
  # For example, to access the bucket `reports` through outpost
2252
2592
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2422,6 +2762,85 @@ module Aws::S3Control
2422
2762
  include Aws::Structure
2423
2763
  end
2424
2764
 
2765
+ # Part of `ListStorageLensConfigurationResult`. Each entry includes the
2766
+ # description of the S3 Storage Lens configuration, its home Region,
2767
+ # whether it is enabled, its Amazon Resource Name (ARN), and config ID.
2768
+ #
2769
+ # @!attribute [rw] id
2770
+ # A container for the S3 Storage Lens configuration ID.
2771
+ # @return [String]
2772
+ #
2773
+ # @!attribute [rw] storage_lens_arn
2774
+ # The ARN of the S3 Storage Lens configuration. This property is
2775
+ # read-only.
2776
+ # @return [String]
2777
+ #
2778
+ # @!attribute [rw] home_region
2779
+ # A container for the S3 Storage Lens home Region. Your metrics data
2780
+ # is stored and retained in your designated S3 Storage Lens home
2781
+ # Region.
2782
+ # @return [String]
2783
+ #
2784
+ # @!attribute [rw] is_enabled
2785
+ # A container for whether the S3 Storage Lens configuration is
2786
+ # enabled. This property is required.
2787
+ # @return [Boolean]
2788
+ #
2789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensConfigurationEntry AWS API Documentation
2790
+ #
2791
+ class ListStorageLensConfigurationEntry < Struct.new(
2792
+ :id,
2793
+ :storage_lens_arn,
2794
+ :home_region,
2795
+ :is_enabled)
2796
+ SENSITIVE = []
2797
+ include Aws::Structure
2798
+ end
2799
+
2800
+ # @note When making an API call, you may pass ListStorageLensConfigurationsRequest
2801
+ # data as a hash:
2802
+ #
2803
+ # {
2804
+ # account_id: "AccountId", # required
2805
+ # next_token: "ContinuationToken",
2806
+ # }
2807
+ #
2808
+ # @!attribute [rw] account_id
2809
+ # The account ID of the requester.
2810
+ # @return [String]
2811
+ #
2812
+ # @!attribute [rw] next_token
2813
+ # A pagination token to request the next page of results.
2814
+ # @return [String]
2815
+ #
2816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensConfigurationsRequest AWS API Documentation
2817
+ #
2818
+ class ListStorageLensConfigurationsRequest < Struct.new(
2819
+ :account_id,
2820
+ :next_token)
2821
+ SENSITIVE = []
2822
+ include Aws::Structure
2823
+ end
2824
+
2825
+ # @!attribute [rw] next_token
2826
+ # If the request produced more than the maximum number of S3 Storage
2827
+ # Lens configuration results, you can pass this value into a
2828
+ # subsequent request to retrieve the next page of results.
2829
+ # @return [String]
2830
+ #
2831
+ # @!attribute [rw] storage_lens_configuration_list
2832
+ # A list of S3 Storage Lens configurations.
2833
+ # @return [Array<Types::ListStorageLensConfigurationEntry>]
2834
+ #
2835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensConfigurationsResult AWS API Documentation
2836
+ #
2837
+ class ListStorageLensConfigurationsResult < Struct.new(
2838
+ :next_token,
2839
+ :storage_lens_configuration_list)
2840
+ SENSITIVE = []
2841
+ include Aws::Structure
2842
+ end
2843
+
2425
2844
  # Amazon S3 throws this exception if you make a `GetPublicAccessBlock`
2426
2845
  # request against an account that doesn't have a
2427
2846
  # `PublicAccessBlockConfiguration` set.
@@ -2532,8 +2951,67 @@ module Aws::S3Control
2532
2951
  include Aws::Structure
2533
2952
  end
2534
2953
 
2954
+ # A container for the prefix-level configuration.
2955
+ #
2956
+ # @note When making an API call, you may pass PrefixLevel
2957
+ # data as a hash:
2958
+ #
2959
+ # {
2960
+ # storage_metrics: { # required
2961
+ # is_enabled: false,
2962
+ # selection_criteria: {
2963
+ # delimiter: "StorageLensPrefixLevelDelimiter",
2964
+ # max_depth: 1,
2965
+ # min_storage_bytes_percentage: 1.0,
2966
+ # },
2967
+ # },
2968
+ # }
2969
+ #
2970
+ # @!attribute [rw] storage_metrics
2971
+ # A container for the prefix-level storage metrics for S3 Storage
2972
+ # Lens.
2973
+ # @return [Types::PrefixLevelStorageMetrics]
2974
+ #
2975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PrefixLevel AWS API Documentation
2976
+ #
2977
+ class PrefixLevel < Struct.new(
2978
+ :storage_metrics)
2979
+ SENSITIVE = []
2980
+ include Aws::Structure
2981
+ end
2982
+
2983
+ # A container for the prefix-level storage metrics for S3 Storage Lens.
2984
+ #
2985
+ # @note When making an API call, you may pass PrefixLevelStorageMetrics
2986
+ # data as a hash:
2987
+ #
2988
+ # {
2989
+ # is_enabled: false,
2990
+ # selection_criteria: {
2991
+ # delimiter: "StorageLensPrefixLevelDelimiter",
2992
+ # max_depth: 1,
2993
+ # min_storage_bytes_percentage: 1.0,
2994
+ # },
2995
+ # }
2996
+ #
2997
+ # @!attribute [rw] is_enabled
2998
+ # A container for whether prefix-level storage metrics are enabled.
2999
+ # @return [Boolean]
3000
+ #
3001
+ # @!attribute [rw] selection_criteria
3002
+ # @return [Types::SelectionCriteria]
3003
+ #
3004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PrefixLevelStorageMetrics AWS API Documentation
3005
+ #
3006
+ class PrefixLevelStorageMetrics < Struct.new(
3007
+ :is_enabled,
3008
+ :selection_criteria)
3009
+ SENSITIVE = []
3010
+ include Aws::Structure
3011
+ end
3012
+
2535
3013
  # The `PublicAccessBlock` configuration that you want to apply to this
2536
- # Amazon S3 bucket. You can enable the configuration options in any
3014
+ # Amazon S3 account. You can enable the configuration options in any
2537
3015
  # combination. For more information about when Amazon S3 considers a
2538
3016
  # bucket or object public, see [The Meaning of "Public"][1] in the
2539
3017
  # *Amazon Simple Storage Service Developer Guide*.
@@ -2597,8 +3075,8 @@ module Aws::S3Control
2597
3075
  # @!attribute [rw] restrict_public_buckets
2598
3076
  # Specifies whether Amazon S3 should restrict public bucket policies
2599
3077
  # for buckets in this account. Setting this element to `TRUE`
2600
- # restricts access to buckets with public policies to only AWS
2601
- # services and authorized users within this account.
3078
+ # restricts access to buckets with public policies to only AWS service
3079
+ # principals and authorized users within this account.
2602
3080
  #
2603
3081
  # Enabling this setting doesn't affect previously stored bucket
2604
3082
  # policies, except that public and cross-account access within any
@@ -2637,8 +3115,12 @@ module Aws::S3Control
2637
3115
  # The name of the access point that you want to associate with the
2638
3116
  # specified policy.
2639
3117
  #
2640
- # For Amazon S3 on Outposts specify the ARN of the access point
2641
- # accessed in the format
3118
+ # For using this parameter with Amazon S3 on Outposts with the REST
3119
+ # API, you must specify the name and the x-amz-outpost-id as well.
3120
+ #
3121
+ # For using this parameter with S3 on Outposts with the AWS SDK and
3122
+ # CLI, you must specify the ARN of the access point accessed in the
3123
+ # format
2642
3124
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/accesspoint/<my-accesspoint-name>`.
2643
3125
  # For example, to access the access point `reports-ap` through outpost
2644
3126
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2649,8 +3131,8 @@ module Aws::S3Control
2649
3131
  #
2650
3132
  # @!attribute [rw] policy
2651
3133
  # The policy that you want to apply to the specified access point. For
2652
- # more information about access point policies, see [Managing Data
2653
- # Access with Amazon S3 Access Points][1] in the *Amazon Simple
3134
+ # more information about access point policies, see [Managing data
3135
+ # access with Amazon S3 Access Points][1] in the *Amazon Simple
2654
3136
  # Storage Service Developer Guide*.
2655
3137
  #
2656
3138
  #
@@ -2761,10 +3243,13 @@ module Aws::S3Control
2761
3243
  # @return [String]
2762
3244
  #
2763
3245
  # @!attribute [rw] bucket
2764
- # The ARN of the bucket.
3246
+ # Specifies the bucket.
2765
3247
  #
2766
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
2767
- # the format
3248
+ # For using this parameter with Amazon S3 on Outposts with the REST
3249
+ # API, you must specify the name and the x-amz-outpost-id as well.
3250
+ #
3251
+ # For using this parameter with S3 on Outposts with the AWS SDK and
3252
+ # CLI, you must specify the ARN of the bucket accessed in the format
2768
3253
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
2769
3254
  # For example, to access the bucket `reports` through outpost
2770
3255
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2820,8 +3305,11 @@ module Aws::S3Control
2820
3305
  # @!attribute [rw] bucket
2821
3306
  # The Amazon Resource Name (ARN) of the bucket.
2822
3307
  #
2823
- # For Amazon S3 on Outposts specify the ARN of the bucket accessed in
2824
- # the format
3308
+ # For using this parameter with Amazon S3 on Outposts with the REST
3309
+ # API, you must specify the name and the x-amz-outpost-id as well.
3310
+ #
3311
+ # For using this parameter with S3 on Outposts with the AWS SDK and
3312
+ # CLI, you must specify the ARN of the bucket accessed in the format
2825
3313
  # `arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>`.
2826
3314
  # For example, to access the bucket `reports` through outpost
2827
3315
  # `my-outpost` owned by account `123456789012` in Region `us-west-2`,
@@ -2916,6 +3404,147 @@ module Aws::S3Control
2916
3404
  include Aws::Structure
2917
3405
  end
2918
3406
 
3407
+ # @note When making an API call, you may pass PutStorageLensConfigurationRequest
3408
+ # data as a hash:
3409
+ #
3410
+ # {
3411
+ # config_id: "ConfigId", # required
3412
+ # account_id: "AccountId", # required
3413
+ # storage_lens_configuration: { # required
3414
+ # id: "ConfigId", # required
3415
+ # account_level: { # required
3416
+ # activity_metrics: {
3417
+ # is_enabled: false,
3418
+ # },
3419
+ # bucket_level: { # required
3420
+ # activity_metrics: {
3421
+ # is_enabled: false,
3422
+ # },
3423
+ # prefix_level: {
3424
+ # storage_metrics: { # required
3425
+ # is_enabled: false,
3426
+ # selection_criteria: {
3427
+ # delimiter: "StorageLensPrefixLevelDelimiter",
3428
+ # max_depth: 1,
3429
+ # min_storage_bytes_percentage: 1.0,
3430
+ # },
3431
+ # },
3432
+ # },
3433
+ # },
3434
+ # },
3435
+ # include: {
3436
+ # buckets: ["S3BucketArnString"],
3437
+ # regions: ["S3AWSRegion"],
3438
+ # },
3439
+ # exclude: {
3440
+ # buckets: ["S3BucketArnString"],
3441
+ # regions: ["S3AWSRegion"],
3442
+ # },
3443
+ # data_export: {
3444
+ # s3_bucket_destination: { # required
3445
+ # format: "CSV", # required, accepts CSV, Parquet
3446
+ # output_schema_version: "V_1", # required, accepts V_1
3447
+ # account_id: "AccountId", # required
3448
+ # arn: "S3BucketArnString", # required
3449
+ # prefix: "Prefix",
3450
+ # encryption: {
3451
+ # sses3: {
3452
+ # },
3453
+ # ssekms: {
3454
+ # key_id: "SSEKMSKeyId", # required
3455
+ # },
3456
+ # },
3457
+ # },
3458
+ # },
3459
+ # is_enabled: false, # required
3460
+ # aws_org: {
3461
+ # arn: "AwsOrgArn", # required
3462
+ # },
3463
+ # storage_lens_arn: "StorageLensArn",
3464
+ # },
3465
+ # tags: [
3466
+ # {
3467
+ # key: "TagKeyString", # required
3468
+ # value: "TagValueString", # required
3469
+ # },
3470
+ # ],
3471
+ # }
3472
+ #
3473
+ # @!attribute [rw] config_id
3474
+ # The ID of the S3 Storage Lens configuration.
3475
+ # @return [String]
3476
+ #
3477
+ # @!attribute [rw] account_id
3478
+ # The account ID of the requester.
3479
+ # @return [String]
3480
+ #
3481
+ # @!attribute [rw] storage_lens_configuration
3482
+ # The S3 Storage Lens configuration.
3483
+ # @return [Types::StorageLensConfiguration]
3484
+ #
3485
+ # @!attribute [rw] tags
3486
+ # The tag set of the S3 Storage Lens configuration.
3487
+ #
3488
+ # <note markdown="1"> You can set up to a maximum of 50 tags.
3489
+ #
3490
+ # </note>
3491
+ # @return [Array<Types::StorageLensTag>]
3492
+ #
3493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfigurationRequest AWS API Documentation
3494
+ #
3495
+ class PutStorageLensConfigurationRequest < Struct.new(
3496
+ :config_id,
3497
+ :account_id,
3498
+ :storage_lens_configuration,
3499
+ :tags)
3500
+ SENSITIVE = []
3501
+ include Aws::Structure
3502
+ end
3503
+
3504
+ # @note When making an API call, you may pass PutStorageLensConfigurationTaggingRequest
3505
+ # data as a hash:
3506
+ #
3507
+ # {
3508
+ # config_id: "ConfigId", # required
3509
+ # account_id: "AccountId", # required
3510
+ # tags: [ # required
3511
+ # {
3512
+ # key: "TagKeyString", # required
3513
+ # value: "TagValueString", # required
3514
+ # },
3515
+ # ],
3516
+ # }
3517
+ #
3518
+ # @!attribute [rw] config_id
3519
+ # The ID of the S3 Storage Lens configuration.
3520
+ # @return [String]
3521
+ #
3522
+ # @!attribute [rw] account_id
3523
+ # The account ID of the requester.
3524
+ # @return [String]
3525
+ #
3526
+ # @!attribute [rw] tags
3527
+ # The tag set of the S3 Storage Lens configuration.
3528
+ #
3529
+ # <note markdown="1"> You can set up to a maximum of 50 tags.
3530
+ #
3531
+ # </note>
3532
+ # @return [Array<Types::StorageLensTag>]
3533
+ #
3534
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfigurationTaggingRequest AWS API Documentation
3535
+ #
3536
+ class PutStorageLensConfigurationTaggingRequest < Struct.new(
3537
+ :config_id,
3538
+ :account_id,
3539
+ :tags)
3540
+ SENSITIVE = []
3541
+ include Aws::Structure
3542
+ end
3543
+
3544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfigurationTaggingResult AWS API Documentation
3545
+ #
3546
+ class PutStorageLensConfigurationTaggingResult < Aws::EmptyStructure; end
3547
+
2919
3548
  # The container for the regional bucket.
2920
3549
  #
2921
3550
  # @!attribute [rw] bucket
@@ -3021,6 +3650,69 @@ module Aws::S3Control
3021
3650
  include Aws::Structure
3022
3651
  end
3023
3652
 
3653
+ # A container for the bucket where the Amazon S3 Storage Lens metrics
3654
+ # export files are located.
3655
+ #
3656
+ # @note When making an API call, you may pass S3BucketDestination
3657
+ # data as a hash:
3658
+ #
3659
+ # {
3660
+ # format: "CSV", # required, accepts CSV, Parquet
3661
+ # output_schema_version: "V_1", # required, accepts V_1
3662
+ # account_id: "AccountId", # required
3663
+ # arn: "S3BucketArnString", # required
3664
+ # prefix: "Prefix",
3665
+ # encryption: {
3666
+ # sses3: {
3667
+ # },
3668
+ # ssekms: {
3669
+ # key_id: "SSEKMSKeyId", # required
3670
+ # },
3671
+ # },
3672
+ # }
3673
+ #
3674
+ # @!attribute [rw] format
3675
+ # @return [String]
3676
+ #
3677
+ # @!attribute [rw] output_schema_version
3678
+ # The schema version of the export file.
3679
+ # @return [String]
3680
+ #
3681
+ # @!attribute [rw] account_id
3682
+ # The account ID of the owner of the S3 Storage Lens metrics export
3683
+ # bucket.
3684
+ # @return [String]
3685
+ #
3686
+ # @!attribute [rw] arn
3687
+ # The Amazon Resource Name (ARN) of the bucket. This property is
3688
+ # read-only and follows the following format: `
3689
+ # arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
3690
+ # `
3691
+ # @return [String]
3692
+ #
3693
+ # @!attribute [rw] prefix
3694
+ # The prefix of the destination bucket where the metrics export will
3695
+ # be delivered.
3696
+ # @return [String]
3697
+ #
3698
+ # @!attribute [rw] encryption
3699
+ # The container for the type encryption of the metrics exports in this
3700
+ # bucket.
3701
+ # @return [Types::StorageLensDataExportEncryption]
3702
+ #
3703
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3BucketDestination AWS API Documentation
3704
+ #
3705
+ class S3BucketDestination < Struct.new(
3706
+ :format,
3707
+ :output_schema_version,
3708
+ :account_id,
3709
+ :arn,
3710
+ :prefix,
3711
+ :encryption)
3712
+ SENSITIVE = []
3713
+ include Aws::Structure
3714
+ end
3715
+
3024
3716
  # Contains the configuration parameters for a PUT Copy object operation.
3025
3717
  # S3 Batch Operations passes each value through to the underlying PUT
3026
3718
  # Copy object API. For more information about the parameters for this
@@ -3081,6 +3773,10 @@ module Aws::S3Control
3081
3773
  # }
3082
3774
  #
3083
3775
  # @!attribute [rw] target_resource
3776
+ # Specifies the destination bucket ARN for the batch copy operation.
3777
+ # For example, to copy objects to a bucket named
3778
+ # "destinationBucket", set the TargetResource to
3779
+ # "arn:aws:s3:::destinationBucket".
3084
3780
  # @return [String]
3085
3781
  #
3086
3782
  # @!attribute [rw] canned_access_control_list
@@ -3102,6 +3798,9 @@ module Aws::S3Control
3102
3798
  # @return [Array<Types::S3Tag>]
3103
3799
  #
3104
3800
  # @!attribute [rw] redirect_location
3801
+ # Specifies an optional metadata property for website redirects,
3802
+ # `x-amz-website-redirect-location`. Allows webpage redirects if the
3803
+ # object is accessed through a website endpoint.
3105
3804
  # @return [String]
3106
3805
  #
3107
3806
  # @!attribute [rw] requester_pays
@@ -3117,6 +3816,10 @@ module Aws::S3Control
3117
3816
  # @return [String]
3118
3817
  #
3119
3818
  # @!attribute [rw] target_key_prefix
3819
+ # Specifies the folder prefix into which you would like the objects to
3820
+ # be copied. For example, to copy objects into a folder named
3821
+ # "Folder1" in the destination bucket, set the TargetKeyPrefix to
3822
+ # "Folder1/".
3120
3823
  # @return [String]
3121
3824
  #
3122
3825
  # @!attribute [rw] object_lock_legal_hold_status
@@ -3577,6 +4280,298 @@ module Aws::S3Control
3577
4280
  include Aws::Structure
3578
4281
  end
3579
4282
 
4283
+ # @note When making an API call, you may pass SSEKMS
4284
+ # data as a hash:
4285
+ #
4286
+ # {
4287
+ # key_id: "SSEKMSKeyId", # required
4288
+ # }
4289
+ #
4290
+ # @!attribute [rw] key_id
4291
+ # A container for the ARN of the SSE-KMS encryption. This property is
4292
+ # read-only and follows the following format: `
4293
+ # arn:aws:kms:us-east-1:example-account-id:key/example-9a73-4afc-8d29-8f5900cef44e
4294
+ # `
4295
+ # @return [String]
4296
+ #
4297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SSEKMS AWS API Documentation
4298
+ #
4299
+ class SSEKMS < Struct.new(
4300
+ :key_id)
4301
+ SENSITIVE = []
4302
+ include Aws::Structure
4303
+ end
4304
+
4305
+ # @api private
4306
+ #
4307
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SSES3 AWS API Documentation
4308
+ #
4309
+ class SSES3 < Aws::EmptyStructure; end
4310
+
4311
+ # @note When making an API call, you may pass SelectionCriteria
4312
+ # data as a hash:
4313
+ #
4314
+ # {
4315
+ # delimiter: "StorageLensPrefixLevelDelimiter",
4316
+ # max_depth: 1,
4317
+ # min_storage_bytes_percentage: 1.0,
4318
+ # }
4319
+ #
4320
+ # @!attribute [rw] delimiter
4321
+ # A container for the delimiter of the selection criteria being used.
4322
+ # @return [String]
4323
+ #
4324
+ # @!attribute [rw] max_depth
4325
+ # The max depth of the selection criteria
4326
+ # @return [Integer]
4327
+ #
4328
+ # @!attribute [rw] min_storage_bytes_percentage
4329
+ # The minimum number of storage bytes percentage whose metrics will be
4330
+ # selected.
4331
+ #
4332
+ # <note markdown="1"> You must choose a value greater than or equal to `1.0`.
4333
+ #
4334
+ # </note>
4335
+ # @return [Float]
4336
+ #
4337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SelectionCriteria AWS API Documentation
4338
+ #
4339
+ class SelectionCriteria < Struct.new(
4340
+ :delimiter,
4341
+ :max_depth,
4342
+ :min_storage_bytes_percentage)
4343
+ SENSITIVE = []
4344
+ include Aws::Structure
4345
+ end
4346
+
4347
+ # The AWS organization for your S3 Storage Lens.
4348
+ #
4349
+ # @note When making an API call, you may pass StorageLensAwsOrg
4350
+ # data as a hash:
4351
+ #
4352
+ # {
4353
+ # arn: "AwsOrgArn", # required
4354
+ # }
4355
+ #
4356
+ # @!attribute [rw] arn
4357
+ # A container for the Amazon Resource Name (ARN) of the AWS
4358
+ # organization. This property is read-only and follows the following
4359
+ # format: `
4360
+ # arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck
4361
+ # `
4362
+ # @return [String]
4363
+ #
4364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensAwsOrg AWS API Documentation
4365
+ #
4366
+ class StorageLensAwsOrg < Struct.new(
4367
+ :arn)
4368
+ SENSITIVE = []
4369
+ include Aws::Structure
4370
+ end
4371
+
4372
+ # A container for the Amazon S3 Storage Lens configuration.
4373
+ #
4374
+ # @note When making an API call, you may pass StorageLensConfiguration
4375
+ # data as a hash:
4376
+ #
4377
+ # {
4378
+ # id: "ConfigId", # required
4379
+ # account_level: { # required
4380
+ # activity_metrics: {
4381
+ # is_enabled: false,
4382
+ # },
4383
+ # bucket_level: { # required
4384
+ # activity_metrics: {
4385
+ # is_enabled: false,
4386
+ # },
4387
+ # prefix_level: {
4388
+ # storage_metrics: { # required
4389
+ # is_enabled: false,
4390
+ # selection_criteria: {
4391
+ # delimiter: "StorageLensPrefixLevelDelimiter",
4392
+ # max_depth: 1,
4393
+ # min_storage_bytes_percentage: 1.0,
4394
+ # },
4395
+ # },
4396
+ # },
4397
+ # },
4398
+ # },
4399
+ # include: {
4400
+ # buckets: ["S3BucketArnString"],
4401
+ # regions: ["S3AWSRegion"],
4402
+ # },
4403
+ # exclude: {
4404
+ # buckets: ["S3BucketArnString"],
4405
+ # regions: ["S3AWSRegion"],
4406
+ # },
4407
+ # data_export: {
4408
+ # s3_bucket_destination: { # required
4409
+ # format: "CSV", # required, accepts CSV, Parquet
4410
+ # output_schema_version: "V_1", # required, accepts V_1
4411
+ # account_id: "AccountId", # required
4412
+ # arn: "S3BucketArnString", # required
4413
+ # prefix: "Prefix",
4414
+ # encryption: {
4415
+ # sses3: {
4416
+ # },
4417
+ # ssekms: {
4418
+ # key_id: "SSEKMSKeyId", # required
4419
+ # },
4420
+ # },
4421
+ # },
4422
+ # },
4423
+ # is_enabled: false, # required
4424
+ # aws_org: {
4425
+ # arn: "AwsOrgArn", # required
4426
+ # },
4427
+ # storage_lens_arn: "StorageLensArn",
4428
+ # }
4429
+ #
4430
+ # @!attribute [rw] id
4431
+ # A container for the Amazon S3 Storage Lens configuration ID.
4432
+ # @return [String]
4433
+ #
4434
+ # @!attribute [rw] account_level
4435
+ # A container for all the account-level configurations of your S3
4436
+ # Storage Lens configuration.
4437
+ # @return [Types::AccountLevel]
4438
+ #
4439
+ # @!attribute [rw] include
4440
+ # A container for what is included in this configuration. This
4441
+ # container can only be valid if there is no `Exclude` container
4442
+ # submitted, and it's not empty.
4443
+ # @return [Types::Include]
4444
+ #
4445
+ # @!attribute [rw] exclude
4446
+ # A container for what is excluded in this configuration. This
4447
+ # container can only be valid if there is no `Include` container
4448
+ # submitted, and it's not empty.
4449
+ # @return [Types::Exclude]
4450
+ #
4451
+ # @!attribute [rw] data_export
4452
+ # A container to specify the properties of your S3 Storage Lens
4453
+ # metrics export including, the destination, schema and format.
4454
+ # @return [Types::StorageLensDataExport]
4455
+ #
4456
+ # @!attribute [rw] is_enabled
4457
+ # A container for whether the S3 Storage Lens configuration is
4458
+ # enabled.
4459
+ # @return [Boolean]
4460
+ #
4461
+ # @!attribute [rw] aws_org
4462
+ # A container for the AWS organization for this S3 Storage Lens
4463
+ # configuration.
4464
+ # @return [Types::StorageLensAwsOrg]
4465
+ #
4466
+ # @!attribute [rw] storage_lens_arn
4467
+ # The Amazon Resource Name (ARN) of the S3 Storage Lens configuration.
4468
+ # This property is read-only and follows the following format: `
4469
+ # arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
4470
+ # `
4471
+ # @return [String]
4472
+ #
4473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensConfiguration AWS API Documentation
4474
+ #
4475
+ class StorageLensConfiguration < Struct.new(
4476
+ :id,
4477
+ :account_level,
4478
+ :include,
4479
+ :exclude,
4480
+ :data_export,
4481
+ :is_enabled,
4482
+ :aws_org,
4483
+ :storage_lens_arn)
4484
+ SENSITIVE = []
4485
+ include Aws::Structure
4486
+ end
4487
+
4488
+ # A container to specify the properties of your S3 Storage Lens metrics
4489
+ # export, including the destination, schema, and format.
4490
+ #
4491
+ # @note When making an API call, you may pass StorageLensDataExport
4492
+ # data as a hash:
4493
+ #
4494
+ # {
4495
+ # s3_bucket_destination: { # required
4496
+ # format: "CSV", # required, accepts CSV, Parquet
4497
+ # output_schema_version: "V_1", # required, accepts V_1
4498
+ # account_id: "AccountId", # required
4499
+ # arn: "S3BucketArnString", # required
4500
+ # prefix: "Prefix",
4501
+ # encryption: {
4502
+ # sses3: {
4503
+ # },
4504
+ # ssekms: {
4505
+ # key_id: "SSEKMSKeyId", # required
4506
+ # },
4507
+ # },
4508
+ # },
4509
+ # }
4510
+ #
4511
+ # @!attribute [rw] s3_bucket_destination
4512
+ # A container for the bucket where the S3 Storage Lens metrics export
4513
+ # will be located.
4514
+ # @return [Types::S3BucketDestination]
4515
+ #
4516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensDataExport AWS API Documentation
4517
+ #
4518
+ class StorageLensDataExport < Struct.new(
4519
+ :s3_bucket_destination)
4520
+ SENSITIVE = []
4521
+ include Aws::Structure
4522
+ end
4523
+
4524
+ # A container for the encryption of the S3 Storage Lens metrics exports.
4525
+ #
4526
+ # @note When making an API call, you may pass StorageLensDataExportEncryption
4527
+ # data as a hash:
4528
+ #
4529
+ # {
4530
+ # sses3: {
4531
+ # },
4532
+ # ssekms: {
4533
+ # key_id: "SSEKMSKeyId", # required
4534
+ # },
4535
+ # }
4536
+ #
4537
+ # @!attribute [rw] sses3
4538
+ # @return [Types::SSES3]
4539
+ #
4540
+ # @!attribute [rw] ssekms
4541
+ # @return [Types::SSEKMS]
4542
+ #
4543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensDataExportEncryption AWS API Documentation
4544
+ #
4545
+ class StorageLensDataExportEncryption < Struct.new(
4546
+ :sses3,
4547
+ :ssekms)
4548
+ SENSITIVE = []
4549
+ include Aws::Structure
4550
+ end
4551
+
4552
+ # @note When making an API call, you may pass StorageLensTag
4553
+ # data as a hash:
4554
+ #
4555
+ # {
4556
+ # key: "TagKeyString", # required
4557
+ # value: "TagValueString", # required
4558
+ # }
4559
+ #
4560
+ # @!attribute [rw] key
4561
+ # @return [String]
4562
+ #
4563
+ # @!attribute [rw] value
4564
+ # @return [String]
4565
+ #
4566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/StorageLensTag AWS API Documentation
4567
+ #
4568
+ class StorageLensTag < Struct.new(
4569
+ :key,
4570
+ :value)
4571
+ SENSITIVE = []
4572
+ include Aws::Structure
4573
+ end
4574
+
3580
4575
  # @note When making an API call, you may pass Tagging
3581
4576
  # data as a hash:
3582
4577
  #
@@ -3628,7 +4623,7 @@ module Aws::S3Control
3628
4623
 
3629
4624
  # Specifies when an object transitions to a specified storage class. For
3630
4625
  # more information about Amazon S3 Lifecycle configuration rules, see [
3631
- # Transitioning Objects Using Amazon S3 Lifecycle][1] in the *Amazon
4626
+ # Transitioning objects using Amazon S3 Lifecycle][1] in the *Amazon
3632
4627
  # Simple Storage Service Developer Guide*.
3633
4628
  #
3634
4629
  #