aws-sdk-s3 1.169.0 → 1.190.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 +128 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +79 -33
- 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 +7 -2
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +22 -2
- data/lib/aws-sdk-s3/bucket_logging.rb +2 -2
- data/lib/aws-sdk-s3/bucket_policy.rb +6 -5
- 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 +2964 -1677
- data/lib/aws-sdk-s3/client_api.rb +366 -160
- data/lib/aws-sdk-s3/endpoint_provider.rb +400 -276
- data/lib/aws-sdk-s3/endpoints.rb +56 -0
- data/lib/aws-sdk-s3/errors.rb +55 -0
- data/lib/aws-sdk-s3/file_downloader.rb +14 -31
- data/lib/aws-sdk-s3/legacy_signer.rb +2 -1
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
- data/lib/aws-sdk-s3/multipart_upload.rb +83 -6
- data/lib/aws-sdk-s3/multipart_upload_part.rb +50 -34
- data/lib/aws-sdk-s3/object.rb +260 -114
- data/lib/aws-sdk-s3/object_acl.rb +11 -5
- data/lib/aws-sdk-s3/object_multipart_copier.rb +2 -1
- data/lib/aws-sdk-s3/object_summary.rb +180 -82
- data/lib/aws-sdk-s3/object_version.rb +60 -13
- 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/http_200_errors.rb +3 -3
- data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
- data/lib/aws-sdk-s3/plugins/streaming_retry.rb +5 -7
- data/lib/aws-sdk-s3/plugins/url_encoded_keys.rb +2 -1
- data/lib/aws-sdk-s3/presigner.rb +5 -5
- data/lib/aws-sdk-s3/resource.rb +10 -9
- data/lib/aws-sdk-s3/types.rb +2511 -1060
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +12 -6
- 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 +132 -40
- data/sig/errors.rbs +10 -0
- data/sig/multipart_upload.rbs +11 -2
- data/sig/multipart_upload_part.rbs +5 -1
- data/sig/object.rbs +25 -6
- data/sig/object_acl.rbs +1 -1
- data/sig/object_summary.rbs +17 -7
- data/sig/object_version.rbs +9 -3
- data/sig/resource.rbs +5 -3
- data/sig/types.rbs +180 -36
- metadata +7 -10
- data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
@@ -76,11 +76,10 @@ module Aws::S3
|
|
76
76
|
data[:size]
|
77
77
|
end
|
78
78
|
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
# *Amazon S3 User Guide*.
|
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*.
|
84
83
|
#
|
85
84
|
#
|
86
85
|
#
|
@@ -90,45 +89,51 @@ module Aws::S3
|
|
90
89
|
data[:checksum_crc32]
|
91
90
|
end
|
92
91
|
|
93
|
-
# The
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
# Instead, it's a calculation based on the checksum values of each
|
98
|
-
# individual part. For more information about how checksums are
|
99
|
-
# calculated with multipart uploads, see [ Checking object integrity][1]
|
100
|
-
# in the *Amazon S3 User Guide*.
|
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
|
+
# checksum algorithm. For more information, see [Checking object
|
95
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
101
96
|
#
|
102
97
|
#
|
103
98
|
#
|
104
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
99
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
105
100
|
# @return [String]
|
106
101
|
def checksum_crc32c
|
107
102
|
data[:checksum_crc32c]
|
108
103
|
end
|
109
104
|
|
110
|
-
# The
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
# multipart uploads, see [ Checking object integrity][1] in the *Amazon
|
117
|
-
# S3 User Guide*.
|
105
|
+
# The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This
|
106
|
+
# checksum is present if the multipart upload request was created with
|
107
|
+
# the `CRC64NVME` checksum algorithm, or if the object was uploaded
|
108
|
+
# without a checksum (and Amazon S3 added the default checksum,
|
109
|
+
# `CRC64NVME`, to the uploaded object). For more information, see
|
110
|
+
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
118
111
|
#
|
119
112
|
#
|
120
113
|
#
|
121
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
114
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
115
|
+
# @return [String]
|
116
|
+
def checksum_crc64nvme
|
117
|
+
data[:checksum_crc64nvme]
|
118
|
+
end
|
119
|
+
|
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
|
+
#
|
125
|
+
#
|
126
|
+
#
|
127
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
122
128
|
# @return [String]
|
123
129
|
def checksum_sha1
|
124
130
|
data[:checksum_sha1]
|
125
131
|
end
|
126
132
|
|
127
|
-
#
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
# *Amazon S3 User Guide*.
|
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
|
+
# checksum algorithm. For more information, see [Checking object
|
136
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
132
137
|
#
|
133
138
|
#
|
134
139
|
#
|
@@ -512,9 +517,10 @@ module Aws::S3
|
|
512
517
|
# body: source_file,
|
513
518
|
# content_length: 1,
|
514
519
|
# content_md5: "ContentMD5",
|
515
|
-
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
520
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME
|
516
521
|
# checksum_crc32: "ChecksumCRC32",
|
517
522
|
# checksum_crc32c: "ChecksumCRC32C",
|
523
|
+
# checksum_crc64nvme: "ChecksumCRC64NVME",
|
518
524
|
# checksum_sha1: "ChecksumSHA1",
|
519
525
|
# checksum_sha256: "ChecksumSHA256",
|
520
526
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
@@ -530,7 +536,7 @@ module Aws::S3
|
|
530
536
|
# Size of the body in bytes. This parameter is useful when the size of
|
531
537
|
# the body cannot be determined automatically.
|
532
538
|
# @option options [String] :content_md5
|
533
|
-
# The
|
539
|
+
# The Base64 encoded 128-bit MD5 digest of the part data. This parameter
|
534
540
|
# is auto-populated when using the command from the CLI. This parameter
|
535
541
|
# is required if object lock parameters are specified.
|
536
542
|
#
|
@@ -558,7 +564,7 @@ module Aws::S3
|
|
558
564
|
# @option options [String] :checksum_crc32
|
559
565
|
# This header can be used as a data integrity check to verify that the
|
560
566
|
# data received is the same data that was originally sent. This header
|
561
|
-
# specifies the
|
567
|
+
# specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
|
562
568
|
# For more information, see [Checking object integrity][1] in the
|
563
569
|
# *Amazon S3 User Guide*.
|
564
570
|
#
|
@@ -568,7 +574,17 @@ module Aws::S3
|
|
568
574
|
# @option options [String] :checksum_crc32c
|
569
575
|
# This header can be used as a data integrity check to verify that the
|
570
576
|
# data received is the same data that was originally sent. This header
|
571
|
-
# specifies the
|
577
|
+
# specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
|
578
|
+
# For more information, see [Checking object integrity][1] in the
|
579
|
+
# *Amazon S3 User Guide*.
|
580
|
+
#
|
581
|
+
#
|
582
|
+
#
|
583
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
584
|
+
# @option options [String] :checksum_crc64nvme
|
585
|
+
# This header can be used as a data integrity check to verify that the
|
586
|
+
# data received is the same data that was originally sent. This header
|
587
|
+
# specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part.
|
572
588
|
# For more information, see [Checking object integrity][1] in the
|
573
589
|
# *Amazon S3 User Guide*.
|
574
590
|
#
|
@@ -578,7 +594,7 @@ module Aws::S3
|
|
578
594
|
# @option options [String] :checksum_sha1
|
579
595
|
# This header can be used as a data integrity check to verify that the
|
580
596
|
# data received is the same data that was originally sent. This header
|
581
|
-
# specifies the
|
597
|
+
# specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
|
582
598
|
# more information, see [Checking object integrity][1] in the *Amazon S3
|
583
599
|
# User Guide*.
|
584
600
|
#
|
@@ -588,7 +604,7 @@ module Aws::S3
|
|
588
604
|
# @option options [String] :checksum_sha256
|
589
605
|
# This header can be used as a data integrity check to verify that the
|
590
606
|
# data received is the same data that was originally sent. This header
|
591
|
-
# specifies the
|
607
|
+
# specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
|
592
608
|
# For more information, see [Checking object integrity][1] in the
|
593
609
|
# *Amazon S3 User Guide*.
|
594
610
|
#
|