@aws-sdk/client-s3 3.721.0 → 3.723.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/index.js +489 -369
- package/dist-es/S3Client.js +1 -0
- package/dist-es/models/models_0.js +18 -16
- package/dist-es/models/models_1.js +10 -10
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +2 -2
- package/dist-types/commands/CopyObjectCommand.d.ts +2 -2
- package/dist-types/commands/CreateBucketCommand.d.ts +2 -2
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +2 -2
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteObjectCommand.d.ts +12 -12
- package/dist-types/commands/DeleteObjectsCommand.d.ts +24 -24
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +2 -2
- package/dist-types/commands/GetObjectCommand.d.ts +2 -2
- package/dist-types/commands/HeadBucketCommand.d.ts +2 -2
- package/dist-types/commands/HeadObjectCommand.d.ts +2 -2
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -2
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +34 -34
- package/dist-types/commands/ListObjectsV2Command.d.ts +2 -2
- package/dist-types/commands/ListPartsCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/PutObjectCommand.d.ts +46 -46
- package/dist-types/commands/UploadPartCommand.d.ts +2 -2
- package/dist-types/commands/UploadPartCopyCommand.d.ts +15 -15
- package/dist-types/models/models_0.d.ts +6 -5
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +29 -11
- package/package.json +60 -60
|
@@ -68,8 +68,8 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
68
68
|
* <p>
|
|
69
69
|
* <b>Directory buckets</b> -
|
|
70
70
|
* 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>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
71
|
-
* </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/
|
|
72
|
-
* <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">
|
|
71
|
+
* </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
|
|
72
|
+
* <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
|
|
73
73
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
74
74
|
* </note>
|
|
75
75
|
* <dl>
|
|
@@ -228,104 +228,104 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
228
228
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
229
229
|
*
|
|
230
230
|
* @public
|
|
231
|
-
* @example
|
|
231
|
+
* @example List next set of multipart uploads when previous result is truncated
|
|
232
232
|
* ```javascript
|
|
233
|
-
* // The following example
|
|
233
|
+
* // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.
|
|
234
234
|
* const input = {
|
|
235
|
-
* "Bucket": "examplebucket"
|
|
235
|
+
* "Bucket": "examplebucket",
|
|
236
|
+
* "KeyMarker": "nextkeyfrompreviousresponse",
|
|
237
|
+
* "MaxUploads": "2",
|
|
238
|
+
* "UploadIdMarker": "valuefrompreviousresponse"
|
|
236
239
|
* };
|
|
237
240
|
* const command = new ListMultipartUploadsCommand(input);
|
|
238
241
|
* const response = await client.send(command);
|
|
239
242
|
* /* response ==
|
|
240
243
|
* {
|
|
244
|
+
* "Bucket": "acl1",
|
|
245
|
+
* "IsTruncated": true,
|
|
246
|
+
* "KeyMarker": "",
|
|
247
|
+
* "MaxUploads": "2",
|
|
248
|
+
* "NextKeyMarker": "someobjectkey",
|
|
249
|
+
* "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
|
250
|
+
* "UploadIdMarker": "",
|
|
241
251
|
* "Uploads": [
|
|
242
252
|
* {
|
|
243
253
|
* "Initiated": "2014-05-01T05:40:58.000Z",
|
|
244
254
|
* "Initiator": {
|
|
245
|
-
* "DisplayName": "display-name",
|
|
255
|
+
* "DisplayName": "ownder-display-name",
|
|
246
256
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
247
257
|
* },
|
|
248
258
|
* "Key": "JavaFile",
|
|
249
259
|
* "Owner": {
|
|
250
|
-
* "DisplayName": "
|
|
251
|
-
* "ID": "
|
|
260
|
+
* "DisplayName": "mohanataws",
|
|
261
|
+
* "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
252
262
|
* },
|
|
253
263
|
* "StorageClass": "STANDARD",
|
|
254
|
-
* "UploadId": "
|
|
264
|
+
* "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
|
|
255
265
|
* },
|
|
256
266
|
* {
|
|
257
267
|
* "Initiated": "2014-05-01T05:41:27.000Z",
|
|
258
268
|
* "Initiator": {
|
|
259
|
-
* "DisplayName": "display-name",
|
|
269
|
+
* "DisplayName": "ownder-display-name",
|
|
260
270
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
261
271
|
* },
|
|
262
272
|
* "Key": "JavaFile",
|
|
263
273
|
* "Owner": {
|
|
264
|
-
* "DisplayName": "display-name",
|
|
274
|
+
* "DisplayName": "ownder-display-name",
|
|
265
275
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
266
276
|
* },
|
|
267
277
|
* "StorageClass": "STANDARD",
|
|
268
|
-
* "UploadId": "
|
|
278
|
+
* "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
|
|
269
279
|
* }
|
|
270
280
|
* ]
|
|
271
281
|
* }
|
|
272
282
|
* *\/
|
|
273
|
-
* // example id:
|
|
283
|
+
* // example id: list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748
|
|
274
284
|
* ```
|
|
275
285
|
*
|
|
276
|
-
* @example
|
|
286
|
+
* @example To list in-progress multipart uploads on a bucket
|
|
277
287
|
* ```javascript
|
|
278
|
-
* // The following example
|
|
288
|
+
* // The following example lists in-progress multipart uploads on a specific bucket.
|
|
279
289
|
* const input = {
|
|
280
|
-
* "Bucket": "examplebucket"
|
|
281
|
-
* "KeyMarker": "nextkeyfrompreviousresponse",
|
|
282
|
-
* "MaxUploads": "2",
|
|
283
|
-
* "UploadIdMarker": "valuefrompreviousresponse"
|
|
290
|
+
* "Bucket": "examplebucket"
|
|
284
291
|
* };
|
|
285
292
|
* const command = new ListMultipartUploadsCommand(input);
|
|
286
293
|
* const response = await client.send(command);
|
|
287
294
|
* /* response ==
|
|
288
295
|
* {
|
|
289
|
-
* "Bucket": "acl1",
|
|
290
|
-
* "IsTruncated": true,
|
|
291
|
-
* "KeyMarker": "",
|
|
292
|
-
* "MaxUploads": "2",
|
|
293
|
-
* "NextKeyMarker": "someobjectkey",
|
|
294
|
-
* "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
|
295
|
-
* "UploadIdMarker": "",
|
|
296
296
|
* "Uploads": [
|
|
297
297
|
* {
|
|
298
298
|
* "Initiated": "2014-05-01T05:40:58.000Z",
|
|
299
299
|
* "Initiator": {
|
|
300
|
-
* "DisplayName": "
|
|
300
|
+
* "DisplayName": "display-name",
|
|
301
301
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
302
302
|
* },
|
|
303
303
|
* "Key": "JavaFile",
|
|
304
304
|
* "Owner": {
|
|
305
|
-
* "DisplayName": "
|
|
306
|
-
* "ID": "
|
|
305
|
+
* "DisplayName": "display-name",
|
|
306
|
+
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
307
307
|
* },
|
|
308
308
|
* "StorageClass": "STANDARD",
|
|
309
|
-
* "UploadId": "
|
|
309
|
+
* "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
|
|
310
310
|
* },
|
|
311
311
|
* {
|
|
312
312
|
* "Initiated": "2014-05-01T05:41:27.000Z",
|
|
313
313
|
* "Initiator": {
|
|
314
|
-
* "DisplayName": "
|
|
314
|
+
* "DisplayName": "display-name",
|
|
315
315
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
316
316
|
* },
|
|
317
317
|
* "Key": "JavaFile",
|
|
318
318
|
* "Owner": {
|
|
319
|
-
* "DisplayName": "
|
|
319
|
+
* "DisplayName": "display-name",
|
|
320
320
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
321
321
|
* },
|
|
322
322
|
* "StorageClass": "STANDARD",
|
|
323
|
-
* "UploadId": "
|
|
323
|
+
* "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
|
|
324
324
|
* }
|
|
325
325
|
* ]
|
|
326
326
|
* }
|
|
327
327
|
* *\/
|
|
328
|
-
* // example id: list-
|
|
328
|
+
* // example id: to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260
|
|
329
329
|
* ```
|
|
330
330
|
*
|
|
331
331
|
*/
|
|
@@ -52,8 +52,8 @@ declare const ListObjectsV2Command_base: {
|
|
|
52
52
|
* <p>
|
|
53
53
|
* <b>Directory buckets</b> -
|
|
54
54
|
* 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>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
55
|
-
* </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/
|
|
56
|
-
* <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">
|
|
55
|
+
* </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
|
|
56
|
+
* <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
|
|
57
57
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
58
58
|
* </li>
|
|
59
59
|
* </ul>
|
|
@@ -44,8 +44,8 @@ declare const ListPartsCommand_base: {
|
|
|
44
44
|
* <p>
|
|
45
45
|
* <b>Directory buckets</b> -
|
|
46
46
|
* 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>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
47
|
-
* </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/
|
|
48
|
-
* <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">
|
|
47
|
+
* </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
|
|
48
|
+
* <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
|
|
49
49
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
50
50
|
* </note>
|
|
51
51
|
* <dl>
|
|
@@ -33,8 +33,8 @@ declare const PutBucketEncryptionCommand_base: {
|
|
|
33
33
|
* <p>
|
|
34
34
|
* <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>
|
|
35
35
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
36
|
-
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
37
|
-
* <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">
|
|
36
|
+
* 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
|
|
37
|
+
* <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
|
|
38
38
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
39
39
|
* </note>
|
|
40
40
|
* <p>By default, all buckets have a default encryption configuration that uses server-side
|
|
@@ -133,8 +133,8 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
133
133
|
* <p>
|
|
134
134
|
* <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>
|
|
135
135
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
136
|
-
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
137
|
-
* <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">
|
|
136
|
+
* 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
|
|
137
|
+
* <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
|
|
138
138
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
139
139
|
* </note>
|
|
140
140
|
* </li>
|
|
@@ -32,8 +32,8 @@ declare const PutBucketPolicyCommand_base: {
|
|
|
32
32
|
* <p>
|
|
33
33
|
* <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>
|
|
34
34
|
* </code>. Virtual-hosted-style requests aren't supported.
|
|
35
|
-
* For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/
|
|
36
|
-
* <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">
|
|
35
|
+
* 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
|
|
36
|
+
* <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
|
|
37
37
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
38
38
|
* </note>
|
|
39
39
|
* <dl>
|
|
@@ -46,8 +46,8 @@ declare const PutObjectCommand_base: {
|
|
|
46
46
|
* <p>
|
|
47
47
|
* <b>Directory buckets</b> -
|
|
48
48
|
* 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>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
49
|
-
* </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/
|
|
50
|
-
* <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">
|
|
49
|
+
* </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
|
|
50
|
+
* <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
|
|
51
51
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
52
52
|
* </li>
|
|
53
53
|
* </ul>
|
|
@@ -288,111 +288,107 @@ declare const PutObjectCommand_base: {
|
|
|
288
288
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
289
289
|
*
|
|
290
290
|
* @public
|
|
291
|
-
* @example To upload an object
|
|
291
|
+
* @example To upload an object and specify canned ACL.
|
|
292
292
|
* ```javascript
|
|
293
|
-
* // The following example uploads
|
|
293
|
+
* // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
294
294
|
* const input = {
|
|
295
|
-
* "
|
|
295
|
+
* "ACL": "authenticated-read",
|
|
296
|
+
* "Body": "filetoupload",
|
|
296
297
|
* "Bucket": "examplebucket",
|
|
297
|
-
* "Key": "
|
|
298
|
-
* "ServerSideEncryption": "AES256",
|
|
299
|
-
* "StorageClass": "STANDARD_IA"
|
|
298
|
+
* "Key": "exampleobject"
|
|
300
299
|
* };
|
|
301
300
|
* const command = new PutObjectCommand(input);
|
|
302
301
|
* const response = await client.send(command);
|
|
303
302
|
* /* response ==
|
|
304
303
|
* {
|
|
305
304
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
306
|
-
* "
|
|
307
|
-
* "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
|
305
|
+
* "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
|
|
308
306
|
* }
|
|
309
307
|
* *\/
|
|
310
|
-
* // example id: to-upload-an-object-
|
|
308
|
+
* // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
|
|
311
309
|
* ```
|
|
312
310
|
*
|
|
313
|
-
* @example To
|
|
311
|
+
* @example To create an object.
|
|
314
312
|
* ```javascript
|
|
315
|
-
* // The following example
|
|
313
|
+
* // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
316
314
|
* const input = {
|
|
317
315
|
* "Body": "filetoupload",
|
|
318
316
|
* "Bucket": "examplebucket",
|
|
319
|
-
* "Key": "
|
|
320
|
-
* "ServerSideEncryption": "AES256",
|
|
321
|
-
* "Tagging": "key1=value1&key2=value2"
|
|
317
|
+
* "Key": "objectkey"
|
|
322
318
|
* };
|
|
323
319
|
* const command = new PutObjectCommand(input);
|
|
324
320
|
* const response = await client.send(command);
|
|
325
321
|
* /* response ==
|
|
326
322
|
* {
|
|
327
323
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
328
|
-
* "
|
|
329
|
-
* "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
|
|
324
|
+
* "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
|
|
330
325
|
* }
|
|
331
326
|
* *\/
|
|
332
|
-
* // example id: to-
|
|
327
|
+
* // example id: to-create-an-object-1483147613675
|
|
333
328
|
* ```
|
|
334
329
|
*
|
|
335
|
-
* @example To upload object and specify
|
|
330
|
+
* @example To upload an object and specify optional tags
|
|
336
331
|
* ```javascript
|
|
337
|
-
* // The following example
|
|
332
|
+
* // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
|
|
338
333
|
* const input = {
|
|
339
|
-
* "Body": "
|
|
334
|
+
* "Body": "c:\\HappyFace.jpg",
|
|
340
335
|
* "Bucket": "examplebucket",
|
|
341
|
-
* "Key": "
|
|
342
|
-
* "
|
|
343
|
-
* "metadata1": "value1",
|
|
344
|
-
* "metadata2": "value2"
|
|
345
|
-
* }
|
|
336
|
+
* "Key": "HappyFace.jpg",
|
|
337
|
+
* "Tagging": "key1=value1&key2=value2"
|
|
346
338
|
* };
|
|
347
339
|
* const command = new PutObjectCommand(input);
|
|
348
340
|
* const response = await client.send(command);
|
|
349
341
|
* /* response ==
|
|
350
342
|
* {
|
|
351
343
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
352
|
-
* "VersionId": "
|
|
344
|
+
* "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
|
|
353
345
|
* }
|
|
354
346
|
* *\/
|
|
355
|
-
* // example id: to-upload-object-and-specify-
|
|
347
|
+
* // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
|
|
356
348
|
* ```
|
|
357
349
|
*
|
|
358
|
-
* @example To upload an object and specify
|
|
350
|
+
* @example To upload an object and specify server-side encryption and object tags
|
|
359
351
|
* ```javascript
|
|
360
|
-
* // The following example uploads
|
|
352
|
+
* // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
361
353
|
* const input = {
|
|
362
|
-
* "ACL": "authenticated-read",
|
|
363
354
|
* "Body": "filetoupload",
|
|
364
355
|
* "Bucket": "examplebucket",
|
|
365
|
-
* "Key": "exampleobject"
|
|
356
|
+
* "Key": "exampleobject",
|
|
357
|
+
* "ServerSideEncryption": "AES256",
|
|
358
|
+
* "Tagging": "key1=value1&key2=value2"
|
|
366
359
|
* };
|
|
367
360
|
* const command = new PutObjectCommand(input);
|
|
368
361
|
* const response = await client.send(command);
|
|
369
362
|
* /* response ==
|
|
370
363
|
* {
|
|
371
364
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
372
|
-
* "
|
|
365
|
+
* "ServerSideEncryption": "AES256",
|
|
366
|
+
* "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
|
|
373
367
|
* }
|
|
374
368
|
* *\/
|
|
375
|
-
* // example id: to-upload-an-object-and-specify-
|
|
369
|
+
* // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
|
|
376
370
|
* ```
|
|
377
371
|
*
|
|
378
|
-
* @example To upload an object
|
|
372
|
+
* @example To upload an object (specify optional headers)
|
|
379
373
|
* ```javascript
|
|
380
|
-
* // The following example uploads an object. The request specifies optional
|
|
374
|
+
* // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
|
|
381
375
|
* const input = {
|
|
382
|
-
* "Body": "
|
|
376
|
+
* "Body": "HappyFace.jpg",
|
|
383
377
|
* "Bucket": "examplebucket",
|
|
384
378
|
* "Key": "HappyFace.jpg",
|
|
385
|
-
* "
|
|
379
|
+
* "ServerSideEncryption": "AES256",
|
|
380
|
+
* "StorageClass": "STANDARD_IA"
|
|
386
381
|
* };
|
|
387
382
|
* const command = new PutObjectCommand(input);
|
|
388
383
|
* const response = await client.send(command);
|
|
389
384
|
* /* response ==
|
|
390
385
|
* {
|
|
391
386
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
392
|
-
* "
|
|
387
|
+
* "ServerSideEncryption": "AES256",
|
|
388
|
+
* "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
|
393
389
|
* }
|
|
394
390
|
* *\/
|
|
395
|
-
* // example id: to-upload-an-object-
|
|
391
|
+
* // example id: to-upload-an-object-(specify-optional-headers)
|
|
396
392
|
* ```
|
|
397
393
|
*
|
|
398
394
|
* @example To upload an object
|
|
@@ -414,23 +410,27 @@ declare const PutObjectCommand_base: {
|
|
|
414
410
|
* // example id: to-upload-an-object-1481760101010
|
|
415
411
|
* ```
|
|
416
412
|
*
|
|
417
|
-
* @example To
|
|
413
|
+
* @example To upload object and specify user-defined metadata
|
|
418
414
|
* ```javascript
|
|
419
|
-
* // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
415
|
+
* // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
420
416
|
* const input = {
|
|
421
417
|
* "Body": "filetoupload",
|
|
422
418
|
* "Bucket": "examplebucket",
|
|
423
|
-
* "Key": "
|
|
419
|
+
* "Key": "exampleobject",
|
|
420
|
+
* "Metadata": {
|
|
421
|
+
* "metadata1": "value1",
|
|
422
|
+
* "metadata2": "value2"
|
|
423
|
+
* }
|
|
424
424
|
* };
|
|
425
425
|
* const command = new PutObjectCommand(input);
|
|
426
426
|
* const response = await client.send(command);
|
|
427
427
|
* /* response ==
|
|
428
428
|
* {
|
|
429
429
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
430
|
-
* "VersionId": "
|
|
430
|
+
* "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
|
|
431
431
|
* }
|
|
432
432
|
* *\/
|
|
433
|
-
* // example id: to-
|
|
433
|
+
* // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
|
|
434
434
|
* ```
|
|
435
435
|
*
|
|
436
436
|
*/
|
|
@@ -55,8 +55,8 @@ declare const UploadPartCommand_base: {
|
|
|
55
55
|
* <p>
|
|
56
56
|
* <b>Directory buckets</b> -
|
|
57
57
|
* 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>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
58
|
-
* </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/
|
|
59
|
-
* <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">
|
|
58
|
+
* </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
|
|
59
|
+
* <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
|
|
60
60
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
61
61
|
* </note>
|
|
62
62
|
* <dl>
|
|
@@ -49,8 +49,8 @@ declare const UploadPartCopyCommand_base: {
|
|
|
49
49
|
* <p>
|
|
50
50
|
* <b>Directory buckets</b> -
|
|
51
51
|
* 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>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
52
|
-
* </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/
|
|
53
|
-
* <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">
|
|
52
|
+
* </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
|
|
53
|
+
* <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
|
|
54
54
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
55
55
|
* </note>
|
|
56
56
|
* <dl>
|
|
@@ -312,15 +312,14 @@ declare const UploadPartCopyCommand_base: {
|
|
|
312
312
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
313
313
|
*
|
|
314
314
|
* @public
|
|
315
|
-
* @example To upload a part by copying
|
|
315
|
+
* @example To upload a part by copying data from an existing object as data source
|
|
316
316
|
* ```javascript
|
|
317
|
-
* // The following example uploads a part of a multipart upload by copying
|
|
317
|
+
* // The following example uploads a part of a multipart upload by copying data from an existing object as data source.
|
|
318
318
|
* const input = {
|
|
319
319
|
* "Bucket": "examplebucket",
|
|
320
320
|
* "CopySource": "/bucketname/sourceobjectkey",
|
|
321
|
-
* "CopySourceRange": "bytes=1-100000",
|
|
322
321
|
* "Key": "examplelargeobject",
|
|
323
|
-
* "PartNumber": "
|
|
322
|
+
* "PartNumber": "1",
|
|
324
323
|
* "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
|
325
324
|
* };
|
|
326
325
|
* const command = new UploadPartCopyCommand(input);
|
|
@@ -328,22 +327,23 @@ declare const UploadPartCopyCommand_base: {
|
|
|
328
327
|
* /* response ==
|
|
329
328
|
* {
|
|
330
329
|
* "CopyPartResult": {
|
|
331
|
-
* "ETag": "\"
|
|
332
|
-
* "LastModified": "2016-12-29T21:
|
|
330
|
+
* "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
|
|
331
|
+
* "LastModified": "2016-12-29T21:24:43.000Z"
|
|
333
332
|
* }
|
|
334
333
|
* }
|
|
335
334
|
* *\/
|
|
336
|
-
* // example id: to-upload-a-part-by-copying-
|
|
335
|
+
* // example id: to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348
|
|
337
336
|
* ```
|
|
338
337
|
*
|
|
339
|
-
* @example To upload a part by copying
|
|
338
|
+
* @example To upload a part by copying byte range from an existing object as data source
|
|
340
339
|
* ```javascript
|
|
341
|
-
* // The following example uploads a part of a multipart upload by copying
|
|
340
|
+
* // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.
|
|
342
341
|
* const input = {
|
|
343
342
|
* "Bucket": "examplebucket",
|
|
344
343
|
* "CopySource": "/bucketname/sourceobjectkey",
|
|
344
|
+
* "CopySourceRange": "bytes=1-100000",
|
|
345
345
|
* "Key": "examplelargeobject",
|
|
346
|
-
* "PartNumber": "
|
|
346
|
+
* "PartNumber": "2",
|
|
347
347
|
* "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
|
348
348
|
* };
|
|
349
349
|
* const command = new UploadPartCopyCommand(input);
|
|
@@ -351,12 +351,12 @@ declare const UploadPartCopyCommand_base: {
|
|
|
351
351
|
* /* response ==
|
|
352
352
|
* {
|
|
353
353
|
* "CopyPartResult": {
|
|
354
|
-
* "ETag": "\"
|
|
355
|
-
* "LastModified": "2016-12-29T21:
|
|
354
|
+
* "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
|
|
355
|
+
* "LastModified": "2016-12-29T21:44:28.000Z"
|
|
356
356
|
* }
|
|
357
357
|
* }
|
|
358
358
|
* *\/
|
|
359
|
-
* // example id: to-upload-a-part-by-copying-
|
|
359
|
+
* // example id: to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594
|
|
360
360
|
* ```
|
|
361
361
|
*
|
|
362
362
|
*/
|
|
@@ -1773,7 +1773,7 @@ export type LocationType = (typeof LocationType)[keyof typeof LocationType];
|
|
|
1773
1773
|
/**
|
|
1774
1774
|
* <p>Specifies the location where the bucket will be created.</p>
|
|
1775
1775
|
* <p>For directory buckets, the location type is Availability Zone or Local Zone. For more information about directory buckets, see
|
|
1776
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">
|
|
1776
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html">Working with directory buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1777
1777
|
* <note>
|
|
1778
1778
|
* <p>This functionality is only supported by directory buckets.</p>
|
|
1779
1779
|
* </note>
|
|
@@ -1839,10 +1839,11 @@ export interface CreateBucketConfiguration {
|
|
|
1839
1839
|
* <p>Specifies the Region where the bucket will be created. You might choose a Region to
|
|
1840
1840
|
* optimize latency, minimize costs, or address regulatory requirements. For example, if you
|
|
1841
1841
|
* reside in Europe, you will probably find it advantageous to create buckets in the Europe
|
|
1842
|
-
* (Ireland) Region
|
|
1843
|
-
* bucket</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1842
|
+
* (Ireland) Region.</p>
|
|
1844
1843
|
* <p>If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region
|
|
1845
1844
|
* (us-east-1) by default.</p>
|
|
1845
|
+
* <p>For a list of the valid values for all of the Amazon Web Services Regions, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region">Regions and
|
|
1846
|
+
* Endpoints</a>.</p>
|
|
1846
1847
|
* <note>
|
|
1847
1848
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1848
1849
|
* </note>
|
|
@@ -1853,8 +1854,8 @@ export interface CreateBucketConfiguration {
|
|
|
1853
1854
|
* <p>Specifies the location where the bucket will be created.</p>
|
|
1854
1855
|
* <p>
|
|
1855
1856
|
* <b>Directory buckets </b> - The location type is Availability Zone or Local Zone.
|
|
1856
|
-
*
|
|
1857
|
-
* error code <code>
|
|
1857
|
+
* To use the Local Zone location type, your account must be enabled for Dedicated Local Zones. Otherwise, you get an HTTP <code>403 Forbidden</code> error with the
|
|
1858
|
+
* error code <code>AccessDenied</code>. To learn more, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html">Enable accounts for Dedicated Local Zones</a> in the <i>Amazon S3 User Guide</i>.
|
|
1858
1859
|
* </p>
|
|
1859
1860
|
* <note>
|
|
1860
1861
|
* <p>This functionality is only supported by directory buckets.</p>
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
8
8
|
runtime: string;
|
|
9
9
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
12
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
9
9
|
runtime: string;
|
|
10
10
|
defaultsMode: import("@aws-sdk/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
11
11
|
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@aws-sdk/types").MemoizedProvider<import("@aws-sdk/types").AwsCredentialIdentity
|
|
12
|
+
credentialDefaultProvider: ((input: any) => import("@aws-sdk/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@aws-sdk/types").MemoizedProvider<import("@aws-sdk/types").AwsCredentialIdentity>);
|
|
13
13
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
disableS3ExpressSessionAuth: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
15
15
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
@@ -27,7 +27,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
27
27
|
md5: import("@smithy/types").HashConstructor;
|
|
28
28
|
sha1: import("@smithy/types").HashConstructor;
|
|
29
29
|
getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream<any> | import("@smithy/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
|
|
30
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
30
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
@@ -42,7 +42,7 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
42
42
|
requestChecksumCalculation?: import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation | import("@smithy/types").Provider<import("@aws-sdk/middleware-flexible-checksums").RequestChecksumCalculation> | undefined;
|
|
43
43
|
responseChecksumValidation?: import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation | import("@smithy/types").Provider<import("@aws-sdk/middleware-flexible-checksums").ResponseChecksumValidation> | undefined;
|
|
44
44
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
45
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
45
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
46
46
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
47
47
|
logger?: import("@smithy/types").Logger | undefined;
|
|
48
48
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -56,9 +56,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
56
56
|
signingRegion?: string | undefined;
|
|
57
57
|
signerConstructor: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | typeof import("@aws-sdk/signature-v4-multi-region").SignatureV4MultiRegion;
|
|
58
58
|
sigv4aSigningRegionSet?: string[] | import("@smithy/types").Provider<string[] | undefined> | undefined;
|
|
59
|
-
forcePathStyle?: boolean | undefined;
|
|
60
|
-
useAccelerateEndpoint?: boolean | undefined;
|
|
61
|
-
disableMultiregionAccessPoints?: boolean | undefined;
|
|
59
|
+
forcePathStyle?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
60
|
+
useAccelerateEndpoint?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
61
|
+
disableMultiregionAccessPoints?: (boolean & (boolean | import("@smithy/types").Provider<boolean>)) | undefined;
|
|
62
62
|
followRegionRedirects?: boolean | undefined;
|
|
63
63
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider | undefined;
|
|
64
64
|
bucketEndpoint?: boolean | undefined;
|