@aws-sdk/client-s3 3.427.0 → 3.429.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-types/models/models_0.d.ts +168 -168
- package/dist-types/models/models_1.d.ts +37 -37
- package/dist-types/ts3.4/models/models_0.d.ts +168 -168
- package/dist-types/ts3.4/models/models_1.d.ts +37 -37
- package/package.json +46 -46
|
@@ -18,29 +18,29 @@ import {
|
|
|
18
18
|
} from "./models_0";
|
|
19
19
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
20
20
|
export interface PutObjectLockConfigurationOutput {
|
|
21
|
-
RequestCharged?: RequestCharged
|
|
21
|
+
RequestCharged?: RequestCharged;
|
|
22
22
|
}
|
|
23
23
|
export interface PutObjectLockConfigurationRequest {
|
|
24
24
|
Bucket: string | undefined;
|
|
25
25
|
ObjectLockConfiguration?: ObjectLockConfiguration;
|
|
26
|
-
RequestPayer?: RequestPayer
|
|
26
|
+
RequestPayer?: RequestPayer;
|
|
27
27
|
Token?: string;
|
|
28
28
|
ContentMD5?: string;
|
|
29
|
-
ChecksumAlgorithm?: ChecksumAlgorithm
|
|
29
|
+
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
30
30
|
ExpectedBucketOwner?: string;
|
|
31
31
|
}
|
|
32
32
|
export interface PutObjectRetentionOutput {
|
|
33
|
-
RequestCharged?: RequestCharged
|
|
33
|
+
RequestCharged?: RequestCharged;
|
|
34
34
|
}
|
|
35
35
|
export interface PutObjectRetentionRequest {
|
|
36
36
|
Bucket: string | undefined;
|
|
37
37
|
Key: string | undefined;
|
|
38
38
|
Retention?: ObjectLockRetention;
|
|
39
|
-
RequestPayer?: RequestPayer
|
|
39
|
+
RequestPayer?: RequestPayer;
|
|
40
40
|
VersionId?: string;
|
|
41
41
|
BypassGovernanceRetention?: boolean;
|
|
42
42
|
ContentMD5?: string;
|
|
43
|
-
ChecksumAlgorithm?: ChecksumAlgorithm
|
|
43
|
+
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
44
44
|
ExpectedBucketOwner?: string;
|
|
45
45
|
}
|
|
46
46
|
export interface PutObjectTaggingOutput {
|
|
@@ -51,15 +51,15 @@ export interface PutObjectTaggingRequest {
|
|
|
51
51
|
Key: string | undefined;
|
|
52
52
|
VersionId?: string;
|
|
53
53
|
ContentMD5?: string;
|
|
54
|
-
ChecksumAlgorithm?: ChecksumAlgorithm
|
|
54
|
+
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
55
55
|
Tagging: Tagging | undefined;
|
|
56
56
|
ExpectedBucketOwner?: string;
|
|
57
|
-
RequestPayer?: RequestPayer
|
|
57
|
+
RequestPayer?: RequestPayer;
|
|
58
58
|
}
|
|
59
59
|
export interface PutPublicAccessBlockRequest {
|
|
60
60
|
Bucket: string | undefined;
|
|
61
61
|
ContentMD5?: string;
|
|
62
|
-
ChecksumAlgorithm?: ChecksumAlgorithm
|
|
62
|
+
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
63
63
|
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
64
64
|
ExpectedBucketOwner?: string;
|
|
65
65
|
}
|
|
@@ -71,7 +71,7 @@ export declare class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
73
|
export interface RestoreObjectOutput {
|
|
74
|
-
RequestCharged?: RequestCharged
|
|
74
|
+
RequestCharged?: RequestCharged;
|
|
75
75
|
RestoreOutputPath?: string;
|
|
76
76
|
}
|
|
77
77
|
export declare const Tier: {
|
|
@@ -81,10 +81,10 @@ export declare const Tier: {
|
|
|
81
81
|
};
|
|
82
82
|
export type Tier = (typeof Tier)[keyof typeof Tier];
|
|
83
83
|
export interface GlacierJobParameters {
|
|
84
|
-
Tier: Tier |
|
|
84
|
+
Tier: Tier | undefined;
|
|
85
85
|
}
|
|
86
86
|
export interface Encryption {
|
|
87
|
-
EncryptionType: ServerSideEncryption |
|
|
87
|
+
EncryptionType: ServerSideEncryption | undefined;
|
|
88
88
|
KMSKeyId?: string;
|
|
89
89
|
KMSContext?: string;
|
|
90
90
|
}
|
|
@@ -96,11 +96,11 @@ export interface S3Location {
|
|
|
96
96
|
BucketName: string | undefined;
|
|
97
97
|
Prefix: string | undefined;
|
|
98
98
|
Encryption?: Encryption;
|
|
99
|
-
CannedACL?: ObjectCannedACL
|
|
99
|
+
CannedACL?: ObjectCannedACL;
|
|
100
100
|
AccessControlList?: Grant[];
|
|
101
101
|
Tagging?: Tagging;
|
|
102
102
|
UserMetadata?: MetadataEntry[];
|
|
103
|
-
StorageClass?: StorageClass
|
|
103
|
+
StorageClass?: StorageClass;
|
|
104
104
|
}
|
|
105
105
|
export interface OutputLocation {
|
|
106
106
|
S3?: S3Location;
|
|
@@ -125,7 +125,7 @@ export declare const FileHeaderInfo: {
|
|
|
125
125
|
export type FileHeaderInfo =
|
|
126
126
|
(typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
|
|
127
127
|
export interface CSVInput {
|
|
128
|
-
FileHeaderInfo?: FileHeaderInfo
|
|
128
|
+
FileHeaderInfo?: FileHeaderInfo;
|
|
129
129
|
Comments?: string;
|
|
130
130
|
QuoteEscapeCharacter?: string;
|
|
131
131
|
RecordDelimiter?: string;
|
|
@@ -139,12 +139,12 @@ export declare const JSONType: {
|
|
|
139
139
|
};
|
|
140
140
|
export type JSONType = (typeof JSONType)[keyof typeof JSONType];
|
|
141
141
|
export interface JSONInput {
|
|
142
|
-
Type?: JSONType
|
|
142
|
+
Type?: JSONType;
|
|
143
143
|
}
|
|
144
144
|
export interface ParquetInput {}
|
|
145
145
|
export interface InputSerialization {
|
|
146
146
|
CSV?: CSVInput;
|
|
147
|
-
CompressionType?: CompressionType
|
|
147
|
+
CompressionType?: CompressionType;
|
|
148
148
|
JSON?: JSONInput;
|
|
149
149
|
Parquet?: ParquetInput;
|
|
150
150
|
}
|
|
@@ -154,7 +154,7 @@ export declare const QuoteFields: {
|
|
|
154
154
|
};
|
|
155
155
|
export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
|
|
156
156
|
export interface CSVOutput {
|
|
157
|
-
QuoteFields?: QuoteFields
|
|
157
|
+
QuoteFields?: QuoteFields;
|
|
158
158
|
QuoteEscapeCharacter?: string;
|
|
159
159
|
RecordDelimiter?: string;
|
|
160
160
|
FieldDelimiter?: string;
|
|
@@ -169,7 +169,7 @@ export interface OutputSerialization {
|
|
|
169
169
|
}
|
|
170
170
|
export interface SelectParameters {
|
|
171
171
|
InputSerialization: InputSerialization | undefined;
|
|
172
|
-
ExpressionType: ExpressionType |
|
|
172
|
+
ExpressionType: ExpressionType | undefined;
|
|
173
173
|
Expression: string | undefined;
|
|
174
174
|
OutputSerialization: OutputSerialization | undefined;
|
|
175
175
|
}
|
|
@@ -181,8 +181,8 @@ export type RestoreRequestType =
|
|
|
181
181
|
export interface RestoreRequest {
|
|
182
182
|
Days?: number;
|
|
183
183
|
GlacierJobParameters?: GlacierJobParameters;
|
|
184
|
-
Type?: RestoreRequestType
|
|
185
|
-
Tier?: Tier
|
|
184
|
+
Type?: RestoreRequestType;
|
|
185
|
+
Tier?: Tier;
|
|
186
186
|
Description?: string;
|
|
187
187
|
SelectParameters?: SelectParameters;
|
|
188
188
|
OutputLocation?: OutputLocation;
|
|
@@ -192,8 +192,8 @@ export interface RestoreObjectRequest {
|
|
|
192
192
|
Key: string | undefined;
|
|
193
193
|
VersionId?: string;
|
|
194
194
|
RestoreRequest?: RestoreRequest;
|
|
195
|
-
RequestPayer?: RequestPayer
|
|
196
|
-
ChecksumAlgorithm?: ChecksumAlgorithm
|
|
195
|
+
RequestPayer?: RequestPayer;
|
|
196
|
+
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
197
197
|
ExpectedBucketOwner?: string;
|
|
198
198
|
}
|
|
199
199
|
export interface ContinuationEvent {}
|
|
@@ -303,7 +303,7 @@ export interface SelectObjectContentRequest {
|
|
|
303
303
|
SSECustomerKey?: string;
|
|
304
304
|
SSECustomerKeyMD5?: string;
|
|
305
305
|
Expression: string | undefined;
|
|
306
|
-
ExpressionType: ExpressionType |
|
|
306
|
+
ExpressionType: ExpressionType | undefined;
|
|
307
307
|
RequestProgress?: RequestProgress;
|
|
308
308
|
InputSerialization: InputSerialization | undefined;
|
|
309
309
|
OutputSerialization: OutputSerialization | undefined;
|
|
@@ -311,7 +311,7 @@ export interface SelectObjectContentRequest {
|
|
|
311
311
|
ExpectedBucketOwner?: string;
|
|
312
312
|
}
|
|
313
313
|
export interface UploadPartOutput {
|
|
314
|
-
ServerSideEncryption?: ServerSideEncryption
|
|
314
|
+
ServerSideEncryption?: ServerSideEncryption;
|
|
315
315
|
ETag?: string;
|
|
316
316
|
ChecksumCRC32?: string;
|
|
317
317
|
ChecksumCRC32C?: string;
|
|
@@ -321,14 +321,14 @@ export interface UploadPartOutput {
|
|
|
321
321
|
SSECustomerKeyMD5?: string;
|
|
322
322
|
SSEKMSKeyId?: string;
|
|
323
323
|
BucketKeyEnabled?: boolean;
|
|
324
|
-
RequestCharged?: RequestCharged
|
|
324
|
+
RequestCharged?: RequestCharged;
|
|
325
325
|
}
|
|
326
326
|
export interface UploadPartRequest {
|
|
327
327
|
Body?: StreamingBlobTypes;
|
|
328
328
|
Bucket: string | undefined;
|
|
329
329
|
ContentLength?: number;
|
|
330
330
|
ContentMD5?: string;
|
|
331
|
-
ChecksumAlgorithm?: ChecksumAlgorithm
|
|
331
|
+
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
332
332
|
ChecksumCRC32?: string;
|
|
333
333
|
ChecksumCRC32C?: string;
|
|
334
334
|
ChecksumSHA1?: string;
|
|
@@ -339,7 +339,7 @@ export interface UploadPartRequest {
|
|
|
339
339
|
SSECustomerAlgorithm?: string;
|
|
340
340
|
SSECustomerKey?: string;
|
|
341
341
|
SSECustomerKeyMD5?: string;
|
|
342
|
-
RequestPayer?: RequestPayer
|
|
342
|
+
RequestPayer?: RequestPayer;
|
|
343
343
|
ExpectedBucketOwner?: string;
|
|
344
344
|
}
|
|
345
345
|
export interface CopyPartResult {
|
|
@@ -353,12 +353,12 @@ export interface CopyPartResult {
|
|
|
353
353
|
export interface UploadPartCopyOutput {
|
|
354
354
|
CopySourceVersionId?: string;
|
|
355
355
|
CopyPartResult?: CopyPartResult;
|
|
356
|
-
ServerSideEncryption?: ServerSideEncryption
|
|
356
|
+
ServerSideEncryption?: ServerSideEncryption;
|
|
357
357
|
SSECustomerAlgorithm?: string;
|
|
358
358
|
SSECustomerKeyMD5?: string;
|
|
359
359
|
SSEKMSKeyId?: string;
|
|
360
360
|
BucketKeyEnabled?: boolean;
|
|
361
|
-
RequestCharged?: RequestCharged
|
|
361
|
+
RequestCharged?: RequestCharged;
|
|
362
362
|
}
|
|
363
363
|
export interface UploadPartCopyRequest {
|
|
364
364
|
Bucket: string | undefined;
|
|
@@ -377,7 +377,7 @@ export interface UploadPartCopyRequest {
|
|
|
377
377
|
CopySourceSSECustomerAlgorithm?: string;
|
|
378
378
|
CopySourceSSECustomerKey?: string;
|
|
379
379
|
CopySourceSSECustomerKeyMD5?: string;
|
|
380
|
-
RequestPayer?: RequestPayer
|
|
380
|
+
RequestPayer?: RequestPayer;
|
|
381
381
|
ExpectedBucketOwner?: string;
|
|
382
382
|
ExpectedSourceBucketOwner?: string;
|
|
383
383
|
}
|
|
@@ -407,18 +407,18 @@ export interface WriteGetObjectResponseRequest {
|
|
|
407
407
|
LastModified?: Date;
|
|
408
408
|
MissingMeta?: number;
|
|
409
409
|
Metadata?: Record<string, string>;
|
|
410
|
-
ObjectLockMode?: ObjectLockMode
|
|
411
|
-
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus
|
|
410
|
+
ObjectLockMode?: ObjectLockMode;
|
|
411
|
+
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus;
|
|
412
412
|
ObjectLockRetainUntilDate?: Date;
|
|
413
413
|
PartsCount?: number;
|
|
414
|
-
ReplicationStatus?: ReplicationStatus
|
|
415
|
-
RequestCharged?: RequestCharged
|
|
414
|
+
ReplicationStatus?: ReplicationStatus;
|
|
415
|
+
RequestCharged?: RequestCharged;
|
|
416
416
|
Restore?: string;
|
|
417
|
-
ServerSideEncryption?: ServerSideEncryption
|
|
417
|
+
ServerSideEncryption?: ServerSideEncryption;
|
|
418
418
|
SSECustomerAlgorithm?: string;
|
|
419
419
|
SSEKMSKeyId?: string;
|
|
420
420
|
SSECustomerKeyMD5?: string;
|
|
421
|
-
StorageClass?: StorageClass
|
|
421
|
+
StorageClass?: StorageClass;
|
|
422
422
|
TagCount?: number;
|
|
423
423
|
VersionId?: string;
|
|
424
424
|
BucketKeyEnabled?: boolean;
|
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.429.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -25,56 +25,56 @@
|
|
|
25
25
|
"@aws-crypto/sha1-browser": "3.0.0",
|
|
26
26
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
28
|
-
"@aws-sdk/client-sts": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
30
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-expect-continue": "3.
|
|
32
|
-
"@aws-sdk/middleware-flexible-checksums": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-location-constraint": "3.
|
|
35
|
-
"@aws-sdk/middleware-logger": "3.
|
|
36
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
37
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-ssec": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
42
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/util-endpoints": "3.
|
|
45
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
46
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
28
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
30
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.428.0",
|
|
31
|
+
"@aws-sdk/middleware-expect-continue": "3.428.0",
|
|
32
|
+
"@aws-sdk/middleware-flexible-checksums": "3.428.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
34
|
+
"@aws-sdk/middleware-location-constraint": "3.428.0",
|
|
35
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
36
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
37
|
+
"@aws-sdk/middleware-sdk-s3": "3.429.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
39
|
+
"@aws-sdk/middleware-ssec": "3.428.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
41
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
42
|
+
"@aws-sdk/signature-v4-multi-region": "3.428.0",
|
|
43
|
+
"@aws-sdk/types": "3.428.0",
|
|
44
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
45
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
46
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
47
47
|
"@aws-sdk/xml-builder": "3.310.0",
|
|
48
|
-
"@smithy/config-resolver": "^2.0.
|
|
49
|
-
"@smithy/eventstream-serde-browser": "^2.0.
|
|
50
|
-
"@smithy/eventstream-serde-config-resolver": "^2.0.
|
|
51
|
-
"@smithy/eventstream-serde-node": "^2.0.
|
|
52
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
53
|
-
"@smithy/hash-blob-browser": "^2.0.
|
|
54
|
-
"@smithy/hash-node": "^2.0.
|
|
55
|
-
"@smithy/hash-stream-node": "^2.0.
|
|
56
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
57
|
-
"@smithy/md5-js": "^2.0.
|
|
58
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
59
|
-
"@smithy/middleware-endpoint": "^2.
|
|
60
|
-
"@smithy/middleware-retry": "^2.0.
|
|
61
|
-
"@smithy/middleware-serde": "^2.0.
|
|
62
|
-
"@smithy/middleware-stack": "^2.0.
|
|
63
|
-
"@smithy/node-config-provider": "^2.
|
|
64
|
-
"@smithy/node-http-handler": "^2.1.
|
|
65
|
-
"@smithy/protocol-http": "^3.0.
|
|
66
|
-
"@smithy/smithy-client": "^2.1.
|
|
67
|
-
"@smithy/types": "^2.3.
|
|
68
|
-
"@smithy/url-parser": "^2.0.
|
|
48
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
49
|
+
"@smithy/eventstream-serde-browser": "^2.0.11",
|
|
50
|
+
"@smithy/eventstream-serde-config-resolver": "^2.0.11",
|
|
51
|
+
"@smithy/eventstream-serde-node": "^2.0.11",
|
|
52
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
53
|
+
"@smithy/hash-blob-browser": "^2.0.11",
|
|
54
|
+
"@smithy/hash-node": "^2.0.11",
|
|
55
|
+
"@smithy/hash-stream-node": "^2.0.11",
|
|
56
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
57
|
+
"@smithy/md5-js": "^2.0.11",
|
|
58
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
59
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
60
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
61
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
62
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
63
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
64
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
65
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
66
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
67
|
+
"@smithy/types": "^2.3.5",
|
|
68
|
+
"@smithy/url-parser": "^2.0.11",
|
|
69
69
|
"@smithy/util-base64": "^2.0.0",
|
|
70
70
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
71
71
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
72
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
73
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
74
|
-
"@smithy/util-retry": "^2.0.
|
|
75
|
-
"@smithy/util-stream": "^2.0.
|
|
72
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
73
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
74
|
+
"@smithy/util-retry": "^2.0.4",
|
|
75
|
+
"@smithy/util-stream": "^2.0.16",
|
|
76
76
|
"@smithy/util-utf8": "^2.0.0",
|
|
77
|
-
"@smithy/util-waiter": "^2.0.
|
|
77
|
+
"@smithy/util-waiter": "^2.0.11",
|
|
78
78
|
"fast-xml-parser": "4.2.5",
|
|
79
79
|
"tslib": "^2.5.0"
|
|
80
80
|
},
|