@aws-sdk/client-s3 3.844.0 → 3.845.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/README.md +40 -0
- package/dist-cjs/index.js +594 -121
- package/dist-es/S3.js +10 -0
- package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
- package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
- package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
- package/dist-es/commands/ListPartsCommand.js +1 -1
- package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
- package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +16 -24
- package/dist-es/models/models_1.js +24 -0
- package/dist-es/protocols/Aws_restXml.js +325 -3
- package/dist-types/S3.d.ts +35 -0
- package/dist-types/S3Client.d.ts +7 -2
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +46 -57
- package/dist-types/commands/CopyObjectCommand.d.ts +95 -106
- package/dist-types/commands/CreateBucketCommand.d.ts +70 -82
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
- package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +88 -113
- package/dist-types/commands/CreateSessionCommand.d.ts +45 -50
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
- package/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
- package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
- package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
- package/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
- package/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
- package/dist-types/commands/GetBucketAclCommand.d.ts +9 -11
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
- package/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +16 -19
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
- package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
- package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +9 -8
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -12
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
- package/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +55 -70
- package/dist-types/commands/GetObjectCommand.d.ts +66 -81
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
- package/dist-types/commands/HeadBucketCommand.d.ts +33 -35
- package/dist-types/commands/HeadObjectCommand.d.ts +50 -62
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
- package/dist-types/commands/ListBucketsCommand.d.ts +10 -9
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +9 -9
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +41 -49
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +7 -9
- package/dist-types/commands/ListObjectsCommand.d.ts +8 -7
- package/dist-types/commands/ListObjectsV2Command.d.ts +28 -31
- package/dist-types/commands/ListPartsCommand.d.ts +21 -24
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
- package/dist-types/commands/PutBucketAclCommand.d.ts +51 -62
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
- package/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +40 -48
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -12
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +26 -33
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +31 -38
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
- package/dist-types/commands/PutObjectAclCommand.d.ts +53 -61
- package/dist-types/commands/PutObjectCommand.d.ts +56 -66
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
- package/dist-types/commands/RenameObjectCommand.d.ts +34 -40
- package/dist-types/commands/RestoreObjectCommand.d.ts +76 -85
- package/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
- package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
- package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
- package/dist-types/commands/UploadPartCommand.d.ts +64 -74
- package/dist-types/commands/UploadPartCopyCommand.d.ts +80 -96
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +29 -33
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +2688 -3603
- package/dist-types/models/models_1.d.ts +2120 -743
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/S3.d.ts +109 -0
- package/dist-types/ts3.4/S3Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -206
- package/dist-types/ts3.4/models/models_1.d.ts +238 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +15 -15
|
@@ -27,20 +27,17 @@ declare const HeadObjectCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>The <code>HEAD</code> operation retrieves metadata from an object without returning the
|
|
31
|
-
*
|
|
32
|
-
* metadata.</p>
|
|
30
|
+
* <p>The <code>HEAD</code> operation retrieves metadata from an object without returning the object
|
|
31
|
+
* itself. This operation is useful if you're interested only in an object's metadata.</p>
|
|
33
32
|
* <note>
|
|
34
|
-
* <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* possible to retrieve the exact exception of these error codes.</p>
|
|
33
|
+
* <p>A <code>HEAD</code> request has the same options as a <code>GET</code> operation on an object. The
|
|
34
|
+
* response is identical to the <code>GET</code> response except that there is no response body. Because
|
|
35
|
+
* of this, if the <code>HEAD</code> request generates an error, it returns a generic code, such as
|
|
36
|
+
* <code>400 Bad Request</code>, <code>403 Forbidden</code>, <code>404 Not Found</code>, <code>405
|
|
37
|
+
* Method Not Allowed</code>, <code>412 Precondition Failed</code>, or <code>304 Not Modified</code>.
|
|
38
|
+
* It's not possible to retrieve the exact exception of these error codes.</p>
|
|
41
39
|
* </note>
|
|
42
|
-
* <p>Request headers are limited to 8 KB in size. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html">Common
|
|
43
|
-
* Request Headers</a>.</p>
|
|
40
|
+
* <p>Request headers are limited to 8 KB in size. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html">Common Request Headers</a>.</p>
|
|
44
41
|
* <dl>
|
|
45
42
|
* <dt>Permissions</dt>
|
|
46
43
|
* <dd>
|
|
@@ -48,26 +45,23 @@ declare const HeadObjectCommand_base: {
|
|
|
48
45
|
* <ul>
|
|
49
46
|
* <li>
|
|
50
47
|
* <p>
|
|
51
|
-
* <b>General purpose bucket permissions</b> - To
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* depends on whether you also have the <code>s3:ListBucket</code>
|
|
61
|
-
* permission.</p>
|
|
48
|
+
* <b>General purpose bucket permissions</b> - To use
|
|
49
|
+
* <code>HEAD</code>, you must have the <code>s3:GetObject</code> permission. You need the
|
|
50
|
+
* relevant read object (or version) permission for this operation. For more information, see
|
|
51
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html">Actions, resources,
|
|
52
|
+
* and condition keys for Amazon S3</a> in the <i>Amazon S3 User Guide</i>. For more
|
|
53
|
+
* information about the permissions to S3 API operations by S3 resource types, see <a href="/AmazonS3/latest/userguide/using-with-s3-policy-actions.html">Required permissions for
|
|
54
|
+
* Amazon S3 API operations</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
55
|
+
* <p>If the object you request doesn't exist, the error that Amazon S3 returns depends on whether
|
|
56
|
+
* you also have the <code>s3:ListBucket</code> permission.</p>
|
|
62
57
|
* <ul>
|
|
63
58
|
* <li>
|
|
64
|
-
* <p>If you have the <code>s3:ListBucket</code> permission on the
|
|
65
|
-
*
|
|
66
|
-
* error.</p>
|
|
59
|
+
* <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3 returns an
|
|
60
|
+
* HTTP status code <code>404 Not Found</code> error.</p>
|
|
67
61
|
* </li>
|
|
68
62
|
* <li>
|
|
69
|
-
* <p>If you don’t have the <code>s3:ListBucket</code> permission, Amazon S3
|
|
70
|
-
*
|
|
63
|
+
* <p>If you don’t have the <code>s3:ListBucket</code> permission, Amazon S3 returns an HTTP
|
|
64
|
+
* status code <code>403 Forbidden</code> error.</p>
|
|
71
65
|
* </li>
|
|
72
66
|
* </ul>
|
|
73
67
|
* </li>
|
|
@@ -79,34 +73,31 @@ declare const HeadObjectCommand_base: {
|
|
|
79
73
|
* Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
80
74
|
* <code>CreateSession</code>
|
|
81
75
|
* </a>.</p>
|
|
82
|
-
* <p>If you enable <code>x-amz-checksum-mode</code> in the request and the
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
76
|
+
* <p>If you enable <code>x-amz-checksum-mode</code> in the request and the object is encrypted
|
|
77
|
+
* with Amazon Web Services Key Management Service (Amazon Web Services KMS), you must also have the
|
|
78
|
+
* <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions in IAM
|
|
79
|
+
* identity-based policies and KMS key policies for the KMS key to retrieve the checksum of
|
|
80
|
+
* the object.</p>
|
|
87
81
|
* </li>
|
|
88
82
|
* </ul>
|
|
89
83
|
* </dd>
|
|
90
84
|
* <dt>Encryption</dt>
|
|
91
85
|
* <dd>
|
|
92
86
|
* <note>
|
|
93
|
-
* <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>,
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* error. It's because the encryption method can't be changed when you retrieve
|
|
103
|
-
* the object.</p>
|
|
87
|
+
* <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>, should not be
|
|
88
|
+
* sent for <code>HEAD</code> requests if your object uses server-side encryption with Key Management Service
|
|
89
|
+
* (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or
|
|
90
|
+
* server-side encryption with Amazon S3 managed encryption keys (SSE-S3). The
|
|
91
|
+
* <code>x-amz-server-side-encryption</code> header is used when you <code>PUT</code> an object
|
|
92
|
+
* to S3 and want to specify the encryption method. If you include this header in a
|
|
93
|
+
* <code>HEAD</code> request for an object that uses these types of keys, you’ll get an HTTP
|
|
94
|
+
* <code>400 Bad Request</code> error. It's because the encryption method can't be changed when
|
|
95
|
+
* you retrieve the object.</p>
|
|
104
96
|
* </note>
|
|
105
|
-
* <p>If you encrypt an object by using server-side encryption with customer-provided
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
* headers are: </p>
|
|
97
|
+
* <p>If you encrypt an object by using server-side encryption with customer-provided encryption
|
|
98
|
+
* keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the metadata from the
|
|
99
|
+
* object, you must use the following headers to provide the encryption key for the server to be able
|
|
100
|
+
* to retrieve the object's metadata. The headers are: </p>
|
|
110
101
|
* <ul>
|
|
111
102
|
* <li>
|
|
112
103
|
* <p>
|
|
@@ -124,13 +115,12 @@ declare const HeadObjectCommand_base: {
|
|
|
124
115
|
* </p>
|
|
125
116
|
* </li>
|
|
126
117
|
* </ul>
|
|
127
|
-
* <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side
|
|
128
|
-
*
|
|
129
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
118
|
+
* <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption (Using
|
|
119
|
+
* Customer-Provided Encryption Keys)</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
130
120
|
* <note>
|
|
131
121
|
* <p>
|
|
132
122
|
* <b>Directory bucket </b> -
|
|
133
|
-
*
|
|
123
|
+
* For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more
|
|
134
124
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html">Protecting data with server-side encryption</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
135
125
|
* </note>
|
|
136
126
|
* </dd>
|
|
@@ -138,14 +128,12 @@ declare const HeadObjectCommand_base: {
|
|
|
138
128
|
* <dd>
|
|
139
129
|
* <ul>
|
|
140
130
|
* <li>
|
|
141
|
-
* <p>If the current version of the object is a delete marker, Amazon S3 behaves as
|
|
142
|
-
*
|
|
143
|
-
* true</code> in the response.</p>
|
|
131
|
+
* <p>If the current version of the object is a delete marker, Amazon S3 behaves as if the object was
|
|
132
|
+
* deleted and includes <code>x-amz-delete-marker: true</code> in the response.</p>
|
|
144
133
|
* </li>
|
|
145
134
|
* <li>
|
|
146
|
-
* <p>If the specified version is a delete marker, the response returns a
|
|
147
|
-
*
|
|
148
|
-
* timestamp</code> response header.</p>
|
|
135
|
+
* <p>If the specified version is a delete marker, the response returns a <code>405 Method Not
|
|
136
|
+
* Allowed</code> error and the <code>Last-Modified: timestamp</code> response header.</p>
|
|
149
137
|
* </li>
|
|
150
138
|
* </ul>
|
|
151
139
|
* <note>
|
|
@@ -153,13 +141,13 @@ declare const HeadObjectCommand_base: {
|
|
|
153
141
|
* <li>
|
|
154
142
|
* <p>
|
|
155
143
|
* <b>Directory buckets</b> -
|
|
156
|
-
*
|
|
144
|
+
* Delete marker is not supported for directory buckets.</p>
|
|
157
145
|
* </li>
|
|
158
146
|
* <li>
|
|
159
147
|
* <p>
|
|
160
148
|
* <b>Directory buckets</b> -
|
|
161
|
-
*
|
|
162
|
-
*
|
|
149
|
+
* S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the <code>null</code> value of the version ID is supported by directory buckets. You can only specify <code>null</code> to the
|
|
150
|
+
* <code>versionId</code> query parameter in the request.</p>
|
|
163
151
|
* </li>
|
|
164
152
|
* </ul>
|
|
165
153
|
* </note>
|
|
@@ -30,25 +30,22 @@ declare const ListBucketAnalyticsConfigurationsCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Lists the analytics configurations for the bucket. You can have up to 1,000 analytics
|
|
34
|
-
*
|
|
35
|
-
* <p>This action supports list pagination and does not return more than 100 configurations at
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* page.</p>
|
|
33
|
+
* <p>Lists the analytics configurations for the bucket. You can have up to 1,000 analytics configurations
|
|
34
|
+
* per bucket.</p>
|
|
35
|
+
* <p>This action supports list pagination and does not return more than 100 configurations at a time. You
|
|
36
|
+
* should always check the <code>IsTruncated</code> element in the response. If there are no more
|
|
37
|
+
* configurations to list, <code>IsTruncated</code> is set to false. If there are more configurations to
|
|
38
|
+
* list, <code>IsTruncated</code> is set to true, and there will be a value in
|
|
39
|
+
* <code>NextContinuationToken</code>. You use the <code>NextContinuationToken</code> value to continue
|
|
40
|
+
* the pagination of the list by passing the value in continuation-token in the request to <code>GET</code>
|
|
41
|
+
* the next page.</p>
|
|
43
42
|
* <p>To use this operation, you must have permissions to perform the
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
43
|
+
* <code>s3:GetAnalyticsConfiguration</code> action. The bucket owner has this permission by default. The
|
|
44
|
+
* bucket owner 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
|
|
45
|
+
* Resources</a>.</p>
|
|
48
46
|
* <p>For information about Amazon S3 analytics feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html">Amazon S3 Analytics – Storage Class
|
|
49
|
-
*
|
|
50
|
-
* <p>The following operations are related to
|
|
51
|
-
* <code>ListBucketAnalyticsConfigurations</code>:</p>
|
|
47
|
+
* Analysis</a>. </p>
|
|
48
|
+
* <p>The following operations are related to <code>ListBucketAnalyticsConfigurations</code>:</p>
|
|
52
49
|
* <ul>
|
|
53
50
|
* <li>
|
|
54
51
|
* <p>
|
|
@@ -30,24 +30,21 @@ declare const ListBucketInventoryConfigurationsCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Returns a list of
|
|
34
|
-
*
|
|
35
|
-
* <p>This action supports list pagination and does not return more than 100 configurations at
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* request to <code>GET</code> the next page.</p>
|
|
33
|
+
* <p>Returns a list of S3 Inventory configurations for the bucket. You can have up to 1,000 analytics
|
|
34
|
+
* configurations per bucket.</p>
|
|
35
|
+
* <p>This action supports list pagination and does not return more than 100 configurations at a time.
|
|
36
|
+
* Always check the <code>IsTruncated</code> element in the response. If there are no more configurations
|
|
37
|
+
* to list, <code>IsTruncated</code> is set to false. If there are more configurations to list,
|
|
38
|
+
* <code>IsTruncated</code> is set to true, and there is a value in <code>NextContinuationToken</code>.
|
|
39
|
+
* You use the <code>NextContinuationToken</code> value to continue the pagination of the list by passing
|
|
40
|
+
* the value in continuation-token in the request to <code>GET</code> the next page.</p>
|
|
42
41
|
* <p> To use this operation, you must have permissions to perform the
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* Access Permissions to Your Amazon S3 Resources</a>.</p>
|
|
42
|
+
* <code>s3:GetInventoryConfiguration</code> action. The bucket owner has this permission by default. The
|
|
43
|
+
* bucket owner 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
|
|
44
|
+
* Resources</a>.</p>
|
|
47
45
|
* <p>For information about the Amazon S3 inventory feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html">Amazon S3 Inventory</a>
|
|
48
46
|
* </p>
|
|
49
|
-
* <p>The following operations are related to
|
|
50
|
-
* <code>ListBucketInventoryConfigurations</code>:</p>
|
|
47
|
+
* <p>The following operations are related to <code>ListBucketInventoryConfigurations</code>:</p>
|
|
51
48
|
* <ul>
|
|
52
49
|
* <li>
|
|
53
50
|
* <p>
|
|
@@ -30,25 +30,22 @@ declare const ListBucketMetricsConfigurationsCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Lists the metrics configurations for the bucket. The metrics configurations are only for
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* <p>This action supports list pagination and does not return more than 100 configurations at
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* <code>continuation-token</code> in the request to <code>GET</code> the next page.</p>
|
|
33
|
+
* <p>Lists the metrics configurations for the bucket. The metrics configurations are only for the request
|
|
34
|
+
* metrics of the bucket and do not provide information on daily storage metrics. You can have up to 1,000
|
|
35
|
+
* configurations per bucket.</p>
|
|
36
|
+
* <p>This action supports list pagination and does not return more than 100 configurations at a time.
|
|
37
|
+
* Always check the <code>IsTruncated</code> element in the response. If there are no more configurations
|
|
38
|
+
* to list, <code>IsTruncated</code> is set to false. If there are more configurations to list,
|
|
39
|
+
* <code>IsTruncated</code> is set to true, and there is a value in <code>NextContinuationToken</code>.
|
|
40
|
+
* You use the <code>NextContinuationToken</code> value to continue the pagination of the list by passing
|
|
41
|
+
* the value in <code>continuation-token</code> in the request to <code>GET</code> the next page.</p>
|
|
43
42
|
* <p>To use this operation, you must have permissions to perform the
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* <p>The following operations are related to
|
|
51
|
-
* <code>ListBucketMetricsConfigurations</code>:</p>
|
|
43
|
+
* <code>s3:GetMetricsConfiguration</code> action. The bucket owner has this permission by default. The
|
|
44
|
+
* bucket owner 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
|
|
45
|
+
* Resources</a>.</p>
|
|
46
|
+
* <p>For more information about metrics configurations and CloudWatch request metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html">Monitoring Metrics with
|
|
47
|
+
* Amazon CloudWatch</a>.</p>
|
|
48
|
+
* <p>The following operations are related to <code>ListBucketMetricsConfigurations</code>:</p>
|
|
52
49
|
* <ul>
|
|
53
50
|
* <li>
|
|
54
51
|
* <p>
|
|
@@ -37,16 +37,17 @@ declare const ListBucketsCommand_base: {
|
|
|
37
37
|
* <note>
|
|
38
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
39
39
|
* </note>
|
|
40
|
-
* <p>Returns a list of all buckets owned by the authenticated sender of the request. To grant IAM
|
|
41
|
-
*
|
|
42
|
-
* <p>For information about Amazon S3 buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html">Creating, configuring, and
|
|
43
|
-
*
|
|
40
|
+
* <p>Returns a list of all buckets owned by the authenticated sender of the request. To grant IAM
|
|
41
|
+
* permission to use this operation, you must add the <code>s3:ListAllMyBuckets</code> policy action. </p>
|
|
42
|
+
* <p>For information about Amazon S3 buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/creating-buckets-s3.html">Creating, configuring, and working with Amazon S3
|
|
43
|
+
* buckets</a>.</p>
|
|
44
44
|
* <important>
|
|
45
|
-
* <p>We strongly recommend using only paginated <code>ListBuckets</code> requests. Unpaginated
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
45
|
+
* <p>We strongly recommend using only paginated <code>ListBuckets</code> requests. Unpaginated
|
|
46
|
+
* <code>ListBuckets</code> requests are only supported for Amazon Web Services accounts set to the default general
|
|
47
|
+
* purpose bucket quota of 10,000. If you have an approved general purpose bucket quota above 10,000, you
|
|
48
|
+
* must send paginated <code>ListBuckets</code> requests to list your account’s buckets. All unpaginated
|
|
49
|
+
* <code>ListBuckets</code> requests will be rejected for Amazon Web Services accounts with a general purpose bucket
|
|
50
|
+
* quota greater than 10,000. </p>
|
|
50
51
|
* </important>
|
|
51
52
|
* @example
|
|
52
53
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,8 +27,9 @@ declare const ListDirectoryBucketsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of all Amazon S3 directory buckets owned by the authenticated sender of the
|
|
31
|
-
*
|
|
30
|
+
* <p>Returns a list of all Amazon S3 directory buckets owned by the authenticated sender of the request. For
|
|
31
|
+
* more information about directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Directory buckets</a> in the
|
|
32
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
32
33
|
* <note>
|
|
33
34
|
* <p>
|
|
34
35
|
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
@@ -40,21 +41,20 @@ declare const ListDirectoryBucketsCommand_base: {
|
|
|
40
41
|
* <dl>
|
|
41
42
|
* <dt>Permissions</dt>
|
|
42
43
|
* <dd>
|
|
43
|
-
* <p>You must have the <code>s3express:ListAllMyDirectoryBuckets</code> permission
|
|
44
|
-
*
|
|
45
|
-
*
|
|
44
|
+
* <p>You must have the <code>s3express:ListAllMyDirectoryBuckets</code> permission in
|
|
45
|
+
* an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.
|
|
46
|
+
* For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
46
47
|
* </dd>
|
|
47
48
|
* <dt>HTTP Host header syntax</dt>
|
|
48
49
|
* <dd>
|
|
49
50
|
* <p>
|
|
50
|
-
* <b>Directory buckets </b> - The HTTP Host
|
|
51
|
-
*
|
|
52
|
-
* <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
51
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is
|
|
52
|
+
* <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
53
53
|
* </dd>
|
|
54
54
|
* </dl>
|
|
55
55
|
* <note>
|
|
56
56
|
* <p> The <code>BucketRegion</code> response element is not part of the
|
|
57
|
-
*
|
|
57
|
+
* <code>ListDirectoryBuckets</code> Response Syntax.</p>
|
|
58
58
|
* </note>
|
|
59
59
|
* @example
|
|
60
60
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -34,47 +34,41 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
34
34
|
* <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region,
|
|
35
35
|
* Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
|
|
36
36
|
* </important>
|
|
37
|
-
* <p>This operation lists in-progress multipart uploads in a bucket. An in-progress multipart
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* aborted.</p>
|
|
37
|
+
* <p>This operation lists in-progress multipart uploads in a bucket. An in-progress multipart upload is a
|
|
38
|
+
* multipart upload that has been initiated by the <code>CreateMultipartUpload</code> request, but has not
|
|
39
|
+
* yet been completed or aborted.</p>
|
|
41
40
|
* <note>
|
|
42
41
|
* <p>
|
|
43
|
-
* <b>Directory buckets</b> - If multipart uploads in
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* uploads. </p>
|
|
42
|
+
* <b>Directory buckets</b> - If multipart uploads in a
|
|
43
|
+
* directory bucket are in progress, you can't delete the bucket until all the in-progress multipart
|
|
44
|
+
* uploads are aborted or completed. To delete these in-progress multipart uploads, use the
|
|
45
|
+
* <code>ListMultipartUploads</code> operation to list the in-progress multipart uploads in the bucket
|
|
46
|
+
* and use the <code>AbortMultipartUpload</code> operation to abort all the in-progress multipart
|
|
47
|
+
* uploads. </p>
|
|
50
48
|
* </note>
|
|
51
|
-
* <p>The <code>ListMultipartUploads</code> operation returns a maximum of 1,000 multipart
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* response. Similarly, set the value of <code>upload-id-marker</code> to the
|
|
63
|
-
* <code>NextUploadIdMarker</code> value from the previous response.</p>
|
|
49
|
+
* <p>The <code>ListMultipartUploads</code> operation returns a maximum of 1,000 multipart uploads in the
|
|
50
|
+
* response. The limit of 1,000 multipart uploads is also the default value. You can further limit the
|
|
51
|
+
* number of uploads in a response by specifying the <code>max-uploads</code> request parameter. If there
|
|
52
|
+
* are more than 1,000 multipart uploads that satisfy your <code>ListMultipartUploads</code> request, the
|
|
53
|
+
* response returns an <code>IsTruncated</code> element with the value of <code>true</code>, a
|
|
54
|
+
* <code>NextKeyMarker</code> element, and a <code>NextUploadIdMarker</code> element. To list the
|
|
55
|
+
* remaining multipart uploads, you need to make subsequent <code>ListMultipartUploads</code> requests. In
|
|
56
|
+
* these requests, include two query parameters: <code>key-marker</code> and <code>upload-id-marker</code>.
|
|
57
|
+
* Set the value of <code>key-marker</code> to the <code>NextKeyMarker</code> value from the previous
|
|
58
|
+
* response. Similarly, set the value of <code>upload-id-marker</code> to the
|
|
59
|
+
* <code>NextUploadIdMarker</code> value from the previous response.</p>
|
|
64
60
|
* <note>
|
|
65
61
|
* <p>
|
|
66
|
-
* <b>Directory buckets</b> - The
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* value from the previous response. </p>
|
|
62
|
+
* <b>Directory buckets</b> - The <code>upload-id-marker</code>
|
|
63
|
+
* element and the <code>NextUploadIdMarker</code> element aren't supported by directory buckets. To
|
|
64
|
+
* list the additional multipart uploads, you only need to set the value of <code>key-marker</code> to
|
|
65
|
+
* the <code>NextKeyMarker</code> value from the previous response. </p>
|
|
71
66
|
* </note>
|
|
72
|
-
* <p>For more information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart
|
|
73
|
-
*
|
|
67
|
+
* <p>For more information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart Upload</a> in
|
|
68
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
74
69
|
* <note>
|
|
75
70
|
* <p>
|
|
76
|
-
* <b>Directory buckets</b> -
|
|
77
|
-
* For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
71
|
+
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
78
72
|
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
79
73
|
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
|
|
80
74
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -85,10 +79,9 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
85
79
|
* <ul>
|
|
86
80
|
* <li>
|
|
87
81
|
* <p>
|
|
88
|
-
* <b>General purpose bucket permissions</b> - For
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* Permissions</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
82
|
+
* <b>General purpose bucket permissions</b> - For information
|
|
83
|
+
* about permissions required to use the multipart upload API, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload and Permissions</a> in
|
|
84
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
92
85
|
* </li>
|
|
93
86
|
* <li>
|
|
94
87
|
* <p>
|
|
@@ -107,29 +100,28 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
107
100
|
* <li>
|
|
108
101
|
* <p>
|
|
109
102
|
* <b>General purpose bucket</b> - In the
|
|
110
|
-
*
|
|
111
|
-
*
|
|
103
|
+
* <code>ListMultipartUploads</code> response, the multipart uploads are sorted based on two
|
|
104
|
+
* criteria:</p>
|
|
112
105
|
* <ul>
|
|
113
106
|
* <li>
|
|
114
|
-
* <p>Key-based sorting - Multipart uploads are initially sorted
|
|
115
|
-
*
|
|
107
|
+
* <p>Key-based sorting - Multipart uploads are initially sorted in ascending order
|
|
108
|
+
* based on their object keys.</p>
|
|
116
109
|
* </li>
|
|
117
110
|
* <li>
|
|
118
|
-
* <p>Time-based sorting - For uploads that share the same object
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* later.</p>
|
|
111
|
+
* <p>Time-based sorting - For uploads that share the same object key, they are
|
|
112
|
+
* further sorted in ascending order based on the upload initiation time. Among uploads with
|
|
113
|
+
* the same key, the one that was initiated first will appear before the ones that were
|
|
114
|
+
* initiated later.</p>
|
|
123
115
|
* </li>
|
|
124
116
|
* </ul>
|
|
125
117
|
* </li>
|
|
126
118
|
* <li>
|
|
127
119
|
* <p>
|
|
128
120
|
* <b>Directory bucket</b> - In the
|
|
129
|
-
*
|
|
130
|
-
*
|
|
121
|
+
* <code>ListMultipartUploads</code> response, the multipart uploads aren't sorted
|
|
122
|
+
* lexicographically based on the object keys.
|
|
131
123
|
*
|
|
132
|
-
*
|
|
124
|
+
* </p>
|
|
133
125
|
* </li>
|
|
134
126
|
* </ul>
|
|
135
127
|
* </dd>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListObjectVersionsOutput, ListObjectVersionsRequest } from "../models/
|
|
3
|
+
import { ListObjectVersionsOutput, ListObjectVersionsRequest } from "../models/models_1";
|
|
4
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -37,17 +37,15 @@ declare const ListObjectVersionsCommand_base: {
|
|
|
37
37
|
* <note>
|
|
38
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
39
39
|
* </note>
|
|
40
|
-
* <p>Returns metadata about all versions of the objects in a bucket. You can also use request
|
|
41
|
-
*
|
|
42
|
-
* versions.</p>
|
|
40
|
+
* <p>Returns metadata about all versions of the objects in a bucket. You can also use request parameters
|
|
41
|
+
* as selection criteria to return metadata about a subset of all the object versions.</p>
|
|
43
42
|
* <important>
|
|
44
|
-
* <p> To use this operation, you must have permission to perform the
|
|
45
|
-
*
|
|
43
|
+
* <p> To use this operation, you must have permission to perform the <code>s3:ListBucketVersions</code>
|
|
44
|
+
* action. Be aware of the name difference. </p>
|
|
46
45
|
* </important>
|
|
47
46
|
* <note>
|
|
48
|
-
* <p> A <code>200 OK</code> response can contain valid or invalid XML. Make sure to design
|
|
49
|
-
*
|
|
50
|
-
* appropriately.</p>
|
|
47
|
+
* <p> A <code>200 OK</code> response can contain valid or invalid XML. Make sure to design your
|
|
48
|
+
* application to parse the contents of the response and handle it appropriately.</p>
|
|
51
49
|
* </note>
|
|
52
50
|
* <p>To use this operation, you must have READ access to the bucket.</p>
|
|
53
51
|
* <p>The following operations are related to <code>ListObjectVersions</code>:</p>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListObjectsOutput, ListObjectsRequest } from "../models/
|
|
3
|
+
import { ListObjectsOutput, ListObjectsRequest } from "../models/models_1";
|
|
4
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -37,13 +37,14 @@ declare const ListObjectsCommand_base: {
|
|
|
37
37
|
* <note>
|
|
38
38
|
* <p>This operation is not supported for directory buckets.</p>
|
|
39
39
|
* </note>
|
|
40
|
-
* <p>Returns some or all (up to 1,000) of the objects in a bucket. You can use the request
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
40
|
+
* <p>Returns some or all (up to 1,000) of the objects in a bucket. You can use the request parameters as
|
|
41
|
+
* selection criteria to return a subset of the objects in a bucket. A 200 OK response can contain valid or
|
|
42
|
+
* invalid XML. Be sure to design your application to parse the contents of the response and handle it
|
|
43
|
+
* appropriately.</p>
|
|
44
44
|
* <important>
|
|
45
|
-
* <p>This action has been revised. We recommend that you use the newer version, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html">ListObjectsV2</a>, when
|
|
46
|
-
*
|
|
45
|
+
* <p>This action has been revised. We recommend that you use the newer version, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html">ListObjectsV2</a>, when
|
|
46
|
+
* developing applications. For backward compatibility, Amazon S3 continues to support
|
|
47
|
+
* <code>ListObjects</code>.</p>
|
|
47
48
|
* </important>
|
|
48
49
|
* <p>The following operations are related to <code>ListObjects</code>:</p>
|
|
49
50
|
* <ul>
|