aws-sdk-s3 1.0.0.rc1 → 1.0.0.rc2

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.
@@ -20,12 +20,21 @@ module Aws
20
20
  AccelerateConfiguration = Shapes::StructureShape.new(name: 'AccelerateConfiguration')
21
21
  AcceptRanges = Shapes::StringShape.new(name: 'AcceptRanges')
22
22
  AccessControlPolicy = Shapes::StructureShape.new(name: 'AccessControlPolicy')
23
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
23
24
  AllowedHeader = Shapes::StringShape.new(name: 'AllowedHeader')
24
25
  AllowedHeaders = Shapes::ListShape.new(name: 'AllowedHeaders', flattened: true)
25
26
  AllowedMethod = Shapes::StringShape.new(name: 'AllowedMethod')
26
27
  AllowedMethods = Shapes::ListShape.new(name: 'AllowedMethods', flattened: true)
27
28
  AllowedOrigin = Shapes::StringShape.new(name: 'AllowedOrigin')
28
29
  AllowedOrigins = Shapes::ListShape.new(name: 'AllowedOrigins', flattened: true)
30
+ AnalyticsAndOperator = Shapes::StructureShape.new(name: 'AnalyticsAndOperator')
31
+ AnalyticsConfiguration = Shapes::StructureShape.new(name: 'AnalyticsConfiguration')
32
+ AnalyticsConfigurationList = Shapes::ListShape.new(name: 'AnalyticsConfigurationList', flattened: true)
33
+ AnalyticsExportDestination = Shapes::StructureShape.new(name: 'AnalyticsExportDestination')
34
+ AnalyticsFilter = Shapes::StructureShape.new(name: 'AnalyticsFilter')
35
+ AnalyticsId = Shapes::StringShape.new(name: 'AnalyticsId')
36
+ AnalyticsS3BucketDestination = Shapes::StructureShape.new(name: 'AnalyticsS3BucketDestination')
37
+ AnalyticsS3ExportFileFormat = Shapes::StringShape.new(name: 'AnalyticsS3ExportFileFormat')
29
38
  Body = Shapes::BlobShape.new(name: 'Body')
30
39
  Bucket = Shapes::StructureShape.new(name: 'Bucket')
31
40
  BucketAccelerateStatus = Shapes::StringShape.new(name: 'BucketAccelerateStatus')
@@ -86,8 +95,11 @@ module Aws
86
95
  Days = Shapes::IntegerShape.new(name: 'Days')
87
96
  DaysAfterInitiation = Shapes::IntegerShape.new(name: 'DaysAfterInitiation')
88
97
  Delete = Shapes::StructureShape.new(name: 'Delete')
98
+ DeleteBucketAnalyticsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketAnalyticsConfigurationRequest')
89
99
  DeleteBucketCorsRequest = Shapes::StructureShape.new(name: 'DeleteBucketCorsRequest')
100
+ DeleteBucketInventoryConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketInventoryConfigurationRequest')
90
101
  DeleteBucketLifecycleRequest = Shapes::StructureShape.new(name: 'DeleteBucketLifecycleRequest')
102
+ DeleteBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketMetricsConfigurationRequest')
91
103
  DeleteBucketPolicyRequest = Shapes::StructureShape.new(name: 'DeleteBucketPolicyRequest')
92
104
  DeleteBucketReplicationRequest = Shapes::StructureShape.new(name: 'DeleteBucketReplicationRequest')
93
105
  DeleteBucketRequest = Shapes::StructureShape.new(name: 'DeleteBucketRequest')
@@ -99,6 +111,8 @@ module Aws
99
111
  DeleteMarkers = Shapes::ListShape.new(name: 'DeleteMarkers', flattened: true)
100
112
  DeleteObjectOutput = Shapes::StructureShape.new(name: 'DeleteObjectOutput')
101
113
  DeleteObjectRequest = Shapes::StructureShape.new(name: 'DeleteObjectRequest')
114
+ DeleteObjectTaggingOutput = Shapes::StructureShape.new(name: 'DeleteObjectTaggingOutput')
115
+ DeleteObjectTaggingRequest = Shapes::StructureShape.new(name: 'DeleteObjectTaggingRequest')
102
116
  DeleteObjectsOutput = Shapes::StructureShape.new(name: 'DeleteObjectsOutput')
103
117
  DeleteObjectsRequest = Shapes::StructureShape.new(name: 'DeleteObjectsRequest')
104
118
  DeletedObject = Shapes::StructureShape.new(name: 'DeletedObject')
@@ -130,8 +144,12 @@ module Aws
130
144
  GetBucketAccelerateConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketAccelerateConfigurationRequest')
131
145
  GetBucketAclOutput = Shapes::StructureShape.new(name: 'GetBucketAclOutput')
132
146
  GetBucketAclRequest = Shapes::StructureShape.new(name: 'GetBucketAclRequest')
147
+ GetBucketAnalyticsConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketAnalyticsConfigurationOutput')
148
+ GetBucketAnalyticsConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketAnalyticsConfigurationRequest')
133
149
  GetBucketCorsOutput = Shapes::StructureShape.new(name: 'GetBucketCorsOutput')
134
150
  GetBucketCorsRequest = Shapes::StructureShape.new(name: 'GetBucketCorsRequest')
151
+ GetBucketInventoryConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketInventoryConfigurationOutput')
152
+ GetBucketInventoryConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketInventoryConfigurationRequest')
135
153
  GetBucketLifecycleConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketLifecycleConfigurationOutput')
136
154
  GetBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketLifecycleConfigurationRequest')
137
155
  GetBucketLifecycleOutput = Shapes::StructureShape.new(name: 'GetBucketLifecycleOutput')
@@ -140,6 +158,8 @@ module Aws
140
158
  GetBucketLocationRequest = Shapes::StructureShape.new(name: 'GetBucketLocationRequest')
141
159
  GetBucketLoggingOutput = Shapes::StructureShape.new(name: 'GetBucketLoggingOutput')
142
160
  GetBucketLoggingRequest = Shapes::StructureShape.new(name: 'GetBucketLoggingRequest')
161
+ GetBucketMetricsConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketMetricsConfigurationOutput')
162
+ GetBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketMetricsConfigurationRequest')
143
163
  GetBucketNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketNotificationConfigurationRequest')
144
164
  GetBucketPolicyOutput = Shapes::StructureShape.new(name: 'GetBucketPolicyOutput')
145
165
  GetBucketPolicyRequest = Shapes::StructureShape.new(name: 'GetBucketPolicyRequest')
@@ -157,6 +177,8 @@ module Aws
157
177
  GetObjectAclRequest = Shapes::StructureShape.new(name: 'GetObjectAclRequest')
158
178
  GetObjectOutput = Shapes::StructureShape.new(name: 'GetObjectOutput')
159
179
  GetObjectRequest = Shapes::StructureShape.new(name: 'GetObjectRequest')
180
+ GetObjectTaggingOutput = Shapes::StructureShape.new(name: 'GetObjectTaggingOutput')
181
+ GetObjectTaggingRequest = Shapes::StructureShape.new(name: 'GetObjectTaggingRequest')
160
182
  GetObjectTorrentOutput = Shapes::StructureShape.new(name: 'GetObjectTorrentOutput')
161
183
  GetObjectTorrentRequest = Shapes::StructureShape.new(name: 'GetObjectTorrentRequest')
