aws-sdk-s3 1.108.0 → 1.109.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +19 -1
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +2 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -2
- data/lib/aws-sdk-s3/client.rb +329 -211
- data/lib/aws-sdk-s3/client_api.rb +1 -0
- data/lib/aws-sdk-s3/object.rb +4 -4
- data/lib/aws-sdk-s3/object_summary.rb +4 -4
- data/lib/aws-sdk-s3/resource.rb +18 -0
- data/lib/aws-sdk-s3/types.rb +94 -46
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +2 -2
@@ -801,6 +801,7 @@ module Aws::S3
|
|
801
801
|
CreateBucketRequest.add_member(:grant_write, Shapes::ShapeRef.new(shape: GrantWrite, location: "header", location_name: "x-amz-grant-write"))
|
802
802
|
CreateBucketRequest.add_member(:grant_write_acp, Shapes::ShapeRef.new(shape: GrantWriteACP, location: "header", location_name: "x-amz-grant-write-acp"))
|
803
803
|
CreateBucketRequest.add_member(:object_lock_enabled_for_bucket, Shapes::ShapeRef.new(shape: ObjectLockEnabledForBucket, location: "header", location_name: "x-amz-bucket-object-lock-enabled"))
|
804
|
+
CreateBucketRequest.add_member(:object_ownership, Shapes::ShapeRef.new(shape: ObjectOwnership, location: "header", location_name: "x-amz-object-ownership"))
|
804
805
|
CreateBucketRequest.struct_class = Types::CreateBucketRequest
|
805
806
|
CreateBucketRequest[:payload] = :create_bucket_configuration
|
806
807
|
CreateBucketRequest[:payload_member] = CreateBucketRequest.member(:create_bucket_configuration)
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -552,7 +552,7 @@ module Aws::S3
|
|
552
552
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
553
553
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
554
554
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
555
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
555
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
556
556
|
# website_redirect_location: "WebsiteRedirectLocation",
|
557
557
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
558
558
|
# sse_customer_key: "SSECustomerKey",
|
@@ -943,7 +943,7 @@ module Aws::S3
|
|
943
943
|
# "MetadataKey" => "MetadataValue",
|
944
944
|
# },
|
945
945
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
946
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
946
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
947
947
|
# website_redirect_location: "WebsiteRedirectLocation",
|
948
948
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
949
949
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1112,7 +1112,7 @@ module Aws::S3
|
|
1112
1112
|
# "MetadataKey" => "MetadataValue",
|
1113
1113
|
# },
|
1114
1114
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1115
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
1115
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
1116
1116
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1117
1117
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1118
1118
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1415,7 +1415,7 @@ module Aws::S3
|
|
1415
1415
|
# value: "MetadataValue",
|
1416
1416
|
# },
|
1417
1417
|
# ],
|
1418
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
1418
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
1419
1419
|
# },
|
1420
1420
|
# },
|
1421
1421
|
# },
|
@@ -296,7 +296,7 @@ module Aws::S3
|
|
296
296
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
297
297
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
298
298
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
299
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
299
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
300
300
|
# website_redirect_location: "WebsiteRedirectLocation",
|
301
301
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
302
302
|
# sse_customer_key: "SSECustomerKey",
|
@@ -687,7 +687,7 @@ module Aws::S3
|
|
687
687
|
# "MetadataKey" => "MetadataValue",
|
688
688
|
# },
|
689
689
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
690
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
690
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
691
691
|
# website_redirect_location: "WebsiteRedirectLocation",
|
692
692
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
693
693
|
# sse_customer_key: "SSECustomerKey",
|
@@ -856,7 +856,7 @@ module Aws::S3
|
|
856
856
|
# "MetadataKey" => "MetadataValue",
|
857
857
|
# },
|
858
858
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
859
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
859
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
860
860
|
# website_redirect_location: "WebsiteRedirectLocation",
|
861
861
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
862
862
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1159,7 +1159,7 @@ module Aws::S3
|
|
1159
1159
|
# value: "MetadataValue",
|
1160
1160
|
# },
|
1161
1161
|
# ],
|
1162
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
1162
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
1163
1163
|
# },
|
1164
1164
|
# },
|
1165
1165
|
# },
|
data/lib/aws-sdk-s3/resource.rb
CHANGED
@@ -49,6 +49,7 @@ module Aws::S3
|
|
49
49
|
# grant_write: "GrantWrite",
|
50
50
|
# grant_write_acp: "GrantWriteACP",
|
51
51
|
# object_lock_enabled_for_bucket: false,
|
52
|
+
# object_ownership: "BucketOwnerPreferred", # accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
52
53
|
# })
|
53
54
|
# @param [Hash] options ({})
|
54
55
|
# @option options [String] :acl
|
@@ -74,6 +75,23 @@ module Aws::S3
|
|
74
75
|
# @option options [Boolean] :object_lock_enabled_for_bucket
|
75
76
|
# Specifies whether you want S3 Object Lock to be enabled for the new
|
76
77
|
# bucket.
|
78
|
+
# @option options [String] :object_ownership
|
79
|
+
# The container element for object ownership for a bucket's ownership
|
80
|
+
# controls.
|
81
|
+
#
|
82
|
+
# BucketOwnerPreferred - Objects uploaded to the bucket change ownership
|
83
|
+
# to the bucket owner if the objects are uploaded with the
|
84
|
+
# `bucket-owner-full-control` canned ACL.
|
85
|
+
#
|
86
|
+
# ObjectWriter - The uploading account will own the object if the object
|
87
|
+
# is uploaded with the `bucket-owner-full-control` canned ACL.
|
88
|
+
#
|
89
|
+
# BucketOwnerEnforced - Access control lists (ACLs) are disabled and no
|
90
|
+
# longer affect permissions. The bucket owner automatically owns and has
|
91
|
+
# full control over every object in the bucket. The bucket only accepts
|
92
|
+
# PUT requests that don't specify an ACL or bucket owner full control
|
93
|
+
# ACLs, such as the `bucket-owner-full-control` canned ACL or an
|
94
|
+
# equivalent form of this ACL expressed in the XML format.
|
77
95
|
# @return [Bucket]
|
78
96
|
def create_bucket(options = {})
|
79
97
|
@client.create_bucket(options)
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -536,13 +536,13 @@ module Aws::S3
|
|
536
536
|
# {
|
537
537
|
# date: Time.now,
|
538
538
|
# days: 1,
|
539
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
539
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
540
540
|
# },
|
541
541
|
# ],
|
542
542
|
# noncurrent_version_transitions: [
|
543
543
|
# {
|
544
544
|
# noncurrent_days: 1,
|
545
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
545
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
546
546
|
# newer_noncurrent_versions: 1,
|
547
547
|
# },
|
548
548
|
# ],
|
@@ -1323,7 +1323,7 @@ module Aws::S3
|
|
1323
1323
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
1324
1324
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
1325
1325
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1326
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
1326
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
1327
1327
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1328
1328
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1329
1329
|
# sse_customer_key: "SSECustomerKey",
|
@@ -1786,6 +1786,7 @@ module Aws::S3
|
|
1786
1786
|
# grant_write: "GrantWrite",
|
1787
1787
|
# grant_write_acp: "GrantWriteACP",
|
1788
1788
|
# object_lock_enabled_for_bucket: false,
|
1789
|
+
# object_ownership: "BucketOwnerPreferred", # accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
1789
1790
|
# }
|
1790
1791
|
#
|
1791
1792
|
# @!attribute [rw] acl
|
@@ -1829,6 +1830,25 @@ module Aws::S3
|
|
1829
1830
|
# bucket.
|
1830
1831
|
# @return [Boolean]
|
1831
1832
|
#
|
1833
|
+
# @!attribute [rw] object_ownership
|
1834
|
+
# The container element for object ownership for a bucket's ownership
|
1835
|
+
# controls.
|
1836
|
+
#
|
1837
|
+
# BucketOwnerPreferred - Objects uploaded to the bucket change
|
1838
|
+
# ownership to the bucket owner if the objects are uploaded with the
|
1839
|
+
# `bucket-owner-full-control` canned ACL.
|
1840
|
+
#
|
1841
|
+
# ObjectWriter - The uploading account will own the object if the
|
1842
|
+
# object is uploaded with the `bucket-owner-full-control` canned ACL.
|
1843
|
+
#
|
1844
|
+
# BucketOwnerEnforced - Access control lists (ACLs) are disabled and
|
1845
|
+
# no longer affect permissions. The bucket owner automatically owns
|
1846
|
+
# and has full control over every object in the bucket. The bucket
|
1847
|
+
# only accepts PUT requests that don't specify an ACL or bucket owner
|
1848
|
+
# full control ACLs, such as the `bucket-owner-full-control` canned
|
1849
|
+
# ACL or an equivalent form of this ACL expressed in the XML format.
|
1850
|
+
# @return [String]
|
1851
|
+
#
|
1832
1852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest AWS API Documentation
|
1833
1853
|
#
|
1834
1854
|
class CreateBucketRequest < Struct.new(
|
@@ -1840,7 +1860,8 @@ module Aws::S3
|
|
1840
1860
|
:grant_read_acp,
|
1841
1861
|
:grant_write,
|
1842
1862
|
:grant_write_acp,
|
1843
|
-
:object_lock_enabled_for_bucket
|
1863
|
+
:object_lock_enabled_for_bucket,
|
1864
|
+
:object_ownership)
|
1844
1865
|
SENSITIVE = []
|
1845
1866
|
include Aws::Structure
|
1846
1867
|
end
|
@@ -1986,7 +2007,7 @@ module Aws::S3
|
|
1986
2007
|
# "MetadataKey" => "MetadataValue",
|
1987
2008
|
# },
|
1988
2009
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
1989
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
2010
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
1990
2011
|
# website_redirect_location: "WebsiteRedirectLocation",
|
1991
2012
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
1992
2013
|
# sse_customer_key: "SSECustomerKey",
|
@@ -3162,7 +3183,7 @@ module Aws::S3
|
|
3162
3183
|
# {
|
3163
3184
|
# bucket: "BucketName", # required
|
3164
3185
|
# account: "AccountId",
|
3165
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
3186
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
3166
3187
|
# access_control_translation: {
|
3167
3188
|
# owner: "Destination", # required, accepts Destination
|
3168
3189
|
# },
|
@@ -4816,8 +4837,8 @@ module Aws::S3
|
|
4816
4837
|
end
|
4817
4838
|
|
4818
4839
|
# @!attribute [rw] ownership_controls
|
4819
|
-
# The `OwnershipControls` (BucketOwnerPreferred
|
4820
|
-
# currently in effect for this Amazon S3 bucket.
|
4840
|
+
# The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred,
|
4841
|
+
# or ObjectWriter) currently in effect for this Amazon S3 bucket.
|
4821
4842
|
# @return [Types::OwnershipControls]
|
4822
4843
|
#
|
4823
4844
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketOwnershipControlsOutput AWS API Documentation
|
@@ -7337,11 +7358,11 @@ module Aws::S3
|
|
7337
7358
|
# transition: {
|
7338
7359
|
# date: Time.now,
|
7339
7360
|
# days: 1,
|
7340
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
7361
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
7341
7362
|
# },
|
7342
7363
|
# noncurrent_version_transition: {
|
7343
7364
|
# noncurrent_days: 1,
|
7344
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
7365
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
7345
7366
|
# newer_noncurrent_versions: 1,
|
7346
7367
|
# },
|
7347
7368
|
# noncurrent_version_expiration: {
|
@@ -7443,13 +7464,13 @@ module Aws::S3
|
|
7443
7464
|
# {
|
7444
7465
|
# date: Time.now,
|
7445
7466
|
# days: 1,
|
7446
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
7467
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
7447
7468
|
# },
|
7448
7469
|
# ],
|
7449
7470
|
# noncurrent_version_transitions: [
|
7450
7471
|
# {
|
7451
7472
|
# noncurrent_days: 1,
|
7452
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
7473
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
7453
7474
|
# newer_noncurrent_versions: 1,
|
7454
7475
|
# },
|
7455
7476
|
# ],
|
@@ -9008,6 +9029,15 @@ module Aws::S3
|
|
9008
9029
|
#
|
9009
9030
|
# @!attribute [rw] target_grants
|
9010
9031
|
# Container for granting information.
|
9032
|
+
#
|
9033
|
+
# Buckets that use the bucket owner enforced setting for Object
|
9034
|
+
# Ownership don't support target grants. For more information, see
|
9035
|
+
# [Permissions for server access log delivery][1] in the *Amazon S3
|
9036
|
+
# User Guide*.
|
9037
|
+
#
|
9038
|
+
#
|
9039
|
+
#
|
9040
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general
|
9011
9041
|
# @return [Array<Types::TargetGrant>]
|
9012
9042
|
#
|
9013
9043
|
# @!attribute [rw] target_prefix
|
@@ -9349,19 +9379,20 @@ module Aws::S3
|
|
9349
9379
|
|
9350
9380
|
# Container for the transition rule that describes when noncurrent
|
9351
9381
|
# objects transition to the `STANDARD_IA`, `ONEZONE_IA`,
|
9352
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE`
|
9353
|
-
# your bucket is versioning-enabled (or versioning is
|
9354
|
-
# can set this action to request that Amazon S3
|
9355
|
-
# object versions to the `STANDARD_IA`,
|
9356
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or
|
9357
|
-
# specific period in the object's
|
9382
|
+
# `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE`
|
9383
|
+
# storage class. If your bucket is versioning-enabled (or versioning is
|
9384
|
+
# suspended), you can set this action to request that Amazon S3
|
9385
|
+
# transition noncurrent object versions to the `STANDARD_IA`,
|
9386
|
+
# `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or
|
9387
|
+
# `DEEP_ARCHIVE` storage class at a specific period in the object's
|
9388
|
+
# lifetime.
|
9358
9389
|
#
|
9359
9390
|
# @note When making an API call, you may pass NoncurrentVersionTransition
|
9360
9391
|
# data as a hash:
|
9361
9392
|
#
|
9362
9393
|
# {
|
9363
9394
|
# noncurrent_days: 1,
|
9364
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
9395
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
9365
9396
|
# newer_noncurrent_versions: 1,
|
9366
9397
|
# }
|
9367
9398
|
#
|
@@ -9894,7 +9925,7 @@ module Aws::S3
|
|
9894
9925
|
# value: "MetadataValue",
|
9895
9926
|
# },
|
9896
9927
|
# ],
|
9897
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
9928
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
9898
9929
|
# },
|
9899
9930
|
# }
|
9900
9931
|
#
|
@@ -9981,7 +10012,7 @@ module Aws::S3
|
|
9981
10012
|
# {
|
9982
10013
|
# rules: [ # required
|
9983
10014
|
# {
|
9984
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
10015
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
9985
10016
|
# },
|
9986
10017
|
# ],
|
9987
10018
|
# }
|
@@ -10004,7 +10035,7 @@ module Aws::S3
|
|
10004
10035
|
# data as a hash:
|
10005
10036
|
#
|
10006
10037
|
# {
|
10007
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
10038
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
10008
10039
|
# }
|
10009
10040
|
#
|
10010
10041
|
# @!attribute [rw] object_ownership
|
@@ -10017,6 +10048,13 @@ module Aws::S3
|
|
10017
10048
|
#
|
10018
10049
|
# ObjectWriter - The uploading account will own the object if the
|
10019
10050
|
# object is uploaded with the `bucket-owner-full-control` canned ACL.
|
10051
|
+
#
|
10052
|
+
# BucketOwnerEnforced - Access control lists (ACLs) are disabled and
|
10053
|
+
# no longer affect permissions. The bucket owner automatically owns
|
10054
|
+
# and has full control over every object in the bucket. The bucket
|
10055
|
+
# only accepts PUT requests that don't specify an ACL or bucket owner
|
10056
|
+
# full control ACLs, such as the `bucket-owner-full-control` canned
|
10057
|
+
# ACL or an equivalent form of this ACL expressed in the XML format.
|
10020
10058
|
# @return [String]
|
10021
10059
|
#
|
10022
10060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OwnershipControlsRule AWS API Documentation
|
@@ -10704,13 +10742,13 @@ module Aws::S3
|
|
10704
10742
|
# {
|
10705
10743
|
# date: Time.now,
|
10706
10744
|
# days: 1,
|
10707
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
10745
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
10708
10746
|
# },
|
10709
10747
|
# ],
|
10710
10748
|
# noncurrent_version_transitions: [
|
10711
10749
|
# {
|
10712
10750
|
# noncurrent_days: 1,
|
10713
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
10751
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
10714
10752
|
# newer_noncurrent_versions: 1,
|
10715
10753
|
# },
|
10716
10754
|
# ],
|
@@ -10771,11 +10809,11 @@ module Aws::S3
|
|
10771
10809
|
# transition: {
|
10772
10810
|
# date: Time.now,
|
10773
10811
|
# days: 1,
|
10774
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
10812
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
10775
10813
|
# },
|
10776
10814
|
# noncurrent_version_transition: {
|
10777
10815
|
# noncurrent_days: 1,
|
10778
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
10816
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
10779
10817
|
# newer_noncurrent_versions: 1,
|
10780
10818
|
# },
|
10781
10819
|
# noncurrent_version_expiration: {
|
@@ -11108,7 +11146,7 @@ module Aws::S3
|
|
11108
11146
|
# ownership_controls: { # required
|
11109
11147
|
# rules: [ # required
|
11110
11148
|
# {
|
11111
|
-
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter
|
11149
|
+
# object_ownership: "BucketOwnerPreferred", # required, accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
11112
11150
|
# },
|
11113
11151
|
# ],
|
11114
11152
|
# },
|
@@ -11134,8 +11172,8 @@ module Aws::S3
|
|
11134
11172
|
# @return [String]
|
11135
11173
|
#
|
11136
11174
|
# @!attribute [rw] ownership_controls
|
11137
|
-
# The `OwnershipControls` (BucketOwnerPreferred
|
11138
|
-
# you want to apply to this Amazon S3 bucket.
|
11175
|
+
# The `OwnershipControls` (BucketOwnerEnforced, BucketOwnerPreferred,
|
11176
|
+
# or ObjectWriter) that you want to apply to this Amazon S3 bucket.
|
11139
11177
|
# @return [Types::OwnershipControls]
|
11140
11178
|
#
|
11141
11179
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketOwnershipControlsRequest AWS API Documentation
|
@@ -11243,7 +11281,7 @@ module Aws::S3
|
|
11243
11281
|
# destination: { # required
|
11244
11282
|
# bucket: "BucketName", # required
|
11245
11283
|
# account: "AccountId",
|
11246
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
11284
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
11247
11285
|
# access_control_translation: {
|
11248
11286
|
# owner: "Destination", # required, accepts Destination
|
11249
11287
|
# },
|
@@ -12053,7 +12091,7 @@ module Aws::S3
|
|
12053
12091
|
# "MetadataKey" => "MetadataValue",
|
12054
12092
|
# },
|
12055
12093
|
# server_side_encryption: "AES256", # accepts AES256, aws:kms
|
12056
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
12094
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
12057
12095
|
# website_redirect_location: "WebsiteRedirectLocation",
|
12058
12096
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
12059
12097
|
# sse_customer_key: "SSECustomerKey",
|
@@ -12977,7 +13015,7 @@ module Aws::S3
|
|
12977
13015
|
# destination: { # required
|
12978
13016
|
# bucket: "BucketName", # required
|
12979
13017
|
# account: "AccountId",
|
12980
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13018
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
12981
13019
|
# access_control_translation: {
|
12982
13020
|
# owner: "Destination", # required, accepts Destination
|
12983
13021
|
# },
|
@@ -13071,7 +13109,7 @@ module Aws::S3
|
|
13071
13109
|
# destination: { # required
|
13072
13110
|
# bucket: "BucketName", # required
|
13073
13111
|
# account: "AccountId",
|
13074
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13112
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
13075
13113
|
# access_control_translation: {
|
13076
13114
|
# owner: "Destination", # required, accepts Destination
|
13077
13115
|
# },
|
@@ -13513,7 +13551,7 @@ module Aws::S3
|
|
13513
13551
|
# value: "MetadataValue",
|
13514
13552
|
# },
|
13515
13553
|
# ],
|
13516
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13554
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
13517
13555
|
# },
|
13518
13556
|
# },
|
13519
13557
|
# },
|
@@ -13673,7 +13711,7 @@ module Aws::S3
|
|
13673
13711
|
# value: "MetadataValue",
|
13674
13712
|
# },
|
13675
13713
|
# ],
|
13676
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
13714
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
13677
13715
|
# },
|
13678
13716
|
# },
|
13679
13717
|
# }
|
@@ -13798,11 +13836,11 @@ module Aws::S3
|
|
13798
13836
|
# transition: {
|
13799
13837
|
# date: Time.now,
|
13800
13838
|
# days: 1,
|
13801
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
13839
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
13802
13840
|
# },
|
13803
13841
|
# noncurrent_version_transition: {
|
13804
13842
|
# noncurrent_days: 1,
|
13805
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
13843
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
13806
13844
|
# newer_noncurrent_versions: 1,
|
13807
13845
|
# },
|
13808
13846
|
# noncurrent_version_expiration: {
|
@@ -13855,12 +13893,13 @@ module Aws::S3
|
|
13855
13893
|
# @!attribute [rw] noncurrent_version_transition
|
13856
13894
|
# Container for the transition rule that describes when noncurrent
|
13857
13895
|
# objects transition to the `STANDARD_IA`, `ONEZONE_IA`,
|
13858
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE`
|
13859
|
-
# If your bucket is versioning-enabled (or versioning
|
13860
|
-
# you can set this action to request that Amazon S3
|
13861
|
-
# noncurrent object versions to the `STANDARD_IA`,
|
13862
|
-
# `INTELLIGENT_TIERING`, `GLACIER`, or
|
13863
|
-
# a specific period in the object's
|
13896
|
+
# `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or `DEEP_ARCHIVE`
|
13897
|
+
# storage class. If your bucket is versioning-enabled (or versioning
|
13898
|
+
# is suspended), you can set this action to request that Amazon S3
|
13899
|
+
# transition noncurrent object versions to the `STANDARD_IA`,
|
13900
|
+
# `ONEZONE_IA`, `INTELLIGENT_TIERING`, `GLACIER_IR`, `GLACIER`, or
|
13901
|
+
# `DEEP_ARCHIVE` storage class at a specific period in the object's
|
13902
|
+
# lifetime.
|
13864
13903
|
# @return [Types::NoncurrentVersionTransition]
|
13865
13904
|
#
|
13866
13905
|
# @!attribute [rw] noncurrent_version_expiration
|
@@ -13967,7 +14006,7 @@ module Aws::S3
|
|
13967
14006
|
# value: "MetadataValue",
|
13968
14007
|
# },
|
13969
14008
|
# ],
|
13970
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
14009
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
13971
14010
|
# }
|
13972
14011
|
#
|
13973
14012
|
# @!attribute [rw] bucket_name
|
@@ -14704,6 +14743,15 @@ module Aws::S3
|
|
14704
14743
|
|
14705
14744
|
# Container for granting information.
|
14706
14745
|
#
|
14746
|
+
# Buckets that use the bucket owner enforced setting for Object
|
14747
|
+
# Ownership don't support target grants. For more information, see
|
14748
|
+
# [Permissions server access log delivery][1] in the *Amazon S3 User
|
14749
|
+
# Guide*.
|
14750
|
+
#
|
14751
|
+
#
|
14752
|
+
#
|
14753
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general
|
14754
|
+
#
|
14707
14755
|
# @note When making an API call, you may pass TargetGrant
|
14708
14756
|
# data as a hash:
|
14709
14757
|
#
|
@@ -14905,7 +14953,7 @@ module Aws::S3
|
|
14905
14953
|
# {
|
14906
14954
|
# date: Time.now,
|
14907
14955
|
# days: 1,
|
14908
|
-
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
|
14956
|
+
# storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR
|
14909
14957
|
# }
|
14910
14958
|
#
|
14911
14959
|
# @!attribute [rw] date
|
@@ -15543,7 +15591,7 @@ module Aws::S3
|
|
15543
15591
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
15544
15592
|
# ssekms_key_id: "SSEKMSKeyId",
|
15545
15593
|
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
15546
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
15594
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR
|
15547
15595
|
# tag_count: 1,
|
15548
15596
|
# version_id: "ObjectVersionId",
|
15549
15597
|
# bucket_key_enabled: false,
|
data/lib/aws-sdk-s3.rb
CHANGED
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.109.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: 2021-11-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|