aws-sdk-s3 1.188.0 → 1.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +43 -4
- data/lib/aws-sdk-s3/client.rb +1114 -98
- data/lib/aws-sdk-s3/client_api.rb +228 -0
- data/lib/aws-sdk-s3/endpoints.rb +84 -0
- data/lib/aws-sdk-s3/errors.rb +11 -0
- data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
- data/lib/aws-sdk-s3/object.rb +58 -12
- data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
- data/lib/aws-sdk-s3/object_summary.rb +34 -11
- data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
- data/lib/aws-sdk-s3/resource.rb +6 -0
- data/lib/aws-sdk-s3/types.rb +1107 -49
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +12 -3
- data/sig/client.rbs +141 -30
- data/sig/errors.rbs +2 -0
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +13 -10
- data/sig/object_summary.rbs +9 -9
- data/sig/resource.rbs +8 -1
- data/sig/types.rbs +182 -29
- metadata +4 -4
@@ -81,6 +81,7 @@ module Aws::S3
|
|
81
81
|
ChecksumSHA1 = Shapes::StringShape.new(name: 'ChecksumSHA1')
|
82
82
|
ChecksumSHA256 = Shapes::StringShape.new(name: 'ChecksumSHA256')
|
83
83
|
ChecksumType = Shapes::StringShape.new(name: 'ChecksumType')
|
84
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
84
85
|
CloudFunction = Shapes::StringShape.new(name: 'CloudFunction')
|
85
86
|
CloudFunctionConfiguration = Shapes::StructureShape.new(name: 'CloudFunctionConfiguration')
|
86
87
|
CloudFunctionInvocationRole = Shapes::StringShape.new(name: 'CloudFunctionInvocationRole')
|
@@ -119,6 +120,7 @@ module Aws::S3
|
|
119
120
|
CopySourceSSECustomerKeyMD5 = Shapes::StringShape.new(name: 'CopySourceSSECustomerKeyMD5')
|
120
121
|
CopySourceVersionId = Shapes::StringShape.new(name: 'CopySourceVersionId')
|
121
122
|
CreateBucketConfiguration = Shapes::StructureShape.new(name: 'CreateBucketConfiguration')
|
123
|
+
CreateBucketMetadataConfigurationRequest = Shapes::StructureShape.new(name: 'CreateBucketMetadataConfigurationRequest')
|
122
124
|
CreateBucketMetadataTableConfigurationRequest = Shapes::StructureShape.new(name: 'CreateBucketMetadataTableConfigurationRequest')
|
123
125
|
CreateBucketOutput = Shapes::StructureShape.new(name: 'CreateBucketOutput')
|
124
126
|
CreateBucketRequest = Shapes::StructureShape.new(name: 'CreateBucketRequest')
|
@@ -139,6 +141,7 @@ module Aws::S3
|
|
139
141
|
DeleteBucketIntelligentTieringConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketIntelligentTieringConfigurationRequest')
|
140
142
|
DeleteBucketInventoryConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketInventoryConfigurationRequest')
|
141
143
|
DeleteBucketLifecycleRequest = Shapes::StructureShape.new(name: 'DeleteBucketLifecycleRequest')
|
144
|
+
DeleteBucketMetadataConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketMetadataConfigurationRequest')
|
142
145
|
DeleteBucketMetadataTableConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketMetadataTableConfigurationRequest')
|
143
146
|
DeleteBucketMetricsConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteBucketMetricsConfigurationRequest')
|
144
147
|
DeleteBucketOwnershipControlsRequest = Shapes::StructureShape.new(name: 'DeleteBucketOwnershipControlsRequest')
|
@@ -165,6 +168,7 @@ module Aws::S3
|
|
165
168
|
Delimiter = Shapes::StringShape.new(name: 'Delimiter')
|
166
169
|
Description = Shapes::StringShape.new(name: 'Description')
|
167
170
|
Destination = Shapes::StructureShape.new(name: 'Destination')
|
171
|
+
DestinationResult = Shapes::StructureShape.new(name: 'DestinationResult')
|
168
172
|
DirectoryBucketToken = Shapes::StringShape.new(name: 'DirectoryBucketToken')
|
169
173
|
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
170
174
|
ETag = Shapes::StringShape.new(name: 'ETag')
|
@@ -188,6 +192,7 @@ module Aws::S3
|
|
188
192
|
ExistingObjectReplication = Shapes::StructureShape.new(name: 'ExistingObjectReplication')
|
189
193
|
ExistingObjectReplicationStatus = Shapes::StringShape.new(name: 'ExistingObjectReplicationStatus')
|
190
194
|
Expiration = Shapes::StringShape.new(name: 'Expiration')
|
195
|
+
ExpirationState = Shapes::StringShape.new(name: 'ExpirationState')
|
191
196
|
ExpirationStatus = Shapes::StringShape.new(name: 'ExpirationStatus')
|
192
197
|
ExpiredObjectDeleteMarker = Shapes::BooleanShape.new(name: 'ExpiredObjectDeleteMarker')
|
193
198
|
Expires = Shapes::TimestampShape.new(name: 'Expires')
|
@@ -225,6 +230,9 @@ module Aws::S3
|
|
225
230
|
GetBucketLocationRequest = Shapes::StructureShape.new(name: 'GetBucketLocationRequest')
|
226
231
|
GetBucketLoggingOutput = Shapes::StructureShape.new(name: 'GetBucketLoggingOutput')
|
227
232
|
GetBucketLoggingRequest = Shapes::StructureShape.new(name: 'GetBucketLoggingRequest')
|
233
|
+
GetBucketMetadataConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketMetadataConfigurationOutput')
|
234
|
+
GetBucketMetadataConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketMetadataConfigurationRequest')
|
235
|
+
GetBucketMetadataConfigurationResult = Shapes::StructureShape.new(name: 'GetBucketMetadataConfigurationResult')
|
228
236
|
GetBucketMetadataTableConfigurationOutput = Shapes::StructureShape.new(name: 'GetBucketMetadataTableConfigurationOutput')
|
229
237
|
GetBucketMetadataTableConfigurationRequest = Shapes::StructureShape.new(name: 'GetBucketMetadataTableConfigurationRequest')
|
230
238
|
GetBucketMetadataTableConfigurationResult = Shapes::StructureShape.new(name: 'GetBucketMetadataTableConfigurationResult')
|
@@ -284,6 +292,7 @@ module Aws::S3
|
|
284
292
|
HttpErrorCodeReturnedEquals = Shapes::StringShape.new(name: 'HttpErrorCodeReturnedEquals')
|
285
293
|
HttpRedirectCode = Shapes::StringShape.new(name: 'HttpRedirectCode')
|
286
294
|
ID = Shapes::StringShape.new(name: 'ID')
|
295
|
+
IdempotencyParameterMismatch = Shapes::StructureShape.new(name: 'IdempotencyParameterMismatch')
|
287
296
|
IfMatch = Shapes::StringShape.new(name: 'IfMatch')
|
288
297
|
IfMatchInitiatedTime = Shapes::TimestampShape.new(name: 'IfMatchInitiatedTime', timestampFormat: "rfc822")
|
289
298
|
IfMatchLastModifiedTime = Shapes::TimestampShape.new(name: 'IfMatchLastModifiedTime', timestampFormat: "rfc822")
|
@@ -308,6 +317,7 @@ module Aws::S3
|
|
308
317
|
InvalidWriteOffset = Shapes::StructureShape.new(name: 'InvalidWriteOffset')
|
309
318
|
InventoryConfiguration = Shapes::StructureShape.new(name: 'InventoryConfiguration')
|
310
319
|
InventoryConfigurationList = Shapes::ListShape.new(name: 'InventoryConfigurationList', flattened: true)
|
320
|
+
InventoryConfigurationState = Shapes::StringShape.new(name: 'InventoryConfigurationState')
|
311
321
|
InventoryDestination = Shapes::StructureShape.new(name: 'InventoryDestination')
|
312
322
|
InventoryEncryption = Shapes::StructureShape.new(name: 'InventoryEncryption')
|
313
323
|
InventoryFilter = Shapes::StructureShape.new(name: 'InventoryFilter')
|
@@ -319,6 +329,9 @@ module Aws::S3
|
|
319
329
|
InventoryOptionalFields = Shapes::ListShape.new(name: 'InventoryOptionalFields')
|
320
330
|
InventoryS3BucketDestination = Shapes::StructureShape.new(name: 'InventoryS3BucketDestination')
|
321
331
|
InventorySchedule = Shapes::StructureShape.new(name: 'InventorySchedule')
|
332
|
+
InventoryTableConfiguration = Shapes::StructureShape.new(name: 'InventoryTableConfiguration')
|
333
|
+
InventoryTableConfigurationResult = Shapes::StructureShape.new(name: 'InventoryTableConfigurationResult')
|
334
|
+
InventoryTableConfigurationUpdates = Shapes::StructureShape.new(name: 'InventoryTableConfigurationUpdates')
|
322
335
|
IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
|
323
336
|
IsLatest = Shapes::BooleanShape.new(name: 'IsLatest')
|
324
337
|
IsPublic = Shapes::BooleanShape.new(name: 'IsPublic')
|
@@ -327,10 +340,14 @@ module Aws::S3
|
|
327
340
|
JSONInput = Shapes::StructureShape.new(name: 'JSONInput')
|
328
341
|
JSONOutput = Shapes::StructureShape.new(name: 'JSONOutput')
|
329
342
|
JSONType = Shapes::StringShape.new(name: 'JSONType')
|
343
|
+
JournalTableConfiguration = Shapes::StructureShape.new(name: 'JournalTableConfiguration')
|
344
|
+
JournalTableConfigurationResult = Shapes::StructureShape.new(name: 'JournalTableConfigurationResult')
|
345
|
+
JournalTableConfigurationUpdates = Shapes::StructureShape.new(name: 'JournalTableConfigurationUpdates')
|
330
346
|
KMSContext = Shapes::StringShape.new(name: 'KMSContext')
|
331
347
|
KeyCount = Shapes::IntegerShape.new(name: 'KeyCount')
|
332
348
|
KeyMarker = Shapes::StringShape.new(name: 'KeyMarker')
|
333
349
|
KeyPrefixEquals = Shapes::StringShape.new(name: 'KeyPrefixEquals')
|
350
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
334
351
|
LambdaFunctionArn = Shapes::StringShape.new(name: 'LambdaFunctionArn')
|
335
352
|
LambdaFunctionConfiguration = Shapes::StructureShape.new(name: 'LambdaFunctionConfiguration')
|
336
353
|
LambdaFunctionConfigurationList = Shapes::ListShape.new(name: 'LambdaFunctionConfigurationList', flattened: true)
|
@@ -382,11 +399,14 @@ module Aws::S3
|
|
382
399
|
MaxUploads = Shapes::IntegerShape.new(name: 'MaxUploads')
|
383
400
|
Message = Shapes::StringShape.new(name: 'Message')
|
384
401
|
Metadata = Shapes::MapShape.new(name: 'Metadata')
|
402
|
+
MetadataConfiguration = Shapes::StructureShape.new(name: 'MetadataConfiguration')
|
403
|
+
MetadataConfigurationResult = Shapes::StructureShape.new(name: 'MetadataConfigurationResult')
|
385
404
|
MetadataDirective = Shapes::StringShape.new(name: 'MetadataDirective')
|
386
405
|
MetadataEntry = Shapes::StructureShape.new(name: 'MetadataEntry')
|
387
406
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
388
407
|
MetadataTableConfiguration = Shapes::StructureShape.new(name: 'MetadataTableConfiguration')
|
389
408
|
MetadataTableConfigurationResult = Shapes::StructureShape.new(name: 'MetadataTableConfigurationResult')
|
409
|
+
MetadataTableEncryptionConfiguration = Shapes::StructureShape.new(name: 'MetadataTableEncryptionConfiguration')
|
390
410
|
MetadataTableStatus = Shapes::StringShape.new(name: 'MetadataTableStatus')
|
391
411
|
MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
|
392
412
|
Metrics = Shapes::StructureShape.new(name: 'Metrics')
|
@@ -521,10 +541,19 @@ module Aws::S3
|
|
521
541
|
QuoteFields = Shapes::StringShape.new(name: 'QuoteFields')
|
522
542
|
Range = Shapes::StringShape.new(name: 'Range')
|
523
543
|
RecordDelimiter = Shapes::StringShape.new(name: 'RecordDelimiter')
|
544
|
+
RecordExpiration = Shapes::StructureShape.new(name: 'RecordExpiration')
|
545
|
+
RecordExpirationDays = Shapes::IntegerShape.new(name: 'RecordExpirationDays')
|
524
546
|
RecordsEvent = Shapes::StructureShape.new(name: 'RecordsEvent')
|
525
547
|
Redirect = Shapes::StructureShape.new(name: 'Redirect')
|
526
548
|
RedirectAllRequestsTo = Shapes::StructureShape.new(name: 'RedirectAllRequestsTo')
|
527
549
|
Region = Shapes::StringShape.new(name: 'Region')
|
550
|
+
RenameObjectOutput = Shapes::StructureShape.new(name: 'RenameObjectOutput')
|
551
|
+
RenameObjectRequest = Shapes::StructureShape.new(name: 'RenameObjectRequest')
|
552
|
+
RenameSource = Shapes::StringShape.new(name: 'RenameSource')
|
553
|
+
RenameSourceIfMatch = Shapes::StringShape.new(name: 'RenameSourceIfMatch')
|
554
|
+
RenameSourceIfModifiedSince = Shapes::TimestampShape.new(name: 'RenameSourceIfModifiedSince', timestampFormat: "rfc822")
|
555
|
+
RenameSourceIfNoneMatch = Shapes::StringShape.new(name: 'RenameSourceIfNoneMatch')
|
556
|
+
RenameSourceIfUnmodifiedSince = Shapes::TimestampShape.new(name: 'RenameSourceIfUnmodifiedSince', timestampFormat: "rfc822")
|
528
557
|
ReplaceKeyPrefixWith = Shapes::StringShape.new(name: 'ReplaceKeyPrefixWith')
|
529
558
|
ReplaceKeyWith = Shapes::StringShape.new(name: 'ReplaceKeyWith')
|
530
559
|
ReplicaKmsKeyID = Shapes::StringShape.new(name: 'ReplicaKmsKeyID')
|
@@ -567,8 +596,10 @@ module Aws::S3
|
|
567
596
|
Rules = Shapes::ListShape.new(name: 'Rules', flattened: true)
|
568
597
|
S3KeyFilter = Shapes::StructureShape.new(name: 'S3KeyFilter')
|
569
598
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
599
|
+
S3RegionalOrS3ExpressBucketArnString = Shapes::StringShape.new(name: 'S3RegionalOrS3ExpressBucketArnString')
|
570
600
|
S3TablesArn = Shapes::StringShape.new(name: 'S3TablesArn')
|
571
601
|
S3TablesBucketArn = Shapes::StringShape.new(name: 'S3TablesBucketArn')
|
602
|
+
S3TablesBucketType = Shapes::StringShape.new(name: 'S3TablesBucketType')
|
572
603
|
S3TablesDestination = Shapes::StructureShape.new(name: 'S3TablesDestination')
|
573
604
|
S3TablesDestinationResult = Shapes::StructureShape.new(name: 'S3TablesDestinationResult')
|
574
605
|
S3TablesName = Shapes::StringShape.new(name: 'S3TablesName')
|
@@ -610,6 +641,7 @@ module Aws::S3
|
|
610
641
|
StorageClassAnalysisDataExport = Shapes::StructureShape.new(name: 'StorageClassAnalysisDataExport')
|
611
642
|
StorageClassAnalysisSchemaVersion = Shapes::StringShape.new(name: 'StorageClassAnalysisSchemaVersion')
|
612
643
|
Suffix = Shapes::StringShape.new(name: 'Suffix')
|
644
|
+
TableSseAlgorithm = Shapes::StringShape.new(name: 'TableSseAlgorithm')
|
613
645
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
614
646
|
TagCount = Shapes::IntegerShape.new(name: 'TagCount')
|
615
647
|
TagSet = Shapes::ListShape.new(name: 'TagSet')
|
@@ -636,6 +668,8 @@ module Aws::S3
|
|
636
668
|
TransitionStorageClass = Shapes::StringShape.new(name: 'TransitionStorageClass')
|
637
669
|
Type = Shapes::StringShape.new(name: 'Type')
|
638
670
|
URI = Shapes::StringShape.new(name: 'URI')
|
671
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateBucketMetadataInventoryTableConfigurationRequest')
|
672
|
+
UpdateBucketMetadataJournalTableConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateBucketMetadataJournalTableConfigurationRequest')
|
639
673
|
UploadIdMarker = Shapes::StringShape.new(name: 'UploadIdMarker')
|
640
674
|
UploadPartCopyOutput = Shapes::StructureShape.new(name: 'UploadPartCopyOutput')
|
641
675
|
UploadPartCopyRequest = Shapes::StructureShape.new(name: 'UploadPartCopyRequest')
|
@@ -710,6 +744,7 @@ module Aws::S3
|
|
710
744
|
Bucket.add_member(:name, Shapes::ShapeRef.new(shape: BucketName, location_name: "Name"))
|
711
745
|
Bucket.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "CreationDate"))
|
712
746
|
Bucket.add_member(:bucket_region, Shapes::ShapeRef.new(shape: BucketRegion, location_name: "BucketRegion"))
|
747
|
+
Bucket.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalOrS3ExpressBucketArnString, location_name: "BucketArn"))
|
713
748
|
Bucket.struct_class = Types::Bucket
|
714
749
|
|
715
750
|
BucketAlreadyExists.struct_class = Types::BucketAlreadyExists
|
@@ -919,8 +954,18 @@ module Aws::S3
|
|
919
954
|
CreateBucketConfiguration.add_member(:location_constraint, Shapes::ShapeRef.new(shape: BucketLocationConstraint, location_name: "LocationConstraint"))
|
920
955
|
CreateBucketConfiguration.add_member(:location, Shapes::ShapeRef.new(shape: LocationInfo, location_name: "Location"))
|
921
956
|
CreateBucketConfiguration.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketInfo, location_name: "Bucket"))
|
957
|
+
CreateBucketConfiguration.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, location_name: "Tags"))
|
922
958
|
CreateBucketConfiguration.struct_class = Types::CreateBucketConfiguration
|
923
959
|
|
960
|
+
CreateBucketMetadataConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
961
|
+
CreateBucketMetadataConfigurationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
962
|
+
CreateBucketMetadataConfigurationRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
|
963
|
+
CreateBucketMetadataConfigurationRequest.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, required: true, location_name: "MetadataConfiguration", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
964
|
+
CreateBucketMetadataConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
965
|
+
CreateBucketMetadataConfigurationRequest.struct_class = Types::CreateBucketMetadataConfigurationRequest
|
966
|
+
CreateBucketMetadataConfigurationRequest[:payload] = :metadata_configuration
|
967
|
+
CreateBucketMetadataConfigurationRequest[:payload_member] = CreateBucketMetadataConfigurationRequest.member(:metadata_configuration)
|
968
|
+
|
924
969
|
CreateBucketMetadataTableConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
925
970
|
CreateBucketMetadataTableConfigurationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
926
971
|
CreateBucketMetadataTableConfigurationRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
|
@@ -931,6 +976,7 @@ module Aws::S3
|
|
931
976
|
CreateBucketMetadataTableConfigurationRequest[:payload_member] = CreateBucketMetadataTableConfigurationRequest.member(:metadata_table_configuration)
|
932
977
|
|
933
978
|
CreateBucketOutput.add_member(:location, Shapes::ShapeRef.new(shape: Location, location: "header", location_name: "Location"))
|
979
|
+
CreateBucketOutput.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalOrS3ExpressBucketArnString, location: "header", location_name: "x-amz-bucket-arn"))
|
934
980
|
CreateBucketOutput.struct_class = Types::CreateBucketOutput
|
935
981
|
|
936
982
|
CreateBucketRequest.add_member(:acl, Shapes::ShapeRef.new(shape: BucketCannedACL, location: "header", location_name: "x-amz-acl"))
|
@@ -1035,6 +1081,7 @@ module Aws::S3
|
|
1035
1081
|
|
1036
1082
|
DeleteBucketIntelligentTieringConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
1037
1083
|
DeleteBucketIntelligentTieringConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: IntelligentTieringId, required: true, location: "querystring", location_name: "id"))
|
1084
|
+
DeleteBucketIntelligentTieringConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1038
1085
|
DeleteBucketIntelligentTieringConfigurationRequest.struct_class = Types::DeleteBucketIntelligentTieringConfigurationRequest
|
1039
1086
|
|
1040
1087
|
DeleteBucketInventoryConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
@@ -1046,6 +1093,10 @@ module Aws::S3
|
|
1046
1093
|
DeleteBucketLifecycleRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1047
1094
|
DeleteBucketLifecycleRequest.struct_class = Types::DeleteBucketLifecycleRequest
|
1048
1095
|
|
1096
|
+
DeleteBucketMetadataConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
1097
|
+
DeleteBucketMetadataConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1098
|
+
DeleteBucketMetadataConfigurationRequest.struct_class = Types::DeleteBucketMetadataConfigurationRequest
|
1099
|
+
|
1049
1100
|
DeleteBucketMetadataTableConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
1050
1101
|
DeleteBucketMetadataTableConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1051
1102
|
DeleteBucketMetadataTableConfigurationRequest.struct_class = Types::DeleteBucketMetadataTableConfigurationRequest
|
@@ -1154,6 +1205,11 @@ module Aws::S3
|
|
1154
1205
|
Destination.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
|
1155
1206
|
Destination.struct_class = Types::Destination
|
1156
1207
|
|
1208
|
+
DestinationResult.add_member(:table_bucket_type, Shapes::ShapeRef.new(shape: S3TablesBucketType, location_name: "TableBucketType"))
|
1209
|
+
DestinationResult.add_member(:table_bucket_arn, Shapes::ShapeRef.new(shape: S3TablesBucketArn, location_name: "TableBucketArn"))
|
1210
|
+
DestinationResult.add_member(:table_namespace, Shapes::ShapeRef.new(shape: S3TablesNamespace, location_name: "TableNamespace"))
|
1211
|
+
DestinationResult.struct_class = Types::DestinationResult
|
1212
|
+
|
1157
1213
|
Encryption.add_member(:encryption_type, Shapes::ShapeRef.new(shape: ServerSideEncryption, required: true, location_name: "EncryptionType"))
|
1158
1214
|
Encryption.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location_name: "KMSKeyId"))
|
1159
1215
|
Encryption.add_member(:kms_context, Shapes::ShapeRef.new(shape: KMSContext, location_name: "KMSContext"))
|
@@ -1246,6 +1302,7 @@ module Aws::S3
|
|
1246
1302
|
|
1247
1303
|
GetBucketIntelligentTieringConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
1248
1304
|
GetBucketIntelligentTieringConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: IntelligentTieringId, required: true, location: "querystring", location_name: "id"))
|
1305
|
+
GetBucketIntelligentTieringConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1249
1306
|
GetBucketIntelligentTieringConfigurationRequest.struct_class = Types::GetBucketIntelligentTieringConfigurationRequest
|
1250
1307
|
|
1251
1308
|
GetBucketInventoryConfigurationOutput.add_member(:inventory_configuration, Shapes::ShapeRef.new(shape: InventoryConfiguration, location_name: "InventoryConfiguration"))
|
@@ -1287,6 +1344,18 @@ module Aws::S3
|
|
1287
1344
|
GetBucketLoggingRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1288
1345
|
GetBucketLoggingRequest.struct_class = Types::GetBucketLoggingRequest
|
1289
1346
|
|
1347
|
+
GetBucketMetadataConfigurationOutput.add_member(:get_bucket_metadata_configuration_result, Shapes::ShapeRef.new(shape: GetBucketMetadataConfigurationResult, location_name: "GetBucketMetadataConfigurationResult"))
|
1348
|
+
GetBucketMetadataConfigurationOutput.struct_class = Types::GetBucketMetadataConfigurationOutput
|
1349
|
+
GetBucketMetadataConfigurationOutput[:payload] = :get_bucket_metadata_configuration_result
|
1350
|
+
GetBucketMetadataConfigurationOutput[:payload_member] = GetBucketMetadataConfigurationOutput.member(:get_bucket_metadata_configuration_result)
|
1351
|
+
|
1352
|
+
GetBucketMetadataConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
1353
|
+
GetBucketMetadataConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1354
|
+
GetBucketMetadataConfigurationRequest.struct_class = Types::GetBucketMetadataConfigurationRequest
|
1355
|
+
|
1356
|
+
GetBucketMetadataConfigurationResult.add_member(:metadata_configuration_result, Shapes::ShapeRef.new(shape: MetadataConfigurationResult, required: true, location_name: "MetadataConfigurationResult"))
|
1357
|
+
GetBucketMetadataConfigurationResult.struct_class = Types::GetBucketMetadataConfigurationResult
|
1358
|
+
|
1290
1359
|
GetBucketMetadataTableConfigurationOutput.add_member(:get_bucket_metadata_table_configuration_result, Shapes::ShapeRef.new(shape: GetBucketMetadataTableConfigurationResult, location_name: "GetBucketMetadataTableConfigurationResult"))
|
1291
1360
|
GetBucketMetadataTableConfigurationOutput.struct_class = Types::GetBucketMetadataTableConfigurationOutput
|
1292
1361
|
GetBucketMetadataTableConfigurationOutput[:payload] = :get_bucket_metadata_table_configuration_result
|
@@ -1574,6 +1643,7 @@ module Aws::S3
|
|
1574
1643
|
|
1575
1644
|
Grants.member = Shapes::ShapeRef.new(shape: Grant, location_name: "Grant")
|
1576
1645
|
|
1646
|
+
HeadBucketOutput.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3RegionalOrS3ExpressBucketArnString, location: "header", location_name: "x-amz-bucket-arn"))
|
1577
1647
|
HeadBucketOutput.add_member(:bucket_location_type, Shapes::ShapeRef.new(shape: LocationType, location: "header", location_name: "x-amz-bucket-location-type"))
|
1578
1648
|
HeadBucketOutput.add_member(:bucket_location_name, Shapes::ShapeRef.new(shape: BucketLocationName, location: "header", location_name: "x-amz-bucket-location-name"))
|
1579
1649
|
HeadBucketOutput.add_member(:bucket_region, Shapes::ShapeRef.new(shape: Region, location: "header", location_name: "x-amz-bucket-region"))
|
@@ -1619,6 +1689,7 @@ module Aws::S3
|
|
1619
1689
|
HeadObjectOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
|
1620
1690
|
HeadObjectOutput.add_member(:replication_status, Shapes::ShapeRef.new(shape: ReplicationStatus, location: "header", location_name: "x-amz-replication-status"))
|
1621
1691
|
HeadObjectOutput.add_member(:parts_count, Shapes::ShapeRef.new(shape: PartsCount, location: "header", location_name: "x-amz-mp-parts-count"))
|
1692
|
+
HeadObjectOutput.add_member(:tag_count, Shapes::ShapeRef.new(shape: TagCount, location: "header", location_name: "x-amz-tagging-count"))
|
1622
1693
|
HeadObjectOutput.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: ObjectLockMode, location: "header", location_name: "x-amz-object-lock-mode"))
|
1623
1694
|
HeadObjectOutput.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: ObjectLockRetainUntilDate, location: "header", location_name: "x-amz-object-lock-retain-until-date"))
|
1624
1695
|
HeadObjectOutput.add_member(:object_lock_legal_hold_status, Shapes::ShapeRef.new(shape: ObjectLockLegalHoldStatus, location: "header", location_name: "x-amz-object-lock-legal-hold"))
|
@@ -1647,6 +1718,8 @@ module Aws::S3
|
|
1647
1718
|
HeadObjectRequest.add_member(:checksum_mode, Shapes::ShapeRef.new(shape: ChecksumMode, location: "header", location_name: "x-amz-checksum-mode"))
|
1648
1719
|
HeadObjectRequest.struct_class = Types::HeadObjectRequest
|
1649
1720
|
|
1721
|
+
IdempotencyParameterMismatch.struct_class = Types::IdempotencyParameterMismatch
|
1722
|
+
|
1650
1723
|
IndexDocument.add_member(:suffix, Shapes::ShapeRef.new(shape: Suffix, required: true, location_name: "Suffix"))
|
1651
1724
|
IndexDocument.struct_class = Types::IndexDocument
|
1652
1725
|
|
@@ -1718,12 +1791,41 @@ module Aws::S3
|
|
1718
1791
|
InventorySchedule.add_member(:frequency, Shapes::ShapeRef.new(shape: InventoryFrequency, required: true, location_name: "Frequency"))
|
1719
1792
|
InventorySchedule.struct_class = Types::InventorySchedule
|
1720
1793
|
|
1794
|
+
InventoryTableConfiguration.add_member(:configuration_state, Shapes::ShapeRef.new(shape: InventoryConfigurationState, required: true, location_name: "ConfigurationState"))
|
1795
|
+
InventoryTableConfiguration.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: MetadataTableEncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
1796
|
+
InventoryTableConfiguration.struct_class = Types::InventoryTableConfiguration
|
1797
|
+
|
1798
|
+
InventoryTableConfigurationResult.add_member(:configuration_state, Shapes::ShapeRef.new(shape: InventoryConfigurationState, required: true, location_name: "ConfigurationState"))
|
1799
|
+
InventoryTableConfigurationResult.add_member(:table_status, Shapes::ShapeRef.new(shape: MetadataTableStatus, location_name: "TableStatus"))
|
1800
|
+
InventoryTableConfigurationResult.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "Error"))
|
1801
|
+
InventoryTableConfigurationResult.add_member(:table_name, Shapes::ShapeRef.new(shape: S3TablesName, location_name: "TableName"))
|
1802
|
+
InventoryTableConfigurationResult.add_member(:table_arn, Shapes::ShapeRef.new(shape: S3TablesArn, location_name: "TableArn"))
|
1803
|
+
InventoryTableConfigurationResult.struct_class = Types::InventoryTableConfigurationResult
|
1804
|
+
|
1805
|
+
InventoryTableConfigurationUpdates.add_member(:configuration_state, Shapes::ShapeRef.new(shape: InventoryConfigurationState, required: true, location_name: "ConfigurationState"))
|
1806
|
+
InventoryTableConfigurationUpdates.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: MetadataTableEncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
1807
|
+
InventoryTableConfigurationUpdates.struct_class = Types::InventoryTableConfigurationUpdates
|
1808
|
+
|
1721
1809
|
JSONInput.add_member(:type, Shapes::ShapeRef.new(shape: JSONType, location_name: "Type"))
|
1722
1810
|
JSONInput.struct_class = Types::JSONInput
|
1723
1811
|
|
1724
1812
|
JSONOutput.add_member(:record_delimiter, Shapes::ShapeRef.new(shape: RecordDelimiter, location_name: "RecordDelimiter"))
|
1725
1813
|
JSONOutput.struct_class = Types::JSONOutput
|
1726
1814
|
|
1815
|
+
JournalTableConfiguration.add_member(:record_expiration, Shapes::ShapeRef.new(shape: RecordExpiration, required: true, location_name: "RecordExpiration"))
|
1816
|
+
JournalTableConfiguration.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: MetadataTableEncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
1817
|
+
JournalTableConfiguration.struct_class = Types::JournalTableConfiguration
|
1818
|
+
|
1819
|
+
JournalTableConfigurationResult.add_member(:table_status, Shapes::ShapeRef.new(shape: MetadataTableStatus, required: true, location_name: "TableStatus"))
|
1820
|
+
JournalTableConfigurationResult.add_member(:error, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "Error"))
|
1821
|
+
JournalTableConfigurationResult.add_member(:table_name, Shapes::ShapeRef.new(shape: S3TablesName, required: true, location_name: "TableName"))
|
1822
|
+
JournalTableConfigurationResult.add_member(:table_arn, Shapes::ShapeRef.new(shape: S3TablesArn, location_name: "TableArn"))
|
1823
|
+
JournalTableConfigurationResult.add_member(:record_expiration, Shapes::ShapeRef.new(shape: RecordExpiration, required: true, location_name: "RecordExpiration"))
|
1824
|
+
JournalTableConfigurationResult.struct_class = Types::JournalTableConfigurationResult
|
1825
|
+
|
1826
|
+
JournalTableConfigurationUpdates.add_member(:record_expiration, Shapes::ShapeRef.new(shape: RecordExpiration, required: true, location_name: "RecordExpiration"))
|
1827
|
+
JournalTableConfigurationUpdates.struct_class = Types::JournalTableConfigurationUpdates
|
1828
|
+
|
1727
1829
|
LambdaFunctionConfiguration.add_member(:id, Shapes::ShapeRef.new(shape: NotificationId, location_name: "Id"))
|
1728
1830
|
LambdaFunctionConfiguration.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: LambdaFunctionArn, required: true, location_name: "CloudFunction"))
|
1729
1831
|
LambdaFunctionConfiguration.add_member(:events, Shapes::ShapeRef.new(shape: EventList, required: true, location_name: "Event"))
|
@@ -1785,6 +1887,7 @@ module Aws::S3
|
|
1785
1887
|
|
1786
1888
|
ListBucketIntelligentTieringConfigurationsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
1787
1889
|
ListBucketIntelligentTieringConfigurationsRequest.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "continuation-token"))
|
1890
|
+
ListBucketIntelligentTieringConfigurationsRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1788
1891
|
ListBucketIntelligentTieringConfigurationsRequest.struct_class = Types::ListBucketIntelligentTieringConfigurationsRequest
|
1789
1892
|
|
1790
1893
|
ListBucketInventoryConfigurationsOutput.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location_name: "ContinuationToken"))
|
@@ -1978,6 +2081,15 @@ module Aws::S3
|
|
1978
2081
|
Metadata.key = Shapes::ShapeRef.new(shape: MetadataKey)
|
1979
2082
|
Metadata.value = Shapes::ShapeRef.new(shape: MetadataValue)
|
1980
2083
|
|
2084
|
+
MetadataConfiguration.add_member(:journal_table_configuration, Shapes::ShapeRef.new(shape: JournalTableConfiguration, required: true, location_name: "JournalTableConfiguration"))
|
2085
|
+
MetadataConfiguration.add_member(:inventory_table_configuration, Shapes::ShapeRef.new(shape: InventoryTableConfiguration, location_name: "InventoryTableConfiguration"))
|
2086
|
+
MetadataConfiguration.struct_class = Types::MetadataConfiguration
|
2087
|
+
|
2088
|
+
MetadataConfigurationResult.add_member(:destination_result, Shapes::ShapeRef.new(shape: DestinationResult, required: true, location_name: "DestinationResult"))
|
2089
|
+
MetadataConfigurationResult.add_member(:journal_table_configuration_result, Shapes::ShapeRef.new(shape: JournalTableConfigurationResult, location_name: "JournalTableConfigurationResult"))
|
2090
|
+
MetadataConfigurationResult.add_member(:inventory_table_configuration_result, Shapes::ShapeRef.new(shape: InventoryTableConfigurationResult, location_name: "InventoryTableConfigurationResult"))
|
2091
|
+
MetadataConfigurationResult.struct_class = Types::MetadataConfigurationResult
|
2092
|
+
|
1981
2093
|
MetadataEntry.add_member(:name, Shapes::ShapeRef.new(shape: MetadataKey, location_name: "Name"))
|
1982
2094
|
MetadataEntry.add_member(:value, Shapes::ShapeRef.new(shape: MetadataValue, location_name: "Value"))
|
1983
2095
|
MetadataEntry.struct_class = Types::MetadataEntry
|
@@ -1988,6 +2100,10 @@ module Aws::S3
|
|
1988
2100
|
MetadataTableConfigurationResult.add_member(:s3_tables_destination_result, Shapes::ShapeRef.new(shape: S3TablesDestinationResult, required: true, location_name: "S3TablesDestinationResult"))
|
1989
2101
|
MetadataTableConfigurationResult.struct_class = Types::MetadataTableConfigurationResult
|
1990
2102
|
|
2103
|
+
MetadataTableEncryptionConfiguration.add_member(:sse_algorithm, Shapes::ShapeRef.new(shape: TableSseAlgorithm, required: true, location_name: "SseAlgorithm"))
|
2104
|
+
MetadataTableEncryptionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
|
2105
|
+
MetadataTableEncryptionConfiguration.struct_class = Types::MetadataTableEncryptionConfiguration
|
2106
|
+
|
1991
2107
|
Metrics.add_member(:status, Shapes::ShapeRef.new(shape: MetricsStatus, required: true, location_name: "Status"))
|
1992
2108
|
Metrics.add_member(:event_threshold, Shapes::ShapeRef.new(shape: ReplicationTimeValue, location_name: "EventThreshold"))
|
1993
2109
|
Metrics.struct_class = Types::Metrics
|
@@ -2227,6 +2343,7 @@ module Aws::S3
|
|
2227
2343
|
|
2228
2344
|
PutBucketIntelligentTieringConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
2229
2345
|
PutBucketIntelligentTieringConfigurationRequest.add_member(:id, Shapes::ShapeRef.new(shape: IntelligentTieringId, required: true, location: "querystring", location_name: "id"))
|
2346
|
+
PutBucketIntelligentTieringConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2230
2347
|
PutBucketIntelligentTieringConfigurationRequest.add_member(:intelligent_tiering_configuration, Shapes::ShapeRef.new(shape: IntelligentTieringConfiguration, required: true, location_name: "IntelligentTieringConfiguration", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
2231
2348
|
PutBucketIntelligentTieringConfigurationRequest.struct_class = Types::PutBucketIntelligentTieringConfigurationRequest
|
2232
2349
|
PutBucketIntelligentTieringConfigurationRequest[:payload] = :intelligent_tiering_configuration
|
@@ -2529,6 +2646,10 @@ module Aws::S3
|
|
2529
2646
|
|
2530
2647
|
QueueConfigurationList.member = Shapes::ShapeRef.new(shape: QueueConfiguration)
|
2531
2648
|
|
2649
|
+
RecordExpiration.add_member(:expiration, Shapes::ShapeRef.new(shape: ExpirationState, required: true, location_name: "Expiration"))
|
2650
|
+
RecordExpiration.add_member(:days, Shapes::ShapeRef.new(shape: RecordExpirationDays, location_name: "Days", metadata: {"box" => true}))
|
2651
|
+
RecordExpiration.struct_class = Types::RecordExpiration
|
2652
|
+
|
2532
2653
|
RecordsEvent.add_member(:payload, Shapes::ShapeRef.new(shape: Body, eventpayload: true, eventpayload_type: 'blob', location_name: "Payload", metadata: {"eventpayload" => true}))
|
2533
2654
|
RecordsEvent.struct_class = Types::RecordsEvent
|
2534
2655
|
|
@@ -2543,6 +2664,22 @@ module Aws::S3
|
|
2543
2664
|
RedirectAllRequestsTo.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "Protocol"))
|
2544
2665
|
RedirectAllRequestsTo.struct_class = Types::RedirectAllRequestsTo
|
2545
2666
|
|
2667
|
+
RenameObjectOutput.struct_class = Types::RenameObjectOutput
|
2668
|
+
|
2669
|
+
RenameObjectRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
2670
|
+
RenameObjectRequest.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location: "uri", location_name: "Key", metadata: {"contextParam" => {"name" => "Key"}}))
|
2671
|
+
RenameObjectRequest.add_member(:rename_source, Shapes::ShapeRef.new(shape: RenameSource, required: true, location: "header", location_name: "x-amz-rename-source"))
|
2672
|
+
RenameObjectRequest.add_member(:destination_if_match, Shapes::ShapeRef.new(shape: IfMatch, location: "header", location_name: "If-Match"))
|
2673
|
+
RenameObjectRequest.add_member(:destination_if_none_match, Shapes::ShapeRef.new(shape: IfNoneMatch, location: "header", location_name: "If-None-Match"))
|
2674
|
+
RenameObjectRequest.add_member(:destination_if_modified_since, Shapes::ShapeRef.new(shape: IfModifiedSince, location: "header", location_name: "If-Modified-Since"))
|
2675
|
+
RenameObjectRequest.add_member(:destination_if_unmodified_since, Shapes::ShapeRef.new(shape: IfUnmodifiedSince, location: "header", location_name: "If-Unmodified-Since"))
|
2676
|
+
RenameObjectRequest.add_member(:source_if_match, Shapes::ShapeRef.new(shape: RenameSourceIfMatch, location: "header", location_name: "x-amz-rename-source-if-match"))
|
2677
|
+
RenameObjectRequest.add_member(:source_if_none_match, Shapes::ShapeRef.new(shape: RenameSourceIfNoneMatch, location: "header", location_name: "x-amz-rename-source-if-none-match"))
|
2678
|
+
RenameObjectRequest.add_member(:source_if_modified_since, Shapes::ShapeRef.new(shape: RenameSourceIfModifiedSince, location: "header", location_name: "x-amz-rename-source-if-modified-since"))
|
2679
|
+
RenameObjectRequest.add_member(:source_if_unmodified_since, Shapes::ShapeRef.new(shape: RenameSourceIfUnmodifiedSince, location: "header", location_name: "x-amz-rename-source-if-unmodified-since"))
|
2680
|
+
RenameObjectRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "x-amz-client-token", metadata: {"idempotencyToken" => true}))
|
2681
|
+
RenameObjectRequest.struct_class = Types::RenameObjectRequest
|
2682
|
+
|
2546
2683
|
ReplicaModifications.add_member(:status, Shapes::ShapeRef.new(shape: ReplicaModificationsStatus, required: true, location_name: "Status"))
|
2547
2684
|
ReplicaModifications.struct_class = Types::ReplicaModifications
|
2548
2685
|
|
@@ -2786,6 +2923,24 @@ module Aws::S3
|
|
2786
2923
|
|
2787
2924
|
TransitionList.member = Shapes::ShapeRef.new(shape: Transition)
|
2788
2925
|
|
2926
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
2927
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
2928
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
|
2929
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest.add_member(:inventory_table_configuration, Shapes::ShapeRef.new(shape: InventoryTableConfigurationUpdates, required: true, location_name: "InventoryTableConfiguration", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
2930
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2931
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest.struct_class = Types::UpdateBucketMetadataInventoryTableConfigurationRequest
|
2932
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest[:payload] = :inventory_table_configuration
|
2933
|
+
UpdateBucketMetadataInventoryTableConfigurationRequest[:payload_member] = UpdateBucketMetadataInventoryTableConfigurationRequest.member(:inventory_table_configuration)
|
2934
|
+
|
2935
|
+
UpdateBucketMetadataJournalTableConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
2936
|
+
UpdateBucketMetadataJournalTableConfigurationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
2937
|
+
UpdateBucketMetadataJournalTableConfigurationRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
|
2938
|
+
UpdateBucketMetadataJournalTableConfigurationRequest.add_member(:journal_table_configuration, Shapes::ShapeRef.new(shape: JournalTableConfigurationUpdates, required: true, location_name: "JournalTableConfiguration", metadata: {"xmlNamespace" => {"uri" => "http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
2939
|
+
UpdateBucketMetadataJournalTableConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2940
|
+
UpdateBucketMetadataJournalTableConfigurationRequest.struct_class = Types::UpdateBucketMetadataJournalTableConfigurationRequest
|
2941
|
+
UpdateBucketMetadataJournalTableConfigurationRequest[:payload] = :journal_table_configuration
|
2942
|
+
UpdateBucketMetadataJournalTableConfigurationRequest[:payload_member] = UpdateBucketMetadataJournalTableConfigurationRequest.member(:journal_table_configuration)
|
2943
|
+
|
2789
2944
|
UploadPartCopyOutput.add_member(:copy_source_version_id, Shapes::ShapeRef.new(shape: CopySourceVersionId, location: "header", location_name: "x-amz-copy-source-version-id"))
|
2790
2945
|
UploadPartCopyOutput.add_member(:copy_part_result, Shapes::ShapeRef.new(shape: CopyPartResult, location_name: "CopyPartResult"))
|
2791
2946
|
UploadPartCopyOutput.add_member(:server_side_encryption, Shapes::ShapeRef.new(shape: ServerSideEncryption, location: "header", location_name: "x-amz-server-side-encryption"))
|
@@ -2968,6 +3123,22 @@ module Aws::S3
|
|
2968
3123
|
o.errors << Shapes::ShapeRef.new(shape: BucketAlreadyOwnedByYou)
|
2969
3124
|
end)
|
2970
3125
|
|
3126
|
+
api.add_operation(:create_bucket_metadata_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3127
|
+
o.name = "CreateBucketMetadataConfiguration"
|
3128
|
+
o.http_method = "POST"
|
3129
|
+
o.http_request_uri = "/?metadataConfiguration"
|
3130
|
+
o.http_checksum = {
|
3131
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
3132
|
+
"requestChecksumRequired" => true,
|
3133
|
+
}
|
3134
|
+
o.http_checksum = {
|
3135
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
3136
|
+
"requestChecksumRequired" => true,
|
3137
|
+
}
|
3138
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBucketMetadataConfigurationRequest)
|
3139
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3140
|
+
end)
|
3141
|
+
|
2971
3142
|
api.add_operation(:create_bucket_metadata_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
2972
3143
|
o.name = "CreateBucketMetadataTableConfiguration"
|
2973
3144
|
o.http_method = "POST"
|
@@ -3057,6 +3228,14 @@ module Aws::S3
|
|
3057
3228
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3058
3229
|
end)
|
3059
3230
|
|
3231
|
+
api.add_operation(:delete_bucket_metadata_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3232
|
+
o.name = "DeleteBucketMetadataConfiguration"
|
3233
|
+
o.http_method = "DELETE"
|
3234
|
+
o.http_request_uri = "/?metadataConfiguration"
|
3235
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBucketMetadataConfigurationRequest)
|
3236
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3237
|
+
end)
|
3238
|
+
|
3060
3239
|
api.add_operation(:delete_bucket_metadata_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3061
3240
|
o.name = "DeleteBucketMetadataTableConfiguration"
|
3062
3241
|
o.http_method = "DELETE"
|
@@ -3242,6 +3421,14 @@ module Aws::S3
|
|
3242
3421
|
o.output = Shapes::ShapeRef.new(shape: GetBucketLoggingOutput)
|
3243
3422
|
end)
|
3244
3423
|
|
3424
|
+
api.add_operation(:get_bucket_metadata_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3425
|
+
o.name = "GetBucketMetadataConfiguration"
|
3426
|
+
o.http_method = "GET"
|
3427
|
+
o.http_request_uri = "/?metadataConfiguration"
|
3428
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketMetadataConfigurationRequest)
|
3429
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketMetadataConfigurationOutput)
|
3430
|
+
end)
|
3431
|
+
|
3245
3432
|
api.add_operation(:get_bucket_metadata_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
3246
3433
|
o.name = "GetBucketMetadataTableConfiguration"
|
3247
3434
|
o.http_method = "GET"
|
@@ -3978,6 +4165,15 @@ module Aws::S3
|
|
3978
4165
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3979
4166
|
end)
|
3980
4167
|
|
4168
|
+
api.add_operation(:rename_object, Seahorse::Model::Operation.new.tap do |o|
|
4169
|
+
o.name = "RenameObject"
|
4170
|
+
o.http_method = "PUT"
|
4171
|
+
o.http_request_uri = "/{Key+}?renameObject"
|
4172
|
+
o.input = Shapes::ShapeRef.new(shape: RenameObjectRequest)
|
4173
|
+
o.output = Shapes::ShapeRef.new(shape: RenameObjectOutput)
|
4174
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotencyParameterMismatch)
|
4175
|
+
end)
|
4176
|
+
|
3981
4177
|
api.add_operation(:restore_object, Seahorse::Model::Operation.new.tap do |o|
|
3982
4178
|
o.name = "RestoreObject"
|
3983
4179
|
o.http_method = "POST"
|
@@ -4008,6 +4204,38 @@ module Aws::S3
|
|
4008
4204
|
o.output = Shapes::ShapeRef.new(shape: SelectObjectContentOutput)
|
4009
4205
|
end)
|
4010
4206
|
|
4207
|
+
api.add_operation(:update_bucket_metadata_inventory_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
4208
|
+
o.name = "UpdateBucketMetadataInventoryTableConfiguration"
|
4209
|
+
o.http_method = "PUT"
|
4210
|
+
o.http_request_uri = "/?metadataInventoryTable"
|
4211
|
+
o.http_checksum = {
|
4212
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
4213
|
+
"requestChecksumRequired" => true,
|
4214
|
+
}
|
4215
|
+
o.http_checksum = {
|
4216
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
4217
|
+
"requestChecksumRequired" => true,
|
4218
|
+
}
|
4219
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBucketMetadataInventoryTableConfigurationRequest)
|
4220
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
4221
|
+
end)
|
4222
|
+
|
4223
|
+
api.add_operation(:update_bucket_metadata_journal_table_configuration, Seahorse::Model::Operation.new.tap do |o|
|
4224
|
+
o.name = "UpdateBucketMetadataJournalTableConfiguration"
|
4225
|
+
o.http_method = "PUT"
|
4226
|
+
o.http_request_uri = "/?metadataJournalTable"
|
4227
|
+
o.http_checksum = {
|
4228
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
4229
|
+
"requestChecksumRequired" => true,
|
4230
|
+
}
|
4231
|
+
o.http_checksum = {
|
4232
|
+
"requestAlgorithmMember" => "checksum_algorithm",
|
4233
|
+
"requestChecksumRequired" => true,
|
4234
|
+
}
|
4235
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBucketMetadataJournalTableConfigurationRequest)
|
4236
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
4237
|
+
end)
|
4238
|
+
|
4011
4239
|
api.add_operation(:upload_part, Seahorse::Model::Operation.new.tap do |o|
|
4012
4240
|
o.name = "UploadPart"
|
4013
4241
|
o.http_method = "PUT"
|