162
184
  GlacierJobParameters = Shapes::StructureShape.new(name: 'GlacierJobParameters')
@@ -182,6 +204,19 @@ module Aws
182
204
  IndexDocument = Shapes::StructureShape.new(name: 'IndexDocument')
183
205
  Initiated = Shapes::TimestampShape.new(name: 'Initiated')
184
206
  Initiator = Shapes::StructureShape.new(name: 'Initiator')
207
+ InventoryConfiguration = Shapes::StructureShape.new(name: 'InventoryConfiguration')
208
+ InventoryConfigurationList = Shapes::ListShape.new(name: 'InventoryConfigurationList', flattened: true)
209
+ InventoryDestination = Shapes::StructureShape.new(name: 'InventoryDestination')
210
+ InventoryFilter = Shapes::StructureShape.new(name: 'InventoryFilter')
211
+ InventoryFormat = Shapes::StringShape.new(name: 'InventoryFormat')
212
+ InventoryFrequency = Shapes::StringShape.new(name: 'InventoryFrequency')
213
+ InventoryId = Shapes::StringShape.new(name: 'InventoryId')
214
+ InventoryIncludedObjectVersions = Shapes::StringShape.new(name: 'InventoryIncludedObjectVersions')
215
+ InventoryOptionalField = Shapes::StringShape.new(name: 'InventoryOptionalField')
216
+ InventoryOptionalFields = Shapes::ListShape.new(name: 'InventoryOptionalFields')
217
+ InventoryS3BucketDestination = Shapes::StructureShape.new(name: 'InventoryS3BucketDestination')
218
+ InventorySchedule = Shapes::StructureShape.new(name: 'InventorySchedule')
219
+ IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
185
220
  IsLatest = Shapes::BooleanShape.new(name: 'IsLatest')
186
221
  IsTruncated = Shapes::BooleanShape.new(name: 'IsTruncated')
187
222
  KeyCount = Shapes::IntegerShape.new(name: 'KeyCount')
@@ -194,7 +229,15 @@ module Aws
194
229
  LifecycleConfiguration = Shapes::StructureShape.new(name: 'LifecycleConfiguration')
195
230
  LifecycleExpiration = Shapes::StructureShape.new(name: 'LifecycleExpiration')
196
231
  LifecycleRule = Shapes::StructureShape.new(name: 'LifecycleRule')
232
+ LifecycleRuleAndOperator = Shapes::StructureShape.new(name: 'LifecycleRuleAndOperator')
233
+ LifecycleRuleFilter = Shapes::StructureShape.new(name: 'LifecycleRuleFilter')
197
234
  LifecycleRules = Shapes::ListShape.new(name: 'LifecycleRules', flattened: true)
235
+ ListBucketAnalyticsConfigurationsOutput = Shapes::StructureShape.new(name: 'ListBucketAnalyticsConfigurationsOutput')
236
+ ListBucketAnalyticsConfigurationsRequest = Shapes::StructureShape.new(name: 'ListBucketAnalyticsConfigurationsRequest')
237
+ ListBucketInventoryConfigurationsOutput = Shapes::StructureShape.new(name: 'ListBucketInventoryConfigurationsOutput')
238
+ ListBucketInventoryConfigurationsRequest = Shapes::StructureShape.new(name: 'ListBucketInventoryConfigurationsRequest')
239
+ ListBucketMetricsConfigurationsOutput = Shapes::StructureShape.new(name: 'ListBucketMetricsConfigurationsOutput')
240
+ ListBucketMetricsConfigurationsRequest = Shapes::StructureShape.new(name: 'ListBucketMetricsConfigurationsRequest')
198
241
  ListBucketsOutput = Shapes::StructureShape.new(name: 'ListBucketsOutput')
199
242
  ListMultipartUploadsOutput = Shapes::StructureShape.new(name: 'ListMultipartUploadsOutput')
200
243
  ListMultipartUploadsRequest = Shapes::StructureShape.new(name: 'ListMultipartUploadsRequest')
@@ -221,6 +264,11 @@ module Aws
221
264
  MetadataDirective = Shapes::StringShape.new(name: 'MetadataDirective')
222
265
  MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
223
266
  MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
267
+ MetricsAndOperator = Shapes::StructureShape.new(name: 'MetricsAndOperator')
268
+ MetricsConfiguration = Shapes::StructureShape.new(name: 'MetricsConfiguration')
269
+ MetricsConfigurationList = Shapes::ListShape.new(name: 'MetricsConfigurationList', flattened: true)
270
+ MetricsFilter = Shapes::StructureShape.new(name: 'MetricsFilter')
271
+ MetricsId = Shapes::StringShape.new(name: 'MetricsId')
224
272
  MissingMeta = Shapes::IntegerShape.new(name: 'MissingMeta')
225
273
  MultipartUpload = Shapes::StructureShape.new(name: 'MultipartUpload')
226
274
  MultipartUploadId = Shapes::StringShape.new(name: 'MultipartUploadId')
@@ -267,10 +315,13 @@ module Aws
267
315
  Protocol = Shapes::StringShape.new(name: 'Protocol')
268
316
  PutBucketAccelerateConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketAccelerateConfigurationRequest')
269
317
  PutBucketAclRequest = Shapes::StructureShape.new(name: 'PutBucketAclRequest')
318
+ PutBucketAnalyticsConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketAnalyticsConfigurationRequest')
270
319
  PutBucketCorsRequest = Shapes::StructureShape.new(name: 'PutBucketCorsRequest')
320
+ PutBucketInventoryConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketInventoryConfigurationRequest')
271
321
  PutBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketLifecycleConfigurationRequest')
272
322
  PutBucketLifecycleRequest = Shapes::StructureShape.new(name: 'PutBucketLifecycleRequest')
273
323
  PutBucketLoggingRequest = Shapes::StructureShape.new(name: 'PutBucketLoggingRequest')
324
+ PutBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketMetricsConfigurationRequest')
274
325
  PutBucketNotificationConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketNotificationConfigurationRequest')
275
326
  PutBucketNotificationRequest = Shapes::StructureShape.new(name: 'PutBucketNotificationRequest')
276
327
  PutBucketPolicyRequest = Shapes::StructureShape.new(name: 'PutBucketPolicyRequest')
@@ -283,6 +334,8 @@ module Aws
283
334
  PutObjectAclRequest = Shapes::StructureShape.new(name: 'PutObjectAclRequest')
284
335
  PutObjectOutput = Shapes::StructureShape.new(name: 'PutObjectOutput')
285
336
  PutObjectRequest = Shapes::StructureShape.new(name: 'PutObjectRequest')
337
+ PutObjectTaggingOutput = Shapes::StructureShape.new(name: 'PutObjectTaggingOutput')
338
+ PutObjectTaggingRequest = Shapes::StructureShape.new(name: 'PutObjectTaggingRequest')
286
339
  QueueArn = Shapes::StringShape.new(name: 'QueueArn')
287
340
  QueueConfiguration = Shapes::StructureShape.new(name: 'QueueConfiguration')
288
341
  QueueConfigurationDeprecated = Shapes::StructureShape.new(name: 'QueueConfigurationDeprecated')
@@ -325,10 +378,16 @@ module Aws
325
378
  Size = Shapes::IntegerShape.new(name: 'Size')
326
379
  StartAfter = Shapes::StringShape.new(name: 'StartAfter')
327
380
  StorageClass = Shapes::StringShape.new(name: 'StorageClass')
