@aws-lite/s3-types 0.1.23 → 0.1.25
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/index.d.ts +502 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,34 +1,186 @@
|
|
|
1
1
|
import {
|
|
2
2
|
/* ! Do not remove IMPORTS_START / IMPORTS_END ! */
|
|
3
3
|
// $IMPORTS_START
|
|
4
|
+
AbortMultipartUploadCommandOutput as AbortMultipartUploadResponse,
|
|
5
|
+
CompleteMultipartUploadCommandOutput as CompleteMultipartUploadResponse,
|
|
4
6
|
CreateBucketCommandOutput as CreateBucketResponse,
|
|
7
|
+
CreateMultipartUploadCommandOutput as CreateMultipartUploadResponse,
|
|
5
8
|
DeleteBucketCommandOutput as DeleteBucketResponse,
|
|
9
|
+
DeleteBucketAnalyticsConfigurationCommandOutput as DeleteBucketAnalyticsConfigurationResponse,
|
|
10
|
+
DeleteBucketCorsCommandOutput as DeleteBucketCorsResponse,
|
|
11
|
+
DeleteBucketEncryptionCommandOutput as DeleteBucketEncryptionResponse,
|
|
12
|
+
DeleteBucketIntelligentTieringConfigurationCommandOutput as DeleteBucketIntelligentTieringConfigurationResponse,
|
|
13
|
+
DeleteBucketInventoryConfigurationCommandOutput as DeleteBucketInventoryConfigurationResponse,
|
|
14
|
+
DeleteBucketLifecycleCommandOutput as DeleteBucketLifecycleResponse,
|
|
15
|
+
DeleteBucketMetricsConfigurationCommandOutput as DeleteBucketMetricsConfigurationResponse,
|
|
16
|
+
DeleteBucketOwnershipControlsCommandOutput as DeleteBucketOwnershipControlsResponse,
|
|
17
|
+
DeleteBucketPolicyCommandOutput as DeleteBucketPolicyResponse,
|
|
18
|
+
DeleteBucketReplicationCommandOutput as DeleteBucketReplicationResponse,
|
|
19
|
+
DeleteBucketTaggingCommandOutput as DeleteBucketTaggingResponse,
|
|
20
|
+
DeleteBucketWebsiteCommandOutput as DeleteBucketWebsiteResponse,
|
|
6
21
|
DeleteObjectCommandOutput as DeleteObjectResponse,
|
|
7
22
|
DeleteObjectsCommandOutput as DeleteObjectsResponse,
|
|
23
|
+
GetBucketAccelerateConfigurationCommandOutput as GetBucketAccelerateConfigurationResponse,
|
|
24
|
+
GetBucketAclCommandOutput as GetBucketAclResponse,
|
|
25
|
+
GetBucketAnalyticsConfigurationCommandOutput as GetBucketAnalyticsConfigurationResponse,
|
|
26
|
+
GetBucketCorsCommandOutput as GetBucketCorsResponse,
|
|
27
|
+
GetBucketEncryptionCommandOutput as GetBucketEncryptionResponse,
|
|
28
|
+
GetBucketIntelligentTieringConfigurationCommandOutput as GetBucketIntelligentTieringConfigurationResponse,
|
|
29
|
+
GetBucketInventoryConfigurationCommandOutput as GetBucketInventoryConfigurationResponse,
|
|
30
|
+
GetBucketLifecycleConfigurationCommandOutput as GetBucketLifecycleConfigurationResponse,
|
|
31
|
+
GetBucketLocationCommandOutput as GetBucketLocationResponse,
|
|
32
|
+
GetBucketLoggingCommandOutput as GetBucketLoggingResponse,
|
|
33
|
+
GetBucketMetricsConfigurationCommandOutput as GetBucketMetricsConfigurationResponse,
|
|
34
|
+
GetBucketNotificationConfigurationCommandOutput as GetBucketNotificationConfigurationResponse,
|
|
35
|
+
GetBucketOwnershipControlsCommandOutput as GetBucketOwnershipControlsResponse,
|
|
36
|
+
GetBucketPolicyCommandOutput as GetBucketPolicyResponse,
|
|
37
|
+
GetBucketPolicyStatusCommandOutput as GetBucketPolicyStatusResponse,
|
|
38
|
+
GetBucketReplicationCommandOutput as GetBucketReplicationResponse,
|
|
39
|
+
GetBucketRequestPaymentCommandOutput as GetBucketRequestPaymentResponse,
|
|
40
|
+
GetBucketTaggingCommandOutput as GetBucketTaggingResponse,
|
|
41
|
+
GetBucketVersioningCommandOutput as GetBucketVersioningResponse,
|
|
42
|
+
GetBucketWebsiteCommandOutput as GetBucketWebsiteResponse,
|
|
8
43
|
GetObjectCommandOutput as GetObjectResponse,
|
|
9
|
-
HeadObjectCommandOutput as HeadObjectResponse,
|
|
10
44
|
HeadBucketCommandOutput as HeadBucketResponse,
|
|
45
|
+
HeadObjectCommandOutput as HeadObjectResponse,
|
|
46
|
+
ListBucketAnalyticsConfigurationsCommandOutput as ListBucketAnalyticsConfigurationsResponse,
|
|
47
|
+
ListBucketIntelligentTieringConfigurationsCommandOutput as ListBucketIntelligentTieringConfigurationsResponse,
|
|
48
|
+
ListBucketInventoryConfigurationsCommandOutput as ListBucketInventoryConfigurationsResponse,
|
|
49
|
+
ListBucketMetricsConfigurationsCommandOutput as ListBucketMetricsConfigurationsResponse,
|
|
11
50
|
ListBucketsCommandOutput as ListBucketsResponse,
|
|
51
|
+
ListMultipartUploadsCommandOutput as ListMultipartUploadsResponse,
|
|
12
52
|
ListObjectsV2CommandOutput as ListObjectsV2Response,
|
|
53
|
+
PutBucketAccelerateConfigurationCommandOutput as PutBucketAccelerateConfigurationResponse,
|
|
54
|
+
PutBucketAnalyticsConfigurationCommandOutput as PutBucketAnalyticsConfigurationResponse,
|
|
55
|
+
PutBucketCorsCommandOutput as PutBucketCorsResponse,
|
|
56
|
+
PutBucketEncryptionCommandOutput as PutBucketEncryptionResponse,
|
|
57
|
+
PutBucketIntelligentTieringConfigurationCommandOutput as PutBucketIntelligentTieringConfigurationResponse,
|
|
58
|
+
PutBucketInventoryConfigurationCommandOutput as PutBucketInventoryConfigurationResponse,
|
|
59
|
+
PutBucketLifecycleConfigurationCommandOutput as PutBucketLifecycleConfigurationResponse,
|
|
60
|
+
PutBucketMetricsConfigurationCommandOutput as PutBucketMetricsConfigurationResponse,
|
|
61
|
+
PutBucketNotificationConfigurationCommandOutput as PutBucketNotificationConfigurationResponse,
|
|
62
|
+
PutBucketOwnershipControlsCommandOutput as PutBucketOwnershipControlsResponse,
|
|
63
|
+
PutBucketPolicyCommandOutput as PutBucketPolicyResponse,
|
|
64
|
+
PutBucketReplicationCommandOutput as PutBucketReplicationResponse,
|
|
65
|
+
PutBucketRequestPaymentCommandOutput as PutBucketRequestPaymentResponse,
|
|
66
|
+
PutBucketTaggingCommandOutput as PutBucketTaggingResponse,
|
|
67
|
+
PutBucketVersioningCommandOutput as PutBucketVersioningResponse,
|
|
68
|
+
PutBucketWebsiteCommandOutput as PutBucketWebsiteResponse,
|
|
13
69
|
PutObjectCommandOutput as PutObjectResponse,
|
|
70
|
+
PutObjectLegalHoldCommandOutput as PutObjectLegalHoldResponse,
|
|
71
|
+
PutObjectLockConfigurationCommandOutput as PutObjectLockConfigurationResponse,
|
|
72
|
+
PutObjectRetentionCommandOutput as PutObjectRetentionResponse,
|
|
73
|
+
PutObjectTaggingCommandOutput as PutObjectTaggingResponse,
|
|
74
|
+
UploadCommandOutput as UploadResponse,
|
|
75
|
+
UploadPartCommandOutput as UploadPartResponse,
|
|
14
76
|
// $IMPORTS_END
|
|
15
77
|
} from "@aws-sdk/client-s3";
|
|
16
78
|
|
|
17
79
|
declare interface AwsLiteS3 {
|
|
18
80
|
/* ! Do not remove METHODS_START / METHODS_END ! */
|
|
19
81
|
// $METHODS_START
|
|
82
|
+
/**
|
|
83
|
+
* @description
|
|
84
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html S3: AbortMultipartUpload}
|
|
85
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#AbortMultipartUpload S3: AbortMultipartUpload}
|
|
86
|
+
*/
|
|
87
|
+
AbortMultipartUpload: (input: { Bucket: string, Key: string, UploadId: string, ExpectedBucketOwner?: string, RequestPayer?: string }) => Promise<AbortMultipartUploadResponse>
|
|
88
|
+
/**
|
|
89
|
+
* @description
|
|
90
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html S3: CompleteMultipartUpload}
|
|
91
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#CompleteMultipartUpload S3: CompleteMultipartUpload}
|
|
92
|
+
*/
|
|
93
|
+
CompleteMultipartUpload: (input: { Bucket: string, Key: string, UploadId: string, MultipartUpload?: Record<string, any>, ChecksumCRC32?: string, ChecksumCRC32C?: string, ChecksumSHA1?: string, ChecksumSHA256?: string, RequestPayer?: string, ExpectedBucketOwner?: string, SSECustomerAlgorithm?: string, SSECustomerKey?: string, SSECustomerKeyMD5?: string }) => Promise<CompleteMultipartUploadResponse>
|
|
20
94
|
/**
|
|
21
95
|
* @description
|
|
22
96
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html S3: CreateBucket}
|
|
23
97
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#CreateBucket S3: CreateBucket}
|
|
24
98
|
*/
|
|
25
99
|
CreateBucket: (input: { Bucket: string, CreateBucketConfiguration?: Record<string, any>, ACL?: string, GrantFullControl?: string, GrantRead?: string, GrantReadACP?: string, GrantWrite?: string, GrantWriteACP?: string, ObjectLockEnabledForBucket?: string, ObjectOwnership?: string }) => Promise<CreateBucketResponse>
|
|
100
|
+
/**
|
|
101
|
+
* @description
|
|
102
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html S3: CreateMultipartUpload}
|
|
103
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#CreateMultipartUpload S3: CreateMultipartUpload}
|
|
104
|
+
*/
|
|
105
|
+
CreateMultipartUpload: (input: { Bucket: string, Key: string, ACL?: string, CacheControl?: string, ContentDisposition?: string, ContentEncoding?: string, ContentLanguage?: string, ContentType?: string, Expires?: string, GrantFullControl?: string, GrantRead?: string, GrantReadACP?: string, GrantWriteACP?: string, ServerSideEncryption?: string, StorageClass?: string, WebsiteRedirectLocation?: string, SSECustomerAlgorithm?: string, SSECustomerKeyMD5?: string, SSEKMSKeyId?: string, SSEKMSEncryptionContext?: string, BucketKeyEnabled?: string, RequestPayer?: string, Tagging?: string, ObjectLockMode?: string, ObjectLockRetainUntilDate?: string, ObjectLockLegalHoldStatus?: string, ExpectedBucketOwner?: string, ChecksumAlgorithm?: string }) => Promise<CreateMultipartUploadResponse>
|
|
26
106
|
/**
|
|
27
107
|
* @description
|
|
28
108
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html S3: DeleteBucket}
|
|
29
109
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucket S3: DeleteBucket}
|
|
30
110
|
*/
|
|
31
111
|
DeleteBucket: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketResponse>
|
|
112
|
+
/**
|
|
113
|
+
* @description
|
|
114
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html S3: DeleteBucketAnalyticsConfiguration}
|
|
115
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketAnalyticsConfiguration S3: DeleteBucketAnalyticsConfiguration}
|
|
116
|
+
*/
|
|
117
|
+
DeleteBucketAnalyticsConfiguration: (input: { Bucket: string, Id: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketAnalyticsConfigurationResponse>
|
|
118
|
+
/**
|
|
119
|
+
* @description
|
|
120
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketCors.html S3: DeleteBucketCors}
|
|
121
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketCors S3: DeleteBucketCors}
|
|
122
|
+
*/
|
|
123
|
+
DeleteBucketCors: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketCorsResponse>
|
|
124
|
+
/**
|
|
125
|
+
* @description
|
|
126
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html S3: DeleteBucketEncryption}
|
|
127
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketEncryption S3: DeleteBucketEncryption}
|
|
128
|
+
*/
|
|
129
|
+
DeleteBucketEncryption: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketEncryptionResponse>
|
|
130
|
+
/**
|
|
131
|
+
* @description
|
|
132
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html S3: DeleteBucketIntelligentTieringConfiguration}
|
|
133
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketIntelligentTieringConfiguration S3: DeleteBucketIntelligentTieringConfiguration}
|
|
134
|
+
*/
|
|
135
|
+
DeleteBucketIntelligentTieringConfiguration: (input: { Bucket: string, Id: string }) => Promise<DeleteBucketIntelligentTieringConfigurationResponse>
|
|
136
|
+
/**
|
|
137
|
+
* @description
|
|
138
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html S3: DeleteBucketInventoryConfiguration}
|
|
139
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketInventoryConfiguration S3: DeleteBucketInventoryConfiguration}
|
|
140
|
+
*/
|
|
141
|
+
DeleteBucketInventoryConfiguration: (input: { Bucket: string, Id: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketInventoryConfigurationResponse>
|
|
142
|
+
/**
|
|
143
|
+
* @description
|
|
144
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html S3: DeleteBucketLifecycle}
|
|
145
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketLifecycle S3: DeleteBucketLifecycle}
|
|
146
|
+
*/
|
|
147
|
+
DeleteBucketLifecycle: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketLifecycleResponse>
|
|
148
|
+
/**
|
|
149
|
+
* @description
|
|
150
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html S3: DeleteBucketMetricsConfiguration}
|
|
151
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketMetricsConfiguration S3: DeleteBucketMetricsConfiguration}
|
|
152
|
+
*/
|
|
153
|
+
DeleteBucketMetricsConfiguration: (input: { Bucket: string, Id: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketMetricsConfigurationResponse>
|
|
154
|
+
/**
|
|
155
|
+
* @description
|
|
156
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketOwnershipControls.html S3: DeleteBucketOwnershipControls}
|
|
157
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketOwnershipControls S3: DeleteBucketOwnershipControls}
|
|
158
|
+
*/
|
|
159
|
+
DeleteBucketOwnershipControls: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketOwnershipControlsResponse>
|
|
160
|
+
/**
|
|
161
|
+
* @description
|
|
162
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html S3: DeleteBucketPolicy}
|
|
163
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketPolicy S3: DeleteBucketPolicy}
|
|
164
|
+
*/
|
|
165
|
+
DeleteBucketPolicy: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketPolicyResponse>
|
|
166
|
+
/**
|
|
167
|
+
* @description
|
|
168
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html S3: DeleteBucketReplication}
|
|
169
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketReplication S3: DeleteBucketReplication}
|
|
170
|
+
*/
|
|
171
|
+
DeleteBucketReplication: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketReplicationResponse>
|
|
172
|
+
/**
|
|
173
|
+
* @description
|
|
174
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html S3: DeleteBucketTagging}
|
|
175
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketTagging S3: DeleteBucketTagging}
|
|
176
|
+
*/
|
|
177
|
+
DeleteBucketTagging: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketTaggingResponse>
|
|
178
|
+
/**
|
|
179
|
+
* @description
|
|
180
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketWebsite.html S3: DeleteBucketWebsite}
|
|
181
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteBucketWebsite S3: DeleteBucketWebsite}
|
|
182
|
+
*/
|
|
183
|
+
DeleteBucketWebsite: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<DeleteBucketWebsiteResponse>
|
|
32
184
|
/**
|
|
33
185
|
* @description
|
|
34
186
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html S3: DeleteObject}
|
|
@@ -41,12 +193,138 @@ declare interface AwsLiteS3 {
|
|
|
41
193
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#DeleteObjects S3: DeleteObjects}
|
|
42
194
|
*/
|
|
43
195
|
DeleteObjects: (input: { Bucket: string, Delete: Record<string, any>, MFA?: string, RequestPayer?: string, BypassGovernanceRetention?: string, ExpectedBucketOwner?: string, ChecksumAlgorithm?: string, ContentMD5?: string }) => Promise<DeleteObjectsResponse>
|
|
196
|
+
/**
|
|
197
|
+
* @description
|
|
198
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAccelerateConfiguration.html S3: GetBucketAccelerateConfiguration}
|
|
199
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketAccelerateConfiguration S3: GetBucketAccelerateConfiguration}
|
|
200
|
+
*/
|
|
201
|
+
GetBucketAccelerateConfiguration: (input: { Bucket: string, ExpectedBucketOwner?: string, RequestPayer?: string }) => Promise<GetBucketAccelerateConfigurationResponse>
|
|
202
|
+
/**
|
|
203
|
+
* @description
|
|
204
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAcl.html S3: GetBucketAcl}
|
|
205
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketAcl S3: GetBucketAcl}
|
|
206
|
+
*/
|
|
207
|
+
GetBucketAcl: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketAclResponse>
|
|
208
|
+
/**
|
|
209
|
+
* @description
|
|
210
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html S3: GetBucketAnalyticsConfiguration}
|
|
211
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketAnalyticsConfiguration S3: GetBucketAnalyticsConfiguration}
|
|
212
|
+
*/
|
|
213
|
+
GetBucketAnalyticsConfiguration: (input: { Bucket: string, Id: string, ExpectedBucketOwner?: string }) => Promise<GetBucketAnalyticsConfigurationResponse>
|
|
214
|
+
/**
|
|
215
|
+
* @description
|
|
216
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketCors.html S3: GetBucketCors}
|
|
217
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketCors S3: GetBucketCors}
|
|
218
|
+
*/
|
|
219
|
+
GetBucketCors: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketCorsResponse>
|
|
220
|
+
/**
|
|
221
|
+
* @description
|
|
222
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html S3: GetBucketEncryption}
|
|
223
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketEncryption S3: GetBucketEncryption}
|
|
224
|
+
*/
|
|
225
|
+
GetBucketEncryption: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketEncryptionResponse>
|
|
226
|
+
/**
|
|
227
|
+
* @description
|
|
228
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html S3: GetBucketIntelligentTieringConfiguration}
|
|
229
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketIntelligentTieringConfiguration S3: GetBucketIntelligentTieringConfiguration}
|
|
230
|
+
*/
|
|
231
|
+
GetBucketIntelligentTieringConfiguration: (input: { Bucket: string, Id: string }) => Promise<GetBucketIntelligentTieringConfigurationResponse>
|
|
232
|
+
/**
|
|
233
|
+
* @description
|
|
234
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html S3: GetBucketInventoryConfiguration}
|
|
235
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketInventoryConfiguration S3: GetBucketInventoryConfiguration}
|
|
236
|
+
*/
|
|
237
|
+
GetBucketInventoryConfiguration: (input: { Bucket: string, Id: string, ExpectedBucketOwner?: string }) => Promise<GetBucketInventoryConfigurationResponse>
|
|
238
|
+
/**
|
|
239
|
+
* @description
|
|
240
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html S3: GetBucketLifecycleConfiguration}
|
|
241
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketLifecycleConfiguration S3: GetBucketLifecycleConfiguration}
|
|
242
|
+
*/
|
|
243
|
+
GetBucketLifecycleConfiguration: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketLifecycleConfigurationResponse>
|
|
244
|
+
/**
|
|
245
|
+
* @description
|
|
246
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLocation.html S3: GetBucketLocation}
|
|
247
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketLocation S3: GetBucketLocation}
|
|
248
|
+
*/
|
|
249
|
+
GetBucketLocation: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketLocationResponse>
|
|
250
|
+
/**
|
|
251
|
+
* @description
|
|
252
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLogging.html S3: GetBucketLogging}
|
|
253
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketLogging S3: GetBucketLogging}
|
|
254
|
+
*/
|
|
255
|
+
GetBucketLogging: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketLoggingResponse>
|
|
256
|
+
/**
|
|
257
|
+
* @description
|
|
258
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html S3: GetBucketMetricsConfiguration}
|
|
259
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketMetricsConfiguration S3: GetBucketMetricsConfiguration}
|
|
260
|
+
*/
|
|
261
|
+
GetBucketMetricsConfiguration: (input: { Bucket: string, Id: string, ExpectedBucketOwner?: string }) => Promise<GetBucketMetricsConfigurationResponse>
|
|
262
|
+
/**
|
|
263
|
+
* @description
|
|
264
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketNotificationConfiguration.html S3: GetBucketNotificationConfiguration}
|
|
265
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketNotificationConfiguration S3: GetBucketNotificationConfiguration}
|
|
266
|
+
*/
|
|
267
|
+
GetBucketNotificationConfiguration: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketNotificationConfigurationResponse>
|
|
268
|
+
/**
|
|
269
|
+
* @description
|
|
270
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketOwnershipControls.html S3: GetBucketOwnershipControls}
|
|
271
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketOwnershipControls S3: GetBucketOwnershipControls}
|
|
272
|
+
*/
|
|
273
|
+
GetBucketOwnershipControls: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketOwnershipControlsResponse>
|
|
274
|
+
/**
|
|
275
|
+
* @description
|
|
276
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html S3: GetBucketPolicy}
|
|
277
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketPolicy S3: GetBucketPolicy}
|
|
278
|
+
*/
|
|
279
|
+
GetBucketPolicy: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketPolicyResponse>
|
|
280
|
+
/**
|
|
281
|
+
* @description
|
|
282
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html S3: GetBucketPolicyStatus}
|
|
283
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketPolicyStatus S3: GetBucketPolicyStatus}
|
|
284
|
+
*/
|
|
285
|
+
GetBucketPolicyStatus: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketPolicyStatusResponse>
|
|
286
|
+
/**
|
|
287
|
+
* @description
|
|
288
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html S3: GetBucketReplication}
|
|
289
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketReplication S3: GetBucketReplication}
|
|
290
|
+
*/
|
|
291
|
+
GetBucketReplication: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketReplicationResponse>
|
|
292
|
+
/**
|
|
293
|
+
* @description
|
|
294
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketRequestPayment.html S3: GetBucketRequestPayment}
|
|
295
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketRequestPayment S3: GetBucketRequestPayment}
|
|
296
|
+
*/
|
|
297
|
+
GetBucketRequestPayment: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketRequestPaymentResponse>
|
|
298
|
+
/**
|
|
299
|
+
* @description
|
|
300
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html S3: GetBucketTagging}
|
|
301
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketTagging S3: GetBucketTagging}
|
|
302
|
+
*/
|
|
303
|
+
GetBucketTagging: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketTaggingResponse>
|
|
304
|
+
/**
|
|
305
|
+
* @description
|
|
306
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html S3: GetBucketVersioning}
|
|
307
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketVersioning S3: GetBucketVersioning}
|
|
308
|
+
*/
|
|
309
|
+
GetBucketVersioning: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketVersioningResponse>
|
|
310
|
+
/**
|
|
311
|
+
* @description
|
|
312
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketWebsite.html S3: GetBucketWebsite}
|
|
313
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetBucketWebsite S3: GetBucketWebsite}
|
|
314
|
+
*/
|
|
315
|
+
GetBucketWebsite: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<GetBucketWebsiteResponse>
|
|
44
316
|
/**
|
|
45
317
|
* @description
|
|
46
318
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html S3: GetObject}
|
|
47
319
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#GetObject S3: GetObject}
|
|
48
320
|
*/
|
|
49
|
-
GetObject: (input: { Bucket: string, Key: string, PartNumber?: number, VersionId?: string, IfMatch?: string, IfModifiedSince?: string, IfNoneMatch?: string, IfUnmodifiedSince?: string, Range?: string, SSECustomerAlgorithm?: string, SSECustomerKey?: string, SSECustomerKeyMD5?: string, RequestPayer?: string, ExpectedBucketOwner?: string, ChecksumMode?: string, ResponseCacheControl?: string, ResponseContentDisposition?: string, ResponseContentEncoding?: string, ResponseContentLanguage?: string, ResponseContentType?: string, ResponseExpires?: string, rawResponsePayload?: boolean }) => Promise<GetObjectResponse>
|
|
321
|
+
GetObject: (input: { Bucket: string, Key: string, PartNumber?: number, VersionId?: string, IfMatch?: string, IfModifiedSince?: string, IfNoneMatch?: string, IfUnmodifiedSince?: string, Range?: string, SSECustomerAlgorithm?: string, SSECustomerKey?: string, SSECustomerKeyMD5?: string, RequestPayer?: string, ExpectedBucketOwner?: string, ChecksumMode?: string, ResponseCacheControl?: string, ResponseContentDisposition?: string, ResponseContentEncoding?: string, ResponseContentLanguage?: string, ResponseContentType?: string, ResponseExpires?: string, rawResponsePayload?: boolean, streamResponsePayload?: boolean }) => Promise<GetObjectResponse>
|
|
322
|
+
/**
|
|
323
|
+
* @description
|
|
324
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html S3: HeadBucket}
|
|
325
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#HeadBucket S3: HeadBucket}
|
|
326
|
+
*/
|
|
327
|
+
HeadBucket: (input: { Bucket: string, ExpectedBucketOwner?: string }) => Promise<HeadBucketResponse>
|
|
50
328
|
/**
|
|
51
329
|
* @description
|
|
52
330
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html S3: HeadObject}
|
|
@@ -55,24 +333,179 @@ declare interface AwsLiteS3 {
|
|
|
55
333
|
HeadObject: (input: { Bucket: string, Key: string, PartNumber?: number, VersionId?: string, IfMatch?: string, IfModifiedSince?: string, IfNoneMatch?: string, IfUnmodifiedSince?: string, Range?: string, SSECustomerAlgorithm?: string, SSECustomerKey?: string, SSECustomerKeyMD5?: string, RequestPayer?: string, ExpectedBucketOwner?: string, ChecksumMode?: string }) => Promise<HeadObjectResponse>
|
|
56
334
|
/**
|
|
57
335
|
* @description
|
|
58
|
-
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/
|
|
59
|
-
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#
|
|
336
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html S3: ListBucketAnalyticsConfigurations}
|
|
337
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#ListBucketAnalyticsConfigurations S3: ListBucketAnalyticsConfigurations}
|
|
60
338
|
*/
|
|
61
|
-
|
|
339
|
+
ListBucketAnalyticsConfigurations: (input: { Bucket: string, ContinuationToken?: string, paginate?: boolean, ExpectedBucketOwner?: string }) => Promise<ListBucketAnalyticsConfigurationsResponse>
|
|
340
|
+
/**
|
|
341
|
+
* @description
|
|
342
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html S3: ListBucketIntelligentTieringConfigurations}
|
|
343
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#ListBucketIntelligentTieringConfigurations S3: ListBucketIntelligentTieringConfigurations}
|
|
344
|
+
*/
|
|
345
|
+
ListBucketIntelligentTieringConfigurations: (input: { Bucket: string, ContinuationToken?: string, paginate?: boolean, ExpectedBucketOwner?: string }) => Promise<ListBucketIntelligentTieringConfigurationsResponse>
|
|
346
|
+
/**
|
|
347
|
+
* @description
|
|
348
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html S3: ListBucketInventoryConfigurations}
|
|
349
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#ListBucketInventoryConfigurations S3: ListBucketInventoryConfigurations}
|
|
350
|
+
*/
|
|
351
|
+
ListBucketInventoryConfigurations: (input: { Bucket: string, ContinuationToken?: string, paginate?: boolean, ExpectedBucketOwner?: string }) => Promise<ListBucketInventoryConfigurationsResponse>
|
|
352
|
+
/**
|
|
353
|
+
* @description
|
|
354
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html S3: ListBucketMetricsConfigurations}
|
|
355
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#ListBucketMetricsConfigurations S3: ListBucketMetricsConfigurations}
|
|
356
|
+
*/
|
|
357
|
+
ListBucketMetricsConfigurations: (input: { Bucket: string, ContinuationToken?: string, paginate?: boolean, ExpectedBucketOwner?: string }) => Promise<ListBucketMetricsConfigurationsResponse>
|
|
62
358
|
/** @description aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#ListBuckets S3: ListBuckets} */
|
|
63
359
|
ListBuckets: () => Promise<ListBucketsResponse>
|
|
360
|
+
/**
|
|
361
|
+
* @description
|
|
362
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html S3: ListMultipartUploads}
|
|
363
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#ListMultipartUploads S3: ListMultipartUploads}
|
|
364
|
+
*/
|
|
365
|
+
ListMultipartUploads: (input: { Bucket: string, Delimiter?: string, EncodingType?: string, KeyMarker?: string, MaxUploads?: number, UploadIdMarker?: string, ExpectedBucketOwner?: string, RequestPayer?: string, paginate?: boolean }) => Promise<ListMultipartUploadsResponse>
|
|
64
366
|
/**
|
|
65
367
|
* @description
|
|
66
368
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html S3: ListObjectsV2}
|
|
67
369
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#ListObjectsV2 S3: ListObjectsV2}
|
|
68
370
|
*/
|
|
69
371
|
ListObjectsV2: (input: { Bucket: string, ContinuationToken?: string, Delimiter?: string, EncodingType?: string, FetchOwner?: string, MaxKeys?: number, Prefix?: string, StartAfter?: string, RequestPayer?: string, ExpectedBucketOwner?: string, OptionalObjectAttributes?: string, paginate?: boolean }) => Promise<ListObjectsV2Response>
|
|
372
|
+
/**
|
|
373
|
+
* @description
|
|
374
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html S3: PutBucketAccelerateConfiguration}
|
|
375
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketAccelerateConfiguration S3: PutBucketAccelerateConfiguration}
|
|
376
|
+
*/
|
|
377
|
+
PutBucketAccelerateConfiguration: (input: { AccelerateConfiguration: Record<string, any>, Bucket: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketAccelerateConfigurationResponse>
|
|
378
|
+
/**
|
|
379
|
+
* @description
|
|
380
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html S3: PutBucketAnalyticsConfiguration}
|
|
381
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketAnalyticsConfiguration S3: PutBucketAnalyticsConfiguration}
|
|
382
|
+
*/
|
|
383
|
+
PutBucketAnalyticsConfiguration: (input: { Bucket: string, Id: string, AnalyticsConfiguration: Record<string, any>, ExpectedBucketOwner?: string }) => Promise<PutBucketAnalyticsConfigurationResponse>
|
|
384
|
+
/**
|
|
385
|
+
* @description
|
|
386
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html S3: PutBucketCors}
|
|
387
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketCors S3: PutBucketCors}
|
|
388
|
+
*/
|
|
389
|
+
PutBucketCors: (input: { Bucket: string, CORSConfiguration: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketCorsResponse>
|
|
390
|
+
/**
|
|
391
|
+
* @description
|
|
392
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html S3: PutBucketEncryption}
|
|
393
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketEncryption S3: PutBucketEncryption}
|
|
394
|
+
*/
|
|
395
|
+
PutBucketEncryption: (input: { Bucket: string, ServerSideEncryptionConfiguration: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketEncryptionResponse>
|
|
396
|
+
/**
|
|
397
|
+
* @description
|
|
398
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html S3: PutBucketIntelligentTieringConfiguration}
|
|
399
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketIntelligentTieringConfiguration S3: PutBucketIntelligentTieringConfiguration}
|
|
400
|
+
*/
|
|
401
|
+
PutBucketIntelligentTieringConfiguration: (input: { Bucket: string, Id: string, IntelligentTieringConfiguration: Record<string, any> }) => Promise<PutBucketIntelligentTieringConfigurationResponse>
|
|
402
|
+
/**
|
|
403
|
+
* @description
|
|
404
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html S3: PutBucketInventoryConfiguration}
|
|
405
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketInventoryConfiguration S3: PutBucketInventoryConfiguration}
|
|
406
|
+
*/
|
|
407
|
+
PutBucketInventoryConfiguration: (input: { Bucket: string, Id: string, InventoryConfiguration: Record<string, any>, ExpectedBucketOwner?: string }) => Promise<PutBucketInventoryConfigurationResponse>
|
|
408
|
+
/**
|
|
409
|
+
* @description
|
|
410
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html S3: PutBucketLifecycleConfiguration}
|
|
411
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketLifecycleConfiguration S3: PutBucketLifecycleConfiguration}
|
|
412
|
+
*/
|
|
413
|
+
PutBucketLifecycleConfiguration: (input: { Bucket: string, LifecycleConfiguration: Record<string, any>, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string, ContentMD5?: string }) => Promise<PutBucketLifecycleConfigurationResponse>
|
|
414
|
+
/**
|
|
415
|
+
* @description
|
|
416
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html S3: PutBucketMetricsConfiguration}
|
|
417
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketMetricsConfiguration S3: PutBucketMetricsConfiguration}
|
|
418
|
+
*/
|
|
419
|
+
PutBucketMetricsConfiguration: (input: { Bucket: string, Id: string, MetricsConfiguration: Record<string, any>, ExpectedBucketOwner?: string }) => Promise<PutBucketMetricsConfigurationResponse>
|
|
420
|
+
/**
|
|
421
|
+
* @description
|
|
422
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotificationConfiguration.html S3: PutBucketNotificationConfiguration}
|
|
423
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketNotificationConfiguration S3: PutBucketNotificationConfiguration}
|
|
424
|
+
*/
|
|
425
|
+
PutBucketNotificationConfiguration: (input: { Bucket: string, NotificationConfiguration: Record<string, any>, ExpectedBucketOwner?: string }) => Promise<PutBucketNotificationConfigurationResponse>
|
|
426
|
+
/**
|
|
427
|
+
* @description
|
|
428
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketOwnershipControls.html S3: PutBucketOwnershipControls}
|
|
429
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketOwnershipControls S3: PutBucketOwnershipControls}
|
|
430
|
+
*/
|
|
431
|
+
PutBucketOwnershipControls: (input: { Bucket: string, OwnershipControls: Record<string, any>, ContentMD5?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketOwnershipControlsResponse>
|
|
432
|
+
/**
|
|
433
|
+
* @description
|
|
434
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html S3: PutBucketPolicy}
|
|
435
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketPolicy S3: PutBucketPolicy}
|
|
436
|
+
*/
|
|
437
|
+
PutBucketPolicy: (input: { Bucket: string, Policy: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, ConfirmRemoveSelfBucketAccess?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketPolicyResponse>
|
|
438
|
+
/**
|
|
439
|
+
* @description
|
|
440
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html S3: PutBucketReplication}
|
|
441
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketReplication S3: PutBucketReplication}
|
|
442
|
+
*/
|
|
443
|
+
PutBucketReplication: (input: { Bucket: string, ReplicationConfiguration: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, Token?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketReplicationResponse>
|
|
444
|
+
/**
|
|
445
|
+
* @description
|
|
446
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketRequestPayment.html S3: PutBucketRequestPayment}
|
|
447
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketRequestPayment S3: PutBucketRequestPayment}
|
|
448
|
+
*/
|
|
449
|
+
PutBucketRequestPayment: (input: { Bucket: string, RequestPaymentConfiguration: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketRequestPaymentResponse>
|
|
450
|
+
/**
|
|
451
|
+
* @description
|
|
452
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html S3: PutBucketTagging}
|
|
453
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketTagging S3: PutBucketTagging}
|
|
454
|
+
*/
|
|
455
|
+
PutBucketTagging: (input: { Bucket: string, Tagging: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketTaggingResponse>
|
|
456
|
+
/**
|
|
457
|
+
* @description
|
|
458
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html S3: PutBucketVersioning}
|
|
459
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketVersioning S3: PutBucketVersioning}
|
|
460
|
+
*/
|
|
461
|
+
PutBucketVersioning: (input: { Bucket: string, VersioningConfiguration: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, MFA?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketVersioningResponse>
|
|
462
|
+
/**
|
|
463
|
+
* @description
|
|
464
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html S3: PutBucketWebsite}
|
|
465
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutBucketWebsite S3: PutBucketWebsite}
|
|
466
|
+
*/
|
|
467
|
+
PutBucketWebsite: (input: { Bucket: string, WebsiteConfiguration: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutBucketWebsiteResponse>
|
|
70
468
|
/**
|
|
71
469
|
* @description
|
|
72
470
|
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html S3: PutObject}
|
|
73
471
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutObject S3: PutObject}
|
|
74
472
|
*/
|
|
75
|
-
PutObject: (input: { Bucket: string, Key: string, Body?:
|
|
473
|
+
PutObject: (input: { Bucket: string, Key: string, Body?: Buffer | stream | string, File?: string, ApplyChecksum?: boolean, MinChunkSize?: number, ACL?: string, BucketKeyEnabled?: string, CacheControl?: string, ChecksumAlgorithm?: string, ChecksumCRC32?: string, ChecksumCRC32C?: string, ChecksumSHA1?: string, ChecksumSHA256?: string, ContentDisposition?: string, ContentEncoding?: string, ContentLanguage?: string, ContentLength?: string, ContentMD5?: string, ContentType?: string, ExpectedBucketOwner?: string, Expires?: string, GrantFullControl?: string, GrantRead?: string, GrantReadACP?: string, GrantWriteACP?: string, ObjectLockLegalHoldStatus?: string, ObjectLockMode?: string, ObjectLockRetainUntilDate?: string, RequestPayer?: string, ServerSideEncryption?: string, SSECustomerAlgorithm?: string, SSECustomerKey?: string, SSECustomerKeyMD5?: string, SSEKMSEncryptionContext?: string, SSEKMSKeyId?: string, StorageClass?: string, Tagging?: string, WebsiteRedirectLocation?: string, Metadata?: Record<string, any> }) => Promise<PutObjectResponse>
|
|
474
|
+
/**
|
|
475
|
+
* @description
|
|
476
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectLegalHold.html S3: PutObjectLegalHold}
|
|
477
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutObjectLegalHold S3: PutObjectLegalHold}
|
|
478
|
+
*/
|
|
479
|
+
PutObjectLegalHold: (input: { Bucket: string, Key: string, VersionId?: string, LegalHold: Record<string, any>, RequestPayer?: string, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutObjectLegalHoldResponse>
|
|
480
|
+
/**
|
|
481
|
+
* @description
|
|
482
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectLockConfiguration.html S3: PutObjectLockConfiguration}
|
|
483
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutObjectLockConfiguration S3: PutObjectLockConfiguration}
|
|
484
|
+
*/
|
|
485
|
+
PutObjectLockConfiguration: (input: { Bucket: string, ObjectLockConfiguration: Record<string, any>, RequestPayer?: string, Token?: string, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutObjectLockConfigurationResponse>
|
|
486
|
+
/**
|
|
487
|
+
* @description
|
|
488
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectRetention.html S3: PutObjectRetention}
|
|
489
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutObjectRetention S3: PutObjectRetention}
|
|
490
|
+
*/
|
|
491
|
+
PutObjectRetention: (input: { Bucket: string, Key: string, VersionId?: string, Retention: Record<string, any>, RequestPayer?: string, BypassGovernanceRetention?: string, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string }) => Promise<PutObjectRetentionResponse>
|
|
492
|
+
/**
|
|
493
|
+
* @description
|
|
494
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html S3: PutObjectTagging}
|
|
495
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#PutObjectTagging S3: PutObjectTagging}
|
|
496
|
+
*/
|
|
497
|
+
PutObjectTagging: (input: { Bucket: string, Key: string, VersionId?: string, Tagging: Record<string, any>, ContentMD5?: string, ChecksumAlgorithm?: string, ExpectedBucketOwner?: string, RequestPayer?: string }) => Promise<PutObjectTaggingResponse>
|
|
498
|
+
/**
|
|
499
|
+
* @description
|
|
500
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#Upload S3: Upload}
|
|
501
|
+
*/
|
|
502
|
+
Upload: (input: { Bucket: string, Key: string, Body?: Buffer | stream | string, File?: string, ChunkSize?: number, Concurrency?: number, ACL?: string, BucketKeyEnabled?: string, CacheControl?: string, ChecksumAlgorithm?: string, ChecksumCRC32?: string, ChecksumCRC32C?: string, ChecksumSHA1?: string, ChecksumSHA256?: string, ContentDisposition?: string, ContentEncoding?: string, ContentLanguage?: string, ContentType?: string, ExpectedBucketOwner?: string, Expires?: string, GrantFullControl?: string, GrantRead?: string, GrantReadACP?: string, GrantWriteACP?: string, ObjectLockLegalHoldStatus?: string, ObjectLockMode?: string, ObjectLockRetainUntilDate?: string, RequestPayer?: string, ServerSideEncryption?: string, SSECustomerAlgorithm?: string, SSECustomerKey?: string, SSECustomerKeyMD5?: string, SSEKMSEncryptionContext?: string, SSEKMSKeyId?: string, StorageClass?: string, Tagging?: string, WebsiteRedirectLocation?: string, Metadata?: Record<string, any> }) => Promise<UploadResponse>
|
|
503
|
+
/**
|
|
504
|
+
* @description
|
|
505
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html S3: UploadPart}
|
|
506
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/s3/readme.md#UploadPart S3: UploadPart}
|
|
507
|
+
*/
|
|
508
|
+
UploadPart: (input: { Bucket: string, Key: string, PartNumber?: number, Body?: Buffer | stream | string, ContentLength?: string, ContentMD5?: string, ChecksumAlgorithm?: string, ChecksumCRC32?: string, ChecksumCRC32C?: string, ChecksumSHA1?: string, ChecksumSHA256?: string, SSECustomerAlgorithm?: string, SSECustomerKey?: string, SSECustomerKeyMD5?: string, RequestPayer?: string, ExpectedBucketOwner?: string }) => Promise<UploadPartResponse>
|
|
76
509
|
// $METHODS_END
|
|
77
510
|
}
|
|
78
511
|
|
|
@@ -86,15 +519,77 @@ export type {
|
|
|
86
519
|
AwsLiteS3,
|
|
87
520
|
/* ! Do not remove EXPORT_START / EXPORT_END ! */
|
|
88
521
|
// $EXPORT_START
|
|
522
|
+
AbortMultipartUploadResponse,
|
|
523
|
+
CompleteMultipartUploadResponse,
|
|
89
524
|
CreateBucketResponse,
|
|
525
|
+
CreateMultipartUploadResponse,
|
|
90
526
|
DeleteBucketResponse,
|
|
527
|
+
DeleteBucketAnalyticsConfigurationResponse,
|
|
528
|
+
DeleteBucketCorsResponse,
|
|
529
|
+
DeleteBucketEncryptionResponse,
|
|
530
|
+
DeleteBucketIntelligentTieringConfigurationResponse,
|
|
531
|
+
DeleteBucketInventoryConfigurationResponse,
|
|
532
|
+
DeleteBucketLifecycleResponse,
|
|
533
|
+
DeleteBucketMetricsConfigurationResponse,
|
|
534
|
+
DeleteBucketOwnershipControlsResponse,
|
|
535
|
+
DeleteBucketPolicyResponse,
|
|
536
|
+
DeleteBucketReplicationResponse,
|
|
537
|
+
DeleteBucketTaggingResponse,
|
|
538
|
+
DeleteBucketWebsiteResponse,
|
|
91
539
|
DeleteObjectResponse,
|
|
92
540
|
DeleteObjectsResponse,
|
|
541
|
+
GetBucketAccelerateConfigurationResponse,
|
|
542
|
+
GetBucketAclResponse,
|
|
543
|
+
GetBucketAnalyticsConfigurationResponse,
|
|
544
|
+
GetBucketCorsResponse,
|
|
545
|
+
GetBucketEncryptionResponse,
|
|
546
|
+
GetBucketIntelligentTieringConfigurationResponse,
|
|
547
|
+
GetBucketInventoryConfigurationResponse,
|
|
548
|
+
GetBucketLifecycleConfigurationResponse,
|
|
549
|
+
GetBucketLocationResponse,
|
|
550
|
+
GetBucketLoggingResponse,
|
|
551
|
+
GetBucketMetricsConfigurationResponse,
|
|
552
|
+
GetBucketNotificationConfigurationResponse,
|
|
553
|
+
GetBucketOwnershipControlsResponse,
|
|
554
|
+
GetBucketPolicyResponse,
|
|
555
|
+
GetBucketPolicyStatusResponse,
|
|
556
|
+
GetBucketReplicationResponse,
|
|
557
|
+
GetBucketRequestPaymentResponse,
|
|
558
|
+
GetBucketTaggingResponse,
|
|
559
|
+
GetBucketVersioningResponse,
|
|
560
|
+
GetBucketWebsiteResponse,
|
|
93
561
|
GetObjectResponse,
|
|
94
|
-
HeadObjectResponse,
|
|
95
562
|
HeadBucketResponse,
|
|
563
|
+
HeadObjectResponse,
|
|
564
|
+
ListBucketAnalyticsConfigurationsResponse,
|
|
565
|
+
ListBucketIntelligentTieringConfigurationsResponse,
|
|
566
|
+
ListBucketInventoryConfigurationsResponse,
|
|
567
|
+
ListBucketMetricsConfigurationsResponse,
|
|
96
568
|
ListBucketsResponse,
|
|
569
|
+
ListMultipartUploadsResponse,
|
|
97
570
|
ListObjectsV2Response,
|
|
571
|
+
PutBucketAccelerateConfigurationResponse,
|
|
572
|
+
PutBucketAnalyticsConfigurationResponse,
|
|
573
|
+
PutBucketCorsResponse,
|
|
574
|
+
PutBucketEncryptionResponse,
|
|
575
|
+
PutBucketIntelligentTieringConfigurationResponse,
|
|
576
|
+
PutBucketInventoryConfigurationResponse,
|
|
577
|
+
PutBucketLifecycleConfigurationResponse,
|
|
578
|
+
PutBucketMetricsConfigurationResponse,
|
|
579
|
+
PutBucketNotificationConfigurationResponse,
|
|
580
|
+
PutBucketOwnershipControlsResponse,
|
|
581
|
+
PutBucketPolicyResponse,
|
|
582
|
+
PutBucketReplicationResponse,
|
|
583
|
+
PutBucketRequestPaymentResponse,
|
|
584
|
+
PutBucketTaggingResponse,
|
|
585
|
+
PutBucketVersioningResponse,
|
|
586
|
+
PutBucketWebsiteResponse,
|
|
98
587
|
PutObjectResponse,
|
|
588
|
+
PutObjectLegalHoldResponse,
|
|
589
|
+
PutObjectLockConfigurationResponse,
|
|
590
|
+
PutObjectRetentionResponse,
|
|
591
|
+
PutObjectTaggingResponse,
|
|
592
|
+
UploadResponse,
|
|
593
|
+
UploadPartResponse,
|
|
99
594
|
// $EXPORT_END
|
|
100
595
|
}
|