aws-sdk-s3 1.173.0 → 1.175.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 +22 -2
- data/lib/aws-sdk-s3/client.rb +969 -722
- data/lib/aws-sdk-s3/client_api.rb +2 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +21 -0
- data/lib/aws-sdk-s3/object.rb +23 -1
- data/lib/aws-sdk-s3/object_summary.rb +20 -0
- data/lib/aws-sdk-s3/resource.rb +9 -8
- data/lib/aws-sdk-s3/types.rb +247 -116
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +3 -2
- data/sig/client.rbs +5 -3
- data/sig/multipart_upload.rbs +1 -0
- data/sig/object.rbs +1 -0
- data/sig/object_summary.rbs +1 -0
- data/sig/resource.rbs +2 -2
- data/sig/types.rbs +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a4ee2c0b63c4bbcd23a867b373d5e5def8a9383bc662f202dff55ecd19b9070
|
4
|
+
data.tar.gz: 8b450f1bb5847813b453c4ac04cbc639aa0c8a93a13840598987c38ecc6bd388
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c8539f2b8cf0f516c79c24c21cae6f24be3bf20ec80240c37a61273a39f5dff87e6dae670b6bedafac8c731cb2d9b6410b2a288235e98225af7dfc852516ed2
|
7
|
+
data.tar.gz: 1ed838dbc7cdb5d29a29643b362c088c243e8970b1979924cc99152c73dcf381a7f96b7490d52d45620d1d4081ed13f16a2843ef223b863bd7b31b8574c89e70
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.175.0 (2024-12-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon S3 introduces support for AWS Dedicated Local Zones
|
8
|
+
|
9
|
+
1.174.0 (2024-11-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications.
|
13
|
+
|
4
14
|
1.173.0 (2024-11-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.175.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -239,11 +239,11 @@ module Aws::S3
|
|
239
239
|
# create_bucket_configuration: {
|
240
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
|
241
241
|
# location: {
|
242
|
-
# type: "AvailabilityZone", # accepts AvailabilityZone
|
242
|
+
# type: "AvailabilityZone", # accepts AvailabilityZone, LocalZone
|
243
243
|
# name: "LocationNameAsString",
|
244
244
|
# },
|
245
245
|
# bucket: {
|
246
|
-
# data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone
|
246
|
+
# data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone, SingleLocalZone
|
247
247
|
# type: "Directory", # accepts Directory
|
248
248
|
# },
|
249
249
|
# },
|
@@ -508,6 +508,7 @@ module Aws::S3
|
|
508
508
|
# checksum_sha1: "ChecksumSHA1",
|
509
509
|
# checksum_sha256: "ChecksumSHA256",
|
510
510
|
# expires: Time.now,
|
511
|
+
# if_match: "IfMatch",
|
511
512
|
# if_none_match: "IfNoneMatch",
|
512
513
|
# grant_full_control: "GrantFullControl",
|
513
514
|
# grant_read: "GrantRead",
|
@@ -733,6 +734,25 @@ module Aws::S3
|
|
733
734
|
#
|
734
735
|
#
|
735
736
|
# [1]: https://www.rfc-editor.org/rfc/rfc7234#section-5.3
|
737
|
+
# @option options [String] :if_match
|
738
|
+
# Uploads the object only if the ETag (entity tag) value provided during
|
739
|
+
# the WRITE operation matches the ETag of the object in S3. If the ETag
|
740
|
+
# values do not match, the operation returns a `412 Precondition Failed`
|
741
|
+
# error.
|
742
|
+
#
|
743
|
+
# If a conflicting operation occurs during the upload S3 returns a `409
|
744
|
+
# ConditionalRequestConflict` response. On a 409 failure you should
|
745
|
+
# fetch the object's ETag and retry the upload.
|
746
|
+
#
|
747
|
+
# Expects the ETag value as a string.
|
748
|
+
#
|
749
|
+
# For more information about conditional requests, see [RFC 7232][1], or
|
750
|
+
# [Conditional requests][2] in the *Amazon S3 User Guide*.
|
751
|
+
#
|
752
|
+
#
|
753
|
+
#
|
754
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
755
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
|
736
756
|
# @option options [String] :if_none_match
|
737
757
|
# Uploads the object only if the object key name does not already exist
|
738
758
|
# in the bucket specified. Otherwise, Amazon S3 returns a `412
|