aws-sdk-s3 1.125.0 → 1.126.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +34 -12
- data/lib/aws-sdk-s3/client.rb +398 -385
- data/lib/aws-sdk-s3/client_api.rb +8 -0
- data/lib/aws-sdk-s3/object.rb +36 -37
- data/lib/aws-sdk-s3/object_summary.rb +31 -32
- data/lib/aws-sdk-s3/types.rb +161 -87
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +2 -2
@@ -1074,10 +1074,12 @@ module Aws::S3
|
|
1074
1074
|
FilterRuleList.member = Shapes::ShapeRef.new(shape: FilterRule)
|
1075
1075
|
|
1076
1076
|
GetBucketAccelerateConfigurationOutput.add_member(:status, Shapes::ShapeRef.new(shape: BucketAccelerateStatus, location_name: "Status"))
|
1077
|
+
GetBucketAccelerateConfigurationOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
|
1077
1078
|
GetBucketAccelerateConfigurationOutput.struct_class = Types::GetBucketAccelerateConfigurationOutput
|
1078
1079
|
|
1079
1080
|
GetBucketAccelerateConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
1080
1081
|
GetBucketAccelerateConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1082
|
+
GetBucketAccelerateConfigurationRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
|
1081
1083
|
GetBucketAccelerateConfigurationRequest.struct_class = Types::GetBucketAccelerateConfigurationRequest
|
1082
1084
|
|
1083
1085
|
GetBucketAclOutput.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
|
@@ -1664,6 +1666,7 @@ module Aws::S3
|
|
1664
1666
|
ListMultipartUploadsOutput.add_member(:uploads, Shapes::ShapeRef.new(shape: MultipartUploadList, location_name: "Upload"))
|
1665
1667
|
ListMultipartUploadsOutput.add_member(:common_prefixes, Shapes::ShapeRef.new(shape: CommonPrefixList, location_name: "CommonPrefixes"))
|
1666
1668
|
ListMultipartUploadsOutput.add_member(:encoding_type, Shapes::ShapeRef.new(shape: EncodingType, location_name: "EncodingType"))
|
1669
|
+
ListMultipartUploadsOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
|
1667
1670
|
ListMultipartUploadsOutput.struct_class = Types::ListMultipartUploadsOutput
|
1668
1671
|
|
1669
1672
|
ListMultipartUploadsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
@@ -1674,6 +1677,7 @@ module Aws::S3
|
|
1674
1677
|
ListMultipartUploadsRequest.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location: "querystring", location_name: "prefix"))
|
1675
1678
|
ListMultipartUploadsRequest.add_member(:upload_id_marker, Shapes::ShapeRef.new(shape: UploadIdMarker, location: "querystring", location_name: "upload-id-marker"))
|
1676
1679
|
ListMultipartUploadsRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1680
|
+
ListMultipartUploadsRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
|
1677
1681
|
ListMultipartUploadsRequest.struct_class = Types::ListMultipartUploadsRequest
|
1678
1682
|
|
1679
1683
|
ListObjectVersionsOutput.add_member(:is_truncated, Shapes::ShapeRef.new(shape: IsTruncated, location_name: "IsTruncated"))
|
@@ -1689,6 +1693,7 @@ module Aws::S3
|
|
1689
1693
|
ListObjectVersionsOutput.add_member(:max_keys, Shapes::ShapeRef.new(shape: MaxKeys, location_name: "MaxKeys"))
|
1690
1694
|
ListObjectVersionsOutput.add_member(:common_prefixes, Shapes::ShapeRef.new(shape: CommonPrefixList, location_name: "CommonPrefixes"))
|
1691
1695
|
ListObjectVersionsOutput.add_member(:encoding_type, Shapes::ShapeRef.new(shape: EncodingType, location_name: "EncodingType"))
|
1696
|
+
ListObjectVersionsOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
|
1692
1697
|
ListObjectVersionsOutput.struct_class = Types::ListObjectVersionsOutput
|
1693
1698
|
|
1694
1699
|
ListObjectVersionsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
@@ -1699,6 +1704,7 @@ module Aws::S3
|
|
1699
1704
|
ListObjectVersionsRequest.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location: "querystring", location_name: "prefix"))
|
1700
1705
|
ListObjectVersionsRequest.add_member(:version_id_marker, Shapes::ShapeRef.new(shape: VersionIdMarker, location: "querystring", location_name: "version-id-marker"))
|
1701
1706
|
ListObjectVersionsRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
1707
|
+
ListObjectVersionsRequest.add_member(:request_payer, Shapes::ShapeRef.new(shape: RequestPayer, location: "header", location_name: "x-amz-request-payer"))
|
1702
1708
|
ListObjectVersionsRequest.struct_class = Types::ListObjectVersionsRequest
|
1703
1709
|
|
1704
1710
|
ListObjectsOutput.add_member(:is_truncated, Shapes::ShapeRef.new(shape: IsTruncated, location_name: "IsTruncated"))
|
@@ -1711,6 +1717,7 @@ module Aws::S3
|
|
1711
1717
|
ListObjectsOutput.add_member(:max_keys, Shapes::ShapeRef.new(shape: MaxKeys, location_name: "MaxKeys"))
|
1712
1718
|
ListObjectsOutput.add_member(:common_prefixes, Shapes::ShapeRef.new(shape: CommonPrefixList, location_name: "CommonPrefixes"))
|
1713
1719
|
ListObjectsOutput.add_member(:encoding_type, Shapes::ShapeRef.new(shape: EncodingType, location_name: "EncodingType"))
|
1720
|
+
ListObjectsOutput.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
|
1714
1721
|
ListObjectsOutput.struct_class = Types::ListObjectsOutput
|
1715
1722
|
|
1716
1723
|
ListObjectsRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
@@ -1735,6 +1742,7 @@ module Aws::S3
|
|
1735
1742
|
ListObjectsV2Output.add_member(:continuation_token, Shapes::ShapeRef.new(shape: Token, location_name: "ContinuationToken"))
|
1736
1743
|
ListObjectsV2Output.add_member(:next_continuation_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextContinuationToken"))
|
1737
1744
|
ListObjectsV2Output.add_member(:start_after, Shapes::ShapeRef.new(shape: StartAfter, location_name: "StartAfter"))
|
1745
|
+
ListObjectsV2Output.add_member(:request_charged, Shapes::ShapeRef.new(shape: RequestCharged, location: "header", location_name: "x-amz-request-charged"))
|
1738
1746
|
ListObjectsV2Output.struct_class = Types::ListObjectsV2Output
|
1739
1747
|
|
1740
1748
|
ListObjectsV2Request.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -240,7 +240,7 @@ module Aws::S3
|
|
240
240
|
end
|
241
241
|
|
242
242
|
# The server-side encryption algorithm used when storing this object in
|
243
|
-
# Amazon S3 (for example, AES256
|
243
|
+
# Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
|
244
244
|
# @return [String]
|
245
245
|
def server_side_encryption
|
246
246
|
data[:server_side_encryption]
|
@@ -269,16 +269,16 @@ module Aws::S3
|
|
269
269
|
data[:sse_customer_key_md5]
|
270
270
|
end
|
271
271
|
|
272
|
-
# If present, specifies the ID of the
|
273
|
-
#
|
274
|
-
#
|
272
|
+
# If present, specifies the ID of the Key Management Service (KMS)
|
273
|
+
# symmetric encryption customer managed key that was used for the
|
274
|
+
# object.
|
275
275
|
# @return [String]
|
276
276
|
def ssekms_key_id
|
277
277
|
data[:ssekms_key_id]
|
278
278
|
end
|
279
279
|
|
280
280
|
# Indicates whether the object uses an S3 Bucket Key for server-side
|
281
|
-
# encryption with
|
281
|
+
# encryption with Key Management Service (KMS) keys (SSE-KMS).
|
282
282
|
# @return [Boolean]
|
283
283
|
def bucket_key_enabled
|
284
284
|
data[:bucket_key_enabled]
|
@@ -745,7 +745,7 @@ module Aws::S3
|
|
745
745
|
# or replaced with tag-set provided in the request.
|
746
746
|
# @option options [String] :server_side_encryption
|
747
747
|
# The server-side encryption algorithm used when storing this object in
|
748
|
-
# Amazon S3 (for example, AES256
|
748
|
+
# Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
|
749
749
|
# @option options [String] :storage_class
|
750
750
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
751
751
|
# created objects. The STANDARD storage class provides high durability
|
@@ -778,13 +778,12 @@ module Aws::S3
|
|
778
778
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
779
779
|
# ensure that the encryption key was transmitted without error.
|
780
780
|
# @option options [String] :ssekms_key_id
|
781
|
-
# Specifies the
|
782
|
-
#
|
783
|
-
#
|
784
|
-
#
|
785
|
-
#
|
786
|
-
#
|
787
|
-
# User Guide*.
|
781
|
+
# Specifies the KMS key ID to use for object encryption. All GET and PUT
|
782
|
+
# requests for an object protected by KMS will fail if they're not made
|
783
|
+
# via SSL or using SigV4. For information about configuring any of the
|
784
|
+
# officially supported Amazon Web Services SDKs and Amazon Web Services
|
785
|
+
# CLI, see [Specifying the Signature Version in Request
|
786
|
+
# Authentication][1] in the *Amazon S3 User Guide*.
|
788
787
|
#
|
789
788
|
#
|
790
789
|
#
|
@@ -795,9 +794,9 @@ module Aws::S3
|
|
795
794
|
# string holding JSON with the encryption context key-value pairs.
|
796
795
|
# @option options [Boolean] :bucket_key_enabled
|
797
796
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
798
|
-
# encryption with server-side encryption using
|
799
|
-
# Setting this header to `true` causes Amazon S3
|
800
|
-
# for object encryption with SSE-KMS.
|
797
|
+
# encryption with server-side encryption using Key Management Service
|
798
|
+
# (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
|
799
|
+
# to use an S3 Bucket Key for object encryption with SSE-KMS.
|
801
800
|
#
|
802
801
|
# Specifying this header with a COPY action doesn’t affect bucket-level
|
803
802
|
# settings for S3 Bucket Key.
|
@@ -1083,7 +1082,7 @@ module Aws::S3
|
|
1083
1082
|
# A map of metadata to store with the object in S3.
|
1084
1083
|
# @option options [String] :server_side_encryption
|
1085
1084
|
# The server-side encryption algorithm used when storing this object in
|
1086
|
-
# Amazon S3 (for example, AES256
|
1085
|
+
# Amazon S3 (for example, `AES256`, `aws:kms`).
|
1087
1086
|
# @option options [String] :storage_class
|
1088
1087
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
1089
1088
|
# created objects. The STANDARD storage class provides high durability
|
@@ -1115,11 +1114,11 @@ module Aws::S3
|
|
1115
1114
|
# @option options [String] :ssekms_key_id
|
1116
1115
|
# Specifies the ID of the symmetric encryption customer managed key to
|
1117
1116
|
# use for object encryption. All GET and PUT requests for an object
|
1118
|
-
# protected by
|
1119
|
-
#
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1117
|
+
# protected by KMS will fail if they're not made via SSL or using
|
1118
|
+
# SigV4. For information about configuring any of the officially
|
1119
|
+
# supported Amazon Web Services SDKs and Amazon Web Services CLI, see
|
1120
|
+
# [Specifying the Signature Version in Request Authentication][1] in the
|
1121
|
+
# *Amazon S3 User Guide*.
|
1123
1122
|
#
|
1124
1123
|
#
|
1125
1124
|
#
|
@@ -1130,9 +1129,9 @@ module Aws::S3
|
|
1130
1129
|
# string holding JSON with the encryption context key-value pairs.
|
1131
1130
|
# @option options [Boolean] :bucket_key_enabled
|
1132
1131
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
1133
|
-
# encryption with server-side encryption using
|
1134
|
-
# Setting this header to `true` causes Amazon S3
|
1135
|
-
# for object encryption with SSE-KMS.
|
1132
|
+
# encryption with server-side encryption using Key Management Service
|
1133
|
+
# (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
|
1134
|
+
# to use an S3 Bucket Key for object encryption with SSE-KMS.
|
1136
1135
|
#
|
1137
1136
|
# Specifying this header with an object action doesn’t affect
|
1138
1137
|
# bucket-level settings for S3 Bucket Key.
|
@@ -1378,7 +1377,7 @@ module Aws::S3
|
|
1378
1377
|
# A map of metadata to store with the object in S3.
|
1379
1378
|
# @option options [String] :server_side_encryption
|
1380
1379
|
# The server-side encryption algorithm used when storing this object in
|
1381
|
-
# Amazon S3 (for example, AES256
|
1380
|
+
# Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
|
1382
1381
|
# @option options [String] :storage_class
|
1383
1382
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
1384
1383
|
# created objects. The STANDARD storage class provides high durability
|
@@ -1429,15 +1428,15 @@ module Aws::S3
|
|
1429
1428
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
1430
1429
|
# ensure that the encryption key was transmitted without error.
|
1431
1430
|
# @option options [String] :ssekms_key_id
|
1432
|
-
# If `x-amz-server-side-encryption` has a valid value of `aws:kms
|
1433
|
-
# header specifies the ID of the
|
1434
|
-
# Service (
|
1435
|
-
#
|
1436
|
-
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
1431
|
+
# If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
|
1432
|
+
# `aws:kms:dsse`, this header specifies the ID of the Key Management
|
1433
|
+
# Service (KMS) symmetric encryption customer managed key that was used
|
1434
|
+
# for the object. If you specify `x-amz-server-side-encryption:aws:kms`
|
1435
|
+
# or `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide`
|
1437
1436
|
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
1438
|
-
# Amazon Web Services managed key to protect the data. If the
|
1439
|
-
# does not exist in the same account issuing the
|
1440
|
-
# the full ARN and not just the ID.
|
1437
|
+
# Amazon Web Services managed key (`aws/s3`) to protect the data. If the
|
1438
|
+
# KMS key does not exist in the same account that's issuing the
|
1439
|
+
# command, you must use the full ARN and not just the ID.
|
1441
1440
|
# @option options [String] :ssekms_encryption_context
|
1442
1441
|
# Specifies the Amazon Web Services KMS Encryption Context to use for
|
1443
1442
|
# object encryption. The value of this header is a base64-encoded UTF-8
|
@@ -1447,9 +1446,9 @@ module Aws::S3
|
|
1447
1446
|
# operations on this object.
|
1448
1447
|
# @option options [Boolean] :bucket_key_enabled
|
1449
1448
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
1450
|
-
# encryption with server-side encryption using
|
1451
|
-
# Setting this header to `true` causes Amazon S3
|
1452
|
-
# for object encryption with SSE-KMS.
|
1449
|
+
# encryption with server-side encryption using Key Management Service
|
1450
|
+
# (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
|
1451
|
+
# to use an S3 Bucket Key for object encryption with SSE-KMS.
|
1453
1452
|
#
|
1454
1453
|
# Specifying this header with a PUT action doesn’t affect bucket-level
|
1455
1454
|
# settings for S3 Bucket Key.
|
@@ -440,7 +440,7 @@ module Aws::S3
|
|
440
440
|
# or replaced with tag-set provided in the request.
|
441
441
|
# @option options [String] :server_side_encryption
|
442
442
|
# The server-side encryption algorithm used when storing this object in
|
443
|
-
# Amazon S3 (for example, AES256
|
443
|
+
# Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
|
444
444
|
# @option options [String] :storage_class
|
445
445
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
446
446
|
# created objects. The STANDARD storage class provides high durability
|
@@ -473,13 +473,12 @@ module Aws::S3
|
|
473
473
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
474
474
|
# ensure that the encryption key was transmitted without error.
|
475
475
|
# @option options [String] :ssekms_key_id
|
476
|
-
# Specifies the
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
482
|
-
# User Guide*.
|
476
|
+
# Specifies the KMS key ID to use for object encryption. All GET and PUT
|
477
|
+
# requests for an object protected by KMS will fail if they're not made
|
478
|
+
# via SSL or using SigV4. For information about configuring any of the
|
479
|
+
# officially supported Amazon Web Services SDKs and Amazon Web Services
|
480
|
+
# CLI, see [Specifying the Signature Version in Request
|
481
|
+
# Authentication][1] in the *Amazon S3 User Guide*.
|
483
482
|
#
|
484
483
|
#
|
485
484
|
#
|
@@ -490,9 +489,9 @@ module Aws::S3
|
|
490
489
|
# string holding JSON with the encryption context key-value pairs.
|
491
490
|
# @option options [Boolean] :bucket_key_enabled
|
492
491
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
493
|
-
# encryption with server-side encryption using
|
494
|
-
# Setting this header to `true` causes Amazon S3
|
495
|
-
# for object encryption with SSE-KMS.
|
492
|
+
# encryption with server-side encryption using Key Management Service
|
493
|
+
# (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
|
494
|
+
# to use an S3 Bucket Key for object encryption with SSE-KMS.
|
496
495
|
#
|
497
496
|
# Specifying this header with a COPY action doesn’t affect bucket-level
|
498
497
|
# settings for S3 Bucket Key.
|
@@ -778,7 +777,7 @@ module Aws::S3
|
|
778
777
|
# A map of metadata to store with the object in S3.
|
779
778
|
# @option options [String] :server_side_encryption
|
780
779
|
# The server-side encryption algorithm used when storing this object in
|
781
|
-
# Amazon S3 (for example, AES256
|
780
|
+
# Amazon S3 (for example, `AES256`, `aws:kms`).
|
782
781
|
# @option options [String] :storage_class
|
783
782
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
784
783
|
# created objects. The STANDARD storage class provides high durability
|
@@ -810,11 +809,11 @@ module Aws::S3
|
|
810
809
|
# @option options [String] :ssekms_key_id
|
811
810
|
# Specifies the ID of the symmetric encryption customer managed key to
|
812
811
|
# use for object encryption. All GET and PUT requests for an object
|
813
|
-
# protected by
|
814
|
-
#
|
815
|
-
#
|
816
|
-
#
|
817
|
-
#
|
812
|
+
# protected by KMS will fail if they're not made via SSL or using
|
813
|
+
# SigV4. For information about configuring any of the officially
|
814
|
+
# supported Amazon Web Services SDKs and Amazon Web Services CLI, see
|
815
|
+
# [Specifying the Signature Version in Request Authentication][1] in the
|
816
|
+
# *Amazon S3 User Guide*.
|
818
817
|
#
|
819
818
|
#
|
820
819
|
#
|
@@ -825,9 +824,9 @@ module Aws::S3
|
|
825
824
|
# string holding JSON with the encryption context key-value pairs.
|
826
825
|
# @option options [Boolean] :bucket_key_enabled
|
827
826
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
828
|
-
# encryption with server-side encryption using
|
829
|
-
# Setting this header to `true` causes Amazon S3
|
830
|
-
# for object encryption with SSE-KMS.
|
827
|
+
# encryption with server-side encryption using Key Management Service
|
828
|
+
# (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
|
829
|
+
# to use an S3 Bucket Key for object encryption with SSE-KMS.
|
831
830
|
#
|
832
831
|
# Specifying this header with an object action doesn’t affect
|
833
832
|
# bucket-level settings for S3 Bucket Key.
|
@@ -1073,7 +1072,7 @@ module Aws::S3
|
|
1073
1072
|
# A map of metadata to store with the object in S3.
|
1074
1073
|
# @option options [String] :server_side_encryption
|
1075
1074
|
# The server-side encryption algorithm used when storing this object in
|
1076
|
-
# Amazon S3 (for example, AES256
|
1075
|
+
# Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
|
1077
1076
|
# @option options [String] :storage_class
|
1078
1077
|
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
|
1079
1078
|
# created objects. The STANDARD storage class provides high durability
|
@@ -1124,15 +1123,15 @@ module Aws::S3
|
|
1124
1123
|
# RFC 1321. Amazon S3 uses this header for a message integrity check to
|
1125
1124
|
# ensure that the encryption key was transmitted without error.
|
1126
1125
|
# @option options [String] :ssekms_key_id
|
1127
|
-
# If `x-amz-server-side-encryption` has a valid value of `aws:kms
|
1128
|
-
# header specifies the ID of the
|
1129
|
-
# Service (
|
1130
|
-
#
|
1131
|
-
# `x-amz-server-side-encryption:aws:kms`, but do not provide`
|
1126
|
+
# If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
|
1127
|
+
# `aws:kms:dsse`, this header specifies the ID of the Key Management
|
1128
|
+
# Service (KMS) symmetric encryption customer managed key that was used
|
1129
|
+
# for the object. If you specify `x-amz-server-side-encryption:aws:kms`
|
1130
|
+
# or `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide`
|
1132
1131
|
# x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
|
1133
|
-
# Amazon Web Services managed key to protect the data. If the
|
1134
|
-
# does not exist in the same account issuing the
|
1135
|
-
# the full ARN and not just the ID.
|
1132
|
+
# Amazon Web Services managed key (`aws/s3`) to protect the data. If the
|
1133
|
+
# KMS key does not exist in the same account that's issuing the
|
1134
|
+
# command, you must use the full ARN and not just the ID.
|
1136
1135
|
# @option options [String] :ssekms_encryption_context
|
1137
1136
|
# Specifies the Amazon Web Services KMS Encryption Context to use for
|
1138
1137
|
# object encryption. The value of this header is a base64-encoded UTF-8
|
@@ -1142,9 +1141,9 @@ module Aws::S3
|
|
1142
1141
|
# operations on this object.
|
1143
1142
|
# @option options [Boolean] :bucket_key_enabled
|
1144
1143
|
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
|
1145
|
-
# encryption with server-side encryption using
|
1146
|
-
# Setting this header to `true` causes Amazon S3
|
1147
|
-
# for object encryption with SSE-KMS.
|
1144
|
+
# encryption with server-side encryption using Key Management Service
|
1145
|
+
# (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
|
1146
|
+
# to use an S3 Bucket Key for object encryption with SSE-KMS.
|
1148
1147
|
#
|
1149
1148
|
# Specifying this header with a PUT action doesn’t affect bucket-level
|
1150
1149
|
# settings for S3 Bucket Key.
|