ominfra 0.0.0.dev199__py3-none-any.whl → 0.0.0.dev201__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1387 @@
1
+ # flake8: noqa: E501
2
+ # ruff: noqa: N801 S105
3
+ # fmt: off
4
+ import dataclasses as _dc # noqa
5
+ import enum as _enum # noqa
6
+ import typing as _ta # noqa
7
+
8
+ from .. import base as _base # noqa
9
+
10
+
11
+ ##
12
+
13
+
14
+ AcceptRanges = _ta.NewType('AcceptRanges', str)
15
+
16
+ AccountId = _ta.NewType('AccountId', str)
17
+
18
+ Body = _ta.NewType('Body', bytes)
19
+
20
+ BucketKeyEnabled = _ta.NewType('BucketKeyEnabled', bool)
21
+
22
+ BucketName = _ta.NewType('BucketName', str)
23
+
24
+ BucketRegion = _ta.NewType('BucketRegion', str)
25
+
26
+ BypassGovernanceRetention = _ta.NewType('BypassGovernanceRetention', bool)
27
+
28
+ CacheControl = _ta.NewType('CacheControl', str)
29
+
30
+
31
+ class ChecksumAlgorithm(_enum.Enum):
32
+ CRC32 = 'CRC32'
33
+ CRC32C = 'CRC32C'
34
+ SHA1 = 'SHA1'
35
+ SHA256 = 'SHA256'
36
+
37
+
38
+ ChecksumCRC32 = _ta.NewType('ChecksumCRC32', str)
39
+
40
+ ChecksumCRC32C = _ta.NewType('ChecksumCRC32C', str)
41
+
42
+
43
+ class ChecksumMode(_enum.Enum):
44
+ ENABLED = 'ENABLED'
45
+
46
+
47
+ ChecksumSHA1 = _ta.NewType('ChecksumSHA1', str)
48
+
49
+ ChecksumSHA256 = _ta.NewType('ChecksumSHA256', str)
50
+
51
+ ContentDisposition = _ta.NewType('ContentDisposition', str)
52
+
53
+ ContentEncoding = _ta.NewType('ContentEncoding', str)
54
+
55
+ ContentLanguage = _ta.NewType('ContentLanguage', str)
56
+
57
+ ContentLength = _ta.NewType('ContentLength', int)
58
+
59
+ ContentMD5 = _ta.NewType('ContentMD5', str)
60
+
61
+ ContentRange = _ta.NewType('ContentRange', str)
62
+
63
+ ContentType = _ta.NewType('ContentType', str)
64
+
65
+ CreationDate = _ta.NewType('CreationDate', _base.Timestamp)
66
+
67
+ DeleteMarker = _ta.NewType('DeleteMarker', bool)
68
+
69
+ Delimiter = _ta.NewType('Delimiter', str)
70
+
71
+ DisplayName = _ta.NewType('DisplayName', str)
72
+
73
+ ETag = _ta.NewType('ETag', str)
74
+
75
+
76
+ class EncodingType(_enum.Enum):
77
+ URL = 'url'
78
+
79
+
80
+ @_dc.dataclass(frozen=True)
81
+ class EncryptionTypeMismatch(
82
+ _base.Shape,
83
+ shape_name='EncryptionTypeMismatch',
84
+ ):
85
+ pass
86
+
87
+
88
+ Expiration = _ta.NewType('Expiration', str)
89
+
90
+ Expires = _ta.NewType('Expires', _base.Timestamp)
91
+
92
+ FetchOwner = _ta.NewType('FetchOwner', bool)
93
+
94
+ GrantFullControl = _ta.NewType('GrantFullControl', str)
95
+
96
+ GrantRead = _ta.NewType('GrantRead', str)
97
+
98
+ GrantReadACP = _ta.NewType('GrantReadACP', str)
99
+
100
+ GrantWriteACP = _ta.NewType('GrantWriteACP', str)
101
+
102
+ ID = _ta.NewType('ID', str)
103
+
104
+ IfMatch = _ta.NewType('IfMatch', str)
105
+
106
+ IfMatchLastModifiedTime = _ta.NewType('IfMatchLastModifiedTime', _base.Timestamp)
107
+
108
+ IfMatchSize = _ta.NewType('IfMatchSize', int)
109
+
110
+ IfModifiedSince = _ta.NewType('IfModifiedSince', _base.Timestamp)
111
+
112
+ IfNoneMatch = _ta.NewType('IfNoneMatch', str)
113
+
114
+ IfUnmodifiedSince = _ta.NewType('IfUnmodifiedSince', _base.Timestamp)
115
+
116
+
117
+ class IntelligentTieringAccessTier(_enum.Enum):
118
+ ARCHIVE_ACCESS = 'ARCHIVE_ACCESS'
119
+ DEEP_ARCHIVE_ACCESS = 'DEEP_ARCHIVE_ACCESS'
120
+
121
+
122
+ @_dc.dataclass(frozen=True)
123
+ class InvalidRequest(
124
+ _base.Shape,
125
+ shape_name='InvalidRequest',
126
+ ):
127
+ pass
128
+
129
+
130
+ @_dc.dataclass(frozen=True)
131
+ class InvalidWriteOffset(
132
+ _base.Shape,
133
+ shape_name='InvalidWriteOffset',
134
+ ):
135
+ pass
136
+
137
+
138
+ IsRestoreInProgress = _ta.NewType('IsRestoreInProgress', bool)
139
+
140
+ IsTruncated = _ta.NewType('IsTruncated', bool)
141
+
142
+ KeyCount = _ta.NewType('KeyCount', int)
143
+
144
+ LastModified = _ta.NewType('LastModified', _base.Timestamp)
145
+
146
+ MFA = _ta.NewType('MFA', str)
147
+
148
+ MaxBuckets = _ta.NewType('MaxBuckets', int)
149
+
150
+ MaxKeys = _ta.NewType('MaxKeys', int)
151
+
152
+ MetadataKey = _ta.NewType('MetadataKey', str)
153
+
154
+ MetadataValue = _ta.NewType('MetadataValue', str)
155
+
156
+ MissingMeta = _ta.NewType('MissingMeta', int)
157
+
158
+ NextToken = _ta.NewType('NextToken', str)
159
+
160
+
161
+ @_dc.dataclass(frozen=True)
162
+ class NoSuchBucket(
163
+ _base.Shape,
164
+ shape_name='NoSuchBucket',
165
+ ):
166
+ pass
167
+
168
+
169
+ @_dc.dataclass(frozen=True)
170
+ class NoSuchKey(
171
+ _base.Shape,
172
+ shape_name='NoSuchKey',
173
+ ):
174
+ pass
175
+
176
+
177
+ class ObjectCannedACL(_enum.Enum):
178
+ PRIVATE = 'private'
179
+ PUBLIC_READ = 'public-read'
180
+ PUBLIC_READ_WRITE = 'public-read-write'
181
+ AUTHENTICATED_READ = 'authenticated-read'
182
+ AWS_EXEC_READ = 'aws-exec-read'
183
+ BUCKET_OWNER_READ = 'bucket-owner-read'
184
+ BUCKET_OWNER_FULL_CONTROL = 'bucket-owner-full-control'
185
+
186
+
187
+ ObjectKey = _ta.NewType('ObjectKey', str)
188
+
189
+
190
+ class ObjectLockLegalHoldStatus(_enum.Enum):
191
+ ON = 'ON'
192
+ OFF = 'OFF'
193
+
194
+
195
+ class ObjectLockMode(_enum.Enum):
196
+ GOVERNANCE = 'GOVERNANCE'
197
+ COMPLIANCE = 'COMPLIANCE'
198
+
199
+
200
+ ObjectLockRetainUntilDate = _ta.NewType('ObjectLockRetainUntilDate', _base.Timestamp)
201
+
202
+
203
+ class ObjectStorageClass(_enum.Enum):
204
+ STANDARD = 'STANDARD'
205
+ REDUCED_REDUNDANCY = 'REDUCED_REDUNDANCY'
206
+ GLACIER = 'GLACIER'
207
+ STANDARD_IA = 'STANDARD_IA'
208
+ ONEZONE_IA = 'ONEZONE_IA'
209
+ INTELLIGENT_TIERING = 'INTELLIGENT_TIERING'
210
+ DEEP_ARCHIVE = 'DEEP_ARCHIVE'
211
+ OUTPOSTS = 'OUTPOSTS'
212
+ GLACIER_IR = 'GLACIER_IR'
213
+ SNOW = 'SNOW'
214
+ EXPRESS_ONEZONE = 'EXPRESS_ONEZONE'
215
+
216
+
217
+ ObjectVersionId = _ta.NewType('ObjectVersionId', str)
218
+
219
+
220
+ class OptionalObjectAttributes(_enum.Enum):
221
+ RESTORE_STATUS = 'RestoreStatus'
222
+
223
+
224
+ PartNumber = _ta.NewType('PartNumber', int)
225
+
226
+ PartsCount = _ta.NewType('PartsCount', int)
227
+
228
+ Prefix = _ta.NewType('Prefix', str)
229
+
230
+ Range = _ta.NewType('Range', str)
231
+
232
+
233
+ class ReplicationStatus(_enum.Enum):
234
+ COMPLETE = 'COMPLETE'
235
+ PENDING = 'PENDING'
236
+ FAILED = 'FAILED'
237
+ REPLICA = 'REPLICA'
238
+ COMPLETED = 'COMPLETED'
239
+
240
+
241
+ class RequestCharged(_enum.Enum):
242
+ REQUESTER = 'requester'
243
+
244
+
245
+ class RequestPayer(_enum.Enum):
246
+ REQUESTER = 'requester'
247
+
248
+
249
+ ResponseCacheControl = _ta.NewType('ResponseCacheControl', str)
250
+
251
+ ResponseContentDisposition = _ta.NewType('ResponseContentDisposition', str)
252
+
253
+ ResponseContentEncoding = _ta.NewType('ResponseContentEncoding', str)
254
+
255
+ ResponseContentLanguage = _ta.NewType('ResponseContentLanguage', str)
256
+
257
+ ResponseContentType = _ta.NewType('ResponseContentType', str)
258
+
259
+ ResponseExpires = _ta.NewType('ResponseExpires', _base.Timestamp)
260
+
261
+ Restore = _ta.NewType('Restore', str)
262
+
263
+ RestoreExpiryDate = _ta.NewType('RestoreExpiryDate', _base.Timestamp)
264
+
265
+ SSECustomerAlgorithm = _ta.NewType('SSECustomerAlgorithm', str)
266
+
267
+ SSECustomerKey = _ta.NewType('SSECustomerKey', str)
268
+
269
+ SSECustomerKeyMD5 = _ta.NewType('SSECustomerKeyMD5', str)
270
+
271
+ SSEKMSEncryptionContext = _ta.NewType('SSEKMSEncryptionContext', str)
272
+
273
+ SSEKMSKeyId = _ta.NewType('SSEKMSKeyId', str)
274
+
275
+
276
+ class ServerSideEncryption(_enum.Enum):
277
+ AES256 = 'AES256'
278
+ AWS_KMS = 'aws:kms'
279
+ AWS_KMS_DSSE = 'aws:kms:dsse'
280
+
281
+
282
+ Size = _ta.NewType('Size', int)
283
+
284
+ StartAfter = _ta.NewType('StartAfter', str)
285
+
286
+
287
+ class StorageClass(_enum.Enum):
288
+ STANDARD = 'STANDARD'
289
+ REDUCED_REDUNDANCY = 'REDUCED_REDUNDANCY'
290
+ STANDARD_IA = 'STANDARD_IA'
291
+ ONEZONE_IA = 'ONEZONE_IA'
292
+ INTELLIGENT_TIERING = 'INTELLIGENT_TIERING'
293
+ GLACIER = 'GLACIER'
294
+ DEEP_ARCHIVE = 'DEEP_ARCHIVE'
295
+ OUTPOSTS = 'OUTPOSTS'
296
+ GLACIER_IR = 'GLACIER_IR'
297
+ SNOW = 'SNOW'
298
+ EXPRESS_ONEZONE = 'EXPRESS_ONEZONE'
299
+
300
+
301
+ TagCount = _ta.NewType('TagCount', int)
302
+
303
+ TaggingHeader = _ta.NewType('TaggingHeader', str)
304
+
305
+ Token = _ta.NewType('Token', str)
306
+
307
+
308
+ @_dc.dataclass(frozen=True)
309
+ class TooManyParts(
310
+ _base.Shape,
311
+ shape_name='TooManyParts',
312
+ ):
313
+ pass
314
+
315
+
316
+ WebsiteRedirectLocation = _ta.NewType('WebsiteRedirectLocation', str)
317
+
318
+ WriteOffsetBytes = _ta.NewType('WriteOffsetBytes', int)
319
+
320
+
321
+ @_dc.dataclass(frozen=True)
322
+ class Bucket(
323
+ _base.Shape,
324
+ shape_name='Bucket',
325
+ ):
326
+ name: BucketName = _dc.field(metadata=_base.field_metadata(
327
+ member_name='Name',
328
+ shape_name='BucketName',
329
+ ))
330
+
331
+ creation_date: CreationDate = _dc.field(metadata=_base.field_metadata(
332
+ member_name='CreationDate',
333
+ shape_name='CreationDate',
334
+ ))
335
+
336
+ bucket_region: BucketRegion = _dc.field(metadata=_base.field_metadata(
337
+ member_name='BucketRegion',
338
+ shape_name='BucketRegion',
339
+ ))
340
+
341
+
342
+ ChecksumAlgorithmList: _ta.TypeAlias = _ta.Sequence[ChecksumAlgorithm]
343
+
344
+
345
+ @_dc.dataclass(frozen=True)
346
+ class CommonPrefix(
347
+ _base.Shape,
348
+ shape_name='CommonPrefix',
349
+ ):
350
+ prefix: Prefix = _dc.field(metadata=_base.field_metadata(
351
+ member_name='Prefix',
352
+ shape_name='Prefix',
353
+ ))
354
+
355
+
356
+ @_dc.dataclass(frozen=True)
357
+ class DeleteObjectOutput(
358
+ _base.Shape,
359
+ shape_name='DeleteObjectOutput',
360
+ ):
361
+ delete_marker: DeleteMarker = _dc.field(metadata=_base.field_metadata(
362
+ member_name='DeleteMarker',
363
+ shape_name='DeleteMarker',
364
+ ))
365
+
366
+ version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
367
+ member_name='VersionId',
368
+ shape_name='ObjectVersionId',
369
+ ))
370
+
371
+ request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
372
+ member_name='RequestCharged',
373
+ shape_name='RequestCharged',
374
+ ))
375
+
376
+
377
+ @_dc.dataclass(frozen=True)
378
+ class DeleteObjectRequest(
379
+ _base.Shape,
380
+ shape_name='DeleteObjectRequest',
381
+ ):
382
+ bucket: BucketName = _dc.field(metadata=_base.field_metadata(
383
+ member_name='Bucket',
384
+ shape_name='BucketName',
385
+ ))
386
+
387
+ key: ObjectKey = _dc.field(metadata=_base.field_metadata(
388
+ member_name='Key',
389
+ shape_name='ObjectKey',
390
+ ))
391
+
392
+ mfa: MFA = _dc.field(metadata=_base.field_metadata(
393
+ member_name='MFA',
394
+ shape_name='MFA',
395
+ ))
396
+
397
+ version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
398
+ member_name='VersionId',
399
+ shape_name='ObjectVersionId',
400
+ ))
401
+
402
+ request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
403
+ member_name='RequestPayer',
404
+ shape_name='RequestPayer',
405
+ ))
406
+
407
+ bypass_governance_retention: BypassGovernanceRetention = _dc.field(metadata=_base.field_metadata(
408
+ member_name='BypassGovernanceRetention',
409
+ shape_name='BypassGovernanceRetention',
410
+ ))
411
+
412
+ expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
413
+ member_name='ExpectedBucketOwner',
414
+ shape_name='AccountId',
415
+ ))
416
+
417
+ if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
418
+ member_name='IfMatch',
419
+ shape_name='IfMatch',
420
+ ))
421
+
422
+ if_match_last_modified_time: IfMatchLastModifiedTime = _dc.field(metadata=_base.field_metadata(
423
+ member_name='IfMatchLastModifiedTime',
424
+ shape_name='IfMatchLastModifiedTime',
425
+ ))
426
+
427
+ if_match_size: IfMatchSize = _dc.field(metadata=_base.field_metadata(
428
+ member_name='IfMatchSize',
429
+ shape_name='IfMatchSize',
430
+ ))
431
+
432
+
433
+ @_dc.dataclass(frozen=True)
434
+ class GetObjectRequest(
435
+ _base.Shape,
436
+ shape_name='GetObjectRequest',
437
+ ):
438
+ bucket: BucketName = _dc.field(metadata=_base.field_metadata(
439
+ member_name='Bucket',
440
+ shape_name='BucketName',
441
+ ))
442
+
443
+ if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
444
+ member_name='IfMatch',
445
+ shape_name='IfMatch',
446
+ ))
447
+
448
+ if_modified_since: IfModifiedSince = _dc.field(metadata=_base.field_metadata(
449
+ member_name='IfModifiedSince',
450
+ shape_name='IfModifiedSince',
451
+ ))
452
+
453
+ if_none_match: IfNoneMatch = _dc.field(metadata=_base.field_metadata(
454
+ member_name='IfNoneMatch',
455
+ shape_name='IfNoneMatch',
456
+ ))
457
+
458
+ if_unmodified_since: IfUnmodifiedSince = _dc.field(metadata=_base.field_metadata(
459
+ member_name='IfUnmodifiedSince',
460
+ shape_name='IfUnmodifiedSince',
461
+ ))
462
+
463
+ key: ObjectKey = _dc.field(metadata=_base.field_metadata(
464
+ member_name='Key',
465
+ shape_name='ObjectKey',
466
+ ))
467
+
468
+ range: Range = _dc.field(metadata=_base.field_metadata(
469
+ member_name='Range',
470
+ shape_name='Range',
471
+ ))
472
+
473
+ response_cache_control: ResponseCacheControl = _dc.field(metadata=_base.field_metadata(
474
+ member_name='ResponseCacheControl',
475
+ shape_name='ResponseCacheControl',
476
+ ))
477
+
478
+ response_content_disposition: ResponseContentDisposition = _dc.field(metadata=_base.field_metadata(
479
+ member_name='ResponseContentDisposition',
480
+ shape_name='ResponseContentDisposition',
481
+ ))
482
+
483
+ response_content_encoding: ResponseContentEncoding = _dc.field(metadata=_base.field_metadata(
484
+ member_name='ResponseContentEncoding',
485
+ shape_name='ResponseContentEncoding',
486
+ ))
487
+
488
+ response_content_language: ResponseContentLanguage = _dc.field(metadata=_base.field_metadata(
489
+ member_name='ResponseContentLanguage',
490
+ shape_name='ResponseContentLanguage',
491
+ ))
492
+
493
+ response_content_type: ResponseContentType = _dc.field(metadata=_base.field_metadata(
494
+ member_name='ResponseContentType',
495
+ shape_name='ResponseContentType',
496
+ ))
497
+
498
+ response_expires: ResponseExpires = _dc.field(metadata=_base.field_metadata(
499
+ member_name='ResponseExpires',
500
+ shape_name='ResponseExpires',
501
+ ))
502
+
503
+ version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
504
+ member_name='VersionId',
505
+ shape_name='ObjectVersionId',
506
+ ))
507
+
508
+ sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
509
+ member_name='SSECustomerAlgorithm',
510
+ shape_name='SSECustomerAlgorithm',
511
+ ))
512
+
513
+ sse_customer_key: SSECustomerKey = _dc.field(metadata=_base.field_metadata(
514
+ member_name='SSECustomerKey',
515
+ shape_name='SSECustomerKey',
516
+ ))
517
+
518
+ sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
519
+ member_name='SSECustomerKeyMD5',
520
+ shape_name='SSECustomerKeyMD5',
521
+ ))
522
+
523
+ request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
524
+ member_name='RequestPayer',
525
+ shape_name='RequestPayer',
526
+ ))
527
+
528
+ part_number: PartNumber = _dc.field(metadata=_base.field_metadata(
529
+ member_name='PartNumber',
530
+ shape_name='PartNumber',
531
+ ))
532
+
533
+ expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
534
+ member_name='ExpectedBucketOwner',
535
+ shape_name='AccountId',
536
+ ))
537
+
538
+ checksum_mode: ChecksumMode = _dc.field(metadata=_base.field_metadata(
539
+ member_name='ChecksumMode',
540
+ shape_name='ChecksumMode',
541
+ ))
542
+
543
+
544
+ @_dc.dataclass(frozen=True)
545
+ class InvalidObjectState(
546
+ _base.Shape,
547
+ shape_name='InvalidObjectState',
548
+ ):
549
+ storage_class: StorageClass = _dc.field(metadata=_base.field_metadata(
550
+ member_name='StorageClass',
551
+ shape_name='StorageClass',
552
+ ))
553
+
554
+ access_tier: IntelligentTieringAccessTier = _dc.field(metadata=_base.field_metadata(
555
+ member_name='AccessTier',
556
+ shape_name='IntelligentTieringAccessTier',
557
+ ))
558
+
559
+
560
+ @_dc.dataclass(frozen=True)
561
+ class ListBucketsRequest(
562
+ _base.Shape,
563
+ shape_name='ListBucketsRequest',
564
+ ):
565
+ max_buckets: MaxBuckets = _dc.field(metadata=_base.field_metadata(
566
+ member_name='MaxBuckets',
567
+ shape_name='MaxBuckets',
568
+ ))
569
+
570
+ continuation_token: Token = _dc.field(metadata=_base.field_metadata(
571
+ member_name='ContinuationToken',
572
+ shape_name='Token',
573
+ ))
574
+
575
+ prefix: Prefix = _dc.field(metadata=_base.field_metadata(
576
+ member_name='Prefix',
577
+ shape_name='Prefix',
578
+ ))
579
+
580
+ bucket_region: BucketRegion = _dc.field(metadata=_base.field_metadata(
581
+ member_name='BucketRegion',
582
+ shape_name='BucketRegion',
583
+ ))
584
+
585
+
586
+ Metadata: _ta.TypeAlias = _ta.Mapping[MetadataKey, MetadataKey]
587
+
588
+ OptionalObjectAttributesList: _ta.TypeAlias = _ta.Sequence[OptionalObjectAttributes]
589
+
590
+
591
+ @_dc.dataclass(frozen=True)
592
+ class Owner(
593
+ _base.Shape,
594
+ shape_name='Owner',
595
+ ):
596
+ display_name: DisplayName = _dc.field(metadata=_base.field_metadata(
597
+ member_name='DisplayName',
598
+ shape_name='DisplayName',
599
+ ))
600
+
601
+ i_d: ID = _dc.field(metadata=_base.field_metadata(
602
+ member_name='ID',
603
+ shape_name='ID',
604
+ ))
605
+
606
+
607
+ @_dc.dataclass(frozen=True)
608
+ class PutObjectOutput(
609
+ _base.Shape,
610
+ shape_name='PutObjectOutput',
611
+ ):
612
+ expiration: Expiration = _dc.field(metadata=_base.field_metadata(
613
+ member_name='Expiration',
614
+ shape_name='Expiration',
615
+ ))
616
+
617
+ etag: ETag = _dc.field(metadata=_base.field_metadata(
618
+ member_name='ETag',
619
+ shape_name='ETag',
620
+ ))
621
+
622
+ checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
623
+ member_name='ChecksumCRC32',
624
+ shape_name='ChecksumCRC32',
625
+ ))
626
+
627
+ checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
628
+ member_name='ChecksumCRC32C',
629
+ shape_name='ChecksumCRC32C',
630
+ ))
631
+
632
+ checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
633
+ member_name='ChecksumSHA1',
634
+ shape_name='ChecksumSHA1',
635
+ ))
636
+
637
+ checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
638
+ member_name='ChecksumSHA256',
639
+ shape_name='ChecksumSHA256',
640
+ ))
641
+
642
+ server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
643
+ member_name='ServerSideEncryption',
644
+ shape_name='ServerSideEncryption',
645
+ ))
646
+
647
+ version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
648
+ member_name='VersionId',
649
+ shape_name='ObjectVersionId',
650
+ ))
651
+
652
+ sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
653
+ member_name='SSECustomerAlgorithm',
654
+ shape_name='SSECustomerAlgorithm',
655
+ ))
656
+
657
+ sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
658
+ member_name='SSECustomerKeyMD5',
659
+ shape_name='SSECustomerKeyMD5',
660
+ ))
661
+
662
+ sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
663
+ member_name='SSEKMSKeyId',
664
+ shape_name='SSEKMSKeyId',
665
+ ))
666
+
667
+ sse_kms_encryption_context: SSEKMSEncryptionContext = _dc.field(metadata=_base.field_metadata(
668
+ member_name='SSEKMSEncryptionContext',
669
+ shape_name='SSEKMSEncryptionContext',
670
+ ))
671
+
672
+ bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
673
+ member_name='BucketKeyEnabled',
674
+ shape_name='BucketKeyEnabled',
675
+ ))
676
+
677
+ size: Size = _dc.field(metadata=_base.field_metadata(
678
+ member_name='Size',
679
+ shape_name='Size',
680
+ ))
681
+
682
+ request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
683
+ member_name='RequestCharged',
684
+ shape_name='RequestCharged',
685
+ ))
686
+
687
+
688
+ @_dc.dataclass(frozen=True)
689
+ class RestoreStatus(
690
+ _base.Shape,
691
+ shape_name='RestoreStatus',
692
+ ):
693
+ is_restore_in_progress: IsRestoreInProgress = _dc.field(metadata=_base.field_metadata(
694
+ member_name='IsRestoreInProgress',
695
+ shape_name='IsRestoreInProgress',
696
+ ))
697
+
698
+ restore_expiry_date: RestoreExpiryDate = _dc.field(metadata=_base.field_metadata(
699
+ member_name='RestoreExpiryDate',
700
+ shape_name='RestoreExpiryDate',
701
+ ))
702
+
703
+
704
+ Buckets: _ta.TypeAlias = _ta.Sequence[Bucket]
705
+
706
+ CommonPrefixList: _ta.TypeAlias = _ta.Sequence[CommonPrefix]
707
+
708
+
709
+ @_dc.dataclass(frozen=True)
710
+ class GetObjectOutput(
711
+ _base.Shape,
712
+ shape_name='GetObjectOutput',
713
+ ):
714
+ body: Body = _dc.field(metadata=_base.field_metadata(
715
+ member_name='Body',
716
+ shape_name='Body',
717
+ ))
718
+
719
+ delete_marker: DeleteMarker = _dc.field(metadata=_base.field_metadata(
720
+ member_name='DeleteMarker',
721
+ shape_name='DeleteMarker',
722
+ ))
723
+
724
+ accept_ranges: AcceptRanges = _dc.field(metadata=_base.field_metadata(
725
+ member_name='AcceptRanges',
726
+ shape_name='AcceptRanges',
727
+ ))
728
+
729
+ expiration: Expiration = _dc.field(metadata=_base.field_metadata(
730
+ member_name='Expiration',
731
+ shape_name='Expiration',
732
+ ))
733
+
734
+ restore: Restore = _dc.field(metadata=_base.field_metadata(
735
+ member_name='Restore',
736
+ shape_name='Restore',
737
+ ))
738
+
739
+ last_modified: LastModified = _dc.field(metadata=_base.field_metadata(
740
+ member_name='LastModified',
741
+ shape_name='LastModified',
742
+ ))
743
+
744
+ content_length: ContentLength = _dc.field(metadata=_base.field_metadata(
745
+ member_name='ContentLength',
746
+ shape_name='ContentLength',
747
+ ))
748
+
749
+ etag: ETag = _dc.field(metadata=_base.field_metadata(
750
+ member_name='ETag',
751
+ shape_name='ETag',
752
+ ))
753
+
754
+ checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
755
+ member_name='ChecksumCRC32',
756
+ shape_name='ChecksumCRC32',
757
+ ))
758
+
759
+ checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
760
+ member_name='ChecksumCRC32C',
761
+ shape_name='ChecksumCRC32C',
762
+ ))
763
+
764
+ checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
765
+ member_name='ChecksumSHA1',
766
+ shape_name='ChecksumSHA1',
767
+ ))
768
+
769
+ checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
770
+ member_name='ChecksumSHA256',
771
+ shape_name='ChecksumSHA256',
772
+ ))
773
+
774
+ missing_meta: MissingMeta = _dc.field(metadata=_base.field_metadata(
775
+ member_name='MissingMeta',
776
+ shape_name='MissingMeta',
777
+ ))
778
+
779
+ version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
780
+ member_name='VersionId',
781
+ shape_name='ObjectVersionId',
782
+ ))
783
+
784
+ cache_control: CacheControl = _dc.field(metadata=_base.field_metadata(
785
+ member_name='CacheControl',
786
+ shape_name='CacheControl',
787
+ ))
788
+
789
+ content_disposition: ContentDisposition = _dc.field(metadata=_base.field_metadata(
790
+ member_name='ContentDisposition',
791
+ shape_name='ContentDisposition',
792
+ ))
793
+
794
+ content_encoding: ContentEncoding = _dc.field(metadata=_base.field_metadata(
795
+ member_name='ContentEncoding',
796
+ shape_name='ContentEncoding',
797
+ ))
798
+
799
+ content_language: ContentLanguage = _dc.field(metadata=_base.field_metadata(
800
+ member_name='ContentLanguage',
801
+ shape_name='ContentLanguage',
802
+ ))
803
+
804
+ content_range: ContentRange = _dc.field(metadata=_base.field_metadata(
805
+ member_name='ContentRange',
806
+ shape_name='ContentRange',
807
+ ))
808
+
809
+ content_type: ContentType = _dc.field(metadata=_base.field_metadata(
810
+ member_name='ContentType',
811
+ shape_name='ContentType',
812
+ ))
813
+
814
+ expires: Expires = _dc.field(metadata=_base.field_metadata(
815
+ member_name='Expires',
816
+ shape_name='Expires',
817
+ ))
818
+
819
+ website_redirect_location: WebsiteRedirectLocation = _dc.field(metadata=_base.field_metadata(
820
+ member_name='WebsiteRedirectLocation',
821
+ shape_name='WebsiteRedirectLocation',
822
+ ))
823
+
824
+ server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
825
+ member_name='ServerSideEncryption',
826
+ shape_name='ServerSideEncryption',
827
+ ))
828
+
829
+ metadata: Metadata = _dc.field(metadata=_base.field_metadata(
830
+ member_name='Metadata',
831
+ shape_name='Metadata',
832
+ ))
833
+
834
+ sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
835
+ member_name='SSECustomerAlgorithm',
836
+ shape_name='SSECustomerAlgorithm',
837
+ ))
838
+
839
+ sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
840
+ member_name='SSECustomerKeyMD5',
841
+ shape_name='SSECustomerKeyMD5',
842
+ ))
843
+
844
+ sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
845
+ member_name='SSEKMSKeyId',
846
+ shape_name='SSEKMSKeyId',
847
+ ))
848
+
849
+ bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
850
+ member_name='BucketKeyEnabled',
851
+ shape_name='BucketKeyEnabled',
852
+ ))
853
+
854
+ storage_class: StorageClass = _dc.field(metadata=_base.field_metadata(
855
+ member_name='StorageClass',
856
+ shape_name='StorageClass',
857
+ ))
858
+
859
+ request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
860
+ member_name='RequestCharged',
861
+ shape_name='RequestCharged',
862
+ ))
863
+
864
+ replication_status: ReplicationStatus = _dc.field(metadata=_base.field_metadata(
865
+ member_name='ReplicationStatus',
866
+ shape_name='ReplicationStatus',
867
+ ))
868
+
869
+ parts_count: PartsCount = _dc.field(metadata=_base.field_metadata(
870
+ member_name='PartsCount',
871
+ shape_name='PartsCount',
872
+ ))
873
+
874
+ tag_count: TagCount = _dc.field(metadata=_base.field_metadata(
875
+ member_name='TagCount',
876
+ shape_name='TagCount',
877
+ ))
878
+
879
+ object_lock_mode: ObjectLockMode = _dc.field(metadata=_base.field_metadata(
880
+ member_name='ObjectLockMode',
881
+ shape_name='ObjectLockMode',
882
+ ))
883
+
884
+ object_lock_retain_until_date: ObjectLockRetainUntilDate = _dc.field(metadata=_base.field_metadata(
885
+ member_name='ObjectLockRetainUntilDate',
886
+ shape_name='ObjectLockRetainUntilDate',
887
+ ))
888
+
889
+ object_lock_legal_hold_status: ObjectLockLegalHoldStatus = _dc.field(metadata=_base.field_metadata(
890
+ member_name='ObjectLockLegalHoldStatus',
891
+ shape_name='ObjectLockLegalHoldStatus',
892
+ ))
893
+
894
+
895
+ @_dc.dataclass(frozen=True)
896
+ class ListObjectsV2Request(
897
+ _base.Shape,
898
+ shape_name='ListObjectsV2Request',
899
+ ):
900
+ bucket: BucketName = _dc.field(metadata=_base.field_metadata(
901
+ member_name='Bucket',
902
+ shape_name='BucketName',
903
+ ))
904
+
905
+ delimiter: Delimiter = _dc.field(metadata=_base.field_metadata(
906
+ member_name='Delimiter',
907
+ shape_name='Delimiter',
908
+ ))
909
+
910
+ encoding_type: EncodingType = _dc.field(metadata=_base.field_metadata(
911
+ member_name='EncodingType',
912
+ shape_name='EncodingType',
913
+ ))
914
+
915
+ max_keys: MaxKeys = _dc.field(metadata=_base.field_metadata(
916
+ member_name='MaxKeys',
917
+ shape_name='MaxKeys',
918
+ ))
919
+
920
+ prefix: Prefix = _dc.field(metadata=_base.field_metadata(
921
+ member_name='Prefix',
922
+ shape_name='Prefix',
923
+ ))
924
+
925
+ continuation_token: Token = _dc.field(metadata=_base.field_metadata(
926
+ member_name='ContinuationToken',
927
+ shape_name='Token',
928
+ ))
929
+
930
+ fetch_owner: FetchOwner = _dc.field(metadata=_base.field_metadata(
931
+ member_name='FetchOwner',
932
+ shape_name='FetchOwner',
933
+ ))
934
+
935
+ start_after: StartAfter = _dc.field(metadata=_base.field_metadata(
936
+ member_name='StartAfter',
937
+ shape_name='StartAfter',
938
+ ))
939
+
940
+ request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
941
+ member_name='RequestPayer',
942
+ shape_name='RequestPayer',
943
+ ))
944
+
945
+ expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
946
+ member_name='ExpectedBucketOwner',
947
+ shape_name='AccountId',
948
+ ))
949
+
950
+ optional_object_attributes: OptionalObjectAttributesList = _dc.field(metadata=_base.field_metadata(
951
+ member_name='OptionalObjectAttributes',
952
+ shape_name='OptionalObjectAttributesList',
953
+ ))
954
+
955
+
956
+ @_dc.dataclass(frozen=True)
957
+ class Object(
958
+ _base.Shape,
959
+ shape_name='Object',
960
+ ):
961
+ key: ObjectKey = _dc.field(metadata=_base.field_metadata(
962
+ member_name='Key',
963
+ shape_name='ObjectKey',
964
+ ))
965
+
966
+ last_modified: LastModified = _dc.field(metadata=_base.field_metadata(
967
+ member_name='LastModified',
968
+ shape_name='LastModified',
969
+ ))
970
+
971
+ etag: ETag = _dc.field(metadata=_base.field_metadata(
972
+ member_name='ETag',
973
+ shape_name='ETag',
974
+ ))
975
+
976
+ checksum_algorithm: ChecksumAlgorithmList = _dc.field(metadata=_base.field_metadata(
977
+ member_name='ChecksumAlgorithm',
978
+ shape_name='ChecksumAlgorithmList',
979
+ ))
980
+
981
+ size: Size = _dc.field(metadata=_base.field_metadata(
982
+ member_name='Size',
983
+ shape_name='Size',
984
+ ))
985
+
986
+ storage_class: ObjectStorageClass = _dc.field(metadata=_base.field_metadata(
987
+ member_name='StorageClass',
988
+ shape_name='ObjectStorageClass',
989
+ ))
990
+
991
+ owner: Owner = _dc.field(metadata=_base.field_metadata(
992
+ member_name='Owner',
993
+ shape_name='Owner',
994
+ ))
995
+
996
+ restore_status: RestoreStatus = _dc.field(metadata=_base.field_metadata(
997
+ member_name='RestoreStatus',
998
+ shape_name='RestoreStatus',
999
+ ))
1000
+
1001
+
1002
+ @_dc.dataclass(frozen=True)
1003
+ class PutObjectRequest(
1004
+ _base.Shape,
1005
+ shape_name='PutObjectRequest',
1006
+ ):
1007
+ acl: ObjectCannedACL = _dc.field(metadata=_base.field_metadata(
1008
+ member_name='ACL',
1009
+ shape_name='ObjectCannedACL',
1010
+ ))
1011
+
1012
+ body: Body = _dc.field(metadata=_base.field_metadata(
1013
+ member_name='Body',
1014
+ shape_name='Body',
1015
+ ))
1016
+
1017
+ bucket: BucketName = _dc.field(metadata=_base.field_metadata(
1018
+ member_name='Bucket',
1019
+ shape_name='BucketName',
1020
+ ))
1021
+
1022
+ cache_control: CacheControl = _dc.field(metadata=_base.field_metadata(
1023
+ member_name='CacheControl',
1024
+ shape_name='CacheControl',
1025
+ ))
1026
+
1027
+ content_disposition: ContentDisposition = _dc.field(metadata=_base.field_metadata(
1028
+ member_name='ContentDisposition',
1029
+ shape_name='ContentDisposition',
1030
+ ))
1031
+
1032
+ content_encoding: ContentEncoding = _dc.field(metadata=_base.field_metadata(
1033
+ member_name='ContentEncoding',
1034
+ shape_name='ContentEncoding',
1035
+ ))
1036
+
1037
+ content_language: ContentLanguage = _dc.field(metadata=_base.field_metadata(
1038
+ member_name='ContentLanguage',
1039
+ shape_name='ContentLanguage',
1040
+ ))
1041
+
1042
+ content_length: ContentLength = _dc.field(metadata=_base.field_metadata(
1043
+ member_name='ContentLength',
1044
+ shape_name='ContentLength',
1045
+ ))
1046
+
1047
+ content_md5: ContentMD5 = _dc.field(metadata=_base.field_metadata(
1048
+ member_name='ContentMD5',
1049
+ shape_name='ContentMD5',
1050
+ ))
1051
+
1052
+ content_type: ContentType = _dc.field(metadata=_base.field_metadata(
1053
+ member_name='ContentType',
1054
+ shape_name='ContentType',
1055
+ ))
1056
+
1057
+ checksum_algorithm: ChecksumAlgorithm = _dc.field(metadata=_base.field_metadata(
1058
+ member_name='ChecksumAlgorithm',
1059
+ shape_name='ChecksumAlgorithm',
1060
+ ))
1061
+
1062
+ checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
1063
+ member_name='ChecksumCRC32',
1064
+ shape_name='ChecksumCRC32',
1065
+ ))
1066
+
1067
+ checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
1068
+ member_name='ChecksumCRC32C',
1069
+ shape_name='ChecksumCRC32C',
1070
+ ))
1071
+
1072
+ checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
1073
+ member_name='ChecksumSHA1',
1074
+ shape_name='ChecksumSHA1',
1075
+ ))
1076
+
1077
+ checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
1078
+ member_name='ChecksumSHA256',
1079
+ shape_name='ChecksumSHA256',
1080
+ ))
1081
+
1082
+ expires: Expires = _dc.field(metadata=_base.field_metadata(
1083
+ member_name='Expires',
1084
+ shape_name='Expires',
1085
+ ))
1086
+
1087
+ if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
1088
+ member_name='IfMatch',
1089
+ shape_name='IfMatch',
1090
+ ))
1091
+
1092
+ if_none_match: IfNoneMatch = _dc.field(metadata=_base.field_metadata(
1093
+ member_name='IfNoneMatch',
1094
+ shape_name='IfNoneMatch',
1095
+ ))
1096
+
1097
+ grant_full_control: GrantFullControl = _dc.field(metadata=_base.field_metadata(
1098
+ member_name='GrantFullControl',
1099
+ shape_name='GrantFullControl',
1100
+ ))
1101
+
1102
+ grant_read: GrantRead = _dc.field(metadata=_base.field_metadata(
1103
+ member_name='GrantRead',
1104
+ shape_name='GrantRead',
1105
+ ))
1106
+
1107
+ grant_read_acp: GrantReadACP = _dc.field(metadata=_base.field_metadata(
1108
+ member_name='GrantReadACP',
1109
+ shape_name='GrantReadACP',
1110
+ ))
1111
+
1112
+ grant_write_acp: GrantWriteACP = _dc.field(metadata=_base.field_metadata(
1113
+ member_name='GrantWriteACP',
1114
+ shape_name='GrantWriteACP',
1115
+ ))
1116
+
1117
+ key: ObjectKey = _dc.field(metadata=_base.field_metadata(
1118
+ member_name='Key',
1119
+ shape_name='ObjectKey',
1120
+ ))
1121
+
1122
+ write_offset_bytes: WriteOffsetBytes = _dc.field(metadata=_base.field_metadata(
1123
+ member_name='WriteOffsetBytes',
1124
+ shape_name='WriteOffsetBytes',
1125
+ ))
1126
+
1127
+ metadata: Metadata = _dc.field(metadata=_base.field_metadata(
1128
+ member_name='Metadata',
1129
+ shape_name='Metadata',
1130
+ ))
1131
+
1132
+ server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
1133
+ member_name='ServerSideEncryption',
1134
+ shape_name='ServerSideEncryption',
1135
+ ))
1136
+
1137
+ storage_class: StorageClass = _dc.field(metadata=_base.field_metadata(
1138
+ member_name='StorageClass',
1139
+ shape_name='StorageClass',
1140
+ ))
1141
+
1142
+ website_redirect_location: WebsiteRedirectLocation = _dc.field(metadata=_base.field_metadata(
1143
+ member_name='WebsiteRedirectLocation',
1144
+ shape_name='WebsiteRedirectLocation',
1145
+ ))
1146
+
1147
+ sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
1148
+ member_name='SSECustomerAlgorithm',
1149
+ shape_name='SSECustomerAlgorithm',
1150
+ ))
1151
+
1152
+ sse_customer_key: SSECustomerKey = _dc.field(metadata=_base.field_metadata(
1153
+ member_name='SSECustomerKey',
1154
+ shape_name='SSECustomerKey',
1155
+ ))
1156
+
1157
+ sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
1158
+ member_name='SSECustomerKeyMD5',
1159
+ shape_name='SSECustomerKeyMD5',
1160
+ ))
1161
+
1162
+ sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
1163
+ member_name='SSEKMSKeyId',
1164
+ shape_name='SSEKMSKeyId',
1165
+ ))
1166
+
1167
+ sse_kms_encryption_context: SSEKMSEncryptionContext = _dc.field(metadata=_base.field_metadata(
1168
+ member_name='SSEKMSEncryptionContext',
1169
+ shape_name='SSEKMSEncryptionContext',
1170
+ ))
1171
+
1172
+ bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
1173
+ member_name='BucketKeyEnabled',
1174
+ shape_name='BucketKeyEnabled',
1175
+ ))
1176
+
1177
+ request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
1178
+ member_name='RequestPayer',
1179
+ shape_name='RequestPayer',
1180
+ ))
1181
+
1182
+ tagging: TaggingHeader = _dc.field(metadata=_base.field_metadata(
1183
+ member_name='Tagging',
1184
+ shape_name='TaggingHeader',
1185
+ ))
1186
+
1187
+ object_lock_mode: ObjectLockMode = _dc.field(metadata=_base.field_metadata(
1188
+ member_name='ObjectLockMode',
1189
+ shape_name='ObjectLockMode',
1190
+ ))
1191
+
1192
+ object_lock_retain_until_date: ObjectLockRetainUntilDate = _dc.field(metadata=_base.field_metadata(
1193
+ member_name='ObjectLockRetainUntilDate',
1194
+ shape_name='ObjectLockRetainUntilDate',
1195
+ ))
1196
+
1197
+ object_lock_legal_hold_status: ObjectLockLegalHoldStatus = _dc.field(metadata=_base.field_metadata(
1198
+ member_name='ObjectLockLegalHoldStatus',
1199
+ shape_name='ObjectLockLegalHoldStatus',
1200
+ ))
1201
+
1202
+ expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
1203
+ member_name='ExpectedBucketOwner',
1204
+ shape_name='AccountId',
1205
+ ))
1206
+
1207
+
1208
+ @_dc.dataclass(frozen=True)
1209
+ class ListBucketsOutput(
1210
+ _base.Shape,
1211
+ shape_name='ListBucketsOutput',
1212
+ ):
1213
+ buckets: Buckets = _dc.field(metadata=_base.field_metadata(
1214
+ member_name='Buckets',
1215
+ shape_name='Buckets',
1216
+ ))
1217
+
1218
+ owner: Owner = _dc.field(metadata=_base.field_metadata(
1219
+ member_name='Owner',
1220
+ shape_name='Owner',
1221
+ ))
1222
+
1223
+ continuation_token: NextToken = _dc.field(metadata=_base.field_metadata(
1224
+ member_name='ContinuationToken',
1225
+ shape_name='NextToken',
1226
+ ))
1227
+
1228
+ prefix: Prefix = _dc.field(metadata=_base.field_metadata(
1229
+ member_name='Prefix',
1230
+ shape_name='Prefix',
1231
+ ))
1232
+
1233
+
1234
+ ObjectList: _ta.TypeAlias = _ta.Sequence[Object]
1235
+
1236
+
1237
+ @_dc.dataclass(frozen=True)
1238
+ class ListObjectsV2Output(
1239
+ _base.Shape,
1240
+ shape_name='ListObjectsV2Output',
1241
+ ):
1242
+ is_truncated: IsTruncated = _dc.field(metadata=_base.field_metadata(
1243
+ member_name='IsTruncated',
1244
+ shape_name='IsTruncated',
1245
+ ))
1246
+
1247
+ contents: ObjectList = _dc.field(metadata=_base.field_metadata(
1248
+ member_name='Contents',
1249
+ shape_name='ObjectList',
1250
+ ))
1251
+
1252
+ name: BucketName = _dc.field(metadata=_base.field_metadata(
1253
+ member_name='Name',
1254
+ shape_name='BucketName',
1255
+ ))
1256
+
1257
+ prefix: Prefix = _dc.field(metadata=_base.field_metadata(
1258
+ member_name='Prefix',
1259
+ shape_name='Prefix',
1260
+ ))
1261
+
1262
+ delimiter: Delimiter = _dc.field(metadata=_base.field_metadata(
1263
+ member_name='Delimiter',
1264
+ shape_name='Delimiter',
1265
+ ))
1266
+
1267
+ max_keys: MaxKeys = _dc.field(metadata=_base.field_metadata(
1268
+ member_name='MaxKeys',
1269
+ shape_name='MaxKeys',
1270
+ ))
1271
+
1272
+ common_prefixes: CommonPrefixList = _dc.field(metadata=_base.field_metadata(
1273
+ member_name='CommonPrefixes',
1274
+ shape_name='CommonPrefixList',
1275
+ ))
1276
+
1277
+ encoding_type: EncodingType = _dc.field(metadata=_base.field_metadata(
1278
+ member_name='EncodingType',
1279
+ shape_name='EncodingType',
1280
+ ))
1281
+
1282
+ key_count: KeyCount = _dc.field(metadata=_base.field_metadata(
1283
+ member_name='KeyCount',
1284
+ shape_name='KeyCount',
1285
+ ))
1286
+
1287
+ continuation_token: Token = _dc.field(metadata=_base.field_metadata(
1288
+ member_name='ContinuationToken',
1289
+ shape_name='Token',
1290
+ ))
1291
+
1292
+ next_continuation_token: NextToken = _dc.field(metadata=_base.field_metadata(
1293
+ member_name='NextContinuationToken',
1294
+ shape_name='NextToken',
1295
+ ))
1296
+
1297
+ start_after: StartAfter = _dc.field(metadata=_base.field_metadata(
1298
+ member_name='StartAfter',
1299
+ shape_name='StartAfter',
1300
+ ))
1301
+
1302
+ request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
1303
+ member_name='RequestCharged',
1304
+ shape_name='RequestCharged',
1305
+ ))
1306
+
1307
+
1308
+ ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
1309
+ Bucket,
1310
+ CommonPrefix,
1311
+ DeleteObjectOutput,
1312
+ DeleteObjectRequest,
1313
+ EncryptionTypeMismatch,
1314
+ GetObjectOutput,
1315
+ GetObjectRequest,
1316
+ InvalidObjectState,
1317
+ InvalidRequest,
1318
+ InvalidWriteOffset,
1319
+ ListBucketsOutput,
1320
+ ListBucketsRequest,
1321
+ ListObjectsV2Output,
1322
+ ListObjectsV2Request,
1323
+ NoSuchBucket,
1324
+ NoSuchKey,
1325
+ Object,
1326
+ Owner,
1327
+ PutObjectOutput,
1328
+ PutObjectRequest,
1329
+ RestoreStatus,
1330
+ TooManyParts,
1331
+ ])
1332
+
1333
+
1334
+ ##
1335
+
1336
+
1337
+ DELETE_OBJECT = _base.Operation(
1338
+ name='DeleteObject',
1339
+ input=DeleteObjectRequest,
1340
+ output=DeleteObjectOutput,
1341
+ )
1342
+
1343
+ GET_OBJECT = _base.Operation(
1344
+ name='GetObject',
1345
+ input=GetObjectRequest,
1346
+ output=GetObjectOutput,
1347
+ errors=[
1348
+ NoSuchKey,
1349
+ InvalidObjectState,
1350
+ ],
1351
+ )
1352
+
1353
+ LIST_BUCKETS = _base.Operation(
1354
+ name='ListBuckets',
1355
+ input=ListBucketsRequest,
1356
+ output=ListBucketsOutput,
1357
+ )
1358
+
1359
+ LIST_OBJECTS_V2 = _base.Operation(
1360
+ name='ListObjectsV2',
1361
+ input=ListObjectsV2Request,
1362
+ output=ListObjectsV2Output,
1363
+ errors=[
1364
+ NoSuchBucket,
1365
+ ],
1366
+ )
1367
+
1368
+ PUT_OBJECT = _base.Operation(
1369
+ name='PutObject',
1370
+ input=PutObjectRequest,
1371
+ output=PutObjectOutput,
1372
+ errors=[
1373
+ InvalidRequest,
1374
+ InvalidWriteOffset,
1375
+ TooManyParts,
1376
+ EncryptionTypeMismatch,
1377
+ ],
1378
+ )
1379
+
1380
+
1381
+ ALL_OPERATIONS: frozenset[_base.Operation] = frozenset([
1382
+ DELETE_OBJECT,
1383
+ GET_OBJECT,
1384
+ LIST_BUCKETS,
1385
+ LIST_OBJECTS_V2,
1386
+ PUT_OBJECT,
1387
+ ])