aws-sdk-s3 1.226.0 → 1.229.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +2 -2
- data/lib/aws-sdk-s3/client.rb +34 -36
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +14 -1
- data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +13 -1
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/object.rb +8 -8
- data/lib/aws-sdk-s3/object_summary.rb +8 -8
- data/lib/aws-sdk-s3/types.rb +21 -10
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +2 -2
- data/sig/client.rbs +28 -28
- data/sig/multipart_upload.rbs +1 -1
- data/sig/object.rbs +10 -10
- data/sig/object_summary.rbs +9 -9
- data/sig/types.rbs +31 -31
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcc0e6391d2dc6eb44cf9f3977ba20b55338800015f51d4bdc1454762172dfc2
|
|
4
|
+
data.tar.gz: 99806d7fca45588562eacf16e2bf7019f5ba5f31241bd3085222583f9c92454e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 425c961b14f6a07781273b8d38edee936380e9efc861abe99a4a42247bbb434fe44619dcea1158c006444aebcd5b574731cf3824c965d09bbf0df57601b9ed48
|
|
7
|
+
data.tar.gz: 88058a453f696a72df733777f9feff60e805691d52c67bc86b5c257c721dd4e97e59fa9b90e22d0ca9e670a3bb70d57d01f9e3d2a142457bea6d2945f4ff4b3b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.229.0 (2026-08-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Backup now lets you create read-only access points for Amazon S3 recovery points, enabling you to access backup data using S3 APIs without initiating a restore.
|
|
8
|
+
|
|
9
|
+
1.228.2 (2026-07-30)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Issue - S3 Encryption Client, encryptionV2 and encryptionV3, returns a decryption error for a malformed material description.
|
|
13
|
+
|
|
14
|
+
1.228.1 (2026-07-23)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Issue - Ensure the source file is closed on multipart `upload_file` part failure, preventing leaked file descriptors (#3408).
|
|
18
|
+
|
|
19
|
+
1.228.0 (2026-07-16)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Documentation update for removing the 30 day minimum restriction for transition to Standard-IA or OneZone-IA storage classes
|
|
23
|
+
|
|
24
|
+
1.227.0 (2026-07-09)
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
28
|
+
|
|
4
29
|
1.226.0 (2026-06-16)
|
|
5
30
|
------------------
|
|
6
31
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.229.0
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
|
@@ -587,8 +587,8 @@ module Aws::S3
|
|
|
587
587
|
# metadata: {
|
|
588
588
|
# "MetadataKey" => "MetadataValue",
|
|
589
589
|
# },
|
|
590
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
591
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
590
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
591
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
592
592
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
593
593
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
594
594
|
# sse_customer_key: "SSECustomerKey",
|
data/lib/aws-sdk-s3/client.rb
CHANGED
|
@@ -1352,7 +1352,7 @@ module Aws::S3
|
|
|
1352
1352
|
# resp.checksum_xxhash3 #=> String
|
|
1353
1353
|
# resp.checksum_xxhash128 #=> String
|
|
1354
1354
|
# resp.checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
1355
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
1355
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
1356
1356
|
# resp.version_id #=> String
|
|
1357
1357
|
# resp.ssekms_key_id #=> String
|
|
1358
1358
|
# resp.bucket_key_enabled #=> Boolean
|
|
@@ -2483,8 +2483,8 @@ module Aws::S3
|
|
|
2483
2483
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
|
2484
2484
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
|
2485
2485
|
# annotation_directive: "COPY", # accepts COPY, EXCLUDE
|
|
2486
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
2487
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
2486
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
2487
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
2488
2488
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
2489
2489
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
2490
2490
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -2522,7 +2522,7 @@ module Aws::S3
|
|
|
2522
2522
|
# resp.expiration #=> String
|
|
2523
2523
|
# resp.copy_source_version_id #=> String
|
|
2524
2524
|
# resp.version_id #=> String
|
|
2525
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
2525
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
2526
2526
|
# resp.sse_customer_algorithm #=> String
|
|
2527
2527
|
# resp.sse_customer_key_md5 #=> String
|
|
2528
2528
|
# resp.ssekms_key_id #=> String
|
|
@@ -4116,8 +4116,8 @@ module Aws::S3
|
|
|
4116
4116
|
# metadata: {
|
|
4117
4117
|
# "MetadataKey" => "MetadataValue",
|
|
4118
4118
|
# },
|
|
4119
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
4120
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
4119
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
4120
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
4121
4121
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
4122
4122
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
4123
4123
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -4142,7 +4142,7 @@ module Aws::S3
|
|
|
4142
4142
|
# resp.bucket #=> String
|
|
4143
4143
|
# resp.key #=> String
|
|
4144
4144
|
# resp.upload_id #=> String
|
|
4145
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
4145
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
4146
4146
|
# resp.sse_customer_algorithm #=> String
|
|
4147
4147
|
# resp.sse_customer_key_md5 #=> String
|
|
4148
4148
|
# resp.ssekms_key_id #=> String
|
|
@@ -4446,7 +4446,7 @@ module Aws::S3
|
|
|
4446
4446
|
# resp = client.create_session({
|
|
4447
4447
|
# session_mode: "ReadOnly", # accepts ReadOnly, ReadWrite
|
|
4448
4448
|
# bucket: "BucketName", # required
|
|
4449
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
4449
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
4450
4450
|
# ssekms_key_id: "SSEKMSKeyId",
|
|
4451
4451
|
# ssekms_encryption_context: "SSEKMSEncryptionContext",
|
|
4452
4452
|
# bucket_key_enabled: false,
|
|
@@ -4454,7 +4454,7 @@ module Aws::S3
|
|
|
4454
4454
|
#
|
|
4455
4455
|
# @example Response structure
|
|
4456
4456
|
#
|
|
4457
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
4457
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
4458
4458
|
# resp.ssekms_key_id #=> String
|
|
4459
4459
|
# resp.ssekms_encryption_context #=> String
|
|
4460
4460
|
# resp.bucket_key_enabled #=> Boolean
|
|
@@ -7430,7 +7430,7 @@ module Aws::S3
|
|
|
7430
7430
|
# @example Response structure
|
|
7431
7431
|
#
|
|
7432
7432
|
# resp.server_side_encryption_configuration.rules #=> Array
|
|
7433
|
-
# resp.server_side_encryption_configuration.rules[0].apply_server_side_encryption_by_default.sse_algorithm #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
7433
|
+
# resp.server_side_encryption_configuration.rules[0].apply_server_side_encryption_by_default.sse_algorithm #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
7434
7434
|
# resp.server_side_encryption_configuration.rules[0].apply_server_side_encryption_by_default.kms_master_key_id #=> String
|
|
7435
7435
|
# resp.server_side_encryption_configuration.rules[0].bucket_key_enabled #=> Boolean
|
|
7436
7436
|
# resp.server_side_encryption_configuration.rules[0].blocked_encryption_types.encryption_type #=> Array
|
|
@@ -9182,7 +9182,7 @@ module Aws::S3
|
|
|
9182
9182
|
# resp.replication_configuration.rules[0].existing_object_replication.status #=> String, one of "Enabled", "Disabled"
|
|
9183
9183
|
# resp.replication_configuration.rules[0].destination.bucket #=> String
|
|
9184
9184
|
# resp.replication_configuration.rules[0].destination.account #=> String
|
|
9185
|
-
# resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
9185
|
+
# resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
9186
9186
|
# resp.replication_configuration.rules[0].destination.access_control_translation.owner #=> String, one of "Destination"
|
|
9187
9187
|
# resp.replication_configuration.rules[0].destination.encryption_configuration.replica_kms_key_id #=> String
|
|
9188
9188
|
# resp.replication_configuration.rules[0].destination.replication_time.status #=> String, one of "Enabled", "Disabled"
|
|
@@ -10194,14 +10194,14 @@ module Aws::S3
|
|
|
10194
10194
|
# resp.expires #=> Time
|
|
10195
10195
|
# resp.expires_string #=> String
|
|
10196
10196
|
# resp.website_redirect_location #=> String
|
|
10197
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
10197
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
10198
10198
|
# resp.metadata #=> Hash
|
|
10199
10199
|
# resp.metadata["MetadataKey"] #=> String
|
|
10200
10200
|
# resp.sse_customer_algorithm #=> String
|
|
10201
10201
|
# resp.sse_customer_key_md5 #=> String
|
|
10202
10202
|
# resp.ssekms_key_id #=> String
|
|
10203
10203
|
# resp.bucket_key_enabled #=> Boolean
|
|
10204
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
10204
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
10205
10205
|
# resp.request_charged #=> String, one of "requester"
|
|
10206
10206
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
|
|
10207
10207
|
# resp.parts_count #=> Integer
|
|
@@ -10531,7 +10531,7 @@ module Aws::S3
|
|
|
10531
10531
|
# resp.checksum_xxhash3 #=> String
|
|
10532
10532
|
# resp.checksum_xxhash128 #=> String
|
|
10533
10533
|
# resp.checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
10534
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
10534
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
10535
10535
|
# resp.request_charged #=> String, one of "requester"
|
|
10536
10536
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
|
|
10537
10537
|
#
|
|
@@ -10933,7 +10933,7 @@ module Aws::S3
|
|
|
10933
10933
|
# resp.object_parts.parts[0].checksum_xxhash64 #=> String
|
|
10934
10934
|
# resp.object_parts.parts[0].checksum_xxhash3 #=> String
|
|
10935
10935
|
# resp.object_parts.parts[0].checksum_xxhash128 #=> String
|
|
10936
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
10936
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
10937
10937
|
# resp.object_size #=> Integer
|
|
10938
10938
|
#
|
|
10939
10939
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributes AWS API Documentation
|
|
@@ -12304,14 +12304,14 @@ module Aws::S3
|
|
|
12304
12304
|
# resp.expires #=> Time
|
|
12305
12305
|
# resp.expires_string #=> String
|
|
12306
12306
|
# resp.website_redirect_location #=> String
|
|
12307
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
12307
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
12308
12308
|
# resp.metadata #=> Hash
|
|
12309
12309
|
# resp.metadata["MetadataKey"] #=> String
|
|
12310
12310
|
# resp.sse_customer_algorithm #=> String
|
|
12311
12311
|
# resp.sse_customer_key_md5 #=> String
|
|
12312
12312
|
# resp.ssekms_key_id #=> String
|
|
12313
12313
|
# resp.bucket_key_enabled #=> Boolean
|
|
12314
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
12314
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
12315
12315
|
# resp.request_charged #=> String, one of "requester"
|
|
12316
12316
|
# resp.replication_status #=> String, one of "COMPLETE", "PENDING", "FAILED", "REPLICA", "COMPLETED"
|
|
12317
12317
|
# resp.parts_count #=> Integer
|
|
@@ -13534,7 +13534,7 @@ module Aws::S3
|
|
|
13534
13534
|
# resp.uploads[0].upload_id #=> String
|
|
13535
13535
|
# resp.uploads[0].key #=> String
|
|
13536
13536
|
# resp.uploads[0].initiated #=> Time
|
|
13537
|
-
# resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
13537
|
+
# resp.uploads[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
13538
13538
|
# resp.uploads[0].owner.display_name #=> String
|
|
13539
13539
|
# resp.uploads[0].owner.id #=> String
|
|
13540
13540
|
# resp.uploads[0].initiator.id #=> String
|
|
@@ -14147,7 +14147,7 @@ module Aws::S3
|
|
|
14147
14147
|
# resp.contents[0].checksum_algorithm[0] #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME", "SHA512", "MD5", "XXHASH64", "XXHASH3", "XXHASH128"
|
|
14148
14148
|
# resp.contents[0].checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
14149
14149
|
# resp.contents[0].size #=> Integer
|
|
14150
|
-
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
14150
|
+
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
14151
14151
|
# resp.contents[0].owner.display_name #=> String
|
|
14152
14152
|
# resp.contents[0].owner.id #=> String
|
|
14153
14153
|
# resp.contents[0].restore_status.is_restore_in_progress #=> Boolean
|
|
@@ -14497,7 +14497,7 @@ module Aws::S3
|
|
|
14497
14497
|
# resp.contents[0].checksum_algorithm[0] #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME", "SHA512", "MD5", "XXHASH64", "XXHASH3", "XXHASH128"
|
|
14498
14498
|
# resp.contents[0].checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
14499
14499
|
# resp.contents[0].size #=> Integer
|
|
14500
|
-
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
14500
|
+
# resp.contents[0].storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "GLACIER", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
14501
14501
|
# resp.contents[0].owner.display_name #=> String
|
|
14502
14502
|
# resp.contents[0].owner.id #=> String
|
|
14503
14503
|
# resp.contents[0].restore_status.is_restore_in_progress #=> Boolean
|
|
@@ -14848,7 +14848,7 @@ module Aws::S3
|
|
|
14848
14848
|
# resp.initiator.display_name #=> String
|
|
14849
14849
|
# resp.owner.display_name #=> String
|
|
14850
14850
|
# resp.owner.id #=> String
|
|
14851
|
-
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP"
|
|
14851
|
+
# resp.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
|
|
14852
14852
|
# resp.request_charged #=> String, one of "requester"
|
|
14853
14853
|
# resp.checksum_algorithm #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME", "SHA512", "MD5", "XXHASH64", "XXHASH3", "XXHASH128"
|
|
14854
14854
|
# resp.checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
@@ -15899,7 +15899,7 @@ module Aws::S3
|
|
|
15899
15899
|
# rules: [ # required
|
|
15900
15900
|
# {
|
|
15901
15901
|
# apply_server_side_encryption_by_default: {
|
|
15902
|
-
# sse_algorithm: "AES256", # required, accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
15902
|
+
# sse_algorithm: "AES256", # required, accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
15903
15903
|
# kms_master_key_id: "SSEKMSKeyId",
|
|
15904
15904
|
# },
|
|
15905
15905
|
# bucket_key_enabled: false,
|
|
@@ -17880,7 +17880,7 @@ module Aws::S3
|
|
|
17880
17880
|
# destination: { # required
|
|
17881
17881
|
# bucket: "BucketName", # required
|
|
17882
17882
|
# account: "AccountId",
|
|
17883
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
17883
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
17884
17884
|
# access_control_translation: {
|
|
17885
17885
|
# owner: "Destination", # required, accepts Destination
|
|
17886
17886
|
# },
|
|
@@ -19614,8 +19614,8 @@ module Aws::S3
|
|
|
19614
19614
|
# metadata: {
|
|
19615
19615
|
# "MetadataKey" => "MetadataValue",
|
|
19616
19616
|
# },
|
|
19617
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
19618
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
19617
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
19618
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
19619
19619
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
19620
19620
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
19621
19621
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -19646,7 +19646,7 @@ module Aws::S3
|
|
|
19646
19646
|
# resp.checksum_xxhash3 #=> String
|
|
19647
19647
|
# resp.checksum_xxhash128 #=> String
|
|
19648
19648
|
# resp.checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
19649
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
19649
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
19650
19650
|
# resp.version_id #=> String
|
|
19651
19651
|
# resp.sse_customer_algorithm #=> String
|
|
19652
19652
|
# resp.sse_customer_key_md5 #=> String
|
|
@@ -20241,7 +20241,7 @@ module Aws::S3
|
|
|
20241
20241
|
# resp.checksum_xxhash3 #=> String
|
|
20242
20242
|
# resp.checksum_xxhash128 #=> String
|
|
20243
20243
|
# resp.checksum_type #=> String, one of "COMPOSITE", "FULL_OBJECT"
|
|
20244
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
20244
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
20245
20245
|
# resp.request_charged #=> String, one of "requester"
|
|
20246
20246
|
#
|
|
20247
20247
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAnnotation AWS API Documentation
|
|
@@ -21453,7 +21453,7 @@ module Aws::S3
|
|
|
21453
21453
|
# bucket_name: "BucketName", # required
|
|
21454
21454
|
# prefix: "LocationPrefix", # required
|
|
21455
21455
|
# encryption: {
|
|
21456
|
-
# encryption_type: "AES256", # required, accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
21456
|
+
# encryption_type: "AES256", # required, accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
21457
21457
|
# kms_key_id: "SSEKMSKeyId",
|
|
21458
21458
|
# kms_context: "KMSContext",
|
|
21459
21459
|
# },
|
|
@@ -21484,7 +21484,7 @@ module Aws::S3
|
|
|
21484
21484
|
# value: "MetadataValue",
|
|
21485
21485
|
# },
|
|
21486
21486
|
# ],
|
|
21487
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
21487
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
21488
21488
|
# },
|
|
21489
21489
|
# },
|
|
21490
21490
|
# },
|
|
@@ -22242,8 +22242,6 @@ module Aws::S3
|
|
|
22242
22242
|
# : * To use the `UpdateObjectEncryption` operation, you must have the
|
|
22243
22243
|
# following permissions:
|
|
22244
22244
|
#
|
|
22245
|
-
# * `s3:PutObject`
|
|
22246
|
-
#
|
|
22247
22245
|
# * `s3:UpdateObjectEncryption`
|
|
22248
22246
|
#
|
|
22249
22247
|
# * `kms:Encrypt`
|
|
@@ -22973,7 +22971,7 @@ module Aws::S3
|
|
|
22973
22971
|
#
|
|
22974
22972
|
# @example Response structure
|
|
22975
22973
|
#
|
|
22976
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
22974
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
22977
22975
|
# resp.etag #=> String
|
|
22978
22976
|
# resp.checksum_crc32 #=> String
|
|
22979
22977
|
# resp.checksum_crc32c #=> String
|
|
@@ -23587,7 +23585,7 @@ module Aws::S3
|
|
|
23587
23585
|
# resp.copy_part_result.checksum_xxhash64 #=> String
|
|
23588
23586
|
# resp.copy_part_result.checksum_xxhash3 #=> String
|
|
23589
23587
|
# resp.copy_part_result.checksum_xxhash128 #=> String
|
|
23590
|
-
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:kms", "aws:kms:dsse"
|
|
23588
|
+
# resp.server_side_encryption #=> String, one of "AES256", "aws:fsx", "aws:backup", "aws:kms", "aws:kms:dsse"
|
|
23591
23589
|
# resp.sse_customer_algorithm #=> String
|
|
23592
23590
|
# resp.sse_customer_key_md5 #=> String
|
|
23593
23591
|
# resp.ssekms_key_id #=> String
|
|
@@ -24067,11 +24065,11 @@ module Aws::S3
|
|
|
24067
24065
|
# replication_status: "COMPLETE", # accepts COMPLETE, PENDING, FAILED, REPLICA, COMPLETED
|
|
24068
24066
|
# request_charged: "requester", # accepts requester
|
|
24069
24067
|
# restore: "Restore",
|
|
24070
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
24068
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
24071
24069
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
24072
24070
|
# ssekms_key_id: "SSEKMSKeyId",
|
|
24073
24071
|
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
|
24074
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
24072
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
24075
24073
|
# tag_count: 1,
|
|
24076
24074
|
# version_id: "ObjectVersionId",
|
|
24077
24075
|
# bucket_key_enabled: false,
|
|
@@ -24104,7 +24102,7 @@ module Aws::S3
|
|
|
24104
24102
|
tracer: tracer
|
|
24105
24103
|
)
|
|
24106
24104
|
context[:gem_name] = 'aws-sdk-s3'
|
|
24107
|
-
context[:gem_version] = '1.
|
|
24105
|
+
context[:gem_version] = '1.229.0'
|
|
24108
24106
|
Seahorse::Client::Request.new(handlers, context)
|
|
24109
24107
|
end
|
|
24110
24108
|
|
|
@@ -50,7 +50,7 @@ module Aws
|
|
|
50
50
|
# @return [Cipher] Given an encryption envelope, returns a
|
|
51
51
|
# decryption cipher.
|
|
52
52
|
def decryption_cipher(envelope, options = {})
|
|
53
|
-
encryption_context =
|
|
53
|
+
encryption_context = extract_encryption_context(envelope['x-amz-matdesc'])
|
|
54
54
|
cek_alg = envelope['x-amz-cek-alg']
|
|
55
55
|
|
|
56
56
|
case envelope['x-amz-wrap-alg']
|
|
@@ -115,6 +115,19 @@ module Aws
|
|
|
115
115
|
|
|
116
116
|
private
|
|
117
117
|
|
|
118
|
+
# Raise a decryption error for a malformed material description. A
|
|
119
|
+
# material description must be a JSON object.
|
|
120
|
+
def extract_encryption_context(matdesc)
|
|
121
|
+
context = Json.load(matdesc) if matdesc.is_a?(String)
|
|
122
|
+
unless context.is_a?(Hash)
|
|
123
|
+
raise Errors::DecryptionError, 'Malformed material description'
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
context
|
|
127
|
+
rescue Aws::Json::ParseError, EncodingError
|
|
128
|
+
raise Errors::DecryptionError, 'Malformed material description'
|
|
129
|
+
end
|
|
130
|
+
|
|
118
131
|
def validate_key_wrap(key_wrap_schema)
|
|
119
132
|
case key_wrap_schema
|
|
120
133
|
when :kms_context then 'kms+context'
|
|
@@ -54,7 +54,7 @@ module Aws
|
|
|
54
54
|
cek_alg = envelope['x-amz-c']
|
|
55
55
|
encryption_context =
|
|
56
56
|
if !envelope['x-amz-t'].nil?
|
|
57
|
-
|
|
57
|
+
extract_encryption_context(envelope['x-amz-t'])
|
|
58
58
|
else
|
|
59
59
|
##= ../specification/s3-encryption/data-format/content-metadata.md#v3-only
|
|
60
60
|
##% If the mapkey x-amz-t is not present, the default Material Description value MUST be set to an empty map (`{}`).
|
|
@@ -102,6 +102,18 @@ module Aws
|
|
|
102
102
|
|
|
103
103
|
private
|
|
104
104
|
|
|
105
|
+
# Raise a decryption error for a malformed material description.
|
|
106
|
+
def extract_encryption_context(matdesc)
|
|
107
|
+
context = Json.load(matdesc) if matdesc.is_a?(String)
|
|
108
|
+
unless context.is_a?(Hash)
|
|
109
|
+
raise Errors::DecryptionError, 'Malformed material description'
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
context
|
|
113
|
+
rescue Aws::Json::ParseError, EncodingError
|
|
114
|
+
raise Errors::DecryptionError, 'Malformed material description'
|
|
115
|
+
end
|
|
116
|
+
|
|
105
117
|
def validate_key_wrap(key_wrap_schema)
|
|
106
118
|
case key_wrap_schema
|
|
107
119
|
when :kms_context then '12'
|
|
@@ -154,7 +154,6 @@ module Aws
|
|
|
154
154
|
Thread.current[:net_http_override_body_stream_chunk] = @http_chunk_size if @http_chunk_size
|
|
155
155
|
update_progress(progress, p)
|
|
156
156
|
resp = @client.upload_part(p)
|
|
157
|
-
p[:body].close
|
|
158
157
|
completed_part = { etag: resp.etag, part_number: p[:part_number] }
|
|
159
158
|
apply_part_checksum(resp, completed_part)
|
|
160
159
|
completed.push(completed_part)
|
|
@@ -162,6 +161,7 @@ module Aws
|
|
|
162
161
|
abort_upload = true
|
|
163
162
|
errors << e
|
|
164
163
|
ensure
|
|
164
|
+
p[:body].close
|
|
165
165
|
Thread.current[:net_http_override_body_stream_chunk] = nil if @http_chunk_size
|
|
166
166
|
completion_queue << :done
|
|
167
167
|
end
|
data/lib/aws-sdk-s3/object.rb
CHANGED
|
@@ -825,8 +825,8 @@ module Aws::S3
|
|
|
825
825
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
|
826
826
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
|
827
827
|
# annotation_directive: "COPY", # accepts COPY, EXCLUDE
|
|
828
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
829
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
828
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
829
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
830
830
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
831
831
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
832
832
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -1985,8 +1985,8 @@ module Aws::S3
|
|
|
1985
1985
|
# metadata: {
|
|
1986
1986
|
# "MetadataKey" => "MetadataValue",
|
|
1987
1987
|
# },
|
|
1988
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
1989
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
1988
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
1989
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
1990
1990
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
1991
1991
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
1992
1992
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -2591,8 +2591,8 @@ module Aws::S3
|
|
|
2591
2591
|
# metadata: {
|
|
2592
2592
|
# "MetadataKey" => "MetadataValue",
|
|
2593
2593
|
# },
|
|
2594
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
2595
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
2594
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
2595
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
2596
2596
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
2597
2597
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
2598
2598
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -3296,7 +3296,7 @@ module Aws::S3
|
|
|
3296
3296
|
# bucket_name: "BucketName", # required
|
|
3297
3297
|
# prefix: "LocationPrefix", # required
|
|
3298
3298
|
# encryption: {
|
|
3299
|
-
# encryption_type: "AES256", # required, accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
3299
|
+
# encryption_type: "AES256", # required, accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
3300
3300
|
# kms_key_id: "SSEKMSKeyId",
|
|
3301
3301
|
# kms_context: "KMSContext",
|
|
3302
3302
|
# },
|
|
@@ -3327,7 +3327,7 @@ module Aws::S3
|
|
|
3327
3327
|
# value: "MetadataValue",
|
|
3328
3328
|
# },
|
|
3329
3329
|
# ],
|
|
3330
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
3330
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
3331
3331
|
# },
|
|
3332
3332
|
# },
|
|
3333
3333
|
# },
|
|
@@ -362,8 +362,8 @@ module Aws::S3
|
|
|
362
362
|
# metadata_directive: "COPY", # accepts COPY, REPLACE
|
|
363
363
|
# tagging_directive: "COPY", # accepts COPY, REPLACE
|
|
364
364
|
# annotation_directive: "COPY", # accepts COPY, EXCLUDE
|
|
365
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
366
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
365
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
366
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
367
367
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
368
368
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
369
369
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -1522,8 +1522,8 @@ module Aws::S3
|
|
|
1522
1522
|
# metadata: {
|
|
1523
1523
|
# "MetadataKey" => "MetadataValue",
|
|
1524
1524
|
# },
|
|
1525
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
1526
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
1525
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
1526
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
1527
1527
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
1528
1528
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
1529
1529
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -2128,8 +2128,8 @@ module Aws::S3
|
|
|
2128
2128
|
# metadata: {
|
|
2129
2129
|
# "MetadataKey" => "MetadataValue",
|
|
2130
2130
|
# },
|
|
2131
|
-
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
2132
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
2131
|
+
# server_side_encryption: "AES256", # accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
2132
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
2133
2133
|
# website_redirect_location: "WebsiteRedirectLocation",
|
|
2134
2134
|
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
|
2135
2135
|
# sse_customer_key: "SSECustomerKey",
|
|
@@ -2833,7 +2833,7 @@ module Aws::S3
|
|
|
2833
2833
|
# bucket_name: "BucketName", # required
|
|
2834
2834
|
# prefix: "LocationPrefix", # required
|
|
2835
2835
|
# encryption: {
|
|
2836
|
-
# encryption_type: "AES256", # required, accepts AES256, aws:fsx, aws:kms, aws:kms:dsse
|
|
2836
|
+
# encryption_type: "AES256", # required, accepts AES256, aws:fsx, aws:backup, aws:kms, aws:kms:dsse
|
|
2837
2837
|
# kms_key_id: "SSEKMSKeyId",
|
|
2838
2838
|
# kms_context: "KMSContext",
|
|
2839
2839
|
# },
|
|
@@ -2864,7 +2864,7 @@ module Aws::S3
|
|
|
2864
2864
|
# value: "MetadataValue",
|
|
2865
2865
|
# },
|
|
2866
2866
|
# ],
|
|
2867
|
-
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP
|
|
2867
|
+
# storage_class: "STANDARD", # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW, EXPRESS_ONEZONE, FSX_OPENZFS, FSX_ONTAP, AWS_BACKUP_WARM, AWS_BACKUP_LOW_COST_WARM
|
|
2868
2868
|
# },
|
|
2869
2869
|
# },
|
|
2870
2870
|
# },
|
data/lib/aws-sdk-s3/types.rb
CHANGED
|
@@ -3483,7 +3483,12 @@ module Aws::S3
|
|
|
3483
3483
|
end
|
|
3484
3484
|
|
|
3485
3485
|
# @!attribute [rw] location
|
|
3486
|
-
# A forward slash followed by the name of the bucket
|
|
3486
|
+
# A forward slash followed by the name of the bucket for all account
|
|
3487
|
+
# regional namespace buckets and all global general purpose buckets
|
|
3488
|
+
# created in us-east-1. For example, `/amzn-s3-demo-bucket`. For
|
|
3489
|
+
# global general purpose buckets created in other Amazon Web Services
|
|
3490
|
+
# Regions, the Location field is the global endpoint URL. For example,
|
|
3491
|
+
# `http://amzn-s3-demo-bucket.s3.amazonaws.com/`.
|
|
3487
3492
|
# @return [String]
|
|
3488
3493
|
#
|
|
3489
3494
|
# @!attribute [rw] bucket_arn
|
|
@@ -6128,8 +6133,17 @@ module Aws::S3
|
|
|
6128
6133
|
include Aws::Structure
|
|
6129
6134
|
end
|
|
6130
6135
|
|
|
6136
|
+
# <note markdown="1"> For information about using the Amazon S3 API—including error
|
|
6137
|
+
# handling—see the [Amazon S3 Developer Guide][1].
|
|
6138
|
+
#
|
|
6139
|
+
# </note>
|
|
6140
|
+
#
|
|
6131
6141
|
# Container for all error elements.
|
|
6132
6142
|
#
|
|
6143
|
+
#
|
|
6144
|
+
#
|
|
6145
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/developerguide/Welcome.html
|
|
6146
|
+
#
|
|
6133
6147
|
# @!attribute [rw] key
|
|
6134
6148
|
# The error key.
|
|
6135
6149
|
# @return [String]
|
|
@@ -21175,15 +21189,12 @@ module Aws::S3
|
|
|
21175
21189
|
#
|
|
21176
21190
|
# @!attribute [rw] days
|
|
21177
21191
|
# Indicates the number of days after creation when objects are
|
|
21178
|
-
# transitioned to the specified storage class.
|
|
21179
|
-
#
|
|
21180
|
-
#
|
|
21181
|
-
#
|
|
21182
|
-
#
|
|
21183
|
-
#
|
|
21184
|
-
# charged for transitioning objects before their minimum storage
|
|
21185
|
-
# duration. For more information, see [ Constraints and considerations
|
|
21186
|
-
# for transitions][1] in the *Amazon S3 User Guide*.
|
|
21192
|
+
# transitioned to the specified storage class. The value can be `0` or
|
|
21193
|
+
# any positive integer. Be aware that some storage classes have a
|
|
21194
|
+
# minimum storage duration and that you're charged for transitioning
|
|
21195
|
+
# objects before their minimum storage duration. For more information,
|
|
21196
|
+
# see [ Constraints and considerations for transitions][1] in the
|
|
21197
|
+
# *Amazon S3 User Guide*.
|
|
21187
21198
|
#
|
|
21188
21199
|
#
|
|
21189
21200
|
#
|
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
|
@@ -138,8 +138,8 @@ module Aws
|
|
|
138
138
|
key: ::String,
|
|
139
139
|
?write_offset_bytes: ::Integer,
|
|
140
140
|
?metadata: Hash[::String, ::String],
|
|
141
|
-
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
142
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
141
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
142
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM"),
|
|
143
143
|
?website_redirect_location: ::String,
|
|
144
144
|
?sse_customer_algorithm: ::String,
|
|
145
145
|
?sse_customer_key: ::String,
|