@apicity/s3 0.6.0 → 0.6.1

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