aws-sdk-s3 1.126.0 → 1.127.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: 50e69dbbc54a97d18d3113b8879078161ec5fb930b28e81698582d6a68fa17fb
4
- data.tar.gz: 22cd26d855d945ac767648e299e71a41e03d65bd8f092a8c2ead7b61b141500f
3
+ metadata.gz: dcc1d32cbbc04b2e3bab104857b5975ecf07dbff33cb6a6ee79ba97e25436fc5
4
+ data.tar.gz: 449eb917753eee99d663b30f7ebc8992c758d5621833afd34ed49d0b8041bed1
5
5
  SHA512:
6
- metadata.gz: bc0d7a64020c466cb8eeb2a0c672b7627d04884bf899dd025ea39f182d53c57bf5cda8041a1c08bc4abbafdd09da0f2306dffeaa55911fa2cb603ca07d6452d6
7
- data.tar.gz: 7c12897271692b26d370e3d185e0680575e78842a3888d3d90298cebe245848f2d2624c927ef3d91e6766cb253d51174c5014d9a1761f90de495ad259134ff5e
6
+ metadata.gz: 9ee2ce90272e174701d10e31f736eb746b6a1d39fec5098997b7f5721c090ecb1f527fae30b35318d5329513db926421411812e32679bb39cb517c1b6fbcb691
7
+ data.tar.gz: 5a5a737663fdd585ba1c114976c9064b9d88ecdee2346eae9c4af2b89d6ba9bff7e2e62f86fc8087105a22891a92ef556f6fffe1aa1effba8bd80480aa53b626
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.127.0 (2023-06-28)
5
+ ------------------
6
+
7
+ * Feature - The S3 LISTObjects, ListObjectsV2 and ListObjectVersions API now supports a new optional header x-amz-optional-object-attributes. If header contains RestoreStatus as the value, then S3 will include Glacier restore status i.e. isRestoreInProgress and RestoreExpiryDate in List response.
8
+
9
+ * Feature - Select minimum expiration time for presigned urls between the expiration time option and the credential expiration time.
10
+
4
11
  1.126.0 (2023-06-16)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.126.0
1
+ 1.127.0
@@ -754,14 +754,14 @@ module Aws::S3
754
754
  # result element are not returned elsewhere in the response.
755
755
  # @option options [String] :encoding_type
756
756
  # Requests Amazon S3 to encode the object keys in the response and
757
- # specifies the encoding method to use. An object key may contain any
758
- # Unicode character; however, XML 1.0 parser cannot parse some
757
+ # specifies the encoding method to use. An object key can contain any
758
+ # Unicode character; however, the XML 1.0 parser cannot parse some
759
759
  # characters, such as characters with an ASCII value from 0 to 10. For
760
760
  # characters that are not supported in XML 1.0, you can add this
761
761
  # parameter to request that Amazon S3 encode the keys in the response.
762
762
  # @option options [String] :key_marker
763
- # Together with upload-id-marker, this parameter specifies the multipart
764
- # upload after which listing should begin.
763
+ # Together with `upload-id-marker`, this parameter specifies the
764
+ # multipart upload after which listing should begin.
765
765
  #
766
766
  # If `upload-id-marker` is not specified, only the keys
767
767
  # lexicographically greater than the specified `key-marker` will be
@@ -774,8 +774,8 @@ module Aws::S3
774
774
  # @option options [String] :prefix
775
775
  # Lists in-progress uploads only for those keys that begin with the
776
776
  # specified prefix. You can use prefixes to separate a bucket into
777
- # different grouping of keys. (You can think of using prefix to make
778
- # groups in the same way you'd use a folder in a file system.)
777
+ # different grouping of keys. (You can think of using `prefix` to make
778
+ # groups in the same way that you'd use a folder in a file system.)
779
779
  # @option options [String] :upload_id_marker
780
780
  # Together with key-marker, specifies the multipart upload after which
781
781
  # listing should begin. If key-marker is not specified, the
@@ -849,19 +849,20 @@ module Aws::S3
849
849
  # version_id_marker: "VersionIdMarker",
850
850
  # expected_bucket_owner: "AccountId",
851
851
  # request_payer: "requester", # accepts requester
852
+ # optional_object_attributes: ["RestoreStatus"], # accepts RestoreStatus
852
853
  # })
853
854
  # @param [Hash] options ({})
