aws-sdk-s3 1.179.0 → 1.181.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +32 -35
- 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 +563 -543
- data/lib/aws-sdk-s3/client_api.rb +1 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +260 -277
- data/lib/aws-sdk-s3/multipart_upload.rb +10 -10
- data/lib/aws-sdk-s3/multipart_upload_part.rb +23 -23
- data/lib/aws-sdk-s3/object.rb +66 -77
- data/lib/aws-sdk-s3/object_summary.rb +54 -72
- 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 +482 -450
- 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
@@ -335,7 +335,7 @@ module Aws::S3
|
|
335
335
|
# @option options [String] :checksum_crc32
|
336
336
|
# This header can be used as a data integrity check to verify that the
|
337
337
|
# data received is the same data that was originally sent. This header
|
338
|
-
# specifies the Base64 encoded, 32-bit `
|
338
|
+
# specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
|
339
339
|
# For more information, see [Checking object integrity][1] in the
|
340
340
|
# *Amazon S3 User Guide*.
|
341
341
|
#
|
@@ -345,7 +345,7 @@ module Aws::S3
|
|
345
345
|
# @option options [String] :checksum_crc32c
|
346
346
|
# This header can be used as a data integrity check to verify that the
|
347
347
|
# data received is the same data that was originally sent. This header
|
348
|
-
# specifies the Base64 encoded, 32-bit `
|
348
|
+
# specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
|
349
349
|
# For more information, see [Checking object integrity][1] in the
|
350
350
|
# *Amazon S3 User Guide*.
|
351
351
|
#
|
@@ -355,10 +355,10 @@ module Aws::S3
|
|
355
355
|
# @option options [String] :checksum_crc64nvme
|
356
356
|
# This header can be used as a data integrity check to verify that the
|
357
357
|
# data received is the same data that was originally sent. This header
|
358
|
-
# specifies the Base64 encoded, 64-bit `
|
359
|
-
# object. The `
|
360
|
-
#
|
361
|
-
#
|
358
|
+
# specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
|
359
|
+
# object. The `CRC64NVME` checksum is always a full object checksum. For
|
360
|
+
# more information, see [Checking object integrity in the Amazon S3 User
|
361
|
+
# Guide][1].
|
362
362
|
#
|
363
363
|
#
|
364
364
|
#
|
@@ -366,9 +366,9 @@ module Aws::S3
|
|
366
366
|
# @option options [String] :checksum_sha1
|
367
367
|
# This header can be used as a data integrity check to verify that the
|
368
368
|
# data received is the same data that was originally sent. This header
|
369
|
-
# specifies the Base64 encoded, 160-bit `
|
370
|
-
#
|
371
|
-
#
|
369
|
+
# specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
|
370
|
+
# more information, see [Checking object integrity][1] in the *Amazon S3
|
371
|
+
# User Guide*.
|
372
372
|
#
|
373
373
|
#
|
374
374
|
#
|
@@ -376,7 +376,7 @@ module Aws::S3
|
|
376
376
|
# @option options [String] :checksum_sha256
|
377
377
|
# This header can be used as a data integrity check to verify that the
|
378
378
|
# data received is the same data that was originally sent. This header
|
379
|
-
# specifies the Base64 encoded, 256-bit `
|
379
|
+
# specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
|
380
380
|
# For more information, see [Checking object integrity][1] in the
|
381
381
|
# *Amazon S3 User Guide*.
|
382
382
|
#
|
@@ -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
@@ -134,7 +134,7 @@ module Aws::S3
|
|
134
134
|
data[:content_length]
|
135
135
|
end
|
136
136
|
|
137
|
-
# The Base64 encoded, 32-bit `
|
137
|
+
# The Base64 encoded, 32-bit `CRC32 checksum` of the object. This
|
138
138
|
# checksum is only be present if the checksum was uploaded with the
|
139
139
|
# object. When you use an API operation on an object that was uploaded
|
140
140
|
# using multipart uploads, this value may not be a direct checksum value
|
@@ -151,7 +151,7 @@ module Aws::S3
|
|
151
151
|
data[:checksum_crc32]
|
152
152
|
end
|
153
153
|
|
154
|
-
# The Base64 encoded, 32-bit `
|
154
|
+
# The Base64 encoded, 32-bit `CRC32C` checksum of the object. This
|
155
155
|
# checksum is only present if the checksum was uploaded with the object.
|
156
156
|
# When you use an API operation on an object that was uploaded using
|
157
157
|
# multipart uploads, this value may not be a direct checksum value of
|
@@ -168,7 +168,7 @@ module Aws::S3
|
|
168
168
|
data[:checksum_crc32c]
|
169
169
|
end
|
170
170
|
|
171
|
-
# The Base64 encoded, 64-bit `
|
171
|
+
# The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. For
|
172
172
|
# more information, see [Checking object integrity in the Amazon S3 User
|
173
173
|
# Guide][1].
|
174
174
|
#
|
@@ -180,7 +180,7 @@ module Aws::S3
|
|
180
180
|
data[:checksum_crc64nvme]
|
181
181
|
end
|
182
182
|
|
183
|
-
# The Base64 encoded, 160-bit `
|
183
|
+
# The Base64 encoded, 160-bit `SHA1` digest of the object. This will
|
184
184
|
# only be present if the object was uploaded with the object. When you
|
185
185
|
# use the API operation on an object that was uploaded using multipart
|
186
186
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -197,7 +197,7 @@ module Aws::S3
|
|
197
197
|
data[:checksum_sha1]
|
198
198
|
end
|
199
199
|
|
200
|
-
# The Base64 encoded, 256-bit `
|
200
|
+
# The Base64 encoded, 256-bit `SHA256` digest of the object. This will
|
201
201
|
# only be present if the object was uploaded with the object. When you
|
202
202
|
# use an API operation on an object that was uploaded using multipart
|
203
203
|
# uploads, this value may not be a direct checksum value of the full
|
@@ -292,6 +292,13 @@ module Aws::S3
|
|
292
292
|
data[:content_type]
|
293
293
|
end
|
294
294
|
|
295
|
+
# The portion of the object returned in the response for a `GET`
|
296
|
+
# request.
|
297
|
+
# @return [String]
|
298
|
+
def content_range
|
299
|
+
data[:content_range]
|
300
|
+
end
|
301
|
+
|
295
302
|
# The date and time at which the object is no longer cacheable.
|
296
303
|
# @return [Time]
|
297
304
|
def expires
|
@@ -1219,20 +1226,17 @@ module Aws::S3
|
|
1219
1226
|
# Signature Version in Request Authentication][1] in the *Amazon S3 User
|
1220
1227
|
# Guide*.
|
1221
1228
|
#
|
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.
|
1229
|
+
# **Directory buckets** - To encrypt data using SSE-KMS, it's
|
1230
|
+
# recommended to specify the `x-amz-server-side-encryption` header to
|
1231
|
+
# `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
|
1232
|
+
# header implicitly uses the bucket's default KMS customer managed key
|
1233
|
+
# ID. If you want to explicitly set the `
|
1234
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
|
1235
|
+
# bucket's default customer managed key (using key ID or ARN, not
|
1236
|
+
# alias). Your SSE-KMS configuration can only support 1 [customer
|
1237
|
+
# managed key][2] per directory bucket's lifetime. The [Amazon Web
|
1238
|
+
# Services managed key][3] (`aws/s3`) isn't supported. Incorrect key
|
1239
|
+
# specification results in an HTTP `400 Bad Request` error.
|
1236
1240
|
#
|
1237
1241
|
#
|
1238
1242
|
#
|
@@ -1503,7 +1507,7 @@ module Aws::S3
|
|
1503
1507
|
#
|
1504
1508
|
#
|
1505
1509
|
#
|
1506
|
-
# [1]: https://
|
1510
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
1507
1511
|
# @option options [Time,DateTime,Date,Integer,String] :if_match_last_modified_time
|
1508
1512
|
# If present, the object is deleted only if its modification times
|
1509
1513
|
# matches the provided `Timestamp`. If the `Timestamp` values do not
|
@@ -1784,15 +1788,6 @@ module Aws::S3
|
|
1784
1788
|
# fails with the HTTP status code `403 Forbidden` (access denied).
|
1785
1789
|
# @option options [String] :checksum_mode
|
1786
1790
|
# 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
1791
|
# @return [Types::GetObjectOutput]
|
1797
1792
|
def get(options = {}, &block)
|
1798
1793
|
options = options.merge(
|
@@ -2253,20 +2248,17 @@ module Aws::S3
|
|
2253
2248
|
# `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
2254
2249
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
2255
2250
|
#
|
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.
|
2251
|
+
# **Directory buckets** - To encrypt data using SSE-KMS, it's
|
2252
|
+
# recommended to specify the `x-amz-server-side-encryption` header to
|
2253
|
+
# `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
|
2254
|
+
# header implicitly uses the bucket's default KMS customer managed key
|
2255
|
+
# ID. If you want to explicitly set the `
|
2256
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
|
2257
|
+
# bucket's default customer managed key (using key ID or ARN, not
|
2258
|
+
# alias). Your SSE-KMS configuration can only support 1 [customer
|
2259
|
+
# managed key][1] per directory bucket's lifetime. The [Amazon Web
|
2260
|
+
# Services managed key][2] (`aws/s3`) isn't supported. Incorrect key
|
2261
|
+
# specification results in an HTTP `400 Bad Request` error.
|
2270
2262
|
#
|
2271
2263
|
#
|
2272
2264
|
#
|
@@ -2552,15 +2544,15 @@ module Aws::S3
|
|
2552
2544
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
|
2553
2545
|
# the supported algorithm from the following list:
|
2554
2546
|
#
|
2555
|
-
# * `
|
2547
|
+
# * `CRC32`
|
2556
2548
|
#
|
2557
|
-
# * `
|
2549
|
+
# * `CRC32C`
|
2558
2550
|
#
|
2559
|
-
# * `
|
2551
|
+
# * `CRC64NVME`
|
2560
2552
|
#
|
2561
|
-
# * `
|
2553
|
+
# * `SHA1`
|
2562
2554
|
#
|
2563
|
-
# * `
|
2555
|
+
# * `SHA256`
|
2564
2556
|
#
|
2565
2557
|
# For more information, see [Checking object integrity][1] in the
|
2566
2558
|
# *Amazon S3 User Guide*.
|
@@ -2588,7 +2580,7 @@ module Aws::S3
|
|
2588
2580
|
# @option options [String] :checksum_crc32
|
2589
2581
|
# This header can be used as a data integrity check to verify that the
|
2590
2582
|
# data received is the same data that was originally sent. This header
|
2591
|
-
# specifies the Base64 encoded, 32-bit `
|
2583
|
+
# specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
|
2592
2584
|
# For more information, see [Checking object integrity][1] in the
|
2593
2585
|
# *Amazon S3 User Guide*.
|
2594
2586
|
#
|
@@ -2598,7 +2590,7 @@ module Aws::S3
|
|
2598
2590
|
# @option options [String] :checksum_crc32c
|
2599
2591
|
# This header can be used as a data integrity check to verify that the
|
2600
2592
|
# data received is the same data that was originally sent. This header
|
2601
|
-
# specifies the Base64 encoded, 32-bit `
|
2593
|
+
# specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
|
2602
2594
|
# For more information, see [Checking object integrity][1] in the
|
2603
2595
|
# *Amazon S3 User Guide*.
|
2604
2596
|
#
|
@@ -2608,10 +2600,10 @@ module Aws::S3
|
|
2608
2600
|
# @option options [String] :checksum_crc64nvme
|
2609
2601
|
# This header can be used as a data integrity check to verify that the
|
2610
2602
|
# data received is the same data that was originally sent. This header
|
2611
|
-
# specifies the Base64 encoded, 64-bit `
|
2612
|
-
# object. The `
|
2613
|
-
#
|
2614
|
-
#
|
2603
|
+
# specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
|
2604
|
+
# object. The `CRC64NVME` checksum is always a full object checksum. For
|
2605
|
+
# more information, see [Checking object integrity in the Amazon S3 User
|
2606
|
+
# Guide][1].
|
2615
2607
|
#
|
2616
2608
|
#
|
2617
2609
|
#
|
@@ -2619,9 +2611,9 @@ module Aws::S3
|
|
2619
2611
|
# @option options [String] :checksum_sha1
|
2620
2612
|
# This header can be used as a data integrity check to verify that the
|
2621
2613
|
# data received is the same data that was originally sent. This header
|
2622
|
-
# specifies the Base64 encoded, 160-bit `
|
2623
|
-
#
|
2624
|
-
#
|
2614
|
+
# specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
|
2615
|
+
# more information, see [Checking object integrity][1] in the *Amazon S3
|
2616
|
+
# User Guide*.
|
2625
2617
|
#
|
2626
2618
|
#
|
2627
2619
|
#
|
@@ -2629,7 +2621,7 @@ module Aws::S3
|
|
2629
2621
|
# @option options [String] :checksum_sha256
|
2630
2622
|
# This header can be used as a data integrity check to verify that the
|
2631
2623
|
# data received is the same data that was originally sent. This header
|
2632
|
-
# specifies the Base64 encoded, 256-bit `
|
2624
|
+
# specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
|
2633
2625
|
# For more information, see [Checking object integrity][1] in the
|
2634
2626
|
# *Amazon S3 User Guide*.
|
2635
2627
|
#
|
@@ -2876,20 +2868,17 @@ module Aws::S3
|
|
2876
2868
|
# `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
2877
2869
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
2878
2870
|
#
|
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.
|
2871
|
+
# **Directory buckets** - To encrypt data using SSE-KMS, it's
|
2872
|
+
# recommended to specify the `x-amz-server-side-encryption` header to
|
2873
|
+
# `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
|
2874
|
+
# header implicitly uses the bucket's default KMS customer managed key
|
2875
|
+
# ID. If you want to explicitly set the `
|
2876
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
|
2877
|
+
# bucket's default customer managed key (using key ID or ARN, not
|
2878
|
+
# alias). Your SSE-KMS configuration can only support 1 [customer
|
2879
|
+
# managed key][1] per directory bucket's lifetime. The [Amazon Web
|
2880
|
+
# Services managed key][2] (`aws/s3`) isn't supported. Incorrect key
|
2881
|
+
# specification results in an HTTP `400 Bad Request` error.
|
2893
2882
|
#
|
2894
2883
|
#
|
2895
2884
|
#
|
@@ -3524,15 +3513,15 @@ module Aws::S3
|
|
3524
3513
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
|
3525
3514
|
# the supported algorithm from the following list:
|
3526
3515
|
#
|
3527
|
-
# * `
|
3516
|
+
# * `CRC32`
|
3528
3517
|
#
|
3529
|
-
# * `
|
3518
|
+
# * `CRC32C`
|
3530
3519
|
#
|
3531
|
-
# * `
|
3520
|
+
# * `CRC64NVME`
|
3532
3521
|
#
|
3533
|
-
# * `
|
3522
|
+
# * `SHA1`
|
3534
3523
|
#
|
3535
|
-
# * `
|
3524
|
+
# * `SHA256`
|
3536
3525
|
#
|
3537
3526
|
# For more information, see [Checking object integrity][1] in the
|
3538
3527
|
# *Amazon S3 User Guide*.
|