aws-sdk-s3 1.213.0 → 1.219.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +29 -1
- data/lib/aws-sdk-s3/client.rb +421 -140
- data/lib/aws-sdk-s3/client_api.rb +2 -0
- data/lib/aws-sdk-s3/customizations.rb +8 -2
- data/lib/aws-sdk-s3/directory_download_error.rb +16 -0
- data/lib/aws-sdk-s3/directory_downloader.rb +230 -0
- data/lib/aws-sdk-s3/directory_upload_error.rb +16 -0
- data/lib/aws-sdk-s3/directory_uploader.rb +270 -0
- data/lib/aws-sdk-s3/endpoints.rb +1 -0
- data/lib/aws-sdk-s3/plugins/sse_cpk.rb +3 -0
- data/lib/aws-sdk-s3/resource.rb +29 -1
- data/lib/aws-sdk-s3/transfer_manager.rb +237 -18
- data/lib/aws-sdk-s3/types.rb +140 -7
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +3 -2
- data/sig/client.rbs +4 -3
- data/sig/resource.rbs +3 -2
- data/sig/types.rbs +3 -2
- metadata +7 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 731a88ce68b5b30a88fa1d5808f2b8039b997588b62e35b720cc85e9e031c71a
|
|
4
|
+
data.tar.gz: 46b4b81dc2204dfe7eec4107a25daf1d2c4aaebc84698527453eeeed8ecdaedc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02e52620496d31aba396fa749aab6d07b36b1292c129f16d17f588723a9408dee2ac1d0454c2659ac7536bd729e966986773cf1e97012273c22d59d94b510218
|
|
7
|
+
data.tar.gz: c64fd0d8aec2a31c85a6a094bcbbc365bacf8dd9f1ade25182fd708923bd539fd38395ad3502f6a290bfb9318e841923edd0593c993b1e19158c65868c6a9c33
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.219.0 (2026-04-07)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.
|
|
8
|
+
|
|
9
|
+
1.218.0 (2026-03-31)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Add Bucket Metrics configuration support to directory buckets
|
|
13
|
+
|
|
14
|
+
1.217.1 (2026-03-30)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Issue - Fix `require_https_for_sse_cpk` option being ignored; the HTTPS enforcement for SSE-CPK operations now correctly respects the configured value, allowing it to be disabled for local development.
|
|
18
|
+
|
|
19
|
+
1.217.0 (2026-03-18)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
23
|
+
|
|
24
|
+
1.216.0 (2026-03-12)
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
* Feature - Adds support for account regional namespaces for general purpose buckets. The account regional namespace is a reserved subdivision of the global bucket namespace where only your account can create general purpose buckets.
|
|
28
|
+
|
|
29
|
+
1.215.0 (2026-03-05)
|
|
30
|
+
------------------
|
|
31
|
+
|
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
33
|
+
|
|
34
|
+
* Issue - Fix `LoadError` when requiring `aws-sdk-s3` due to missing `directory_progress` file.
|
|
35
|
+
|
|
36
|
+
1.214.0 (2026-03-04)
|
|
37
|
+
------------------
|
|
38
|
+
|
|
39
|
+
* Feature - Added `#upload_directory` and `#download_directory` to `Aws::S3::TransferManager` for bulk directory transfers.
|
|
40
|
+
|
|
4
41
|
1.213.0 (2026-01-28)
|
|
5
42
|
------------------
|
|
6
43
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.219.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
|
@@ -254,7 +254,7 @@ module Aws::S3
|
|
|
254
254
|
# bucket.create({
|
|
255
255
|
# acl: "private", # accepts private, public-read, public-read-write, authenticated-read
|
|
256
256
|
# create_bucket_configuration: {
|
|
257
|
-
# 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, ap-southeast-4, ap-southeast-5, ca-central-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, il-central-1, me-central-1, me-south-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
|
257
|
+
# location_constraint: "af-south-1", # accepts af-south-1, ap-east-1, ap-east-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, ap-south-1, ap-south-2, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-4, ap-southeast-5, ap-southeast-6, ap-southeast-7, ca-central-1, ca-west-1, cn-north-1, cn-northwest-1, EU, eu-central-1, eu-central-2, eu-north-1, eu-south-1, eu-south-2, eu-west-1, eu-west-2, eu-west-3, il-central-1, me-central-1, me-south-1, mx-central-1, sa-east-1, us-east-2, us-gov-east-1, us-gov-west-1, us-west-1, us-west-2
|
|
258
258
|
# location: {
|
|
259
259
|
# type: "AvailabilityZone", # accepts AvailabilityZone, LocalZone
|
|
260
260
|
# name: "LocationNameAsString",
|
|
@@ -277,6 +277,7 @@ module Aws::S3
|
|
|
277
277
|
# grant_write_acp: "GrantWriteACP",
|
|
278
278
|
# object_lock_enabled_for_bucket: false,
|
|
279
279
|
# object_ownership: "BucketOwnerPreferred", # accepts BucketOwnerPreferred, ObjectWriter, BucketOwnerEnforced
|
|
280
|
+
# bucket_namespace: "account-regional", # accepts account-regional, global
|
|
280
281
|
# })
|
|
281
282
|
# @param [Hash] options ({})
|
|
282
283
|
# @option options [String] :acl
|
|
@@ -362,6 +363,33 @@ module Aws::S3
|
|
|
362
363
|
#
|
|
363
364
|
#
|
|
364
365
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
|
|
366
|
+
# @option options [String] :bucket_namespace
|
|
367
|
+
# Specifies the namespace where you want to create your general purpose
|
|
368
|
+
# bucket. When you create a general purpose bucket, you can choose to
|
|
369
|
+
# create a bucket in the shared global namespace or you can choose to
|
|
370
|
+
# create a bucket in your account regional namespace. Your account
|
|
371
|
+
# regional namespace is a subdivision of the global namespace that only
|
|
372
|
+
# your account can create buckets in. For more information on bucket
|
|
373
|
+
# namespaces, see [Namespaces for general purpose buckets][1].
|
|
374
|
+
#
|
|
375
|
+
# General purpose buckets in your account regional namespace must follow
|
|
376
|
+
# a specific naming convention. These buckets consist of a bucket name
|
|
377
|
+
# prefix that you create, and a suffix that contains your 12-digit
|
|
378
|
+
# Amazon Web Services Account ID, the Amazon Web Services Region code,
|
|
379
|
+
# and ends with `-an`. Bucket names must follow the format
|
|
380
|
+
# `bucket-name-prefix-accountId-region-an` (for example,
|
|
381
|
+
# `amzn-s3-demo-bucket-111122223333-us-west-2-an`). For information
|
|
382
|
+
# about bucket naming restrictions, see [Account regional namespace
|
|
383
|
+
# naming rules][2] in the *Amazon S3 User Guide*.
|
|
384
|
+
#
|
|
385
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
386
|
+
#
|
|
387
|
+
# </note>
|
|
388
|
+
#
|
|
389
|
+
#
|
|
390
|
+
#
|
|
391
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/gpbucketnamespaces.html
|
|
392
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html#account-regional-naming-rules
|
|
365
393
|
# @return [Types::CreateBucketOutput]
|
|
366
394
|
def create(options = {})
|
|
367
395
|
options = options.merge(bucket: @name)
|