@aws-sdk/client-s3 3.697.0 → 3.698.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 +152 -5
- package/dist-es/models/models_1.js +48 -0
- package/dist-es/protocols/Aws_restXml.js +75 -4
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +16 -13
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -42
- package/dist-types/commands/CopyObjectCommand.d.ts +77 -57
- package/dist-types/commands/CreateBucketCommand.d.ts +60 -45
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +92 -66
- package/dist-types/commands/CreateSessionCommand.d.ts +30 -16
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketCommand.d.ts +10 -3
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +18 -10
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +52 -9
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +25 -21
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteObjectCommand.d.ts +3 -0
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteObjectsCommand.d.ts +41 -27
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketAclCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +18 -10
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +61 -17
- package/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +30 -21
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +62 -44
- package/dist-types/commands/GetObjectCommand.d.ts +79 -60
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +32 -16
- package/dist-types/commands/HeadObjectCommand.d.ts +60 -38
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketsCommand.d.ts +6 -6
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +10 -4
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +50 -33
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectsV2Command.d.ts +23 -14
- package/dist-types/commands/ListPartsCommand.d.ts +22 -17
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +47 -32
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +84 -45
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +30 -21
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +3 -4
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -6
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectCommand.d.ts +83 -35
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -2
- 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 +1 -1
- package/dist-types/commands/SelectObjectContentCommand.d.ts +1 -1
- package/dist-types/commands/UploadPartCommand.d.ts +52 -41
- package/dist-types/commands/UploadPartCopyCommand.d.ts +53 -39
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +938 -632
- package/dist-types/models/models_1.d.ts +230 -135
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/models/models_1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ export interface AbortMultipartUploadRequest {
|
|
|
22
22
|
UploadId: string | undefined;
|
|
23
23
|
RequestPayer?: RequestPayer | undefined;
|
|
24
24
|
ExpectedBucketOwner?: string | undefined;
|
|
25
|
+
IfMatchInitiatedTime?: Date | undefined;
|
|
25
26
|
}
|
|
26
27
|
export declare class NoSuchUpload extends __BaseException {
|
|
27
28
|
readonly name: "NoSuchUpload";
|
|
@@ -503,6 +504,9 @@ export interface DeleteObjectRequest {
|
|
|
503
504
|
RequestPayer?: RequestPayer | undefined;
|
|
504
505
|
BypassGovernanceRetention?: boolean | undefined;
|
|
505
506
|
ExpectedBucketOwner?: string | undefined;
|
|
507
|
+
IfMatch?: string | undefined;
|
|
508
|
+
IfMatchLastModifiedTime?: Date | undefined;
|
|
509
|
+
IfMatchSize?: number | undefined;
|
|
506
510
|
}
|
|
507
511
|
export interface DeletedObject {
|
|
508
512
|
Key?: string | undefined;
|
|
@@ -524,6 +528,9 @@ export interface DeleteObjectsOutput {
|
|
|
524
528
|
export interface ObjectIdentifier {
|
|
525
529
|
Key: string | undefined;
|
|
526
530
|
VersionId?: string | undefined;
|
|
531
|
+
ETag?: string | undefined;
|
|
532
|
+
LastModifiedTime?: Date | undefined;
|
|
533
|
+
Size?: number | undefined;
|
|
527
534
|
}
|
|
528
535
|
export interface Delete {
|
|
529
536
|
Objects: ObjectIdentifier[] | undefined;
|
|
@@ -106,6 +106,23 @@ export interface PutBucketWebsiteRequest {
|
|
|
106
106
|
WebsiteConfiguration: WebsiteConfiguration | undefined;
|
|
107
107
|
ExpectedBucketOwner?: string | undefined;
|
|
108
108
|
}
|
|
109
|
+
export declare class EncryptionTypeMismatch extends __BaseException {
|
|
110
|
+
readonly name: "EncryptionTypeMismatch";
|
|
111
|
+
readonly $fault: "client";
|
|
112
|
+
constructor(
|
|
113
|
+
opts: __ExceptionOptionType<EncryptionTypeMismatch, __BaseException>
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
export declare class InvalidRequest extends __BaseException {
|
|
117
|
+
readonly name: "InvalidRequest";
|
|
118
|
+
readonly $fault: "client";
|
|
119
|
+
constructor(opts: __ExceptionOptionType<InvalidRequest, __BaseException>);
|
|
120
|
+
}
|
|
121
|
+
export declare class InvalidWriteOffset extends __BaseException {
|
|
122
|
+
readonly name: "InvalidWriteOffset";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
constructor(opts: __ExceptionOptionType<InvalidWriteOffset, __BaseException>);
|
|
125
|
+
}
|
|
109
126
|
export interface PutObjectOutput {
|
|
110
127
|
Expiration?: string | undefined;
|
|
111
128
|
ETag?: string | undefined;
|
|
@@ -120,6 +137,7 @@ export interface PutObjectOutput {
|
|
|
120
137
|
SSEKMSKeyId?: string | undefined;
|
|
121
138
|
SSEKMSEncryptionContext?: string | undefined;
|
|
122
139
|
BucketKeyEnabled?: boolean | undefined;
|
|
140
|
+
Size?: number | undefined;
|
|
123
141
|
RequestCharged?: RequestCharged | undefined;
|
|
124
142
|
}
|
|
125
143
|
export interface PutObjectRequest {
|
|
@@ -145,6 +163,7 @@ export interface PutObjectRequest {
|
|
|
145
163
|
GrantReadACP?: string | undefined;
|
|
146
164
|
GrantWriteACP?: string | undefined;
|
|
147
165
|
Key: string | undefined;
|
|
166
|
+
WriteOffsetBytes?: number | undefined;
|
|
148
167
|
Metadata?: Record<string, string> | undefined;
|
|
149
168
|
ServerSideEncryption?: ServerSideEncryption | undefined;
|
|
150
169
|
StorageClass?: StorageClass | undefined;
|
|
@@ -162,6 +181,11 @@ export interface PutObjectRequest {
|
|
|
162
181
|
ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | undefined;
|
|
163
182
|
ExpectedBucketOwner?: string | undefined;
|
|
164
183
|
}
|
|
184
|
+
export declare class TooManyParts extends __BaseException {
|
|
185
|
+
readonly name: "TooManyParts";
|
|
186
|
+
readonly $fault: "client";
|
|
187
|
+
constructor(opts: __ExceptionOptionType<TooManyParts, __BaseException>);
|
|
188
|
+
}
|
|
165
189
|
export interface PutObjectAclOutput {
|
|
166
190
|
RequestCharged?: RequestCharged | undefined;
|
|
167
191
|
}
|
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.698.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",
|