aws-sdk-s3 1.158.0 → 1.159.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +19 -0
- data/lib/aws-sdk-s3/client.rb +306 -208
- data/lib/aws-sdk-s3/client_api.rb +2 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +20 -0
- data/lib/aws-sdk-s3/object.rb +36 -4
- data/lib/aws-sdk-s3/object_summary.rb +28 -0
- data/lib/aws-sdk-s3/object_version.rb +17 -4
- data/lib/aws-sdk-s3/types.rb +106 -6
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +1 -0
- data/sig/client.rbs +2 -0
- data/sig/multipart_upload.rbs +1 -0
- data/sig/object.rbs +1 -0
- data/sig/object_summary.rbs +1 -0
- data/sig/types.rbs +2 -0
- 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: 63543f5716e2d34cc5f16260c094e5a1b74a9b81e4b1b48d25669cacaf636e53
|
4
|
+
data.tar.gz: 9af48693b677847fcdd84c02864ff226205a19b47666e6da74b530d7f1d5833a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d1f86f9df2fcfa8dec3afa9cab9c7a7773fecbdf758568a7c98b0c9c4bf758744d1c70a06db932c83a23fcfa2faced45e85a077e0c70af61c7b325892344819
|
7
|
+
data.tar.gz: a896d4443f17aff9b4e1f1c5660fedcca5dac3c236e813f147de1e513c46e7fd15afad9ac7fa130e191e32bc072719f8a7a9db77603f0a236615361a4caac052
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.159.0 (2024-08-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs.
|
8
|
+
|
4
9
|
1.158.0 (2024-08-15)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.159.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -497,6 +497,7 @@ module Aws::S3
|
|
497
497
|
# checksum_sha1: "ChecksumSHA1",
|
498
498
|
# checksum_sha256: "ChecksumSHA256",
|
499
499
|
# expires: Time.now,
|
500
|
+
# if_none_match: "IfNoneMatch",
|
500
501
|
# grant_full_control: "GrantFullControl",
|
501
502
|
# grant_read: "GrantRead",
|
502
503
|
# grant_read_acp: "GrantReadACP",
|
@@ -712,6 +713,24 @@ module Aws::S3
|
|
712
713
|
#
|
713
714
|
#
|
714
715
|
# [1]: https://www.rfc-editor.org/rfc/rfc7234#section-5.3
|
716
|
+
# @option options [String] :if_none_match
|
717
|
+
# Uploads the object only if the object key name does not already exist
|
718
|
+
# in the bucket specified. Otherwise, Amazon S3 returns a `412
|
719
|
+
# Precondition Failed` error.
|
720
|
+
#
|
721
|
+
# If a conflicting operation occurs during the upload S3 returns a `409
|
722
|
+
# ConditionalRequestConflict` response. On a 409 failure you should
|
723
|
+
# retry the upload.
|
724
|
+
#
|
725
|
+
# Expects the '*' (asterisk) character.
|
726
|
+
#
|
727
|
+
# For more information about conditional requests, see [RFC 7232][1], or
|
728
|
+
# [Conditional requests][2] in the *Amazon S3 User Guide*.
|
729
|
+
#
|
730
|
+
#
|
731
|
+
#
|
732
|
+
# [1]: https://tools.ietf.org/html/rfc7232
|
733
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
|
715
734
|
# @option options [String] :grant_full_control
|
716
735
|
# Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
|
717
736
|
# object.
|