@aws-sdk/client-s3 3.315.0 → 3.317.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.
- package/dist-cjs/S3.js +97 -1302
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-es/S3.js +97 -1302
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/S3.d.ts +100 -5179
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +14 -22
- package/dist-types/commands/CopyObjectCommand.d.ts +31 -54
- package/dist-types/commands/CreateBucketCommand.d.ts +14 -22
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +49 -75
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +5 -7
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +3 -4
- package/dist-types/commands/DeleteObjectCommand.d.ts +11 -11
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +4 -2
- package/dist-types/commands/DeleteObjectsCommand.d.ts +14 -13
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -5
- package/dist-types/commands/GetBucketAclCommand.d.ts +7 -9
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +4 -5
- package/dist-types/commands/GetBucketCorsCommand.d.ts +0 -1
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +7 -7
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/GetBucketLocationCommand.d.ts +0 -4
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +6 -5
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +3 -4
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +0 -1
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -2
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +4 -5
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +28 -23
- package/dist-types/commands/GetObjectCommand.d.ts +18 -20
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +5 -5
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +9 -15
- package/dist-types/commands/HeadObjectCommand.d.ts +19 -20
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -4
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -5
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +7 -6
- package/dist-types/commands/ListBucketsCommand.d.ts +32 -3
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -2
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +6 -3
- package/dist-types/commands/ListObjectsV2Command.d.ts +12 -11
- package/dist-types/commands/ListPartsCommand.d.ts +4 -3
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -4
- package/dist-types/commands/PutBucketAclCommand.d.ts +12 -15
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketCorsCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +14 -16
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +8 -7
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +8 -20
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -8
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +7 -11
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +9 -9
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -4
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -2
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +12 -13
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +12 -12
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectAclCommand.d.ts +13 -17
- package/dist-types/commands/PutObjectCommand.d.ts +54 -45
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +8 -7
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -3
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +3 -4
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +69 -50
- package/dist-types/commands/SelectObjectContentCommand.d.ts +17 -13
- package/dist-types/commands/UploadPartCommand.d.ts +16 -23
- package/dist-types/commands/UploadPartCopyCommand.d.ts +5 -7
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +22 -33
- package/dist-types/models/models_0.d.ts +363 -426
- package/dist-types/models/models_1.d.ts +76 -81
- package/dist-types/ts3.4/S3.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +6 -6
|
@@ -24,18 +24,16 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
24
24
|
* permission to set the ACL of an object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#permissions">What
|
|
25
25
|
* permissions can I grant?</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
26
26
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
27
|
-
* <p>Depending on your application needs, you can choose to set
|
|
28
|
-
* either the request body or the headers. For example, if you have
|
|
29
|
-
* that updates a bucket ACL using the request body, you can continue
|
|
30
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a>
|
|
31
|
-
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
27
|
+
* <p>Depending on your application needs, you can choose to set
|
|
28
|
+
* the ACL on an object using either the request body or the headers. For example, if you have
|
|
29
|
+
* an existing application that updates a bucket ACL using the request body, you can continue
|
|
30
|
+
* to use that approach. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL) Overview</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
32
31
|
* <important>
|
|
33
|
-
* <p>If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* ownership</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
32
|
+
* <p>If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions.
|
|
33
|
+
* You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and
|
|
34
|
+
* return the <code>AccessControlListNotSupported</code> error code. Requests to read ACLs are still supported.
|
|
35
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Controlling object ownership</a>
|
|
36
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
39
37
|
* </important>
|
|
40
38
|
* <p>
|
|
41
39
|
* <b>Access Permissions</b>
|
|
@@ -47,8 +45,7 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
47
45
|
* a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set
|
|
48
46
|
* of grantees and permissions. Specify the canned ACL name as the value of
|
|
49
47
|
* <code>x-amz-ac</code>l. If you use this header, you cannot use other access
|
|
50
|
-
* control-specific headers in your request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned
|
|
51
|
-
* ACL</a>.</p>
|
|
48
|
+
* control-specific headers in your request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL">Canned ACL</a>.</p>
|
|
52
49
|
* </li>
|
|
53
50
|
* <li>
|
|
54
51
|
* <p>Specify access permissions explicitly with the <code>x-amz-grant-read</code>,
|
|
@@ -57,15 +54,14 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
57
54
|
* specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who
|
|
58
55
|
* will receive the permission. If you use these ACL-specific headers, you cannot use
|
|
59
56
|
* <code>x-amz-acl</code> header to set a canned ACL. These parameters map to the set
|
|
60
|
-
* of permissions that Amazon S3 supports in an ACL. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control
|
|
61
|
-
*
|
|
57
|
+
* of permissions that Amazon S3 supports in an ACL. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List (ACL)
|
|
58
|
+
* Overview</a>.</p>
|
|
62
59
|
* <p>You specify each grantee as a type=value pair, where the type is one of the
|
|
63
60
|
* following:</p>
|
|
64
61
|
* <ul>
|
|
65
62
|
* <li>
|
|
66
63
|
* <p>
|
|
67
|
-
* <code>id</code> – if the value specified is the canonical user ID of an
|
|
68
|
-
* Amazon Web Services account</p>
|
|
64
|
+
* <code>id</code> – if the value specified is the canonical user ID of an Amazon Web Services account</p>
|
|
69
65
|
* </li>
|
|
70
66
|
* <li>
|
|
71
67
|
* <p>
|
|
@@ -31,16 +31,12 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
31
31
|
* @public
|
|
32
32
|
* <p>Adds an object to a bucket. You must have WRITE permissions on a bucket to add an object
|
|
33
33
|
* to it.</p>
|
|
34
|
-
* <
|
|
35
|
-
*
|
|
36
|
-
* entire object to the bucket. You cannot use <code>PutObject</code> to only update a
|
|
37
|
-
* single piece of metadata for an existing object. You must put the entire object with
|
|
38
|
-
* updated metadata if you want to update some values.</p>
|
|
39
|
-
* </note>
|
|
34
|
+
* <p>Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the
|
|
35
|
+
* entire object to the bucket.</p>
|
|
40
36
|
* <p>Amazon S3 is a distributed system. If it receives multiple write requests for the same object
|
|
41
|
-
* simultaneously, it overwrites all but the last object written.
|
|
42
|
-
*
|
|
43
|
-
*
|
|
37
|
+
* simultaneously, it overwrites all but the last object written. Amazon S3 does not provide object
|
|
38
|
+
* locking; if you need this, make sure to build it into your application layer or use
|
|
39
|
+
* versioning instead.</p>
|
|
44
40
|
* <p>To ensure that data is not corrupted traversing the network, use the
|
|
45
41
|
* <code>Content-MD5</code> header. When you use this header, Amazon S3 checks the object
|
|
46
42
|
* against the provided MD5 value and, if they do not match, returns an error. Additionally,
|
|
@@ -50,63 +46,76 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
50
46
|
* <ul>
|
|
51
47
|
* <li>
|
|
52
48
|
* <p>To successfully complete the <code>PutObject</code> request, you must have the
|
|
53
|
-
*
|
|
49
|
+
* <code>s3:PutObject</code> in your IAM permissions.</p>
|
|
54
50
|
* </li>
|
|
55
51
|
* <li>
|
|
56
52
|
* <p>To successfully change the objects acl of your <code>PutObject</code> request,
|
|
57
|
-
*
|
|
58
|
-
* </li>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>To successfully set the tag-set with your <code>PutObject</code> request, you
|
|
61
|
-
* must have the <code>s3:PutObjectTagging</code> in your IAM permissions.</p>
|
|
53
|
+
* you must have the <code>s3:PutObjectAcl</code> in your IAM permissions.</p>
|
|
62
54
|
* </li>
|
|
63
55
|
* <li>
|
|
64
|
-
* <p> The <code>Content-MD5</code> header is required for any request to upload an
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
56
|
+
* <p> The <code>Content-MD5</code> header is required for any request to upload an object
|
|
57
|
+
* with a retention period configured using Amazon S3 Object Lock. For more information about
|
|
58
|
+
* Amazon S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html">Amazon S3 Object Lock Overview</a>
|
|
59
|
+
* in the <i>Amazon S3 User Guide</i>. </p>
|
|
68
60
|
* </li>
|
|
69
61
|
* </ul>
|
|
70
62
|
* </note>
|
|
71
|
-
* <p>
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
63
|
+
* <p>
|
|
64
|
+
* <b>Server-side Encryption</b>
|
|
65
|
+
* </p>
|
|
66
|
+
* <p>You can optionally request server-side encryption. With server-side encryption, Amazon S3 encrypts
|
|
67
|
+
* your data as it writes it to disks in its data centers and decrypts the data
|
|
68
|
+
* when you access it. You have the option to provide your own encryption key or use Amazon Web Services
|
|
69
|
+
* managed encryption keys (SSE-S3 or SSE-KMS). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Using Server-Side
|
|
70
|
+
* Encryption</a>.</p>
|
|
71
|
+
* <p>If you request server-side encryption using Amazon Web Services Key Management Service (SSE-KMS), you can enable
|
|
72
|
+
* an S3 Bucket Key at the object-level. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket Keys</a> in the
|
|
73
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
74
|
+
* <p>
|
|
75
|
+
* <b>Access Control List (ACL)-Specific Request
|
|
76
|
+
* Headers</b>
|
|
77
|
+
* </p>
|
|
78
|
+
* <p>You can use headers to grant ACL- based permissions. By default, all objects are
|
|
79
|
+
* private. Only the owner has full access control. When adding a new object, you can grant
|
|
80
|
+
* permissions to individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These
|
|
81
|
+
* permissions are then added to the ACL on the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html">Access Control List
|
|
82
|
+
* (ACL) Overview</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-using-rest-api.html">Managing ACLs Using the REST
|
|
83
|
+
* API</a>. </p>
|
|
84
84
|
* <p>If the bucket that you're uploading objects to uses the bucket owner enforced setting
|
|
85
85
|
* for S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that
|
|
86
86
|
* use this setting only accept PUT requests that don't specify an ACL or PUT requests that
|
|
87
|
-
* specify bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code>
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* <code>400</code> error with the error code
|
|
91
|
-
*
|
|
92
|
-
*
|
|
87
|
+
* specify bucket owner full control ACLs, such as the <code>bucket-owner-full-control</code> canned
|
|
88
|
+
* ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that contain other
|
|
89
|
+
* ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a
|
|
90
|
+
* <code>400</code> error with the error code
|
|
91
|
+
* <code>AccessControlListNotSupported</code>.</p>
|
|
92
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html"> Controlling ownership of
|
|
93
|
+
* objects and disabling ACLs</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
93
94
|
* <note>
|
|
94
|
-
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership,
|
|
95
|
-
* objects written to the bucket by any account will be owned by the bucket owner.</p>
|
|
95
|
+
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership,
|
|
96
|
+
* all objects written to the bucket by any account will be owned by the bucket owner.</p>
|
|
96
97
|
* </note>
|
|
98
|
+
* <p>
|
|
99
|
+
* <b>Storage Class Options</b>
|
|
100
|
+
* </p>
|
|
97
101
|
* <p>By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The
|
|
98
102
|
* STANDARD storage class provides high durability and high availability. Depending on
|
|
99
103
|
* performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses
|
|
100
104
|
* the OUTPOSTS Storage Class. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage Classes</a> in the
|
|
101
|
-
*
|
|
105
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
106
|
+
* <p>
|
|
107
|
+
* <b>Versioning</b>
|
|
108
|
+
* </p>
|
|
102
109
|
* <p>If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID
|
|
103
110
|
* for the object being stored. Amazon S3 returns this ID in the response. When you enable
|
|
104
111
|
* versioning for a bucket, if Amazon S3 receives multiple write requests for the same object
|
|
105
|
-
* simultaneously, it stores all of the objects
|
|
106
|
-
*
|
|
112
|
+
* simultaneously, it stores all of the objects.</p>
|
|
113
|
+
* <p>For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html">Adding Objects to
|
|
107
114
|
* Versioning Enabled Buckets</a>. For information about returning the versioning state
|
|
108
115
|
* of a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a>. </p>
|
|
109
|
-
* <p
|
|
116
|
+
* <p class="title">
|
|
117
|
+
* <b>Related Resources</b>
|
|
118
|
+
* </p>
|
|
110
119
|
* <ul>
|
|
111
120
|
* <li>
|
|
112
121
|
* <p>
|
|
@@ -151,7 +160,7 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
151
160
|
* "<keys>": "STRING_VALUE",
|
|
152
161
|
* },
|
|
153
162
|
* ServerSideEncryption: "AES256" || "aws:kms",
|
|
154
|
-
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR",
|
|
163
|
+
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
155
164
|
* WebsiteRedirectLocation: "STRING_VALUE",
|
|
156
165
|
* SSECustomerAlgorithm: "STRING_VALUE",
|
|
157
166
|
* SSECustomerKey: "STRING_VALUE",
|
|
@@ -21,21 +21,22 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo
|
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Places an Object Lock configuration on the specified bucket. The rule specified in the
|
|
23
23
|
* Object Lock configuration will be applied by default to every new object placed in the
|
|
24
|
-
* specified bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.
|
|
24
|
+
* specified bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.
|
|
25
|
+
* </p>
|
|
25
26
|
* <note>
|
|
26
27
|
* <ul>
|
|
27
28
|
* <li>
|
|
28
29
|
* <p>The <code>DefaultRetention</code> settings require both a mode and a
|
|
29
|
-
*
|
|
30
|
+
* period.</p>
|
|
30
31
|
* </li>
|
|
31
32
|
* <li>
|
|
32
|
-
* <p>The <code>DefaultRetention</code> period can be either <code>Days</code>
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* <p>The <code>DefaultRetention</code> period can be either <code>Days</code>
|
|
34
|
+
* or <code>Years</code> but you must select one. You cannot specify <code>Days</code>
|
|
35
|
+
* and <code>Years</code> at the same time.</p>
|
|
35
36
|
* </li>
|
|
36
37
|
* <li>
|
|
37
|
-
* <p>You can only enable Object Lock for new buckets. If you want to turn on
|
|
38
|
-
*
|
|
38
|
+
* <p>You can only enable Object Lock for new buckets. If you want to turn on
|
|
39
|
+
* Object Lock for an existing bucket, contact Amazon Web Services Support.</p>
|
|
39
40
|
* </li>
|
|
40
41
|
* </ul>
|
|
41
42
|
* </note>
|
|
@@ -20,9 +20,10 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Places an Object Retention configuration on an object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* Users or accounts require the <code>s3:PutObjectRetention</code> permission in order to place
|
|
24
|
+
* an Object Retention configuration on objects. Bypassing a Governance Retention configuration
|
|
25
|
+
* requires the <code>s3:BypassGovernanceRetention</code> permission.
|
|
26
|
+
* </p>
|
|
26
27
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -46,8 +46,7 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
|
|
|
46
46
|
* <li>
|
|
47
47
|
* <p>
|
|
48
48
|
* <i>Cause: The tag provided was not a valid tag. This error can occur
|
|
49
|
-
* if the tag did not pass input validation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html">Object
|
|
50
|
-
* Tagging</a>.</i>
|
|
49
|
+
* if the tag did not pass input validation. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html">Object Tagging</a>.</i>
|
|
51
50
|
* </p>
|
|
52
51
|
* </li>
|
|
53
52
|
* </ul>
|
|
@@ -75,8 +74,8 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
|
|
|
75
74
|
* </li>
|
|
76
75
|
* <li>
|
|
77
76
|
* <p>
|
|
78
|
-
* <i>Cause: A conflicting conditional action is currently in
|
|
79
|
-
* against this resource. Please try again.</i>
|
|
77
|
+
* <i>Cause: A conflicting conditional action is currently in
|
|
78
|
+
* progress against this resource. Please try again.</i>
|
|
80
79
|
* </p>
|
|
81
80
|
* </li>
|
|
82
81
|
* </ul>
|
|
@@ -22,7 +22,7 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
* <p>Creates or modifies the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket.
|
|
23
23
|
* To use this operation, you must have the <code>s3:PutBucketPublicAccessBlock</code>
|
|
24
24
|
* permission. For more information about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a
|
|
25
|
-
*
|
|
25
|
+
* Policy</a>.</p>
|
|
26
26
|
* <important>
|
|
27
27
|
* <p>When Amazon S3 evaluates the <code>PublicAccessBlock</code> configuration for a bucket or
|
|
28
28
|
* an object, it checks the <code>PublicAccessBlock</code> configuration for both the
|
|
@@ -34,13 +34,27 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
34
34
|
* </ul>
|
|
35
35
|
* <p>To use this operation, you must have permissions to perform the
|
|
36
36
|
* <code>s3:RestoreObject</code> action. The bucket owner has this permission by default
|
|
37
|
-
* and can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
37
|
+
* and can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to Your Amazon S3
|
|
38
|
+
* Resources</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
39
|
+
* <p>
|
|
40
|
+
* <b>Querying Archives with Select Requests</b>
|
|
41
|
+
* </p>
|
|
42
|
+
* <p>You use a select type of request to perform SQL queries on archived objects. The
|
|
43
|
+
* archived objects that are being queried by the select request must be formatted as
|
|
44
|
+
* uncompressed comma-separated values (CSV) files. You can run queries and custom analytics
|
|
45
|
+
* on your archived data without having to restore your data to a hotter Amazon S3 tier. For an
|
|
46
|
+
* overview about select requests, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/querying-glacier-archives.html">Querying Archived Objects</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
47
|
+
* <p>When making a select request, do the following:</p>
|
|
42
48
|
* <ul>
|
|
43
49
|
* <li>
|
|
50
|
+
* <p>Define an output location for the select query's output. This must be an Amazon S3
|
|
51
|
+
* bucket in the same Amazon Web Services Region as the bucket that contains the archive object that is
|
|
52
|
+
* being queried. The Amazon Web Services account that initiates the job must have permissions to write
|
|
53
|
+
* to the S3 bucket. You can specify the storage class and encryption for the output
|
|
54
|
+
* objects stored in the bucket. For more information about output, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/querying-glacier-archives.html">Querying Archived Objects</a>
|
|
55
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
56
|
+
* <p>For more information about the <code>S3</code> structure in the request body, see
|
|
57
|
+
* the following:</p>
|
|
44
58
|
* <ul>
|
|
45
59
|
* <li>
|
|
46
60
|
* <p>
|
|
@@ -49,8 +63,8 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
49
63
|
* </li>
|
|
50
64
|
* <li>
|
|
51
65
|
* <p>
|
|
52
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html">Managing Access with
|
|
53
|
-
* <i>Amazon S3 User Guide</i>
|
|
66
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html">Managing Access with
|
|
67
|
+
* ACLs</a> in the <i>Amazon S3 User Guide</i>
|
|
54
68
|
* </p>
|
|
55
69
|
* </li>
|
|
56
70
|
* <li>
|
|
@@ -94,6 +108,8 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
94
108
|
* </ul>
|
|
95
109
|
* </li>
|
|
96
110
|
* </ul>
|
|
111
|
+
* <p>For more information about using SQL with S3 Glacier Select restore, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference.html">SQL Reference for Amazon S3 Select and
|
|
112
|
+
* S3 Glacier Select</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
97
113
|
* <p>When making a select request, you can also do the following:</p>
|
|
98
114
|
* <ul>
|
|
99
115
|
* <li>
|
|
@@ -113,7 +129,7 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
113
129
|
* </li>
|
|
114
130
|
* <li>
|
|
115
131
|
* <p>You can issue more than one select request on the same Amazon S3 object. Amazon S3 doesn't
|
|
116
|
-
*
|
|
132
|
+
* deduplicate requests, so avoid issuing duplicate requests.</p>
|
|
117
133
|
* </li>
|
|
118
134
|
* <li>
|
|
119
135
|
* <p> Amazon S3 accepts a select request even if the object has already been restored. A
|
|
@@ -123,69 +139,65 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
123
139
|
* <p>
|
|
124
140
|
* <b>Restoring objects</b>
|
|
125
141
|
* </p>
|
|
126
|
-
* <p>Objects that you archive to the S3 Glacier
|
|
142
|
+
* <p>Objects that you archive to the S3 Glacier or
|
|
127
143
|
* S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or
|
|
128
|
-
* S3 Intelligent-Tiering Deep Archive tiers
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
* initiate a restore request, and then wait until the object is moved into the Frequent
|
|
136
|
-
* Access tier.</p>
|
|
144
|
+
* S3 Intelligent-Tiering Deep Archive tiers are not accessible in real time. For objects in
|
|
145
|
+
* Archive Access or Deep Archive Access tiers you must first initiate a restore request, and
|
|
146
|
+
* then wait until the object is moved into the Frequent Access tier. For objects in
|
|
147
|
+
* S3 Glacier or S3 Glacier Deep Archive storage classes you must
|
|
148
|
+
* first initiate a restore request, and then wait until a temporary copy of the object is
|
|
149
|
+
* available. To access an archived object, you must restore the object for the duration
|
|
150
|
+
* (number of days) that you specify.</p>
|
|
137
151
|
* <p>To restore a specific object version, you can provide a version ID. If you don't provide
|
|
138
152
|
* a version ID, Amazon S3 restores the current version.</p>
|
|
139
|
-
* <p>When restoring an archived object, you can specify one of
|
|
140
|
-
* options in the <code>Tier</code> element of the request
|
|
153
|
+
* <p>When restoring an archived object (or using a select request), you can specify one of
|
|
154
|
+
* the following data access tier options in the <code>Tier</code> element of the request
|
|
155
|
+
* body: </p>
|
|
141
156
|
* <ul>
|
|
142
157
|
* <li>
|
|
143
158
|
* <p>
|
|
144
159
|
* <code>Expedited</code> - Expedited retrievals allow you to quickly access your
|
|
145
|
-
* data stored in the S3 Glacier
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
* S3 Intelligent-Tiering Deep Archive tier.</p>
|
|
160
|
+
* data stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive
|
|
161
|
+
* tier when occasional urgent requests for a subset of archives are required. For all
|
|
162
|
+
* but the largest archived objects (250 MB+), data accessed using Expedited retrievals
|
|
163
|
+
* is typically made available within 1–5 minutes. Provisioned capacity ensures that
|
|
164
|
+
* retrieval capacity for Expedited retrievals is available when you need it. Expedited
|
|
165
|
+
* retrievals and provisioned capacity are not available for objects stored in the
|
|
166
|
+
* S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.</p>
|
|
153
167
|
* </li>
|
|
154
168
|
* <li>
|
|
155
169
|
* <p>
|
|
156
170
|
* <code>Standard</code> - Standard retrievals allow you to access any of your
|
|
157
171
|
* archived objects within several hours. This is the default option for retrieval
|
|
158
172
|
* requests that do not specify the retrieval option. Standard retrievals typically
|
|
159
|
-
* finish within 3–5 hours for objects stored in the S3 Glacier
|
|
160
|
-
*
|
|
161
|
-
*
|
|
173
|
+
* finish within 3–5 hours for objects stored in the S3 Glacier storage
|
|
174
|
+
* class or S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for
|
|
175
|
+
* objects stored in the S3 Glacier Deep Archive storage class or
|
|
162
176
|
* S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in
|
|
163
177
|
* S3 Intelligent-Tiering.</p>
|
|
164
178
|
* </li>
|
|
165
179
|
* <li>
|
|
166
180
|
* <p>
|
|
167
|
-
* <code>Bulk</code> - Bulk retrievals
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* stored in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive
|
|
175
|
-
* tier. </p>
|
|
181
|
+
* <code>Bulk</code> - Bulk retrievals are the lowest-cost retrieval option in
|
|
182
|
+
* S3 Glacier, enabling you to retrieve large amounts, even petabytes, of data
|
|
183
|
+
* inexpensively. Bulk retrievals typically finish within 5–12 hours for objects stored
|
|
184
|
+
* in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. They
|
|
185
|
+
* typically finish within 48 hours for objects stored in the
|
|
186
|
+
* S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Bulk
|
|
187
|
+
* retrievals are free for objects stored in S3 Intelligent-Tiering.</p>
|
|
176
188
|
* </li>
|
|
177
189
|
* </ul>
|
|
178
190
|
* <p>For more information about archive retrieval options and provisioned capacity for
|
|
179
|
-
* <code>Expedited</code> data access, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring Archived Objects</a> in
|
|
180
|
-
* the <i>Amazon S3 User Guide</i>. </p>
|
|
191
|
+
* <code>Expedited</code> data access, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html">Restoring Archived Objects</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
181
192
|
* <p>You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed
|
|
182
|
-
* while it is in progress. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html#restoring-objects-upgrade-tier.title.html">
|
|
193
|
+
* while it is in progress. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html#restoring-objects-upgrade-tier.title.html">
|
|
194
|
+
* Upgrading the speed of an in-progress restore</a> in the
|
|
183
195
|
* <i>Amazon S3 User Guide</i>. </p>
|
|
184
196
|
* <p>To get the status of object restoration, you can send a <code>HEAD</code> request.
|
|
185
197
|
* Operations return the <code>x-amz-restore</code> header, which provides information about
|
|
186
198
|
* the restoration status, in the response. You can use Amazon S3 event notifications to notify you
|
|
187
|
-
* when a restore is initiated or completed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring Amazon S3
|
|
188
|
-
*
|
|
199
|
+
* when a restore is initiated or completed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring Amazon S3 Event Notifications</a> in
|
|
200
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
189
201
|
* <p>After restoring an archived object, you can update the restoration period by reissuing
|
|
190
202
|
* the request with a new period. Amazon S3 updates the restoration period relative to the current
|
|
191
203
|
* time and charges only for the request-there are no data transfer charges. You cannot
|
|
@@ -195,13 +207,13 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
195
207
|
* action, the object expiration overrides the life span that you specify in a restore
|
|
196
208
|
* request. For example, if you restore an object copy for 10 days, but the object is
|
|
197
209
|
* scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information
|
|
198
|
-
* about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object Lifecycle Management</a>
|
|
199
|
-
*
|
|
210
|
+
* about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object Lifecycle Management</a> in
|
|
211
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
200
212
|
* <p>
|
|
201
213
|
* <b>Responses</b>
|
|
202
214
|
* </p>
|
|
203
|
-
* <p>A successful action returns either the <code>200 OK</code> or <code>202
|
|
204
|
-
*
|
|
215
|
+
* <p>A successful action returns either the <code>200 OK</code> or <code>202
|
|
216
|
+
* Accepted</code> status code. </p>
|
|
205
217
|
* <ul>
|
|
206
218
|
* <li>
|
|
207
219
|
* <p>If the object is not previously restored, then Amazon S3 returns <code>202
|
|
@@ -283,6 +295,13 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
283
295
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketNotificationConfiguration.html">GetBucketNotificationConfiguration</a>
|
|
284
296
|
* </p>
|
|
285
297
|
* </li>
|
|
298
|
+
* <li>
|
|
299
|
+
* <p>
|
|
300
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference.html">SQL Reference for
|
|
301
|
+
* Amazon S3 Select and S3 Glacier Select </a> in the
|
|
302
|
+
* <i>Amazon S3 User Guide</i>
|
|
303
|
+
* </p>
|
|
304
|
+
* </li>
|
|
286
305
|
* </ul>
|
|
287
306
|
* @example
|
|
288
307
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -370,7 +389,7 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
370
389
|
* Value: "STRING_VALUE",
|
|
371
390
|
* },
|
|
372
391
|
* ],
|
|
373
|
-
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR",
|
|
392
|
+
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
374
393
|
* },
|
|
375
394
|
* },
|
|
376
395
|
* },
|
|
@@ -26,16 +26,19 @@ export interface SelectObjectContentCommandOutput extends SelectObjectContentOut
|
|
|
26
26
|
* specified SQL expression. You must also specify the data serialization format for the
|
|
27
27
|
* response.</p>
|
|
28
28
|
* <p>This action is not supported by Amazon S3 on Outposts.</p>
|
|
29
|
-
* <p>For more information about Amazon S3 Select,
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* <p>For more information about Amazon S3 Select,
|
|
30
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/selecting-content-from-objects.html">Selecting Content from
|
|
31
|
+
* Objects</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-glacier-select-sql-reference-select.html">SELECT
|
|
32
|
+
* Command</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
33
|
+
* <p>For more information about using SQL with Amazon S3 Select, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference.html"> SQL Reference for Amazon S3 Select
|
|
34
|
+
* and S3 Glacier Select</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
32
35
|
* <p></p>
|
|
33
36
|
* <p>
|
|
34
37
|
* <b>Permissions</b>
|
|
35
38
|
* </p>
|
|
36
39
|
* <p>You must have <code>s3:GetObject</code> permission for this operation. Amazon S3 Select does
|
|
37
|
-
* not support anonymous access. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying
|
|
38
|
-
*
|
|
40
|
+
* not support anonymous access. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a Policy</a>
|
|
41
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
39
42
|
* <p></p>
|
|
40
43
|
* <p>
|
|
41
44
|
* <i>Object Data Formats</i>
|
|
@@ -66,13 +69,14 @@ export interface SelectObjectContentCommandOutput extends SelectObjectContentOut
|
|
|
66
69
|
* <i>Server-side encryption</i> - Amazon S3 Select supports querying
|
|
67
70
|
* objects that are protected with server-side encryption.</p>
|
|
68
71
|
* <p>For objects that are encrypted with customer-provided encryption keys (SSE-C), you
|
|
69
|
-
* must use HTTPS, and you must use the headers that are documented in the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>. For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side
|
|
70
|
-
*
|
|
72
|
+
* must use HTTPS, and you must use the headers that are documented in the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a>. For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
|
|
73
|
+
* (Using Customer-Provided Encryption Keys)</a> in the
|
|
71
74
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
72
|
-
* <p>For objects that are encrypted with Amazon S3 managed keys (SSE-S3) and
|
|
73
|
-
* (SSE-KMS),
|
|
74
|
-
*
|
|
75
|
-
*
|
|
75
|
+
* <p>For objects that are encrypted with Amazon S3 managed encryption keys (SSE-S3) and
|
|
76
|
+
* Amazon Web Services KMS keys (SSE-KMS),
|
|
77
|
+
* server-side encryption is handled transparently, so you don't need to specify
|
|
78
|
+
* anything. For more information about server-side encryption, including SSE-S3 and
|
|
79
|
+
* SSE-KMS, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html">Protecting Data Using
|
|
76
80
|
* Server-Side Encryption</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
77
81
|
* </li>
|
|
78
82
|
* </ul>
|
|
@@ -99,8 +103,8 @@ export interface SelectObjectContentCommandOutput extends SelectObjectContentOut
|
|
|
99
103
|
* <li>
|
|
100
104
|
* <p>GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You cannot specify
|
|
101
105
|
* the GLACIER, DEEP_ARCHIVE, or <code>REDUCED_REDUNDANCY</code> storage classes. For
|
|
102
|
-
* more information, about storage classes see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#storage-class-intro">Storage
|
|
103
|
-
*
|
|
106
|
+
* more information, about storage classes see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#storage-class-intro">Storage Classes</a>
|
|
107
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
104
108
|
* </li>
|
|
105
109
|
* </ul>
|
|
106
110
|
* <p></p>
|