aws-sdk-s3 1.124.0 → 1.126.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +34 -12
- data/lib/aws-sdk-s3/client.rb +398 -385
- data/lib/aws-sdk-s3/client_api.rb +8 -0
- data/lib/aws-sdk-s3/endpoints.rb +1 -0
- data/lib/aws-sdk-s3/object.rb +36 -37
- data/lib/aws-sdk-s3/object_summary.rb +31 -32
- data/lib/aws-sdk-s3/types.rb +161 -87
- data/lib/aws-sdk-s3.rb +1 -1
- 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: 50e69dbbc54a97d18d3113b8879078161ec5fb930b28e81698582d6a68fa17fb
|
4
|
+
data.tar.gz: 22cd26d855d945ac767648e299e71a41e03d65bd8f092a8c2ead7b61b141500f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc0d7a64020c466cb8eeb2a0c672b7627d04884bf899dd025ea39f182d53c57bf5cda8041a1c08bc4abbafdd09da0f2306dffeaa55911fa2cb603ca07d6452d6
|
7
|
+
data.tar.gz: 7c12897271692b26d370e3d185e0680575e78842a3888d3d90298cebe245848f2d2624c927ef3d91e6766cb253d51174c5014d9a1761f90de495ad259134ff5e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.126.0 (2023-06-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds SDK support for request-payer request header and request-charged response header in the "GetBucketAccelerateConfiguration", "ListMultipartUploads", "ListObjects", "ListObjectsV2" and "ListObjectVersions" S3 APIs.
|
8
|
+
|
9
|
+
1.125.0 (2023-06-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.124.0 (2023-06-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.126.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -572,7 +572,7 @@ module Aws::S3
|
|
572
572
|
# A map of metadata to store with the object in S3.
|
573
573
|
# @option options [String] :server_side_encryption
|
574
574
|
# The server-side encryption algorithm used when storing this object in
|
575
|
-
# Amazon S3 (for example, AES256
|
575
|
+
# Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
|
576
576
|
# @option options [String] :storage_class
|
577
577
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
578
578
|
# created objects. The STANDARD storage class provides high durability
|
@@ -623,15 +623,15 @@ module Aws::S3
|
|
623
623
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
624
624
|
# ensure that the encryption key was transmitted without error.
|
625
625
|
# @option options [String] :ssekms_key_id
|
626
|
-
# If `x-amz-server-side-encryption` has a valid value of `aws:kms
|
627
|
-
# header specifies the ID of the
|
628
|
-
# Service (
|
629
|
-
#
|
630
|
-
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
626
|
+
# If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
|
627
|
+
# `aws:kms:dsse`, this header specifies the ID of the Key Management
|
628
|
+
# Service (KMS) symmetric encryption customer managed key that was used
|
629
|
+
# for the object. If you specify `x-amz-server-side-encryption:aws:kms`
|
630
|
+
# or `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide`
|
631
631
|
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
632
|
-
# Amazon Web Services managed key to protect the data. If the
|
633
|
-
# does not exist in the same account issuing the
|
634
|
-
# the full ARN and not just the ID.
|
632
|
+
# Amazon Web Services managed key (`aws/s3`) to protect the data. If the
|
633
|
+
# KMS key does not exist in the same account that's issuing the
|
634
|
+
# command, you must use the full ARN and not just the ID.
|
635
635
|
# @option options [String] :ssekms_encryption_context
|
636
636
|
# Specifies the Amazon Web Services KMS Encryption Context to use for
|
637
637
|
# object encryption. The value of this header is a base64-encoded UTF-8
|
@@ -641,9 +641,9 @@ module Aws::S3
|
|
641
641
|
# operations on this object.
|
642
642
|
# @option options [Boolean] :bucket_key_enabled
|
643
643
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
644
|
-
# encryption with server-side encryption using
|
645
|
-
# Setting this header to `true` causes Amazon S3
|
646
|
-
# for object encryption with SSE-KMS.
|
644
|
+
# encryption with server-side encryption using Key Management Service
|
645
|
+
# (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
|
646
|
+
# to use an S3 Bucket Key for object encryption with SSE-KMS.
|
647
647
|
#
|
648
648
|
# Specifying this header with a PUT action doesn’t affect bucket-level
|
649
649
|
# settings for S3 Bucket Key.
|
@@ -740,6 +740,7 @@ module Aws::S3
|
|
740
740
|
# prefix: "Prefix",
|
741
741
|
# upload_id_marker: "UploadIdMarker",
|
742
742
|
# expected_bucket_owner: "AccountId",
|
743
|
+
# request_payer: "requester", # accepts requester
|
743
744
|
# })
|
744
745
|
# @param [Hash] options ({})
|
745
746
|
# @option options [String] :delimiter
|
@@ -786,6 +787,16 @@ module Aws::S3
|
|
786
787
|
# The account ID of the expected bucket owner. If the bucket is owned by
|
787
788
|
# a different account, the request fails with the HTTP status code `403
|
788
789
|
# Forbidden` (access denied).
|
790
|
+
# @option options [String] :request_payer
|
791
|
+
# Confirms that the requester knows that they will be charged for the
|
792
|
+
# request. Bucket owners need not specify this parameter in their
|
793
|
+
# requests. For information about downloading objects from Requester
|
794
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
795
|
+
# in the *Amazon S3 User Guide*.
|
796
|
+
#
|
797
|
+
#
|
798
|
+
#
|
799
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
789
800
|
# @return [MultipartUpload::Collection]
|
790
801
|
def multipart_uploads(options = {})
|
791
802
|
batches = Enumerator.new do |y|
|
@@ -837,6 +848,7 @@ module Aws::S3
|
|
837
848
|
# prefix: "Prefix",
|
838
849
|
# version_id_marker: "VersionIdMarker",
|
839
850
|
# expected_bucket_owner: "AccountId",
|
851
|
+
# request_payer: "requester", # accepts requester
|
840
852
|
# })
|
841
853
|
# @param [Hash] options ({})
|
842
854
|
# @option options [String] :delimiter
|
@@ -868,6 +880,16 @@ module Aws::S3
|
|
868
880
|
# The account ID of the expected bucket owner. If the bucket is owned by
|
869
881
|
# a different account, the request fails with the HTTP status code `403
|
870
882
|
# Forbidden` (access denied).
|
883
|
+
# @option options [String] :request_payer
|
884
|
+
# Confirms that the requester knows that they will be charged for the
|
885
|
+
# request. Bucket owners need not specify this parameter in their
|
886
|
+
# requests. For information about downloading objects from Requester
|
887
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
888
|
+
# in the *Amazon S3 User Guide*.
|
889
|
+
#
|
890
|
+
#
|
891
|
+
#
|
892
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
871
893
|
# @return [ObjectVersion::Collection]
|
872
894
|
def object_versions(options = {})
|
873
895
|
batches = Enumerator.new do |y|
|