381
+ StorageClassAnalysis = Shapes::StructureShape.new(name: 'StorageClassAnalysis')
382
+ StorageClassAnalysisDataExport = Shapes::StructureShape.new(name: 'StorageClassAnalysisDataExport')
383
+ StorageClassAnalysisSchemaVersion = Shapes::StringShape.new(name: 'StorageClassAnalysisSchemaVersion')
328
384
  Suffix = Shapes::StringShape.new(name: 'Suffix')
329
385
  Tag = Shapes::StructureShape.new(name: 'Tag')
386
+ TagCount = Shapes::IntegerShape.new(name: 'TagCount')
330
387
  TagSet = Shapes::ListShape.new(name: 'TagSet')
331
388
  Tagging = Shapes::StructureShape.new(name: 'Tagging')
389
+ TaggingDirective = Shapes::StringShape.new(name: 'TaggingDirective')
390
+ TaggingHeader = Shapes::StringShape.new(name: 'TaggingHeader')
332
391
  TargetBucket = Shapes::StringShape.new(name: 'TargetBucket')
333
392
  TargetGrant = Shapes::StructureShape.new(name: 'TargetGrant')
334
393
  TargetGrants = Shapes::ListShape.new(name: 'TargetGrants')
@@ -380,6 +439,31 @@ module Aws
380
439
 
381
440
  AllowedOrigins.member = Shapes::ShapeRef.new(shape: AllowedOrigin)
382
441
 
442
+ AnalyticsAndOperator.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
443
+ AnalyticsAndOperator.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, location_name: "Tag", metadata: {"flattened"=>true}))
444
+ AnalyticsAndOperator.struct_class = Types::AnalyticsAndOperator
445
+
446
+ AnalyticsConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: AnalyticsId, required: true, location_name: "Id"))
447
+ AnalyticsConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: AnalyticsFilter, location_name: "Filter"))
448
+ AnalyticsConfiguration.add_member(:storage_class_analysis, Shapes::ShapeRef.new(shape: StorageClassAnalysis, required: true, location_name: "StorageClassAnalysis"))
449
+ AnalyticsConfiguration.struct_class = Types::AnalyticsConfiguration
450
+
451
+ AnalyticsConfigurationList.member = Shapes::ShapeRef.new(shape: AnalyticsConfiguration)
452
+
453
+ AnalyticsExportDestination.add_member(:s3_bucket_destination, Shapes::ShapeRef.new(shape: AnalyticsS3BucketDestination, required: true, location_name: "S3BucketDestination"))
454
+ AnalyticsExportDestination.struct_class = Types::AnalyticsExportDestination
455
+
456
+ AnalyticsFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
457
+ AnalyticsFilter.add_member(:tag, Shapes::ShapeRef.new(shape: Tag, location_name: "Tag"))
458
+ AnalyticsFilter.add_member(:and, Shapes::ShapeRef.new(shape: AnalyticsAndOperator, location_name: "And"))
459
+ AnalyticsFilter.struct_class = Types::AnalyticsFilter
460
+
461
+ AnalyticsS3BucketDestination.add_member(:format, Shapes::ShapeRef.new(shape: AnalyticsS3ExportFileFormat, required: true, location_name: "Format"))
462
+ AnalyticsS3BucketDestination.add_member(:bucket_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "BucketAccountId"))
463
+ AnalyticsS3BucketDestination.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
464
+ AnalyticsS3BucketDestination.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
465
+ AnalyticsS3BucketDestination.struct_class = Types::AnalyticsS3BucketDestination
466
+
383
467
  Bucket.add_member(:name, Shapes::ShapeRef.new(shape: BucketName, location_name: "Name"))
384
468
  Bucket.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
385
469
  Bucket.struct_class = Types::Bucket
@@ -482,6 +566,7 @@ module Aws
482
566
  CopyObjectRequest.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location: "uri", location_name: "Key"))
483
567
  CopyObjectRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location: "headers", location_name: "x-amz-meta-"))
484
568
  CopyObjectRequest.add_member(:metadata_directive, Shapes::ShapeRef.new(shape: MetadataDirective, location: "header", location_name: "x-amz-metadata-directive"))
569
+ CopyObjectRequest.add_member(:tagging_directive, Shapes::ShapeRef.new(shape: TaggingDirective, location: "header", location_name: "x-amz-tagging-directive"))
485
570
  CopyObjectRequest.add_member(:server_side_encryption, Shapes::ShapeRef.new(shape: ServerSideEncryption, location: "header", location_name: "x-amz-server-side-encryption"))
486
571
  CopyObjectRequest.add_member(:storage_class, Shapes::ShapeRef.new(shape: StorageClass, location: "header", location_name: "x-amz-storage-class"))
487
572
  CopyObjectRequest.add_member(:website_redirect_location, Shapes::ShapeRef.new(shape: WebsiteRedirectLocation, location: "header", location_name: "x-amz-website-redirect-location"))
@@ -493,6 +578,7 @@ module Aws
493
578
  CopyObjectRequest.add_member(:copy_source_sse_customer_key, Shapes::ShapeRef.new(shape: CopySourceSSECustomerKey, location: "header", location_name: "x-amz-copy-source-server-side-encryption-customer-key"))
494
579
  CopyObjectRequest.add_member(:copy_source_sse_customer_key_md5, Shapes::ShapeRef.new(shape: CopySourceSSECustomerKeyMD5, location: "header", location_name: "x-amz-copy-source-server-side-encryption-customer-key-MD5"))
495
580
  CopyObjectRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
581
+ CopyObjectRequest.add_member(:tagging, Shapes::ShapeRef.new(shape: TaggingHeader, location: "header", location_name: "x-amz-tagging"))
496
582
  CopyObjectRequest.struct_class = Types::CopyObjectRequest
497
583
 
498
584
  CopyObjectResult.add_member(:etag, Shapes::ShapeRef.new(shape: ETag, location_name: "ETag"))
@@ -561,12 +647,24 @@ module Aws
561
647
  Delete.add_member(:quiet, Shapes::ShapeRef.new(shape: Quiet, location_name: "Quiet"))
562
648
  Delete.struct_class = Types::Delete
563
649
 
650
+ DeleteBucketAnalyticsConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
651
+ DeleteBucketAnalyticsConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: AnalyticsId, required: true, location: "querystring", location_name: "id"))
652
+ DeleteBucketAnalyticsConfigurationRequest.struct_class = Types::DeleteBucketAnalyticsConfigurationRequest
653
+
564
654
  DeleteBucketCorsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
565
655
  DeleteBucketCorsRequest.struct_class = Types::DeleteBucketCorsRequest
566
656
 
657
+ DeleteBucketInventoryConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
658
+ DeleteBucketInventoryConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: InventoryId, required: true, location: "querystring", location_name: "id"))
659
+ DeleteBucketInventoryConfigurationRequest.struct_class = Types::DeleteBucketInventoryConfigurationRequest
660
+
567
661
  DeleteBucketLifecycleRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
568
662
  DeleteBucketLifecycleRequest.struct_class = Types::DeleteBucketLifecycleRequest
569
663
 
664
+ DeleteBucketMetricsConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
665
+ DeleteBucketMetricsConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: MetricsId, required: true, location: "querystring", location_name: "id"))
666
+ DeleteBucketMetricsConfigurationRequest.struct_class = Types::DeleteBucketMetricsConfigurationRequest
667
+
570
668
  DeleteBucketPolicyRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
