aws-sdk-s3 1.167.0 → 1.170.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +36 -15
- data/lib/aws-sdk-s3/client.rb +264 -260
- data/lib/aws-sdk-s3/client_api.rb +5 -0
- data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
- data/lib/aws-sdk-s3/endpoints.rb +405 -1405
- data/lib/aws-sdk-s3/object.rb +65 -42
- data/lib/aws-sdk-s3/object_summary.rb +65 -42
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -204
- data/lib/aws-sdk-s3/resource.rb +25 -1
- data/lib/aws-sdk-s3/types.rb +120 -98
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +3 -0
- data/sig/client.rbs +4 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +4 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fbb9d2ce339539a64280ac5c819839aa6a25ab6bba04fe19081ea2474357985
|
4
|
+
data.tar.gz: be626f4d8eeb71b48a1ac9a10f46352303cd350e9d6af29a64d9435efdcd9866
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b51f11c287ae4650f82e8d0b91fc89d798aeaea62c4082d495e64110faf27a6c02f0c095e29c55d01376e79f48b60c0b5fbaafe9b422083ca69f7609e30d84a8
|
7
|
+
data.tar.gz: 57e5a2de576b43c9f05ed47a94f19dc9f806ef2d241252a24cd469601ba78c13a25a7eb21290571192afb73f60cb1df86cd8dbb35fb613d30e9016b005246e9c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.170.0 (2024-11-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.169.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.168.0 (2024-10-16)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
4
19
|
1.167.0 (2024-10-02)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.170.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -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]
|
@@ -606,10 +614,11 @@ module Aws::S3
|
|
606
614
|
# information about REST request authentication, see [REST
|
607
615
|
# Authentication][1].
|
608
616
|
#
|
609
|
-
# <note markdown="1"> The `Content-MD5` header is required
|
610
|
-
# object with a retention period configured
|
611
|
-
#
|
612
|
-
# Object Lock
|
617
|
+
# <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required
|
618
|
+
# for any request to upload an object with a retention period configured
|
619
|
+
# using Amazon S3 Object Lock. For more information, see [Uploading
|
620
|
+
# objects to an Object Lock enabled bucket ][2] in the *Amazon S3 User
|
621
|
+
# Guide*.
|
613
622
|
#
|
614
623
|
# </note>
|
615
624
|
#
|
@@ -620,7 +629,7 @@ module Aws::S3
|
|
620
629
|
#
|
621
630
|
#
|
622
631
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
|
623
|
-
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/
|
632
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
|
624
633
|
# @option options [String] :content_type
|
625
634
|
# A standard MIME type describing the format of the contents. For more
|
626
635
|
# information, see
|
@@ -657,14 +666,21 @@ module Aws::S3
|
|
657
666
|
# provided `ChecksumAlgorithm` parameter and uses the checksum algorithm
|
658
667
|
# that matches the provided value in `x-amz-checksum-algorithm `.
|
659
668
|
#
|
660
|
-
# <note markdown="1">
|
661
|
-
#
|
669
|
+
# <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is required
|
670
|
+
# for any request to upload an object with a retention period configured
|
671
|
+
# using Amazon S3 Object Lock. For more information, see [Uploading
|
672
|
+
# objects to an Object Lock enabled bucket ][2] in the *Amazon S3 User
|
673
|
+
# Guide*.
|
662
674
|
#
|
663
675
|
# </note>
|
664
676
|
#
|
677
|
+
# For directory buckets, when you use Amazon Web Services SDKs, `CRC32`
|
678
|
+
# is the default checksum algorithm that's used for performance.
|
679
|
+
#
|
665
680
|
#
|
666
681
|
#
|
667
682
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
683
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object
|
668
684
|
# @option options [String] :checksum_crc32
|
669
685
|
# This header can be used as a data integrity check to verify that the
|
670
686
|
# data received is the same data that was originally sent. This header
|
@@ -919,14 +935,19 @@ module Aws::S3
|
|
919
935
|
# Amazon Web Services managed key (`aws/s3`) to protect the data.
|
920
936
|
#
|
921
937
|
# **Directory buckets** - If you specify `x-amz-server-side-encryption`
|
922
|
-
# with `aws:kms`,
|
923
|
-
#
|
924
|
-
#
|
925
|
-
#
|
926
|
-
# key
|
927
|
-
#
|
928
|
-
# managed key
|
929
|
-
#
|
938
|
+
# with `aws:kms`, the ` x-amz-server-side-encryption-aws-kms-key-id`
|
939
|
+
# header is implicitly assigned the ID of the KMS symmetric encryption
|
940
|
+
# customer managed key that's configured for your directory bucket's
|
941
|
+
# default encryption setting. If you want to specify the `
|
942
|
+
# x-amz-server-side-encryption-aws-kms-key-id` header explicitly, you
|
943
|
+
# can only specify it with the ID (Key ID or Key ARN) of the KMS
|
944
|
+
# customer managed key that's configured for your directory bucket's
|
945
|
+
# default encryption setting. Otherwise, you get an HTTP `400 Bad
|
946
|
+
# Request` error. Only use the key ID or key ARN. The key alias format
|
947
|
+
# of the KMS key isn't supported. Your SSE-KMS configuration can only
|
948
|
+
# support 1 [customer managed key][1] per directory bucket for the
|
949
|
+
# lifetime of the bucket. The [Amazon Web Services managed key][2]
|
950
|
+
# (`aws/s3`) isn't supported.
|
930
951
|
#
|
931
952
|
#
|
932
953
|
#
|