aws-sdk-s3 1.167.0 → 1.176.1

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: 34111791125eda0be63a2a63a184b7a25278393369edb85c750f343fb8e8e896
4
- data.tar.gz: cf4c34ecd77b3c61781dc530646b9a93935d3b9500d690b9f6316f5b4ca6ea6a
3
+ metadata.gz: 6549eea72ce7643897ce882d77e1c563d04d8bc64c31195eea0692eba98a9771
4
+ data.tar.gz: 7662c9e60f2f3cc42f03c2dfd300426a0c57f199ca2e8d0a88239c95a6b7fc99
5
5
  SHA512:
6
- metadata.gz: 64a2bbc7ceabb661e95546bef8d52f42f6f1feb819fb9163d5c7ba525976498d3b56ca8be6e52b1bb5229d401c5863aeda481a100c0e72e0da700f8e18674520
7
- data.tar.gz: eab354c564d821f4c8666fb086ad96316aa461891c91d1ee3cefe2e7551d084d2ee7532e8be402c6e6f582d6ecb927b80cf904449d3b2cf6e86d9ad115088887
6
+ metadata.gz: 1bb6e5e889aa5031deaf66f795f0ad211295064bb850464944ad88c33d4f4660db8abf42fdd10816dee17fc2d99f3c221334ff7dcf87a3efb34073f4090a8ac7
7
+ data.tar.gz: 6f76df44f96c1ab0fd5c5a4ee372ed5c659ed326362cfdce7cd7ead1919df5dffcf6ff947c4595e94064a3fdc20a51247da6c03b98203d0e95ecf74cd1ec9aae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,61 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.176.1 (2024-12-12)
5
+ ------------------
6
+
7
+ * Issue - Do not normalize object keys when calling `presigned_url` or `presigned_request`.
8
+
9
+ 1.176.0 (2024-12-03)
10
+ ------------------
11
+
12
+ * Feature - Amazon S3 Metadata stores object metadata in read-only, fully managed Apache Iceberg metadata tables that you can query. You can create metadata table configurations for S3 general purpose buckets.
13
+
14
+ 1.175.0 (2024-12-02)
15
+ ------------------
16
+
17
+ * Feature - Amazon S3 introduces support for AWS Dedicated Local Zones
18
+
19
+ 1.174.0 (2024-11-25)
20
+ ------------------
21
+
22
+ * Feature - Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications.
23
+
24
+ 1.173.0 (2024-11-21)
25
+ ------------------
26
+
27
+ * 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.
28
+
29
+ 1.172.0 (2024-11-18)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.171.0 (2024-11-14)
35
+ ------------------
36
+
37
+ * Feature - This release updates the ListBuckets API Reference documentation in support of the new 10,000 general purpose bucket default quota on all AWS accounts. To increase your bucket quota from 10,000 to up to 1 million buckets, simply request a quota increase via Service Quotas.
38
+
39
+ 1.170.1 (2024-11-11)
40
+ ------------------
41
+
42
+ * Issue - Tighten regex used to check for S3 200 errors.
43
+
44
+ 1.170.0 (2024-11-06)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.169.0 (2024-10-18)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.168.0 (2024-10-16)
55
+ ------------------
56
+
57
+ * Feature - Add support for the new optional bucket-region and prefix query parameters in the ListBuckets API. For ListBuckets requests that express pagination, Amazon S3 will now return both the bucket names and associated AWS regions in the response.
58
+
4
59
  1.167.0 (2024-10-02)
5
60
  ------------------
6
61
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.167.0
1
+ 1.176.1
@@ -41,6 +41,14 @@ module Aws::S3
41
41
  data[:creation_date]
42
42
  end
43
43
 
44
+ # `BucketRegion` indicates the Amazon Web Services region where the
45
+ # bucket is located. If the request contains at least one valid
46
+ # parameter, it is included in the response.
47
+ # @return [String]
48
+ def bucket_region
49
+ data[:bucket_region]
50
+ end
51
+
44
52
  # @!endgroup
45
53
 
46
54
  # @return [Client]
@@ -231,11 +239,11 @@ module Aws::S3
231
239
  # create_bucket_configuration: {
232
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
233
241
  # location: {
234
- # type: "AvailabilityZone", # accepts AvailabilityZone
242
+ # type: "AvailabilityZone", # accepts AvailabilityZone, LocalZone
235
243
  # name: "LocationNameAsString",
236
244
  # },
237
245
  # bucket: {
238
- # data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone
246
+ # data_redundancy: "SingleAvailabilityZone", # accepts SingleAvailabilityZone, SingleLocalZone
239
247
  # type: "Directory", # accepts Directory
240
248
  # },
241
249
  # },
@@ -373,6 +381,9 @@ module Aws::S3
373
381
  # {
374
382
  # key: "ObjectKey", # required
375
383
  # version_id: "ObjectVersionId",
384
+ # etag: "ETag",
385
+ # last_modified_time: Time.now,
386
+ # size: 1,
376
387
  # },
377
388
  # ],
378
389
  # quiet: false,