571
669
  DeleteBucketPolicyRequest.struct_class = Types::DeleteBucketPolicyRequest
572
670
 
@@ -603,6 +701,14 @@ module Aws
603
701
  DeleteObjectRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
604
702
  DeleteObjectRequest.struct_class = Types::DeleteObjectRequest
605
703
 
704
+ DeleteObjectTaggingOutput.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "header", location_name: "x-amz-version-id"))
705
+ DeleteObjectTaggingOutput.struct_class = Types::DeleteObjectTaggingOutput
706
+
707
+ DeleteObjectTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
708
+ DeleteObjectTaggingRequest.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location: "uri", location_name: "Key"))
709
+ DeleteObjectTaggingRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "querystring", location_name: "versionId"))
710
+ DeleteObjectTaggingRequest.struct_class = Types::DeleteObjectTaggingRequest
711
+
606
712
  DeleteObjectsOutput.add_member(:deleted, Shapes::ShapeRef.new(shape: DeletedObjects, location_name: "Deleted"))
607
713
  DeleteObjectsOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
608
714
  DeleteObjectsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: Errors, location_name: "Error"))
@@ -662,12 +768,30 @@ module Aws
662
768
  GetBucketAclRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
663
769
  GetBucketAclRequest.struct_class = Types::GetBucketAclRequest
664
770
 
771
+ GetBucketAnalyticsConfigurationOutput.add_member(:analytics_configuration, Shapes::ShapeRef.new(shape: AnalyticsConfiguration, location_name: "AnalyticsConfiguration"))
772
+ GetBucketAnalyticsConfigurationOutput.struct_class = Types::GetBucketAnalyticsConfigurationOutput
773
+ GetBucketAnalyticsConfigurationOutput[:payload] = :analytics_configuration
774
+ GetBucketAnalyticsConfigurationOutput[:payload_member] = GetBucketAnalyticsConfigurationOutput.member(:analytics_configuration)
775
+
776
+ GetBucketAnalyticsConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
777
+ GetBucketAnalyticsConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: AnalyticsId, required: true, location: "querystring", location_name: "id"))
778
+ GetBucketAnalyticsConfigurationRequest.struct_class = Types::GetBucketAnalyticsConfigurationRequest
779
+
665
780
  GetBucketCorsOutput.add_member(:cors_rules, Shapes::ShapeRef.new(shape: CORSRules, location_name: "CORSRule"))
666
781
  GetBucketCorsOutput.struct_class = Types::GetBucketCorsOutput
667
782
 
668
783
  GetBucketCorsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
669
784
  GetBucketCorsRequest.struct_class = Types::GetBucketCorsRequest
670
785
 
786
+ GetBucketInventoryConfigurationOutput.add_member(:inventory_configuration, Shapes::ShapeRef.new(shape: InventoryConfiguration, location_name: "InventoryConfiguration"))
787
+ GetBucketInventoryConfigurationOutput.struct_class = Types::GetBucketInventoryConfigurationOutput
788
+ GetBucketInventoryConfigurationOutput[:payload] = :inventory_configuration
789
+ GetBucketInventoryConfigurationOutput[:payload_member] = GetBucketInventoryConfigurationOutput.member(:inventory_configuration)
790
+
791
+ GetBucketInventoryConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
792
+ GetBucketInventoryConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: InventoryId, required: true, location: "querystring", location_name: "id"))
793
+ GetBucketInventoryConfigurationRequest.struct_class = Types::GetBucketInventoryConfigurationRequest
794
+
671
795
  GetBucketLifecycleConfigurationOutput.add_member(:rules, Shapes::ShapeRef.new(shape: LifecycleRules, location_name: "Rule"))
672
796
  GetBucketLifecycleConfigurationOutput.struct_class = Types::GetBucketLifecycleConfigurationOutput
673
797
 
@@ -692,6 +816,15 @@ module Aws
692
816
  GetBucketLoggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
693
817
  GetBucketLoggingRequest.struct_class = Types::GetBucketLoggingRequest
694
818
 
819
+ GetBucketMetricsConfigurationOutput.add_member(:metrics_configuration, Shapes::ShapeRef.new(shape: MetricsConfiguration, location_name: "MetricsConfiguration"))
820
+ GetBucketMetricsConfigurationOutput.struct_class = Types::GetBucketMetricsConfigurationOutput
821
+ GetBucketMetricsConfigurationOutput[:payload] = :metrics_configuration
822
+ GetBucketMetricsConfigurationOutput[:payload_member] = GetBucketMetricsConfigurationOutput.member(:metrics_configuration)
823
+
824
+ GetBucketMetricsConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
825
+ GetBucketMetricsConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: MetricsId, required: true, location: "querystring", location_name: "id"))
826
+ GetBucketMetricsConfigurationRequest.struct_class = Types::GetBucketMetricsConfigurationRequest
827
+
695
828
  GetBucketNotificationConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
696
829
  GetBucketNotificationConfigurationRequest.struct_class = Types::GetBucketNotificationConfigurationRequest
697
830
 
@@ -778,6 +911,7 @@ module Aws
778
911
  GetObjectOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
779
912
  GetObjectOutput.add_member(:replication_status, Shapes::ShapeRef.new(shape: ReplicationStatus, location: "header", location_name: "x-amz-replication-status"))
780
913
  GetObjectOutput.add_member(:parts_count, Shapes::ShapeRef.new(shape: PartsCount, location: "header", location_name: "x-amz-mp-parts-count"))
914
+ GetObjectOutput.add_member(:tag_count, Shapes::ShapeRef.new(shape: TagCount, location: "header", location_name: "x-amz-tagging-count"))
781
915
  GetObjectOutput.struct_class = Types::GetObjectOutput
782
916
  GetObjectOutput[:payload] = :body
783
917
  GetObjectOutput[:payload_member] = GetObjectOutput.member(:body)
@@ -803,6 +937,15 @@ module Aws
803
937
  GetObjectRequest.add_member(:part_number, Shapes::ShapeRef.new(shape: PartNumber, location: "querystring", location_name: "partNumber"))
804
938
  GetObjectRequest.struct_class = Types::GetObjectRequest
805
939
 
940
+ GetObjectTaggingOutput.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "header", location_name: "x-amz-version-id"))
941
+ GetObjectTaggingOutput.add_member(:tag_set, Shapes::ShapeRef.new(shape: TagSet, required: true, location_name: "TagSet"))
942
+ GetObjectTaggingOutput.struct_class = Types::GetObjectTaggingOutput
943
+
944
+ GetObjectTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
945
+ GetObjectTaggingRequest.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location: "uri", location_name: "Key"))
946
+ GetObjectTaggingRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "querystring", location_name: "versionId"))
947
+ GetObjectTaggingRequest.struct_class = Types::GetObjectTaggingRequest
948
+
806
949
  GetObjectTorrentOutput.add_member(:body, Shapes::ShapeRef.new(shape: Body, location_name: "Body", metadata: {"streaming"=>true}))
807
950
  GetObjectTorrentOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
808
951
  GetObjectTorrentOutput.struct_class = Types::GetObjectTorrentOutput
@@ -883,6 +1026,34 @@ module Aws
883
1026
  Initiator.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
884
1027
  Initiator.struct_class = Types::Initiator
885
1028
 
