aws-sdk-s3 1.171.0 → 1.174.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 958d9e96cdee4392a5c72351830f6eb3708ff4b6f352165ebfe413e027821064
4
- data.tar.gz: 6e8acf39da2fb4c9ad2829da587d6948af8e15b9fa4635ea716c60355fb44e5f
3
+ metadata.gz: 41708b9731d7e419a0ba0c0b1055eb898262787bbbb863ac9fc263dea923ab39
4
+ data.tar.gz: 7b234e13747a166c717b53e12f10c68c46f095a6c80a595729b2bf45bd26559d
5
5
  SHA512:
6
- metadata.gz: 22f2eac6252417eb3b8c66c4cd2379051858591524baff178cd9f9711bca49d2027e9e59847374b27d20af4b85b6ff61a20350a9115ba2fb043b0c490be7646d
7
- data.tar.gz: 7976310bf6f27fd27a3247d63c56365163f2a976d65b56d040bc85874777eafad26311715b8f8bdab504e7229800e89c7e6efeaa7942e4fa258d4fb21a528d7e
6
+ metadata.gz: ea9f2984fef0721818c9fd89578fec1607717f0997a4eef687438b0b1c8ee5d7dc9e97e7eb88f61de09639f960a26263f364a7058e2cd9177ab21c796bfd6387
7
+ data.tar.gz: 2abdd8f68b8d314356c8d94be450302c871ab278249deaedf5369760ef69b460999ec1e570902f5070795e9d3238170814be085263235239499ed599aa42a0e4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.174.0 (2024-11-25)
5
+ ------------------
6
+
7
+ * Feature - Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications.
8
+
9
+ 1.173.0 (2024-11-21)
10
+ ------------------
11
+
12
+ * Feature - Add support for conditional deletes for the S3 DeleteObject and DeleteObjects APIs. Add support for write offset bytes option used to append to objects with the S3 PutObject API.
13
+
14
+ 1.172.0 (2024-11-18)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.171.0 (2024-11-14)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.171.0
1
+ 1.174.0
@@ -381,6 +381,9 @@ module Aws::S3
381
381
  # {
382
382
  # key: "ObjectKey", # required
383
383
  # version_id: "ObjectVersionId",
384
+ # etag: "ETag",
385
+ # last_modified_time: Time.now,
386
+ # size: 1,
384
387
  # },
385
388
  # ],
386
389
  # quiet: false,
@@ -505,12 +508,14 @@ module Aws::S3
505
508
  # checksum_sha1: "ChecksumSHA1",
506
509
  # checksum_sha256: "ChecksumSHA256",
507
510
  # expires: Time.now,
511
+ # if_match: "IfMatch",
508
512
  # if_none_match: "IfNoneMatch",
509
513
  # grant_full_control: "GrantFullControl",
510
514
  # grant_read: "GrantRead",
511
515
  # grant_read_acp: "GrantReadACP",
512
516
  # grant_write_acp: "GrantWriteACP",
513
517
  # key: "ObjectKey", # required
518
+ # write_offset_bytes: 1,
514
519
  # metadata: {
515
520
  # "MetadataKey" => "MetadataValue",
516
521
  # },
@@ -729,6 +734,25 @@ module Aws::S3
729
734
  #
730
735
  #
731
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
732
756
  # @option options [String] :if_none_match
733
757
  # Uploads the object only if the object key name does not already exist
734
758
  # in the bucket specified. Otherwise, Amazon S3 returns a `412
@@ -782,6 +806,16 @@ module Aws::S3
782
806
  # </note>
783
807
  # @option options [required, String] :key
784
808
  # Object key for which the PUT action was initiated.
809
+ # @option options [Integer] :write_offset_bytes
810
+ # Specifies the offset for appending data to existing objects in bytes.
811
+ # The offset must be equal to the size of the existing object being
812
+ # appended to. If no object exists, setting this header to 0 will create
813
+ # a new object.
814
+ #
815
+ # <note markdown="1"> This functionality is only supported for objects in the Amazon S3
816
+ # Express One Zone storage class in directory buckets.
817
+ #
818
+ # </note>
785
819
  # @option options [Hash<String,String>] :metadata
786
820
  # A map of metadata to store with the object in S3.
787
821
  # @option options [String] :server_side_encryption
@@ -188,6 +188,11 @@ module Aws::S3
188
188
  # The account ID of the expected bucket owner. If the account ID that
189
189
  # you provide does not match the actual owner of the bucket, the request
190
190
  # fails with the HTTP status code `403 Forbidden` (access denied).
191
+ #
192
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
193
+ # supported for directory bucket lifecycle configurations.
194
+ #
195
+ # </note>
191
196
  # @return [EmptyStructure]
192
197
  def delete(options = {})
193
198
  options = options.merge(bucket: @bucket_name)
@@ -43,6 +43,11 @@ 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 is not
47
+ # supported for directory bucket lifecycle configurations.
48
+ #
49
+ # </note>
50
+ #
46
51
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
47
52
  # transition to any storage class by default.
48
53
  #
@@ -208,6 +213,11 @@ module Aws::S3
208
213
  # The account ID of the expected bucket owner. If the account ID that
209
214
  # you provide does not match the actual owner of the bucket, the request
210
215
  # fails with the HTTP status code `403 Forbidden` (access denied).
216
+ #
217
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
218
+ # supported for directory bucket lifecycle configurations.
219
+ #
220
+ # </note>
211
221
  # @return [EmptyStructure]
212
222
  def delete(options = {})
213
223
  options = options.merge(bucket: @bucket_name)
@@ -301,10 +311,20 @@ module Aws::S3
301
311
  # The account ID of the expected bucket owner. If the account ID that
302
312
  # you provide does not match the actual owner of the bucket, the request
303
313
  # fails with the HTTP status code `403 Forbidden` (access denied).
314
+ #
315
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
316
+ # supported for directory bucket lifecycle configurations.
317
+ #
318
+ # </note>
304
319
  # @option options [String] :transition_default_minimum_object_size
305
320
  # Indicates which default minimum object size behavior is applied to the
306
321
  # lifecycle configuration.
307
322
  #
323
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
324
+ # supported for directory bucket lifecycle configurations.
325
+ #
326
+ # </note>
327
+ #
308
328
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
309
329
  # transition to any storage class by default.
310
330
  #