aws-sdk-s3 1.178.0 → 1.183.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +35 -37
- data/lib/aws-sdk-s3/bucket_acl.rb +1 -1
- data/lib/aws-sdk-s3/bucket_cors.rb +1 -1
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +1 -1
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +1 -1
- data/lib/aws-sdk-s3/bucket_logging.rb +1 -1
- data/lib/aws-sdk-s3/bucket_policy.rb +6 -6
- data/lib/aws-sdk-s3/bucket_request_payment.rb +1 -1
- data/lib/aws-sdk-s3/bucket_tagging.rb +1 -1
- data/lib/aws-sdk-s3/bucket_versioning.rb +3 -3
- data/lib/aws-sdk-s3/bucket_website.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +844 -782
- data/lib/aws-sdk-s3/client_api.rb +1 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +369 -281
- data/lib/aws-sdk-s3/multipart_upload.rb +14 -12
- data/lib/aws-sdk-s3/multipart_upload_part.rb +23 -23
- data/lib/aws-sdk-s3/object.rb +86 -90
- data/lib/aws-sdk-s3/object_summary.rb +74 -85
- data/lib/aws-sdk-s3/object_version.rb +6 -15
- data/lib/aws-sdk-s3/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +779 -660
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +1 -1
- data/sig/client.rbs +3 -2
- data/sig/object.rbs +3 -0
- data/sig/resource.rbs +1 -1
- data/sig/types.rbs +3 -2
- metadata +2 -2
@@ -70,8 +70,10 @@ module Aws::S3
|
|
70
70
|
|
71
71
|
# The class of storage used to store the object.
|
72
72
|
#
|
73
|
-
# <note markdown="1"> **Directory buckets** -
|
74
|
-
#
|
73
|
+
# <note markdown="1"> **Directory buckets** - Directory buckets only support
|
74
|
+
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
75
|
+
# Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent Access
|
76
|
+
# storage class) in Dedicated Local Zones.
|
75
77
|
#
|
76
78
|
# </note>
|
77
79
|
# @return [String]
|
@@ -335,7 +337,7 @@ module Aws::S3
|
|
335
337
|
# @option options [String] :checksum_crc32
|
336
338
|
# This header can be used as a data integrity check to verify that the
|
337
339
|
# data received is the same data that was originally sent. This header
|
338
|
-
# specifies the Base64 encoded, 32-bit `
|
340
|
+
# specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
|
339
341
|
# For more information, see [Checking object integrity][1] in the
|
340
342
|
# *Amazon S3 User Guide*.
|
341
343
|
#
|
@@ -345,7 +347,7 @@ module Aws::S3
|
|
345
347
|
# @option options [String] :checksum_crc32c
|
346
348
|
# This header can be used as a data integrity check to verify that the
|
347
349
|
# data received is the same data that was originally sent. This header
|
348
|
-
# specifies the Base64 encoded, 32-bit `
|
350
|
+
# specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
|
349
351
|
# For more information, see [Checking object integrity][1] in the
|
350
352
|
# *Amazon S3 User Guide*.
|
351
353
|
#
|
@@ -355,10 +357,10 @@ module Aws::S3
|
|
355
357
|
# @option options [String] :checksum_crc64nvme
|
356
358
|
# This header can be used as a data integrity check to verify that the
|
357
359
|
# data received is the same data that was originally sent. This header
|
358
|
-
# specifies the Base64 encoded, 64-bit `
|
359
|
-
# object. The `
|
360
|
-
#
|
361
|
-
#
|
360
|
+
# specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
|
361
|
+
# object. The `CRC64NVME` checksum is always a full object checksum. For
|
362
|
+
# more information, see [Checking object integrity in the Amazon S3 User
|
363
|
+
# Guide][1].
|
362
364
|
#
|
363
365
|
#
|
364
366
|
#
|
@@ -366,9 +368,9 @@ module Aws::S3
|
|
366
368
|
# @option options [String] :checksum_sha1
|
367
369
|
# This header can be used as a data integrity check to verify that the
|
368
370
|
# data received is the same data that was originally sent. This header
|
369
|
-
# specifies the Base64 encoded, 160-bit `
|
370
|
-
#
|
371
|
-
#
|
371
|
+
# specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
|
372
|
+
# more information, see [Checking object integrity][1] in the *Amazon S3
|
373
|
+
# User Guide*.
|
372
374
|
#
|
373
375
|
#
|
374
376
|
#
|
@@ -376,7 +378,7 @@ module Aws::S3
|
|
376
378
|
# @option options [String] :checksum_sha256
|
377
379
|
# This header can be used as a data integrity check to verify that the
|
378
380
|
# data received is the same data that was originally sent. This header
|
379
|
-
# specifies the Base64 encoded, 256-bit `
|
381
|
+
# specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
|
380
382
|
# For more information, see [Checking object integrity][1] in the
|
381
383
|
# *Amazon S3 User Guide*.
|
382
384
|
#
|
@@ -76,10 +76,10 @@ module Aws::S3
|
|
76
76
|
data[:size]
|
77
77
|
end
|
78
78
|
|
79
|
-
# The Base64 encoded, 32-bit `
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
79
|
+
# The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum
|
80
|
+
# is present if the object was uploaded with the `CRC32` checksum
|
81
|
+
# algorithm. For more information, see [Checking object integrity][1] in
|
82
|
+
# the *Amazon S3 User Guide*.
|
83
83
|
#
|
84
84
|
#
|
85
85
|
#
|
@@ -89,8 +89,8 @@ module Aws::S3
|
|
89
89
|
data[:checksum_crc32]
|
90
90
|
end
|
91
91
|
|
92
|
-
# The Base64 encoded, 32-bit `
|
93
|
-
# checksum is present if the object was uploaded with the `
|
92
|
+
# The Base64 encoded, 32-bit `CRC32C` checksum of the part. This
|
93
|
+
# checksum is present if the object was uploaded with the `CRC32C`
|
94
94
|
# checksum algorithm. For more information, see [Checking object
|
95
95
|
# integrity][1] in the *Amazon S3 User Guide*.
|
96
96
|
#
|
@@ -102,11 +102,11 @@ module Aws::S3
|
|
102
102
|
data[:checksum_crc32c]
|
103
103
|
end
|
104
104
|
|
105
|
-
# The Base64 encoded, 64-bit `
|
105
|
+
# The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This
|
106
106
|
# checksum is present if the multipart upload request was created with
|
107
|
-
# the `
|
107
|
+
# the `CRC64NVME` checksum algorithm, or if the object was uploaded
|
108
108
|
# without a checksum (and Amazon S3 added the default checksum,
|
109
|
-
# `
|
109
|
+
# `CRC64NVME`, to the uploaded object). For more information, see
|
110
110
|
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
111
111
|
#
|
112
112
|
#
|
@@ -117,10 +117,10 @@ module Aws::S3
|
|
117
117
|
data[:checksum_crc64nvme]
|
118
118
|
end
|
119
119
|
|
120
|
-
# The Base64 encoded, 160-bit `
|
121
|
-
#
|
122
|
-
#
|
123
|
-
#
|
120
|
+
# The Base64 encoded, 160-bit `SHA1` checksum of the part. This checksum
|
121
|
+
# is present if the object was uploaded with the `SHA1` checksum
|
122
|
+
# algorithm. For more information, see [Checking object integrity][1] in
|
123
|
+
# the *Amazon S3 User Guide*.
|
124
124
|
#
|
125
125
|
#
|
126
126
|
#
|
@@ -130,8 +130,8 @@ module Aws::S3
|
|
130
130
|
data[:checksum_sha1]
|
131
131
|
end
|
132
132
|
|
133
|
-
# The Base64 encoded, 256-bit `
|
134
|
-
# checksum is present if the object was uploaded with the `
|
133
|
+
# The Base64 encoded, 256-bit `SHA256` checksum of the part. This
|
134
|
+
# checksum is present if the object was uploaded with the `SHA256`
|
135
135
|
# checksum algorithm. For more information, see [Checking object
|
136
136
|
# integrity][1] in the *Amazon S3 User Guide*.
|
137
137
|
#
|
@@ -564,7 +564,7 @@ module Aws::S3
|
|
564
564
|
# @option options [String] :checksum_crc32
|
565
565
|
# This header can be used as a data integrity check to verify that the
|
566
566
|
# data received is the same data that was originally sent. This header
|
567
|
-
# specifies the Base64 encoded, 32-bit `
|
567
|
+
# specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
|
568
568
|
# For more information, see [Checking object integrity][1] in the
|
569
569
|
# *Amazon S3 User Guide*.
|
570
570
|
#
|
@@ -574,7 +574,7 @@ module Aws::S3
|
|
574
574
|
# @option options [String] :checksum_crc32c
|
575
575
|
# This header can be used as a data integrity check to verify that the
|
576
576
|
# data received is the same data that was originally sent. This header
|
577
|
-
# specifies the Base64 encoded, 32-bit `
|
577
|
+
# specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
|
578
578
|
# For more information, see [Checking object integrity][1] in the
|
579
579
|
# *Amazon S3 User Guide*.
|
580
580
|
#
|
@@ -584,8 +584,8 @@ module Aws::S3
|
|
584
584
|
# @option options [String] :checksum_crc64nvme
|
585
585
|
# This header can be used as a data integrity check to verify that the
|
586
586
|
# data received is the same data that was originally sent. This header
|
587
|
-
# specifies the Base64 encoded, 64-bit `
|
588
|
-
#
|
587
|
+
# specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part.
|
588
|
+
# For more information, see [Checking object integrity][1] in the
|
589
589
|
# *Amazon S3 User Guide*.
|
590
590
|
#
|
591
591
|
#
|
@@ -594,9 +594,9 @@ module Aws::S3
|
|
594
594
|
# @option options [String] :checksum_sha1
|
595
595
|
# This header can be used as a data integrity check to verify that the
|
596
596
|
# data received is the same data that was originally sent. This header
|
597
|
-
# specifies the Base64 encoded, 160-bit `
|
598
|
-
#
|
599
|
-
#
|
597
|
+
# specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
|
598
|
+
# more information, see [Checking object integrity][1] in the *Amazon S3
|
599
|
+
# User Guide*.
|
600
600
|
#
|
601
601
|
#
|
602
602
|
#
|
@@ -604,7 +604,7 @@ module Aws::S3
|
|
604
604
|
# @option options [String] :checksum_sha256
|
605
605
|
# This header can be used as a data integrity check to verify that the
|
606
606
|
# data received is the same data that was originally sent. This header
|
607
|
-
# specifies the Base64 encoded, 256-bit `
|
607
|
+
# specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
|
608
608
|
# For more information, see [Checking object integrity][1] in the
|
609
609
|
# *Amazon S3 User Guide*.
|
610
610
|
#
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -97,9 +97,10 @@ module Aws::S3
|
|
97
97
|
# For more information about archiving objects, see [Transitioning
|
98
98
|
# Objects: General Considerations][2].
|
99
99
|
#
|
100
|
-
# <note markdown="1"> This functionality is not supported for directory buckets.
|
101
|
-
#
|
102
|
-
#
|
100
|
+
# <note markdown="1"> This functionality is not supported for directory buckets. Directory
|
101
|
+
# buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone
|
102
|
+
# storage class) in Availability Zones and `ONEZONE_IA` (the S3 One
|
103
|
+
# Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
103
104
|
#
|
104
105
|
# </note>
|
105
106
|
#
|
@@ -134,7 +135,7 @@ module Aws::S3
|
|
134
135
|
data[:content_length]
|
135
136
|
end
|
136
137
|
|
137
|
-
# The Base64 encoded, 32-bit `
|
138
|
+
# The Base64 encoded, 32-bit `CRC32 checksum` of the object. This
|
138
139
|
# checksum is only be present if the checksum was uploaded with the
|
139
140
|
# object. When you use an API operation on an object that was uploaded
|
140
141
|
# using multipart uploads, this value may not be a direct checksum value
|
@@ -151,7 +152,7 @@ module Aws::S3
|
|
151
152
|
data[:checksum_crc32]
|
152
153
|
end
|
153
154
|
|
154
|
-
# The Base64 encoded, 32-bit `
|
155
|
+
# The Base64 encoded, 32-bit `CRC32C` checksum of the object. This
|
155
156
|
# checksum is only present if the checksum was uploaded with the object.
|
156
157
|
# When you use an API operation on an object that was uploaded using
|
157
158
|
# multipart uploads, this value may not be a direct checksum value of
|
@@ -168,7 +169,7 @@ module Aws::S3
|
|
168
169
|
data[:checksum_crc32c]
|
169
170
|
end
|
170
171
|
|
171
|
-
# The Base64 encoded, 64-bit `
|
172
|
+
# The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. For
|
172
173
|
# more information, see [Checking object integrity in the Amazon S3 User
|
173
174
|
# Guide][1].
|
174
175
|
#
|
@@ -180,7 +181,7 @@ module Aws::S3
|
|
180
181
|
data[:checksum_crc64nvme]
|
181
182
|
end
|
182
183
|
|
183
|
-
# The Base64 encoded, 160-bit `
|
184
|
+
# The Base64 encoded, 160-bit `SHA1` digest of the object. This will
|
184
185
|
# only be present if the object was uploaded with the object. When you
|
185
186
|
# use the API operation on an object that was uploaded using multipart
|
186
187
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -197,7 +198,7 @@ module Aws::S3
|
|
197
198
|
data[:checksum_sha1]
|
198
199
|
end
|
199
200
|
|
200
|
-
# The Base64 encoded, 256-bit `
|
201
|
+
# The Base64 encoded, 256-bit `SHA256` digest of the object. This will
|
201
202
|
# only be present if the object was uploaded with the object. When you
|
202
203
|
# use an API operation on an object that was uploaded using multipart
|
203
204
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -292,6 +293,13 @@ module Aws::S3
|
|
292
293
|
data[:content_type]
|
293
294
|
end
|
294
295
|
|
296
|
+
# The portion of the object returned in the response for a `GET`
|
297
|
+
# request.
|
298
|
+
# @return [String]
|
299
|
+
def content_range
|
300
|
+
data[:content_range]
|
301
|
+
end
|
302
|
+
|
295
303
|
# The date and time at which the object is no longer cacheable.
|
296
304
|
# @return [Time]
|
297
305
|
def expires
|
@@ -373,8 +381,10 @@ module Aws::S3
|
|
373
381
|
#
|
374
382
|
# For more information, see [Storage Classes][1].
|
375
383
|
#
|
376
|
-
# <note markdown="1"> <b>Directory buckets </b> -
|
377
|
-
#
|
384
|
+
# <note markdown="1"> <b>Directory buckets </b> - Directory buckets only support
|
385
|
+
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
386
|
+
# Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent Access
|
387
|
+
# storage class) in Dedicated Local Zones.
|
378
388
|
#
|
379
389
|
# </note>
|
380
390
|
#
|
@@ -1128,10 +1138,12 @@ module Aws::S3
|
|
1128
1138
|
# availability. Depending on performance needs, you can specify a
|
1129
1139
|
# different Storage Class.
|
1130
1140
|
#
|
1131
|
-
# <note markdown="1"> * <b>Directory buckets </b> -
|
1132
|
-
# Express One Zone storage class
|
1133
|
-
#
|
1134
|
-
#
|
1141
|
+
# <note markdown="1"> * <b>Directory buckets </b> - Directory buckets only support
|
1142
|
+
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
1143
|
+
# Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent
|
1144
|
+
# Access storage class) in Dedicated Local Zones. Unsupported storage
|
1145
|
+
# class values won't write a destination object and will respond with
|
1146
|
+
# the HTTP status code `400 Bad Request`.
|
1135
1147
|
#
|
1136
1148
|
# * <b>Amazon S3 on Outposts </b> - S3 on Outposts only uses the
|
1137
1149
|
# `OUTPOSTS` Storage Class.
|
@@ -1219,20 +1231,17 @@ module Aws::S3
|
|
1219
1231
|
# Signature Version in Request Authentication][1] in the *Amazon S3 User
|
1220
1232
|
# Guide*.
|
1221
1233
|
#
|
1222
|
-
# **Directory buckets** -
|
1223
|
-
#
|
1224
|
-
#
|
1225
|
-
#
|
1226
|
-
#
|
1227
|
-
# x-amz-server-side-encryption-aws-kms-key-id` header
|
1228
|
-
#
|
1229
|
-
#
|
1230
|
-
#
|
1231
|
-
#
|
1232
|
-
#
|
1233
|
-
# support 1 [customer managed key][2] per directory bucket for the
|
1234
|
-
# lifetime of the bucket. The [Amazon Web Services managed key][3]
|
1235
|
-
# (`aws/s3`) isn't supported.
|
1234
|
+
# **Directory buckets** - To encrypt data using SSE-KMS, it's
|
1235
|
+
# recommended to specify the `x-amz-server-side-encryption` header to
|
1236
|
+
# `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
|
1237
|
+
# header implicitly uses the bucket's default KMS customer managed key
|
1238
|
+
# ID. If you want to explicitly set the `
|
1239
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
|
1240
|
+
# bucket's default customer managed key (using key ID or ARN, not
|
1241
|
+
# alias). Your SSE-KMS configuration can only support 1 [customer
|
1242
|
+
# managed key][2] per directory bucket's lifetime. The [Amazon Web
|
1243
|
+
# Services managed key][3] (`aws/s3`) isn't supported. Incorrect key
|
1244
|
+
# specification results in an HTTP `400 Bad Request` error.
|
1236
1245
|
#
|
1237
1246
|
#
|
1238
1247
|
#
|
@@ -1503,7 +1512,7 @@ module Aws::S3
|
|
1503
1512
|
#
|
1504
1513
|
#
|
1505
1514
|
#
|
1506
|
-
# [1]: https://
|
1515
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
1507
1516
|
# @option options [Time,DateTime,Date,Integer,String] :if_match_last_modified_time
|
1508
1517
|
# If present, the object is deleted only if its modification times
|
1509
1518
|
# matches the provided `Timestamp`. If the `Timestamp` values do not
|
@@ -1784,15 +1793,6 @@ module Aws::S3
|
|
1784
1793
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
1785
1794
|
# @option options [String] :checksum_mode
|
1786
1795
|
# To retrieve the checksum, this mode must be enabled.
|
1787
|
-
#
|
1788
|
-
# **General purpose buckets** - In addition, if you enable checksum mode
|
1789
|
-
# and the object is uploaded with a [checksum][1] and encrypted with an
|
1790
|
-
# Key Management Service (KMS) key, you must have permission to use the
|
1791
|
-
# `kms:Decrypt` action to retrieve the checksum.
|
1792
|
-
#
|
1793
|
-
#
|
1794
|
-
#
|
1795
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html
|
1796
1796
|
# @return [Types::GetObjectOutput]
|
1797
1797
|
def get(options = {}, &block)
|
1798
1798
|
options = options.merge(
|
@@ -2195,8 +2195,9 @@ module Aws::S3
|
|
2195
2195
|
# a different Storage Class. For more information, see [Storage
|
2196
2196
|
# Classes][1] in the *Amazon S3 User Guide*.
|
2197
2197
|
#
|
2198
|
-
# <note markdown="1"> *
|
2199
|
-
#
|
2198
|
+
# <note markdown="1"> * Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One
|
2199
|
+
# Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3
|
2200
|
+
# One Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
2200
2201
|
#
|
2201
2202
|
# * Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.
|
2202
2203
|
#
|
@@ -2253,20 +2254,17 @@ module Aws::S3
|
|
2253
2254
|
# `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
2254
2255
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
2255
2256
|
#
|
2256
|
-
# **Directory buckets** -
|
2257
|
-
#
|
2258
|
-
#
|
2259
|
-
#
|
2260
|
-
#
|
2261
|
-
# x-amz-server-side-encryption-aws-kms-key-id` header
|
2262
|
-
#
|
2263
|
-
#
|
2264
|
-
#
|
2265
|
-
#
|
2266
|
-
#
|
2267
|
-
# support 1 [customer managed key][1] per directory bucket for the
|
2268
|
-
# lifetime of the bucket. The [Amazon Web Services managed key][2]
|
2269
|
-
# (`aws/s3`) isn't supported.
|
2257
|
+
# **Directory buckets** - To encrypt data using SSE-KMS, it's
|
2258
|
+
# recommended to specify the `x-amz-server-side-encryption` header to
|
2259
|
+
# `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
|
2260
|
+
# header implicitly uses the bucket's default KMS customer managed key
|
2261
|
+
# ID. If you want to explicitly set the `
|
2262
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
|
2263
|
+
# bucket's default customer managed key (using key ID or ARN, not
|
2264
|
+
# alias). Your SSE-KMS configuration can only support 1 [customer
|
2265
|
+
# managed key][1] per directory bucket's lifetime. The [Amazon Web
|
2266
|
+
# Services managed key][2] (`aws/s3`) isn't supported. Incorrect key
|
2267
|
+
# specification results in an HTTP `400 Bad Request` error.
|
2270
2268
|
#
|
2271
2269
|
#
|
2272
2270
|
#
|
@@ -2552,15 +2550,15 @@ module Aws::S3
|
|
2552
2550
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
|
2553
2551
|
# the supported algorithm from the following list:
|
2554
2552
|
#
|
2555
|
-
# * `
|
2553
|
+
# * `CRC32`
|
2556
2554
|
#
|
2557
|
-
# * `
|
2555
|
+
# * `CRC32C`
|
2558
2556
|
#
|
2559
|
-
# * `
|
2557
|
+
# * `CRC64NVME`
|
2560
2558
|
#
|
2561
|
-
# * `
|
2559
|
+
# * `SHA1`
|
2562
2560
|
#
|
2563
|
-
# * `
|
2561
|
+
# * `SHA256`
|
2564
2562
|
#
|
2565
2563
|
# For more information, see [Checking object integrity][1] in the
|
2566
2564
|
# *Amazon S3 User Guide*.
|
@@ -2588,7 +2586,7 @@ module Aws::S3
|
|
2588
2586
|
# @option options [String] :checksum_crc32
|
2589
2587
|
# This header can be used as a data integrity check to verify that the
|
2590
2588
|
# data received is the same data that was originally sent. This header
|
2591
|
-
# specifies the Base64 encoded, 32-bit `
|
2589
|
+
# specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
|
2592
2590
|
# For more information, see [Checking object integrity][1] in the
|
2593
2591
|
# *Amazon S3 User Guide*.
|
2594
2592
|
#
|
@@ -2598,7 +2596,7 @@ module Aws::S3
|
|
2598
2596
|
# @option options [String] :checksum_crc32c
|
2599
2597
|
# This header can be used as a data integrity check to verify that the
|
2600
2598
|
# data received is the same data that was originally sent. This header
|
2601
|
-
# specifies the Base64 encoded, 32-bit `
|
2599
|
+
# specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
|
2602
2600
|
# For more information, see [Checking object integrity][1] in the
|
2603
2601
|
# *Amazon S3 User Guide*.
|
2604
2602
|
#
|
@@ -2608,10 +2606,10 @@ module Aws::S3
|
|
2608
2606
|
# @option options [String] :checksum_crc64nvme
|
2609
2607
|
# This header can be used as a data integrity check to verify that the
|
2610
2608
|
# data received is the same data that was originally sent. This header
|
2611
|
-
# specifies the Base64 encoded, 64-bit `
|
2612
|
-
# object. The `
|
2613
|
-
#
|
2614
|
-
#
|
2609
|
+
# specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
|
2610
|
+
# object. The `CRC64NVME` checksum is always a full object checksum. For
|
2611
|
+
# more information, see [Checking object integrity in the Amazon S3 User
|
2612
|
+
# Guide][1].
|
2615
2613
|
#
|
2616
2614
|
#
|
2617
2615
|
#
|
@@ -2619,9 +2617,9 @@ module Aws::S3
|
|
2619
2617
|
# @option options [String] :checksum_sha1
|
2620
2618
|
# This header can be used as a data integrity check to verify that the
|
2621
2619
|
# data received is the same data that was originally sent. This header
|
2622
|
-
# specifies the Base64 encoded, 160-bit `
|
2623
|
-
#
|
2624
|
-
#
|
2620
|
+
# specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
|
2621
|
+
# more information, see [Checking object integrity][1] in the *Amazon S3
|
2622
|
+
# User Guide*.
|
2625
2623
|
#
|
2626
2624
|
#
|
2627
2625
|
#
|
@@ -2629,7 +2627,7 @@ module Aws::S3
|
|
2629
2627
|
# @option options [String] :checksum_sha256
|
2630
2628
|
# This header can be used as a data integrity check to verify that the
|
2631
2629
|
# data received is the same data that was originally sent. This header
|
2632
|
-
# specifies the Base64 encoded, 256-bit `
|
2630
|
+
# specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
|
2633
2631
|
# For more information, see [Checking object integrity][1] in the
|
2634
2632
|
# *Amazon S3 User Guide*.
|
2635
2633
|
#
|
@@ -2797,8 +2795,9 @@ module Aws::S3
|
|
2797
2795
|
# a different Storage Class. For more information, see [Storage
|
2798
2796
|
# Classes][1] in the *Amazon S3 User Guide*.
|
2799
2797
|
#
|
2800
|
-
# <note markdown="1"> *
|
2801
|
-
#
|
2798
|
+
# <note markdown="1"> * Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One
|
2799
|
+
# Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3
|
2800
|
+
# One Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
2802
2801
|
#
|
2803
2802
|
# * Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.
|
2804
2803
|
#
|
@@ -2876,20 +2875,17 @@ module Aws::S3
|
|
2876
2875
|
# `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
2877
2876
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
2878
2877
|
#
|
2879
|
-
# **Directory buckets** -
|
2880
|
-
#
|
2881
|
-
#
|
2882
|
-
#
|
2883
|
-
#
|
2884
|
-
# x-amz-server-side-encryption-aws-kms-key-id` header
|
2885
|
-
#
|
2886
|
-
#
|
2887
|
-
#
|
2888
|
-
#
|
2889
|
-
#
|
2890
|
-
# support 1 [customer managed key][1] per directory bucket for the
|
2891
|
-
# lifetime of the bucket. The [Amazon Web Services managed key][2]
|
2892
|
-
# (`aws/s3`) isn't supported.
|
2878
|
+
# **Directory buckets** - To encrypt data using SSE-KMS, it's
|
2879
|
+
# recommended to specify the `x-amz-server-side-encryption` header to
|
2880
|
+
# `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
|
2881
|
+
# header implicitly uses the bucket's default KMS customer managed key
|
2882
|
+
# ID. If you want to explicitly set the `
|
2883
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
|
2884
|
+
# bucket's default customer managed key (using key ID or ARN, not
|
2885
|
+
# alias). Your SSE-KMS configuration can only support 1 [customer
|
2886
|
+
# managed key][1] per directory bucket's lifetime. The [Amazon Web
|
2887
|
+
# Services managed key][2] (`aws/s3`) isn't supported. Incorrect key
|
2888
|
+
# specification results in an HTTP `400 Bad Request` error.
|
2893
2889
|
#
|
2894
2890
|
#
|
2895
2891
|
#
|
@@ -3524,15 +3520,15 @@ module Aws::S3
|
|
3524
3520
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
|
3525
3521
|
# the supported algorithm from the following list:
|
3526
3522
|
#
|
3527
|
-
# * `
|
3523
|
+
# * `CRC32`
|
3528
3524
|
#
|
3529
|
-
# * `
|
3525
|
+
# * `CRC32C`
|
3530
3526
|
#
|
3531
|
-
# * `
|
3527
|
+
# * `CRC64NVME`
|
3532
3528
|
#
|
3533
|
-
# * `
|
3529
|
+
# * `SHA1`
|
3534
3530
|
#
|
3535
|
-
# * `
|
3531
|
+
# * `SHA256`
|
3536
3532
|
#
|
3537
3533
|
# For more information, see [Checking object integrity][1] in the
|
3538
3534
|
# *Amazon S3 User Guide*.
|