1029
+ InventoryConfiguration.add_member(:destination, Shapes::ShapeRef.new(shape: InventoryDestination, required: true, location_name: "Destination"))
1030
+ InventoryConfiguration.add_member(:is_enabled, Shapes::ShapeRef.new(shape: IsEnabled, required: true, location_name: "IsEnabled"))
1031
+ InventoryConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: InventoryFilter, location_name: "Filter"))
1032
+ InventoryConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: InventoryId, required: true, location_name: "Id"))
1033
+ InventoryConfiguration.add_member(:included_object_versions, Shapes::ShapeRef.new(shape: InventoryIncludedObjectVersions, required: true, location_name: "IncludedObjectVersions"))
1034
+ InventoryConfiguration.add_member(:optional_fields, Shapes::ShapeRef.new(shape: InventoryOptionalFields, location_name: "OptionalFields"))
1035
+ InventoryConfiguration.add_member(:schedule, Shapes::ShapeRef.new(shape: InventorySchedule, required: true, location_name: "Schedule"))
1036
+ InventoryConfiguration.struct_class = Types::InventoryConfiguration
1037
+
1038
+ InventoryConfigurationList.member = Shapes::ShapeRef.new(shape: InventoryConfiguration)
1039
+
1040
+ InventoryDestination.add_member(:s3_bucket_destination, Shapes::ShapeRef.new(shape: InventoryS3BucketDestination, required: true, location_name: "S3BucketDestination"))
1041
+ InventoryDestination.struct_class = Types::InventoryDestination
1042
+
1043
+ InventoryFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "Prefix"))
1044
+ InventoryFilter.struct_class = Types::InventoryFilter
1045
+
1046
+ InventoryOptionalFields.member = Shapes::ShapeRef.new(shape: InventoryOptionalField, location_name: "Field")
1047
+
1048
+ InventoryS3BucketDestination.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
1049
+ InventoryS3BucketDestination.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "Bucket"))
1050
+ InventoryS3BucketDestination.add_member(:format, Shapes::ShapeRef.new(shape: InventoryFormat, required: true, location_name: "Format"))
1051
+ InventoryS3BucketDestination.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
1052
+ InventoryS3BucketDestination.struct_class = Types::InventoryS3BucketDestination
1053
+
1054
+ InventorySchedule.add_member(:frequency, Shapes::ShapeRef.new(shape: InventoryFrequency, required: true, location_name: "Frequency"))
1055
+ InventorySchedule.struct_class = Types::InventorySchedule
1056
+
886
1057
  LambdaFunctionConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: NotificationId, location_name: "Id"))
887
1058
  LambdaFunctionConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: LambdaFunctionArn, required: true, location_name: "CloudFunction"))
888
1059
  LambdaFunctionConfiguration.add_member(:events, Shapes::ShapeRef.new(shape: EventList, required: true, location_name: "Event"))
@@ -901,7 +1072,8 @@ module Aws
901
1072
 
902
1073
  LifecycleRule.add_member(:expiration, Shapes::ShapeRef.new(shape: LifecycleExpiration, location_name: "Expiration"))
903
1074
  LifecycleRule.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "ID"))
904
- LifecycleRule.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "Prefix"))
1075
+ LifecycleRule.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, deprecated: true, location_name: "Prefix"))
1076
+ LifecycleRule.add_member(:filter, Shapes::ShapeRef.new(shape: LifecycleRuleFilter, location_name: "Filter"))
905
1077
  LifecycleRule.add_member(:status, Shapes::ShapeRef.new(shape: ExpirationStatus, required: true, location_name: "Status"))
906
1078
  LifecycleRule.add_member(:transitions, Shapes::ShapeRef.new(shape: TransitionList, location_name: "Transition"))
907
1079
  LifecycleRule.add_member(:noncurrent_version_transitions, Shapes::ShapeRef.new(shape: NoncurrentVersionTransitionList, location_name: "NoncurrentVersionTransition"))
@@ -909,8 +1081,47 @@ module Aws
909
1081
  LifecycleRule.add_member(:abort_incomplete_multipart_upload, Shapes::ShapeRef.new(shape: AbortIncompleteMultipartUpload, location_name: "AbortIncompleteMultipartUpload"))
910
1082
  LifecycleRule.struct_class = Types::LifecycleRule
911
1083
 
1084
+ LifecycleRuleAndOperator.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
1085
+ LifecycleRuleAndOperator.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, location_name: "Tag", metadata: {"flattened"=>true}))
1086
+ LifecycleRuleAndOperator.struct_class = Types::LifecycleRuleAndOperator
1087
+
1088
+ LifecycleRuleFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
1089
+ LifecycleRuleFilter.add_member(:tag, Shapes::ShapeRef.new(shape: Tag, location_name: "Tag"))
1090
+ LifecycleRuleFilter.add_member(:and, Shapes::ShapeRef.new(shape: LifecycleRuleAndOperator, location_name: "And"))
1091
+ LifecycleRuleFilter.struct_class = Types::LifecycleRuleFilter
1092
+
912
1093
  LifecycleRules.member = Shapes::ShapeRef.new(shape: LifecycleRule)
913
1094
 
1095
+ ListBucketAnalyticsConfigurationsOutput.add_member(:is_truncated, Shapes::ShapeRef.new(shape: IsTruncated, location_name: "IsTruncated"))
1096
+ ListBucketAnalyticsConfigurationsOutput.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location_name: "ContinuationToken"))
1097
+ ListBucketAnalyticsConfigurationsOutput.add_member(:next_continuation_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextContinuationToken"))
1098
+ ListBucketAnalyticsConfigurationsOutput.add_member(:analytics_configuration_list, Shapes::ShapeRef.new(shape: AnalyticsConfigurationList, location_name: "AnalyticsConfiguration"))
1099
+ ListBucketAnalyticsConfigurationsOutput.struct_class = Types::ListBucketAnalyticsConfigurationsOutput
1100
+
1101
+ ListBucketAnalyticsConfigurationsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1102
+ ListBucketAnalyticsConfigurationsRequest.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "continuation-token"))
1103
+ ListBucketAnalyticsConfigurationsRequest.struct_class = Types::ListBucketAnalyticsConfigurationsRequest
1104
+
1105
+ ListBucketInventoryConfigurationsOutput.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location_name: "ContinuationToken"))
1106
+ ListBucketInventoryConfigurationsOutput.add_member(:inventory_configuration_list, Shapes::ShapeRef.new(shape: InventoryConfigurationList, location_name: "InventoryConfiguration"))
1107
+ ListBucketInventoryConfigurationsOutput.add_member(:is_truncated, Shapes::ShapeRef.new(shape: IsTruncated, location_name: "IsTruncated"))
1108
+ ListBucketInventoryConfigurationsOutput.add_member(:next_continuation_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextContinuationToken"))
1109
+ ListBucketInventoryConfigurationsOutput.struct_class = Types::ListBucketInventoryConfigurationsOutput
1110
+
1111
+ ListBucketInventoryConfigurationsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1112
+ ListBucketInventoryConfigurationsRequest.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "continuation-token"))
1113
+ ListBucketInventoryConfigurationsRequest.struct_class = Types::ListBucketInventoryConfigurationsRequest
1114
+
1115
+ ListBucketMetricsConfigurationsOutput.add_member(:is_truncated, Shapes::ShapeRef.new(shape: IsTruncated, location_name: "IsTruncated"))
1116
+ ListBucketMetricsConfigurationsOutput.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location_name: "ContinuationToken"))
1117
+ ListBucketMetricsConfigurationsOutput.add_member(:next_continuation_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextContinuationToken"))
1118
+ ListBucketMetricsConfigurationsOutput.add_member(:metrics_configuration_list, Shapes::ShapeRef.new(shape: MetricsConfigurationList, location_name: "MetricsConfiguration"))
1119
+ ListBucketMetricsConfigurationsOutput.struct_class = Types::ListBucketMetricsConfigurationsOutput
1120
+
1121
+ ListBucketMetricsConfigurationsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1122
+ ListBucketMetricsConfigurationsRequest.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "continuation-token"))
1123
+ ListBucketMetricsConfigurationsRequest.struct_class = Types::ListBucketMetricsConfigurationsRequest
1124
+
914
1125
  ListBucketsOutput.add_member(:buckets, Shapes::ShapeRef.new(shape: Buckets, location_name: "Buckets"))