854
855
  # @option options [String] :delimiter
855
856
  # A delimiter is a character that you specify to group keys. All keys
856
857
  # that contain the same string between the `prefix` and the first
857
858
  # occurrence of the delimiter are grouped under a single result element
858
- # in CommonPrefixes. These groups are counted as one result against the
859
- # max-keys limitation. These keys are not returned elsewhere in the
860
- # response.
859
+ # in `CommonPrefixes`. These groups are counted as one result against
860
+ # the `max-keys` limitation. These keys are not returned elsewhere in
861
+ # the response.
861
862
  # @option options [String] :encoding_type
862
863
  # Requests Amazon S3 to encode the object keys in the response and
863
- # specifies the encoding method to use. An object key may contain any
864
- # Unicode character; however, XML 1.0 parser cannot parse some
864
+ # specifies the encoding method to use. An object key can contain any
865
+ # Unicode character; however, the XML 1.0 parser cannot parse some
865
866
  # characters, such as characters with an ASCII value from 0 to 10. For
866
867
  # characters that are not supported in XML 1.0, you can add this
867
868
  # parameter to request that Amazon S3 encode the keys in the response.
@@ -870,10 +871,10 @@ module Aws::S3
870
871
  # @option options [String] :prefix
871
872
  # Use this parameter to select only those keys that begin with the
872
873
  # specified prefix. You can use prefixes to separate a bucket into
873
- # different groupings of keys. (You can think of using prefix to make
874
- # groups in the same way you'd use a folder in a file system.) You can
875
- # use prefix with delimiter to roll up numerous objects into a single
876
- # result under CommonPrefixes.
874
+ # different groupings of keys. (You can think of using `prefix` to make
875
+ # groups in the same way that you'd use a folder in a file system.) You
876
+ # can use `prefix` with `delimiter` to roll up numerous objects into a
877
+ # single result under `CommonPrefixes`.
877
878
  # @option options [String] :version_id_marker
878
879
  # Specifies the object version you want to start listing from.
879
880
  # @option options [String] :expected_bucket_owner
@@ -890,6 +891,9 @@ module Aws::S3
890
891
  #
891
892
  #
892
893
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
894
+ # @option options [Array<String>] :optional_object_attributes
895
+ # Specifies the optional fields that you want returned in the response.
896
+ # Fields that you do not specify are not returned.
893
897
  # @return [ObjectVersion::Collection]
894
898
  def object_versions(options = {})
895
899
  batches = Enumerator.new do |y|
@@ -924,18 +928,19 @@ module Aws::S3
924
928
  # start_after: "StartAfter",
925
929
  # request_payer: "requester", # accepts requester
926
930
  # expected_bucket_owner: "AccountId",
931
+ # optional_object_attributes: ["RestoreStatus"], # accepts RestoreStatus
927
932
  # })
928
933
  # @param [Hash] options ({})
929
934
  # @option options [String] :delimiter
930
- # A delimiter is a character you use to group keys.
935
+ # A delimiter is a character that you use to group keys.
931
936
  # @option options [String] :encoding_type
932
937
  # Encoding type used by Amazon S3 to encode object keys in the response.
933
938
  # @option options [String] :prefix
934
939
  # Limits the response to keys that begin with the specified prefix.
935
940
  # @option options [Boolean] :fetch_owner
936
- # The owner field is not present in listV2 by default, if you want to
937
- # return owner field with each key in the result then set the fetch
938
- # owner field to true.
941
+ # The owner field is not present in `ListObjectsV2` by default. If you
942
+ # want to return the owner field with each key in the result, then set
943
+ # the `FetchOwner` field to `true`.
939
944
  # @option options [String] :start_after
940
945
  # StartAfter is where you want Amazon S3 to start listing from. Amazon
941
946
  # S3 starts listing after this specified key. StartAfter can be any key
@@ -948,6 +953,9 @@ module Aws::S3
948
953
  # The account ID of the expected bucket owner. If the bucket is owned by
949
954
  # a different account, the request fails with the HTTP status code `403
950
955
  # Forbidden` (access denied).
956
+ # @option options [Array<String>] :optional_object_attributes
957
+ # Specifies the optional fields that you want returned in the response.
958
+ # Fields that you do not specify are not returned.
951
959
  # @return [ObjectSummary::Collection]
952
960
  def objects(options = {})
953
961
  batches = Enumerator.new do |y|