@aws-sdk/client-s3 3.50.0 → 3.53.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/CHANGELOG.md +33 -0
- package/dist-cjs/S3.js +15 -0
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +2 -0
- package/dist-cjs/commands/DeleteObjectsCommand.js +6 -2
- package/dist-cjs/commands/GetObjectAttributesCommand.js +40 -0
- package/dist-cjs/commands/GetObjectCommand.js +7 -0
- package/dist-cjs/commands/ListPartsCommand.js +2 -0
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
- package/dist-cjs/commands/PutBucketAclCommand.js +6 -2
- package/dist-cjs/commands/PutBucketCorsCommand.js +6 -2
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +6 -2
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
- package/dist-cjs/commands/PutBucketLoggingCommand.js +6 -2
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +2 -2
- package/dist-cjs/commands/PutBucketPolicyCommand.js +6 -2
- package/dist-cjs/commands/PutBucketReplicationCommand.js +6 -2
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +6 -2
- package/dist-cjs/commands/PutBucketTaggingCommand.js +6 -2
- package/dist-cjs/commands/PutBucketVersioningCommand.js +6 -2
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +6 -2
- package/dist-cjs/commands/PutObjectAclCommand.js +6 -2
- package/dist-cjs/commands/PutObjectCommand.js +6 -0
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +6 -2
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +6 -2
- package/dist-cjs/commands/PutObjectRetentionCommand.js +9 -5
- package/dist-cjs/commands/PutObjectTaggingCommand.js +9 -5
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +8 -4
- package/dist-cjs/commands/RestoreObjectCommand.js +7 -2
- package/dist-cjs/commands/UploadPartCommand.js +6 -0
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/S3ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +165 -41
- package/dist-cjs/models/models_1.js +51 -1
- package/dist-cjs/protocols/Aws_restXml.js +962 -1057
- package/dist-cjs/runtimeConfig.browser.js +17 -13
- package/dist-cjs/runtimeConfig.js +17 -14
- package/dist-es/S3.js +15 -0
- package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -0
- package/dist-es/commands/DeleteObjectsCommand.js +6 -2
- package/dist-es/commands/GetObjectAttributesCommand.js +43 -0
- package/dist-es/commands/GetObjectCommand.js +7 -0
- package/dist-es/commands/ListPartsCommand.js +2 -0
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +6 -0
- package/dist-es/commands/PutBucketAclCommand.js +6 -2
- package/dist-es/commands/PutBucketCorsCommand.js +6 -2
- package/dist-es/commands/PutBucketEncryptionCommand.js +6 -2
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +6 -2
- package/dist-es/commands/PutBucketLoggingCommand.js +6 -2
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -2
- package/dist-es/commands/PutBucketPolicyCommand.js +6 -2
- package/dist-es/commands/PutBucketReplicationCommand.js +6 -2
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +6 -2
- package/dist-es/commands/PutBucketTaggingCommand.js +6 -2
- package/dist-es/commands/PutBucketVersioningCommand.js +6 -2
- package/dist-es/commands/PutBucketWebsiteCommand.js +6 -2
- package/dist-es/commands/PutObjectAclCommand.js +6 -2
- package/dist-es/commands/PutObjectCommand.js +6 -0
- package/dist-es/commands/PutObjectLegalHoldCommand.js +6 -2
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +6 -2
- package/dist-es/commands/PutObjectRetentionCommand.js +7 -3
- package/dist-es/commands/PutObjectTaggingCommand.js +7 -3
- package/dist-es/commands/PutPublicAccessBlockCommand.js +7 -3
- package/dist-es/commands/RestoreObjectCommand.js +7 -2
- package/dist-es/commands/UploadPartCommand.js +6 -0
- package/dist-es/commands/WriteGetObjectResponseCommand.js +0 -2
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/S3ServiceException.js +12 -0
- package/dist-es/models/models_0.js +141 -27
- package/dist-es/models/models_1.js +38 -1
- package/dist-es/protocols/Aws_restXml.js +1366 -900
- package/dist-es/runtimeConfig.browser.js +5 -3
- package/dist-es/runtimeConfig.js +5 -4
- package/dist-types/S3.d.ts +332 -90
- package/dist-types/S3Client.d.ts +19 -7
- package/dist-types/commands/CopyObjectCommand.d.ts +11 -5
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +33 -11
- package/dist-types/commands/GetBucketCorsCommand.d.ts +7 -5
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +9 -1
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +190 -0
- package/dist-types/commands/GetObjectCommand.d.ts +3 -5
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +11 -1
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +9 -0
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +9 -0
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -3
- package/dist-types/commands/HeadObjectCommand.d.ts +6 -1
- package/dist-types/commands/ListBucketsCommand.d.ts +2 -1
- package/dist-types/commands/ListPartsCommand.d.ts +8 -0
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +12 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -8
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +24 -32
- package/dist-types/commands/UploadPartCopyCommand.d.ts +4 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/S3ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1065 -406
- package/dist-types/models/models_1.d.ts +434 -48
- package/dist-types/protocols/Aws_restXml.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +3 -1
- package/dist-types/ts3.4/S3.d.ts +470 -0
- package/dist-types/ts3.4/S3Client.d.ts +184 -0
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/index.d.ts +93 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/S3ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3903 -0
- package/dist-types/ts3.4/models/models_1.d.ts +767 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +281 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +49 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +50 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +48 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +15 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +7 -0
- package/package.json +50 -47
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
+
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* <p>Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will
|
|
6
7
|
* wait before permanently removing all parts of the upload. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config">
|
|
@@ -39,7 +40,8 @@ export interface AbortMultipartUploadRequest {
|
|
|
39
40
|
/**
|
|
40
41
|
* <p>The bucket name to which the upload was taking place. </p>
|
|
41
42
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
42
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
43
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
44
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
43
45
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
44
46
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
45
47
|
*/
|
|
@@ -55,12 +57,12 @@ export interface AbortMultipartUploadRequest {
|
|
|
55
57
|
/**
|
|
56
58
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
57
59
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
58
|
-
* objects from
|
|
59
|
-
*
|
|
60
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
61
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
60
62
|
*/
|
|
61
63
|
RequestPayer?: RequestPayer | string;
|
|
62
64
|
/**
|
|
63
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
65
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
64
66
|
*/
|
|
65
67
|
ExpectedBucketOwner?: string;
|
|
66
68
|
}
|
|
@@ -73,9 +75,13 @@ export declare namespace AbortMultipartUploadRequest {
|
|
|
73
75
|
/**
|
|
74
76
|
* <p>The specified multipart upload does not exist.</p>
|
|
75
77
|
*/
|
|
76
|
-
export
|
|
77
|
-
name: "NoSuchUpload";
|
|
78
|
-
$fault: "client";
|
|
78
|
+
export declare class NoSuchUpload extends __BaseException {
|
|
79
|
+
readonly name: "NoSuchUpload";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
constructor(opts: __ExceptionOptionType<NoSuchUpload, __BaseException>);
|
|
79
85
|
}
|
|
80
86
|
export declare type BucketAccelerateStatus = "Enabled" | "Suspended";
|
|
81
87
|
/**
|
|
@@ -241,7 +247,8 @@ export interface CompleteMultipartUploadOutput {
|
|
|
241
247
|
/**
|
|
242
248
|
* <p>The name of the bucket that contains the newly created object. Does not return the access point ARN or access point alias if used.</p>
|
|
243
249
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
244
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
250
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
251
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
245
252
|
*/
|
|
246
253
|
Bucket?: string;
|
|
247
254
|
/**
|
|
@@ -250,7 +257,8 @@ export interface CompleteMultipartUploadOutput {
|
|
|
250
257
|
Key?: string;
|
|
251
258
|
/**
|
|
252
259
|
* <p>If the object expiration is configured, this will contain the expiration date
|
|
253
|
-
*
|
|
260
|
+
* (<code>expiry-date</code>) and rule ID (<code>rule-id</code>). The value of
|
|
261
|
+
* <code>rule-id</code> is URL-encoded.</p>
|
|
254
262
|
*/
|
|
255
263
|
Expiration?: string;
|
|
256
264
|
/**
|
|
@@ -258,9 +266,40 @@ export interface CompleteMultipartUploadOutput {
|
|
|
258
266
|
* object data will have different entity tags. The entity tag is an opaque string. The entity
|
|
259
267
|
* tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5
|
|
260
268
|
* digest of the object data, it will contain one or more nonhexadecimal characters and/or
|
|
261
|
-
* will consist of less than 32 or more than 32 hexadecimal digits
|
|
269
|
+
* will consist of less than 32 or more than 32 hexadecimal digits. For more information about
|
|
270
|
+
* how the entity tag is calculated, see
|
|
271
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking
|
|
272
|
+
* object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
262
273
|
*/
|
|
263
274
|
ETag?: string;
|
|
275
|
+
/**
|
|
276
|
+
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
277
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
278
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
279
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
280
|
+
*/
|
|
281
|
+
ChecksumCRC32?: string;
|
|
282
|
+
/**
|
|
283
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
284
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
285
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
286
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
287
|
+
*/
|
|
288
|
+
ChecksumCRC32C?: string;
|
|
289
|
+
/**
|
|
290
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
291
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
292
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
293
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
294
|
+
*/
|
|
295
|
+
ChecksumSHA1?: string;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
298
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
299
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
300
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
301
|
+
*/
|
|
302
|
+
ChecksumSHA256?: string;
|
|
264
303
|
/**
|
|
265
304
|
* <p>If you specified server-side encryption either with an Amazon S3-managed encryption key or an
|
|
266
305
|
* Amazon Web Services KMS key in your initiate multipart upload request, the response
|
|
@@ -302,6 +341,34 @@ export interface CompletedPart {
|
|
|
302
341
|
* <p>Entity tag returned when the part was uploaded.</p>
|
|
303
342
|
*/
|
|
304
343
|
ETag?: string;
|
|
344
|
+
/**
|
|
345
|
+
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
346
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
347
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
348
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
349
|
+
*/
|
|
350
|
+
ChecksumCRC32?: string;
|
|
351
|
+
/**
|
|
352
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
353
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
354
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
355
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
356
|
+
*/
|
|
357
|
+
ChecksumCRC32C?: string;
|
|
358
|
+
/**
|
|
359
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
360
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
361
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
362
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
363
|
+
*/
|
|
364
|
+
ChecksumSHA1?: string;
|
|
365
|
+
/**
|
|
366
|
+
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
367
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
368
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
369
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
370
|
+
*/
|
|
371
|
+
ChecksumSHA256?: string;
|
|
305
372
|
/**
|
|
306
373
|
* <p>Part number that identifies the part. This is a positive integer between 1 and
|
|
307
374
|
* 10,000.</p>
|
|
@@ -335,7 +402,8 @@ export interface CompleteMultipartUploadRequest {
|
|
|
335
402
|
/**
|
|
336
403
|
* <p>Name of the bucket to which the multipart upload was initiated.</p>
|
|
337
404
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
338
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
405
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
406
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
339
407
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
340
408
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
341
409
|
*/
|
|
@@ -352,17 +420,66 @@ export interface CompleteMultipartUploadRequest {
|
|
|
352
420
|
* <p>ID for the initiated multipart upload.</p>
|
|
353
421
|
*/
|
|
354
422
|
UploadId: string | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
425
|
+
* This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
|
|
426
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
427
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
428
|
+
*/
|
|
429
|
+
ChecksumCRC32?: string;
|
|
430
|
+
/**
|
|
431
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
432
|
+
* This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see
|
|
433
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
434
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
435
|
+
*/
|
|
436
|
+
ChecksumCRC32C?: string;
|
|
437
|
+
/**
|
|
438
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
439
|
+
* This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see
|
|
440
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
441
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
442
|
+
*/
|
|
443
|
+
ChecksumSHA1?: string;
|
|
444
|
+
/**
|
|
445
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
446
|
+
* This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
|
|
447
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
448
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
449
|
+
*/
|
|
450
|
+
ChecksumSHA256?: string;
|
|
355
451
|
/**
|
|
356
452
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
357
453
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
358
|
-
* objects from
|
|
359
|
-
*
|
|
454
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
455
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
360
456
|
*/
|
|
361
457
|
RequestPayer?: RequestPayer | string;
|
|
362
458
|
/**
|
|
363
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
459
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
364
460
|
*/
|
|
365
461
|
ExpectedBucketOwner?: string;
|
|
462
|
+
/**
|
|
463
|
+
* <p>The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created
|
|
464
|
+
* using a checksum algorithm. For more information,
|
|
465
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
466
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
467
|
+
*/
|
|
468
|
+
SSECustomerAlgorithm?: string;
|
|
469
|
+
/**
|
|
470
|
+
* <p>The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm.
|
|
471
|
+
* For more information, see
|
|
472
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
473
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
474
|
+
*/
|
|
475
|
+
SSECustomerKey?: string;
|
|
476
|
+
/**
|
|
477
|
+
* <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum
|
|
478
|
+
* algorithm. For more information,
|
|
479
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
480
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
481
|
+
*/
|
|
482
|
+
SSECustomerKeyMD5?: string;
|
|
366
483
|
}
|
|
367
484
|
export declare namespace CompleteMultipartUploadRequest {
|
|
368
485
|
/**
|
|
@@ -382,6 +499,34 @@ export interface CopyObjectResult {
|
|
|
382
499
|
* <p>Creation date of the object.</p>
|
|
383
500
|
*/
|
|
384
501
|
LastModified?: Date;
|
|
502
|
+
/**
|
|
503
|
+
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
504
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
505
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
506
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
507
|
+
*/
|
|
508
|
+
ChecksumCRC32?: string;
|
|
509
|
+
/**
|
|
510
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
511
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
512
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
513
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
514
|
+
*/
|
|
515
|
+
ChecksumCRC32C?: string;
|
|
516
|
+
/**
|
|
517
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
518
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
519
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
520
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
521
|
+
*/
|
|
522
|
+
ChecksumSHA1?: string;
|
|
523
|
+
/**
|
|
524
|
+
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
525
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
526
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
527
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
528
|
+
*/
|
|
529
|
+
ChecksumSHA256?: string;
|
|
385
530
|
}
|
|
386
531
|
export declare namespace CopyObjectResult {
|
|
387
532
|
/**
|
|
@@ -450,6 +595,12 @@ export declare namespace CopyObjectOutput {
|
|
|
450
595
|
const filterSensitiveLog: (obj: CopyObjectOutput) => any;
|
|
451
596
|
}
|
|
452
597
|
export declare type ObjectCannedACL = "authenticated-read" | "aws-exec-read" | "bucket-owner-full-control" | "bucket-owner-read" | "private" | "public-read" | "public-read-write";
|
|
598
|
+
export declare enum ChecksumAlgorithm {
|
|
599
|
+
CRC32 = "CRC32",
|
|
600
|
+
CRC32C = "CRC32C",
|
|
601
|
+
SHA1 = "SHA1",
|
|
602
|
+
SHA256 = "SHA256"
|
|
603
|
+
}
|
|
453
604
|
export declare type MetadataDirective = "COPY" | "REPLACE";
|
|
454
605
|
export declare type ObjectLockLegalHoldStatus = "OFF" | "ON";
|
|
455
606
|
export declare type ObjectLockMode = "COMPLIANCE" | "GOVERNANCE";
|
|
@@ -464,7 +615,8 @@ export interface CopyObjectRequest {
|
|
|
464
615
|
/**
|
|
465
616
|
* <p>The name of the destination bucket.</p>
|
|
466
617
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
467
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
618
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
619
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
468
620
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
469
621
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
470
622
|
*/
|
|
@@ -473,6 +625,12 @@ export interface CopyObjectRequest {
|
|
|
473
625
|
* <p>Specifies caching behavior along the request/reply chain.</p>
|
|
474
626
|
*/
|
|
475
627
|
CacheControl?: string;
|
|
628
|
+
/**
|
|
629
|
+
* <p>Indicates the algorithm you want Amazon S3 to use to create the checksum for the object. For more information, see
|
|
630
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
631
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
632
|
+
*/
|
|
633
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
476
634
|
/**
|
|
477
635
|
* <p>Specifies presentational information for the object.</p>
|
|
478
636
|
*/
|
|
@@ -496,19 +654,18 @@ export interface CopyObjectRequest {
|
|
|
496
654
|
* formats, depending on whether you want to access the source object through an <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html">access point</a>:</p>
|
|
497
655
|
* <ul>
|
|
498
656
|
* <li>
|
|
499
|
-
* <p>For objects not accessed through an access point, specify the name of the source
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
*
|
|
503
|
-
*
|
|
504
|
-
* encoded.</p>
|
|
657
|
+
* <p>For objects not accessed through an access point, specify the name of the source bucket
|
|
658
|
+
* and the key of the source object, separated by a slash (/). For example, to copy the
|
|
659
|
+
* object <code>reports/january.pdf</code> from the bucket
|
|
660
|
+
* <code>awsexamplebucket</code>, use <code>awsexamplebucket/reports/january.pdf</code>.
|
|
661
|
+
* The value must be URL-encoded.</p>
|
|
505
662
|
* </li>
|
|
506
663
|
* <li>
|
|
507
664
|
* <p>For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format <code>arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through access point <code>my-access-point</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf</code>. The value must be URL encoded.</p>
|
|
508
665
|
* <note>
|
|
509
666
|
* <p>Amazon S3 supports copy operations using access points only when the source and destination buckets are in the same Amazon Web Services Region.</p>
|
|
510
667
|
* </note>
|
|
511
|
-
* <p>Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. The value must be URL
|
|
668
|
+
* <p>Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format <code>arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key></code>. For example, to copy the object <code>reports/january.pdf</code> through outpost <code>my-outpost</code> owned by account <code>123456789012</code> in Region <code>us-west-2</code>, use the URL encoding of <code>arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf</code>. The value must be URL-encoded. </p>
|
|
512
669
|
* </li>
|
|
513
670
|
* </ul>
|
|
514
671
|
* <p>To copy a specific version of an object, append <code>?versionId=<version-id></code>
|
|
@@ -657,8 +814,8 @@ export interface CopyObjectRequest {
|
|
|
657
814
|
/**
|
|
658
815
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
659
816
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
660
|
-
* objects from
|
|
661
|
-
*
|
|
817
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
818
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
662
819
|
*/
|
|
663
820
|
RequestPayer?: RequestPayer | string;
|
|
664
821
|
/**
|
|
@@ -676,15 +833,15 @@ export interface CopyObjectRequest {
|
|
|
676
833
|
*/
|
|
677
834
|
ObjectLockRetainUntilDate?: Date;
|
|
678
835
|
/**
|
|
679
|
-
* <p>Specifies whether you want to apply a
|
|
836
|
+
* <p>Specifies whether you want to apply a legal hold to the copied object.</p>
|
|
680
837
|
*/
|
|
681
838
|
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
|
|
682
839
|
/**
|
|
683
|
-
* <p>The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request
|
|
840
|
+
* <p>The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
684
841
|
*/
|
|
685
842
|
ExpectedBucketOwner?: string;
|
|
686
843
|
/**
|
|
687
|
-
* <p>The account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request
|
|
844
|
+
* <p>The account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
688
845
|
*/
|
|
689
846
|
ExpectedSourceBucketOwner?: string;
|
|
690
847
|
}
|
|
@@ -698,17 +855,25 @@ export declare namespace CopyObjectRequest {
|
|
|
698
855
|
* <p>The source object of the COPY action is not in the active tier and is only stored in
|
|
699
856
|
* Amazon S3 Glacier.</p>
|
|
700
857
|
*/
|
|
701
|
-
export
|
|
702
|
-
name: "ObjectNotInActiveTierError";
|
|
703
|
-
$fault: "client";
|
|
858
|
+
export declare class ObjectNotInActiveTierError extends __BaseException {
|
|
859
|
+
readonly name: "ObjectNotInActiveTierError";
|
|
860
|
+
readonly $fault: "client";
|
|
861
|
+
/**
|
|
862
|
+
* @internal
|
|
863
|
+
*/
|
|
864
|
+
constructor(opts: __ExceptionOptionType<ObjectNotInActiveTierError, __BaseException>);
|
|
704
865
|
}
|
|
705
866
|
/**
|
|
706
867
|
* <p>The requested bucket name is not available. The bucket namespace is shared by all users
|
|
707
868
|
* of the system. Select a different name and try again.</p>
|
|
708
869
|
*/
|
|
709
|
-
export
|
|
710
|
-
name: "BucketAlreadyExists";
|
|
711
|
-
$fault: "client";
|
|
870
|
+
export declare class BucketAlreadyExists extends __BaseException {
|
|
871
|
+
readonly name: "BucketAlreadyExists";
|
|
872
|
+
readonly $fault: "client";
|
|
873
|
+
/**
|
|
874
|
+
* @internal
|
|
875
|
+
*/
|
|
876
|
+
constructor(opts: __ExceptionOptionType<BucketAlreadyExists, __BaseException>);
|
|
712
877
|
}
|
|
713
878
|
/**
|
|
714
879
|
* <p>The bucket you tried to create already exists, and you own it. Amazon S3 returns this error
|
|
@@ -716,15 +881,17 @@ export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer
|
|
|
716
881
|
* re-create an existing bucket that you already own in the North Virginia Region, Amazon S3
|
|
717
882
|
* returns 200 OK and resets the bucket access control lists (ACLs).</p>
|
|
718
883
|
*/
|
|
719
|
-
export
|
|
720
|
-
name: "BucketAlreadyOwnedByYou";
|
|
721
|
-
$fault: "client";
|
|
884
|
+
export declare class BucketAlreadyOwnedByYou extends __BaseException {
|
|
885
|
+
readonly name: "BucketAlreadyOwnedByYou";
|
|
886
|
+
readonly $fault: "client";
|
|
887
|
+
/**
|
|
888
|
+
* @internal
|
|
889
|
+
*/
|
|
890
|
+
constructor(opts: __ExceptionOptionType<BucketAlreadyOwnedByYou, __BaseException>);
|
|
722
891
|
}
|
|
723
892
|
export interface CreateBucketOutput {
|
|
724
893
|
/**
|
|
725
|
-
* <p>
|
|
726
|
-
* the US East (N. Virginia) Region (us-east-1), you do not need to specify the
|
|
727
|
-
* location.</p>
|
|
894
|
+
* <p>A forward slash followed by the name of the bucket.</p>
|
|
728
895
|
*/
|
|
729
896
|
Location?: string;
|
|
730
897
|
}
|
|
@@ -834,7 +1001,8 @@ export interface CreateMultipartUploadOutput {
|
|
|
834
1001
|
/**
|
|
835
1002
|
* <p>The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.</p>
|
|
836
1003
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
837
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
1004
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
1005
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
838
1006
|
*/
|
|
839
1007
|
Bucket?: string;
|
|
840
1008
|
/**
|
|
@@ -881,6 +1049,10 @@ export interface CreateMultipartUploadOutput {
|
|
|
881
1049
|
* request.</p>
|
|
882
1050
|
*/
|
|
883
1051
|
RequestCharged?: RequestCharged | string;
|
|
1052
|
+
/**
|
|
1053
|
+
* <p>The algorithm that was used to create a checksum of the object.</p>
|
|
1054
|
+
*/
|
|
1055
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
884
1056
|
}
|
|
885
1057
|
export declare namespace CreateMultipartUploadOutput {
|
|
886
1058
|
/**
|
|
@@ -897,7 +1069,8 @@ export interface CreateMultipartUploadRequest {
|
|
|
897
1069
|
/**
|
|
898
1070
|
* <p>The name of the bucket to which to initiate the upload</p>
|
|
899
1071
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
900
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
1072
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
1073
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
901
1074
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
902
1075
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
903
1076
|
*/
|
|
@@ -1020,8 +1193,8 @@ export interface CreateMultipartUploadRequest {
|
|
|
1020
1193
|
/**
|
|
1021
1194
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
1022
1195
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
1023
|
-
* objects from
|
|
1024
|
-
*
|
|
1196
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
1197
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1025
1198
|
*/
|
|
1026
1199
|
RequestPayer?: RequestPayer | string;
|
|
1027
1200
|
/**
|
|
@@ -1037,13 +1210,19 @@ export interface CreateMultipartUploadRequest {
|
|
|
1037
1210
|
*/
|
|
1038
1211
|
ObjectLockRetainUntilDate?: Date;
|
|
1039
1212
|
/**
|
|
1040
|
-
* <p>Specifies whether you want to apply a
|
|
1213
|
+
* <p>Specifies whether you want to apply a legal hold to the uploaded object.</p>
|
|
1041
1214
|
*/
|
|
1042
1215
|
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
|
|
1043
1216
|
/**
|
|
1044
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1217
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1045
1218
|
*/
|
|
1046
1219
|
ExpectedBucketOwner?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* <p>Indicates the algorithm you want Amazon S3 to use to create the checksum for the object. For more information, see
|
|
1222
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
1223
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1224
|
+
*/
|
|
1225
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
1047
1226
|
}
|
|
1048
1227
|
export declare namespace CreateMultipartUploadRequest {
|
|
1049
1228
|
/**
|
|
@@ -1057,7 +1236,7 @@ export interface DeleteBucketRequest {
|
|
|
1057
1236
|
*/
|
|
1058
1237
|
Bucket: string | undefined;
|
|
1059
1238
|
/**
|
|
1060
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1239
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1061
1240
|
*/
|
|
1062
1241
|
ExpectedBucketOwner?: string;
|
|
1063
1242
|
}
|
|
@@ -1079,7 +1258,7 @@ export interface DeleteBucketAnalyticsConfigurationRequest {
|
|
|
1079
1258
|
*/
|
|
1080
1259
|
Id: string | undefined;
|
|
1081
1260
|
/**
|
|
1082
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1261
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1083
1262
|
*/
|
|
1084
1263
|
ExpectedBucketOwner?: string;
|
|
1085
1264
|
}
|
|
@@ -1097,7 +1276,7 @@ export interface DeleteBucketCorsRequest {
|
|
|
1097
1276
|
*/
|
|
1098
1277
|
Bucket: string | undefined;
|
|
1099
1278
|
/**
|
|
1100
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1279
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1101
1280
|
*/
|
|
1102
1281
|
ExpectedBucketOwner?: string;
|
|
1103
1282
|
}
|
|
@@ -1116,7 +1295,7 @@ export interface DeleteBucketEncryptionRequest {
|
|
|
1116
1295
|
*/
|
|
1117
1296
|
Bucket: string | undefined;
|
|
1118
1297
|
/**
|
|
1119
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1298
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1120
1299
|
*/
|
|
1121
1300
|
ExpectedBucketOwner?: string;
|
|
1122
1301
|
}
|
|
@@ -1156,7 +1335,7 @@ export interface DeleteBucketInventoryConfigurationRequest {
|
|
|
1156
1335
|
*/
|
|
1157
1336
|
Id: string | undefined;
|
|
1158
1337
|
/**
|
|
1159
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1338
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1160
1339
|
*/
|
|
1161
1340
|
ExpectedBucketOwner?: string;
|
|
1162
1341
|
}
|
|
@@ -1174,7 +1353,7 @@ export interface DeleteBucketLifecycleRequest {
|
|
|
1174
1353
|
*/
|
|
1175
1354
|
Bucket: string | undefined;
|
|
1176
1355
|
/**
|
|
1177
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1356
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1178
1357
|
*/
|
|
1179
1358
|
ExpectedBucketOwner?: string;
|
|
1180
1359
|
}
|
|
@@ -1196,7 +1375,7 @@ export interface DeleteBucketMetricsConfigurationRequest {
|
|
|
1196
1375
|
*/
|
|
1197
1376
|
Id: string | undefined;
|
|
1198
1377
|
/**
|
|
1199
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1378
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1200
1379
|
*/
|
|
1201
1380
|
ExpectedBucketOwner?: string;
|
|
1202
1381
|
}
|
|
@@ -1214,7 +1393,7 @@ export interface DeleteBucketOwnershipControlsRequest {
|
|
|
1214
1393
|
*/
|
|
1215
1394
|
Bucket: string | undefined;
|
|
1216
1395
|
/**
|
|
1217
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1396
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1218
1397
|
*/
|
|
1219
1398
|
ExpectedBucketOwner?: string;
|
|
1220
1399
|
}
|
|
@@ -1232,7 +1411,7 @@ export interface DeleteBucketPolicyRequest {
|
|
|
1232
1411
|
*/
|
|
1233
1412
|
Bucket: string | undefined;
|
|
1234
1413
|
/**
|
|
1235
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1414
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1236
1415
|
*/
|
|
1237
1416
|
ExpectedBucketOwner?: string;
|
|
1238
1417
|
}
|
|
@@ -1250,7 +1429,7 @@ export interface DeleteBucketReplicationRequest {
|
|
|
1250
1429
|
*/
|
|
1251
1430
|
Bucket: string | undefined;
|
|
1252
1431
|
/**
|
|
1253
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1432
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1254
1433
|
*/
|
|
1255
1434
|
ExpectedBucketOwner?: string;
|
|
1256
1435
|
}
|
|
@@ -1268,7 +1447,7 @@ export interface DeleteBucketTaggingRequest {
|
|
|
1268
1447
|
*/
|
|
1269
1448
|
Bucket: string | undefined;
|
|
1270
1449
|
/**
|
|
1271
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1450
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1272
1451
|
*/
|
|
1273
1452
|
ExpectedBucketOwner?: string;
|
|
1274
1453
|
}
|
|
@@ -1286,7 +1465,7 @@ export interface DeleteBucketWebsiteRequest {
|
|
|
1286
1465
|
*/
|
|
1287
1466
|
Bucket: string | undefined;
|
|
1288
1467
|
/**
|
|
1289
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1468
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1290
1469
|
*/
|
|
1291
1470
|
ExpectedBucketOwner?: string;
|
|
1292
1471
|
}
|
|
@@ -1323,7 +1502,8 @@ export interface DeleteObjectRequest {
|
|
|
1323
1502
|
/**
|
|
1324
1503
|
* <p>The bucket name of the bucket containing the object. </p>
|
|
1325
1504
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1326
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
1505
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
1506
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1327
1507
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
1328
1508
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
1329
1509
|
*/
|
|
@@ -1345,18 +1525,18 @@ export interface DeleteObjectRequest {
|
|
|
1345
1525
|
/**
|
|
1346
1526
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
1347
1527
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
1348
|
-
* objects from
|
|
1349
|
-
*
|
|
1528
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
1529
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
1350
1530
|
*/
|
|
1351
1531
|
RequestPayer?: RequestPayer | string;
|
|
1352
1532
|
/**
|
|
1353
1533
|
* <p>Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process
|
|
1354
|
-
* this operation. To use this header, you must have the <code>s3:
|
|
1534
|
+
* this operation. To use this header, you must have the <code>s3:BypassGovernanceRetention</code>
|
|
1355
1535
|
* permission.</p>
|
|
1356
1536
|
*/
|
|
1357
1537
|
BypassGovernanceRetention?: boolean;
|
|
1358
1538
|
/**
|
|
1359
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
1539
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
1360
1540
|
*/
|
|
1361
1541
|
ExpectedBucketOwner?: string;
|
|
1362
1542
|
}
|
|
@@ -3362,7 +3542,8 @@ export interface DeleteObjectsRequest {
|
|
|
3362
3542
|
/**
|
|
3363
3543
|
* <p>The bucket name containing the objects to delete. </p>
|
|
3364
3544
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3365
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
3545
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
3546
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3366
3547
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
3367
3548
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
3368
3549
|
*/
|
|
@@ -3380,20 +3561,32 @@ export interface DeleteObjectsRequest {
|
|
|
3380
3561
|
/**
|
|
3381
3562
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
3382
3563
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
3383
|
-
* objects from
|
|
3384
|
-
*
|
|
3564
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
3565
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3385
3566
|
*/
|
|
3386
3567
|
RequestPayer?: RequestPayer | string;
|
|
3387
3568
|
/**
|
|
3388
3569
|
* <p>Specifies whether you want to delete this object even if it has a Governance-type Object
|
|
3389
|
-
* Lock in place. To use this header, you must have the <code>s3:
|
|
3570
|
+
* Lock in place. To use this header, you must have the <code>s3:BypassGovernanceRetention</code>
|
|
3390
3571
|
* permission.</p>
|
|
3391
3572
|
*/
|
|
3392
3573
|
BypassGovernanceRetention?: boolean;
|
|
3393
3574
|
/**
|
|
3394
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
3575
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3395
3576
|
*/
|
|
3396
3577
|
ExpectedBucketOwner?: string;
|
|
3578
|
+
/**
|
|
3579
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
3580
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
3581
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
3582
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
3583
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
3584
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
3585
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
3586
|
+
* <p>This checksum algorithm must be the same for all parts and it match the checksum
|
|
3587
|
+
* value supplied in the <code>CreateMultipartUpload</code> request.</p>
|
|
3588
|
+
*/
|
|
3589
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3397
3590
|
}
|
|
3398
3591
|
export declare namespace DeleteObjectsRequest {
|
|
3399
3592
|
/**
|
|
@@ -3417,7 +3610,8 @@ export interface DeleteObjectTaggingRequest {
|
|
|
3417
3610
|
/**
|
|
3418
3611
|
* <p>The bucket name containing the objects from which to remove the tags. </p>
|
|
3419
3612
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3420
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
3613
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
3614
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3421
3615
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
3422
3616
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
3423
3617
|
*/
|
|
@@ -3431,7 +3625,7 @@ export interface DeleteObjectTaggingRequest {
|
|
|
3431
3625
|
*/
|
|
3432
3626
|
VersionId?: string;
|
|
3433
3627
|
/**
|
|
3434
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
3628
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3435
3629
|
*/
|
|
3436
3630
|
ExpectedBucketOwner?: string;
|
|
3437
3631
|
}
|
|
@@ -3450,7 +3644,7 @@ export interface DeletePublicAccessBlockRequest {
|
|
|
3450
3644
|
*/
|
|
3451
3645
|
Bucket: string | undefined;
|
|
3452
3646
|
/**
|
|
3453
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
3647
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3454
3648
|
*/
|
|
3455
3649
|
ExpectedBucketOwner?: string;
|
|
3456
3650
|
}
|
|
@@ -3480,7 +3674,7 @@ export interface GetBucketAccelerateConfigurationRequest {
|
|
|
3480
3674
|
*/
|
|
3481
3675
|
Bucket: string | undefined;
|
|
3482
3676
|
/**
|
|
3483
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
3677
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3484
3678
|
*/
|
|
3485
3679
|
ExpectedBucketOwner?: string;
|
|
3486
3680
|
}
|
|
@@ -3514,7 +3708,7 @@ export interface GetBucketAclRequest {
|
|
|
3514
3708
|
*/
|
|
3515
3709
|
Bucket: string | undefined;
|
|
3516
3710
|
/**
|
|
3517
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
3711
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3518
3712
|
*/
|
|
3519
3713
|
ExpectedBucketOwner?: string;
|
|
3520
3714
|
}
|
|
@@ -3755,7 +3949,7 @@ export interface GetBucketAnalyticsConfigurationRequest {
|
|
|
3755
3949
|
*/
|
|
3756
3950
|
Id: string | undefined;
|
|
3757
3951
|
/**
|
|
3758
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
3952
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3759
3953
|
*/
|
|
3760
3954
|
ExpectedBucketOwner?: string;
|
|
3761
3955
|
}
|
|
@@ -3827,7 +4021,7 @@ export interface GetBucketCorsRequest {
|
|
|
3827
4021
|
*/
|
|
3828
4022
|
Bucket: string | undefined;
|
|
3829
4023
|
/**
|
|
3830
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
4024
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3831
4025
|
*/
|
|
3832
4026
|
ExpectedBucketOwner?: string;
|
|
3833
4027
|
}
|
|
@@ -3944,7 +4138,7 @@ export interface GetBucketEncryptionRequest {
|
|
|
3944
4138
|
*/
|
|
3945
4139
|
Bucket: string | undefined;
|
|
3946
4140
|
/**
|
|
3947
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
4141
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
3948
4142
|
*/
|
|
3949
4143
|
ExpectedBucketOwner?: string;
|
|
3950
4144
|
}
|
|
@@ -4216,7 +4410,7 @@ export declare namespace InventoryFilter {
|
|
|
4216
4410
|
const filterSensitiveLog: (obj: InventoryFilter) => any;
|
|
4217
4411
|
}
|
|
4218
4412
|
export declare type InventoryIncludedObjectVersions = "All" | "Current";
|
|
4219
|
-
export declare type InventoryOptionalField = "BucketKeyStatus" | "ETag" | "EncryptionStatus" | "IntelligentTieringAccessTier" | "IsMultipartUploaded" | "LastModifiedDate" | "ObjectLockLegalHoldStatus" | "ObjectLockMode" | "ObjectLockRetainUntilDate" | "ReplicationStatus" | "Size" | "StorageClass";
|
|
4413
|
+
export declare type InventoryOptionalField = "BucketKeyStatus" | "ChecksumAlgorithm" | "ETag" | "EncryptionStatus" | "IntelligentTieringAccessTier" | "IsMultipartUploaded" | "LastModifiedDate" | "ObjectLockLegalHoldStatus" | "ObjectLockMode" | "ObjectLockRetainUntilDate" | "ReplicationStatus" | "Size" | "StorageClass";
|
|
4220
4414
|
export declare type InventoryFrequency = "Daily" | "Weekly";
|
|
4221
4415
|
/**
|
|
4222
4416
|
* <p>Specifies the schedule for generating inventory results.</p>
|
|
@@ -4305,7 +4499,7 @@ export interface GetBucketInventoryConfigurationRequest {
|
|
|
4305
4499
|
*/
|
|
4306
4500
|
Id: string | undefined;
|
|
4307
4501
|
/**
|
|
4308
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
4502
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
4309
4503
|
*/
|
|
4310
4504
|
ExpectedBucketOwner?: string;
|
|
4311
4505
|
}
|
|
@@ -4582,9 +4776,9 @@ export interface LifecycleRule {
|
|
|
4582
4776
|
Prefix?: string;
|
|
4583
4777
|
/**
|
|
4584
4778
|
* <p>The <code>Filter</code> is used to identify objects that a Lifecycle Rule applies to. A
|
|
4585
|
-
*
|
|
4586
|
-
*
|
|
4587
|
-
*
|
|
4779
|
+
* <code>Filter</code> must have exactly one of <code>Prefix</code>, <code>Tag</code>, or
|
|
4780
|
+
* <code>And</code> specified. <code>Filter</code> is required if the
|
|
4781
|
+
* <code>LifecycleRule</code> does not contain a <code>Prefix</code> element.</p>
|
|
4588
4782
|
*/
|
|
4589
4783
|
Filter?: LifecycleRuleFilter;
|
|
4590
4784
|
/**
|
|
@@ -4645,7 +4839,7 @@ export interface GetBucketLifecycleConfigurationRequest {
|
|
|
4645
4839
|
*/
|
|
4646
4840
|
Bucket: string | undefined;
|
|
4647
4841
|
/**
|
|
4648
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
4842
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
4649
4843
|
*/
|
|
4650
4844
|
ExpectedBucketOwner?: string;
|
|
4651
4845
|
}
|
|
@@ -4678,7 +4872,7 @@ export interface GetBucketLocationRequest {
|
|
|
4678
4872
|
*/
|
|
4679
4873
|
Bucket: string | undefined;
|
|
4680
4874
|
/**
|
|
4681
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
4875
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
4682
4876
|
*/
|
|
4683
4877
|
ExpectedBucketOwner?: string;
|
|
4684
4878
|
}
|
|
@@ -4767,7 +4961,7 @@ export interface GetBucketLoggingRequest {
|
|
|
4767
4961
|
*/
|
|
4768
4962
|
Bucket: string | undefined;
|
|
4769
4963
|
/**
|
|
4770
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
4964
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
4771
4965
|
*/
|
|
4772
4966
|
ExpectedBucketOwner?: string;
|
|
4773
4967
|
}
|
|
@@ -4792,7 +4986,7 @@ export interface MetricsAndOperator {
|
|
|
4792
4986
|
*/
|
|
4793
4987
|
Tags?: Tag[];
|
|
4794
4988
|
/**
|
|
4795
|
-
* <p>The access point ARN used when evaluating an AND predicate.</p>
|
|
4989
|
+
* <p>The access point ARN used when evaluating an <code>AND</code> predicate.</p>
|
|
4796
4990
|
*/
|
|
4797
4991
|
AccessPointArn?: string;
|
|
4798
4992
|
}
|
|
@@ -4920,7 +5114,7 @@ export interface GetBucketMetricsConfigurationRequest {
|
|
|
4920
5114
|
*/
|
|
4921
5115
|
Id: string | undefined;
|
|
4922
5116
|
/**
|
|
4923
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
5117
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
4924
5118
|
*/
|
|
4925
5119
|
ExpectedBucketOwner?: string;
|
|
4926
5120
|
}
|
|
@@ -4938,7 +5132,7 @@ export interface GetBucketNotificationConfigurationRequest {
|
|
|
4938
5132
|
*/
|
|
4939
5133
|
Bucket: string | undefined;
|
|
4940
5134
|
/**
|
|
4941
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
5135
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
4942
5136
|
*/
|
|
4943
5137
|
ExpectedBucketOwner?: string;
|
|
4944
5138
|
}
|
|
@@ -5209,7 +5403,7 @@ export interface GetBucketOwnershipControlsRequest {
|
|
|
5209
5403
|
*/
|
|
5210
5404
|
Bucket: string | undefined;
|
|
5211
5405
|
/**
|
|
5212
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
5406
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
5213
5407
|
*/
|
|
5214
5408
|
ExpectedBucketOwner?: string;
|
|
5215
5409
|
}
|
|
@@ -5239,7 +5433,7 @@ export interface GetBucketPolicyRequest {
|
|
|
5239
5433
|
*/
|
|
5240
5434
|
Bucket: string | undefined;
|
|
5241
5435
|
/**
|
|
5242
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
5436
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
5243
5437
|
*/
|
|
5244
5438
|
ExpectedBucketOwner?: string;
|
|
5245
5439
|
}
|
|
@@ -5285,7 +5479,7 @@ export interface GetBucketPolicyStatusRequest {
|
|
|
5285
5479
|
*/
|
|
5286
5480
|
Bucket: string | undefined;
|
|
5287
5481
|
/**
|
|
5288
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
5482
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
5289
5483
|
*/
|
|
5290
5484
|
ExpectedBucketOwner?: string;
|
|
5291
5485
|
}
|
|
@@ -5783,7 +5977,7 @@ export interface GetBucketReplicationRequest {
|
|
|
5783
5977
|
*/
|
|
5784
5978
|
Bucket: string | undefined;
|
|
5785
5979
|
/**
|
|
5786
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
5980
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
5787
5981
|
*/
|
|
5788
5982
|
ExpectedBucketOwner?: string;
|
|
5789
5983
|
}
|
|
@@ -5814,7 +6008,7 @@ export interface GetBucketRequestPaymentRequest {
|
|
|
5814
6008
|
*/
|
|
5815
6009
|
Bucket: string | undefined;
|
|
5816
6010
|
/**
|
|
5817
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
6011
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
5818
6012
|
*/
|
|
5819
6013
|
ExpectedBucketOwner?: string;
|
|
5820
6014
|
}
|
|
@@ -5844,7 +6038,7 @@ export interface GetBucketTaggingRequest {
|
|
|
5844
6038
|
*/
|
|
5845
6039
|
Bucket: string | undefined;
|
|
5846
6040
|
/**
|
|
5847
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
6041
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
5848
6042
|
*/
|
|
5849
6043
|
ExpectedBucketOwner?: string;
|
|
5850
6044
|
}
|
|
@@ -5882,7 +6076,7 @@ export interface GetBucketVersioningRequest {
|
|
|
5882
6076
|
*/
|
|
5883
6077
|
Bucket: string | undefined;
|
|
5884
6078
|
/**
|
|
5885
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
6079
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
5886
6080
|
*/
|
|
5887
6081
|
ExpectedBucketOwner?: string;
|
|
5888
6082
|
}
|
|
@@ -6106,7 +6300,7 @@ export interface GetBucketWebsiteRequest {
|
|
|
6106
6300
|
*/
|
|
6107
6301
|
Bucket: string | undefined;
|
|
6108
6302
|
/**
|
|
6109
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
6303
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6110
6304
|
*/
|
|
6111
6305
|
ExpectedBucketOwner?: string;
|
|
6112
6306
|
}
|
|
@@ -6133,8 +6327,9 @@ export interface GetObjectOutput {
|
|
|
6133
6327
|
AcceptRanges?: string;
|
|
6134
6328
|
/**
|
|
6135
6329
|
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the response includes
|
|
6136
|
-
* this header. It includes the expiry-date and rule-id key-value
|
|
6137
|
-
* expiration information. The value of the rule-id is
|
|
6330
|
+
* this header. It includes the <code>expiry-date</code> and <code>rule-id</code> key-value
|
|
6331
|
+
* pairs providing object expiration information. The value of the <code>rule-id</code> is
|
|
6332
|
+
* URL-encoded.</p>
|
|
6138
6333
|
*/
|
|
6139
6334
|
Expiration?: string;
|
|
6140
6335
|
/**
|
|
@@ -6151,10 +6346,38 @@ export interface GetObjectOutput {
|
|
|
6151
6346
|
*/
|
|
6152
6347
|
ContentLength?: number;
|
|
6153
6348
|
/**
|
|
6154
|
-
* <p>An ETag is an opaque identifier assigned by a web server to a specific
|
|
6155
|
-
* resource found at a URL.</p>
|
|
6349
|
+
* <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a specific
|
|
6350
|
+
* version of a resource found at a URL.</p>
|
|
6156
6351
|
*/
|
|
6157
6352
|
ETag?: string;
|
|
6353
|
+
/**
|
|
6354
|
+
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
6355
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6356
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6357
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6358
|
+
*/
|
|
6359
|
+
ChecksumCRC32?: string;
|
|
6360
|
+
/**
|
|
6361
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
6362
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6363
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6364
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6365
|
+
*/
|
|
6366
|
+
ChecksumCRC32C?: string;
|
|
6367
|
+
/**
|
|
6368
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
6369
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6370
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6371
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6372
|
+
*/
|
|
6373
|
+
ChecksumSHA1?: string;
|
|
6374
|
+
/**
|
|
6375
|
+
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
6376
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6377
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6378
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6379
|
+
*/
|
|
6380
|
+
ChecksumSHA256?: string;
|
|
6158
6381
|
/**
|
|
6159
6382
|
* <p>This is set to the number of metadata entries not returned in <code>x-amz-meta</code>
|
|
6160
6383
|
* headers. This can happen if you create metadata using an API like SOAP that supports more
|
|
@@ -6249,7 +6472,8 @@ export interface GetObjectOutput {
|
|
|
6249
6472
|
*/
|
|
6250
6473
|
ReplicationStatus?: ReplicationStatus | string;
|
|
6251
6474
|
/**
|
|
6252
|
-
* <p>The count of parts this object has
|
|
6475
|
+
* <p>The count of parts this object has. This value is only returned if you specify <code>partNumber</code>
|
|
6476
|
+
* in your request and the object was uploaded as a multipart upload.</p>
|
|
6253
6477
|
*/
|
|
6254
6478
|
PartsCount?: number;
|
|
6255
6479
|
/**
|
|
@@ -6276,34 +6500,38 @@ export declare namespace GetObjectOutput {
|
|
|
6276
6500
|
*/
|
|
6277
6501
|
const filterSensitiveLog: (obj: GetObjectOutput) => any;
|
|
6278
6502
|
}
|
|
6503
|
+
export declare enum ChecksumMode {
|
|
6504
|
+
ENABLED = "ENABLED"
|
|
6505
|
+
}
|
|
6279
6506
|
export interface GetObjectRequest {
|
|
6280
6507
|
/**
|
|
6281
6508
|
* <p>The bucket name containing the object. </p>
|
|
6282
6509
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6283
6510
|
* <p>When using an Object Lambda access point the hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-object-lambda.<i>Region</i>.amazonaws.com.</p>
|
|
6284
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
6511
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
6512
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6285
6513
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
6286
6514
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
6287
6515
|
*/
|
|
6288
6516
|
Bucket: string | undefined;
|
|
6289
6517
|
/**
|
|
6290
|
-
* <p>Return the object only if its entity tag (ETag) is the same as the one specified
|
|
6291
|
-
* otherwise return a 412 (precondition failed).</p>
|
|
6518
|
+
* <p>Return the object only if its entity tag (ETag) is the same as the one specified;
|
|
6519
|
+
* otherwise, return a 412 (precondition failed) error.</p>
|
|
6292
6520
|
*/
|
|
6293
6521
|
IfMatch?: string;
|
|
6294
6522
|
/**
|
|
6295
|
-
* <p>Return the object only if it has been modified since the specified time
|
|
6296
|
-
* return a 304 (not modified).</p>
|
|
6523
|
+
* <p>Return the object only if it has been modified since the specified time; otherwise,
|
|
6524
|
+
* return a 304 (not modified) error.</p>
|
|
6297
6525
|
*/
|
|
6298
6526
|
IfModifiedSince?: Date;
|
|
6299
6527
|
/**
|
|
6300
|
-
* <p>Return the object only if its entity tag (ETag) is different from the one specified
|
|
6301
|
-
* otherwise return a 304 (not modified).</p>
|
|
6528
|
+
* <p>Return the object only if its entity tag (ETag) is different from the one specified;
|
|
6529
|
+
* otherwise, return a 304 (not modified) error.</p>
|
|
6302
6530
|
*/
|
|
6303
6531
|
IfNoneMatch?: string;
|
|
6304
6532
|
/**
|
|
6305
|
-
* <p>Return the object only if it has not been modified since the specified time
|
|
6306
|
-
* return a 412 (precondition failed).</p>
|
|
6533
|
+
* <p>Return the object only if it has not been modified since the specified time; otherwise,
|
|
6534
|
+
* return a 412 (precondition failed) error.</p>
|
|
6307
6535
|
*/
|
|
6308
6536
|
IfUnmodifiedSince?: Date;
|
|
6309
6537
|
/**
|
|
@@ -6368,8 +6596,8 @@ export interface GetObjectRequest {
|
|
|
6368
6596
|
/**
|
|
6369
6597
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
6370
6598
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
6371
|
-
* objects from
|
|
6372
|
-
*
|
|
6599
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
6600
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6373
6601
|
*/
|
|
6374
6602
|
RequestPayer?: RequestPayer | string;
|
|
6375
6603
|
/**
|
|
@@ -6379,9 +6607,13 @@ export interface GetObjectRequest {
|
|
|
6379
6607
|
*/
|
|
6380
6608
|
PartNumber?: number;
|
|
6381
6609
|
/**
|
|
6382
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
6610
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6383
6611
|
*/
|
|
6384
6612
|
ExpectedBucketOwner?: string;
|
|
6613
|
+
/**
|
|
6614
|
+
* <p>To retrieve the checksum, this mode must be enabled.</p>
|
|
6615
|
+
*/
|
|
6616
|
+
ChecksumMode?: ChecksumMode | string;
|
|
6385
6617
|
}
|
|
6386
6618
|
export declare namespace GetObjectRequest {
|
|
6387
6619
|
/**
|
|
@@ -6392,18 +6624,26 @@ export declare namespace GetObjectRequest {
|
|
|
6392
6624
|
/**
|
|
6393
6625
|
* <p>Object is archived and inaccessible until restored.</p>
|
|
6394
6626
|
*/
|
|
6395
|
-
export
|
|
6396
|
-
name: "InvalidObjectState";
|
|
6397
|
-
$fault: "client";
|
|
6627
|
+
export declare class InvalidObjectState extends __BaseException {
|
|
6628
|
+
readonly name: "InvalidObjectState";
|
|
6629
|
+
readonly $fault: "client";
|
|
6398
6630
|
StorageClass?: StorageClass | string;
|
|
6399
6631
|
AccessTier?: IntelligentTieringAccessTier | string;
|
|
6632
|
+
/**
|
|
6633
|
+
* @internal
|
|
6634
|
+
*/
|
|
6635
|
+
constructor(opts: __ExceptionOptionType<InvalidObjectState, __BaseException>);
|
|
6400
6636
|
}
|
|
6401
6637
|
/**
|
|
6402
6638
|
* <p>The specified key does not exist.</p>
|
|
6403
6639
|
*/
|
|
6404
|
-
export
|
|
6405
|
-
name: "NoSuchKey";
|
|
6406
|
-
$fault: "client";
|
|
6640
|
+
export declare class NoSuchKey extends __BaseException {
|
|
6641
|
+
readonly name: "NoSuchKey";
|
|
6642
|
+
readonly $fault: "client";
|
|
6643
|
+
/**
|
|
6644
|
+
* @internal
|
|
6645
|
+
*/
|
|
6646
|
+
constructor(opts: __ExceptionOptionType<NoSuchKey, __BaseException>);
|
|
6407
6647
|
}
|
|
6408
6648
|
export interface GetObjectAclOutput {
|
|
6409
6649
|
/**
|
|
@@ -6445,12 +6685,12 @@ export interface GetObjectAclRequest {
|
|
|
6445
6685
|
/**
|
|
6446
6686
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
6447
6687
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
6448
|
-
* objects from
|
|
6449
|
-
*
|
|
6688
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
6689
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6450
6690
|
*/
|
|
6451
6691
|
RequestPayer?: RequestPayer | string;
|
|
6452
6692
|
/**
|
|
6453
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
6693
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6454
6694
|
*/
|
|
6455
6695
|
ExpectedBucketOwner?: string;
|
|
6456
6696
|
}
|
|
@@ -6461,11 +6701,265 @@ export declare namespace GetObjectAclRequest {
|
|
|
6461
6701
|
const filterSensitiveLog: (obj: GetObjectAclRequest) => any;
|
|
6462
6702
|
}
|
|
6463
6703
|
/**
|
|
6464
|
-
* <p>
|
|
6704
|
+
* <p>Contains all the possible checksum or digest values for an object.</p>
|
|
6705
|
+
*/
|
|
6706
|
+
export interface Checksum {
|
|
6707
|
+
/**
|
|
6708
|
+
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
6709
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6710
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6711
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6712
|
+
*/
|
|
6713
|
+
ChecksumCRC32?: string;
|
|
6714
|
+
/**
|
|
6715
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
6716
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6717
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6718
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6719
|
+
*/
|
|
6720
|
+
ChecksumCRC32C?: string;
|
|
6721
|
+
/**
|
|
6722
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
6723
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6724
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6725
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6726
|
+
*/
|
|
6727
|
+
ChecksumSHA1?: string;
|
|
6728
|
+
/**
|
|
6729
|
+
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
6730
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6731
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6732
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6733
|
+
*/
|
|
6734
|
+
ChecksumSHA256?: string;
|
|
6735
|
+
}
|
|
6736
|
+
export declare namespace Checksum {
|
|
6737
|
+
/**
|
|
6738
|
+
* @internal
|
|
6739
|
+
*/
|
|
6740
|
+
const filterSensitiveLog: (obj: Checksum) => any;
|
|
6741
|
+
}
|
|
6742
|
+
/**
|
|
6743
|
+
* <p>A container for elements related to an individual part.</p>
|
|
6744
|
+
*/
|
|
6745
|
+
export interface ObjectPart {
|
|
6746
|
+
/**
|
|
6747
|
+
* <p>The part number identifying the part. This value is a positive integer between 1 and
|
|
6748
|
+
* 10,000.</p>
|
|
6749
|
+
*/
|
|
6750
|
+
PartNumber?: number;
|
|
6751
|
+
/**
|
|
6752
|
+
* <p>The size of the uploaded part in bytes.</p>
|
|
6753
|
+
*/
|
|
6754
|
+
Size?: number;
|
|
6755
|
+
/**
|
|
6756
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
6757
|
+
* This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
|
|
6758
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
6759
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
6760
|
+
*/
|
|
6761
|
+
ChecksumCRC32?: string;
|
|
6762
|
+
/**
|
|
6763
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
6764
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6765
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6766
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6767
|
+
*/
|
|
6768
|
+
ChecksumCRC32C?: string;
|
|
6769
|
+
/**
|
|
6770
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
6771
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6772
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6773
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6774
|
+
*/
|
|
6775
|
+
ChecksumSHA1?: string;
|
|
6776
|
+
/**
|
|
6777
|
+
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
6778
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
6779
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
6780
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6781
|
+
*/
|
|
6782
|
+
ChecksumSHA256?: string;
|
|
6783
|
+
}
|
|
6784
|
+
export declare namespace ObjectPart {
|
|
6785
|
+
/**
|
|
6786
|
+
* @internal
|
|
6787
|
+
*/
|
|
6788
|
+
const filterSensitiveLog: (obj: ObjectPart) => any;
|
|
6789
|
+
}
|
|
6790
|
+
/**
|
|
6791
|
+
* <p>A collection of parts associated with a multipart upload.</p>
|
|
6792
|
+
*/
|
|
6793
|
+
export interface GetObjectAttributesParts {
|
|
6794
|
+
/**
|
|
6795
|
+
* <p>The total number of parts.</p>
|
|
6796
|
+
*/
|
|
6797
|
+
TotalPartsCount?: number;
|
|
6798
|
+
/**
|
|
6799
|
+
* <p>The marker for the current part.</p>
|
|
6800
|
+
*/
|
|
6801
|
+
PartNumberMarker?: string;
|
|
6802
|
+
/**
|
|
6803
|
+
* <p>When a list is truncated, this element specifies the last part in the list, as well as
|
|
6804
|
+
* the value to use for the <code>PartNumberMarker</code> request parameter in a subsequent
|
|
6805
|
+
* request.</p>
|
|
6806
|
+
*/
|
|
6807
|
+
NextPartNumberMarker?: string;
|
|
6808
|
+
/**
|
|
6809
|
+
* <p>The maximum number of parts allowed in the response.</p>
|
|
6810
|
+
*/
|
|
6811
|
+
MaxParts?: number;
|
|
6812
|
+
/**
|
|
6813
|
+
* <p>Indicates whether the returned list of parts is truncated. A value of
|
|
6814
|
+
* <code>true</code> indicates that the list was truncated. A list can be truncated if the
|
|
6815
|
+
* number of parts exceeds the limit returned in the <code>MaxParts</code> element.</p>
|
|
6816
|
+
*/
|
|
6817
|
+
IsTruncated?: boolean;
|
|
6818
|
+
/**
|
|
6819
|
+
* <p>A container for elements related to a particular part. A response can contain zero or
|
|
6820
|
+
* more <code>Parts</code> elements.</p>
|
|
6821
|
+
*/
|
|
6822
|
+
Parts?: ObjectPart[];
|
|
6823
|
+
}
|
|
6824
|
+
export declare namespace GetObjectAttributesParts {
|
|
6825
|
+
/**
|
|
6826
|
+
* @internal
|
|
6827
|
+
*/
|
|
6828
|
+
const filterSensitiveLog: (obj: GetObjectAttributesParts) => any;
|
|
6829
|
+
}
|
|
6830
|
+
export interface GetObjectAttributesOutput {
|
|
6831
|
+
/**
|
|
6832
|
+
* <p>Specifies whether the object retrieved was (<code>true</code>) or was not
|
|
6833
|
+
* (<code>false</code>) a delete marker. If <code>false</code>, this response header does
|
|
6834
|
+
* not appear in the response.</p>
|
|
6835
|
+
*/
|
|
6836
|
+
DeleteMarker?: boolean;
|
|
6837
|
+
/**
|
|
6838
|
+
* <p>The creation date of the object.</p>
|
|
6839
|
+
*/
|
|
6840
|
+
LastModified?: Date;
|
|
6841
|
+
/**
|
|
6842
|
+
* <p>The version ID of the object.</p>
|
|
6843
|
+
*/
|
|
6844
|
+
VersionId?: string;
|
|
6845
|
+
/**
|
|
6846
|
+
* <p>If present, indicates that the requester was successfully charged for the
|
|
6847
|
+
* request.</p>
|
|
6848
|
+
*/
|
|
6849
|
+
RequestCharged?: RequestCharged | string;
|
|
6850
|
+
/**
|
|
6851
|
+
* <p>An ETag is an opaque identifier assigned by a web server to a specific version of a
|
|
6852
|
+
* resource found at a URL.</p>
|
|
6853
|
+
*/
|
|
6854
|
+
ETag?: string;
|
|
6855
|
+
/**
|
|
6856
|
+
* <p>The checksum or digest of the object.</p>
|
|
6857
|
+
*/
|
|
6858
|
+
Checksum?: Checksum;
|
|
6859
|
+
/**
|
|
6860
|
+
* <p>A collection of parts associated with a multipart upload.</p>
|
|
6861
|
+
*/
|
|
6862
|
+
ObjectParts?: GetObjectAttributesParts;
|
|
6863
|
+
/**
|
|
6864
|
+
* <p>Provides the storage class information of the object. Amazon S3 returns this header for all
|
|
6865
|
+
* objects except for S3 Standard storage class objects.</p>
|
|
6866
|
+
*
|
|
6867
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html">Storage
|
|
6868
|
+
* Classes</a>.</p>
|
|
6869
|
+
*/
|
|
6870
|
+
StorageClass?: StorageClass | string;
|
|
6871
|
+
/**
|
|
6872
|
+
* <p>The size of the object in bytes.</p>
|
|
6873
|
+
*/
|
|
6874
|
+
ObjectSize?: number;
|
|
6875
|
+
}
|
|
6876
|
+
export declare namespace GetObjectAttributesOutput {
|
|
6877
|
+
/**
|
|
6878
|
+
* @internal
|
|
6879
|
+
*/
|
|
6880
|
+
const filterSensitiveLog: (obj: GetObjectAttributesOutput) => any;
|
|
6881
|
+
}
|
|
6882
|
+
export declare enum ObjectAttributes {
|
|
6883
|
+
CHECKSUM = "Checksum",
|
|
6884
|
+
ETAG = "ETag",
|
|
6885
|
+
OBJECT_PARTS = "ObjectParts",
|
|
6886
|
+
OBJECT_SIZE = "ObjectSize",
|
|
6887
|
+
STORAGE_CLASS = "StorageClass"
|
|
6888
|
+
}
|
|
6889
|
+
export interface GetObjectAttributesRequest {
|
|
6890
|
+
/**
|
|
6891
|
+
* <p>The name of the bucket that contains the object.</p>
|
|
6892
|
+
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6893
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
6894
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6895
|
+
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
6896
|
+
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
6897
|
+
*/
|
|
6898
|
+
Bucket: string | undefined;
|
|
6899
|
+
/**
|
|
6900
|
+
* <p>The object key.</p>
|
|
6901
|
+
*/
|
|
6902
|
+
Key: string | undefined;
|
|
6903
|
+
/**
|
|
6904
|
+
* <p>The version ID used to reference a specific version of the object.</p>
|
|
6905
|
+
*/
|
|
6906
|
+
VersionId?: string;
|
|
6907
|
+
/**
|
|
6908
|
+
* <p>Sets the maximum number of parts to return.</p>
|
|
6909
|
+
*/
|
|
6910
|
+
MaxParts?: number;
|
|
6911
|
+
/**
|
|
6912
|
+
* <p>Specifies the part after which listing should begin. Only parts with higher part numbers
|
|
6913
|
+
* will be listed.</p>
|
|
6914
|
+
*/
|
|
6915
|
+
PartNumberMarker?: string;
|
|
6916
|
+
/**
|
|
6917
|
+
* <p>Specifies the algorithm to use when encrypting the object (for example,
|
|
6918
|
+
* AES256).</p>
|
|
6919
|
+
*/
|
|
6920
|
+
SSECustomerAlgorithm?: string;
|
|
6921
|
+
/**
|
|
6922
|
+
* <p>Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
|
|
6923
|
+
* value is used to store the object and then it is discarded; Amazon S3 does not store the
|
|
6924
|
+
* encryption key. The key must be appropriate for use with the algorithm specified in the
|
|
6925
|
+
* <code>x-amz-server-side-encryption-customer-algorithm</code> header.</p>
|
|
6926
|
+
*/
|
|
6927
|
+
SSECustomerKey?: string;
|
|
6928
|
+
/**
|
|
6929
|
+
* <p>Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses
|
|
6930
|
+
* this header for a message integrity check to ensure that the encryption key was transmitted
|
|
6931
|
+
* without error.</p>
|
|
6932
|
+
*/
|
|
6933
|
+
SSECustomerKeyMD5?: string;
|
|
6934
|
+
/**
|
|
6935
|
+
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
6936
|
+
* owners need not specify this parameter in their requests. For information about downloading
|
|
6937
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
6938
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6939
|
+
*/
|
|
6940
|
+
RequestPayer?: RequestPayer | string;
|
|
6941
|
+
/**
|
|
6942
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6943
|
+
*/
|
|
6944
|
+
ExpectedBucketOwner?: string;
|
|
6945
|
+
/**
|
|
6946
|
+
* <p>An XML header that specifies the fields at the root level that you want returned in
|
|
6947
|
+
* the response. Fields that you do not specify are not returned.</p>
|
|
6948
|
+
*/
|
|
6949
|
+
ObjectAttributes: (ObjectAttributes | string)[] | undefined;
|
|
6950
|
+
}
|
|
6951
|
+
export declare namespace GetObjectAttributesRequest {
|
|
6952
|
+
/**
|
|
6953
|
+
* @internal
|
|
6954
|
+
*/
|
|
6955
|
+
const filterSensitiveLog: (obj: GetObjectAttributesRequest) => any;
|
|
6956
|
+
}
|
|
6957
|
+
/**
|
|
6958
|
+
* <p>A legal hold configuration for an object.</p>
|
|
6465
6959
|
*/
|
|
6466
6960
|
export interface ObjectLockLegalHold {
|
|
6467
6961
|
/**
|
|
6468
|
-
* <p>Indicates whether the specified object has a
|
|
6962
|
+
* <p>Indicates whether the specified object has a legal hold in place.</p>
|
|
6469
6963
|
*/
|
|
6470
6964
|
Status?: ObjectLockLegalHoldStatus | string;
|
|
6471
6965
|
}
|
|
@@ -6477,7 +6971,7 @@ export declare namespace ObjectLockLegalHold {
|
|
|
6477
6971
|
}
|
|
6478
6972
|
export interface GetObjectLegalHoldOutput {
|
|
6479
6973
|
/**
|
|
6480
|
-
* <p>The current
|
|
6974
|
+
* <p>The current legal hold status for the specified object.</p>
|
|
6481
6975
|
*/
|
|
6482
6976
|
LegalHold?: ObjectLockLegalHold;
|
|
6483
6977
|
}
|
|
@@ -6489,29 +6983,29 @@ export declare namespace GetObjectLegalHoldOutput {
|
|
|
6489
6983
|
}
|
|
6490
6984
|
export interface GetObjectLegalHoldRequest {
|
|
6491
6985
|
/**
|
|
6492
|
-
* <p>The bucket name containing the object whose
|
|
6986
|
+
* <p>The bucket name containing the object whose legal hold status you want to retrieve. </p>
|
|
6493
6987
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6494
6988
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
6495
6989
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
6496
6990
|
*/
|
|
6497
6991
|
Bucket: string | undefined;
|
|
6498
6992
|
/**
|
|
6499
|
-
* <p>The key name for the object whose
|
|
6993
|
+
* <p>The key name for the object whose legal hold status you want to retrieve.</p>
|
|
6500
6994
|
*/
|
|
6501
6995
|
Key: string | undefined;
|
|
6502
6996
|
/**
|
|
6503
|
-
* <p>The version ID of the object whose
|
|
6997
|
+
* <p>The version ID of the object whose legal hold status you want to retrieve.</p>
|
|
6504
6998
|
*/
|
|
6505
6999
|
VersionId?: string;
|
|
6506
7000
|
/**
|
|
6507
7001
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
6508
7002
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
6509
|
-
* objects from
|
|
6510
|
-
*
|
|
7003
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
7004
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6511
7005
|
*/
|
|
6512
7006
|
RequestPayer?: RequestPayer | string;
|
|
6513
7007
|
/**
|
|
6514
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7008
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6515
7009
|
*/
|
|
6516
7010
|
ExpectedBucketOwner?: string;
|
|
6517
7011
|
}
|
|
@@ -6626,7 +7120,7 @@ export interface GetObjectLockConfigurationRequest {
|
|
|
6626
7120
|
*/
|
|
6627
7121
|
Bucket: string | undefined;
|
|
6628
7122
|
/**
|
|
6629
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7123
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6630
7124
|
*/
|
|
6631
7125
|
ExpectedBucketOwner?: string;
|
|
6632
7126
|
}
|
|
@@ -6686,12 +7180,12 @@ export interface GetObjectRetentionRequest {
|
|
|
6686
7180
|
/**
|
|
6687
7181
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
6688
7182
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
6689
|
-
* objects from
|
|
6690
|
-
*
|
|
7183
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
7184
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6691
7185
|
*/
|
|
6692
7186
|
RequestPayer?: RequestPayer | string;
|
|
6693
7187
|
/**
|
|
6694
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7188
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6695
7189
|
*/
|
|
6696
7190
|
ExpectedBucketOwner?: string;
|
|
6697
7191
|
}
|
|
@@ -6721,7 +7215,8 @@ export interface GetObjectTaggingRequest {
|
|
|
6721
7215
|
/**
|
|
6722
7216
|
* <p>The bucket name containing the object for which to get the tagging information. </p>
|
|
6723
7217
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6724
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
7218
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
7219
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6725
7220
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
6726
7221
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
6727
7222
|
*/
|
|
@@ -6735,14 +7230,14 @@ export interface GetObjectTaggingRequest {
|
|
|
6735
7230
|
*/
|
|
6736
7231
|
VersionId?: string;
|
|
6737
7232
|
/**
|
|
6738
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7233
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6739
7234
|
*/
|
|
6740
7235
|
ExpectedBucketOwner?: string;
|
|
6741
7236
|
/**
|
|
6742
7237
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
6743
7238
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
6744
|
-
* objects from
|
|
6745
|
-
*
|
|
7239
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
7240
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6746
7241
|
*/
|
|
6747
7242
|
RequestPayer?: RequestPayer | string;
|
|
6748
7243
|
}
|
|
@@ -6783,12 +7278,12 @@ export interface GetObjectTorrentRequest {
|
|
|
6783
7278
|
/**
|
|
6784
7279
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
6785
7280
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
6786
|
-
* objects from
|
|
6787
|
-
*
|
|
7281
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
7282
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6788
7283
|
*/
|
|
6789
7284
|
RequestPayer?: RequestPayer | string;
|
|
6790
7285
|
/**
|
|
6791
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7286
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6792
7287
|
*/
|
|
6793
7288
|
ExpectedBucketOwner?: string;
|
|
6794
7289
|
}
|
|
@@ -6810,7 +7305,7 @@ export interface PublicAccessBlockConfiguration {
|
|
|
6810
7305
|
* behavior:</p>
|
|
6811
7306
|
* <ul>
|
|
6812
7307
|
* <li>
|
|
6813
|
-
* <p>PUT Bucket
|
|
7308
|
+
* <p>PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL is
|
|
6814
7309
|
* public.</p>
|
|
6815
7310
|
* </li>
|
|
6816
7311
|
* <li>
|
|
@@ -6877,7 +7372,7 @@ export interface GetPublicAccessBlockRequest {
|
|
|
6877
7372
|
*/
|
|
6878
7373
|
Bucket: string | undefined;
|
|
6879
7374
|
/**
|
|
6880
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7375
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6881
7376
|
*/
|
|
6882
7377
|
ExpectedBucketOwner?: string;
|
|
6883
7378
|
}
|
|
@@ -6891,13 +7386,14 @@ export interface HeadBucketRequest {
|
|
|
6891
7386
|
/**
|
|
6892
7387
|
* <p>The bucket name.</p>
|
|
6893
7388
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6894
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
7389
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
7390
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
6895
7391
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
6896
7392
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
6897
7393
|
*/
|
|
6898
7394
|
Bucket: string | undefined;
|
|
6899
7395
|
/**
|
|
6900
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7396
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
6901
7397
|
*/
|
|
6902
7398
|
ExpectedBucketOwner?: string;
|
|
6903
7399
|
}
|
|
@@ -6910,9 +7406,13 @@ export declare namespace HeadBucketRequest {
|
|
|
6910
7406
|
/**
|
|
6911
7407
|
* <p>The specified content does not exist.</p>
|
|
6912
7408
|
*/
|
|
6913
|
-
export
|
|
6914
|
-
name: "NotFound";
|
|
6915
|
-
$fault: "client";
|
|
7409
|
+
export declare class NotFound extends __BaseException {
|
|
7410
|
+
readonly name: "NotFound";
|
|
7411
|
+
readonly $fault: "client";
|
|
7412
|
+
/**
|
|
7413
|
+
* @internal
|
|
7414
|
+
*/
|
|
7415
|
+
constructor(opts: __ExceptionOptionType<NotFound, __BaseException>);
|
|
6916
7416
|
}
|
|
6917
7417
|
export declare type ArchiveStatus = "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS";
|
|
6918
7418
|
export interface HeadObjectOutput {
|
|
@@ -6927,8 +7427,9 @@ export interface HeadObjectOutput {
|
|
|
6927
7427
|
AcceptRanges?: string;
|
|
6928
7428
|
/**
|
|
6929
7429
|
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the response includes
|
|
6930
|
-
* this header. It includes the expiry-date and rule-id key-value
|
|
6931
|
-
* expiration information. The value of the rule-id is
|
|
7430
|
+
* this header. It includes the <code>expiry-date</code> and <code>rule-id</code> key-value
|
|
7431
|
+
* pairs providing object expiration information. The value of the <code>rule-id</code> is
|
|
7432
|
+
* URL-encoded.</p>
|
|
6932
7433
|
*/
|
|
6933
7434
|
Expiration?: string;
|
|
6934
7435
|
/**
|
|
@@ -6962,8 +7463,36 @@ export interface HeadObjectOutput {
|
|
|
6962
7463
|
*/
|
|
6963
7464
|
ContentLength?: number;
|
|
6964
7465
|
/**
|
|
6965
|
-
* <p>
|
|
6966
|
-
*
|
|
7466
|
+
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
7467
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
7468
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
7469
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7470
|
+
*/
|
|
7471
|
+
ChecksumCRC32?: string;
|
|
7472
|
+
/**
|
|
7473
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
7474
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
7475
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
7476
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7477
|
+
*/
|
|
7478
|
+
ChecksumCRC32C?: string;
|
|
7479
|
+
/**
|
|
7480
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
7481
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
7482
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
7483
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7484
|
+
*/
|
|
7485
|
+
ChecksumSHA1?: string;
|
|
7486
|
+
/**
|
|
7487
|
+
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
7488
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
7489
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
7490
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7491
|
+
*/
|
|
7492
|
+
ChecksumSHA256?: string;
|
|
7493
|
+
/**
|
|
7494
|
+
* <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a specific
|
|
7495
|
+
* version of a resource found at a URL.</p>
|
|
6967
7496
|
*/
|
|
6968
7497
|
ETag?: string;
|
|
6969
7498
|
/**
|
|
@@ -7066,7 +7595,8 @@ export interface HeadObjectOutput {
|
|
|
7066
7595
|
* as follows:</p>
|
|
7067
7596
|
* <ul>
|
|
7068
7597
|
* <li>
|
|
7069
|
-
* <p>
|
|
7598
|
+
* <p>
|
|
7599
|
+
* <b>If requesting an object from the source bucket</b>, Amazon S3 will return the
|
|
7070
7600
|
* <code>x-amz-replication-status</code> header if the object in your request is
|
|
7071
7601
|
* eligible for replication.</p>
|
|
7072
7602
|
* <p> For example, suppose that in your replication configuration, you specify object
|
|
@@ -7078,13 +7608,15 @@ export interface HeadObjectOutput {
|
|
|
7078
7608
|
* FAILED indicating object replication status.</p>
|
|
7079
7609
|
* </li>
|
|
7080
7610
|
* <li>
|
|
7081
|
-
* <p>
|
|
7611
|
+
* <p>
|
|
7612
|
+
* <b>If requesting an object from a destination bucket</b>, Amazon S3 will return the
|
|
7082
7613
|
* <code>x-amz-replication-status</code> header with value REPLICA if the object in
|
|
7083
7614
|
* your request is a replica that Amazon S3 created and there is no replica modification
|
|
7084
7615
|
* replication in progress.</p>
|
|
7085
7616
|
* </li>
|
|
7086
7617
|
* <li>
|
|
7087
|
-
* <p>
|
|
7618
|
+
* <p>
|
|
7619
|
+
* <b>When replicating objects to multiple destination buckets</b>, the
|
|
7088
7620
|
* <code>x-amz-replication-status</code> header acts differently. The header of the
|
|
7089
7621
|
* source object will only return a value of COMPLETED when replication is successful to
|
|
7090
7622
|
* all destinations. The header will remain at value PENDING until replication has
|
|
@@ -7097,7 +7629,8 @@ export interface HeadObjectOutput {
|
|
|
7097
7629
|
*/
|
|
7098
7630
|
ReplicationStatus?: ReplicationStatus | string;
|
|
7099
7631
|
/**
|
|
7100
|
-
* <p>The count of parts this object has
|
|
7632
|
+
* <p>The count of parts this object has. This value is only returned if you specify <code>partNumber</code>
|
|
7633
|
+
* in your request and the object was uploaded as a multipart upload.</p>
|
|
7101
7634
|
*/
|
|
7102
7635
|
PartsCount?: number;
|
|
7103
7636
|
/**
|
|
@@ -7130,29 +7663,30 @@ export interface HeadObjectRequest {
|
|
|
7130
7663
|
/**
|
|
7131
7664
|
* <p>The name of the bucket containing the object.</p>
|
|
7132
7665
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7133
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
7666
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
7667
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7134
7668
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
7135
7669
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
7136
7670
|
*/
|
|
7137
7671
|
Bucket: string | undefined;
|
|
7138
7672
|
/**
|
|
7139
|
-
* <p>Return the object only if its entity tag (ETag) is the same as the one specified
|
|
7140
|
-
* otherwise return a 412 (precondition failed).</p>
|
|
7673
|
+
* <p>Return the object only if its entity tag (ETag) is the same as the one specified;
|
|
7674
|
+
* otherwise, return a 412 (precondition failed) error.</p>
|
|
7141
7675
|
*/
|
|
7142
7676
|
IfMatch?: string;
|
|
7143
7677
|
/**
|
|
7144
|
-
* <p>Return the object only if it has been modified since the specified time
|
|
7145
|
-
* return a 304 (not modified).</p>
|
|
7678
|
+
* <p>Return the object only if it has been modified since the specified time; otherwise,
|
|
7679
|
+
* return a 304 (not modified) error.</p>
|
|
7146
7680
|
*/
|
|
7147
7681
|
IfModifiedSince?: Date;
|
|
7148
7682
|
/**
|
|
7149
|
-
* <p>Return the object only if its entity tag (ETag) is different from the one specified
|
|
7150
|
-
* otherwise return a 304 (not modified).</p>
|
|
7683
|
+
* <p>Return the object only if its entity tag (ETag) is different from the one specified;
|
|
7684
|
+
* otherwise, return a 304 (not modified) error.</p>
|
|
7151
7685
|
*/
|
|
7152
7686
|
IfNoneMatch?: string;
|
|
7153
7687
|
/**
|
|
7154
|
-
* <p>Return the object only if it has not been modified since the specified time
|
|
7155
|
-
* return a 412 (precondition failed).</p>
|
|
7688
|
+
* <p>Return the object only if it has not been modified since the specified time; otherwise,
|
|
7689
|
+
* return a 412 (precondition failed) error.</p>
|
|
7156
7690
|
*/
|
|
7157
7691
|
IfUnmodifiedSince?: Date;
|
|
7158
7692
|
/**
|
|
@@ -7189,8 +7723,8 @@ export interface HeadObjectRequest {
|
|
|
7189
7723
|
/**
|
|
7190
7724
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
7191
7725
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
7192
|
-
* objects from
|
|
7193
|
-
*
|
|
7726
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
7727
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7194
7728
|
*/
|
|
7195
7729
|
RequestPayer?: RequestPayer | string;
|
|
7196
7730
|
/**
|
|
@@ -7200,9 +7734,16 @@ export interface HeadObjectRequest {
|
|
|
7200
7734
|
*/
|
|
7201
7735
|
PartNumber?: number;
|
|
7202
7736
|
/**
|
|
7203
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7737
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
7204
7738
|
*/
|
|
7205
7739
|
ExpectedBucketOwner?: string;
|
|
7740
|
+
/**
|
|
7741
|
+
* <p>To retrieve the checksum, this parameter must be enabled.</p>
|
|
7742
|
+
* <p>In addition, if you enable <code>ChecksumMode</code> and the object is encrypted with
|
|
7743
|
+
* Amazon Web Services Key Management Service (Amazon Web Services KMS), you must have permission to use the
|
|
7744
|
+
* <code>kms:Decrypt</code> action for the request to succeed.</p>
|
|
7745
|
+
*/
|
|
7746
|
+
ChecksumMode?: ChecksumMode | string;
|
|
7206
7747
|
}
|
|
7207
7748
|
export declare namespace HeadObjectRequest {
|
|
7208
7749
|
/**
|
|
@@ -7254,7 +7795,7 @@ export interface ListBucketAnalyticsConfigurationsRequest {
|
|
|
7254
7795
|
*/
|
|
7255
7796
|
ContinuationToken?: string;
|
|
7256
7797
|
/**
|
|
7257
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7798
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
7258
7799
|
*/
|
|
7259
7800
|
ExpectedBucketOwner?: string;
|
|
7260
7801
|
}
|
|
@@ -7267,13 +7808,13 @@ export declare namespace ListBucketAnalyticsConfigurationsRequest {
|
|
|
7267
7808
|
export interface ListBucketIntelligentTieringConfigurationsOutput {
|
|
7268
7809
|
/**
|
|
7269
7810
|
* <p>Indicates whether the returned list of analytics configurations is complete. A value of
|
|
7270
|
-
*
|
|
7271
|
-
*
|
|
7811
|
+
* <code>true</code> indicates that the list is not complete and the
|
|
7812
|
+
* <code>NextContinuationToken</code> will be provided for a subsequent request.</p>
|
|
7272
7813
|
*/
|
|
7273
7814
|
IsTruncated?: boolean;
|
|
7274
7815
|
/**
|
|
7275
|
-
* <p>The ContinuationToken that represents a placeholder from where this request
|
|
7276
|
-
* begin.</p>
|
|
7816
|
+
* <p>The <code>ContinuationToken</code> that represents a placeholder from where this request
|
|
7817
|
+
* should begin.</p>
|
|
7277
7818
|
*/
|
|
7278
7819
|
ContinuationToken?: string;
|
|
7279
7820
|
/**
|
|
@@ -7301,8 +7842,8 @@ export interface ListBucketIntelligentTieringConfigurationsRequest {
|
|
|
7301
7842
|
*/
|
|
7302
7843
|
Bucket: string | undefined;
|
|
7303
7844
|
/**
|
|
7304
|
-
* <p>The ContinuationToken that represents a placeholder from where this request
|
|
7305
|
-
* begin.</p>
|
|
7845
|
+
* <p>The <code>ContinuationToken</code> that represents a placeholder from where this request
|
|
7846
|
+
* should begin.</p>
|
|
7306
7847
|
*/
|
|
7307
7848
|
ContinuationToken?: string;
|
|
7308
7849
|
}
|
|
@@ -7355,7 +7896,7 @@ export interface ListBucketInventoryConfigurationsRequest {
|
|
|
7355
7896
|
*/
|
|
7356
7897
|
ContinuationToken?: string;
|
|
7357
7898
|
/**
|
|
7358
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7899
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
7359
7900
|
*/
|
|
7360
7901
|
ExpectedBucketOwner?: string;
|
|
7361
7902
|
}
|
|
@@ -7410,7 +7951,7 @@ export interface ListBucketMetricsConfigurationsRequest {
|
|
|
7410
7951
|
*/
|
|
7411
7952
|
ContinuationToken?: string;
|
|
7412
7953
|
/**
|
|
7413
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
7954
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
7414
7955
|
*/
|
|
7415
7956
|
ExpectedBucketOwner?: string;
|
|
7416
7957
|
}
|
|
@@ -7442,7 +7983,7 @@ export declare namespace Bucket {
|
|
|
7442
7983
|
}
|
|
7443
7984
|
export interface ListBucketsOutput {
|
|
7444
7985
|
/**
|
|
7445
|
-
* <p>The list of buckets owned by the
|
|
7986
|
+
* <p>The list of buckets owned by the requester.</p>
|
|
7446
7987
|
*/
|
|
7447
7988
|
Buckets?: Bucket[];
|
|
7448
7989
|
/**
|
|
@@ -7523,6 +8064,10 @@ export interface MultipartUpload {
|
|
|
7523
8064
|
* <p>Identifies who initiated the multipart upload.</p>
|
|
7524
8065
|
*/
|
|
7525
8066
|
Initiator?: Initiator;
|
|
8067
|
+
/**
|
|
8068
|
+
* <p>The algorithm that was used to create a checksum of the object.</p>
|
|
8069
|
+
*/
|
|
8070
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
7526
8071
|
}
|
|
7527
8072
|
export declare namespace MultipartUpload {
|
|
7528
8073
|
/**
|
|
@@ -7607,7 +8152,8 @@ export interface ListMultipartUploadsRequest {
|
|
|
7607
8152
|
/**
|
|
7608
8153
|
* <p>The name of the bucket to which the multipart upload was initiated. </p>
|
|
7609
8154
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7610
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
8155
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
8156
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7611
8157
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
7612
8158
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
7613
8159
|
*/
|
|
@@ -7662,7 +8208,7 @@ export interface ListMultipartUploadsRequest {
|
|
|
7662
8208
|
*/
|
|
7663
8209
|
UploadIdMarker?: string;
|
|
7664
8210
|
/**
|
|
7665
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
8211
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
7666
8212
|
*/
|
|
7667
8213
|
ExpectedBucketOwner?: string;
|
|
7668
8214
|
}
|
|
@@ -7709,6 +8255,10 @@ export interface _Object {
|
|
|
7709
8255
|
* </ul>
|
|
7710
8256
|
*/
|
|
7711
8257
|
ETag?: string;
|
|
8258
|
+
/**
|
|
8259
|
+
* <p>The algorithm that was used to create a checksum of the object.</p>
|
|
8260
|
+
*/
|
|
8261
|
+
ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
|
|
7712
8262
|
/**
|
|
7713
8263
|
* <p>Size in bytes of the object</p>
|
|
7714
8264
|
*/
|
|
@@ -7804,7 +8354,8 @@ export interface ListObjectsRequest {
|
|
|
7804
8354
|
/**
|
|
7805
8355
|
* <p>The name of the bucket containing the objects.</p>
|
|
7806
8356
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7807
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
8357
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
8358
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7808
8359
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
7809
8360
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
7810
8361
|
*/
|
|
@@ -7842,7 +8393,7 @@ export interface ListObjectsRequest {
|
|
|
7842
8393
|
*/
|
|
7843
8394
|
RequestPayer?: RequestPayer | string;
|
|
7844
8395
|
/**
|
|
7845
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
8396
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
7846
8397
|
*/
|
|
7847
8398
|
ExpectedBucketOwner?: string;
|
|
7848
8399
|
}
|
|
@@ -7855,9 +8406,13 @@ export declare namespace ListObjectsRequest {
|
|
|
7855
8406
|
/**
|
|
7856
8407
|
* <p>The specified bucket does not exist.</p>
|
|
7857
8408
|
*/
|
|
7858
|
-
export
|
|
7859
|
-
name: "NoSuchBucket";
|
|
7860
|
-
$fault: "client";
|
|
8409
|
+
export declare class NoSuchBucket extends __BaseException {
|
|
8410
|
+
readonly name: "NoSuchBucket";
|
|
8411
|
+
readonly $fault: "client";
|
|
8412
|
+
/**
|
|
8413
|
+
* @internal
|
|
8414
|
+
*/
|
|
8415
|
+
constructor(opts: __ExceptionOptionType<NoSuchBucket, __BaseException>);
|
|
7861
8416
|
}
|
|
7862
8417
|
export interface ListObjectsV2Output {
|
|
7863
8418
|
/**
|
|
@@ -7873,7 +8428,8 @@ export interface ListObjectsV2Output {
|
|
|
7873
8428
|
/**
|
|
7874
8429
|
* <p>The bucket name.</p>
|
|
7875
8430
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7876
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
8431
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
8432
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7877
8433
|
*/
|
|
7878
8434
|
Name?: string;
|
|
7879
8435
|
/**
|
|
@@ -7958,7 +8514,8 @@ export interface ListObjectsV2Request {
|
|
|
7958
8514
|
/**
|
|
7959
8515
|
* <p>Bucket name to list. </p>
|
|
7960
8516
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7961
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
8517
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
8518
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
7962
8519
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
7963
8520
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
7964
8521
|
*/
|
|
@@ -8003,7 +8560,7 @@ export interface ListObjectsV2Request {
|
|
|
8003
8560
|
*/
|
|
8004
8561
|
RequestPayer?: RequestPayer | string;
|
|
8005
8562
|
/**
|
|
8006
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
8563
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8007
8564
|
*/
|
|
8008
8565
|
ExpectedBucketOwner?: string;
|
|
8009
8566
|
}
|
|
@@ -8054,6 +8611,10 @@ export interface ObjectVersion {
|
|
|
8054
8611
|
* <p>The entity tag is an MD5 hash of that version of the object.</p>
|
|
8055
8612
|
*/
|
|
8056
8613
|
ETag?: string;
|
|
8614
|
+
/**
|
|
8615
|
+
* <p>The algorithm that was used to create a checksum of the object.</p>
|
|
8616
|
+
*/
|
|
8617
|
+
ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
|
|
8057
8618
|
/**
|
|
8058
8619
|
* <p>Size in bytes of the object.</p>
|
|
8059
8620
|
*/
|
|
@@ -8218,7 +8779,7 @@ export interface ListObjectVersionsRequest {
|
|
|
8218
8779
|
*/
|
|
8219
8780
|
VersionIdMarker?: string;
|
|
8220
8781
|
/**
|
|
8221
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
8782
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8222
8783
|
*/
|
|
8223
8784
|
ExpectedBucketOwner?: string;
|
|
8224
8785
|
}
|
|
@@ -8249,6 +8810,34 @@ export interface Part {
|
|
|
8249
8810
|
* <p>Size in bytes of the uploaded part data.</p>
|
|
8250
8811
|
*/
|
|
8251
8812
|
Size?: number;
|
|
8813
|
+
/**
|
|
8814
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
8815
|
+
* This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
|
|
8816
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
8817
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
8818
|
+
*/
|
|
8819
|
+
ChecksumCRC32?: string;
|
|
8820
|
+
/**
|
|
8821
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
8822
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
8823
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
8824
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
8825
|
+
*/
|
|
8826
|
+
ChecksumCRC32C?: string;
|
|
8827
|
+
/**
|
|
8828
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
8829
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
8830
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
8831
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
8832
|
+
*/
|
|
8833
|
+
ChecksumSHA1?: string;
|
|
8834
|
+
/**
|
|
8835
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
8836
|
+
* This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
|
|
8837
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
8838
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
8839
|
+
*/
|
|
8840
|
+
ChecksumSHA256?: string;
|
|
8252
8841
|
}
|
|
8253
8842
|
export declare namespace Part {
|
|
8254
8843
|
/**
|
|
@@ -8336,6 +8925,10 @@ export interface ListPartsOutput {
|
|
|
8336
8925
|
* request.</p>
|
|
8337
8926
|
*/
|
|
8338
8927
|
RequestCharged?: RequestCharged | string;
|
|
8928
|
+
/**
|
|
8929
|
+
* <p>The algorithm that was used to create a checksum of the object.</p>
|
|
8930
|
+
*/
|
|
8931
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8339
8932
|
}
|
|
8340
8933
|
export declare namespace ListPartsOutput {
|
|
8341
8934
|
/**
|
|
@@ -8347,7 +8940,8 @@ export interface ListPartsRequest {
|
|
|
8347
8940
|
/**
|
|
8348
8941
|
* <p>The name of the bucket to which the parts are being uploaded. </p>
|
|
8349
8942
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
8350
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
8943
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
8944
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
8351
8945
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
8352
8946
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
8353
8947
|
*/
|
|
@@ -8372,14 +8966,35 @@ export interface ListPartsRequest {
|
|
|
8372
8966
|
/**
|
|
8373
8967
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
8374
8968
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
8375
|
-
* objects from
|
|
8376
|
-
*
|
|
8969
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
8970
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
8377
8971
|
*/
|
|
8378
8972
|
RequestPayer?: RequestPayer | string;
|
|
8379
8973
|
/**
|
|
8380
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
8974
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8381
8975
|
*/
|
|
8382
8976
|
ExpectedBucketOwner?: string;
|
|
8977
|
+
/**
|
|
8978
|
+
* <p>The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created
|
|
8979
|
+
* using a checksum algorithm. For more information,
|
|
8980
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
8981
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
8982
|
+
*/
|
|
8983
|
+
SSECustomerAlgorithm?: string;
|
|
8984
|
+
/**
|
|
8985
|
+
* <p>The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm.
|
|
8986
|
+
* For more information, see
|
|
8987
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
8988
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
8989
|
+
*/
|
|
8990
|
+
SSECustomerKey?: string;
|
|
8991
|
+
/**
|
|
8992
|
+
* <p>The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum
|
|
8993
|
+
* algorithm. For more information,
|
|
8994
|
+
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Protecting data using SSE-C keys</a> in the
|
|
8995
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
8996
|
+
*/
|
|
8997
|
+
SSECustomerKeyMD5?: string;
|
|
8383
8998
|
}
|
|
8384
8999
|
export declare namespace ListPartsRequest {
|
|
8385
9000
|
/**
|
|
@@ -8399,9 +9014,19 @@ export interface PutBucketAccelerateConfigurationRequest {
|
|
|
8399
9014
|
*/
|
|
8400
9015
|
AccelerateConfiguration: AccelerateConfiguration | undefined;
|
|
8401
9016
|
/**
|
|
8402
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9017
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8403
9018
|
*/
|
|
8404
9019
|
ExpectedBucketOwner?: string;
|
|
9020
|
+
/**
|
|
9021
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9022
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9023
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9024
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9025
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9026
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9027
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9028
|
+
*/
|
|
9029
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8405
9030
|
}
|
|
8406
9031
|
export declare namespace PutBucketAccelerateConfigurationRequest {
|
|
8407
9032
|
/**
|
|
@@ -8433,6 +9058,16 @@ export interface PutBucketAclRequest {
|
|
|
8433
9058
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
8434
9059
|
*/
|
|
8435
9060
|
ContentMD5?: string;
|
|
9061
|
+
/**
|
|
9062
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9063
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9064
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9065
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9066
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9067
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9068
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9069
|
+
*/
|
|
9070
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8436
9071
|
/**
|
|
8437
9072
|
* <p>Allows grantee the read, write, read ACP, and write ACP permissions on the
|
|
8438
9073
|
* bucket.</p>
|
|
@@ -8456,7 +9091,7 @@ export interface PutBucketAclRequest {
|
|
|
8456
9091
|
*/
|
|
8457
9092
|
GrantWriteACP?: string;
|
|
8458
9093
|
/**
|
|
8459
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9094
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8460
9095
|
*/
|
|
8461
9096
|
ExpectedBucketOwner?: string;
|
|
8462
9097
|
}
|
|
@@ -8482,7 +9117,7 @@ export interface PutBucketAnalyticsConfigurationRequest {
|
|
|
8482
9117
|
*/
|
|
8483
9118
|
AnalyticsConfiguration: AnalyticsConfiguration | undefined;
|
|
8484
9119
|
/**
|
|
8485
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9120
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8486
9121
|
*/
|
|
8487
9122
|
ExpectedBucketOwner?: string;
|
|
8488
9123
|
}
|
|
@@ -8533,7 +9168,17 @@ export interface PutBucketCorsRequest {
|
|
|
8533
9168
|
*/
|
|
8534
9169
|
ContentMD5?: string;
|
|
8535
9170
|
/**
|
|
8536
|
-
* <p>
|
|
9171
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9172
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9173
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9174
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9175
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9176
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9177
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9178
|
+
*/
|
|
9179
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
9180
|
+
/**
|
|
9181
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8537
9182
|
*/
|
|
8538
9183
|
ExpectedBucketOwner?: string;
|
|
8539
9184
|
}
|
|
@@ -8558,12 +9203,22 @@ export interface PutBucketEncryptionRequest {
|
|
|
8558
9203
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
8559
9204
|
*/
|
|
8560
9205
|
ContentMD5?: string;
|
|
9206
|
+
/**
|
|
9207
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9208
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9209
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9210
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9211
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9212
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9213
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9214
|
+
*/
|
|
9215
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8561
9216
|
/**
|
|
8562
9217
|
* <p>Specifies the default server-side-encryption configuration.</p>
|
|
8563
9218
|
*/
|
|
8564
9219
|
ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
|
|
8565
9220
|
/**
|
|
8566
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9221
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8567
9222
|
*/
|
|
8568
9223
|
ExpectedBucketOwner?: string;
|
|
8569
9224
|
}
|
|
@@ -8611,7 +9266,7 @@ export interface PutBucketInventoryConfigurationRequest {
|
|
|
8611
9266
|
*/
|
|
8612
9267
|
InventoryConfiguration: InventoryConfiguration | undefined;
|
|
8613
9268
|
/**
|
|
8614
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9269
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8615
9270
|
*/
|
|
8616
9271
|
ExpectedBucketOwner?: string;
|
|
8617
9272
|
}
|
|
@@ -8645,12 +9300,22 @@ export interface PutBucketLifecycleConfigurationRequest {
|
|
|
8645
9300
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
8646
9301
|
*/
|
|
8647
9302
|
Bucket: string | undefined;
|
|
9303
|
+
/**
|
|
9304
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9305
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9306
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9307
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9308
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9309
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9310
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9311
|
+
*/
|
|
9312
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8648
9313
|
/**
|
|
8649
9314
|
* <p>Container for lifecycle rules. You can add as many as 1,000 rules.</p>
|
|
8650
9315
|
*/
|
|
8651
9316
|
LifecycleConfiguration?: BucketLifecycleConfiguration;
|
|
8652
9317
|
/**
|
|
8653
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9318
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8654
9319
|
*/
|
|
8655
9320
|
ExpectedBucketOwner?: string;
|
|
8656
9321
|
}
|
|
@@ -8694,7 +9359,17 @@ export interface PutBucketLoggingRequest {
|
|
|
8694
9359
|
*/
|
|
8695
9360
|
ContentMD5?: string;
|
|
8696
9361
|
/**
|
|
8697
|
-
* <p>
|
|
9362
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9363
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9364
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9365
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9366
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9367
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9368
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9369
|
+
*/
|
|
9370
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
9371
|
+
/**
|
|
9372
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8698
9373
|
*/
|
|
8699
9374
|
ExpectedBucketOwner?: string;
|
|
8700
9375
|
}
|
|
@@ -8720,7 +9395,7 @@ export interface PutBucketMetricsConfigurationRequest {
|
|
|
8720
9395
|
*/
|
|
8721
9396
|
MetricsConfiguration: MetricsConfiguration | undefined;
|
|
8722
9397
|
/**
|
|
8723
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9398
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8724
9399
|
*/
|
|
8725
9400
|
ExpectedBucketOwner?: string;
|
|
8726
9401
|
}
|
|
@@ -8743,7 +9418,7 @@ export interface PutBucketNotificationConfigurationRequest {
|
|
|
8743
9418
|
*/
|
|
8744
9419
|
NotificationConfiguration: NotificationConfiguration | undefined;
|
|
8745
9420
|
/**
|
|
8746
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9421
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8747
9422
|
*/
|
|
8748
9423
|
ExpectedBucketOwner?: string;
|
|
8749
9424
|
/**
|
|
@@ -8770,7 +9445,7 @@ export interface PutBucketOwnershipControlsRequest {
|
|
|
8770
9445
|
*/
|
|
8771
9446
|
ContentMD5?: string;
|
|
8772
9447
|
/**
|
|
8773
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9448
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8774
9449
|
*/
|
|
8775
9450
|
ExpectedBucketOwner?: string;
|
|
8776
9451
|
/**
|
|
@@ -8797,6 +9472,16 @@ export interface PutBucketPolicyRequest {
|
|
|
8797
9472
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
8798
9473
|
*/
|
|
8799
9474
|
ContentMD5?: string;
|
|
9475
|
+
/**
|
|
9476
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9477
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9478
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9479
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9480
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9481
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9482
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9483
|
+
*/
|
|
9484
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8800
9485
|
/**
|
|
8801
9486
|
* <p>Set this parameter to true to confirm that you want to remove your permissions to change
|
|
8802
9487
|
* this bucket policy in the future.</p>
|
|
@@ -8807,7 +9492,7 @@ export interface PutBucketPolicyRequest {
|
|
|
8807
9492
|
*/
|
|
8808
9493
|
Policy: string | undefined;
|
|
8809
9494
|
/**
|
|
8810
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9495
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8811
9496
|
*/
|
|
8812
9497
|
ExpectedBucketOwner?: string;
|
|
8813
9498
|
}
|
|
@@ -8831,6 +9516,16 @@ export interface PutBucketReplicationRequest {
|
|
|
8831
9516
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
8832
9517
|
*/
|
|
8833
9518
|
ContentMD5?: string;
|
|
9519
|
+
/**
|
|
9520
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9521
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9522
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9523
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9524
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9525
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9526
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9527
|
+
*/
|
|
9528
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8834
9529
|
/**
|
|
8835
9530
|
* <p>A container for replication rules. You can add up to 1,000 rules. The maximum size of a
|
|
8836
9531
|
* replication configuration is 2 MB.</p>
|
|
@@ -8841,7 +9536,7 @@ export interface PutBucketReplicationRequest {
|
|
|
8841
9536
|
*/
|
|
8842
9537
|
Token?: string;
|
|
8843
9538
|
/**
|
|
8844
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9539
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8845
9540
|
*/
|
|
8846
9541
|
ExpectedBucketOwner?: string;
|
|
8847
9542
|
}
|
|
@@ -8881,12 +9576,22 @@ export interface PutBucketRequestPaymentRequest {
|
|
|
8881
9576
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
8882
9577
|
*/
|
|
8883
9578
|
ContentMD5?: string;
|
|
9579
|
+
/**
|
|
9580
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9581
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9582
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9583
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9584
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9585
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9586
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9587
|
+
*/
|
|
9588
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8884
9589
|
/**
|
|
8885
9590
|
* <p>Container for Payer.</p>
|
|
8886
9591
|
*/
|
|
8887
9592
|
RequestPaymentConfiguration: RequestPaymentConfiguration | undefined;
|
|
8888
9593
|
/**
|
|
8889
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9594
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8890
9595
|
*/
|
|
8891
9596
|
ExpectedBucketOwner?: string;
|
|
8892
9597
|
}
|
|
@@ -8925,12 +9630,22 @@ export interface PutBucketTaggingRequest {
|
|
|
8925
9630
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
8926
9631
|
*/
|
|
8927
9632
|
ContentMD5?: string;
|
|
9633
|
+
/**
|
|
9634
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9635
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9636
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9637
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9638
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9639
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9640
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9641
|
+
*/
|
|
9642
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8928
9643
|
/**
|
|
8929
9644
|
* <p>Container for the <code>TagSet</code> and <code>Tag</code> elements.</p>
|
|
8930
9645
|
*/
|
|
8931
9646
|
Tagging: Tagging | undefined;
|
|
8932
9647
|
/**
|
|
8933
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9648
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8934
9649
|
*/
|
|
8935
9650
|
ExpectedBucketOwner?: string;
|
|
8936
9651
|
}
|
|
@@ -8978,6 +9693,16 @@ export interface PutBucketVersioningRequest {
|
|
|
8978
9693
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
8979
9694
|
*/
|
|
8980
9695
|
ContentMD5?: string;
|
|
9696
|
+
/**
|
|
9697
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9698
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9699
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9700
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9701
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9702
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9703
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9704
|
+
*/
|
|
9705
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
8981
9706
|
/**
|
|
8982
9707
|
* <p>The concatenation of the authentication device's serial number, a space, and the value
|
|
8983
9708
|
* that is displayed on your authentication device.</p>
|
|
@@ -8988,7 +9713,7 @@ export interface PutBucketVersioningRequest {
|
|
|
8988
9713
|
*/
|
|
8989
9714
|
VersioningConfiguration: VersioningConfiguration | undefined;
|
|
8990
9715
|
/**
|
|
8991
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9716
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
8992
9717
|
*/
|
|
8993
9718
|
ExpectedBucketOwner?: string;
|
|
8994
9719
|
}
|
|
@@ -9042,12 +9767,22 @@ export interface PutBucketWebsiteRequest {
|
|
|
9042
9767
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
9043
9768
|
*/
|
|
9044
9769
|
ContentMD5?: string;
|
|
9770
|
+
/**
|
|
9771
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9772
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9773
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9774
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9775
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9776
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9777
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9778
|
+
*/
|
|
9779
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
9045
9780
|
/**
|
|
9046
9781
|
* <p>Container for the request.</p>
|
|
9047
9782
|
*/
|
|
9048
9783
|
WebsiteConfiguration: WebsiteConfiguration | undefined;
|
|
9049
9784
|
/**
|
|
9050
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
9785
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
9051
9786
|
*/
|
|
9052
9787
|
ExpectedBucketOwner?: string;
|
|
9053
9788
|
}
|
|
@@ -9059,15 +9794,44 @@ export declare namespace PutBucketWebsiteRequest {
|
|
|
9059
9794
|
}
|
|
9060
9795
|
export interface PutObjectOutput {
|
|
9061
9796
|
/**
|
|
9062
|
-
* <p>
|
|
9063
|
-
* includes the expiry-date and rule-id key-value pairs that provide
|
|
9064
|
-
* expiration. The value of the rule-id is
|
|
9797
|
+
* <p>If the expiration is configured for the object (see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>), the response includes this header. It
|
|
9798
|
+
* includes the <code>expiry-date</code> and <code>rule-id</code> key-value pairs that provide
|
|
9799
|
+
* information about object expiration. The value of the <code>rule-id</code> is
|
|
9800
|
+
* URL-encoded.</p>
|
|
9065
9801
|
*/
|
|
9066
9802
|
Expiration?: string;
|
|
9067
9803
|
/**
|
|
9068
9804
|
* <p>Entity tag for the uploaded object.</p>
|
|
9069
9805
|
*/
|
|
9070
9806
|
ETag?: string;
|
|
9807
|
+
/**
|
|
9808
|
+
* <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded
|
|
9809
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
9810
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
9811
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9812
|
+
*/
|
|
9813
|
+
ChecksumCRC32?: string;
|
|
9814
|
+
/**
|
|
9815
|
+
* <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded
|
|
9816
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
9817
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
9818
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9819
|
+
*/
|
|
9820
|
+
ChecksumCRC32C?: string;
|
|
9821
|
+
/**
|
|
9822
|
+
* <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded
|
|
9823
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
9824
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
9825
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9826
|
+
*/
|
|
9827
|
+
ChecksumSHA1?: string;
|
|
9828
|
+
/**
|
|
9829
|
+
* <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded
|
|
9830
|
+
* with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated
|
|
9831
|
+
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
9832
|
+
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9833
|
+
*/
|
|
9834
|
+
ChecksumSHA256?: string;
|
|
9071
9835
|
/**
|
|
9072
9836
|
* <p>If you specified server-side encryption either with an Amazon Web Services KMS key
|
|
9073
9837
|
* or Amazon S3-managed encryption key in your PUT request, the response includes this header. It
|
|
@@ -9132,7 +9896,8 @@ export interface PutObjectRequest {
|
|
|
9132
9896
|
/**
|
|
9133
9897
|
* <p>The bucket name to which the PUT action was initiated. </p>
|
|
9134
9898
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9135
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
9899
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
9900
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9136
9901
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
9137
9902
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
9138
9903
|
*/
|
|
@@ -9175,6 +9940,44 @@ export interface PutObjectRequest {
|
|
|
9175
9940
|
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17</a>.</p>
|
|
9176
9941
|
*/
|
|
9177
9942
|
ContentType?: string;
|
|
9943
|
+
/**
|
|
9944
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
9945
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
9946
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
9947
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
9948
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
9949
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
9950
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9951
|
+
*/
|
|
9952
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
9953
|
+
/**
|
|
9954
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
9955
|
+
* This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see
|
|
9956
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
9957
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
9958
|
+
*/
|
|
9959
|
+
ChecksumCRC32?: string;
|
|
9960
|
+
/**
|
|
9961
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
9962
|
+
* This header specifies the base64-encoded, 32-bit CRC32C checksum of the object. For more information, see
|
|
9963
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
9964
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
9965
|
+
*/
|
|
9966
|
+
ChecksumCRC32C?: string;
|
|
9967
|
+
/**
|
|
9968
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
9969
|
+
* This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see
|
|
9970
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
9971
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
9972
|
+
*/
|
|
9973
|
+
ChecksumSHA1?: string;
|
|
9974
|
+
/**
|
|
9975
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
9976
|
+
* This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see
|
|
9977
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
9978
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
9979
|
+
*/
|
|
9980
|
+
ChecksumSHA256?: string;
|
|
9178
9981
|
/**
|
|
9179
9982
|
* <p>The date and time at which the object is no longer cacheable. For more information, see
|
|
9180
9983
|
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21</a>.</p>
|
|
@@ -9292,8 +10095,8 @@ export interface PutObjectRequest {
|
|
|
9292
10095
|
/**
|
|
9293
10096
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
9294
10097
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
9295
|
-
* objects from
|
|
9296
|
-
*
|
|
10098
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
10099
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9297
10100
|
*/
|
|
9298
10101
|
RequestPayer?: RequestPayer | string;
|
|
9299
10102
|
/**
|
|
@@ -9317,7 +10120,7 @@ export interface PutObjectRequest {
|
|
|
9317
10120
|
*/
|
|
9318
10121
|
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
|
|
9319
10122
|
/**
|
|
9320
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
10123
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
9321
10124
|
*/
|
|
9322
10125
|
ExpectedBucketOwner?: string;
|
|
9323
10126
|
}
|
|
@@ -9365,6 +10168,16 @@ export interface PutObjectAclRequest {
|
|
|
9365
10168
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
9366
10169
|
*/
|
|
9367
10170
|
ContentMD5?: string;
|
|
10171
|
+
/**
|
|
10172
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
10173
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
10174
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
10175
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
10176
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
10177
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
10178
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
10179
|
+
*/
|
|
10180
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
9368
10181
|
/**
|
|
9369
10182
|
* <p>Allows grantee the read, write, read ACP, and write ACP permissions on the
|
|
9370
10183
|
* bucket.</p>
|
|
@@ -9396,14 +10209,15 @@ export interface PutObjectAclRequest {
|
|
|
9396
10209
|
/**
|
|
9397
10210
|
* <p>Key for which the PUT action was initiated.</p>
|
|
9398
10211
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9399
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <
|
|
10212
|
+
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <code>
|
|
10213
|
+
* <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com</code>. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9400
10214
|
*/
|
|
9401
10215
|
Key: string | undefined;
|
|
9402
10216
|
/**
|
|
9403
10217
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
9404
10218
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
9405
|
-
* objects from
|
|
9406
|
-
*
|
|
10219
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
10220
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9407
10221
|
*/
|
|
9408
10222
|
RequestPayer?: RequestPayer | string;
|
|
9409
10223
|
/**
|
|
@@ -9411,7 +10225,7 @@ export interface PutObjectAclRequest {
|
|
|
9411
10225
|
*/
|
|
9412
10226
|
VersionId?: string;
|
|
9413
10227
|
/**
|
|
9414
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request
|
|
10228
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
9415
10229
|
*/
|
|
9416
10230
|
ExpectedBucketOwner?: string;
|
|
9417
10231
|
}
|
|
@@ -9436,30 +10250,30 @@ export declare namespace PutObjectLegalHoldOutput {
|
|
|
9436
10250
|
}
|
|
9437
10251
|
export interface PutObjectLegalHoldRequest {
|
|
9438
10252
|
/**
|
|
9439
|
-
* <p>The bucket name containing the object that you want to place a
|
|
10253
|
+
* <p>The bucket name containing the object that you want to place a legal hold on. </p>
|
|
9440
10254
|
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9441
10255
|
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
9442
10256
|
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
9443
10257
|
*/
|
|
9444
10258
|
Bucket: string | undefined;
|
|
9445
10259
|
/**
|
|
9446
|
-
* <p>The key name for the object that you want to place a
|
|
10260
|
+
* <p>The key name for the object that you want to place a legal hold on.</p>
|
|
9447
10261
|
*/
|
|
9448
10262
|
Key: string | undefined;
|
|
9449
10263
|
/**
|
|
9450
|
-
* <p>Container element for the
|
|
10264
|
+
* <p>Container element for the legal hold configuration you want to apply to the specified
|
|
9451
10265
|
* object.</p>
|
|
9452
10266
|
*/
|
|
9453
10267
|
LegalHold?: ObjectLockLegalHold;
|
|
9454
10268
|
/**
|
|
9455
10269
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
9456
10270
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
9457
|
-
* objects from
|
|
9458
|
-
*
|
|
10271
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
10272
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9459
10273
|
*/
|
|
9460
10274
|
RequestPayer?: RequestPayer | string;
|
|
9461
10275
|
/**
|
|
9462
|
-
* <p>The version ID of the object that you want to place a
|
|
10276
|
+
* <p>The version ID of the object that you want to place a legal hold on.</p>
|
|
9463
10277
|
*/
|
|
9464
10278
|
VersionId?: string;
|
|
9465
10279
|
/**
|
|
@@ -9468,7 +10282,17 @@ export interface PutObjectLegalHoldRequest {
|
|
|
9468
10282
|
*/
|
|
9469
10283
|
ContentMD5?: string;
|
|
9470
10284
|
/**
|
|
9471
|
-
* <p>
|
|
10285
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
10286
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
10287
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
10288
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
10289
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
10290
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
10291
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
10292
|
+
*/
|
|
10293
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
10294
|
+
/**
|
|
10295
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
9472
10296
|
*/
|
|
9473
10297
|
ExpectedBucketOwner?: string;
|
|
9474
10298
|
}
|
|
@@ -9505,8 +10329,8 @@ export interface PutObjectLockConfigurationRequest {
|
|
|
9505
10329
|
/**
|
|
9506
10330
|
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
9507
10331
|
* owners need not specify this parameter in their requests. For information about downloading
|
|
9508
|
-
* objects from
|
|
9509
|
-
*
|
|
10332
|
+
* objects from Requester Pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
10333
|
+
* Requester Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9510
10334
|
*/
|
|
9511
10335
|
RequestPayer?: RequestPayer | string;
|
|
9512
10336
|
/**
|
|
@@ -9519,188 +10343,23 @@ export interface PutObjectLockConfigurationRequest {
|
|
|
9519
10343
|
*/
|
|
9520
10344
|
ContentMD5?: string;
|
|
9521
10345
|
/**
|
|
9522
|
-
* <p>
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
*
|
|
9529
|
-
*/
|
|
9530
|
-
const filterSensitiveLog: (obj: PutObjectLockConfigurationRequest) => any;
|
|
9531
|
-
}
|
|
9532
|
-
export interface PutObjectRetentionOutput {
|
|
9533
|
-
/**
|
|
9534
|
-
* <p>If present, indicates that the requester was successfully charged for the
|
|
9535
|
-
* request.</p>
|
|
10346
|
+
* <p>Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any
|
|
10347
|
+
* additional functionality if not using the SDK. When sending this header, there must be a corresponding <code>x-amz-checksum</code> or
|
|
10348
|
+
* <code>x-amz-trailer</code> header sent. Otherwise, Amazon S3 fails the request with the HTTP status code <code>400 Bad Request</code>. For more
|
|
10349
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
10350
|
+
* the <i>Amazon S3 User Guide</i>.</p>
|
|
10351
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided
|
|
10352
|
+
* <code>ChecksumAlgorithm</code> parameter.</p>
|
|
9536
10353
|
*/
|
|
9537
|
-
|
|
9538
|
-
}
|
|
9539
|
-
export declare namespace PutObjectRetentionOutput {
|
|
10354
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
9540
10355
|
/**
|
|
9541
|
-
*
|
|
9542
|
-
*/
|
|
9543
|
-
const filterSensitiveLog: (obj: PutObjectRetentionOutput) => any;
|
|
9544
|
-
}
|
|
9545
|
-
export interface PutObjectRetentionRequest {
|
|
9546
|
-
/**
|
|
9547
|
-
* <p>The bucket name that contains the object you want to apply this Object Retention
|
|
9548
|
-
* configuration to. </p>
|
|
9549
|
-
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9550
|
-
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
9551
|
-
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
9552
|
-
*/
|
|
9553
|
-
Bucket: string | undefined;
|
|
9554
|
-
/**
|
|
9555
|
-
* <p>The key name for the object that you want to apply this Object Retention configuration
|
|
9556
|
-
* to.</p>
|
|
9557
|
-
*/
|
|
9558
|
-
Key: string | undefined;
|
|
9559
|
-
/**
|
|
9560
|
-
* <p>The container element for the Object Retention configuration.</p>
|
|
9561
|
-
*/
|
|
9562
|
-
Retention?: ObjectLockRetention;
|
|
9563
|
-
/**
|
|
9564
|
-
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
9565
|
-
* owners need not specify this parameter in their requests. For information about downloading
|
|
9566
|
-
* objects from requester pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
9567
|
-
* Requestor Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9568
|
-
*/
|
|
9569
|
-
RequestPayer?: RequestPayer | string;
|
|
9570
|
-
/**
|
|
9571
|
-
* <p>The version ID for the object that you want to apply this Object Retention configuration
|
|
9572
|
-
* to.</p>
|
|
9573
|
-
*/
|
|
9574
|
-
VersionId?: string;
|
|
9575
|
-
/**
|
|
9576
|
-
* <p>Indicates whether this action should bypass Governance-mode restrictions.</p>
|
|
9577
|
-
*/
|
|
9578
|
-
BypassGovernanceRetention?: boolean;
|
|
9579
|
-
/**
|
|
9580
|
-
* <p>The MD5 hash for the request body.</p>
|
|
9581
|
-
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
9582
|
-
*/
|
|
9583
|
-
ContentMD5?: string;
|
|
9584
|
-
/**
|
|
9585
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP <code>403 (Access Denied)</code> error.</p>
|
|
10356
|
+
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
|
|
9586
10357
|
*/
|
|
9587
10358
|
ExpectedBucketOwner?: string;
|
|
9588
10359
|
}
|
|
9589
|
-
export declare namespace
|
|
9590
|
-
/**
|
|
9591
|
-
* @internal
|
|
9592
|
-
*/
|
|
9593
|
-
const filterSensitiveLog: (obj: PutObjectRetentionRequest) => any;
|
|
9594
|
-
}
|
|
9595
|
-
export interface PutObjectTaggingOutput {
|
|
9596
|
-
/**
|
|
9597
|
-
* <p>The versionId of the object the tag-set was added to.</p>
|
|
9598
|
-
*/
|
|
9599
|
-
VersionId?: string;
|
|
9600
|
-
}
|
|
9601
|
-
export declare namespace PutObjectTaggingOutput {
|
|
9602
|
-
/**
|
|
9603
|
-
* @internal
|
|
9604
|
-
*/
|
|
9605
|
-
const filterSensitiveLog: (obj: PutObjectTaggingOutput) => any;
|
|
9606
|
-
}
|
|
9607
|
-
export interface PutObjectTaggingRequest {
|
|
9608
|
-
/**
|
|
9609
|
-
* <p>The bucket name containing the object. </p>
|
|
9610
|
-
* <p>When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.s3-accesspoint.<i>Region</i>.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html">Using access points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9611
|
-
* <p>When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form <i>AccessPointName</i>-<i>AccountId</i>.<i>outpostID</i>.s3-outposts.<i>Region</i>.amazonaws.com. When using this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using S3 on Outposts</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9612
|
-
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
9613
|
-
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
9614
|
-
*/
|
|
9615
|
-
Bucket: string | undefined;
|
|
9616
|
-
/**
|
|
9617
|
-
* <p>Name of the object key.</p>
|
|
9618
|
-
*/
|
|
9619
|
-
Key: string | undefined;
|
|
9620
|
-
/**
|
|
9621
|
-
* <p>The versionId of the object that the tag-set will be added to.</p>
|
|
9622
|
-
*/
|
|
9623
|
-
VersionId?: string;
|
|
9624
|
-
/**
|
|
9625
|
-
* <p>The MD5 hash for the request body.</p>
|
|
9626
|
-
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
9627
|
-
*/
|
|
9628
|
-
ContentMD5?: string;
|
|
9629
|
-
/**
|
|
9630
|
-
* <p>Container for the <code>TagSet</code> and <code>Tag</code> elements</p>
|
|
9631
|
-
*/
|
|
9632
|
-
Tagging: Tagging | undefined;
|
|
9633
|
-
/**
|
|
9634
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP <code>403 (Access Denied)</code> error.</p>
|
|
9635
|
-
*/
|
|
9636
|
-
ExpectedBucketOwner?: string;
|
|
9637
|
-
/**
|
|
9638
|
-
* <p>Confirms that the requester knows that they will be charged for the request. Bucket
|
|
9639
|
-
* owners need not specify this parameter in their requests. For information about downloading
|
|
9640
|
-
* objects from requester pays buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html">Downloading Objects in
|
|
9641
|
-
* Requestor Pays Buckets</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9642
|
-
*/
|
|
9643
|
-
RequestPayer?: RequestPayer | string;
|
|
9644
|
-
}
|
|
9645
|
-
export declare namespace PutObjectTaggingRequest {
|
|
9646
|
-
/**
|
|
9647
|
-
* @internal
|
|
9648
|
-
*/
|
|
9649
|
-
const filterSensitiveLog: (obj: PutObjectTaggingRequest) => any;
|
|
9650
|
-
}
|
|
9651
|
-
export interface PutPublicAccessBlockRequest {
|
|
9652
|
-
/**
|
|
9653
|
-
* <p>The name of the Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want
|
|
9654
|
-
* to set.</p>
|
|
9655
|
-
* <p>Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies.
|
|
9656
|
-
* For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues</p>
|
|
9657
|
-
*/
|
|
9658
|
-
Bucket: string | undefined;
|
|
9659
|
-
/**
|
|
9660
|
-
* <p>The MD5 hash of the <code>PutPublicAccessBlock</code> request body. </p>
|
|
9661
|
-
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
9662
|
-
*/
|
|
9663
|
-
ContentMD5?: string;
|
|
9664
|
-
/**
|
|
9665
|
-
* <p>The <code>PublicAccessBlock</code> configuration that you want to apply to this Amazon S3
|
|
9666
|
-
* bucket. You can enable the configuration options in any combination. For more information
|
|
9667
|
-
* about when Amazon S3 considers a bucket or object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
9668
|
-
*/
|
|
9669
|
-
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
9670
|
-
/**
|
|
9671
|
-
* <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP <code>403 (Access Denied)</code> error.</p>
|
|
9672
|
-
*/
|
|
9673
|
-
ExpectedBucketOwner?: string;
|
|
9674
|
-
}
|
|
9675
|
-
export declare namespace PutPublicAccessBlockRequest {
|
|
9676
|
-
/**
|
|
9677
|
-
* @internal
|
|
9678
|
-
*/
|
|
9679
|
-
const filterSensitiveLog: (obj: PutPublicAccessBlockRequest) => any;
|
|
9680
|
-
}
|
|
9681
|
-
/**
|
|
9682
|
-
* <p>This action is not allowed against this storage tier.</p>
|
|
9683
|
-
*/
|
|
9684
|
-
export interface ObjectAlreadyInActiveTierError extends __SmithyException, $MetadataBearer {
|
|
9685
|
-
name: "ObjectAlreadyInActiveTierError";
|
|
9686
|
-
$fault: "client";
|
|
9687
|
-
}
|
|
9688
|
-
export interface RestoreObjectOutput {
|
|
9689
|
-
/**
|
|
9690
|
-
* <p>If present, indicates that the requester was successfully charged for the
|
|
9691
|
-
* request.</p>
|
|
9692
|
-
*/
|
|
9693
|
-
RequestCharged?: RequestCharged | string;
|
|
9694
|
-
/**
|
|
9695
|
-
* <p>Indicates the path in the provided S3 output location where Select results will be
|
|
9696
|
-
* restored to.</p>
|
|
9697
|
-
*/
|
|
9698
|
-
RestoreOutputPath?: string;
|
|
9699
|
-
}
|
|
9700
|
-
export declare namespace RestoreObjectOutput {
|
|
10360
|
+
export declare namespace PutObjectLockConfigurationRequest {
|
|
9701
10361
|
/**
|
|
9702
10362
|
* @internal
|
|
9703
10363
|
*/
|
|
9704
|
-
const filterSensitiveLog: (obj:
|
|
10364
|
+
const filterSensitiveLog: (obj: PutObjectLockConfigurationRequest) => any;
|
|
9705
10365
|
}
|
|
9706
|
-
export declare type Tier = "Bulk" | "Expedited" | "Standard";
|