915
1126
  ListBucketsOutput.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
916
1127
  ListBucketsOutput.struct_class = Types::ListBucketsOutput
@@ -1040,6 +1251,21 @@ module Aws
1040
1251
  Metadata.key = Shapes::ShapeRef.new(shape: MetadataKey)
1041
1252
  Metadata.value = Shapes::ShapeRef.new(shape: MetadataValue)
1042
1253
 
1254
+ MetricsAndOperator.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
1255
+ MetricsAndOperator.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, location_name: "Tag", metadata: {"flattened"=>true}))
1256
+ MetricsAndOperator.struct_class = Types::MetricsAndOperator
1257
+
1258
+ MetricsConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: MetricsId, required: true, location_name: "Id"))
1259
+ MetricsConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: MetricsFilter, location_name: "Filter"))
1260
+ MetricsConfiguration.struct_class = Types::MetricsConfiguration
1261
+
1262
+ MetricsConfigurationList.member = Shapes::ShapeRef.new(shape: MetricsConfiguration)
1263
+
1264
+ MetricsFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
1265
+ MetricsFilter.add_member(:tag, Shapes::ShapeRef.new(shape: Tag, location_name: "Tag"))
1266
+ MetricsFilter.add_member(:and, Shapes::ShapeRef.new(shape: MetricsAndOperator, location_name: "And"))
1267
+ MetricsFilter.struct_class = Types::MetricsFilter
1268
+
1043
1269
  MultipartUpload.add_member(:upload_id, Shapes::ShapeRef.new(shape: MultipartUploadId, location_name: "UploadId"))
1044
1270
  MultipartUpload.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, location_name: "Key"))
1045
1271
  MultipartUpload.add_member(:initiated, Shapes::ShapeRef.new(shape: Initiated, location_name: "Initiated"))
@@ -1131,6 +1357,13 @@ module Aws
1131
1357
  PutBucketAclRequest[:payload] = :access_control_policy
1132
1358
  PutBucketAclRequest[:payload_member] = PutBucketAclRequest.member(:access_control_policy)
1133
1359
 
1360
+ PutBucketAnalyticsConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1361
+ PutBucketAnalyticsConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: AnalyticsId, required: true, location: "querystring", location_name: "id"))
1362
+ PutBucketAnalyticsConfigurationRequest.add_member(:analytics_configuration, Shapes::ShapeRef.new(shape: AnalyticsConfiguration, required: true, location_name: "AnalyticsConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
1363
+ PutBucketAnalyticsConfigurationRequest.struct_class = Types::PutBucketAnalyticsConfigurationRequest
1364
+ PutBucketAnalyticsConfigurationRequest[:payload] = :analytics_configuration
1365
+ PutBucketAnalyticsConfigurationRequest[:payload_member] = PutBucketAnalyticsConfigurationRequest.member(:analytics_configuration)
1366
+
1134
1367
  PutBucketCorsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1135
1368
  PutBucketCorsRequest.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: CORSConfiguration, required: true, location_name: "CORSConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
1136
1369
  PutBucketCorsRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
@@ -1138,6 +1371,13 @@ module Aws
1138
1371
  PutBucketCorsRequest[:payload] = :cors_configuration
1139
1372
  PutBucketCorsRequest[:payload_member] = PutBucketCorsRequest.member(:cors_configuration)
1140
1373
 
1374
+ PutBucketInventoryConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1375
+ PutBucketInventoryConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: InventoryId, required: true, location: "querystring", location_name: "id"))
1376
+ PutBucketInventoryConfigurationRequest.add_member(:inventory_configuration, Shapes::ShapeRef.new(shape: InventoryConfiguration, required: true, location_name: "InventoryConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
1377
+ PutBucketInventoryConfigurationRequest.struct_class = Types::PutBucketInventoryConfigurationRequest
1378
+ PutBucketInventoryConfigurationRequest[:payload] = :inventory_configuration
1379
+ PutBucketInventoryConfigurationRequest[:payload_member] = PutBucketInventoryConfigurationRequest.member(:inventory_configuration)
1380
+
1141
1381
  PutBucketLifecycleConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1142
1382
  PutBucketLifecycleConfigurationRequest.add_member(:lifecycle_configuration, Shapes::ShapeRef.new(shape: BucketLifecycleConfiguration, location_name: "LifecycleConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
1143
1383
  PutBucketLifecycleConfigurationRequest.struct_class = Types::PutBucketLifecycleConfigurationRequest
@@ -1158,6 +1398,13 @@ module Aws
1158
1398
  PutBucketLoggingRequest[:payload] = :bucket_logging_status
1159
1399
  PutBucketLoggingRequest[:payload_member] = PutBucketLoggingRequest.member(:bucket_logging_status)
1160
1400
 
1401
+ PutBucketMetricsConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1402
+ PutBucketMetricsConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: MetricsId, required: true, location: "querystring", location_name: "id"))
1403
+ PutBucketMetricsConfigurationRequest.add_member(:metrics_configuration, Shapes::ShapeRef.new(shape: MetricsConfiguration, required: true, location_name: "MetricsConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
1404
+ PutBucketMetricsConfigurationRequest.struct_class = Types::PutBucketMetricsConfigurationRequest
1405
+ PutBucketMetricsConfigurationRequest[:payload] = :metrics_configuration
1406
+ PutBucketMetricsConfigurationRequest[:payload_member] = PutBucketMetricsConfigurationRequest.member(:metrics_configuration)
1407
+
1161
1408
  PutBucketNotificationConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1162
1409
  PutBucketNotificationConfigurationRequest.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, required: true, location_name: "NotificationConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
1163
1410
  PutBucketNotificationConfigurationRequest.struct_class = Types::PutBucketNotificationConfigurationRequest
@@ -1268,10 +1515,23 @@ module Aws
1268
1515
  PutObjectRequest.add_member(:sse_customer_key_md5, Shapes::ShapeRef.new(shape: SSECustomerKeyMD5, location: "header", location_name: "x-amz-server-side-encryption-customer-key-MD5"))
1269
1516
  PutObjectRequest.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
1270
1517
  PutObjectRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
1518
+ PutObjectRequest.add_member(:tagging, Shapes::ShapeRef.new(shape: TaggingHeader, location: "header", location_name: "x-amz-tagging"))
1271
1519
  PutObjectRequest.struct_class = Types::PutObjectRequest
1272
1520
  PutObjectRequest[:payload] = :body
1273
1521
  PutObjectRequest[:payload_member] = PutObjectRequest.member(:body)
1274
1522
 
1523
+ PutObjectTaggingOutput.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "header", location_name: "x-amz-version-id"))
1524
+ PutObjectTaggingOutput.struct_class = Types::PutObjectTaggingOutput
1525
+
1526
+ PutObjectTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
1527
+ PutObjectTaggingRequest.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location: "uri", location_name: "Key"))
1528
+ PutObjectTaggingRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "querystring", location_name: "versionId"))
1529
+ PutObjectTaggingRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
1530
+ PutObjectTaggingRequest.add_member(:tagging, Shapes::ShapeRef.new(shape: Tagging, required: true, location_name: "Tagging", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
1531
+ PutObjectTaggingRequest.struct_class = Types::PutObjectTaggingRequest
1532
+ PutObjectTaggingRequest[:payload] = :tagging
1533
+ PutObjectTaggingRequest[:payload_member] = PutObjectTaggingRequest.member(:tagging)
1534
+
1275
1535
  QueueConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: NotificationId, location_name: "Id"))
