@aws-sdk/client-s3 3.40.0 → 3.43.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 +41 -0
- package/dist-cjs/endpoints.js +24 -0
- package/dist-cjs/models/models_0.js +8 -0
- package/dist-cjs/protocols/Aws_restXml.js +62 -0
- package/dist-es/endpoints.js +24 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restXml.js +62 -0
- package/dist-types/S3.d.ts +11 -4
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +1 -1
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +5 -1
- package/dist-types/commands/CopyObjectCommand.d.ts +1 -1
- package/dist-types/commands/CreateBucketCommand.d.ts +1 -1
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteObjectsCommand.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/GetObjectCommand.d.ts +8 -5
- 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 +1 -1
- package/dist-types/commands/HeadObjectCommand.d.ts +1 -1
- 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 +1 -1
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
- 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 +1 -1
- package/dist-types/commands/ListPartsCommand.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- 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 +1 -1
- package/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +57 -1
- package/dist-types/ts3.4/models/models_0.d.ts +37 -1
- package/package.json +6 -6
|
@@ -120,7 +120,7 @@ export interface PutBucketInventoryConfigurationCommandOutput extends __Metadata
|
|
|
120
120
|
*
|
|
121
121
|
* @see {@link PutBucketInventoryConfigurationCommandInput} for command's `input` shape.
|
|
122
122
|
* @see {@link PutBucketInventoryConfigurationCommandOutput} for command's `response` shape.
|
|
123
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
123
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
124
124
|
*
|
|
125
125
|
*/
|
|
126
126
|
export declare class PutBucketInventoryConfigurationCommand extends $Command<PutBucketInventoryConfigurationCommandInput, PutBucketInventoryConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -113,7 +113,7 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
|
|
|
113
113
|
*
|
|
114
114
|
* @see {@link PutBucketLifecycleConfigurationCommandInput} for command's `input` shape.
|
|
115
115
|
* @see {@link PutBucketLifecycleConfigurationCommandOutput} for command's `response` shape.
|
|
116
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
116
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
117
117
|
*
|
|
118
118
|
*/
|
|
119
119
|
export declare class PutBucketLifecycleConfigurationCommand extends $Command<PutBucketLifecycleConfigurationCommandInput, PutBucketLifecycleConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -99,7 +99,7 @@ export interface PutBucketLoggingCommandOutput extends __MetadataBearer {
|
|
|
99
99
|
*
|
|
100
100
|
* @see {@link PutBucketLoggingCommandInput} for command's `input` shape.
|
|
101
101
|
* @see {@link PutBucketLoggingCommandOutput} for command's `response` shape.
|
|
102
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
102
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
103
103
|
*
|
|
104
104
|
*/
|
|
105
105
|
export declare class PutBucketLoggingCommand extends $Command<PutBucketLoggingCommandInput, PutBucketLoggingCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -70,7 +70,7 @@ export interface PutBucketMetricsConfigurationCommandOutput extends __MetadataBe
|
|
|
70
70
|
*
|
|
71
71
|
* @see {@link PutBucketMetricsConfigurationCommandInput} for command's `input` shape.
|
|
72
72
|
* @see {@link PutBucketMetricsConfigurationCommandOutput} for command's `response` shape.
|
|
73
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
73
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
76
|
export declare class PutBucketMetricsConfigurationCommand extends $Command<PutBucketMetricsConfigurationCommandInput, PutBucketMetricsConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -81,7 +81,7 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad
|
|
|
81
81
|
*
|
|
82
82
|
* @see {@link PutBucketNotificationConfigurationCommandInput} for command's `input` shape.
|
|
83
83
|
* @see {@link PutBucketNotificationConfigurationCommandOutput} for command's `response` shape.
|
|
84
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
84
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
85
85
|
*
|
|
86
86
|
*/
|
|
87
87
|
export declare class PutBucketNotificationConfigurationCommand extends $Command<PutBucketNotificationConfigurationCommandInput, PutBucketNotificationConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -36,7 +36,7 @@ export interface PutBucketOwnershipControlsCommandOutput extends __MetadataBeare
|
|
|
36
36
|
*
|
|
37
37
|
* @see {@link PutBucketOwnershipControlsCommandInput} for command's `input` shape.
|
|
38
38
|
* @see {@link PutBucketOwnershipControlsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
39
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
40
40
|
*
|
|
41
41
|
*/
|
|
42
42
|
export declare class PutBucketOwnershipControlsCommand extends $Command<PutBucketOwnershipControlsCommandInput, PutBucketOwnershipControlsCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -49,7 +49,7 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
49
49
|
*
|
|
50
50
|
* @see {@link PutBucketPolicyCommandInput} for command's `input` shape.
|
|
51
51
|
* @see {@link PutBucketPolicyCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
52
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
55
|
export declare class PutBucketPolicyCommand extends $Command<PutBucketPolicyCommandInput, PutBucketPolicyCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -89,7 +89,7 @@ export interface PutBucketReplicationCommandOutput extends __MetadataBearer {
|
|
|
89
89
|
*
|
|
90
90
|
* @see {@link PutBucketReplicationCommandInput} for command's `input` shape.
|
|
91
91
|
* @see {@link PutBucketReplicationCommandOutput} for command's `response` shape.
|
|
92
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
92
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
93
93
|
*
|
|
94
94
|
*/
|
|
95
95
|
export declare class PutBucketReplicationCommand extends $Command<PutBucketReplicationCommandInput, PutBucketReplicationCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -38,7 +38,7 @@ export interface PutBucketRequestPaymentCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
*
|
|
39
39
|
* @see {@link PutBucketRequestPaymentCommandInput} for command's `input` shape.
|
|
40
40
|
* @see {@link PutBucketRequestPaymentCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
41
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
44
|
export declare class PutBucketRequestPaymentCommand extends $Command<PutBucketRequestPaymentCommandInput, PutBucketRequestPaymentCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -98,7 +98,7 @@ export interface PutBucketTaggingCommandOutput extends __MetadataBearer {
|
|
|
98
98
|
*
|
|
99
99
|
* @see {@link PutBucketTaggingCommandInput} for command's `input` shape.
|
|
100
100
|
* @see {@link PutBucketTaggingCommandOutput} for command's `response` shape.
|
|
101
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
101
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
102
102
|
*
|
|
103
103
|
*/
|
|
104
104
|
export declare class PutBucketTaggingCommand extends $Command<PutBucketTaggingCommandInput, PutBucketTaggingCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -68,7 +68,7 @@ export interface PutBucketVersioningCommandOutput extends __MetadataBearer {
|
|
|
68
68
|
*
|
|
69
69
|
* @see {@link PutBucketVersioningCommandInput} for command's `input` shape.
|
|
70
70
|
* @see {@link PutBucketVersioningCommandOutput} for command's `response` shape.
|
|
71
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
71
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
72
72
|
*
|
|
73
73
|
*/
|
|
74
74
|
export declare class PutBucketVersioningCommand extends $Command<PutBucketVersioningCommandInput, PutBucketVersioningCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -145,7 +145,7 @@ export interface PutBucketWebsiteCommandOutput extends __MetadataBearer {
|
|
|
145
145
|
*
|
|
146
146
|
* @see {@link PutBucketWebsiteCommandInput} for command's `input` shape.
|
|
147
147
|
* @see {@link PutBucketWebsiteCommandOutput} for command's `response` shape.
|
|
148
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
148
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
149
149
|
*
|
|
150
150
|
*/
|
|
151
151
|
export declare class PutBucketWebsiteCommand extends $Command<PutBucketWebsiteCommandInput, PutBucketWebsiteCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -196,7 +196,7 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
196
196
|
*
|
|
197
197
|
* @see {@link PutObjectAclCommandInput} for command's `input` shape.
|
|
198
198
|
* @see {@link PutObjectAclCommandOutput} for command's `response` shape.
|
|
199
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
199
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
200
200
|
*
|
|
201
201
|
*/
|
|
202
202
|
export declare class PutObjectAclCommand extends $Command<PutObjectAclCommandInput, PutObjectAclCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -124,7 +124,7 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
124
124
|
*
|
|
125
125
|
* @see {@link PutObjectCommandInput} for command's `input` shape.
|
|
126
126
|
* @see {@link PutObjectCommandOutput} for command's `response` shape.
|
|
127
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
127
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
128
128
|
*
|
|
129
129
|
*/
|
|
130
130
|
export declare class PutObjectCommand extends $Command<PutObjectCommandInput, PutObjectCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutpu
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link PutObjectLegalHoldCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link PutObjectLegalHoldCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class PutObjectLegalHoldCommand extends $Command<PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -40,7 +40,7 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo
|
|
|
40
40
|
*
|
|
41
41
|
* @see {@link PutObjectLockConfigurationCommandInput} for command's `input` shape.
|
|
42
42
|
* @see {@link PutObjectLockConfigurationCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
43
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
46
|
export declare class PutObjectLockConfigurationCommand extends $Command<PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -32,7 +32,7 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
|
|
|
32
32
|
*
|
|
33
33
|
* @see {@link PutObjectRetentionCommandInput} for command's `input` shape.
|
|
34
34
|
* @see {@link PutObjectRetentionCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
35
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
38
|
export declare class PutObjectRetentionCommand extends $Command<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -123,7 +123,7 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
|
|
|
123
123
|
*
|
|
124
124
|
* @see {@link PutObjectTaggingCommandInput} for command's `input` shape.
|
|
125
125
|
* @see {@link PutObjectTaggingCommandOutput} for command's `response` shape.
|
|
126
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
126
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
127
127
|
*
|
|
128
128
|
*/
|
|
129
129
|
export declare class PutObjectTaggingCommand extends $Command<PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -64,7 +64,7 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
|
|
|
64
64
|
*
|
|
65
65
|
* @see {@link PutPublicAccessBlockCommandInput} for command's `input` shape.
|
|
66
66
|
* @see {@link PutPublicAccessBlockCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
67
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
68
68
|
*
|
|
69
69
|
*/
|
|
70
70
|
export declare class PutPublicAccessBlockCommand extends $Command<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -312,7 +312,7 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
312
312
|
*
|
|
313
313
|
* @see {@link RestoreObjectCommandInput} for command's `input` shape.
|
|
314
314
|
* @see {@link RestoreObjectCommandOutput} for command's `response` shape.
|
|
315
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
315
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
316
316
|
*
|
|
317
317
|
*/
|
|
318
318
|
export declare class RestoreObjectCommand extends $Command<RestoreObjectCommandInput, RestoreObjectCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -136,7 +136,7 @@ export interface SelectObjectContentCommandOutput extends SelectObjectContentOut
|
|
|
136
136
|
*
|
|
137
137
|
* @see {@link SelectObjectContentCommandInput} for command's `input` shape.
|
|
138
138
|
* @see {@link SelectObjectContentCommandOutput} for command's `response` shape.
|
|
139
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
139
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
140
140
|
*
|
|
141
141
|
*/
|
|
142
142
|
export declare class SelectObjectContentCommand extends $Command<SelectObjectContentCommandInput, SelectObjectContentCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -167,7 +167,7 @@ export interface UploadPartCommandOutput extends UploadPartOutput, __MetadataBea
|
|
|
167
167
|
*
|
|
168
168
|
* @see {@link UploadPartCommandInput} for command's `input` shape.
|
|
169
169
|
* @see {@link UploadPartCommandOutput} for command's `response` shape.
|
|
170
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
170
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
171
171
|
*
|
|
172
172
|
*/
|
|
173
173
|
export declare class UploadPartCommand extends $Command<UploadPartCommandInput, UploadPartCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -198,7 +198,7 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met
|
|
|
198
198
|
*
|
|
199
199
|
* @see {@link UploadPartCopyCommandInput} for command's `input` shape.
|
|
200
200
|
* @see {@link UploadPartCopyCommandOutput} for command's `response` shape.
|
|
201
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
201
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
202
202
|
*
|
|
203
203
|
*/
|
|
204
204
|
export declare class UploadPartCopyCommand extends $Command<UploadPartCopyCommandInput, UploadPartCopyCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -52,7 +52,7 @@ export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {
|
|
|
52
52
|
*
|
|
53
53
|
* @see {@link WriteGetObjectResponseCommandInput} for command's `input` shape.
|
|
54
54
|
* @see {@link WriteGetObjectResponseCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link S3ClientResolvedConfig | config} for
|
|
55
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
56
56
|
*
|
|
57
57
|
*/
|
|
58
58
|
export declare class WriteGetObjectResponseCommand extends $Command<WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput, S3ClientResolvedConfig> {
|
|
@@ -326,6 +326,8 @@ export declare namespace CompletedPart {
|
|
|
326
326
|
export interface CompletedMultipartUpload {
|
|
327
327
|
/**
|
|
328
328
|
* <p>Array of CompletedPart data types.</p>
|
|
329
|
+
* <p>If you do not supply a valid <code>Part</code> with your request, the service sends back an HTTP
|
|
330
|
+
* 400 response.</p>
|
|
329
331
|
*/
|
|
330
332
|
Parts?: CompletedPart[];
|
|
331
333
|
}
|
|
@@ -4362,6 +4364,14 @@ export interface LifecycleRuleAndOperator {
|
|
|
4362
4364
|
* apply.</p>
|
|
4363
4365
|
*/
|
|
4364
4366
|
Tags?: Tag[];
|
|
4367
|
+
/**
|
|
4368
|
+
* <p>Minimum object size to which the rule applies.</p>
|
|
4369
|
+
*/
|
|
4370
|
+
ObjectSizeGreaterThan?: number;
|
|
4371
|
+
/**
|
|
4372
|
+
* <p>Maximum object size to which the rule applies.</p>
|
|
4373
|
+
*/
|
|
4374
|
+
ObjectSizeLessThan?: number;
|
|
4365
4375
|
}
|
|
4366
4376
|
export declare namespace LifecycleRuleAndOperator {
|
|
4367
4377
|
/**
|
|
@@ -4374,7 +4384,7 @@ export declare namespace LifecycleRuleAndOperator {
|
|
|
4374
4384
|
* <code>Filter</code> must have exactly one of <code>Prefix</code>, <code>Tag</code>, or
|
|
4375
4385
|
* <code>And</code> specified.</p>
|
|
4376
4386
|
*/
|
|
4377
|
-
export declare type LifecycleRuleFilter = LifecycleRuleFilter.AndMember | LifecycleRuleFilter.PrefixMember | LifecycleRuleFilter.TagMember | LifecycleRuleFilter.$UnknownMember;
|
|
4387
|
+
export declare type LifecycleRuleFilter = LifecycleRuleFilter.AndMember | LifecycleRuleFilter.ObjectSizeGreaterThanMember | LifecycleRuleFilter.ObjectSizeLessThanMember | LifecycleRuleFilter.PrefixMember | LifecycleRuleFilter.TagMember | LifecycleRuleFilter.$UnknownMember;
|
|
4378
4388
|
export declare namespace LifecycleRuleFilter {
|
|
4379
4389
|
/**
|
|
4380
4390
|
* <p>Prefix identifying one or more objects to which the rule applies.</p>
|
|
@@ -4387,6 +4397,8 @@ export declare namespace LifecycleRuleFilter {
|
|
|
4387
4397
|
interface PrefixMember {
|
|
4388
4398
|
Prefix: string;
|
|
4389
4399
|
Tag?: never;
|
|
4400
|
+
ObjectSizeGreaterThan?: never;
|
|
4401
|
+
ObjectSizeLessThan?: never;
|
|
4390
4402
|
And?: never;
|
|
4391
4403
|
$unknown?: never;
|
|
4392
4404
|
}
|
|
@@ -4396,6 +4408,30 @@ export declare namespace LifecycleRuleFilter {
|
|
|
4396
4408
|
interface TagMember {
|
|
4397
4409
|
Prefix?: never;
|
|
4398
4410
|
Tag: Tag;
|
|
4411
|
+
ObjectSizeGreaterThan?: never;
|
|
4412
|
+
ObjectSizeLessThan?: never;
|
|
4413
|
+
And?: never;
|
|
4414
|
+
$unknown?: never;
|
|
4415
|
+
}
|
|
4416
|
+
/**
|
|
4417
|
+
* <p>Minimum object size to which the rule applies.</p>
|
|
4418
|
+
*/
|
|
4419
|
+
interface ObjectSizeGreaterThanMember {
|
|
4420
|
+
Prefix?: never;
|
|
4421
|
+
Tag?: never;
|
|
4422
|
+
ObjectSizeGreaterThan: number;
|
|
4423
|
+
ObjectSizeLessThan?: never;
|
|
4424
|
+
And?: never;
|
|
4425
|
+
$unknown?: never;
|
|
4426
|
+
}
|
|
4427
|
+
/**
|
|
4428
|
+
* <p>Maximum object size to which the rule applies.</p>
|
|
4429
|
+
*/
|
|
4430
|
+
interface ObjectSizeLessThanMember {
|
|
4431
|
+
Prefix?: never;
|
|
4432
|
+
Tag?: never;
|
|
4433
|
+
ObjectSizeGreaterThan?: never;
|
|
4434
|
+
ObjectSizeLessThan: number;
|
|
4399
4435
|
And?: never;
|
|
4400
4436
|
$unknown?: never;
|
|
4401
4437
|
}
|
|
@@ -4407,18 +4443,24 @@ export declare namespace LifecycleRuleFilter {
|
|
|
4407
4443
|
interface AndMember {
|
|
4408
4444
|
Prefix?: never;
|
|
4409
4445
|
Tag?: never;
|
|
4446
|
+
ObjectSizeGreaterThan?: never;
|
|
4447
|
+
ObjectSizeLessThan?: never;
|
|
4410
4448
|
And: LifecycleRuleAndOperator;
|
|
4411
4449
|
$unknown?: never;
|
|
4412
4450
|
}
|
|
4413
4451
|
interface $UnknownMember {
|
|
4414
4452
|
Prefix?: never;
|
|
4415
4453
|
Tag?: never;
|
|
4454
|
+
ObjectSizeGreaterThan?: never;
|
|
4455
|
+
ObjectSizeLessThan?: never;
|
|
4416
4456
|
And?: never;
|
|
4417
4457
|
$unknown: [string, any];
|
|
4418
4458
|
}
|
|
4419
4459
|
interface Visitor<T> {
|
|
4420
4460
|
Prefix: (value: string) => T;
|
|
4421
4461
|
Tag: (value: Tag) => T;
|
|
4462
|
+
ObjectSizeGreaterThan: (value: number) => T;
|
|
4463
|
+
ObjectSizeLessThan: (value: number) => T;
|
|
4422
4464
|
And: (value: LifecycleRuleAndOperator) => T;
|
|
4423
4465
|
_: (name: string, value: any) => T;
|
|
4424
4466
|
}
|
|
@@ -4441,6 +4483,13 @@ export interface NoncurrentVersionExpiration {
|
|
|
4441
4483
|
* Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
4442
4484
|
*/
|
|
4443
4485
|
NoncurrentDays?: number;
|
|
4486
|
+
/**
|
|
4487
|
+
* <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent
|
|
4488
|
+
* noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent
|
|
4489
|
+
* versions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle configuration elements</a>
|
|
4490
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
4491
|
+
*/
|
|
4492
|
+
NewerNoncurrentVersions?: number;
|
|
4444
4493
|
}
|
|
4445
4494
|
export declare namespace NoncurrentVersionExpiration {
|
|
4446
4495
|
/**
|
|
@@ -4471,6 +4520,13 @@ export interface NoncurrentVersionTransition {
|
|
|
4471
4520
|
* <p>The class of storage used to store the object.</p>
|
|
4472
4521
|
*/
|
|
4473
4522
|
StorageClass?: TransitionStorageClass | string;
|
|
4523
|
+
/**
|
|
4524
|
+
* <p>Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent
|
|
4525
|
+
* noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent
|
|
4526
|
+
* versions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html">Lifecycle configuration elements</a>
|
|
4527
|
+
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
4528
|
+
*/
|
|
4529
|
+
NewerNoncurrentVersions?: number;
|
|
4474
4530
|
}
|
|
4475
4531
|
export declare namespace NoncurrentVersionTransition {
|
|
4476
4532
|
/**
|
|
@@ -1236,18 +1236,24 @@ export interface LifecycleRuleAndOperator {
|
|
|
1236
1236
|
Prefix?: string;
|
|
1237
1237
|
|
|
1238
1238
|
Tags?: Tag[];
|
|
1239
|
+
|
|
1240
|
+
ObjectSizeGreaterThan?: number;
|
|
1241
|
+
|
|
1242
|
+
ObjectSizeLessThan?: number;
|
|
1239
1243
|
}
|
|
1240
1244
|
export declare namespace LifecycleRuleAndOperator {
|
|
1241
1245
|
|
|
1242
1246
|
const filterSensitiveLog: (obj: LifecycleRuleAndOperator) => any;
|
|
1243
1247
|
}
|
|
1244
1248
|
|
|
1245
|
-
export declare type LifecycleRuleFilter = LifecycleRuleFilter.AndMember | LifecycleRuleFilter.PrefixMember | LifecycleRuleFilter.TagMember | LifecycleRuleFilter.$UnknownMember;
|
|
1249
|
+
export declare type LifecycleRuleFilter = LifecycleRuleFilter.AndMember | LifecycleRuleFilter.ObjectSizeGreaterThanMember | LifecycleRuleFilter.ObjectSizeLessThanMember | LifecycleRuleFilter.PrefixMember | LifecycleRuleFilter.TagMember | LifecycleRuleFilter.$UnknownMember;
|
|
1246
1250
|
export declare namespace LifecycleRuleFilter {
|
|
1247
1251
|
|
|
1248
1252
|
interface PrefixMember {
|
|
1249
1253
|
Prefix: string;
|
|
1250
1254
|
Tag?: never;
|
|
1255
|
+
ObjectSizeGreaterThan?: never;
|
|
1256
|
+
ObjectSizeLessThan?: never;
|
|
1251
1257
|
And?: never;
|
|
1252
1258
|
$unknown?: never;
|
|
1253
1259
|
}
|
|
@@ -1255,6 +1261,26 @@ export declare namespace LifecycleRuleFilter {
|
|
|
1255
1261
|
interface TagMember {
|
|
1256
1262
|
Prefix?: never;
|
|
1257
1263
|
Tag: Tag;
|
|
1264
|
+
ObjectSizeGreaterThan?: never;
|
|
1265
|
+
ObjectSizeLessThan?: never;
|
|
1266
|
+
And?: never;
|
|
1267
|
+
$unknown?: never;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
interface ObjectSizeGreaterThanMember {
|
|
1271
|
+
Prefix?: never;
|
|
1272
|
+
Tag?: never;
|
|
1273
|
+
ObjectSizeGreaterThan: number;
|
|
1274
|
+
ObjectSizeLessThan?: never;
|
|
1275
|
+
And?: never;
|
|
1276
|
+
$unknown?: never;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
interface ObjectSizeLessThanMember {
|
|
1280
|
+
Prefix?: never;
|
|
1281
|
+
Tag?: never;
|
|
1282
|
+
ObjectSizeGreaterThan?: never;
|
|
1283
|
+
ObjectSizeLessThan: number;
|
|
1258
1284
|
And?: never;
|
|
1259
1285
|
$unknown?: never;
|
|
1260
1286
|
}
|
|
@@ -1262,12 +1288,16 @@ export declare namespace LifecycleRuleFilter {
|
|
|
1262
1288
|
interface AndMember {
|
|
1263
1289
|
Prefix?: never;
|
|
1264
1290
|
Tag?: never;
|
|
1291
|
+
ObjectSizeGreaterThan?: never;
|
|
1292
|
+
ObjectSizeLessThan?: never;
|
|
1265
1293
|
And: LifecycleRuleAndOperator;
|
|
1266
1294
|
$unknown?: never;
|
|
1267
1295
|
}
|
|
1268
1296
|
interface $UnknownMember {
|
|
1269
1297
|
Prefix?: never;
|
|
1270
1298
|
Tag?: never;
|
|
1299
|
+
ObjectSizeGreaterThan?: never;
|
|
1300
|
+
ObjectSizeLessThan?: never;
|
|
1271
1301
|
And?: never;
|
|
1272
1302
|
$unknown: [
|
|
1273
1303
|
string,
|
|
@@ -1277,6 +1307,8 @@ export declare namespace LifecycleRuleFilter {
|
|
|
1277
1307
|
interface Visitor<T> {
|
|
1278
1308
|
Prefix: (value: string) => T;
|
|
1279
1309
|
Tag: (value: Tag) => T;
|
|
1310
|
+
ObjectSizeGreaterThan: (value: number) => T;
|
|
1311
|
+
ObjectSizeLessThan: (value: number) => T;
|
|
1280
1312
|
And: (value: LifecycleRuleAndOperator) => T;
|
|
1281
1313
|
_: (name: string, value: any) => T;
|
|
1282
1314
|
}
|
|
@@ -1288,6 +1320,8 @@ export declare namespace LifecycleRuleFilter {
|
|
|
1288
1320
|
export interface NoncurrentVersionExpiration {
|
|
1289
1321
|
|
|
1290
1322
|
NoncurrentDays?: number;
|
|
1323
|
+
|
|
1324
|
+
NewerNoncurrentVersions?: number;
|
|
1291
1325
|
}
|
|
1292
1326
|
export declare namespace NoncurrentVersionExpiration {
|
|
1293
1327
|
|
|
@@ -1300,6 +1334,8 @@ export interface NoncurrentVersionTransition {
|
|
|
1300
1334
|
NoncurrentDays?: number;
|
|
1301
1335
|
|
|
1302
1336
|
StorageClass?: TransitionStorageClass | string;
|
|
1337
|
+
|
|
1338
|
+
NewerNoncurrentVersions?: number;
|
|
1303
1339
|
}
|
|
1304
1340
|
export declare namespace NoncurrentVersionTransition {
|
|
1305
1341
|
|
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.43.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
+
"@aws-sdk/client-sts": "3.43.0",
|
|
27
27
|
"@aws-sdk/config-resolver": "3.40.0",
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-browser": "3.40.0",
|
|
30
30
|
"@aws-sdk/eventstream-serde-config-resolver": "3.40.0",
|
|
31
31
|
"@aws-sdk/eventstream-serde-node": "3.40.0",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
37
37
|
"@aws-sdk/md5-js": "3.40.0",
|
|
38
38
|
"@aws-sdk/middleware-apply-body-checksum": "3.40.0",
|
|
39
|
-
"@aws-sdk/middleware-bucket-endpoint": "3.
|
|
39
|
+
"@aws-sdk/middleware-bucket-endpoint": "3.41.0",
|
|
40
40
|
"@aws-sdk/middleware-content-length": "3.40.0",
|
|
41
41
|
"@aws-sdk/middleware-expect-continue": "3.40.0",
|
|
42
42
|
"@aws-sdk/middleware-host-header": "3.40.0",
|
|
43
43
|
"@aws-sdk/middleware-location-constraint": "3.40.0",
|
|
44
44
|
"@aws-sdk/middleware-logger": "3.40.0",
|
|
45
45
|
"@aws-sdk/middleware-retry": "3.40.0",
|
|
46
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
46
|
+
"@aws-sdk/middleware-sdk-s3": "3.41.0",
|
|
47
47
|
"@aws-sdk/middleware-serde": "3.40.0",
|
|
48
48
|
"@aws-sdk/middleware-signing": "3.40.0",
|
|
49
49
|
"@aws-sdk/middleware-ssec": "3.40.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@aws-sdk/node-config-provider": "3.40.0",
|
|
53
53
|
"@aws-sdk/node-http-handler": "3.40.0",
|
|
54
54
|
"@aws-sdk/protocol-http": "3.40.0",
|
|
55
|
-
"@aws-sdk/smithy-client": "3.
|
|
55
|
+
"@aws-sdk/smithy-client": "3.41.0",
|
|
56
56
|
"@aws-sdk/types": "3.40.0",
|
|
57
57
|
"@aws-sdk/url-parser": "3.40.0",
|
|
58
58
|
"@aws-sdk/util-base64-browser": "3.37.0",
|