@aws-sdk/client-s3 3.817.0 → 3.820.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +3 -1
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -0
- package/dist-es/protocols/Aws_restXml.js +1 -0
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +22 -14
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +23 -23
- package/dist-types/models/models_1.d.ts +21 -9
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -2673,7 +2673,8 @@ var se_PutBucketOwnershipControlsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
2673
2673
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
2674
2674
|
"content-type": "application/xml",
|
|
2675
2675
|
[_cm]: input[_CMD],
|
|
2676
|
-
[_xaebo]: input[_EBO]
|
|
2676
|
+
[_xaebo]: input[_EBO],
|
|
2677
|
+
[_xasca]: input[_CA]
|
|
2677
2678
|
});
|
|
2678
2679
|
b.bp("/");
|
|
2679
2680
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -10502,6 +10503,7 @@ var PutBucketOwnershipControlsCommand = class extends import_smithy_client.Comma
|
|
|
10502
10503
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10503
10504
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
10504
10505
|
(0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
|
|
10506
|
+
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
10505
10507
|
requestChecksumRequired: true
|
|
10506
10508
|
})
|
|
10507
10509
|
];
|
|
@@ -17,6 +17,7 @@ export class PutBucketOwnershipControlsCommand extends $Command
|
|
|
17
17
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
18
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
19
|
getFlexibleChecksumsPlugin(config, {
|
|
20
|
+
requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
|
|
20
21
|
requestChecksumRequired: true,
|
|
21
22
|
}),
|
|
22
23
|
];
|
|
@@ -1486,6 +1486,7 @@ export const se_PutBucketOwnershipControlsCommand = async (input, context) => {
|
|
|
1486
1486
|
"content-type": "application/xml",
|
|
1487
1487
|
[_cm]: input[_CMD],
|
|
1488
1488
|
[_xaebo]: input[_EBO],
|
|
1489
|
+
[_xasca]: input[_CA],
|
|
1489
1490
|
});
|
|
1490
1491
|
b.bp("/");
|
|
1491
1492
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -27,11 +27,11 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves all the metadata from an object without returning the object itself. This
|
|
30
|
+
* <p>Retrieves all of the metadata from an object without returning the object itself. This
|
|
31
31
|
* operation is useful if you're interested only in an object's metadata. </p>
|
|
32
32
|
* <p>
|
|
33
33
|
* <code>GetObjectAttributes</code> combines the functionality of <code>HeadObject</code>
|
|
34
|
-
* and <code>ListParts</code>. All of the data returned with
|
|
34
|
+
* and <code>ListParts</code>. All of the data returned with both of those individual calls
|
|
35
35
|
* can be returned with a single call to <code>GetObjectAttributes</code>.</p>
|
|
36
36
|
* <note>
|
|
37
37
|
* <p>
|
|
@@ -48,16 +48,24 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
48
48
|
* <li>
|
|
49
49
|
* <p>
|
|
50
50
|
* <b>General purpose bucket permissions</b> - To
|
|
51
|
-
* use <code>GetObjectAttributes</code>, you must have READ access to the
|
|
52
|
-
*
|
|
53
|
-
* whether the bucket is versioned
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
51
|
+
* use <code>GetObjectAttributes</code>, you must have READ access to the object.</p>
|
|
52
|
+
* <p>The other permissions that you need to use this operation depend on
|
|
53
|
+
* whether the bucket is versioned and if a version ID is passed in the <code>GetObjectAttributes</code> request. </p>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>If you pass a version ID in your request, you need both the <code>s3:GetObjectVersion</code> and
|
|
57
|
+
* <code>s3:GetObjectVersionAttributes</code> permissions.</p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>If you do not pass a version ID in your request, you need the
|
|
57
61
|
* <code>s3:GetObject</code> and <code>s3:GetObjectAttributes</code>
|
|
58
|
-
* permissions.
|
|
62
|
+
* permissions. </p>
|
|
63
|
+
* </li>
|
|
64
|
+
* </ul>
|
|
65
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying
|
|
59
66
|
* Permissions in a Policy</a> in the
|
|
60
|
-
* <i>Amazon S3 User Guide</i
|
|
67
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
68
|
+
* <p>If the object that you request does
|
|
61
69
|
* not exist, the error Amazon S3 returns depends on whether you also have the
|
|
62
70
|
* <code>s3:ListBucket</code> permission.</p>
|
|
63
71
|
* <ul>
|
|
@@ -105,10 +113,10 @@ declare const GetObjectAttributesCommand_base: {
|
|
|
105
113
|
* error. It's because the encryption method can't be changed when you retrieve
|
|
106
114
|
* the object.</p>
|
|
107
115
|
* </note>
|
|
108
|
-
* <p>If you
|
|
109
|
-
* encryption keys (SSE-C)
|
|
110
|
-
* the metadata from the object, you must use the following headers
|
|
111
|
-
*
|
|
116
|
+
* <p>If you encrypted an object when you stored the object in Amazon S3 by using server-side encryption with customer-provided
|
|
117
|
+
* encryption keys (SSE-C), then when you retrieve
|
|
118
|
+
* the metadata from the object, you must use the following headers. These headers provide the
|
|
119
|
+
* server with the encryption key required to retrieve the object's metadata. The
|
|
112
120
|
* headers are: </p>
|
|
113
121
|
* <ul>
|
|
114
122
|
* <li>
|
|
@@ -66,6 +66,7 @@ declare const PutBucketOwnershipControlsCommand_base: {
|
|
|
66
66
|
* },
|
|
67
67
|
* ],
|
|
68
68
|
* },
|
|
69
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
69
70
|
* };
|
|
70
71
|
* const command = new PutBucketOwnershipControlsCommand(input);
|
|
71
72
|
* const response = await client.send(command);
|
|
@@ -33,7 +33,7 @@ export type RequestCharged = (typeof RequestCharged)[keyof typeof RequestCharged
|
|
|
33
33
|
export interface AbortMultipartUploadOutput {
|
|
34
34
|
/**
|
|
35
35
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
36
|
-
* request
|
|
36
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
37
37
|
* <note>
|
|
38
38
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
39
39
|
* </note>
|
|
@@ -495,7 +495,7 @@ export interface CompleteMultipartUploadOutput {
|
|
|
495
495
|
BucketKeyEnabled?: boolean | undefined;
|
|
496
496
|
/**
|
|
497
497
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
498
|
-
* request
|
|
498
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
499
499
|
* <note>
|
|
500
500
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
501
501
|
* </note>
|
|
@@ -897,7 +897,7 @@ export interface CopyObjectOutput {
|
|
|
897
897
|
BucketKeyEnabled?: boolean | undefined;
|
|
898
898
|
/**
|
|
899
899
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
900
|
-
* request
|
|
900
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
901
901
|
* <note>
|
|
902
902
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
903
903
|
* </note>
|
|
@@ -1935,8 +1935,8 @@ export interface CreateBucketConfiguration {
|
|
|
1935
1935
|
* <p>Specifies the location where the bucket will be created.</p>
|
|
1936
1936
|
* <p>
|
|
1937
1937
|
* <b>Directory buckets </b> - The location type is Availability Zone or Local Zone.
|
|
1938
|
-
* To use the Local Zone location type, your account must be enabled for
|
|
1939
|
-
* error code <code>AccessDenied</code>. To learn more, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html">Enable accounts for
|
|
1938
|
+
* To use the Local Zone location type, your account must be enabled for Local Zones. Otherwise, you get an HTTP <code>403 Forbidden</code> error with the
|
|
1939
|
+
* error code <code>AccessDenied</code>. To learn more, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html">Enable accounts for Local Zones</a> in the <i>Amazon S3 User Guide</i>.
|
|
1940
1940
|
* </p>
|
|
1941
1941
|
* <note>
|
|
1942
1942
|
* <p>This functionality is only supported by directory buckets.</p>
|
|
@@ -2259,7 +2259,7 @@ export interface CreateMultipartUploadOutput {
|
|
|
2259
2259
|
BucketKeyEnabled?: boolean | undefined;
|
|
2260
2260
|
/**
|
|
2261
2261
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
2262
|
-
* request
|
|
2262
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
2263
2263
|
* <note>
|
|
2264
2264
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2265
2265
|
* </note>
|
|
@@ -3347,7 +3347,7 @@ export interface DeleteObjectOutput {
|
|
|
3347
3347
|
VersionId?: string | undefined;
|
|
3348
3348
|
/**
|
|
3349
3349
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
3350
|
-
* request
|
|
3350
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
3351
3351
|
* <note>
|
|
3352
3352
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
3353
3353
|
* </note>
|
|
@@ -5419,7 +5419,7 @@ export interface DeleteObjectsOutput {
|
|
|
5419
5419
|
Deleted?: DeletedObject[] | undefined;
|
|
5420
5420
|
/**
|
|
5421
5421
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
5422
|
-
* request
|
|
5422
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
5423
5423
|
* <note>
|
|
5424
5424
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
5425
5425
|
* </note>
|
|
@@ -5704,7 +5704,7 @@ export interface GetBucketAccelerateConfigurationOutput {
|
|
|
5704
5704
|
Status?: BucketAccelerateStatus | undefined;
|
|
5705
5705
|
/**
|
|
5706
5706
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
5707
|
-
* request
|
|
5707
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
5708
5708
|
* <note>
|
|
5709
5709
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
5710
5710
|
* </note>
|
|
@@ -6992,8 +6992,8 @@ export interface LifecycleRule {
|
|
|
6992
6992
|
Prefix?: string | undefined;
|
|
6993
6993
|
/**
|
|
6994
6994
|
* <p>The <code>Filter</code> is used to identify objects that a Lifecycle Rule applies to. A
|
|
6995
|
-
*
|
|
6996
|
-
*
|
|
6995
|
+
* <code>Filter</code> must have exactly one of <code>Prefix</code>, <code>Tag</code>,
|
|
6996
|
+
* <code>ObjectSizeGreaterThan</code>, <code>ObjectSizeLessThan</code>, or <code>And</code> specified. <code>Filter</code> is required if the
|
|
6997
6997
|
* <code>LifecycleRule</code> does not contain a <code>Prefix</code> element.</p>
|
|
6998
6998
|
* <note>
|
|
6999
6999
|
* <p>
|
|
@@ -9286,7 +9286,7 @@ export interface GetObjectOutput {
|
|
|
9286
9286
|
StorageClass?: StorageClass | undefined;
|
|
9287
9287
|
/**
|
|
9288
9288
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
9289
|
-
* request
|
|
9289
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
9290
9290
|
* <note>
|
|
9291
9291
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
9292
9292
|
* </note>
|
|
@@ -9688,7 +9688,7 @@ export interface GetObjectAclOutput {
|
|
|
9688
9688
|
Grants?: Grant[] | undefined;
|
|
9689
9689
|
/**
|
|
9690
9690
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
9691
|
-
* request
|
|
9691
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
9692
9692
|
* <note>
|
|
9693
9693
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
9694
9694
|
* </note>
|
|
@@ -9930,7 +9930,7 @@ export interface GetObjectAttributesOutput {
|
|
|
9930
9930
|
VersionId?: string | undefined;
|
|
9931
9931
|
/**
|
|
9932
9932
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
9933
|
-
* request
|
|
9933
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
9934
9934
|
* <note>
|
|
9935
9935
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
9936
9936
|
* </note>
|
|
@@ -10029,13 +10029,13 @@ export interface GetObjectAttributesRequest {
|
|
|
10029
10029
|
*/
|
|
10030
10030
|
VersionId?: string | undefined;
|
|
10031
10031
|
/**
|
|
10032
|
-
* <p>Sets the maximum number of parts to return
|
|
10032
|
+
* <p>Sets the maximum number of parts to return. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html">Uploading and copying objects using multipart upload in Amazon S3 </a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
10033
10033
|
* @public
|
|
10034
10034
|
*/
|
|
10035
10035
|
MaxParts?: number | undefined;
|
|
10036
10036
|
/**
|
|
10037
10037
|
* <p>Specifies the part after which listing should begin. Only parts with higher part numbers
|
|
10038
|
-
* will be listed
|
|
10038
|
+
* will be listed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html">Uploading and copying objects using multipart upload in Amazon S3 </a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
10039
10039
|
* @public
|
|
10040
10040
|
*/
|
|
10041
10041
|
PartNumberMarker?: string | undefined;
|
|
@@ -10422,7 +10422,7 @@ export interface GetObjectTorrentOutput {
|
|
|
10422
10422
|
Body?: StreamingBlobTypes | undefined;
|
|
10423
10423
|
/**
|
|
10424
10424
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
10425
|
-
* request
|
|
10425
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
10426
10426
|
* <note>
|
|
10427
10427
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
10428
10428
|
* </note>
|
|
@@ -10898,7 +10898,7 @@ export interface HeadObjectOutput {
|
|
|
10898
10898
|
StorageClass?: StorageClass | undefined;
|
|
10899
10899
|
/**
|
|
10900
10900
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
10901
|
-
* request
|
|
10901
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
10902
10902
|
* <note>
|
|
10903
10903
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
10904
10904
|
* </note>
|
|
@@ -11785,7 +11785,7 @@ export interface ListMultipartUploadsOutput {
|
|
|
11785
11785
|
EncodingType?: EncodingType | undefined;
|
|
11786
11786
|
/**
|
|
11787
11787
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
11788
|
-
* request
|
|
11788
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
11789
11789
|
* <note>
|
|
11790
11790
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
11791
11791
|
* </note>
|
|
@@ -12191,7 +12191,7 @@ export interface ListObjectsOutput {
|
|
|
12191
12191
|
EncodingType?: EncodingType | undefined;
|
|
12192
12192
|
/**
|
|
12193
12193
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
12194
|
-
* request
|
|
12194
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
12195
12195
|
* <note>
|
|
12196
12196
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
12197
12197
|
* </note>
|
|
@@ -12429,7 +12429,7 @@ export interface ListObjectsV2Output {
|
|
|
12429
12429
|
StartAfter?: string | undefined;
|
|
12430
12430
|
/**
|
|
12431
12431
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
12432
|
-
* request
|
|
12432
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
12433
12433
|
* <note>
|
|
12434
12434
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
12435
12435
|
* </note>
|
|
@@ -12774,7 +12774,7 @@ export interface ListObjectVersionsOutput {
|
|
|
12774
12774
|
EncodingType?: EncodingType | undefined;
|
|
12775
12775
|
/**
|
|
12776
12776
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
12777
|
-
* request
|
|
12777
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
12778
12778
|
* <note>
|
|
12779
12779
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
12780
12780
|
* </note>
|
|
@@ -13038,7 +13038,7 @@ export interface ListPartsOutput {
|
|
|
13038
13038
|
StorageClass?: StorageClass | undefined;
|
|
13039
13039
|
/**
|
|
13040
13040
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
13041
|
-
* request
|
|
13041
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
13042
13042
|
* <note>
|
|
13043
13043
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
13044
13044
|
* </note>
|
|
@@ -417,6 +417,18 @@ export interface PutBucketOwnershipControlsRequest {
|
|
|
417
417
|
* @public
|
|
418
418
|
*/
|
|
419
419
|
OwnershipControls: OwnershipControls | undefined;
|
|
420
|
+
/**
|
|
421
|
+
* <p> Indicates the algorithm used to create the checksum for the object when you use the
|
|
422
|
+
* SDK. This header will not provide any additional functionality if you don't use the
|
|
423
|
+
* SDK. When you send this header, there must be a corresponding
|
|
424
|
+
* <code>x-amz-checksum-<i>algorithm</i>
|
|
425
|
+
* </code> header sent. Otherwise, Amazon S3 fails the request with the HTTP
|
|
426
|
+
* status code <code>400 Bad Request</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object
|
|
427
|
+
* integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
428
|
+
* <p>If you provide an individual checksum, Amazon S3 ignores any provided <code>ChecksumAlgorithm</code> parameter. </p>
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
420
432
|
}
|
|
421
433
|
/**
|
|
422
434
|
* @public
|
|
@@ -1020,7 +1032,7 @@ export interface PutObjectOutput {
|
|
|
1020
1032
|
Size?: number | undefined;
|
|
1021
1033
|
/**
|
|
1022
1034
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1023
|
-
* request
|
|
1035
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
1024
1036
|
* <note>
|
|
1025
1037
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1026
1038
|
* </note>
|
|
@@ -1585,7 +1597,7 @@ export declare class TooManyParts extends __BaseException {
|
|
|
1585
1597
|
export interface PutObjectAclOutput {
|
|
1586
1598
|
/**
|
|
1587
1599
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1588
|
-
* request
|
|
1600
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
1589
1601
|
* <note>
|
|
1590
1602
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1591
1603
|
* </note>
|
|
@@ -1712,7 +1724,7 @@ export interface PutObjectAclRequest {
|
|
|
1712
1724
|
export interface PutObjectLegalHoldOutput {
|
|
1713
1725
|
/**
|
|
1714
1726
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1715
|
-
* request
|
|
1727
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
1716
1728
|
* <note>
|
|
1717
1729
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1718
1730
|
* </note>
|
|
@@ -1791,7 +1803,7 @@ export interface PutObjectLegalHoldRequest {
|
|
|
1791
1803
|
export interface PutObjectLockConfigurationOutput {
|
|
1792
1804
|
/**
|
|
1793
1805
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1794
|
-
* request
|
|
1806
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
1795
1807
|
* <note>
|
|
1796
1808
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1797
1809
|
* </note>
|
|
@@ -1862,7 +1874,7 @@ export interface PutObjectLockConfigurationRequest {
|
|
|
1862
1874
|
export interface PutObjectRetentionOutput {
|
|
1863
1875
|
/**
|
|
1864
1876
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
1865
|
-
* request
|
|
1877
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
1866
1878
|
* <note>
|
|
1867
1879
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
1868
1880
|
* </note>
|
|
@@ -2080,7 +2092,7 @@ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
|
2080
2092
|
export interface RestoreObjectOutput {
|
|
2081
2093
|
/**
|
|
2082
2094
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
2083
|
-
* request
|
|
2095
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
2084
2096
|
* <note>
|
|
2085
2097
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
2086
2098
|
* </note>
|
|
@@ -3065,7 +3077,7 @@ export interface UploadPartOutput {
|
|
|
3065
3077
|
BucketKeyEnabled?: boolean | undefined;
|
|
3066
3078
|
/**
|
|
3067
3079
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
3068
|
-
* request
|
|
3080
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
3069
3081
|
* <note>
|
|
3070
3082
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
3071
3083
|
* </note>
|
|
@@ -3349,7 +3361,7 @@ export interface UploadPartCopyOutput {
|
|
|
3349
3361
|
BucketKeyEnabled?: boolean | undefined;
|
|
3350
3362
|
/**
|
|
3351
3363
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
3352
|
-
* request
|
|
3364
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
3353
3365
|
* <note>
|
|
3354
3366
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
3355
3367
|
* </note>
|
|
@@ -3894,7 +3906,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3894
3906
|
ReplicationStatus?: ReplicationStatus | undefined;
|
|
3895
3907
|
/**
|
|
3896
3908
|
* <p>If present, indicates that the requester was successfully charged for the
|
|
3897
|
-
* request
|
|
3909
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p>
|
|
3898
3910
|
* <note>
|
|
3899
3911
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
3900
3912
|
* </note>
|
|
@@ -111,6 +111,7 @@ export interface PutBucketOwnershipControlsRequest {
|
|
|
111
111
|
ContentMD5?: string | undefined;
|
|
112
112
|
ExpectedBucketOwner?: string | undefined;
|
|
113
113
|
OwnershipControls: OwnershipControls | undefined;
|
|
114
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
114
115
|
}
|
|
115
116
|
export interface PutBucketPolicyRequest {
|
|
116
117
|
Bucket: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.820.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|