@aws-sdk/client-s3 3.52.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 +17 -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 +5 -0
- package/dist-types/ts3.4/S3Client.d.ts +10 -5
- package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/S3ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +300 -114
- package/dist-types/ts3.4/models/models_1.d.ts +135 -1
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +41 -38
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
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
|
export interface AbortIncompleteMultipartUpload {
|
|
6
7
|
|
|
@@ -37,9 +38,11 @@ export declare namespace AbortMultipartUploadRequest {
|
|
|
37
38
|
const filterSensitiveLog: (obj: AbortMultipartUploadRequest) => any;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
export
|
|
41
|
-
name: "NoSuchUpload";
|
|
42
|
-
$fault: "client";
|
|
41
|
+
export declare class NoSuchUpload extends __BaseException {
|
|
42
|
+
readonly name: "NoSuchUpload";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
|
|
45
|
+
constructor(opts: __ExceptionOptionType<NoSuchUpload, __BaseException>);
|
|
43
46
|
}
|
|
44
47
|
export declare type BucketAccelerateStatus = "Enabled" | "Suspended";
|
|
45
48
|
|
|
@@ -126,6 +129,14 @@ export interface CompleteMultipartUploadOutput {
|
|
|
126
129
|
|
|
127
130
|
ETag?: string;
|
|
128
131
|
|
|
132
|
+
ChecksumCRC32?: string;
|
|
133
|
+
|
|
134
|
+
ChecksumCRC32C?: string;
|
|
135
|
+
|
|
136
|
+
ChecksumSHA1?: string;
|
|
137
|
+
|
|
138
|
+
ChecksumSHA256?: string;
|
|
139
|
+
|
|
129
140
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
130
141
|
|
|
131
142
|
VersionId?: string;
|
|
@@ -145,6 +156,14 @@ export interface CompletedPart {
|
|
|
145
156
|
|
|
146
157
|
ETag?: string;
|
|
147
158
|
|
|
159
|
+
ChecksumCRC32?: string;
|
|
160
|
+
|
|
161
|
+
ChecksumCRC32C?: string;
|
|
162
|
+
|
|
163
|
+
ChecksumSHA1?: string;
|
|
164
|
+
|
|
165
|
+
ChecksumSHA256?: string;
|
|
166
|
+
|
|
148
167
|
PartNumber?: number;
|
|
149
168
|
}
|
|
150
169
|
export declare namespace CompletedPart {
|
|
@@ -170,9 +189,23 @@ export interface CompleteMultipartUploadRequest {
|
|
|
170
189
|
|
|
171
190
|
UploadId: string | undefined;
|
|
172
191
|
|
|
192
|
+
ChecksumCRC32?: string;
|
|
193
|
+
|
|
194
|
+
ChecksumCRC32C?: string;
|
|
195
|
+
|
|
196
|
+
ChecksumSHA1?: string;
|
|
197
|
+
|
|
198
|
+
ChecksumSHA256?: string;
|
|
199
|
+
|
|
173
200
|
RequestPayer?: RequestPayer | string;
|
|
174
201
|
|
|
175
202
|
ExpectedBucketOwner?: string;
|
|
203
|
+
|
|
204
|
+
SSECustomerAlgorithm?: string;
|
|
205
|
+
|
|
206
|
+
SSECustomerKey?: string;
|
|
207
|
+
|
|
208
|
+
SSECustomerKeyMD5?: string;
|
|
176
209
|
}
|
|
177
210
|
export declare namespace CompleteMultipartUploadRequest {
|
|
178
211
|
|
|
@@ -184,6 +217,14 @@ export interface CopyObjectResult {
|
|
|
184
217
|
ETag?: string;
|
|
185
218
|
|
|
186
219
|
LastModified?: Date;
|
|
220
|
+
|
|
221
|
+
ChecksumCRC32?: string;
|
|
222
|
+
|
|
223
|
+
ChecksumCRC32C?: string;
|
|
224
|
+
|
|
225
|
+
ChecksumSHA1?: string;
|
|
226
|
+
|
|
227
|
+
ChecksumSHA256?: string;
|
|
187
228
|
}
|
|
188
229
|
export declare namespace CopyObjectResult {
|
|
189
230
|
|
|
@@ -218,6 +259,12 @@ export declare namespace CopyObjectOutput {
|
|
|
218
259
|
const filterSensitiveLog: (obj: CopyObjectOutput) => any;
|
|
219
260
|
}
|
|
220
261
|
export declare type ObjectCannedACL = "authenticated-read" | "aws-exec-read" | "bucket-owner-full-control" | "bucket-owner-read" | "private" | "public-read" | "public-read-write";
|
|
262
|
+
export declare enum ChecksumAlgorithm {
|
|
263
|
+
CRC32 = "CRC32",
|
|
264
|
+
CRC32C = "CRC32C",
|
|
265
|
+
SHA1 = "SHA1",
|
|
266
|
+
SHA256 = "SHA256"
|
|
267
|
+
}
|
|
221
268
|
export declare type MetadataDirective = "COPY" | "REPLACE";
|
|
222
269
|
export declare type ObjectLockLegalHoldStatus = "OFF" | "ON";
|
|
223
270
|
export declare type ObjectLockMode = "COMPLIANCE" | "GOVERNANCE";
|
|
@@ -231,6 +278,8 @@ export interface CopyObjectRequest {
|
|
|
231
278
|
|
|
232
279
|
CacheControl?: string;
|
|
233
280
|
|
|
281
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
282
|
+
|
|
234
283
|
ContentDisposition?: string;
|
|
235
284
|
|
|
236
285
|
ContentEncoding?: string;
|
|
@@ -312,19 +361,25 @@ export declare namespace CopyObjectRequest {
|
|
|
312
361
|
const filterSensitiveLog: (obj: CopyObjectRequest) => any;
|
|
313
362
|
}
|
|
314
363
|
|
|
315
|
-
export
|
|
316
|
-
name: "ObjectNotInActiveTierError";
|
|
317
|
-
$fault: "client";
|
|
364
|
+
export declare class ObjectNotInActiveTierError extends __BaseException {
|
|
365
|
+
readonly name: "ObjectNotInActiveTierError";
|
|
366
|
+
readonly $fault: "client";
|
|
367
|
+
|
|
368
|
+
constructor(opts: __ExceptionOptionType<ObjectNotInActiveTierError, __BaseException>);
|
|
318
369
|
}
|
|
319
370
|
|
|
320
|
-
export
|
|
321
|
-
name: "BucketAlreadyExists";
|
|
322
|
-
$fault: "client";
|
|
371
|
+
export declare class BucketAlreadyExists extends __BaseException {
|
|
372
|
+
readonly name: "BucketAlreadyExists";
|
|
373
|
+
readonly $fault: "client";
|
|
374
|
+
|
|
375
|
+
constructor(opts: __ExceptionOptionType<BucketAlreadyExists, __BaseException>);
|
|
323
376
|
}
|
|
324
377
|
|
|
325
|
-
export
|
|
326
|
-
name: "BucketAlreadyOwnedByYou";
|
|
327
|
-
$fault: "client";
|
|
378
|
+
export declare class BucketAlreadyOwnedByYou extends __BaseException {
|
|
379
|
+
readonly name: "BucketAlreadyOwnedByYou";
|
|
380
|
+
readonly $fault: "client";
|
|
381
|
+
|
|
382
|
+
constructor(opts: __ExceptionOptionType<BucketAlreadyOwnedByYou, __BaseException>);
|
|
328
383
|
}
|
|
329
384
|
export interface CreateBucketOutput {
|
|
330
385
|
|
|
@@ -397,6 +452,8 @@ export interface CreateMultipartUploadOutput {
|
|
|
397
452
|
BucketKeyEnabled?: boolean;
|
|
398
453
|
|
|
399
454
|
RequestCharged?: RequestCharged | string;
|
|
455
|
+
|
|
456
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
400
457
|
}
|
|
401
458
|
export declare namespace CreateMultipartUploadOutput {
|
|
402
459
|
|
|
@@ -463,6 +520,8 @@ export interface CreateMultipartUploadRequest {
|
|
|
463
520
|
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string;
|
|
464
521
|
|
|
465
522
|
ExpectedBucketOwner?: string;
|
|
523
|
+
|
|
524
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
466
525
|
}
|
|
467
526
|
export declare namespace CreateMultipartUploadRequest {
|
|
468
527
|
|
|
@@ -713,6 +772,8 @@ export interface DeleteObjectsRequest {
|
|
|
713
772
|
BypassGovernanceRetention?: boolean;
|
|
714
773
|
|
|
715
774
|
ExpectedBucketOwner?: string;
|
|
775
|
+
|
|
776
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
716
777
|
}
|
|
717
778
|
export declare namespace DeleteObjectsRequest {
|
|
718
779
|
|
|
@@ -1152,7 +1213,7 @@ export declare namespace InventoryFilter {
|
|
|
1152
1213
|
const filterSensitiveLog: (obj: InventoryFilter) => any;
|
|
1153
1214
|
}
|
|
1154
1215
|
export declare type InventoryIncludedObjectVersions = "All" | "Current";
|
|
1155
|
-
export declare type InventoryOptionalField = "BucketKeyStatus" | "ETag" | "EncryptionStatus" | "IntelligentTieringAccessTier" | "IsMultipartUploaded" | "LastModifiedDate" | "ObjectLockLegalHoldStatus" | "ObjectLockMode" | "ObjectLockRetainUntilDate" | "ReplicationStatus" | "Size" | "StorageClass";
|
|
1216
|
+
export declare type InventoryOptionalField = "BucketKeyStatus" | "ChecksumAlgorithm" | "ETag" | "EncryptionStatus" | "IntelligentTieringAccessTier" | "IsMultipartUploaded" | "LastModifiedDate" | "ObjectLockLegalHoldStatus" | "ObjectLockMode" | "ObjectLockRetainUntilDate" | "ReplicationStatus" | "Size" | "StorageClass";
|
|
1156
1217
|
export declare type InventoryFrequency = "Daily" | "Weekly";
|
|
1157
1218
|
|
|
1158
1219
|
export interface InventorySchedule {
|
|
@@ -2129,6 +2190,14 @@ export interface GetObjectOutput {
|
|
|
2129
2190
|
|
|
2130
2191
|
ETag?: string;
|
|
2131
2192
|
|
|
2193
|
+
ChecksumCRC32?: string;
|
|
2194
|
+
|
|
2195
|
+
ChecksumCRC32C?: string;
|
|
2196
|
+
|
|
2197
|
+
ChecksumSHA1?: string;
|
|
2198
|
+
|
|
2199
|
+
ChecksumSHA256?: string;
|
|
2200
|
+
|
|
2132
2201
|
MissingMeta?: number;
|
|
2133
2202
|
|
|
2134
2203
|
VersionId?: string;
|
|
@@ -2183,6 +2252,9 @@ export declare namespace GetObjectOutput {
|
|
|
2183
2252
|
|
|
2184
2253
|
const filterSensitiveLog: (obj: GetObjectOutput) => any;
|
|
2185
2254
|
}
|
|
2255
|
+
export declare enum ChecksumMode {
|
|
2256
|
+
ENABLED = "ENABLED"
|
|
2257
|
+
}
|
|
2186
2258
|
export interface GetObjectRequest {
|
|
2187
2259
|
|
|
2188
2260
|
Bucket: string | undefined;
|
|
@@ -2224,22 +2296,28 @@ export interface GetObjectRequest {
|
|
|
2224
2296
|
PartNumber?: number;
|
|
2225
2297
|
|
|
2226
2298
|
ExpectedBucketOwner?: string;
|
|
2299
|
+
|
|
2300
|
+
ChecksumMode?: ChecksumMode | string;
|
|
2227
2301
|
}
|
|
2228
2302
|
export declare namespace GetObjectRequest {
|
|
2229
2303
|
|
|
2230
2304
|
const filterSensitiveLog: (obj: GetObjectRequest) => any;
|
|
2231
2305
|
}
|
|
2232
2306
|
|
|
2233
|
-
export
|
|
2234
|
-
name: "InvalidObjectState";
|
|
2235
|
-
$fault: "client";
|
|
2307
|
+
export declare class InvalidObjectState extends __BaseException {
|
|
2308
|
+
readonly name: "InvalidObjectState";
|
|
2309
|
+
readonly $fault: "client";
|
|
2236
2310
|
StorageClass?: StorageClass | string;
|
|
2237
2311
|
AccessTier?: IntelligentTieringAccessTier | string;
|
|
2312
|
+
|
|
2313
|
+
constructor(opts: __ExceptionOptionType<InvalidObjectState, __BaseException>);
|
|
2238
2314
|
}
|
|
2239
2315
|
|
|
2240
|
-
export
|
|
2241
|
-
name: "NoSuchKey";
|
|
2242
|
-
$fault: "client";
|
|
2316
|
+
export declare class NoSuchKey extends __BaseException {
|
|
2317
|
+
readonly name: "NoSuchKey";
|
|
2318
|
+
readonly $fault: "client";
|
|
2319
|
+
|
|
2320
|
+
constructor(opts: __ExceptionOptionType<NoSuchKey, __BaseException>);
|
|
2243
2321
|
}
|
|
2244
2322
|
export interface GetObjectAclOutput {
|
|
2245
2323
|
|
|
@@ -2270,6 +2348,118 @@ export declare namespace GetObjectAclRequest {
|
|
|
2270
2348
|
const filterSensitiveLog: (obj: GetObjectAclRequest) => any;
|
|
2271
2349
|
}
|
|
2272
2350
|
|
|
2351
|
+
export interface Checksum {
|
|
2352
|
+
|
|
2353
|
+
ChecksumCRC32?: string;
|
|
2354
|
+
|
|
2355
|
+
ChecksumCRC32C?: string;
|
|
2356
|
+
|
|
2357
|
+
ChecksumSHA1?: string;
|
|
2358
|
+
|
|
2359
|
+
ChecksumSHA256?: string;
|
|
2360
|
+
}
|
|
2361
|
+
export declare namespace Checksum {
|
|
2362
|
+
|
|
2363
|
+
const filterSensitiveLog: (obj: Checksum) => any;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
export interface ObjectPart {
|
|
2367
|
+
|
|
2368
|
+
PartNumber?: number;
|
|
2369
|
+
|
|
2370
|
+
Size?: number;
|
|
2371
|
+
|
|
2372
|
+
ChecksumCRC32?: string;
|
|
2373
|
+
|
|
2374
|
+
ChecksumCRC32C?: string;
|
|
2375
|
+
|
|
2376
|
+
ChecksumSHA1?: string;
|
|
2377
|
+
|
|
2378
|
+
ChecksumSHA256?: string;
|
|
2379
|
+
}
|
|
2380
|
+
export declare namespace ObjectPart {
|
|
2381
|
+
|
|
2382
|
+
const filterSensitiveLog: (obj: ObjectPart) => any;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
export interface GetObjectAttributesParts {
|
|
2386
|
+
|
|
2387
|
+
TotalPartsCount?: number;
|
|
2388
|
+
|
|
2389
|
+
PartNumberMarker?: string;
|
|
2390
|
+
|
|
2391
|
+
NextPartNumberMarker?: string;
|
|
2392
|
+
|
|
2393
|
+
MaxParts?: number;
|
|
2394
|
+
|
|
2395
|
+
IsTruncated?: boolean;
|
|
2396
|
+
|
|
2397
|
+
Parts?: ObjectPart[];
|
|
2398
|
+
}
|
|
2399
|
+
export declare namespace GetObjectAttributesParts {
|
|
2400
|
+
|
|
2401
|
+
const filterSensitiveLog: (obj: GetObjectAttributesParts) => any;
|
|
2402
|
+
}
|
|
2403
|
+
export interface GetObjectAttributesOutput {
|
|
2404
|
+
|
|
2405
|
+
DeleteMarker?: boolean;
|
|
2406
|
+
|
|
2407
|
+
LastModified?: Date;
|
|
2408
|
+
|
|
2409
|
+
VersionId?: string;
|
|
2410
|
+
|
|
2411
|
+
RequestCharged?: RequestCharged | string;
|
|
2412
|
+
|
|
2413
|
+
ETag?: string;
|
|
2414
|
+
|
|
2415
|
+
Checksum?: Checksum;
|
|
2416
|
+
|
|
2417
|
+
ObjectParts?: GetObjectAttributesParts;
|
|
2418
|
+
|
|
2419
|
+
StorageClass?: StorageClass | string;
|
|
2420
|
+
|
|
2421
|
+
ObjectSize?: number;
|
|
2422
|
+
}
|
|
2423
|
+
export declare namespace GetObjectAttributesOutput {
|
|
2424
|
+
|
|
2425
|
+
const filterSensitiveLog: (obj: GetObjectAttributesOutput) => any;
|
|
2426
|
+
}
|
|
2427
|
+
export declare enum ObjectAttributes {
|
|
2428
|
+
CHECKSUM = "Checksum",
|
|
2429
|
+
ETAG = "ETag",
|
|
2430
|
+
OBJECT_PARTS = "ObjectParts",
|
|
2431
|
+
OBJECT_SIZE = "ObjectSize",
|
|
2432
|
+
STORAGE_CLASS = "StorageClass"
|
|
2433
|
+
}
|
|
2434
|
+
export interface GetObjectAttributesRequest {
|
|
2435
|
+
|
|
2436
|
+
Bucket: string | undefined;
|
|
2437
|
+
|
|
2438
|
+
Key: string | undefined;
|
|
2439
|
+
|
|
2440
|
+
VersionId?: string;
|
|
2441
|
+
|
|
2442
|
+
MaxParts?: number;
|
|
2443
|
+
|
|
2444
|
+
PartNumberMarker?: string;
|
|
2445
|
+
|
|
2446
|
+
SSECustomerAlgorithm?: string;
|
|
2447
|
+
|
|
2448
|
+
SSECustomerKey?: string;
|
|
2449
|
+
|
|
2450
|
+
SSECustomerKeyMD5?: string;
|
|
2451
|
+
|
|
2452
|
+
RequestPayer?: RequestPayer | string;
|
|
2453
|
+
|
|
2454
|
+
ExpectedBucketOwner?: string;
|
|
2455
|
+
|
|
2456
|
+
ObjectAttributes: (ObjectAttributes | string)[] | undefined;
|
|
2457
|
+
}
|
|
2458
|
+
export declare namespace GetObjectAttributesRequest {
|
|
2459
|
+
|
|
2460
|
+
const filterSensitiveLog: (obj: GetObjectAttributesRequest) => any;
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2273
2463
|
export interface ObjectLockLegalHold {
|
|
2274
2464
|
|
|
2275
2465
|
Status?: ObjectLockLegalHoldStatus | string;
|
|
@@ -2484,9 +2674,11 @@ export declare namespace HeadBucketRequest {
|
|
|
2484
2674
|
const filterSensitiveLog: (obj: HeadBucketRequest) => any;
|
|
2485
2675
|
}
|
|
2486
2676
|
|
|
2487
|
-
export
|
|
2488
|
-
name: "NotFound";
|
|
2489
|
-
$fault: "client";
|
|
2677
|
+
export declare class NotFound extends __BaseException {
|
|
2678
|
+
readonly name: "NotFound";
|
|
2679
|
+
readonly $fault: "client";
|
|
2680
|
+
|
|
2681
|
+
constructor(opts: __ExceptionOptionType<NotFound, __BaseException>);
|
|
2490
2682
|
}
|
|
2491
2683
|
export declare type ArchiveStatus = "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS";
|
|
2492
2684
|
export interface HeadObjectOutput {
|
|
@@ -2505,6 +2697,14 @@ export interface HeadObjectOutput {
|
|
|
2505
2697
|
|
|
2506
2698
|
ContentLength?: number;
|
|
2507
2699
|
|
|
2700
|
+
ChecksumCRC32?: string;
|
|
2701
|
+
|
|
2702
|
+
ChecksumCRC32C?: string;
|
|
2703
|
+
|
|
2704
|
+
ChecksumSHA1?: string;
|
|
2705
|
+
|
|
2706
|
+
ChecksumSHA256?: string;
|
|
2707
|
+
|
|
2508
2708
|
ETag?: string;
|
|
2509
2709
|
|
|
2510
2710
|
MissingMeta?: number;
|
|
@@ -2586,6 +2786,8 @@ export interface HeadObjectRequest {
|
|
|
2586
2786
|
PartNumber?: number;
|
|
2587
2787
|
|
|
2588
2788
|
ExpectedBucketOwner?: string;
|
|
2789
|
+
|
|
2790
|
+
ChecksumMode?: ChecksumMode | string;
|
|
2589
2791
|
}
|
|
2590
2792
|
export declare namespace HeadObjectRequest {
|
|
2591
2793
|
|
|
@@ -2749,6 +2951,8 @@ export interface MultipartUpload {
|
|
|
2749
2951
|
Owner?: Owner;
|
|
2750
2952
|
|
|
2751
2953
|
Initiator?: Initiator;
|
|
2954
|
+
|
|
2955
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
2752
2956
|
}
|
|
2753
2957
|
export declare namespace MultipartUpload {
|
|
2754
2958
|
|
|
@@ -2816,6 +3020,8 @@ export interface _Object {
|
|
|
2816
3020
|
|
|
2817
3021
|
ETag?: string;
|
|
2818
3022
|
|
|
3023
|
+
ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
|
|
3024
|
+
|
|
2819
3025
|
Size?: number;
|
|
2820
3026
|
|
|
2821
3027
|
StorageClass?: ObjectStorageClass | string;
|
|
@@ -2875,9 +3081,11 @@ export declare namespace ListObjectsRequest {
|
|
|
2875
3081
|
const filterSensitiveLog: (obj: ListObjectsRequest) => any;
|
|
2876
3082
|
}
|
|
2877
3083
|
|
|
2878
|
-
export
|
|
2879
|
-
name: "NoSuchBucket";
|
|
2880
|
-
$fault: "client";
|
|
3084
|
+
export declare class NoSuchBucket extends __BaseException {
|
|
3085
|
+
readonly name: "NoSuchBucket";
|
|
3086
|
+
readonly $fault: "client";
|
|
3087
|
+
|
|
3088
|
+
constructor(opts: __ExceptionOptionType<NoSuchBucket, __BaseException>);
|
|
2881
3089
|
}
|
|
2882
3090
|
export interface ListObjectsV2Output {
|
|
2883
3091
|
|
|
@@ -2958,6 +3166,8 @@ export interface ObjectVersion {
|
|
|
2958
3166
|
|
|
2959
3167
|
ETag?: string;
|
|
2960
3168
|
|
|
3169
|
+
ChecksumAlgorithm?: (ChecksumAlgorithm | string)[];
|
|
3170
|
+
|
|
2961
3171
|
Size?: number;
|
|
2962
3172
|
|
|
2963
3173
|
StorageClass?: ObjectVersionStorageClass | string;
|
|
@@ -3040,6 +3250,14 @@ export interface Part {
|
|
|
3040
3250
|
ETag?: string;
|
|
3041
3251
|
|
|
3042
3252
|
Size?: number;
|
|
3253
|
+
|
|
3254
|
+
ChecksumCRC32?: string;
|
|
3255
|
+
|
|
3256
|
+
ChecksumCRC32C?: string;
|
|
3257
|
+
|
|
3258
|
+
ChecksumSHA1?: string;
|
|
3259
|
+
|
|
3260
|
+
ChecksumSHA256?: string;
|
|
3043
3261
|
}
|
|
3044
3262
|
export declare namespace Part {
|
|
3045
3263
|
|
|
@@ -3074,6 +3292,8 @@ export interface ListPartsOutput {
|
|
|
3074
3292
|
StorageClass?: StorageClass | string;
|
|
3075
3293
|
|
|
3076
3294
|
RequestCharged?: RequestCharged | string;
|
|
3295
|
+
|
|
3296
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3077
3297
|
}
|
|
3078
3298
|
export declare namespace ListPartsOutput {
|
|
3079
3299
|
|
|
@@ -3094,6 +3314,12 @@ export interface ListPartsRequest {
|
|
|
3094
3314
|
RequestPayer?: RequestPayer | string;
|
|
3095
3315
|
|
|
3096
3316
|
ExpectedBucketOwner?: string;
|
|
3317
|
+
|
|
3318
|
+
SSECustomerAlgorithm?: string;
|
|
3319
|
+
|
|
3320
|
+
SSECustomerKey?: string;
|
|
3321
|
+
|
|
3322
|
+
SSECustomerKeyMD5?: string;
|
|
3097
3323
|
}
|
|
3098
3324
|
export declare namespace ListPartsRequest {
|
|
3099
3325
|
|
|
@@ -3106,6 +3332,8 @@ export interface PutBucketAccelerateConfigurationRequest {
|
|
|
3106
3332
|
AccelerateConfiguration: AccelerateConfiguration | undefined;
|
|
3107
3333
|
|
|
3108
3334
|
ExpectedBucketOwner?: string;
|
|
3335
|
+
|
|
3336
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3109
3337
|
}
|
|
3110
3338
|
export declare namespace PutBucketAccelerateConfigurationRequest {
|
|
3111
3339
|
|
|
@@ -3121,6 +3349,8 @@ export interface PutBucketAclRequest {
|
|
|
3121
3349
|
|
|
3122
3350
|
ContentMD5?: string;
|
|
3123
3351
|
|
|
3352
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3353
|
+
|
|
3124
3354
|
GrantFullControl?: string;
|
|
3125
3355
|
|
|
3126
3356
|
GrantRead?: string;
|
|
@@ -3168,6 +3398,8 @@ export interface PutBucketCorsRequest {
|
|
|
3168
3398
|
|
|
3169
3399
|
ContentMD5?: string;
|
|
3170
3400
|
|
|
3401
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3402
|
+
|
|
3171
3403
|
ExpectedBucketOwner?: string;
|
|
3172
3404
|
}
|
|
3173
3405
|
export declare namespace PutBucketCorsRequest {
|
|
@@ -3180,6 +3412,8 @@ export interface PutBucketEncryptionRequest {
|
|
|
3180
3412
|
|
|
3181
3413
|
ContentMD5?: string;
|
|
3182
3414
|
|
|
3415
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3416
|
+
|
|
3183
3417
|
ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | undefined;
|
|
3184
3418
|
|
|
3185
3419
|
ExpectedBucketOwner?: string;
|
|
@@ -3227,6 +3461,8 @@ export interface PutBucketLifecycleConfigurationRequest {
|
|
|
3227
3461
|
|
|
3228
3462
|
Bucket: string | undefined;
|
|
3229
3463
|
|
|
3464
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3465
|
+
|
|
3230
3466
|
LifecycleConfiguration?: BucketLifecycleConfiguration;
|
|
3231
3467
|
|
|
3232
3468
|
ExpectedBucketOwner?: string;
|
|
@@ -3252,6 +3488,8 @@ export interface PutBucketLoggingRequest {
|
|
|
3252
3488
|
|
|
3253
3489
|
ContentMD5?: string;
|
|
3254
3490
|
|
|
3491
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3492
|
+
|
|
3255
3493
|
ExpectedBucketOwner?: string;
|
|
3256
3494
|
}
|
|
3257
3495
|
export declare namespace PutBucketLoggingRequest {
|
|
@@ -3306,6 +3544,8 @@ export interface PutBucketPolicyRequest {
|
|
|
3306
3544
|
|
|
3307
3545
|
ContentMD5?: string;
|
|
3308
3546
|
|
|
3547
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3548
|
+
|
|
3309
3549
|
ConfirmRemoveSelfBucketAccess?: boolean;
|
|
3310
3550
|
|
|
3311
3551
|
Policy: string | undefined;
|
|
@@ -3322,6 +3562,8 @@ export interface PutBucketReplicationRequest {
|
|
|
3322
3562
|
|
|
3323
3563
|
ContentMD5?: string;
|
|
3324
3564
|
|
|
3565
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3566
|
+
|
|
3325
3567
|
ReplicationConfiguration: ReplicationConfiguration | undefined;
|
|
3326
3568
|
|
|
3327
3569
|
Token?: string;
|
|
@@ -3347,6 +3589,8 @@ export interface PutBucketRequestPaymentRequest {
|
|
|
3347
3589
|
|
|
3348
3590
|
ContentMD5?: string;
|
|
3349
3591
|
|
|
3592
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3593
|
+
|
|
3350
3594
|
RequestPaymentConfiguration: RequestPaymentConfiguration | undefined;
|
|
3351
3595
|
|
|
3352
3596
|
ExpectedBucketOwner?: string;
|
|
@@ -3370,6 +3614,8 @@ export interface PutBucketTaggingRequest {
|
|
|
3370
3614
|
|
|
3371
3615
|
ContentMD5?: string;
|
|
3372
3616
|
|
|
3617
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3618
|
+
|
|
3373
3619
|
Tagging: Tagging | undefined;
|
|
3374
3620
|
|
|
3375
3621
|
ExpectedBucketOwner?: string;
|
|
@@ -3396,6 +3642,8 @@ export interface PutBucketVersioningRequest {
|
|
|
3396
3642
|
|
|
3397
3643
|
ContentMD5?: string;
|
|
3398
3644
|
|
|
3645
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3646
|
+
|
|
3399
3647
|
MFA?: string;
|
|
3400
3648
|
|
|
3401
3649
|
VersioningConfiguration: VersioningConfiguration | undefined;
|
|
@@ -3427,6 +3675,8 @@ export interface PutBucketWebsiteRequest {
|
|
|
3427
3675
|
|
|
3428
3676
|
ContentMD5?: string;
|
|
3429
3677
|
|
|
3678
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3679
|
+
|
|
3430
3680
|
WebsiteConfiguration: WebsiteConfiguration | undefined;
|
|
3431
3681
|
|
|
3432
3682
|
ExpectedBucketOwner?: string;
|
|
@@ -3441,6 +3691,14 @@ export interface PutObjectOutput {
|
|
|
3441
3691
|
|
|
3442
3692
|
ETag?: string;
|
|
3443
3693
|
|
|
3694
|
+
ChecksumCRC32?: string;
|
|
3695
|
+
|
|
3696
|
+
ChecksumCRC32C?: string;
|
|
3697
|
+
|
|
3698
|
+
ChecksumSHA1?: string;
|
|
3699
|
+
|
|
3700
|
+
ChecksumSHA256?: string;
|
|
3701
|
+
|
|
3444
3702
|
ServerSideEncryption?: ServerSideEncryption | string;
|
|
3445
3703
|
|
|
3446
3704
|
VersionId?: string;
|
|
@@ -3483,6 +3741,16 @@ export interface PutObjectRequest {
|
|
|
3483
3741
|
|
|
3484
3742
|
ContentType?: string;
|
|
3485
3743
|
|
|
3744
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3745
|
+
|
|
3746
|
+
ChecksumCRC32?: string;
|
|
3747
|
+
|
|
3748
|
+
ChecksumCRC32C?: string;
|
|
3749
|
+
|
|
3750
|
+
ChecksumSHA1?: string;
|
|
3751
|
+
|
|
3752
|
+
ChecksumSHA256?: string;
|
|
3753
|
+
|
|
3486
3754
|
Expires?: Date;
|
|
3487
3755
|
|
|
3488
3756
|
GrantFullControl?: string;
|
|
@@ -3551,6 +3819,8 @@ export interface PutObjectAclRequest {
|
|
|
3551
3819
|
|
|
3552
3820
|
ContentMD5?: string;
|
|
3553
3821
|
|
|
3822
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3823
|
+
|
|
3554
3824
|
GrantFullControl?: string;
|
|
3555
3825
|
|
|
3556
3826
|
GrantRead?: string;
|
|
@@ -3595,6 +3865,8 @@ export interface PutObjectLegalHoldRequest {
|
|
|
3595
3865
|
|
|
3596
3866
|
ContentMD5?: string;
|
|
3597
3867
|
|
|
3868
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3869
|
+
|
|
3598
3870
|
ExpectedBucketOwner?: string;
|
|
3599
3871
|
}
|
|
3600
3872
|
export declare namespace PutObjectLegalHoldRequest {
|
|
@@ -3621,97 +3893,11 @@ export interface PutObjectLockConfigurationRequest {
|
|
|
3621
3893
|
|
|
3622
3894
|
ContentMD5?: string;
|
|
3623
3895
|
|
|
3896
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | string;
|
|
3897
|
+
|
|
3624
3898
|
ExpectedBucketOwner?: string;
|
|
3625
3899
|
}
|
|
3626
3900
|
export declare namespace PutObjectLockConfigurationRequest {
|
|
3627
3901
|
|
|
3628
3902
|
const filterSensitiveLog: (obj: PutObjectLockConfigurationRequest) => any;
|
|
3629
3903
|
}
|
|
3630
|
-
export interface PutObjectRetentionOutput {
|
|
3631
|
-
|
|
3632
|
-
RequestCharged?: RequestCharged | string;
|
|
3633
|
-
}
|
|
3634
|
-
export declare namespace PutObjectRetentionOutput {
|
|
3635
|
-
|
|
3636
|
-
const filterSensitiveLog: (obj: PutObjectRetentionOutput) => any;
|
|
3637
|
-
}
|
|
3638
|
-
export interface PutObjectRetentionRequest {
|
|
3639
|
-
|
|
3640
|
-
Bucket: string | undefined;
|
|
3641
|
-
|
|
3642
|
-
Key: string | undefined;
|
|
3643
|
-
|
|
3644
|
-
Retention?: ObjectLockRetention;
|
|
3645
|
-
|
|
3646
|
-
RequestPayer?: RequestPayer | string;
|
|
3647
|
-
|
|
3648
|
-
VersionId?: string;
|
|
3649
|
-
|
|
3650
|
-
BypassGovernanceRetention?: boolean;
|
|
3651
|
-
|
|
3652
|
-
ContentMD5?: string;
|
|
3653
|
-
|
|
3654
|
-
ExpectedBucketOwner?: string;
|
|
3655
|
-
}
|
|
3656
|
-
export declare namespace PutObjectRetentionRequest {
|
|
3657
|
-
|
|
3658
|
-
const filterSensitiveLog: (obj: PutObjectRetentionRequest) => any;
|
|
3659
|
-
}
|
|
3660
|
-
export interface PutObjectTaggingOutput {
|
|
3661
|
-
|
|
3662
|
-
VersionId?: string;
|
|
3663
|
-
}
|
|
3664
|
-
export declare namespace PutObjectTaggingOutput {
|
|
3665
|
-
|
|
3666
|
-
const filterSensitiveLog: (obj: PutObjectTaggingOutput) => any;
|
|
3667
|
-
}
|
|
3668
|
-
export interface PutObjectTaggingRequest {
|
|
3669
|
-
|
|
3670
|
-
Bucket: string | undefined;
|
|
3671
|
-
|
|
3672
|
-
Key: string | undefined;
|
|
3673
|
-
|
|
3674
|
-
VersionId?: string;
|
|
3675
|
-
|
|
3676
|
-
ContentMD5?: string;
|
|
3677
|
-
|
|
3678
|
-
Tagging: Tagging | undefined;
|
|
3679
|
-
|
|
3680
|
-
ExpectedBucketOwner?: string;
|
|
3681
|
-
|
|
3682
|
-
RequestPayer?: RequestPayer | string;
|
|
3683
|
-
}
|
|
3684
|
-
export declare namespace PutObjectTaggingRequest {
|
|
3685
|
-
|
|
3686
|
-
const filterSensitiveLog: (obj: PutObjectTaggingRequest) => any;
|
|
3687
|
-
}
|
|
3688
|
-
export interface PutPublicAccessBlockRequest {
|
|
3689
|
-
|
|
3690
|
-
Bucket: string | undefined;
|
|
3691
|
-
|
|
3692
|
-
ContentMD5?: string;
|
|
3693
|
-
|
|
3694
|
-
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
3695
|
-
|
|
3696
|
-
ExpectedBucketOwner?: string;
|
|
3697
|
-
}
|
|
3698
|
-
export declare namespace PutPublicAccessBlockRequest {
|
|
3699
|
-
|
|
3700
|
-
const filterSensitiveLog: (obj: PutPublicAccessBlockRequest) => any;
|
|
3701
|
-
}
|
|
3702
|
-
|
|
3703
|
-
export interface ObjectAlreadyInActiveTierError extends __SmithyException, $MetadataBearer {
|
|
3704
|
-
name: "ObjectAlreadyInActiveTierError";
|
|
3705
|
-
$fault: "client";
|
|
3706
|
-
}
|
|
3707
|
-
export interface RestoreObjectOutput {
|
|
3708
|
-
|
|
3709
|
-
RequestCharged?: RequestCharged | string;
|
|
3710
|
-
|
|
3711
|
-
RestoreOutputPath?: string;
|
|
3712
|
-
}
|
|
3713
|
-
export declare namespace RestoreObjectOutput {
|
|
3714
|
-
|
|
3715
|
-
const filterSensitiveLog: (obj: RestoreObjectOutput) => any;
|
|
3716
|
-
}
|
|
3717
|
-
export declare type Tier = "Bulk" | "Expedited" | "Standard";
|