@apicity/b2 0.4.1 → 0.4.2

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.
@@ -0,0 +1,1562 @@
1
+ import { z } from "zod";
2
+ export declare const S3OptionsSchema: z.ZodObject<{
3
+ accessKeyId: z.ZodString;
4
+ secretAccessKey: z.ZodString;
5
+ sessionToken: z.ZodOptional<z.ZodString>;
6
+ region: z.ZodString;
7
+ endpoint: z.ZodOptional<z.ZodString>;
8
+ signingService: z.ZodOptional<z.ZodString>;
9
+ forcePathStyle: z.ZodOptional<z.ZodBoolean>;
10
+ timeout: z.ZodOptional<z.ZodNumber>;
11
+ fetch: z.ZodOptional<z.ZodType<typeof fetch, z.ZodTypeDef, typeof fetch>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ accessKeyId: string;
14
+ secretAccessKey: string;
15
+ region: string;
16
+ sessionToken?: string | undefined;
17
+ endpoint?: string | undefined;
18
+ signingService?: string | undefined;
19
+ forcePathStyle?: boolean | undefined;
20
+ timeout?: number | undefined;
21
+ fetch?: typeof fetch | undefined;
22
+ }, {
23
+ accessKeyId: string;
24
+ secretAccessKey: string;
25
+ region: string;
26
+ sessionToken?: string | undefined;
27
+ endpoint?: string | undefined;
28
+ signingService?: string | undefined;
29
+ forcePathStyle?: boolean | undefined;
30
+ timeout?: number | undefined;
31
+ fetch?: typeof fetch | undefined;
32
+ }>;
33
+ export type S3Options = z.infer<typeof S3OptionsSchema>;
34
+ export declare const S3ListBucketsRequestSchema: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
35
+ export type S3ListBucketsRequest = z.infer<typeof S3ListBucketsRequestSchema>;
36
+ export declare const S3ListDirectoryBucketsRequestSchema: z.ZodOptional<z.ZodObject<{
37
+ continuationToken: z.ZodOptional<z.ZodString>;
38
+ maxDirectoryBuckets: z.ZodOptional<z.ZodNumber>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ continuationToken?: string | undefined;
41
+ maxDirectoryBuckets?: number | undefined;
42
+ }, {
43
+ continuationToken?: string | undefined;
44
+ maxDirectoryBuckets?: number | undefined;
45
+ }>>;
46
+ export type S3ListDirectoryBucketsRequest = z.infer<typeof S3ListDirectoryBucketsRequestSchema>;
47
+ export declare const S3CreateBucketRequestSchema: z.ZodObject<{
48
+ bucket: z.ZodString;
49
+ locationConstraint: z.ZodOptional<z.ZodString>;
50
+ acl: z.ZodOptional<z.ZodEnum<["private", "public-read", "public-read-write", "authenticated-read"]>>;
51
+ objectOwnership: z.ZodOptional<z.ZodEnum<["BucketOwnerPreferred", "ObjectWriter", "BucketOwnerEnforced"]>>;
52
+ objectLockEnabledForBucket: z.ZodOptional<z.ZodBoolean>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ bucket: string;
55
+ locationConstraint?: string | undefined;
56
+ acl?: "private" | "public-read" | "public-read-write" | "authenticated-read" | undefined;
57
+ objectOwnership?: "BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced" | undefined;
58
+ objectLockEnabledForBucket?: boolean | undefined;
59
+ }, {
60
+ bucket: string;
61
+ locationConstraint?: string | undefined;
62
+ acl?: "private" | "public-read" | "public-read-write" | "authenticated-read" | undefined;
63
+ objectOwnership?: "BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced" | undefined;
64
+ objectLockEnabledForBucket?: boolean | undefined;
65
+ }>;
66
+ export type S3CreateBucketRequest = z.infer<typeof S3CreateBucketRequestSchema>;
67
+ export declare const S3CreateSessionRequestSchema: z.ZodObject<{
68
+ bucket: z.ZodString;
69
+ sessionMode: z.ZodOptional<z.ZodEnum<["ReadOnly", "ReadWrite"]>>;
70
+ serverSideEncryption: z.ZodOptional<z.ZodString>;
71
+ sseKmsEncryptionContext: z.ZodOptional<z.ZodString>;
72
+ sseKmsKeyId: z.ZodOptional<z.ZodString>;
73
+ bucketKeyEnabled: z.ZodOptional<z.ZodBoolean>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ bucket: string;
76
+ sessionMode?: "ReadOnly" | "ReadWrite" | undefined;
77
+ serverSideEncryption?: string | undefined;
78
+ sseKmsEncryptionContext?: string | undefined;
79
+ sseKmsKeyId?: string | undefined;
80
+ bucketKeyEnabled?: boolean | undefined;
81
+ }, {
82
+ bucket: string;
83
+ sessionMode?: "ReadOnly" | "ReadWrite" | undefined;
84
+ serverSideEncryption?: string | undefined;
85
+ sseKmsEncryptionContext?: string | undefined;
86
+ sseKmsKeyId?: string | undefined;
87
+ bucketKeyEnabled?: boolean | undefined;
88
+ }>;
89
+ export type S3CreateSessionRequest = z.infer<typeof S3CreateSessionRequestSchema>;
90
+ export declare const S3BucketRequestSchema: z.ZodObject<{
91
+ bucket: z.ZodString;
92
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ bucket: string;
95
+ expectedBucketOwner?: string | undefined;
96
+ }, {
97
+ bucket: string;
98
+ expectedBucketOwner?: string | undefined;
99
+ }>;
100
+ export type S3BucketRequest = z.infer<typeof S3BucketRequestSchema>;
101
+ export declare const S3ListObjectsV2RequestSchema: z.ZodObject<{
102
+ bucket: z.ZodString;
103
+ prefix: z.ZodOptional<z.ZodString>;
104
+ delimiter: z.ZodOptional<z.ZodString>;
105
+ continuationToken: z.ZodOptional<z.ZodString>;
106
+ maxKeys: z.ZodOptional<z.ZodNumber>;
107
+ startAfter: z.ZodOptional<z.ZodString>;
108
+ encodingType: z.ZodOptional<z.ZodEnum<["url"]>>;
109
+ fetchOwner: z.ZodOptional<z.ZodBoolean>;
110
+ }, "strip", z.ZodTypeAny, {
111
+ bucket: string;
112
+ continuationToken?: string | undefined;
113
+ prefix?: string | undefined;
114
+ delimiter?: string | undefined;
115
+ maxKeys?: number | undefined;
116
+ startAfter?: string | undefined;
117
+ encodingType?: "url" | undefined;
118
+ fetchOwner?: boolean | undefined;
119
+ }, {
120
+ bucket: string;
121
+ continuationToken?: string | undefined;
122
+ prefix?: string | undefined;
123
+ delimiter?: string | undefined;
124
+ maxKeys?: number | undefined;
125
+ startAfter?: string | undefined;
126
+ encodingType?: "url" | undefined;
127
+ fetchOwner?: boolean | undefined;
128
+ }>;
129
+ export type S3ListObjectsV2Request = z.infer<typeof S3ListObjectsV2RequestSchema>;
130
+ export declare const S3ListObjectsRequestSchema: z.ZodObject<{
131
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
132
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
133
+ bucket: z.ZodString;
134
+ delimiter: z.ZodOptional<z.ZodString>;
135
+ encodingType: z.ZodOptional<z.ZodEnum<["url"]>>;
136
+ marker: z.ZodOptional<z.ZodString>;
137
+ maxKeys: z.ZodOptional<z.ZodNumber>;
138
+ optionalObjectAttributes: z.ZodOptional<z.ZodArray<z.ZodEnum<["RestoreStatus"]>, "many">>;
139
+ prefix: z.ZodOptional<z.ZodString>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ bucket: string;
142
+ expectedBucketOwner?: string | undefined;
143
+ prefix?: string | undefined;
144
+ delimiter?: string | undefined;
145
+ maxKeys?: number | undefined;
146
+ encodingType?: "url" | undefined;
147
+ marker?: string | undefined;
148
+ optionalObjectAttributes?: "RestoreStatus"[] | undefined;
149
+ requestPayer?: "requester" | undefined;
150
+ }, {
151
+ bucket: string;
152
+ expectedBucketOwner?: string | undefined;
153
+ prefix?: string | undefined;
154
+ delimiter?: string | undefined;
155
+ maxKeys?: number | undefined;
156
+ encodingType?: "url" | undefined;
157
+ marker?: string | undefined;
158
+ optionalObjectAttributes?: "RestoreStatus"[] | undefined;
159
+ requestPayer?: "requester" | undefined;
160
+ }>;
161
+ export type S3ListObjectsRequest = z.infer<typeof S3ListObjectsRequestSchema>;
162
+ export declare const S3ListObjectVersionsRequestSchema: z.ZodObject<{
163
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
164
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
165
+ bucket: z.ZodString;
166
+ delimiter: z.ZodOptional<z.ZodString>;
167
+ encodingType: z.ZodOptional<z.ZodEnum<["url"]>>;
168
+ keyMarker: z.ZodOptional<z.ZodString>;
169
+ maxKeys: z.ZodOptional<z.ZodNumber>;
170
+ prefix: z.ZodOptional<z.ZodString>;
171
+ versionIdMarker: z.ZodOptional<z.ZodString>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ bucket: string;
174
+ expectedBucketOwner?: string | undefined;
175
+ prefix?: string | undefined;
176
+ delimiter?: string | undefined;
177
+ maxKeys?: number | undefined;
178
+ encodingType?: "url" | undefined;
179
+ requestPayer?: "requester" | undefined;
180
+ keyMarker?: string | undefined;
181
+ versionIdMarker?: string | undefined;
182
+ }, {
183
+ bucket: string;
184
+ expectedBucketOwner?: string | undefined;
185
+ prefix?: string | undefined;
186
+ delimiter?: string | undefined;
187
+ maxKeys?: number | undefined;
188
+ encodingType?: "url" | undefined;
189
+ requestPayer?: "requester" | undefined;
190
+ keyMarker?: string | undefined;
191
+ versionIdMarker?: string | undefined;
192
+ }>;
193
+ export type S3ListObjectVersionsRequest = z.infer<typeof S3ListObjectVersionsRequestSchema>;
194
+ export declare const S3PutObjectRequestSchema: z.ZodObject<{
195
+ checksumCRC32: z.ZodOptional<z.ZodString>;
196
+ checksumCRC32C: z.ZodOptional<z.ZodString>;
197
+ checksumCRC64NVME: z.ZodOptional<z.ZodString>;
198
+ checksumSHA1: z.ZodOptional<z.ZodString>;
199
+ checksumSHA256: z.ZodOptional<z.ZodString>;
200
+ checksumSHA512: z.ZodOptional<z.ZodString>;
201
+ checksumMD5: z.ZodOptional<z.ZodString>;
202
+ checksumType: z.ZodOptional<z.ZodEnum<["COMPOSITE", "FULL_OBJECT"]>>;
203
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
204
+ storageClass: z.ZodOptional<z.ZodString>;
205
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
206
+ contentMD5: z.ZodOptional<z.ZodString>;
207
+ contentType: z.ZodOptional<z.ZodString>;
208
+ cacheControl: z.ZodOptional<z.ZodString>;
209
+ contentDisposition: z.ZodOptional<z.ZodString>;
210
+ contentEncoding: z.ZodOptional<z.ZodString>;
211
+ contentLanguage: z.ZodOptional<z.ZodString>;
212
+ bucket: z.ZodString;
213
+ key: z.ZodString;
214
+ body: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ bucket: string;
217
+ key: string;
218
+ body: string | ArrayBuffer | Blob | Uint8Array<ArrayBuffer>;
219
+ metadata?: Record<string, string> | undefined;
220
+ storageClass?: string | undefined;
221
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
222
+ contentMD5?: string | undefined;
223
+ checksumCRC32?: string | undefined;
224
+ checksumCRC32C?: string | undefined;
225
+ checksumCRC64NVME?: string | undefined;
226
+ checksumSHA1?: string | undefined;
227
+ checksumSHA256?: string | undefined;
228
+ checksumSHA512?: string | undefined;
229
+ checksumMD5?: string | undefined;
230
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
231
+ contentType?: string | undefined;
232
+ cacheControl?: string | undefined;
233
+ contentDisposition?: string | undefined;
234
+ contentEncoding?: string | undefined;
235
+ contentLanguage?: string | undefined;
236
+ }, {
237
+ bucket: string;
238
+ key: string;
239
+ body: string | ArrayBuffer | Blob | Uint8Array<ArrayBuffer>;
240
+ metadata?: Record<string, string> | undefined;
241
+ storageClass?: string | undefined;
242
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
243
+ contentMD5?: string | undefined;
244
+ checksumCRC32?: string | undefined;
245
+ checksumCRC32C?: string | undefined;
246
+ checksumCRC64NVME?: string | undefined;
247
+ checksumSHA1?: string | undefined;
248
+ checksumSHA256?: string | undefined;
249
+ checksumSHA512?: string | undefined;
250
+ checksumMD5?: string | undefined;
251
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
252
+ contentType?: string | undefined;
253
+ cacheControl?: string | undefined;
254
+ contentDisposition?: string | undefined;
255
+ contentEncoding?: string | undefined;
256
+ contentLanguage?: string | undefined;
257
+ }>;
258
+ export type S3PutObjectRequest = z.infer<typeof S3PutObjectRequestSchema>;
259
+ export declare const S3CopyObjectRequestSchema: z.ZodObject<{
260
+ sourceExpectedBucketOwner: z.ZodOptional<z.ZodString>;
261
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
262
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
263
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
264
+ metadataDirective: z.ZodOptional<z.ZodEnum<["COPY", "REPLACE"]>>;
265
+ taggingDirective: z.ZodOptional<z.ZodEnum<["COPY", "REPLACE"]>>;
266
+ storageClass: z.ZodOptional<z.ZodString>;
267
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
268
+ contentType: z.ZodOptional<z.ZodString>;
269
+ cacheControl: z.ZodOptional<z.ZodString>;
270
+ contentDisposition: z.ZodOptional<z.ZodString>;
271
+ contentEncoding: z.ZodOptional<z.ZodString>;
272
+ contentLanguage: z.ZodOptional<z.ZodString>;
273
+ bucket: z.ZodString;
274
+ key: z.ZodString;
275
+ sourceBucket: z.ZodString;
276
+ sourceKey: z.ZodString;
277
+ sourceVersionId: z.ZodOptional<z.ZodString>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ bucket: string;
280
+ key: string;
281
+ sourceBucket: string;
282
+ sourceKey: string;
283
+ expectedBucketOwner?: string | undefined;
284
+ requestPayer?: "requester" | undefined;
285
+ metadata?: Record<string, string> | undefined;
286
+ storageClass?: string | undefined;
287
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
288
+ contentType?: string | undefined;
289
+ cacheControl?: string | undefined;
290
+ contentDisposition?: string | undefined;
291
+ contentEncoding?: string | undefined;
292
+ contentLanguage?: string | undefined;
293
+ sourceVersionId?: string | undefined;
294
+ metadataDirective?: "COPY" | "REPLACE" | undefined;
295
+ taggingDirective?: "COPY" | "REPLACE" | undefined;
296
+ sourceExpectedBucketOwner?: string | undefined;
297
+ }, {
298
+ bucket: string;
299
+ key: string;
300
+ sourceBucket: string;
301
+ sourceKey: string;
302
+ expectedBucketOwner?: string | undefined;
303
+ requestPayer?: "requester" | undefined;
304
+ metadata?: Record<string, string> | undefined;
305
+ storageClass?: string | undefined;
306
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
307
+ contentType?: string | undefined;
308
+ cacheControl?: string | undefined;
309
+ contentDisposition?: string | undefined;
310
+ contentEncoding?: string | undefined;
311
+ contentLanguage?: string | undefined;
312
+ sourceVersionId?: string | undefined;
313
+ metadataDirective?: "COPY" | "REPLACE" | undefined;
314
+ taggingDirective?: "COPY" | "REPLACE" | undefined;
315
+ sourceExpectedBucketOwner?: string | undefined;
316
+ }>;
317
+ export type S3CopyObjectRequest = z.infer<typeof S3CopyObjectRequestSchema>;
318
+ export declare const S3PresignObjectRequestSchema: z.ZodObject<{
319
+ responseCacheControl: z.ZodOptional<z.ZodString>;
320
+ responseContentDisposition: z.ZodOptional<z.ZodString>;
321
+ responseContentEncoding: z.ZodOptional<z.ZodString>;
322
+ responseContentLanguage: z.ZodOptional<z.ZodString>;
323
+ responseContentType: z.ZodOptional<z.ZodString>;
324
+ responseExpires: z.ZodOptional<z.ZodString>;
325
+ checksumCRC32: z.ZodOptional<z.ZodString>;
326
+ checksumCRC32C: z.ZodOptional<z.ZodString>;
327
+ checksumCRC64NVME: z.ZodOptional<z.ZodString>;
328
+ checksumSHA1: z.ZodOptional<z.ZodString>;
329
+ checksumSHA256: z.ZodOptional<z.ZodString>;
330
+ checksumSHA512: z.ZodOptional<z.ZodString>;
331
+ checksumMD5: z.ZodOptional<z.ZodString>;
332
+ checksumType: z.ZodOptional<z.ZodEnum<["COMPOSITE", "FULL_OBJECT"]>>;
333
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
334
+ storageClass: z.ZodOptional<z.ZodString>;
335
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
336
+ contentMD5: z.ZodOptional<z.ZodString>;
337
+ contentType: z.ZodOptional<z.ZodString>;
338
+ cacheControl: z.ZodOptional<z.ZodString>;
339
+ contentDisposition: z.ZodOptional<z.ZodString>;
340
+ contentEncoding: z.ZodOptional<z.ZodString>;
341
+ contentLanguage: z.ZodOptional<z.ZodString>;
342
+ bucket: z.ZodString;
343
+ key: z.ZodString;
344
+ expiresIn: z.ZodOptional<z.ZodNumber>;
345
+ versionId: z.ZodOptional<z.ZodString>;
346
+ range: z.ZodOptional<z.ZodString>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ bucket: string;
349
+ key: string;
350
+ metadata?: Record<string, string> | undefined;
351
+ storageClass?: string | undefined;
352
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
353
+ contentMD5?: string | undefined;
354
+ checksumCRC32?: string | undefined;
355
+ checksumCRC32C?: string | undefined;
356
+ checksumCRC64NVME?: string | undefined;
357
+ checksumSHA1?: string | undefined;
358
+ checksumSHA256?: string | undefined;
359
+ checksumSHA512?: string | undefined;
360
+ checksumMD5?: string | undefined;
361
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
362
+ contentType?: string | undefined;
363
+ cacheControl?: string | undefined;
364
+ contentDisposition?: string | undefined;
365
+ contentEncoding?: string | undefined;
366
+ contentLanguage?: string | undefined;
367
+ expiresIn?: number | undefined;
368
+ versionId?: string | undefined;
369
+ range?: string | undefined;
370
+ responseCacheControl?: string | undefined;
371
+ responseContentDisposition?: string | undefined;
372
+ responseContentEncoding?: string | undefined;
373
+ responseContentLanguage?: string | undefined;
374
+ responseContentType?: string | undefined;
375
+ responseExpires?: string | undefined;
376
+ }, {
377
+ bucket: string;
378
+ key: string;
379
+ metadata?: Record<string, string> | undefined;
380
+ storageClass?: string | undefined;
381
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
382
+ contentMD5?: string | undefined;
383
+ checksumCRC32?: string | undefined;
384
+ checksumCRC32C?: string | undefined;
385
+ checksumCRC64NVME?: string | undefined;
386
+ checksumSHA1?: string | undefined;
387
+ checksumSHA256?: string | undefined;
388
+ checksumSHA512?: string | undefined;
389
+ checksumMD5?: string | undefined;
390
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
391
+ contentType?: string | undefined;
392
+ cacheControl?: string | undefined;
393
+ contentDisposition?: string | undefined;
394
+ contentEncoding?: string | undefined;
395
+ contentLanguage?: string | undefined;
396
+ expiresIn?: number | undefined;
397
+ versionId?: string | undefined;
398
+ range?: string | undefined;
399
+ responseCacheControl?: string | undefined;
400
+ responseContentDisposition?: string | undefined;
401
+ responseContentEncoding?: string | undefined;
402
+ responseContentLanguage?: string | undefined;
403
+ responseContentType?: string | undefined;
404
+ responseExpires?: string | undefined;
405
+ }>;
406
+ export type S3PresignObjectRequest = z.infer<typeof S3PresignObjectRequestSchema>;
407
+ export declare const S3GetObjectRequestSchema: z.ZodObject<{
408
+ bucket: z.ZodString;
409
+ key: z.ZodString;
410
+ range: z.ZodOptional<z.ZodString>;
411
+ versionId: z.ZodOptional<z.ZodString>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ bucket: string;
414
+ key: string;
415
+ versionId?: string | undefined;
416
+ range?: string | undefined;
417
+ }, {
418
+ bucket: string;
419
+ key: string;
420
+ versionId?: string | undefined;
421
+ range?: string | undefined;
422
+ }>;
423
+ export type S3GetObjectRequest = z.infer<typeof S3GetObjectRequestSchema>;
424
+ export declare const S3HeadObjectRequestSchema: z.ZodObject<{
425
+ bucket: z.ZodString;
426
+ key: z.ZodString;
427
+ range: z.ZodOptional<z.ZodString>;
428
+ versionId: z.ZodOptional<z.ZodString>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ bucket: string;
431
+ key: string;
432
+ versionId?: string | undefined;
433
+ range?: string | undefined;
434
+ }, {
435
+ bucket: string;
436
+ key: string;
437
+ versionId?: string | undefined;
438
+ range?: string | undefined;
439
+ }>;
440
+ export type S3HeadObjectRequest = z.infer<typeof S3HeadObjectRequestSchema>;
441
+ export declare const S3ObjectTaggingRequestSchema: z.ZodObject<{
442
+ bucket: z.ZodString;
443
+ key: z.ZodString;
444
+ versionId: z.ZodOptional<z.ZodString>;
445
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ bucket: string;
448
+ key: string;
449
+ expectedBucketOwner?: string | undefined;
450
+ versionId?: string | undefined;
451
+ }, {
452
+ bucket: string;
453
+ key: string;
454
+ expectedBucketOwner?: string | undefined;
455
+ versionId?: string | undefined;
456
+ }>;
457
+ export type S3ObjectTaggingRequest = z.infer<typeof S3ObjectTaggingRequestSchema>;
458
+ export declare const S3PutObjectTaggingRequestSchema: z.ZodObject<{
459
+ bucket: z.ZodString;
460
+ key: z.ZodString;
461
+ versionId: z.ZodOptional<z.ZodString>;
462
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
463
+ } & {
464
+ tagSet: z.ZodArray<z.ZodObject<{
465
+ key: z.ZodString;
466
+ value: z.ZodString;
467
+ }, "strip", z.ZodTypeAny, {
468
+ value: string;
469
+ key: string;
470
+ }, {
471
+ value: string;
472
+ key: string;
473
+ }>, "many">;
474
+ }, "strip", z.ZodTypeAny, {
475
+ bucket: string;
476
+ key: string;
477
+ tagSet: {
478
+ value: string;
479
+ key: string;
480
+ }[];
481
+ expectedBucketOwner?: string | undefined;
482
+ versionId?: string | undefined;
483
+ }, {
484
+ bucket: string;
485
+ key: string;
486
+ tagSet: {
487
+ value: string;
488
+ key: string;
489
+ }[];
490
+ expectedBucketOwner?: string | undefined;
491
+ versionId?: string | undefined;
492
+ }>;
493
+ export type S3PutObjectTaggingRequest = z.infer<typeof S3PutObjectTaggingRequestSchema>;
494
+ export declare const S3ObjectGovernanceRequestSchema: z.ZodObject<{
495
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
496
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
497
+ bucket: z.ZodString;
498
+ key: z.ZodString;
499
+ versionId: z.ZodOptional<z.ZodString>;
500
+ }, "strip", z.ZodTypeAny, {
501
+ bucket: string;
502
+ key: string;
503
+ expectedBucketOwner?: string | undefined;
504
+ requestPayer?: "requester" | undefined;
505
+ versionId?: string | undefined;
506
+ }, {
507
+ bucket: string;
508
+ key: string;
509
+ expectedBucketOwner?: string | undefined;
510
+ requestPayer?: "requester" | undefined;
511
+ versionId?: string | undefined;
512
+ }>;
513
+ export type S3ObjectGovernanceRequest = z.infer<typeof S3ObjectGovernanceRequestSchema>;
514
+ export declare const S3PutObjectAclRequestSchema: z.ZodObject<{
515
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
516
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
517
+ bucket: z.ZodString;
518
+ key: z.ZodString;
519
+ versionId: z.ZodOptional<z.ZodString>;
520
+ } & {
521
+ acl: z.ZodOptional<z.ZodEnum<["private", "public-read", "public-read-write", "authenticated-read", "aws-exec-read", "bucket-owner-read", "bucket-owner-full-control"]>>;
522
+ accessControlPolicy: z.ZodOptional<z.ZodString>;
523
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
524
+ contentMD5: z.ZodOptional<z.ZodString>;
525
+ grantFullControl: z.ZodOptional<z.ZodString>;
526
+ grantRead: z.ZodOptional<z.ZodString>;
527
+ grantReadAcp: z.ZodOptional<z.ZodString>;
528
+ grantWriteAcp: z.ZodOptional<z.ZodString>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ bucket: string;
531
+ key: string;
532
+ acl?: "private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control" | undefined;
533
+ expectedBucketOwner?: string | undefined;
534
+ requestPayer?: "requester" | undefined;
535
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
536
+ contentMD5?: string | undefined;
537
+ versionId?: string | undefined;
538
+ accessControlPolicy?: string | undefined;
539
+ grantFullControl?: string | undefined;
540
+ grantRead?: string | undefined;
541
+ grantReadAcp?: string | undefined;
542
+ grantWriteAcp?: string | undefined;
543
+ }, {
544
+ bucket: string;
545
+ key: string;
546
+ acl?: "private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control" | undefined;
547
+ expectedBucketOwner?: string | undefined;
548
+ requestPayer?: "requester" | undefined;
549
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
550
+ contentMD5?: string | undefined;
551
+ versionId?: string | undefined;
552
+ accessControlPolicy?: string | undefined;
553
+ grantFullControl?: string | undefined;
554
+ grantRead?: string | undefined;
555
+ grantReadAcp?: string | undefined;
556
+ grantWriteAcp?: string | undefined;
557
+ }>;
558
+ export type S3PutObjectAclRequest = z.infer<typeof S3PutObjectAclRequestSchema>;
559
+ export declare const S3GetObjectAttributesRequestSchema: z.ZodObject<{
560
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
561
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
562
+ bucket: z.ZodString;
563
+ key: z.ZodString;
564
+ versionId: z.ZodOptional<z.ZodString>;
565
+ } & {
566
+ objectAttributes: z.ZodArray<z.ZodEnum<["ETag", "Checksum", "ObjectParts", "StorageClass", "ObjectSize"]>, "many">;
567
+ maxParts: z.ZodOptional<z.ZodNumber>;
568
+ partNumberMarker: z.ZodOptional<z.ZodNumber>;
569
+ sseCustomerAlgorithm: z.ZodOptional<z.ZodString>;
570
+ sseCustomerKey: z.ZodOptional<z.ZodString>;
571
+ sseCustomerKeyMD5: z.ZodOptional<z.ZodString>;
572
+ }, "strip", z.ZodTypeAny, {
573
+ bucket: string;
574
+ key: string;
575
+ objectAttributes: ("ETag" | "Checksum" | "ObjectParts" | "StorageClass" | "ObjectSize")[];
576
+ expectedBucketOwner?: string | undefined;
577
+ requestPayer?: "requester" | undefined;
578
+ versionId?: string | undefined;
579
+ maxParts?: number | undefined;
580
+ partNumberMarker?: number | undefined;
581
+ sseCustomerAlgorithm?: string | undefined;
582
+ sseCustomerKey?: string | undefined;
583
+ sseCustomerKeyMD5?: string | undefined;
584
+ }, {
585
+ bucket: string;
586
+ key: string;
587
+ objectAttributes: ("ETag" | "Checksum" | "ObjectParts" | "StorageClass" | "ObjectSize")[];
588
+ expectedBucketOwner?: string | undefined;
589
+ requestPayer?: "requester" | undefined;
590
+ versionId?: string | undefined;
591
+ maxParts?: number | undefined;
592
+ partNumberMarker?: number | undefined;
593
+ sseCustomerAlgorithm?: string | undefined;
594
+ sseCustomerKey?: string | undefined;
595
+ sseCustomerKeyMD5?: string | undefined;
596
+ }>;
597
+ export type S3GetObjectAttributesRequest = z.infer<typeof S3GetObjectAttributesRequestSchema>;
598
+ export declare const S3RestoreObjectRequestSchema: z.ZodObject<{
599
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
600
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
601
+ bucket: z.ZodString;
602
+ key: z.ZodString;
603
+ versionId: z.ZodOptional<z.ZodString>;
604
+ } & {
605
+ body: z.ZodOptional<z.ZodString>;
606
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
607
+ contentMD5: z.ZodOptional<z.ZodString>;
608
+ }, "strip", z.ZodTypeAny, {
609
+ bucket: string;
610
+ key: string;
611
+ expectedBucketOwner?: string | undefined;
612
+ requestPayer?: "requester" | undefined;
613
+ body?: string | undefined;
614
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
615
+ contentMD5?: string | undefined;
616
+ versionId?: string | undefined;
617
+ }, {
618
+ bucket: string;
619
+ key: string;
620
+ expectedBucketOwner?: string | undefined;
621
+ requestPayer?: "requester" | undefined;
622
+ body?: string | undefined;
623
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
624
+ contentMD5?: string | undefined;
625
+ versionId?: string | undefined;
626
+ }>;
627
+ export type S3RestoreObjectRequest = z.infer<typeof S3RestoreObjectRequestSchema>;
628
+ export declare const S3PutObjectLegalHoldRequestSchema: z.ZodObject<{
629
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
630
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
631
+ bucket: z.ZodString;
632
+ key: z.ZodString;
633
+ versionId: z.ZodOptional<z.ZodString>;
634
+ } & {
635
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
636
+ contentMD5: z.ZodOptional<z.ZodString>;
637
+ status: z.ZodEnum<["ON", "OFF"]>;
638
+ }, "strip", z.ZodTypeAny, {
639
+ status: "ON" | "OFF";
640
+ bucket: string;
641
+ key: string;
642
+ expectedBucketOwner?: string | undefined;
643
+ requestPayer?: "requester" | undefined;
644
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
645
+ contentMD5?: string | undefined;
646
+ versionId?: string | undefined;
647
+ }, {
648
+ status: "ON" | "OFF";
649
+ bucket: string;
650
+ key: string;
651
+ expectedBucketOwner?: string | undefined;
652
+ requestPayer?: "requester" | undefined;
653
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
654
+ contentMD5?: string | undefined;
655
+ versionId?: string | undefined;
656
+ }>;
657
+ export type S3PutObjectLegalHoldRequest = z.infer<typeof S3PutObjectLegalHoldRequestSchema>;
658
+ export declare const S3PutObjectRetentionRequestSchema: z.ZodObject<{
659
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
660
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
661
+ bucket: z.ZodString;
662
+ key: z.ZodString;
663
+ versionId: z.ZodOptional<z.ZodString>;
664
+ } & {
665
+ bypassGovernanceRetention: z.ZodOptional<z.ZodBoolean>;
666
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
667
+ contentMD5: z.ZodOptional<z.ZodString>;
668
+ mode: z.ZodEnum<["GOVERNANCE", "COMPLIANCE"]>;
669
+ retainUntilDate: z.ZodString;
670
+ }, "strip", z.ZodTypeAny, {
671
+ bucket: string;
672
+ key: string;
673
+ mode: "GOVERNANCE" | "COMPLIANCE";
674
+ retainUntilDate: string;
675
+ expectedBucketOwner?: string | undefined;
676
+ requestPayer?: "requester" | undefined;
677
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
678
+ contentMD5?: string | undefined;
679
+ versionId?: string | undefined;
680
+ bypassGovernanceRetention?: boolean | undefined;
681
+ }, {
682
+ bucket: string;
683
+ key: string;
684
+ mode: "GOVERNANCE" | "COMPLIANCE";
685
+ retainUntilDate: string;
686
+ expectedBucketOwner?: string | undefined;
687
+ requestPayer?: "requester" | undefined;
688
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
689
+ contentMD5?: string | undefined;
690
+ versionId?: string | undefined;
691
+ bypassGovernanceRetention?: boolean | undefined;
692
+ }>;
693
+ export type S3PutObjectRetentionRequest = z.infer<typeof S3PutObjectRetentionRequestSchema>;
694
+ export declare const S3PutObjectLockConfigurationRequestSchema: z.ZodObject<{
695
+ bucket: z.ZodString;
696
+ body: z.ZodString;
697
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
698
+ contentMD5: z.ZodOptional<z.ZodString>;
699
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
700
+ objectLockToken: z.ZodOptional<z.ZodString>;
701
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
702
+ }, "strip", z.ZodTypeAny, {
703
+ bucket: string;
704
+ body: string;
705
+ expectedBucketOwner?: string | undefined;
706
+ requestPayer?: "requester" | undefined;
707
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
708
+ contentMD5?: string | undefined;
709
+ objectLockToken?: string | undefined;
710
+ }, {
711
+ bucket: string;
712
+ body: string;
713
+ expectedBucketOwner?: string | undefined;
714
+ requestPayer?: "requester" | undefined;
715
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
716
+ contentMD5?: string | undefined;
717
+ objectLockToken?: string | undefined;
718
+ }>;
719
+ export type S3PutObjectLockConfigurationRequest = z.infer<typeof S3PutObjectLockConfigurationRequestSchema>;
720
+ export declare const S3SelectObjectContentRequestSchema: z.ZodObject<{
721
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
722
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
723
+ bucket: z.ZodString;
724
+ key: z.ZodString;
725
+ versionId: z.ZodOptional<z.ZodString>;
726
+ } & {
727
+ body: z.ZodString;
728
+ sseCustomerAlgorithm: z.ZodOptional<z.ZodString>;
729
+ sseCustomerKey: z.ZodOptional<z.ZodString>;
730
+ sseCustomerKeyMD5: z.ZodOptional<z.ZodString>;
731
+ }, "strip", z.ZodTypeAny, {
732
+ bucket: string;
733
+ key: string;
734
+ body: string;
735
+ expectedBucketOwner?: string | undefined;
736
+ requestPayer?: "requester" | undefined;
737
+ versionId?: string | undefined;
738
+ sseCustomerAlgorithm?: string | undefined;
739
+ sseCustomerKey?: string | undefined;
740
+ sseCustomerKeyMD5?: string | undefined;
741
+ }, {
742
+ bucket: string;
743
+ key: string;
744
+ body: string;
745
+ expectedBucketOwner?: string | undefined;
746
+ requestPayer?: "requester" | undefined;
747
+ versionId?: string | undefined;
748
+ sseCustomerAlgorithm?: string | undefined;
749
+ sseCustomerKey?: string | undefined;
750
+ sseCustomerKeyMD5?: string | undefined;
751
+ }>;
752
+ export type S3SelectObjectContentRequest = z.infer<typeof S3SelectObjectContentRequestSchema>;
753
+ export declare const S3RenameObjectRequestSchema: z.ZodObject<{
754
+ bucket: z.ZodString;
755
+ key: z.ZodString;
756
+ sourceKey: z.ZodString;
757
+ clientToken: z.ZodOptional<z.ZodString>;
758
+ s3SessionToken: z.ZodOptional<z.ZodString>;
759
+ destinationIfMatch: z.ZodOptional<z.ZodString>;
760
+ destinationIfModifiedSince: z.ZodOptional<z.ZodString>;
761
+ destinationIfNoneMatch: z.ZodOptional<z.ZodString>;
762
+ destinationIfUnmodifiedSince: z.ZodOptional<z.ZodString>;
763
+ sourceIfMatch: z.ZodOptional<z.ZodString>;
764
+ sourceIfModifiedSince: z.ZodOptional<z.ZodString>;
765
+ sourceIfNoneMatch: z.ZodOptional<z.ZodString>;
766
+ sourceIfUnmodifiedSince: z.ZodOptional<z.ZodString>;
767
+ }, "strip", z.ZodTypeAny, {
768
+ bucket: string;
769
+ key: string;
770
+ sourceKey: string;
771
+ clientToken?: string | undefined;
772
+ s3SessionToken?: string | undefined;
773
+ destinationIfMatch?: string | undefined;
774
+ destinationIfModifiedSince?: string | undefined;
775
+ destinationIfNoneMatch?: string | undefined;
776
+ destinationIfUnmodifiedSince?: string | undefined;
777
+ sourceIfMatch?: string | undefined;
778
+ sourceIfModifiedSince?: string | undefined;
779
+ sourceIfNoneMatch?: string | undefined;
780
+ sourceIfUnmodifiedSince?: string | undefined;
781
+ }, {
782
+ bucket: string;
783
+ key: string;
784
+ sourceKey: string;
785
+ clientToken?: string | undefined;
786
+ s3SessionToken?: string | undefined;
787
+ destinationIfMatch?: string | undefined;
788
+ destinationIfModifiedSince?: string | undefined;
789
+ destinationIfNoneMatch?: string | undefined;
790
+ destinationIfUnmodifiedSince?: string | undefined;
791
+ sourceIfMatch?: string | undefined;
792
+ sourceIfModifiedSince?: string | undefined;
793
+ sourceIfNoneMatch?: string | undefined;
794
+ sourceIfUnmodifiedSince?: string | undefined;
795
+ }>;
796
+ export type S3RenameObjectRequest = z.infer<typeof S3RenameObjectRequestSchema>;
797
+ export declare const S3UpdateObjectEncryptionRequestSchema: z.ZodObject<{
798
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
799
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
800
+ bucket: z.ZodString;
801
+ key: z.ZodString;
802
+ versionId: z.ZodOptional<z.ZodString>;
803
+ } & {
804
+ body: z.ZodString;
805
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
806
+ contentMD5: z.ZodOptional<z.ZodString>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ bucket: string;
809
+ key: string;
810
+ body: string;
811
+ expectedBucketOwner?: string | undefined;
812
+ requestPayer?: "requester" | undefined;
813
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
814
+ contentMD5?: string | undefined;
815
+ versionId?: string | undefined;
816
+ }, {
817
+ bucket: string;
818
+ key: string;
819
+ body: string;
820
+ expectedBucketOwner?: string | undefined;
821
+ requestPayer?: "requester" | undefined;
822
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
823
+ contentMD5?: string | undefined;
824
+ versionId?: string | undefined;
825
+ }>;
826
+ export type S3UpdateObjectEncryptionRequest = z.infer<typeof S3UpdateObjectEncryptionRequestSchema>;
827
+ export declare const S3WriteGetObjectResponseRequestSchema: z.ZodObject<{
828
+ requestRoute: z.ZodString;
829
+ requestToken: z.ZodString;
830
+ body: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
831
+ statusCode: z.ZodOptional<z.ZodNumber>;
832
+ errorCode: z.ZodOptional<z.ZodString>;
833
+ errorMessage: z.ZodOptional<z.ZodString>;
834
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
835
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
836
+ }, "strip", z.ZodTypeAny, {
837
+ requestRoute: string;
838
+ requestToken: string;
839
+ body?: string | ArrayBuffer | Blob | Uint8Array<ArrayBuffer> | undefined;
840
+ metadata?: Record<string, string> | undefined;
841
+ statusCode?: number | undefined;
842
+ errorCode?: string | undefined;
843
+ errorMessage?: string | undefined;
844
+ headers?: Record<string, string> | undefined;
845
+ }, {
846
+ requestRoute: string;
847
+ requestToken: string;
848
+ body?: string | ArrayBuffer | Blob | Uint8Array<ArrayBuffer> | undefined;
849
+ metadata?: Record<string, string> | undefined;
850
+ statusCode?: number | undefined;
851
+ errorCode?: string | undefined;
852
+ errorMessage?: string | undefined;
853
+ headers?: Record<string, string> | undefined;
854
+ }>;
855
+ export type S3WriteGetObjectResponseRequest = z.infer<typeof S3WriteGetObjectResponseRequestSchema>;
856
+ export declare const S3DeleteObjectRequestSchema: z.ZodObject<{
857
+ bucket: z.ZodString;
858
+ key: z.ZodString;
859
+ versionId: z.ZodOptional<z.ZodString>;
860
+ }, "strip", z.ZodTypeAny, {
861
+ bucket: string;
862
+ key: string;
863
+ versionId?: string | undefined;
864
+ }, {
865
+ bucket: string;
866
+ key: string;
867
+ versionId?: string | undefined;
868
+ }>;
869
+ export type S3DeleteObjectRequest = z.infer<typeof S3DeleteObjectRequestSchema>;
870
+ export declare const S3DeleteObjectsRequestSchema: z.ZodObject<{
871
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
872
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
873
+ bucket: z.ZodString;
874
+ objects: z.ZodArray<z.ZodObject<{
875
+ key: z.ZodString;
876
+ versionId: z.ZodOptional<z.ZodString>;
877
+ eTag: z.ZodOptional<z.ZodString>;
878
+ lastModifiedTime: z.ZodOptional<z.ZodString>;
879
+ size: z.ZodOptional<z.ZodNumber>;
880
+ }, "strip", z.ZodTypeAny, {
881
+ key: string;
882
+ versionId?: string | undefined;
883
+ eTag?: string | undefined;
884
+ lastModifiedTime?: string | undefined;
885
+ size?: number | undefined;
886
+ }, {
887
+ key: string;
888
+ versionId?: string | undefined;
889
+ eTag?: string | undefined;
890
+ lastModifiedTime?: string | undefined;
891
+ size?: number | undefined;
892
+ }>, "many">;
893
+ quiet: z.ZodOptional<z.ZodBoolean>;
894
+ bypassGovernanceRetention: z.ZodOptional<z.ZodBoolean>;
895
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
896
+ contentMD5: z.ZodOptional<z.ZodString>;
897
+ mfa: z.ZodOptional<z.ZodString>;
898
+ }, "strip", z.ZodTypeAny, {
899
+ bucket: string;
900
+ objects: {
901
+ key: string;
902
+ versionId?: string | undefined;
903
+ eTag?: string | undefined;
904
+ lastModifiedTime?: string | undefined;
905
+ size?: number | undefined;
906
+ }[];
907
+ expectedBucketOwner?: string | undefined;
908
+ requestPayer?: "requester" | undefined;
909
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
910
+ contentMD5?: string | undefined;
911
+ bypassGovernanceRetention?: boolean | undefined;
912
+ quiet?: boolean | undefined;
913
+ mfa?: string | undefined;
914
+ }, {
915
+ bucket: string;
916
+ objects: {
917
+ key: string;
918
+ versionId?: string | undefined;
919
+ eTag?: string | undefined;
920
+ lastModifiedTime?: string | undefined;
921
+ size?: number | undefined;
922
+ }[];
923
+ expectedBucketOwner?: string | undefined;
924
+ requestPayer?: "requester" | undefined;
925
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
926
+ contentMD5?: string | undefined;
927
+ bypassGovernanceRetention?: boolean | undefined;
928
+ quiet?: boolean | undefined;
929
+ mfa?: string | undefined;
930
+ }>;
931
+ export type S3DeleteObjectsRequest = z.infer<typeof S3DeleteObjectsRequestSchema>;
932
+ export declare const S3GetBucketVersioningRequestSchema: z.ZodObject<{
933
+ bucket: z.ZodString;
934
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
935
+ }, "strip", z.ZodTypeAny, {
936
+ bucket: string;
937
+ expectedBucketOwner?: string | undefined;
938
+ }, {
939
+ bucket: string;
940
+ expectedBucketOwner?: string | undefined;
941
+ }>;
942
+ export type S3GetBucketVersioningRequest = z.infer<typeof S3GetBucketVersioningRequestSchema>;
943
+ export declare const S3PutBucketVersioningRequestSchema: z.ZodObject<{
944
+ bucket: z.ZodString;
945
+ status: z.ZodOptional<z.ZodEnum<["Enabled", "Suspended"]>>;
946
+ mfaDelete: z.ZodOptional<z.ZodEnum<["Enabled", "Disabled"]>>;
947
+ mfa: z.ZodOptional<z.ZodString>;
948
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
949
+ contentMD5: z.ZodOptional<z.ZodString>;
950
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ bucket: string;
953
+ status?: "Enabled" | "Suspended" | undefined;
954
+ expectedBucketOwner?: string | undefined;
955
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
956
+ contentMD5?: string | undefined;
957
+ mfa?: string | undefined;
958
+ mfaDelete?: "Enabled" | "Disabled" | undefined;
959
+ }, {
960
+ bucket: string;
961
+ status?: "Enabled" | "Suspended" | undefined;
962
+ expectedBucketOwner?: string | undefined;
963
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
964
+ contentMD5?: string | undefined;
965
+ mfa?: string | undefined;
966
+ mfaDelete?: "Enabled" | "Disabled" | undefined;
967
+ }>;
968
+ export type S3PutBucketVersioningRequest = z.infer<typeof S3PutBucketVersioningRequestSchema>;
969
+ export declare const S3BucketConfigRequestSchema: z.ZodObject<{
970
+ bucket: z.ZodString;
971
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
972
+ }, "strip", z.ZodTypeAny, {
973
+ bucket: string;
974
+ expectedBucketOwner?: string | undefined;
975
+ }, {
976
+ bucket: string;
977
+ expectedBucketOwner?: string | undefined;
978
+ }>;
979
+ export type S3BucketConfigRequest = z.infer<typeof S3BucketConfigRequestSchema>;
980
+ export declare const S3ListBucketConfigsRequestSchema: z.ZodObject<{
981
+ bucket: z.ZodString;
982
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
983
+ } & {
984
+ continuationToken: z.ZodOptional<z.ZodString>;
985
+ }, "strip", z.ZodTypeAny, {
986
+ bucket: string;
987
+ continuationToken?: string | undefined;
988
+ expectedBucketOwner?: string | undefined;
989
+ }, {
990
+ bucket: string;
991
+ continuationToken?: string | undefined;
992
+ expectedBucketOwner?: string | undefined;
993
+ }>;
994
+ export type S3ListBucketConfigsRequest = z.infer<typeof S3ListBucketConfigsRequestSchema>;
995
+ export declare const S3BucketConfigWithIdRequestSchema: z.ZodObject<{
996
+ bucket: z.ZodString;
997
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
998
+ } & {
999
+ id: z.ZodString;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ bucket: string;
1002
+ id: string;
1003
+ expectedBucketOwner?: string | undefined;
1004
+ }, {
1005
+ bucket: string;
1006
+ id: string;
1007
+ expectedBucketOwner?: string | undefined;
1008
+ }>;
1009
+ export type S3BucketConfigWithIdRequest = z.infer<typeof S3BucketConfigWithIdRequestSchema>;
1010
+ export declare const S3BucketConfigWithPayerRequestSchema: z.ZodObject<{
1011
+ bucket: z.ZodString;
1012
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1013
+ } & {
1014
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
1015
+ }, "strip", z.ZodTypeAny, {
1016
+ bucket: string;
1017
+ expectedBucketOwner?: string | undefined;
1018
+ requestPayer?: "requester" | undefined;
1019
+ }, {
1020
+ bucket: string;
1021
+ expectedBucketOwner?: string | undefined;
1022
+ requestPayer?: "requester" | undefined;
1023
+ }>;
1024
+ export type S3BucketConfigWithPayerRequest = z.infer<typeof S3BucketConfigWithPayerRequestSchema>;
1025
+ export declare const S3PutBucketXmlConfigRequestSchema: z.ZodObject<{
1026
+ bucket: z.ZodString;
1027
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1028
+ } & {
1029
+ body: z.ZodString;
1030
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
1031
+ contentMD5: z.ZodOptional<z.ZodString>;
1032
+ }, "strip", z.ZodTypeAny, {
1033
+ bucket: string;
1034
+ body: string;
1035
+ expectedBucketOwner?: string | undefined;
1036
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1037
+ contentMD5?: string | undefined;
1038
+ }, {
1039
+ bucket: string;
1040
+ body: string;
1041
+ expectedBucketOwner?: string | undefined;
1042
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1043
+ contentMD5?: string | undefined;
1044
+ }>;
1045
+ export type S3PutBucketXmlConfigRequest = z.infer<typeof S3PutBucketXmlConfigRequestSchema>;
1046
+ export declare const S3PutBucketXmlConfigWithIdRequestSchema: z.ZodObject<{
1047
+ bucket: z.ZodString;
1048
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1049
+ } & {
1050
+ id: z.ZodString;
1051
+ } & {
1052
+ body: z.ZodString;
1053
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
1054
+ contentMD5: z.ZodOptional<z.ZodString>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ bucket: string;
1057
+ body: string;
1058
+ id: string;
1059
+ expectedBucketOwner?: string | undefined;
1060
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1061
+ contentMD5?: string | undefined;
1062
+ }, {
1063
+ bucket: string;
1064
+ body: string;
1065
+ id: string;
1066
+ expectedBucketOwner?: string | undefined;
1067
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1068
+ contentMD5?: string | undefined;
1069
+ }>;
1070
+ export type S3PutBucketXmlConfigWithIdRequest = z.infer<typeof S3PutBucketXmlConfigWithIdRequestSchema>;
1071
+ export declare const S3PutBucketPolicyRequestSchema: z.ZodObject<{
1072
+ bucket: z.ZodString;
1073
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1074
+ } & {
1075
+ policy: z.ZodString;
1076
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
1077
+ confirmRemoveSelfBucketAccess: z.ZodOptional<z.ZodBoolean>;
1078
+ contentMD5: z.ZodOptional<z.ZodString>;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ bucket: string;
1081
+ policy: string;
1082
+ expectedBucketOwner?: string | undefined;
1083
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1084
+ contentMD5?: string | undefined;
1085
+ confirmRemoveSelfBucketAccess?: boolean | undefined;
1086
+ }, {
1087
+ bucket: string;
1088
+ policy: string;
1089
+ expectedBucketOwner?: string | undefined;
1090
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1091
+ contentMD5?: string | undefined;
1092
+ confirmRemoveSelfBucketAccess?: boolean | undefined;
1093
+ }>;
1094
+ export type S3PutBucketPolicyRequest = z.infer<typeof S3PutBucketPolicyRequestSchema>;
1095
+ export declare const S3PutBucketTaggingRequestSchema: z.ZodObject<{
1096
+ bucket: z.ZodString;
1097
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1098
+ } & {
1099
+ tagSet: z.ZodArray<z.ZodObject<{
1100
+ key: z.ZodString;
1101
+ value: z.ZodString;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ value: string;
1104
+ key: string;
1105
+ }, {
1106
+ value: string;
1107
+ key: string;
1108
+ }>, "many">;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ bucket: string;
1111
+ tagSet: {
1112
+ value: string;
1113
+ key: string;
1114
+ }[];
1115
+ expectedBucketOwner?: string | undefined;
1116
+ }, {
1117
+ bucket: string;
1118
+ tagSet: {
1119
+ value: string;
1120
+ key: string;
1121
+ }[];
1122
+ expectedBucketOwner?: string | undefined;
1123
+ }>;
1124
+ export type S3PutBucketTaggingRequest = z.infer<typeof S3PutBucketTaggingRequestSchema>;
1125
+ export declare const S3PutBucketRequestPaymentRequestSchema: z.ZodObject<{
1126
+ bucket: z.ZodString;
1127
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1128
+ } & {
1129
+ payer: z.ZodEnum<["Requester", "BucketOwner"]>;
1130
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
1131
+ contentMD5: z.ZodOptional<z.ZodString>;
1132
+ }, "strip", z.ZodTypeAny, {
1133
+ bucket: string;
1134
+ payer: "Requester" | "BucketOwner";
1135
+ expectedBucketOwner?: string | undefined;
1136
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1137
+ contentMD5?: string | undefined;
1138
+ }, {
1139
+ bucket: string;
1140
+ payer: "Requester" | "BucketOwner";
1141
+ expectedBucketOwner?: string | undefined;
1142
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1143
+ contentMD5?: string | undefined;
1144
+ }>;
1145
+ export type S3PutBucketRequestPaymentRequest = z.infer<typeof S3PutBucketRequestPaymentRequestSchema>;
1146
+ export declare const S3PutBucketAclRequestSchema: z.ZodObject<{
1147
+ bucket: z.ZodString;
1148
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1149
+ } & {
1150
+ acl: z.ZodOptional<z.ZodEnum<["private", "public-read", "public-read-write", "authenticated-read"]>>;
1151
+ accessControlPolicy: z.ZodOptional<z.ZodString>;
1152
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
1153
+ contentMD5: z.ZodOptional<z.ZodString>;
1154
+ grantFullControl: z.ZodOptional<z.ZodString>;
1155
+ grantRead: z.ZodOptional<z.ZodString>;
1156
+ grantReadAcp: z.ZodOptional<z.ZodString>;
1157
+ grantWrite: z.ZodOptional<z.ZodString>;
1158
+ grantWriteAcp: z.ZodOptional<z.ZodString>;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ bucket: string;
1161
+ acl?: "private" | "public-read" | "public-read-write" | "authenticated-read" | undefined;
1162
+ expectedBucketOwner?: string | undefined;
1163
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1164
+ contentMD5?: string | undefined;
1165
+ accessControlPolicy?: string | undefined;
1166
+ grantFullControl?: string | undefined;
1167
+ grantRead?: string | undefined;
1168
+ grantReadAcp?: string | undefined;
1169
+ grantWriteAcp?: string | undefined;
1170
+ grantWrite?: string | undefined;
1171
+ }, {
1172
+ bucket: string;
1173
+ acl?: "private" | "public-read" | "public-read-write" | "authenticated-read" | undefined;
1174
+ expectedBucketOwner?: string | undefined;
1175
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1176
+ contentMD5?: string | undefined;
1177
+ accessControlPolicy?: string | undefined;
1178
+ grantFullControl?: string | undefined;
1179
+ grantRead?: string | undefined;
1180
+ grantReadAcp?: string | undefined;
1181
+ grantWriteAcp?: string | undefined;
1182
+ grantWrite?: string | undefined;
1183
+ }>;
1184
+ export type S3PutBucketAclRequest = z.infer<typeof S3PutBucketAclRequestSchema>;
1185
+ export declare const S3PutBucketMetadataConfigurationRequestSchema: z.ZodObject<{
1186
+ bucket: z.ZodString;
1187
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1188
+ } & {
1189
+ body: z.ZodString;
1190
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
1191
+ contentMD5: z.ZodOptional<z.ZodString>;
1192
+ }, "strip", z.ZodTypeAny, {
1193
+ bucket: string;
1194
+ body: string;
1195
+ expectedBucketOwner?: string | undefined;
1196
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1197
+ contentMD5?: string | undefined;
1198
+ }, {
1199
+ bucket: string;
1200
+ body: string;
1201
+ expectedBucketOwner?: string | undefined;
1202
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1203
+ contentMD5?: string | undefined;
1204
+ }>;
1205
+ export type S3PutBucketMetadataConfigurationRequest = z.infer<typeof S3PutBucketMetadataConfigurationRequestSchema>;
1206
+ export declare const S3CreateMultipartUploadRequestSchema: z.ZodObject<{
1207
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1208
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
1209
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1210
+ acl: z.ZodOptional<z.ZodEnum<["private", "public-read", "public-read-write", "authenticated-read"]>>;
1211
+ bucketKeyEnabled: z.ZodOptional<z.ZodBoolean>;
1212
+ checksumAlgorithm: z.ZodOptional<z.ZodEnum<["CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH3", "XXHASH64", "XXHASH128"]>>;
1213
+ checksumType: z.ZodOptional<z.ZodEnum<["COMPOSITE", "FULL_OBJECT"]>>;
1214
+ objectLockLegalHold: z.ZodOptional<z.ZodEnum<["ON", "OFF"]>>;
1215
+ objectLockMode: z.ZodOptional<z.ZodEnum<["GOVERNANCE", "COMPLIANCE"]>>;
1216
+ objectLockRetainUntilDate: z.ZodOptional<z.ZodString>;
1217
+ serverSideEncryption: z.ZodOptional<z.ZodString>;
1218
+ sseKmsEncryptionContext: z.ZodOptional<z.ZodString>;
1219
+ sseKmsKeyId: z.ZodOptional<z.ZodString>;
1220
+ storageClass: z.ZodOptional<z.ZodString>;
1221
+ tagging: z.ZodOptional<z.ZodString>;
1222
+ websiteRedirectLocation: z.ZodOptional<z.ZodString>;
1223
+ contentType: z.ZodOptional<z.ZodString>;
1224
+ cacheControl: z.ZodOptional<z.ZodString>;
1225
+ contentDisposition: z.ZodOptional<z.ZodString>;
1226
+ contentEncoding: z.ZodOptional<z.ZodString>;
1227
+ contentLanguage: z.ZodOptional<z.ZodString>;
1228
+ bucket: z.ZodString;
1229
+ key: z.ZodString;
1230
+ }, "strip", z.ZodTypeAny, {
1231
+ bucket: string;
1232
+ key: string;
1233
+ acl?: "private" | "public-read" | "public-read-write" | "authenticated-read" | undefined;
1234
+ serverSideEncryption?: string | undefined;
1235
+ sseKmsEncryptionContext?: string | undefined;
1236
+ sseKmsKeyId?: string | undefined;
1237
+ bucketKeyEnabled?: boolean | undefined;
1238
+ expectedBucketOwner?: string | undefined;
1239
+ requestPayer?: "requester" | undefined;
1240
+ metadata?: Record<string, string> | undefined;
1241
+ storageClass?: string | undefined;
1242
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1243
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
1244
+ contentType?: string | undefined;
1245
+ cacheControl?: string | undefined;
1246
+ contentDisposition?: string | undefined;
1247
+ contentEncoding?: string | undefined;
1248
+ contentLanguage?: string | undefined;
1249
+ objectLockLegalHold?: "ON" | "OFF" | undefined;
1250
+ objectLockMode?: "GOVERNANCE" | "COMPLIANCE" | undefined;
1251
+ objectLockRetainUntilDate?: string | undefined;
1252
+ tagging?: string | undefined;
1253
+ websiteRedirectLocation?: string | undefined;
1254
+ }, {
1255
+ bucket: string;
1256
+ key: string;
1257
+ acl?: "private" | "public-read" | "public-read-write" | "authenticated-read" | undefined;
1258
+ serverSideEncryption?: string | undefined;
1259
+ sseKmsEncryptionContext?: string | undefined;
1260
+ sseKmsKeyId?: string | undefined;
1261
+ bucketKeyEnabled?: boolean | undefined;
1262
+ expectedBucketOwner?: string | undefined;
1263
+ requestPayer?: "requester" | undefined;
1264
+ metadata?: Record<string, string> | undefined;
1265
+ storageClass?: string | undefined;
1266
+ checksumAlgorithm?: "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256" | "SHA512" | "XXHASH3" | "XXHASH64" | "XXHASH128" | undefined;
1267
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
1268
+ contentType?: string | undefined;
1269
+ cacheControl?: string | undefined;
1270
+ contentDisposition?: string | undefined;
1271
+ contentEncoding?: string | undefined;
1272
+ contentLanguage?: string | undefined;
1273
+ objectLockLegalHold?: "ON" | "OFF" | undefined;
1274
+ objectLockMode?: "GOVERNANCE" | "COMPLIANCE" | undefined;
1275
+ objectLockRetainUntilDate?: string | undefined;
1276
+ tagging?: string | undefined;
1277
+ websiteRedirectLocation?: string | undefined;
1278
+ }>;
1279
+ export type S3CreateMultipartUploadRequest = z.infer<typeof S3CreateMultipartUploadRequestSchema>;
1280
+ export declare const S3UploadPartRequestSchema: z.ZodObject<{
1281
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1282
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
1283
+ checksumCRC32: z.ZodOptional<z.ZodString>;
1284
+ checksumCRC32C: z.ZodOptional<z.ZodString>;
1285
+ checksumCRC64NVME: z.ZodOptional<z.ZodString>;
1286
+ checksumSHA1: z.ZodOptional<z.ZodString>;
1287
+ checksumSHA256: z.ZodOptional<z.ZodString>;
1288
+ checksumSHA512: z.ZodOptional<z.ZodString>;
1289
+ checksumMD5: z.ZodOptional<z.ZodString>;
1290
+ checksumType: z.ZodOptional<z.ZodEnum<["COMPOSITE", "FULL_OBJECT"]>>;
1291
+ bucket: z.ZodString;
1292
+ key: z.ZodString;
1293
+ uploadId: z.ZodString;
1294
+ partNumber: z.ZodNumber;
1295
+ body: z.ZodUnion<[z.ZodString, z.ZodType<Blob, z.ZodTypeDef, Blob>, z.ZodType<ArrayBuffer, z.ZodTypeDef, ArrayBuffer>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>;
1296
+ contentMD5: z.ZodOptional<z.ZodString>;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ bucket: string;
1299
+ key: string;
1300
+ body: string | ArrayBuffer | Blob | Uint8Array<ArrayBuffer>;
1301
+ uploadId: string;
1302
+ partNumber: number;
1303
+ expectedBucketOwner?: string | undefined;
1304
+ requestPayer?: "requester" | undefined;
1305
+ contentMD5?: string | undefined;
1306
+ checksumCRC32?: string | undefined;
1307
+ checksumCRC32C?: string | undefined;
1308
+ checksumCRC64NVME?: string | undefined;
1309
+ checksumSHA1?: string | undefined;
1310
+ checksumSHA256?: string | undefined;
1311
+ checksumSHA512?: string | undefined;
1312
+ checksumMD5?: string | undefined;
1313
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
1314
+ }, {
1315
+ bucket: string;
1316
+ key: string;
1317
+ body: string | ArrayBuffer | Blob | Uint8Array<ArrayBuffer>;
1318
+ uploadId: string;
1319
+ partNumber: number;
1320
+ expectedBucketOwner?: string | undefined;
1321
+ requestPayer?: "requester" | undefined;
1322
+ contentMD5?: string | undefined;
1323
+ checksumCRC32?: string | undefined;
1324
+ checksumCRC32C?: string | undefined;
1325
+ checksumCRC64NVME?: string | undefined;
1326
+ checksumSHA1?: string | undefined;
1327
+ checksumSHA256?: string | undefined;
1328
+ checksumSHA512?: string | undefined;
1329
+ checksumMD5?: string | undefined;
1330
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
1331
+ }>;
1332
+ export type S3UploadPartRequest = z.infer<typeof S3UploadPartRequestSchema>;
1333
+ export declare const S3UploadPartCopyRequestSchema: z.ZodObject<{
1334
+ sourceExpectedBucketOwner: z.ZodOptional<z.ZodString>;
1335
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1336
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
1337
+ bucket: z.ZodString;
1338
+ key: z.ZodString;
1339
+ uploadId: z.ZodString;
1340
+ partNumber: z.ZodNumber;
1341
+ sourceBucket: z.ZodString;
1342
+ sourceKey: z.ZodString;
1343
+ sourceVersionId: z.ZodOptional<z.ZodString>;
1344
+ copySourceIfMatch: z.ZodOptional<z.ZodString>;
1345
+ copySourceIfModifiedSince: z.ZodOptional<z.ZodString>;
1346
+ copySourceIfNoneMatch: z.ZodOptional<z.ZodString>;
1347
+ copySourceIfUnmodifiedSince: z.ZodOptional<z.ZodString>;
1348
+ copySourceRange: z.ZodOptional<z.ZodString>;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ bucket: string;
1351
+ key: string;
1352
+ sourceBucket: string;
1353
+ sourceKey: string;
1354
+ uploadId: string;
1355
+ partNumber: number;
1356
+ expectedBucketOwner?: string | undefined;
1357
+ requestPayer?: "requester" | undefined;
1358
+ sourceVersionId?: string | undefined;
1359
+ sourceExpectedBucketOwner?: string | undefined;
1360
+ copySourceIfMatch?: string | undefined;
1361
+ copySourceIfModifiedSince?: string | undefined;
1362
+ copySourceIfNoneMatch?: string | undefined;
1363
+ copySourceIfUnmodifiedSince?: string | undefined;
1364
+ copySourceRange?: string | undefined;
1365
+ }, {
1366
+ bucket: string;
1367
+ key: string;
1368
+ sourceBucket: string;
1369
+ sourceKey: string;
1370
+ uploadId: string;
1371
+ partNumber: number;
1372
+ expectedBucketOwner?: string | undefined;
1373
+ requestPayer?: "requester" | undefined;
1374
+ sourceVersionId?: string | undefined;
1375
+ sourceExpectedBucketOwner?: string | undefined;
1376
+ copySourceIfMatch?: string | undefined;
1377
+ copySourceIfModifiedSince?: string | undefined;
1378
+ copySourceIfNoneMatch?: string | undefined;
1379
+ copySourceIfUnmodifiedSince?: string | undefined;
1380
+ copySourceRange?: string | undefined;
1381
+ }>;
1382
+ export type S3UploadPartCopyRequest = z.infer<typeof S3UploadPartCopyRequestSchema>;
1383
+ export declare const S3CompleteMultipartUploadRequestSchema: z.ZodObject<{
1384
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1385
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
1386
+ checksumCRC32: z.ZodOptional<z.ZodString>;
1387
+ checksumCRC32C: z.ZodOptional<z.ZodString>;
1388
+ checksumCRC64NVME: z.ZodOptional<z.ZodString>;
1389
+ checksumSHA1: z.ZodOptional<z.ZodString>;
1390
+ checksumSHA256: z.ZodOptional<z.ZodString>;
1391
+ checksumSHA512: z.ZodOptional<z.ZodString>;
1392
+ checksumMD5: z.ZodOptional<z.ZodString>;
1393
+ checksumType: z.ZodOptional<z.ZodEnum<["COMPOSITE", "FULL_OBJECT"]>>;
1394
+ bucket: z.ZodString;
1395
+ key: z.ZodString;
1396
+ uploadId: z.ZodString;
1397
+ parts: z.ZodArray<z.ZodObject<{
1398
+ partNumber: z.ZodNumber;
1399
+ eTag: z.ZodString;
1400
+ checksumCRC32: z.ZodOptional<z.ZodString>;
1401
+ checksumCRC32C: z.ZodOptional<z.ZodString>;
1402
+ checksumCRC64NVME: z.ZodOptional<z.ZodString>;
1403
+ checksumSHA1: z.ZodOptional<z.ZodString>;
1404
+ checksumSHA256: z.ZodOptional<z.ZodString>;
1405
+ checksumSHA512: z.ZodOptional<z.ZodString>;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ eTag: string;
1408
+ partNumber: number;
1409
+ checksumCRC32?: string | undefined;
1410
+ checksumCRC32C?: string | undefined;
1411
+ checksumCRC64NVME?: string | undefined;
1412
+ checksumSHA1?: string | undefined;
1413
+ checksumSHA256?: string | undefined;
1414
+ checksumSHA512?: string | undefined;
1415
+ }, {
1416
+ eTag: string;
1417
+ partNumber: number;
1418
+ checksumCRC32?: string | undefined;
1419
+ checksumCRC32C?: string | undefined;
1420
+ checksumCRC64NVME?: string | undefined;
1421
+ checksumSHA1?: string | undefined;
1422
+ checksumSHA256?: string | undefined;
1423
+ checksumSHA512?: string | undefined;
1424
+ }>, "many">;
1425
+ ifMatch: z.ZodOptional<z.ZodString>;
1426
+ ifNoneMatch: z.ZodOptional<z.ZodString>;
1427
+ mpuObjectSize: z.ZodOptional<z.ZodNumber>;
1428
+ }, "strip", z.ZodTypeAny, {
1429
+ bucket: string;
1430
+ key: string;
1431
+ uploadId: string;
1432
+ parts: {
1433
+ eTag: string;
1434
+ partNumber: number;
1435
+ checksumCRC32?: string | undefined;
1436
+ checksumCRC32C?: string | undefined;
1437
+ checksumCRC64NVME?: string | undefined;
1438
+ checksumSHA1?: string | undefined;
1439
+ checksumSHA256?: string | undefined;
1440
+ checksumSHA512?: string | undefined;
1441
+ }[];
1442
+ expectedBucketOwner?: string | undefined;
1443
+ requestPayer?: "requester" | undefined;
1444
+ checksumCRC32?: string | undefined;
1445
+ checksumCRC32C?: string | undefined;
1446
+ checksumCRC64NVME?: string | undefined;
1447
+ checksumSHA1?: string | undefined;
1448
+ checksumSHA256?: string | undefined;
1449
+ checksumSHA512?: string | undefined;
1450
+ checksumMD5?: string | undefined;
1451
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
1452
+ ifMatch?: string | undefined;
1453
+ ifNoneMatch?: string | undefined;
1454
+ mpuObjectSize?: number | undefined;
1455
+ }, {
1456
+ bucket: string;
1457
+ key: string;
1458
+ uploadId: string;
1459
+ parts: {
1460
+ eTag: string;
1461
+ partNumber: number;
1462
+ checksumCRC32?: string | undefined;
1463
+ checksumCRC32C?: string | undefined;
1464
+ checksumCRC64NVME?: string | undefined;
1465
+ checksumSHA1?: string | undefined;
1466
+ checksumSHA256?: string | undefined;
1467
+ checksumSHA512?: string | undefined;
1468
+ }[];
1469
+ expectedBucketOwner?: string | undefined;
1470
+ requestPayer?: "requester" | undefined;
1471
+ checksumCRC32?: string | undefined;
1472
+ checksumCRC32C?: string | undefined;
1473
+ checksumCRC64NVME?: string | undefined;
1474
+ checksumSHA1?: string | undefined;
1475
+ checksumSHA256?: string | undefined;
1476
+ checksumSHA512?: string | undefined;
1477
+ checksumMD5?: string | undefined;
1478
+ checksumType?: "COMPOSITE" | "FULL_OBJECT" | undefined;
1479
+ ifMatch?: string | undefined;
1480
+ ifNoneMatch?: string | undefined;
1481
+ mpuObjectSize?: number | undefined;
1482
+ }>;
1483
+ export type S3CompleteMultipartUploadRequest = z.infer<typeof S3CompleteMultipartUploadRequestSchema>;
1484
+ export declare const S3AbortMultipartUploadRequestSchema: z.ZodObject<{
1485
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1486
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
1487
+ bucket: z.ZodString;
1488
+ key: z.ZodString;
1489
+ uploadId: z.ZodString;
1490
+ }, "strip", z.ZodTypeAny, {
1491
+ bucket: string;
1492
+ key: string;
1493
+ uploadId: string;
1494
+ expectedBucketOwner?: string | undefined;
1495
+ requestPayer?: "requester" | undefined;
1496
+ }, {
1497
+ bucket: string;
1498
+ key: string;
1499
+ uploadId: string;
1500
+ expectedBucketOwner?: string | undefined;
1501
+ requestPayer?: "requester" | undefined;
1502
+ }>;
1503
+ export type S3AbortMultipartUploadRequest = z.infer<typeof S3AbortMultipartUploadRequestSchema>;
1504
+ export declare const S3ListPartsRequestSchema: z.ZodObject<{
1505
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1506
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
1507
+ bucket: z.ZodString;
1508
+ key: z.ZodString;
1509
+ uploadId: z.ZodString;
1510
+ maxParts: z.ZodOptional<z.ZodNumber>;
1511
+ partNumberMarker: z.ZodOptional<z.ZodNumber>;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ bucket: string;
1514
+ key: string;
1515
+ uploadId: string;
1516
+ expectedBucketOwner?: string | undefined;
1517
+ requestPayer?: "requester" | undefined;
1518
+ maxParts?: number | undefined;
1519
+ partNumberMarker?: number | undefined;
1520
+ }, {
1521
+ bucket: string;
1522
+ key: string;
1523
+ uploadId: string;
1524
+ expectedBucketOwner?: string | undefined;
1525
+ requestPayer?: "requester" | undefined;
1526
+ maxParts?: number | undefined;
1527
+ partNumberMarker?: number | undefined;
1528
+ }>;
1529
+ export type S3ListPartsRequest = z.infer<typeof S3ListPartsRequestSchema>;
1530
+ export declare const S3ListMultipartUploadsRequestSchema: z.ZodObject<{
1531
+ expectedBucketOwner: z.ZodOptional<z.ZodString>;
1532
+ requestPayer: z.ZodOptional<z.ZodEnum<["requester"]>>;
1533
+ bucket: z.ZodString;
1534
+ delimiter: z.ZodOptional<z.ZodString>;
1535
+ encodingType: z.ZodOptional<z.ZodEnum<["url"]>>;
1536
+ keyMarker: z.ZodOptional<z.ZodString>;
1537
+ maxUploads: z.ZodOptional<z.ZodNumber>;
1538
+ prefix: z.ZodOptional<z.ZodString>;
1539
+ uploadIdMarker: z.ZodOptional<z.ZodString>;
1540
+ }, "strip", z.ZodTypeAny, {
1541
+ bucket: string;
1542
+ expectedBucketOwner?: string | undefined;
1543
+ prefix?: string | undefined;
1544
+ delimiter?: string | undefined;
1545
+ encodingType?: "url" | undefined;
1546
+ requestPayer?: "requester" | undefined;
1547
+ keyMarker?: string | undefined;
1548
+ maxUploads?: number | undefined;
1549
+ uploadIdMarker?: string | undefined;
1550
+ }, {
1551
+ bucket: string;
1552
+ expectedBucketOwner?: string | undefined;
1553
+ prefix?: string | undefined;
1554
+ delimiter?: string | undefined;
1555
+ encodingType?: "url" | undefined;
1556
+ requestPayer?: "requester" | undefined;
1557
+ keyMarker?: string | undefined;
1558
+ maxUploads?: number | undefined;
1559
+ uploadIdMarker?: string | undefined;
1560
+ }>;
1561
+ export type S3ListMultipartUploadsRequest = z.infer<typeof S3ListMultipartUploadsRequestSchema>;
1562
+ //# sourceMappingURL=s3-zod.d.ts.map