aws-sdk-s3 1.176.1 → 1.180.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +50 -39
- data/lib/aws-sdk-s3/bucket_acl.rb +6 -5
- data/lib/aws-sdk-s3/bucket_cors.rb +6 -5
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +2 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +3 -3
- data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
- data/lib/aws-sdk-s3/bucket_policy.rb +10 -9
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
- data/lib/aws-sdk-s3/bucket_tagging.rb +3 -3
- data/lib/aws-sdk-s3/bucket_versioning.rb +9 -9
- data/lib/aws-sdk-s3/bucket_website.rb +3 -3
- data/lib/aws-sdk-s3/client.rb +698 -538
- data/lib/aws-sdk-s3/client_api.rb +34 -2
- data/lib/aws-sdk-s3/endpoint_provider.rb +260 -277
- data/lib/aws-sdk-s3/file_downloader.rb +4 -21
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
- data/lib/aws-sdk-s3/multipart_upload.rb +48 -6
- data/lib/aws-sdk-s3/multipart_upload_part.rb +52 -36
- data/lib/aws-sdk-s3/object.rb +142 -110
- data/lib/aws-sdk-s3/object_acl.rb +4 -4
- data/lib/aws-sdk-s3/object_summary.rb +97 -80
- data/lib/aws-sdk-s3/object_version.rb +22 -18
- data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
- data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
- data/lib/aws-sdk-s3/presigner.rb +4 -5
- data/lib/aws-sdk-s3/resource.rb +1 -1
- data/lib/aws-sdk-s3/types.rb +1017 -671
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +4 -3
- data/sig/bucket_acl.rbs +1 -1
- data/sig/bucket_cors.rbs +1 -1
- data/sig/bucket_lifecycle.rbs +1 -1
- data/sig/bucket_lifecycle_configuration.rbs +1 -1
- data/sig/bucket_logging.rbs +1 -1
- data/sig/bucket_policy.rbs +1 -1
- data/sig/bucket_request_payment.rbs +1 -1
- data/sig/bucket_tagging.rbs +1 -1
- data/sig/bucket_versioning.rbs +3 -3
- data/sig/bucket_website.rbs +1 -1
- data/sig/client.rbs +52 -31
- data/sig/multipart_upload.rbs +8 -1
- data/sig/multipart_upload_part.rbs +5 -1
- data/sig/object.rbs +13 -5
- data/sig/object_acl.rbs +1 -1
- data/sig/object_summary.rbs +11 -6
- data/sig/object_version.rbs +5 -2
- data/sig/resource.rbs +3 -1
- data/sig/types.rbs +63 -34
- metadata +5 -5
- data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e83a176fc1edc7825b0c0aea41ca525abf0083f9485e5d8984b8de8ca8ec4e58
|
4
|
+
data.tar.gz: 1f7aac741f82e8e886f0c6394c082a509e9e78ea1a26a5ee8753bd5656603dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 845bfa52e89661f90e59e51e0dc11266416507d3750ea452f987a4caee5ec2640733450c70544f1c5f4b4ad237e62bf9a8c0dc27360935f8764d55f373aad6a7
|
7
|
+
data.tar.gz: df7ef9b18aecb7963ec2babbda0c78dde371065d8c346dbfd45adcfd3af97d8d499d63f29f37d8fb6b7cd847f2d841d653f1cfcf04878322d599f51bca806398
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,28 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.180.0 (2025-02-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
|
8
|
+
|
9
|
+
1.179.0 (2025-01-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long.
|
13
|
+
|
14
|
+
1.178.0 (2025-01-15)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests.
|
18
|
+
|
19
|
+
* Feature - Default to using `CRC32` checksum validation for S3 uploads and downloads.
|
20
|
+
|
21
|
+
1.177.0 (2025-01-03)
|
22
|
+
------------------
|
23
|
+
|
24
|
+
* Feature - This change is only for updating the model regexp of CopySource which is not for validation but only for documentation and user guide change.
|
25
|
+
|
4
26
|
1.176.1 (2024-12-12)
|
5
27
|
------------------
|
6
28
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.180.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -237,7 +237,7 @@ module Aws::S3
|
|
237
237
|
# bucket.create({
|
238
238
|
# acl: "private", # accepts private, public-read, public-read-write, authenticated-read
|
239
239
|
# create_bucket_configuration: {
|
240
|
-
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
240
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ap-southeast-5, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, il-central-1, me-central-1, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
241
241
|
# location: {
|
242
242
|
# type: "AvailabilityZone", # accepts AvailabilityZone, LocalZone
|
243
243
|
# name: "LocationNameAsString",
|
@@ -392,7 +392,7 @@ module Aws::S3
|
|
392
392
|
# request_payer: "requester", # accepts requester
|
393
393
|
# bypass_governance_retention: false,
|
394
394
|
# expected_bucket_owner: "AccountId",
|
395
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
395
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
396
396
|
# })
|
397
397
|
# @param [Hash] options ({})
|
398
398
|
# @option options [required, Types::Delete] :delete
|
@@ -458,22 +458,23 @@ module Aws::S3
|
|
458
458
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
|
459
459
|
# the supported algorithm from the following list:
|
460
460
|
#
|
461
|
-
# * `
|
461
|
+
# * `CRC-32`
|
462
462
|
#
|
463
|
-
# * `
|
463
|
+
# * `CRC-32C`
|
464
464
|
#
|
465
|
-
# * `
|
465
|
+
# * `CRC-64NVME`
|
466
466
|
#
|
467
|
-
# * `
|
467
|
+
# * `SHA-1`
|
468
|
+
#
|
469
|
+
# * `SHA-256`
|
468
470
|
#
|
469
471
|
# For more information, see [Checking object integrity][1] in the
|
470
472
|
# *Amazon S3 User Guide*.
|
471
473
|
#
|
472
474
|
# If the individual checksum value you provide through
|
473
475
|
# `x-amz-checksum-algorithm ` doesn't match the checksum algorithm you
|
474
|
-
# set through `x-amz-sdk-checksum-algorithm`, Amazon S3
|
475
|
-
#
|
476
|
-
# that matches the provided value in `x-amz-checksum-algorithm `.
|
476
|
+
# set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the
|
477
|
+
# request with a `BadDigest` error.
|
477
478
|
#
|
478
479
|
# If you provide an individual checksum, Amazon S3 ignores any provided
|
479
480
|
# `ChecksumAlgorithm` parameter.
|
@@ -502,9 +503,10 @@ module Aws::S3
|
|
502
503
|
# content_length: 1,
|
503
504
|
# content_md5: "ContentMD5",
|
504
505
|
# content_type: "ContentType",
|
505
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
506
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
506
507
|
# checksum_crc32: "ChecksumCRC32",
|
507
508
|
# checksum_crc32c: "ChecksumCRC32C",
|
509
|
+
# checksum_crc64nvme: "ChecksumCRC64NVME",
|
508
510
|
# checksum_sha1: "ChecksumSHA1",
|
509
511
|
# checksum_sha256: "ChecksumSHA256",
|
510
512
|
# expires: Time.now,
|
@@ -611,7 +613,7 @@ module Aws::S3
|
|
611
613
|
#
|
612
614
|
# [1]: https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length
|
613
615
|
# @option options [String] :content_md5
|
614
|
-
# The
|
616
|
+
# The Base64 encoded 128-bit `MD5` digest of the message (without the
|
615
617
|
# headers) according to RFC 1864. This header can be used as a message
|
616
618
|
# integrity check to verify that the data is the same data that was
|
617
619
|
# originally sent. Although it is optional, we recommend using the
|
@@ -654,22 +656,23 @@ module Aws::S3
|
|
654
656
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
|
655
657
|
# the supported algorithm from the following list:
|
656
658
|
#
|
657
|
-
# * `
|
659
|
+
# * `CRC-32`
|
660
|
+
#
|
661
|
+
# * `CRC-32C`
|
658
662
|
#
|
659
|
-
# * `
|
663
|
+
# * `CRC-64NVME`
|
660
664
|
#
|
661
|
-
# * `
|
665
|
+
# * `SHA-1`
|
662
666
|
#
|
663
|
-
# * `
|
667
|
+
# * `SHA-256`
|
664
668
|
#
|
665
669
|
# For more information, see [Checking object integrity][1] in the
|
666
670
|
# *Amazon S3 User Guide*.
|
667
671
|
#
|
668
672
|
# If the individual checksum value you provide through
|
669
673
|
# `x-amz-checksum-algorithm ` doesn't match the checksum algorithm you
|
670
|
-
# set through `x-amz-sdk-checksum-algorithm`, Amazon S3
|
671
|
-
#
|
672
|
-
# that matches the provided value in `x-amz-checksum-algorithm `.
|
674
|
+
# set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the
|
675
|
+
# request with a `BadDigest` error.
|
673
676
|
#
|
674
677
|
# <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required
|
675
678
|
# for any request to upload an object with a retention period configured
|
@@ -689,7 +692,7 @@ module Aws::S3
|
|
689
692
|
# @option options [String] :checksum_crc32
|
690
693
|
# This header can be used as a data integrity check to verify that the
|
691
694
|
# data received is the same data that was originally sent. This header
|
692
|
-
# specifies the
|
695
|
+
# specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object.
|
693
696
|
# For more information, see [Checking object integrity][1] in the
|
694
697
|
# *Amazon S3 User Guide*.
|
695
698
|
#
|
@@ -699,19 +702,30 @@ module Aws::S3
|
|
699
702
|
# @option options [String] :checksum_crc32c
|
700
703
|
# This header can be used as a data integrity check to verify that the
|
701
704
|
# data received is the same data that was originally sent. This header
|
702
|
-
# specifies the
|
705
|
+
# specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object.
|
703
706
|
# For more information, see [Checking object integrity][1] in the
|
704
707
|
# *Amazon S3 User Guide*.
|
705
708
|
#
|
706
709
|
#
|
707
710
|
#
|
708
711
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
712
|
+
# @option options [String] :checksum_crc64nvme
|
713
|
+
# This header can be used as a data integrity check to verify that the
|
714
|
+
# data received is the same data that was originally sent. This header
|
715
|
+
# specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
|
716
|
+
# object. The `CRC-64NVME` checksum is always a full object checksum.
|
717
|
+
# For more information, see [Checking object integrity in the Amazon S3
|
718
|
+
# User Guide][1].
|
719
|
+
#
|
720
|
+
#
|
721
|
+
#
|
722
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
709
723
|
# @option options [String] :checksum_sha1
|
710
724
|
# This header can be used as a data integrity check to verify that the
|
711
725
|
# data received is the same data that was originally sent. This header
|
712
|
-
# specifies the
|
713
|
-
# more information, see [Checking object integrity][1] in the
|
714
|
-
# User Guide*.
|
726
|
+
# specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
|
727
|
+
# For more information, see [Checking object integrity][1] in the
|
728
|
+
# *Amazon S3 User Guide*.
|
715
729
|
#
|
716
730
|
#
|
717
731
|
#
|
@@ -719,7 +733,7 @@ module Aws::S3
|
|
719
733
|
# @option options [String] :checksum_sha256
|
720
734
|
# This header can be used as a data integrity check to verify that the
|
721
735
|
# data received is the same data that was originally sent. This header
|
722
|
-
# specifies the
|
736
|
+
# specifies the Base64 encoded, 256-bit `SHA-256` digest of the object.
|
723
737
|
# For more information, see [Checking object integrity][1] in the
|
724
738
|
# *Amazon S3 User Guide*.
|
725
739
|
#
|
@@ -968,20 +982,17 @@ module Aws::S3
|
|
968
982
|
# `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
969
983
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
970
984
|
#
|
971
|
-
# **Directory buckets** -
|
972
|
-
#
|
973
|
-
#
|
974
|
-
#
|
975
|
-
#
|
976
|
-
# x-amz-server-side-encryption-aws-kms-key-id` header
|
977
|
-
#
|
978
|
-
#
|
979
|
-
#
|
980
|
-
#
|
981
|
-
#
|
982
|
-
# support 1 [customer managed key][1] per directory bucket for the
|
983
|
-
# lifetime of the bucket. The [Amazon Web Services managed key][2]
|
984
|
-
# (`aws/s3`) isn't supported.
|
985
|
+
# **Directory buckets** - To encrypt data using SSE-KMS, it's
|
986
|
+
# recommended to specify the `x-amz-server-side-encryption` header to
|
987
|
+
# `aws:kms`. Then, the `x-amz-server-side-encryption-aws-kms-key-id`
|
988
|
+
# header implicitly uses the bucket's default KMS customer managed key
|
989
|
+
# ID. If you want to explicitly set the `
|
990
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header, it must match the
|
991
|
+
# bucket's default customer managed key (using key ID or ARN, not
|
992
|
+
# alias). Your SSE-KMS configuration can only support 1 [customer
|
993
|
+
# managed key][1] per directory bucket's lifetime. The [Amazon Web
|
994
|
+
# Services managed key][2] (`aws/s3`) isn't supported. Incorrect key
|
995
|
+
# specification results in an HTTP `400 Bad Request` error.
|
985
996
|
#
|
986
997
|
#
|
987
998
|
#
|
@@ -990,7 +1001,7 @@ module Aws::S3
|
|
990
1001
|
# @option options [String] :ssekms_encryption_context
|
991
1002
|
# Specifies the Amazon Web Services KMS Encryption Context as an
|
992
1003
|
# additional encryption context to use for object encryption. The value
|
993
|
-
# of this header is a Base64
|
1004
|
+
# of this header is a Base64 encoded string of a UTF-8 encoded JSON,
|
994
1005
|
# which contains the encryption context as key-value pairs. This value
|
995
1006
|
# is stored as object metadata and automatically gets passed on to
|
996
1007
|
# Amazon Web Services KMS for future `GetObject` operations on this
|
@@ -207,7 +207,7 @@ module Aws::S3
|
|
207
207
|
# },
|
208
208
|
# },
|
209
209
|
# content_md5: "ContentMD5",
|
210
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
210
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
211
211
|
# grant_full_control: "GrantFullControl",
|
212
212
|
# grant_read: "GrantRead",
|
213
213
|
# grant_read_acp: "GrantReadACP",
|
@@ -222,9 +222,10 @@ module Aws::S3
|
|
222
222
|
# Contains the elements that set the ACL permissions for an object per
|
223
223
|
# grantee.
|
224
224
|
# @option options [String] :content_md5
|
225
|
-
# The
|
226
|
-
# used as a message integrity check to verify that the request body
|
227
|
-
# not corrupted in transit. For more information, go to [RFC
|
225
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. This header must
|
226
|
+
# be used as a message integrity check to verify that the request body
|
227
|
+
# was not corrupted in transit. For more information, go to [RFC
|
228
|
+
# 1864.][1]
|
228
229
|
#
|
229
230
|
# For requests made using the Amazon Web Services Command Line Interface
|
230
231
|
# (CLI) or Amazon Web Services SDKs, this field is calculated
|
@@ -234,7 +235,7 @@ module Aws::S3
|
|
234
235
|
#
|
235
236
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
236
237
|
# @option options [String] :checksum_algorithm
|
237
|
-
# Indicates the algorithm used to create the checksum for the
|
238
|
+
# Indicates the algorithm used to create the checksum for the request
|
238
239
|
# when you use the SDK. This header will not provide any additional
|
239
240
|
# functionality if you don't use the SDK. When you send this header,
|
240
241
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -214,7 +214,7 @@ module Aws::S3
|
|
214
214
|
# ],
|
215
215
|
# },
|
216
216
|
# content_md5: "ContentMD5",
|
217
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
217
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
218
218
|
# expected_bucket_owner: "AccountId",
|
219
219
|
# })
|
220
220
|
# @param [Hash] options ({})
|
@@ -227,9 +227,10 @@ module Aws::S3
|
|
227
227
|
#
|
228
228
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html
|
229
229
|
# @option options [String] :content_md5
|
230
|
-
# The
|
231
|
-
# used as a message integrity check to verify that the request body
|
232
|
-
# not corrupted in transit. For more information, go to [RFC
|
230
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. This header must
|
231
|
+
# be used as a message integrity check to verify that the request body
|
232
|
+
# was not corrupted in transit. For more information, go to [RFC
|
233
|
+
# 1864.][1]
|
233
234
|
#
|
234
235
|
# For requests made using the Amazon Web Services Command Line Interface
|
235
236
|
# (CLI) or Amazon Web Services SDKs, this field is calculated
|
@@ -239,7 +240,7 @@ module Aws::S3
|
|
239
240
|
#
|
240
241
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
241
242
|
# @option options [String] :checksum_algorithm
|
242
|
-
# Indicates the algorithm used to create the checksum for the
|
243
|
+
# Indicates the algorithm used to create the checksum for the request
|
243
244
|
# when you use the SDK. This header will not provide any additional
|
244
245
|
# functionality if you don't use the SDK. When you send this header,
|
245
246
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -206,7 +206,7 @@ module Aws::S3
|
|
206
206
|
#
|
207
207
|
# bucket_lifecycle.put({
|
208
208
|
# content_md5: "ContentMD5",
|
209
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
209
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
210
210
|
# lifecycle_configuration: {
|
211
211
|
# rules: [ # required
|
212
212
|
# {
|
@@ -246,7 +246,7 @@ module Aws::S3
|
|
246
246
|
# (CLI) or Amazon Web Services SDKs, this field is calculated
|
247
247
|
# automatically.
|
248
248
|
# @option options [String] :checksum_algorithm
|
249
|
-
# Indicates the algorithm used to create the checksum for the
|
249
|
+
# Indicates the algorithm used to create the checksum for the request
|
250
250
|
# when you use the SDK. This header will not provide any additional
|
251
251
|
# functionality if you don't use the SDK. When you send this header,
|
252
252
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -43,7 +43,7 @@ module Aws::S3
|
|
43
43
|
# Indicates which default minimum object size behavior is applied to the
|
44
44
|
# lifecycle configuration.
|
45
45
|
#
|
46
|
-
# <note markdown="1"> This parameter applies to general purpose buckets only. It
|
46
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It isn't
|
47
47
|
# supported for directory bucket lifecycle configurations.
|
48
48
|
#
|
49
49
|
# </note>
|
@@ -230,7 +230,7 @@ module Aws::S3
|
|
230
230
|
# @example Request syntax with placeholder values
|
231
231
|
#
|
232
232
|
# bucket_lifecycle_configuration.put({
|
233
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
233
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
234
234
|
# lifecycle_configuration: {
|
235
235
|
# rules: [ # required
|
236
236
|
# {
|
@@ -291,7 +291,7 @@ module Aws::S3
|
|
291
291
|
# })
|
292
292
|
# @param [Hash] options ({})
|
293
293
|
# @option options [String] :checksum_algorithm
|
294
|
-
# Indicates the algorithm used to create the checksum for the
|
294
|
+
# Indicates the algorithm used to create the checksum for the request
|
295
295
|
# when you use the SDK. This header will not provide any additional
|
296
296
|
# functionality if you don't use the SDK. When you send this header,
|
297
297
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -213,7 +213,7 @@ module Aws::S3
|
|
213
213
|
# },
|
214
214
|
# },
|
215
215
|
# content_md5: "ContentMD5",
|
216
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
216
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
217
217
|
# expected_bucket_owner: "AccountId",
|
218
218
|
# })
|
219
219
|
# @param [Hash] options ({})
|
@@ -226,7 +226,7 @@ module Aws::S3
|
|
226
226
|
# (CLI) or Amazon Web Services SDKs, this field is calculated
|
227
227
|
# automatically.
|
228
228
|
# @option options [String] :checksum_algorithm
|
229
|
-
# Indicates the algorithm used to create the checksum for the
|
229
|
+
# Indicates the algorithm used to create the checksum for the request
|
230
230
|
# when you use the SDK. This header will not provide any additional
|
231
231
|
# functionality if you don't use the SDK. When you send this header,
|
232
232
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -207,7 +207,7 @@ module Aws::S3
|
|
207
207
|
#
|
208
208
|
# bucket_policy.put({
|
209
209
|
# content_md5: "ContentMD5",
|
210
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
210
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
211
211
|
# confirm_remove_self_bucket_access: false,
|
212
212
|
# policy: "Policy", # required
|
213
213
|
# expected_bucket_owner: "AccountId",
|
@@ -224,7 +224,7 @@ module Aws::S3
|
|
224
224
|
#
|
225
225
|
# </note>
|
226
226
|
# @option options [String] :checksum_algorithm
|
227
|
-
# Indicates the algorithm used to create the checksum for the
|
227
|
+
# Indicates the algorithm used to create the checksum for the request
|
228
228
|
# when you use the SDK. This header will not provide any additional
|
229
229
|
# functionality if you don't use the SDK. When you send this header,
|
230
230
|
# there must be a corresponding `x-amz-checksum-algorithm ` or
|
@@ -234,22 +234,23 @@ module Aws::S3
|
|
234
234
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
|
235
235
|
# the supported algorithm from the following list:
|
236
236
|
#
|
237
|
-
# * `
|
237
|
+
# * `CRC-32`
|
238
238
|
#
|
239
|
-
# * `
|
239
|
+
# * `CRC-32C`
|
240
240
|
#
|
241
|
-
# * `
|
241
|
+
# * `CRC-64NVME`
|
242
242
|
#
|
243
|
-
# * `
|
243
|
+
# * `SHA-1`
|
244
|
+
#
|
245
|
+
# * `SHA-256`
|
244
246
|
#
|
245
247
|
# For more information, see [Checking object integrity][1] in the
|
246
248
|
# *Amazon S3 User Guide*.
|
247
249
|
#
|
248
250
|
# If the individual checksum value you provide through
|
249
251
|
# `x-amz-checksum-algorithm ` doesn't match the checksum algorithm you
|
250
|
-
# set through `x-amz-sdk-checksum-algorithm`, Amazon S3
|
251
|
-
#
|
252
|
-
# that matches the provided value in `x-amz-checksum-algorithm `.
|
252
|
+
# set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the
|
253
|
+
# request with a `BadDigest` error.
|
253
254
|
#
|
254
255
|
# <note markdown="1"> For directory buckets, when you use Amazon Web Services SDKs, `CRC32`
|
255
256
|
# is the default checksum algorithm that's used for performance.
|
@@ -182,7 +182,7 @@ module Aws::S3
|
|
182
182
|
#
|
183
183
|
# bucket_request_payment.put({
|
184
184
|
# content_md5: "ContentMD5",
|
185
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
185
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
186
186
|
# request_payment_configuration: { # required
|
187
187
|
# payer: "Requester", # required, accepts Requester, BucketOwner
|
188
188
|
# },
|
@@ -190,7 +190,7 @@ module Aws::S3
|
|
190
190
|
# })
|
191
191
|
# @param [Hash] options ({})
|
192
192
|
# @option options [String] :content_md5
|
193
|
-
# The
|
193
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. You must use this
|
194
194
|
# header as a message integrity check to verify that the request body
|
195
195
|
# was not corrupted in transit. For more information, see [RFC 1864][1].
|
196
196
|
#
|
@@ -202,7 +202,7 @@ module Aws::S3
|
|
202
202
|
#
|
203
203
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
204
204
|
# @option options [String] :checksum_algorithm
|
205
|
-
# Indicates the algorithm used to create the checksum for the
|
205
|
+
# Indicates the algorithm used to create the checksum for the request
|
206
206
|
# when you use the SDK. This header will not provide any additional
|
207
207
|
# functionality if you don't use the SDK. When you send this header,
|
208
208
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -201,7 +201,7 @@ module Aws::S3
|
|
201
201
|
#
|
202
202
|
# bucket_tagging.put({
|
203
203
|
# content_md5: "ContentMD5",
|
204
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
204
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
205
205
|
# tagging: { # required
|
206
206
|
# tag_set: [ # required
|
207
207
|
# {
|
@@ -214,7 +214,7 @@ module Aws::S3
|
|
214
214
|
# })
|
215
215
|
# @param [Hash] options ({})
|
216
216
|
# @option options [String] :content_md5
|
217
|
-
# The
|
217
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. You must use this
|
218
218
|
# header as a message integrity check to verify that the request body
|
219
219
|
# was not corrupted in transit. For more information, see [RFC 1864][1].
|
220
220
|
#
|
@@ -226,7 +226,7 @@ module Aws::S3
|
|
226
226
|
#
|
227
227
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
228
228
|
# @option options [String] :checksum_algorithm
|
229
|
-
# Indicates the algorithm used to create the checksum for the
|
229
|
+
# Indicates the algorithm used to create the checksum for the request
|
230
230
|
# when you use the SDK. This header will not provide any additional
|
231
231
|
# functionality if you don't use the SDK. When you send this header,
|
232
232
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -191,13 +191,13 @@ module Aws::S3
|
|
191
191
|
#
|
192
192
|
# bucket_versioning.enable({
|
193
193
|
# content_md5: "ContentMD5",
|
194
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
194
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
195
195
|
# mfa: "MFA",
|
196
196
|
# expected_bucket_owner: "AccountId",
|
197
197
|
# })
|
198
198
|
# @param [Hash] options ({})
|
199
199
|
# @option options [String] :content_md5
|
200
|
-
# >The
|
200
|
+
# >The Base64 encoded 128-bit `MD5` digest of the data. You must use
|
201
201
|
# this header as a message integrity check to verify that the request
|
202
202
|
# body was not corrupted in transit. For more information, see [RFC
|
203
203
|
# 1864][1].
|
@@ -210,7 +210,7 @@ module Aws::S3
|
|
210
210
|
#
|
211
211
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
212
212
|
# @option options [String] :checksum_algorithm
|
213
|
-
# Indicates the algorithm used to create the checksum for the
|
213
|
+
# Indicates the algorithm used to create the checksum for the request
|
214
214
|
# when you use the SDK. This header will not provide any additional
|
215
215
|
# functionality if you don't use the SDK. When you send this header,
|
216
216
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -249,7 +249,7 @@ module Aws::S3
|
|
249
249
|
#
|
250
250
|
# bucket_versioning.put({
|
251
251
|
# content_md5: "ContentMD5",
|
252
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
252
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
253
253
|
# mfa: "MFA",
|
254
254
|
# versioning_configuration: { # required
|
255
255
|
# mfa_delete: "Enabled", # accepts Enabled, Disabled
|
@@ -259,7 +259,7 @@ module Aws::S3
|
|
259
259
|
# })
|
260
260
|
# @param [Hash] options ({})
|
261
261
|
# @option options [String] :content_md5
|
262
|
-
# >The
|
262
|
+
# >The Base64 encoded 128-bit `MD5` digest of the data. You must use
|
263
263
|
# this header as a message integrity check to verify that the request
|
264
264
|
# body was not corrupted in transit. For more information, see [RFC
|
265
265
|
# 1864][1].
|
@@ -272,7 +272,7 @@ module Aws::S3
|
|
272
272
|
#
|
273
273
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
274
274
|
# @option options [String] :checksum_algorithm
|
275
|
-
# Indicates the algorithm used to create the checksum for the
|
275
|
+
# Indicates the algorithm used to create the checksum for the request
|
276
276
|
# when you use the SDK. This header will not provide any additional
|
277
277
|
# functionality if you don't use the SDK. When you send this header,
|
278
278
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -308,13 +308,13 @@ module Aws::S3
|
|
308
308
|
#
|
309
309
|
# bucket_versioning.suspend({
|
310
310
|
# content_md5: "ContentMD5",
|
311
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
311
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
312
312
|
# mfa: "MFA",
|
313
313
|
# expected_bucket_owner: "AccountId",
|
314
314
|
# })
|
315
315
|
# @param [Hash] options ({})
|
316
316
|
# @option options [String] :content_md5
|
317
|
-
# >The
|
317
|
+
# >The Base64 encoded 128-bit `MD5` digest of the data. You must use
|
318
318
|
# this header as a message integrity check to verify that the request
|
319
319
|
# body was not corrupted in transit. For more information, see [RFC
|
320
320
|
# 1864][1].
|
@@ -327,7 +327,7 @@ module Aws::S3
|
|
327
327
|
#
|
328
328
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
329
329
|
# @option options [String] :checksum_algorithm
|
330
|
-
# Indicates the algorithm used to create the checksum for the
|
330
|
+
# Indicates the algorithm used to create the checksum for the request
|
331
331
|
# when you use the SDK. This header will not provide any additional
|
332
332
|
# functionality if you don't use the SDK. When you send this header,
|
333
333
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|
@@ -223,7 +223,7 @@ module Aws::S3
|
|
223
223
|
#
|
224
224
|
# bucket_website.put({
|
225
225
|
# content_md5: "ContentMD5",
|
226
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
226
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
227
227
|
# website_configuration: { # required
|
228
228
|
# error_document: {
|
229
229
|
# key: "ObjectKey", # required
|
@@ -255,7 +255,7 @@ module Aws::S3
|
|
255
255
|
# })
|
256
256
|
# @param [Hash] options ({})
|
257
257
|
# @option options [String] :content_md5
|
258
|
-
# The
|
258
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. You must use this
|
259
259
|
# header as a message integrity check to verify that the request body
|
260
260
|
# was not corrupted in transit. For more information, see [RFC 1864][1].
|
261
261
|
#
|
@@ -267,7 +267,7 @@ module Aws::S3
|
|
267
267
|
#
|
268
268
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
269
269
|
# @option options [String] :checksum_algorithm
|
270
|
-
# Indicates the algorithm used to create the checksum for the
|
270
|
+
# Indicates the algorithm used to create the checksum for the request
|
271
271
|
# when you use the SDK. This header will not provide any additional
|
272
272
|
# functionality if you don't use the SDK. When you send this header,
|
273
273
|
# there must be a corresponding `x-amz-checksum` or `x-amz-trailer`
|