1276
1536
  QueueConfiguration.add_member(:queue_arn, Shapes::ShapeRef.new(shape: QueueArn, required: true, location_name: "Queue"))
1277
1537
  QueueConfiguration.add_member(:events, Shapes::ShapeRef.new(shape: EventList, required: true, location_name: "Event"))
@@ -1349,6 +1609,13 @@ module Aws
1349
1609
  S3KeyFilter.add_member(:filter_rules, Shapes::ShapeRef.new(shape: FilterRuleList, location_name: "FilterRule"))
1350
1610
  S3KeyFilter.struct_class = Types::S3KeyFilter
1351
1611
 
1612
+ StorageClassAnalysis.add_member(:data_export, Shapes::ShapeRef.new(shape: StorageClassAnalysisDataExport, location_name: "DataExport"))
1613
+ StorageClassAnalysis.struct_class = Types::StorageClassAnalysis
1614
+
1615
+ StorageClassAnalysisDataExport.add_member(:output_schema_version, Shapes::ShapeRef.new(shape: StorageClassAnalysisSchemaVersion, required: true, location_name: "OutputSchemaVersion"))
1616
+ StorageClassAnalysisDataExport.add_member(:destination, Shapes::ShapeRef.new(shape: AnalyticsExportDestination, required: true, location_name: "Destination"))
1617
+ StorageClassAnalysisDataExport.struct_class = Types::StorageClassAnalysisDataExport
1618
+
1352
1619
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location_name: "Key"))
1353
1620
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: Value, required: true, location_name: "Value"))
1354
1621
  Tag.struct_class = Types::Tag
@@ -1513,6 +1780,14 @@ module Aws
1513
1780
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1514
1781
  end)
1515
1782
 
1783
+ api.add_operation(:delete_bucket_analytics_configuration, Seahorse::Model::Operation.new.tap do |o|
1784
+ o.name = "DeleteBucketAnalyticsConfiguration"
1785
+ o.http_method = "DELETE"
1786
+ o.http_request_uri = "/{Bucket}?analytics"
1787
+ o.input = Shapes::ShapeRef.new(shape: DeleteBucketAnalyticsConfigurationRequest)
1788
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1789
+ end)
1790
+
1516
1791
  api.add_operation(:delete_bucket_cors, Seahorse::Model::Operation.new.tap do |o|
1517
1792
  o.name = "DeleteBucketCors"
1518
1793
  o.http_method = "DELETE"
@@ -1521,6 +1796,14 @@ module Aws
1521
1796
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1522
1797
  end)
1523
1798
 
1799
+ api.add_operation(:delete_bucket_inventory_configuration, Seahorse::Model::Operation.new.tap do |o|
1800
+ o.name = "DeleteBucketInventoryConfiguration"
1801
+ o.http_method = "DELETE"
1802
+ o.http_request_uri = "/{Bucket}?inventory"
1803
+ o.input = Shapes::ShapeRef.new(shape: DeleteBucketInventoryConfigurationRequest)
1804
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1805
+ end)
1806
+
1524
1807
  api.add_operation(:delete_bucket_lifecycle, Seahorse::Model::Operation.new.tap do |o|
1525
1808
  o.name = "DeleteBucketLifecycle"
1526
1809
  o.http_method = "DELETE"
@@ -1529,6 +1812,14 @@ module Aws
1529
1812
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1530
1813
  end)
1531
1814
 
1815
+ api.add_operation(:delete_bucket_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
1816
+ o.name = "DeleteBucketMetricsConfiguration"
1817
+ o.http_method = "DELETE"
1818
+ o.http_request_uri = "/{Bucket}?metrics"
1819
+ o.input = Shapes::ShapeRef.new(shape: DeleteBucketMetricsConfigurationRequest)
1820
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1821
+ end)
1822
+
1532
1823
  api.add_operation(:delete_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
1533
1824
  o.name = "DeleteBucketPolicy"
1534
1825
  o.http_method = "DELETE"
@@ -1569,6 +1860,14 @@ module Aws
1569
1860
  o.output = Shapes::ShapeRef.new(shape: DeleteObjectOutput)
1570
1861
  end)
1571
1862
 
1863
+ api.add_operation(:delete_object_tagging, Seahorse::Model::Operation.new.tap do |o|
1864
+ o.name = "DeleteObjectTagging"
1865
+ o.http_method = "DELETE"
1866
+ o.http_request_uri = "/{Bucket}/{Key+}?tagging"
1867
+ o.input = Shapes::ShapeRef.new(shape: DeleteObjectTaggingRequest)
1868
+ o.output = Shapes::ShapeRef.new(shape: DeleteObjectTaggingOutput)
1869
+ end)
1870
+
1572
1871
  api.add_operation(:delete_objects, Seahorse::Model::Operation.new.tap do |o|
1573
1872
  o.name = "DeleteObjects"
1574
1873
  o.http_method = "POST"
@@ -1593,6 +1892,14 @@ module Aws
1593
1892
  o.output = Shapes::ShapeRef.new(shape: GetBucketAclOutput)
1594
1893
  end)
1595
1894
 
1895
+ api.add_operation(:get_bucket_analytics_configuration, Seahorse::Model::Operation.new.tap do |o|
1896
+ o.name = "GetBucketAnalyticsConfiguration"
1897
+ o.http_method = "GET"
1898
+ o.http_request_uri = "/{Bucket}?analytics"
1899
+ o.input = Shapes::ShapeRef.new(shape: GetBucketAnalyticsConfigurationRequest)
1900
+ o.output = Shapes::ShapeRef.new(shape: GetBucketAnalyticsConfigurationOutput)
1901
+ end)
1902
+
1596
1903
  api.add_operation(:get_bucket_cors, Seahorse::Model::Operation.new.tap do |o|
1597
1904
  o.name = "GetBucketCors"
1598
1905
  o.http_method = "GET"
@@ -1601,6 +1908,14 @@ module Aws
1601
1908
  o.output = Shapes::ShapeRef.new(shape: GetBucketCorsOutput)
1602
1909
  end)
1603
1910
 
1911
+ api.add_operation(:get_bucket_inventory_configuration, Seahorse::Model::Operation.new.tap do |o|
1912
+ o.name = "GetBucketInventoryConfiguration"
1913
+ o.http_method = "GET"
1914
+ o.http_request_uri = "/{Bucket}?inventory"
1915
+ o.input = Shapes::ShapeRef.new(shape: GetBucketInventoryConfigurationRequest)
1916
+ o.output = Shapes::ShapeRef.new(shape: GetBucketInventoryConfigurationOutput)
1917
+ end)
1918
+
1604
1919
  api.add_operation(:get_bucket_lifecycle, Seahorse::Model::Operation.new.tap do |o|
1605
1920
  o.name = "GetBucketLifecycle"
1606
1921
  o.http_method = "GET"
@@ -1634,6 +1949,14 @@ module Aws
1634
1949
  o.output = Shapes::ShapeRef.new(shape: GetBucketLoggingOutput)
1635
1950
  end)
