aws-sdk-s3 1.211.0 → 1.217.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 +32 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +44 -16
- data/lib/aws-sdk-s3/client.rb +479 -162
- data/lib/aws-sdk-s3/client_api.rb +54 -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 +13 -0
- data/lib/aws-sdk-s3/errors.rb +11 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +12 -12
- data/lib/aws-sdk-s3/multipart_upload_part.rb +8 -8
- data/lib/aws-sdk-s3/object.rb +32 -32
- data/lib/aws-sdk-s3/object_acl.rb +4 -4
- data/lib/aws-sdk-s3/object_summary.rb +28 -28
- data/lib/aws-sdk-s3/object_version.rb +16 -16
- data/lib/aws-sdk-s3/resource.rb +28 -0
- data/lib/aws-sdk-s3/transfer_manager.rb +237 -18
- data/lib/aws-sdk-s3/types.rb +350 -121
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +2 -1
- data/sig/client.rbs +24 -1
- data/sig/errors.rbs +2 -0
- data/sig/resource.rbs +2 -1
- data/sig/types.rbs +38 -0
- 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: e2d2e8d0282c2d55a8c7242288bfae5c656740bb1d74ae7bb1c9d6210d0199b3
|
|
4
|
+
data.tar.gz: 0f544783861a5e9a65ef1986154c0ebc27d35115f971ec5fd657da0846a58c9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb8a4ca2f0f722ee3f8888561fe97395fffb68938364af385b4020e03329ee73dfd1f4f65980cb58550cb30170a207d19b7905c4c5980c64e7e915b785e7c6c8
|
|
7
|
+
data.tar.gz: 488a68382810e4a4c6599c15c0374136ea254c7aa85f09c2ed09a2f7d2810efa8bee86c7fa7068f0da7fdb03d1b79fd9646c743b86ef32bc015ab277a6f3ac51
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.217.0 (2026-03-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.216.0 (2026-03-12)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
14
|
+
1.215.0 (2026-03-05)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
* Issue - Fix `LoadError` when requiring `aws-sdk-s3` due to missing `directory_progress` file.
|
|
20
|
+
|
|
21
|
+
1.214.0 (2026-03-04)
|
|
22
|
+
------------------
|
|
23
|
+
|
|
24
|
+
* Feature - Added `#upload_directory` and `#download_directory` to `Aws::S3::TransferManager` for bulk directory transfers.
|
|
25
|
+
|
|
26
|
+
1.213.0 (2026-01-28)
|
|
27
|
+
------------------
|
|
28
|
+
|
|
29
|
+
* Feature - Adds support for the UpdateObjectEncryption API to change the server-side encryption type of objects in general purpose buckets.
|
|
30
|
+
|
|
31
|
+
1.212.0 (2026-01-16)
|
|
32
|
+
------------------
|
|
33
|
+
|
|
34
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
35
|
+
|
|
4
36
|
1.211.0 (2026-01-08)
|
|
5
37
|
------------------
|
|
6
38
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.217.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
|
@@ -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)
|
|
@@ -446,10 +474,10 @@ module Aws::S3
|
|
|
446
474
|
# Confirms that the requester knows that they will be charged for the
|
|
447
475
|
# request. Bucket owners need not specify this parameter in their
|
|
448
476
|
# requests. If either the source or destination S3 bucket has Requester
|
|
449
|
-
# Pays enabled, the requester will pay for corresponding charges
|
|
450
|
-
#
|
|
451
|
-
#
|
|
452
|
-
#
|
|
477
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
478
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
479
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
480
|
+
# S3 User Guide*.
|
|
453
481
|
#
|
|
454
482
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
455
483
|
#
|
|
@@ -1081,10 +1109,10 @@ module Aws::S3
|
|
|
1081
1109
|
# Confirms that the requester knows that they will be charged for the
|
|
1082
1110
|
# request. Bucket owners need not specify this parameter in their
|
|
1083
1111
|
# requests. If either the source or destination S3 bucket has Requester
|
|
1084
|
-
# Pays enabled, the requester will pay for corresponding charges
|
|
1085
|
-
#
|
|
1086
|
-
#
|
|
1087
|
-
#
|
|
1112
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
1113
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
1114
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
1115
|
+
# S3 User Guide*.
|
|
1088
1116
|
#
|
|
1089
1117
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
1090
1118
|
#
|
|
@@ -1291,10 +1319,10 @@ module Aws::S3
|
|
|
1291
1319
|
# Confirms that the requester knows that they will be charged for the
|
|
1292
1320
|
# request. Bucket owners need not specify this parameter in their
|
|
1293
1321
|
# requests. If either the source or destination S3 bucket has Requester
|
|
1294
|
-
# Pays enabled, the requester will pay for corresponding charges
|
|
1295
|
-
#
|
|
1296
|
-
#
|
|
1297
|
-
#
|
|
1322
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
1323
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
1324
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
1325
|
+
# S3 User Guide*.
|
|
1298
1326
|
#
|
|
1299
1327
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
1300
1328
|
#
|
|
@@ -1408,10 +1436,10 @@ module Aws::S3
|
|
|
1408
1436
|
# Confirms that the requester knows that they will be charged for the
|
|
1409
1437
|
# request. Bucket owners need not specify this parameter in their
|
|
1410
1438
|
# requests. If either the source or destination S3 bucket has Requester
|
|
1411
|
-
# Pays enabled, the requester will pay for corresponding charges
|
|
1412
|
-
#
|
|
1413
|
-
#
|
|
1414
|
-
#
|
|
1439
|
+
# Pays enabled, the requester will pay for the corresponding charges.
|
|
1440
|
+
# For information about downloading objects from Requester Pays buckets,
|
|
1441
|
+
# see [Downloading Objects in Requester Pays Buckets][1] in the *Amazon
|
|
1442
|
+
# S3 User Guide*.
|
|
1415
1443
|
#
|
|
1416
1444
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
1417
1445
|
#
|