@@ -497,12 +508,14 @@ module Aws::S3
497
508
  # checksum_sha1: "ChecksumSHA1",
498
509
  # checksum_sha256: "ChecksumSHA256",
499
510
  # expires: Time.now,
511
+ # if_match: "IfMatch",
500
512
  # if_none_match: "IfNoneMatch",
501
513
  # grant_full_control: "GrantFullControl",
502
514
  # grant_read: "GrantRead",
503
515
  # grant_read_acp: "GrantReadACP",
504
516
  # grant_write_acp: "GrantWriteACP",
505
517
  # key: "ObjectKey", # required
518
+ # write_offset_bytes: 1,
506
519
  # metadata: {
507
520
  # "MetadataKey" => "MetadataValue",
508
521
  # },
@@ -606,10 +619,11 @@ module Aws::S3
606
619
  # information about REST request authentication, see [REST
607
620
  # Authentication][1].
608
621
  #
609
- # <note markdown="1"> The `Content-MD5` header is required for any request to upload an
610
- # object with a retention period configured using Amazon S3 Object Lock.
611
- # For more information about Amazon S3 Object Lock, see [Amazon S3
612
- # Object Lock Overview][2] in the *Amazon S3 User Guide*.
622
+ # <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required
623
+ # for any request to upload an object with a retention period configured
624
+ # using Amazon S3 Object Lock. For more information, see [Uploading
625
+ # objects to an Object Lock enabled bucket ][2] in the *Amazon S3 User
626
+ # Guide*.
613
627
  #
614
628
  # </note>
615
629
  #
@@ -620,7 +634,7 @@ module Aws::S3
620
634
  #
621
635
  #
622
636
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
623
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html
637
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
624
638
  # @option options [String] :content_type
625
639
  # A standard MIME type describing the format of the contents. For more
626
640
  # information, see
@@ -657,14 +671,21 @@ module Aws::S3
657
671
  # provided `ChecksumAlgorithm` parameter and uses the checksum algorithm
658
672
  # that matches the provided value in `x-amz-checksum-algorithm `.
659
673
  #
660
- # <note markdown="1"> For directory buckets, when you use Amazon Web Services SDKs, `CRC32`
661
- # is the default checksum algorithm that's used for performance.
674
+ # <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required
675
+ # for any request to upload an object with a retention period configured
676
+ # using Amazon S3 Object Lock. For more information, see [Uploading
677
+ # objects to an Object Lock enabled bucket ][2] in the *Amazon S3 User
678
+ # Guide*.
662
679
  #
663
680
  # </note>
664
681
  #
682
+ # For directory buckets, when you use Amazon Web Services SDKs, `CRC32`
683
+ # is the default checksum algorithm that's used for performance.
684
+ #
665
685
  #
666
686
  #
667
687
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
688
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
668
689
  # @option options [String] :checksum_crc32
669
690
  # This header can be used as a data integrity check to verify that the
670
691
  # data received is the same data that was originally sent. This header
@@ -713,6 +734,25 @@ module Aws::S3
713
734
  #
714
735
  #
715
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
716
756
  # @option options [String] :if_none_match
717
757
  # Uploads the object only if the object key name does not already exist
718
758
  # in the bucket specified. Otherwise, Amazon S3 returns a `412
@@ -766,6 +806,16 @@ module Aws::S3
766
806
  # </note>
767
807
  # @option options [required, String] :key
768
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>
769
819
  # @option options [Hash<String,String>] :metadata
770
820
  # A map of metadata to store with the object in S3.
771
821
  # @option options [String] :server_side_encryption
@@ -919,14 +969,19 @@ module Aws::S3
919
969
  # Amazon Web Services managed key (`aws/s3`) to protect the data.
920
970
  #
921
971
  # **Directory buckets** - If you specify `x-amz-server-side-encryption`
922
- # with `aws:kms`, you must specify the `
923
- # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
924
- # ID or Key ARN) of the KMS symmetric encryption customer managed key to
925
- # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
926
- # key ID or key ARN. The key alias format of the KMS key isn't
927
- # supported. Your SSE-KMS configuration can only support 1 [customer
928
- # managed key][1] per directory bucket for the lifetime of the bucket.
929
- # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
972
+ # with `aws:kms`, the ` x-amz-server-side-encryption-aws-kms-key-id`
973
+ # header is implicitly assigned the ID of the KMS symmetric encryption
974
+ # customer managed key that's configured for your directory bucket's
975
+ # default encryption setting. If you want to specify the `
976
+ # x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
977
+ # can only specify it with the ID (Key ID or Key ARN) of the KMS
978
+ # customer managed key that's configured for your directory bucket's
979
+ # default encryption setting. Otherwise, you get an HTTP `400 Bad
980
+ # Request` error. Only use the key ID or key ARN. The key alias format
981
+ # of the KMS key isn't supported. Your SSE-KMS configuration can only
982
+ # support 1 [customer managed key][1] per directory bucket for the
983
+ # lifetime of the bucket. The [Amazon Web Services managed key][2]
984
+ # (`aws/s3`) isn't supported.
930
985
  #
931
986
  #
932
987
  #
@@ -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
  #