aws-sdk-s3 1.158.0 → 1.160.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 +19 -0
- data/lib/aws-sdk-s3/client.rb +324 -209
- 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 +3 -0
- data/sig/multipart_upload.rbs +1 -0
- data/sig/object.rbs +1 -0
- data/sig/object_summary.rbs +1 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 626b7f94bf87dd8ee9f00eea6d41f99e94f36960c1b22a6de4e3c22033a23e73
|
4
|
+
data.tar.gz: 6a1dd3a39ca55926608b7ee234a764370063e66dfc308392b47f8b8cbe5ed693
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90976c3b85af292542c4a17a2102ae02b89796aa14f9282f8a0959c81071155a7790b9587ea5ab69d19db4a431103387764caa395d2f1e390213797d677cfdd2
|
7
|
+
data.tar.gz: 2205aed27fc2ffbdf8f279459102fd36c5d91fcbdb9b2e661877707d408c8cb8c0cc7a9766b41c10d7594f88434d0ab24dda6e0658968e460f2f722cdf9501c2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.160.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.159.0 (2024-08-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs.
|
13
|
+
|
4
14
|
1.158.0 (2024-08-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.160.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.
|