1636
1951
 
1952
+ api.add_operation(:get_bucket_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
1953
+ o.name = "GetBucketMetricsConfiguration"
1954
+ o.http_method = "GET"
1955
+ o.http_request_uri = "/{Bucket}?metrics"
1956
+ o.input = Shapes::ShapeRef.new(shape: GetBucketMetricsConfigurationRequest)
1957
+ o.output = Shapes::ShapeRef.new(shape: GetBucketMetricsConfigurationOutput)
1958
+ end)
1959
+
1637
1960
  api.add_operation(:get_bucket_notification, Seahorse::Model::Operation.new.tap do |o|
1638
1961
  o.name = "GetBucketNotification"
1639
1962
  o.http_method = "GET"
@@ -1717,6 +2040,14 @@ module Aws
1717
2040
  o.errors << Shapes::ShapeRef.new(shape: NoSuchKey)
1718
2041
  end)
1719
2042
 
2043
+ api.add_operation(:get_object_tagging, Seahorse::Model::Operation.new.tap do |o|
2044
+ o.name = "GetObjectTagging"
2045
+ o.http_method = "GET"
2046
+ o.http_request_uri = "/{Bucket}/{Key+}?tagging"
2047
+ o.input = Shapes::ShapeRef.new(shape: GetObjectTaggingRequest)
2048
+ o.output = Shapes::ShapeRef.new(shape: GetObjectTaggingOutput)
2049
+ end)
2050
+
1720
2051
  api.add_operation(:get_object_torrent, Seahorse::Model::Operation.new.tap do |o|
1721
2052
  o.name = "GetObjectTorrent"
1722
2053
  o.http_method = "GET"
@@ -1743,6 +2074,30 @@ module Aws
1743
2074
  o.errors << Shapes::ShapeRef.new(shape: NoSuchKey)
1744
2075
  end)
1745
2076
 
2077
+ api.add_operation(:list_bucket_analytics_configurations, Seahorse::Model::Operation.new.tap do |o|
2078
+ o.name = "ListBucketAnalyticsConfigurations"
2079
+ o.http_method = "GET"
2080
+ o.http_request_uri = "/{Bucket}?analytics"
2081
+ o.input = Shapes::ShapeRef.new(shape: ListBucketAnalyticsConfigurationsRequest)
2082
+ o.output = Shapes::ShapeRef.new(shape: ListBucketAnalyticsConfigurationsOutput)
2083
+ end)
2084
+
2085
+ api.add_operation(:list_bucket_inventory_configurations, Seahorse::Model::Operation.new.tap do |o|
2086
+ o.name = "ListBucketInventoryConfigurations"
2087
+ o.http_method = "GET"
2088
+ o.http_request_uri = "/{Bucket}?inventory"
2089
+ o.input = Shapes::ShapeRef.new(shape: ListBucketInventoryConfigurationsRequest)
2090
+ o.output = Shapes::ShapeRef.new(shape: ListBucketInventoryConfigurationsOutput)
2091
+ end)
2092
+
2093
+ api.add_operation(:list_bucket_metrics_configurations, Seahorse::Model::Operation.new.tap do |o|
2094
+ o.name = "ListBucketMetricsConfigurations"
2095
+ o.http_method = "GET"
2096
+ o.http_request_uri = "/{Bucket}?metrics"
2097
+ o.input = Shapes::ShapeRef.new(shape: ListBucketMetricsConfigurationsRequest)
2098
+ o.output = Shapes::ShapeRef.new(shape: ListBucketMetricsConfigurationsOutput)
2099
+ end)
2100
+
1746
2101
  api.add_operation(:list_buckets, Seahorse::Model::Operation.new.tap do |o|
1747
2102
  o.name = "ListBuckets"
1748
2103
  o.http_method = "GET"
@@ -1845,6 +2200,14 @@ module Aws
1845
2200
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1846
2201
  end)
1847
2202
 
2203
+ api.add_operation(:put_bucket_analytics_configuration, Seahorse::Model::Operation.new.tap do |o|
2204
+ o.name = "PutBucketAnalyticsConfiguration"
2205
+ o.http_method = "PUT"
2206
+ o.http_request_uri = "/{Bucket}?analytics"
2207
+ o.input = Shapes::ShapeRef.new(shape: PutBucketAnalyticsConfigurationRequest)
2208
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2209
+ end)
2210
+
1848
2211
  api.add_operation(:put_bucket_cors, Seahorse::Model::Operation.new.tap do |o|
1849
2212
  o.name = "PutBucketCors"
1850
2213
  o.http_method = "PUT"
@@ -1853,6 +2216,14 @@ module Aws
1853
2216
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1854
2217
  end)
1855
2218
 
2219
+ api.add_operation(:put_bucket_inventory_configuration, Seahorse::Model::Operation.new.tap do |o|
2220
+ o.name = "PutBucketInventoryConfiguration"
2221
+ o.http_method = "PUT"
2222
+ o.http_request_uri = "/{Bucket}?inventory"
2223
+ o.input = Shapes::ShapeRef.new(shape: PutBucketInventoryConfigurationRequest)
2224
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2225
+ end)
2226
+
1856
2227
  api.add_operation(:put_bucket_lifecycle, Seahorse::Model::Operation.new.tap do |o|
1857
2228
  o.name = "PutBucketLifecycle"
1858
2229
  o.http_method = "PUT"
@@ -1878,6 +2249,14 @@ module Aws
1878
2249
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1879
2250
  end)
1880
2251
 
2252
+ api.add_operation(:put_bucket_metrics_configuration, Seahorse::Model::Operation.new.tap do |o|
2253
+ o.name = "PutBucketMetricsConfiguration"
2254
+ o.http_method = "PUT"
2255
+ o.http_request_uri = "/{Bucket}?metrics"
2256
+ o.input = Shapes::ShapeRef.new(shape: PutBucketMetricsConfigurationRequest)
2257
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2258
+ end)
2259
+
1881
2260
  api.add_operation(:put_bucket_notification, Seahorse::Model::Operation.new.tap do |o|
1882
2261
  o.name = "PutBucketNotification"
1883
2262
  o.http_method = "PUT"
@@ -1960,6 +2339,14 @@ module Aws
1960
2339
  o.errors << Shapes::ShapeRef.new(shape: NoSuchKey)
1961
2340
  end)
1962
2341
 
2342
+ api.add_operation(:put_object_tagging, Seahorse::Model::Operation.new.tap do |o|
2343
+ o.name = "PutObjectTagging"
2344
+ o.http_method = "PUT"
2345
+ o.http_request_uri = "/{Bucket}/{Key+}?tagging"
2346
+ o.input = Shapes::ShapeRef.new(shape: PutObjectTaggingRequest)
2347
+ o.output = Shapes::ShapeRef.new(shape: PutObjectTaggingOutput)
2348
+ end)
2349
+
1963
2350
  api.add_operation(:restore_object, Seahorse::Model::Operation.new.tap do |o|
1964
2351
  o.name = "RestoreObject"
1965
2352
  o.http_method = "POST"