aws-sdk-s3 1.126.0 → 1.128.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +27 -19
- data/lib/aws-sdk-s3/client.rb +204 -171
- data/lib/aws-sdk-s3/client_api.rb +16 -0
- data/lib/aws-sdk-s3/object_summary.rb +14 -0
- data/lib/aws-sdk-s3/object_version.rb +14 -0
- data/lib/aws-sdk-s3/presigner.rb +4 -2
- data/lib/aws-sdk-s3/types.rb +211 -118
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ec7c4fd0f4d8fb1a8efd8527908821bc3fabd58ee2078241bbcb9bb5ad2b040
|
4
|
+
data.tar.gz: 2fb1ef8bfc93f1821890cd9ff18b51f1bc6708286581b3e94733c4cc96975949
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcb07dec8c0c01ef7a334c27694b3ab5974702a63d2a4232db073d09f464498e3dbeef28f9e201201c8fc3e9b943bf605bf1dc7a5b4199710654b17b48d88416
|
7
|
+
data.tar.gz: a82960fccb97ad47049ade2b4222c8a52422eba7a0f3b63b61fb3257de080436db8d184a58d957151e041f63af171577b3e45a18ca91d851cba98d49d9cb72e8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.128.0 (2023-07-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.127.0 (2023-06-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
14
|
+
* Feature - Select minimum expiration time for presigned urls between the expiration time option and the credential expiration time.
|
15
|
+
|
4
16
|
1.126.0 (2023-06-16)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.128.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -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
|
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
|
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
|
859
|
-
# max-keys limitation. These keys are not returned elsewhere in
|
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
|
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
|
875
|
-
# use prefix with delimiter to roll up numerous objects into a
|
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
|
937
|
-
# return owner field with each key in the result then set
|
938
|
-
#
|
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|
|