aws-sdk-s3 1.84.1 → 1.85.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/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/bucket_acl.rb +3 -0
- data/lib/aws-sdk-s3/bucket_cors.rb +3 -0
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +2 -0
- data/lib/aws-sdk-s3/bucket_logging.rb +3 -0
- data/lib/aws-sdk-s3/bucket_policy.rb +3 -0
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -0
- data/lib/aws-sdk-s3/bucket_tagging.rb +3 -0
- data/lib/aws-sdk-s3/bucket_versioning.rb +9 -0
- data/lib/aws-sdk-s3/bucket_website.rb +3 -0
- data/lib/aws-sdk-s3/client.rb +202 -152
- data/lib/aws-sdk-s3/client_api.rb +19 -18
- data/lib/aws-sdk-s3/object_acl.rb +3 -0
- data/lib/aws-sdk-s3/types.rb +62 -6
- metadata +2 -2
@@ -1821,7 +1821,7 @@ module Aws::S3
|
|
1821
1821
|
PutBucketAclRequest.add_member(:acl, Shapes::ShapeRef.new(shape: BucketCannedACL, location: "header", location_name: "x-amz-acl"))
|
1822
1822
|
PutBucketAclRequest.add_member(:access_control_policy, Shapes::ShapeRef.new(shape: AccessControlPolicy, location_name: "AccessControlPolicy", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1823
1823
|
PutBucketAclRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1824
|
-
PutBucketAclRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1824
|
+
PutBucketAclRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1825
1825
|
PutBucketAclRequest.add_member(:grant_full_control, Shapes::ShapeRef.new(shape: GrantFullControl, location: "header", location_name: "x-amz-grant-full-control"))
|
1826
1826
|
PutBucketAclRequest.add_member(:grant_read, Shapes::ShapeRef.new(shape: GrantRead, location: "header", location_name: "x-amz-grant-read"))
|
1827
1827
|
PutBucketAclRequest.add_member(:grant_read_acp, Shapes::ShapeRef.new(shape: GrantReadACP, location: "header", location_name: "x-amz-grant-read-acp"))
|
@@ -1842,14 +1842,14 @@ module Aws::S3
|
|
1842
1842
|
|
1843
1843
|
PutBucketCorsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1844
1844
|
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/"}}))
|
1845
|
-
PutBucketCorsRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1845
|
+
PutBucketCorsRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1846
1846
|
PutBucketCorsRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1847
1847
|
PutBucketCorsRequest.struct_class = Types::PutBucketCorsRequest
|
1848
1848
|
PutBucketCorsRequest[:payload] = :cors_configuration
|
1849
1849
|
PutBucketCorsRequest[:payload_member] = PutBucketCorsRequest.member(:cors_configuration)
|
1850
1850
|
|
1851
1851
|
PutBucketEncryptionRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1852
|
-
PutBucketEncryptionRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1852
|
+
PutBucketEncryptionRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1853
1853
|
PutBucketEncryptionRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, required: true, location_name: "ServerSideEncryptionConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1854
1854
|
PutBucketEncryptionRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1855
1855
|
PutBucketEncryptionRequest.struct_class = Types::PutBucketEncryptionRequest
|
@@ -1879,7 +1879,7 @@ module Aws::S3
|
|
1879
1879
|
PutBucketLifecycleConfigurationRequest[:payload_member] = PutBucketLifecycleConfigurationRequest.member(:lifecycle_configuration)
|
1880
1880
|
|
1881
1881
|
PutBucketLifecycleRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1882
|
-
PutBucketLifecycleRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1882
|
+
PutBucketLifecycleRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1883
1883
|
PutBucketLifecycleRequest.add_member(:lifecycle_configuration, Shapes::ShapeRef.new(shape: LifecycleConfiguration, location_name: "LifecycleConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1884
1884
|
PutBucketLifecycleRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1885
1885
|
PutBucketLifecycleRequest.struct_class = Types::PutBucketLifecycleRequest
|
@@ -1888,7 +1888,7 @@ module Aws::S3
|
|
1888
1888
|
|
1889
1889
|
PutBucketLoggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1890
1890
|
PutBucketLoggingRequest.add_member(:bucket_logging_status, Shapes::ShapeRef.new(shape: BucketLoggingStatus, required: true, location_name: "BucketLoggingStatus", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1891
|
-
PutBucketLoggingRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1891
|
+
PutBucketLoggingRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1892
1892
|
PutBucketLoggingRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1893
1893
|
PutBucketLoggingRequest.struct_class = Types::PutBucketLoggingRequest
|
1894
1894
|
PutBucketLoggingRequest[:payload] = :bucket_logging_status
|
@@ -1910,7 +1910,7 @@ module Aws::S3
|
|
1910
1910
|
PutBucketNotificationConfigurationRequest[:payload_member] = PutBucketNotificationConfigurationRequest.member(:notification_configuration)
|
1911
1911
|
|
1912
1912
|
PutBucketNotificationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1913
|
-
PutBucketNotificationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1913
|
+
PutBucketNotificationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1914
1914
|
PutBucketNotificationRequest.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfigurationDeprecated, required: true, location_name: "NotificationConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1915
1915
|
PutBucketNotificationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1916
1916
|
PutBucketNotificationRequest.struct_class = Types::PutBucketNotificationRequest
|
@@ -1926,7 +1926,7 @@ module Aws::S3
|
|
1926
1926
|
PutBucketOwnershipControlsRequest[:payload_member] = PutBucketOwnershipControlsRequest.member(:ownership_controls)
|
1927
1927
|
|
1928
1928
|
PutBucketPolicyRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1929
|
-
PutBucketPolicyRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1929
|
+
PutBucketPolicyRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1930
1930
|
PutBucketPolicyRequest.add_member(:confirm_remove_self_bucket_access, Shapes::ShapeRef.new(shape: ConfirmRemoveSelfBucketAccess, location: "header", location_name: "x-amz-confirm-remove-self-bucket-access"))
|
1931
1931
|
PutBucketPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
|
1932
1932
|
PutBucketPolicyRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
@@ -1935,7 +1935,7 @@ module Aws::S3
|
|
1935
1935
|
PutBucketPolicyRequest[:payload_member] = PutBucketPolicyRequest.member(:policy)
|
1936
1936
|
|
1937
1937
|
PutBucketReplicationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1938
|
-
PutBucketReplicationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1938
|
+
PutBucketReplicationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1939
1939
|
PutBucketReplicationRequest.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, required: true, location_name: "ReplicationConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1940
1940
|
PutBucketReplicationRequest.add_member(:token, Shapes::ShapeRef.new(shape: ObjectLockToken, location: "header", location_name: "x-amz-bucket-object-lock-token"))
|
1941
1941
|
PutBucketReplicationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
@@ -1944,7 +1944,7 @@ module Aws::S3
|
|
1944
1944
|
PutBucketReplicationRequest[:payload_member] = PutBucketReplicationRequest.member(:replication_configuration)
|
1945
1945
|
|
1946
1946
|
PutBucketRequestPaymentRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1947
|
-
PutBucketRequestPaymentRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1947
|
+
PutBucketRequestPaymentRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1948
1948
|
PutBucketRequestPaymentRequest.add_member(:request_payment_configuration, Shapes::ShapeRef.new(shape: RequestPaymentConfiguration, required: true, location_name: "RequestPaymentConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1949
1949
|
PutBucketRequestPaymentRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1950
1950
|
PutBucketRequestPaymentRequest.struct_class = Types::PutBucketRequestPaymentRequest
|
@@ -1952,7 +1952,7 @@ module Aws::S3
|
|
1952
1952
|
PutBucketRequestPaymentRequest[:payload_member] = PutBucketRequestPaymentRequest.member(:request_payment_configuration)
|
1953
1953
|
|
1954
1954
|
PutBucketTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1955
|
-
PutBucketTaggingRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1955
|
+
PutBucketTaggingRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1956
1956
|
PutBucketTaggingRequest.add_member(:tagging, Shapes::ShapeRef.new(shape: Tagging, required: true, location_name: "Tagging", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1957
1957
|
PutBucketTaggingRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1958
1958
|
PutBucketTaggingRequest.struct_class = Types::PutBucketTaggingRequest
|
@@ -1960,7 +1960,7 @@ module Aws::S3
|
|
1960
1960
|
PutBucketTaggingRequest[:payload_member] = PutBucketTaggingRequest.member(:tagging)
|
1961
1961
|
|
1962
1962
|
PutBucketVersioningRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1963
|
-
PutBucketVersioningRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1963
|
+
PutBucketVersioningRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1964
1964
|
PutBucketVersioningRequest.add_member(:mfa, Shapes::ShapeRef.new(shape: MFA, location: "header", location_name: "x-amz-mfa"))
|
1965
1965
|
PutBucketVersioningRequest.add_member(:versioning_configuration, Shapes::ShapeRef.new(shape: VersioningConfiguration, required: true, location_name: "VersioningConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1966
1966
|
PutBucketVersioningRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
@@ -1969,7 +1969,7 @@ module Aws::S3
|
|
1969
1969
|
PutBucketVersioningRequest[:payload_member] = PutBucketVersioningRequest.member(:versioning_configuration)
|
1970
1970
|
|
1971
1971
|
PutBucketWebsiteRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1972
|
-
PutBucketWebsiteRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1972
|
+
PutBucketWebsiteRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1973
1973
|
PutBucketWebsiteRequest.add_member(:website_configuration, Shapes::ShapeRef.new(shape: WebsiteConfiguration, required: true, location_name: "WebsiteConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1974
1974
|
PutBucketWebsiteRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1975
1975
|
PutBucketWebsiteRequest.struct_class = Types::PutBucketWebsiteRequest
|
@@ -1982,7 +1982,7 @@ module Aws::S3
|
|
1982
1982
|
PutObjectAclRequest.add_member(:acl, Shapes::ShapeRef.new(shape: ObjectCannedACL, location: "header", location_name: "x-amz-acl"))
|
1983
1983
|
PutObjectAclRequest.add_member(:access_control_policy, Shapes::ShapeRef.new(shape: AccessControlPolicy, location_name: "AccessControlPolicy", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
1984
1984
|
PutObjectAclRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
1985
|
-
PutObjectAclRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
1985
|
+
PutObjectAclRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
1986
1986
|
PutObjectAclRequest.add_member(:grant_full_control, Shapes::ShapeRef.new(shape: GrantFullControl, location: "header", location_name: "x-amz-grant-full-control"))
|
1987
1987
|
PutObjectAclRequest.add_member(:grant_read, Shapes::ShapeRef.new(shape: GrantRead, location: "header", location_name: "x-amz-grant-read"))
|
1988
1988
|
PutObjectAclRequest.add_member(:grant_read_acp, Shapes::ShapeRef.new(shape: GrantReadACP, location: "header", location_name: "x-amz-grant-read-acp"))
|
@@ -2004,7 +2004,7 @@ module Aws::S3
|
|
2004
2004
|
PutObjectLegalHoldRequest.add_member(:legal_hold, Shapes::ShapeRef.new(shape: ObjectLockLegalHold, location_name: "LegalHold", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
2005
2005
|
PutObjectLegalHoldRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
|
2006
2006
|
PutObjectLegalHoldRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "querystring", location_name: "versionId"))
|
2007
|
-
PutObjectLegalHoldRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
2007
|
+
PutObjectLegalHoldRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
2008
2008
|
PutObjectLegalHoldRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2009
2009
|
PutObjectLegalHoldRequest.struct_class = Types::PutObjectLegalHoldRequest
|
2010
2010
|
PutObjectLegalHoldRequest[:payload] = :legal_hold
|
@@ -2017,7 +2017,7 @@ module Aws::S3
|
|
2017
2017
|
PutObjectLockConfigurationRequest.add_member(:object_lock_configuration, Shapes::ShapeRef.new(shape: ObjectLockConfiguration, location_name: "ObjectLockConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
2018
2018
|
PutObjectLockConfigurationRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
|
2019
2019
|
PutObjectLockConfigurationRequest.add_member(:token, Shapes::ShapeRef.new(shape: ObjectLockToken, location: "header", location_name: "x-amz-bucket-object-lock-token"))
|
2020
|
-
PutObjectLockConfigurationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
2020
|
+
PutObjectLockConfigurationRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
2021
2021
|
PutObjectLockConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2022
2022
|
PutObjectLockConfigurationRequest.struct_class = Types::PutObjectLockConfigurationRequest
|
2023
2023
|
PutObjectLockConfigurationRequest[:payload] = :object_lock_configuration
|
@@ -2078,7 +2078,7 @@ module Aws::S3
|
|
2078
2078
|
PutObjectRetentionRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
|
2079
2079
|
PutObjectRetentionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "querystring", location_name: "versionId"))
|
2080
2080
|
PutObjectRetentionRequest.add_member(:bypass_governance_retention, Shapes::ShapeRef.new(shape: BypassGovernanceRetention, location: "header", location_name: "x-amz-bypass-governance-retention"))
|
2081
|
-
PutObjectRetentionRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
2081
|
+
PutObjectRetentionRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
2082
2082
|
PutObjectRetentionRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2083
2083
|
PutObjectRetentionRequest.struct_class = Types::PutObjectRetentionRequest
|
2084
2084
|
PutObjectRetentionRequest[:payload] = :retention
|
@@ -2090,7 +2090,7 @@ module Aws::S3
|
|
2090
2090
|
PutObjectTaggingRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
2091
2091
|
PutObjectTaggingRequest.add_member(:key, Shapes::ShapeRef.new(shape: ObjectKey, required: true, location: "uri", location_name: "Key"))
|
2092
2092
|
PutObjectTaggingRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: ObjectVersionId, location: "querystring", location_name: "versionId"))
|
2093
|
-
PutObjectTaggingRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
2093
|
+
PutObjectTaggingRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
2094
2094
|
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/"}}))
|
2095
2095
|
PutObjectTaggingRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2096
2096
|
PutObjectTaggingRequest.struct_class = Types::PutObjectTaggingRequest
|
@@ -2098,7 +2098,7 @@ module Aws::S3
|
|
2098
2098
|
PutObjectTaggingRequest[:payload_member] = PutObjectTaggingRequest.member(:tagging)
|
2099
2099
|
|
2100
2100
|
PutPublicAccessBlockRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
2101
|
-
PutPublicAccessBlockRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5,
|
2101
|
+
PutPublicAccessBlockRequest.add_member(:content_md5, Shapes::ShapeRef.new(shape: ContentMD5, location: "header", location_name: "Content-MD5"))
|
2102
2102
|
PutPublicAccessBlockRequest.add_member(:public_access_block_configuration, Shapes::ShapeRef.new(shape: PublicAccessBlockConfiguration, required: true, location_name: "PublicAccessBlockConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
|
2103
2103
|
PutPublicAccessBlockRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
2104
2104
|
PutPublicAccessBlockRequest.struct_class = Types::PutPublicAccessBlockRequest
|
@@ -3107,6 +3107,7 @@ module Aws::S3
|
|
3107
3107
|
o.name = "PutBucketOwnershipControls"
|
3108
3108
|
o.http_method = "PUT"
|
3109
3109
|
o.http_request_uri = "/{Bucket}?ownershipControls"
|
3110
|
+
o.http_checksum_required = true
|
3110
3111
|
o.input = Shapes::ShapeRef.new(shape: PutBucketOwnershipControlsRequest)
|
3111
3112
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3112
3113
|
end)
|
@@ -247,6 +247,9 @@ module Aws::S3
|
|
247
247
|
# not corrupted in transit. For more information, go to [RFC
|
248
248
|
# 1864.>][1]
|
249
249
|
#
|
250
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
251
|
+
# SDKs, this field is calculated automatically.
|
252
|
+
#
|
250
253
|
#
|
251
254
|
#
|
252
255
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -9975,6 +9975,9 @@ module Aws::S3
|
|
9975
9975
|
# was not corrupted in transit. For more information, go to [RFC
|
9976
9976
|
# 1864.][1]
|
9977
9977
|
#
|
9978
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
9979
|
+
# SDKs, this field is calculated automatically.
|
9980
|
+
#
|
9978
9981
|
#
|
9979
9982
|
#
|
9980
9983
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
@@ -10137,6 +10140,9 @@ module Aws::S3
|
|
10137
10140
|
# was not corrupted in transit. For more information, go to [RFC
|
10138
10141
|
# 1864.][1]
|
10139
10142
|
#
|
10143
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10144
|
+
# SDKs, this field is calculated automatically.
|
10145
|
+
#
|
10140
10146
|
#
|
10141
10147
|
#
|
10142
10148
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
@@ -10193,8 +10199,10 @@ module Aws::S3
|
|
10193
10199
|
#
|
10194
10200
|
# @!attribute [rw] content_md5
|
10195
10201
|
# The base64-encoded 128-bit MD5 digest of the server-side encryption
|
10196
|
-
# configuration.
|
10197
|
-
#
|
10202
|
+
# configuration.
|
10203
|
+
#
|
10204
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10205
|
+
# SDKs, this field is calculated automatically.
|
10198
10206
|
# @return [String]
|
10199
10207
|
#
|
10200
10208
|
# @!attribute [rw] server_side_encryption_configuration
|
@@ -10464,6 +10472,8 @@ module Aws::S3
|
|
10464
10472
|
# @return [String]
|
10465
10473
|
#
|
10466
10474
|
# @!attribute [rw] content_md5
|
10475
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10476
|
+
# SDKs, this field is calculated automatically.
|
10467
10477
|
# @return [String]
|
10468
10478
|
#
|
10469
10479
|
# @!attribute [rw] lifecycle_configuration
|
@@ -10523,6 +10533,9 @@ module Aws::S3
|
|
10523
10533
|
#
|
10524
10534
|
# @!attribute [rw] content_md5
|
10525
10535
|
# The MD5 hash of the `PutBucketLogging` request body.
|
10536
|
+
#
|
10537
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10538
|
+
# SDKs, this field is calculated automatically.
|
10526
10539
|
# @return [String]
|
10527
10540
|
#
|
10528
10541
|
# @!attribute [rw] expected_bucket_owner
|
@@ -10722,6 +10735,9 @@ module Aws::S3
|
|
10722
10735
|
#
|
10723
10736
|
# @!attribute [rw] content_md5
|
10724
10737
|
# The MD5 hash of the `PutPublicAccessBlock` request body.
|
10738
|
+
#
|
10739
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10740
|
+
# SDKs, this field is calculated automatically.
|
10725
10741
|
# @return [String]
|
10726
10742
|
#
|
10727
10743
|
# @!attribute [rw] notification_configuration
|
@@ -10768,6 +10784,9 @@ module Aws::S3
|
|
10768
10784
|
#
|
10769
10785
|
# @!attribute [rw] content_md5
|
10770
10786
|
# The MD5 hash of the `OwnershipControls` request body.
|
10787
|
+
#
|
10788
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10789
|
+
# SDKs, this field is calculated automatically.
|
10771
10790
|
# @return [String]
|
10772
10791
|
#
|
10773
10792
|
# @!attribute [rw] expected_bucket_owner
|
@@ -10809,6 +10828,9 @@ module Aws::S3
|
|
10809
10828
|
#
|
10810
10829
|
# @!attribute [rw] content_md5
|
10811
10830
|
# The MD5 hash of the request body.
|
10831
|
+
#
|
10832
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10833
|
+
# SDKs, this field is calculated automatically.
|
10812
10834
|
# @return [String]
|
10813
10835
|
#
|
10814
10836
|
# @!attribute [rw] confirm_remove_self_bucket_access
|
@@ -10919,6 +10941,9 @@ module Aws::S3
|
|
10919
10941
|
# was not corrupted in transit. For more information, see [RFC
|
10920
10942
|
# 1864][1].
|
10921
10943
|
#
|
10944
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
10945
|
+
# SDKs, this field is calculated automatically.
|
10946
|
+
#
|
10922
10947
|
#
|
10923
10948
|
#
|
10924
10949
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
@@ -10973,6 +10998,9 @@ module Aws::S3
|
|
10973
10998
|
# body was not corrupted in transit. For more information, see [RFC
|
10974
10999
|
# 1864][1].
|
10975
11000
|
#
|
11001
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
11002
|
+
# SDKs, this field is calculated automatically.
|
11003
|
+
#
|
10976
11004
|
#
|
10977
11005
|
#
|
10978
11006
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
@@ -11026,6 +11054,9 @@ module Aws::S3
|
|
11026
11054
|
# was not corrupted in transit. For more information, see [RFC
|
11027
11055
|
# 1864][1].
|
11028
11056
|
#
|
11057
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
11058
|
+
# SDKs, this field is calculated automatically.
|
11059
|
+
#
|
11029
11060
|
#
|
11030
11061
|
#
|
11031
11062
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
@@ -11076,6 +11107,9 @@ module Aws::S3
|
|
11076
11107
|
# body was not corrupted in transit. For more information, see [RFC
|
11077
11108
|
# 1864][1].
|
11078
11109
|
#
|
11110
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
11111
|
+
# SDKs, this field is calculated automatically.
|
11112
|
+
#
|
11079
11113
|
#
|
11080
11114
|
#
|
11081
11115
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
@@ -11155,6 +11189,9 @@ module Aws::S3
|
|
11155
11189
|
# was not corrupted in transit. For more information, see [RFC
|
11156
11190
|
# 1864][1].
|
11157
11191
|
#
|
11192
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
11193
|
+
# SDKs, this field is calculated automatically.
|
11194
|
+
#
|
11158
11195
|
#
|
11159
11196
|
#
|
11160
11197
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
@@ -11268,6 +11305,9 @@ module Aws::S3
|
|
11268
11305
|
# was not corrupted in transit. For more information, go to [RFC
|
11269
11306
|
# 1864.>][1]
|
11270
11307
|
#
|
11308
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
11309
|
+
# SDKs, this field is calculated automatically.
|
11310
|
+
#
|
11271
11311
|
#
|
11272
11312
|
#
|
11273
11313
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
@@ -11445,6 +11485,9 @@ module Aws::S3
|
|
11445
11485
|
#
|
11446
11486
|
# @!attribute [rw] content_md5
|
11447
11487
|
# The MD5 hash for the request body.
|
11488
|
+
#
|
11489
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
11490
|
+
# SDKs, this field is calculated automatically.
|
11448
11491
|
# @return [String]
|
11449
11492
|
#
|
11450
11493
|
# @!attribute [rw] expected_bucket_owner
|
@@ -11529,6 +11572,9 @@ module Aws::S3
|
|
11529
11572
|
#
|
11530
11573
|
# @!attribute [rw] content_md5
|
11531
11574
|
# The MD5 hash for the request body.
|
11575
|
+
#
|
11576
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
11577
|
+
# SDKs, this field is calculated automatically.
|
11532
11578
|
# @return [String]
|
11533
11579
|
#
|
11534
11580
|
# @!attribute [rw] expected_bucket_owner
|
@@ -12065,6 +12111,9 @@ module Aws::S3
|
|
12065
12111
|
#
|
12066
12112
|
# @!attribute [rw] content_md5
|
12067
12113
|
# The MD5 hash for the request body.
|
12114
|
+
#
|
12115
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
12116
|
+
# SDKs, this field is calculated automatically.
|
12068
12117
|
# @return [String]
|
12069
12118
|
#
|
12070
12119
|
# @!attribute [rw] expected_bucket_owner
|
@@ -12156,6 +12205,9 @@ module Aws::S3
|
|
12156
12205
|
#
|
12157
12206
|
# @!attribute [rw] content_md5
|
12158
12207
|
# The MD5 hash for the request body.
|
12208
|
+
#
|
12209
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
12210
|
+
# SDKs, this field is calculated automatically.
|
12159
12211
|
# @return [String]
|
12160
12212
|
#
|
12161
12213
|
# @!attribute [rw] tagging
|
@@ -12203,6 +12255,9 @@ module Aws::S3
|
|
12203
12255
|
#
|
12204
12256
|
# @!attribute [rw] content_md5
|
12205
12257
|
# The MD5 hash of the `PutPublicAccessBlock` request body.
|
12258
|
+
#
|
12259
|
+
# For requests made using the AWS Command Line Interface (CLI) or AWS
|
12260
|
+
# SDKs, this field is calculated automatically.
|
12206
12261
|
# @return [String]
|
12207
12262
|
#
|
12208
12263
|
# @!attribute [rw] public_access_block_configuration
|
@@ -14196,10 +14251,11 @@ module Aws::S3
|
|
14196
14251
|
# }
|
14197
14252
|
#
|
14198
14253
|
# @!attribute [rw] days
|
14199
|
-
# The number of days
|
14200
|
-
#
|
14201
|
-
#
|
14202
|
-
#
|
14254
|
+
# The number of consecutive days of no access after which an object
|
14255
|
+
# will be eligible to be transitioned to the corresponding tier. The
|
14256
|
+
# minimum number of days specified for Archive Access tier must be at
|
14257
|
+
# least 90 days and Deep Archive Access tier must be at least 180
|
14258
|
+
# days. The maximum can be up to 2 years (730 days).
|
14203
14259
|
# @return [Integer]
|
14204
14260
|
#
|
14205
14261
|
# @!attribute [rw] access_tier
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.85.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|