ominfra 0.0.0.dev208__py3-none-any.whl → 0.0.0.dev210__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,7 @@ class EncodingType(_enum.Enum):
77
77
  URL = 'url'
78
78
 
79
79
 
80
- @_dc.dataclass(frozen=True)
80
+ @_dc.dataclass(frozen=True, kw_only=True)
81
81
  class EncryptionTypeMismatch(
82
82
  _base.Shape,
83
83
  shape_name='EncryptionTypeMismatch',
@@ -119,7 +119,7 @@ class IntelligentTieringAccessTier(_enum.Enum):
119
119
  DEEP_ARCHIVE_ACCESS = 'DEEP_ARCHIVE_ACCESS'
120
120
 
121
121
 
122
- @_dc.dataclass(frozen=True)
122
+ @_dc.dataclass(frozen=True, kw_only=True)
123
123
  class InvalidRequest(
124
124
  _base.Shape,
125
125
  shape_name='InvalidRequest',
@@ -127,7 +127,7 @@ class InvalidRequest(
127
127
  pass
128
128
 
129
129
 
130
- @_dc.dataclass(frozen=True)
130
+ @_dc.dataclass(frozen=True, kw_only=True)
131
131
  class InvalidWriteOffset(
132
132
  _base.Shape,
133
133
  shape_name='InvalidWriteOffset',
@@ -158,7 +158,7 @@ MissingMeta = _ta.NewType('MissingMeta', int)
158
158
  NextToken = _ta.NewType('NextToken', str)
159
159
 
160
160
 
161
- @_dc.dataclass(frozen=True)
161
+ @_dc.dataclass(frozen=True, kw_only=True)
162
162
  class NoSuchBucket(
163
163
  _base.Shape,
164
164
  shape_name='NoSuchBucket',
@@ -166,7 +166,7 @@ class NoSuchBucket(
166
166
  pass
167
167
 
168
168
 
169
- @_dc.dataclass(frozen=True)
169
+ @_dc.dataclass(frozen=True, kw_only=True)
170
170
  class NoSuchKey(
171
171
  _base.Shape,
172
172
  shape_name='NoSuchKey',
@@ -305,7 +305,7 @@ TaggingHeader = _ta.NewType('TaggingHeader', str)
305
305
  Token = _ta.NewType('Token', str)
306
306
 
307
307
 
308
- @_dc.dataclass(frozen=True)
308
+ @_dc.dataclass(frozen=True, kw_only=True)
309
309
  class TooManyParts(
310
310
  _base.Shape,
311
311
  shape_name='TooManyParts',
@@ -318,22 +318,22 @@ WebsiteRedirectLocation = _ta.NewType('WebsiteRedirectLocation', str)
318
318
  WriteOffsetBytes = _ta.NewType('WriteOffsetBytes', int)
319
319
 
320
320
 
321
- @_dc.dataclass(frozen=True)
321
+ @_dc.dataclass(frozen=True, kw_only=True)
322
322
  class Bucket(
323
323
  _base.Shape,
324
324
  shape_name='Bucket',
325
325
  ):
326
- name: BucketName = _dc.field(metadata=_base.field_metadata(
326
+ name: BucketName | None = _dc.field(default=None, metadata=_base.field_metadata(
327
327
  member_name='Name',
328
328
  shape_name='BucketName',
329
329
  ))
330
330
 
331
- creation_date: CreationDate = _dc.field(metadata=_base.field_metadata(
331
+ creation_date: CreationDate | None = _dc.field(default=None, metadata=_base.field_metadata(
332
332
  member_name='CreationDate',
333
333
  shape_name='CreationDate',
334
334
  ))
335
335
 
336
- bucket_region: BucketRegion = _dc.field(metadata=_base.field_metadata(
336
+ bucket_region: BucketRegion | None = _dc.field(default=None, metadata=_base.field_metadata(
337
337
  member_name='BucketRegion',
338
338
  shape_name='BucketRegion',
339
339
  ))
@@ -342,42 +342,42 @@ class Bucket(
342
342
  ChecksumAlgorithmList: _ta.TypeAlias = _ta.Sequence[ChecksumAlgorithm]
343
343
 
344
344
 
345
- @_dc.dataclass(frozen=True)
345
+ @_dc.dataclass(frozen=True, kw_only=True)
346
346
  class CommonPrefix(
347
347
  _base.Shape,
348
348
  shape_name='CommonPrefix',
349
349
  ):
350
- prefix: Prefix = _dc.field(metadata=_base.field_metadata(
350
+ prefix: Prefix | None = _dc.field(default=None, metadata=_base.field_metadata(
351
351
  member_name='Prefix',
352
352
  shape_name='Prefix',
353
353
  ))
354
354
 
355
355
 
356
- @_dc.dataclass(frozen=True)
356
+ @_dc.dataclass(frozen=True, kw_only=True)
357
357
  class DeleteObjectOutput(
358
358
  _base.Shape,
359
359
  shape_name='DeleteObjectOutput',
360
360
  ):
361
- delete_marker: DeleteMarker = _dc.field(metadata=_base.field_metadata(
361
+ delete_marker: DeleteMarker | None = _dc.field(default=None, metadata=_base.field_metadata(
362
362
  member_name='DeleteMarker',
363
363
  serialization_name='x-amz-delete-marker',
364
364
  shape_name='DeleteMarker',
365
365
  ))
366
366
 
367
- version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
367
+ version_id: ObjectVersionId | None = _dc.field(default=None, metadata=_base.field_metadata(
368
368
  member_name='VersionId',
369
369
  serialization_name='x-amz-version-id',
370
370
  shape_name='ObjectVersionId',
371
371
  ))
372
372
 
373
- request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
373
+ request_charged: RequestCharged | None = _dc.field(default=None, metadata=_base.field_metadata(
374
374
  member_name='RequestCharged',
375
375
  serialization_name='x-amz-request-charged',
376
376
  shape_name='RequestCharged',
377
377
  ))
378
378
 
379
379
 
380
- @_dc.dataclass(frozen=True)
380
+ @_dc.dataclass(frozen=True, kw_only=True)
381
381
  class DeleteObjectRequest(
382
382
  _base.Shape,
383
383
  shape_name='DeleteObjectRequest',
@@ -394,56 +394,56 @@ class DeleteObjectRequest(
394
394
  shape_name='ObjectKey',
395
395
  ))
396
396
 
397
- mfa: MFA = _dc.field(metadata=_base.field_metadata(
397
+ mfa: MFA | None = _dc.field(default=None, metadata=_base.field_metadata(
398
398
  member_name='MFA',
399
399
  serialization_name='x-amz-mfa',
400
400
  shape_name='MFA',
401
401
  ))
402
402
 
403
- version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
403
+ version_id: ObjectVersionId | None = _dc.field(default=None, metadata=_base.field_metadata(
404
404
  member_name='VersionId',
405
405
  serialization_name='versionId',
406
406
  shape_name='ObjectVersionId',
407
407
  ))
408
408
 
409
- request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
409
+ request_payer: RequestPayer | None = _dc.field(default=None, metadata=_base.field_metadata(
410
410
  member_name='RequestPayer',
411
411
  serialization_name='x-amz-request-payer',
412
412
  shape_name='RequestPayer',
413
413
  ))
414
414
 
415
- bypass_governance_retention: BypassGovernanceRetention = _dc.field(metadata=_base.field_metadata(
415
+ bypass_governance_retention: BypassGovernanceRetention | None = _dc.field(default=None, metadata=_base.field_metadata(
416
416
  member_name='BypassGovernanceRetention',
417
417
  serialization_name='x-amz-bypass-governance-retention',
418
418
  shape_name='BypassGovernanceRetention',
419
419
  ))
420
420
 
421
- expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
421
+ expected_bucket_owner: AccountId | None = _dc.field(default=None, metadata=_base.field_metadata(
422
422
  member_name='ExpectedBucketOwner',
423
423
  serialization_name='x-amz-expected-bucket-owner',
424
424
  shape_name='AccountId',
425
425
  ))
426
426
 
427
- if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
427
+ if_match: IfMatch | None = _dc.field(default=None, metadata=_base.field_metadata(
428
428
  member_name='IfMatch',
429
429
  serialization_name='If-Match',
430
430
  shape_name='IfMatch',
431
431
  ))
432
432
 
433
- if_match_last_modified_time: IfMatchLastModifiedTime = _dc.field(metadata=_base.field_metadata(
433
+ if_match_last_modified_time: IfMatchLastModifiedTime | None = _dc.field(default=None, metadata=_base.field_metadata(
434
434
  member_name='IfMatchLastModifiedTime',
435
435
  serialization_name='x-amz-if-match-last-modified-time',
436
436
  shape_name='IfMatchLastModifiedTime',
437
437
  ))
438
438
 
439
- if_match_size: IfMatchSize = _dc.field(metadata=_base.field_metadata(
439
+ if_match_size: IfMatchSize | None = _dc.field(default=None, metadata=_base.field_metadata(
440
440
  member_name='IfMatchSize',
441
441
  serialization_name='x-amz-if-match-size',
442
442
  shape_name='IfMatchSize',
443
443
  ))
444
444
 
445
445
 
446
- @_dc.dataclass(frozen=True)
446
+ @_dc.dataclass(frozen=True, kw_only=True)
447
447
  class GetObjectRequest(
448
448
  _base.Shape,
449
449
  shape_name='GetObjectRequest',
@@ -454,25 +454,25 @@ class GetObjectRequest(
454
454
  shape_name='BucketName',
455
455
  ))
456
456
 
457
- if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
457
+ if_match: IfMatch | None = _dc.field(default=None, metadata=_base.field_metadata(
458
458
  member_name='IfMatch',
459
459
  serialization_name='If-Match',
460
460
  shape_name='IfMatch',
461
461
  ))
462
462
 
463
- if_modified_since: IfModifiedSince = _dc.field(metadata=_base.field_metadata(
463
+ if_modified_since: IfModifiedSince | None = _dc.field(default=None, metadata=_base.field_metadata(
464
464
  member_name='IfModifiedSince',
465
465
  serialization_name='If-Modified-Since',
466
466
  shape_name='IfModifiedSince',
467
467
  ))
468
468
 
469
- if_none_match: IfNoneMatch = _dc.field(metadata=_base.field_metadata(
469
+ if_none_match: IfNoneMatch | None = _dc.field(default=None, metadata=_base.field_metadata(
470
470
  member_name='IfNoneMatch',
471
471
  serialization_name='If-None-Match',
472
472
  shape_name='IfNoneMatch',
473
473
  ))
474
474
 
475
- if_unmodified_since: IfUnmodifiedSince = _dc.field(metadata=_base.field_metadata(
475
+ if_unmodified_since: IfUnmodifiedSince | None = _dc.field(default=None, metadata=_base.field_metadata(
476
476
  member_name='IfUnmodifiedSince',
477
477
  serialization_name='If-Unmodified-Since',
478
478
  shape_name='IfUnmodifiedSince',
@@ -484,137 +484,137 @@ class GetObjectRequest(
484
484
  shape_name='ObjectKey',
485
485
  ))
486
486
 
487
- range: Range = _dc.field(metadata=_base.field_metadata(
487
+ range: Range | None = _dc.field(default=None, metadata=_base.field_metadata(
488
488
  member_name='Range',
489
489
  serialization_name='Range',
490
490
  shape_name='Range',
491
491
  ))
492
492
 
493
- response_cache_control: ResponseCacheControl = _dc.field(metadata=_base.field_metadata(
493
+ response_cache_control: ResponseCacheControl | None = _dc.field(default=None, metadata=_base.field_metadata(
494
494
  member_name='ResponseCacheControl',
495
495
  serialization_name='response-cache-control',
496
496
  shape_name='ResponseCacheControl',
497
497
  ))
498
498
 
499
- response_content_disposition: ResponseContentDisposition = _dc.field(metadata=_base.field_metadata(
499
+ response_content_disposition: ResponseContentDisposition | None = _dc.field(default=None, metadata=_base.field_metadata(
500
500
  member_name='ResponseContentDisposition',
501
501
  serialization_name='response-content-disposition',
502
502
  shape_name='ResponseContentDisposition',
503
503
  ))
504
504
 
505
- response_content_encoding: ResponseContentEncoding = _dc.field(metadata=_base.field_metadata(
505
+ response_content_encoding: ResponseContentEncoding | None = _dc.field(default=None, metadata=_base.field_metadata(
506
506
  member_name='ResponseContentEncoding',
507
507
  serialization_name='response-content-encoding',
508
508
  shape_name='ResponseContentEncoding',
509
509
  ))
510
510
 
511
- response_content_language: ResponseContentLanguage = _dc.field(metadata=_base.field_metadata(
511
+ response_content_language: ResponseContentLanguage | None = _dc.field(default=None, metadata=_base.field_metadata(
512
512
  member_name='ResponseContentLanguage',
513
513
  serialization_name='response-content-language',
514
514
  shape_name='ResponseContentLanguage',
515
515
  ))
516
516
 
517
- response_content_type: ResponseContentType = _dc.field(metadata=_base.field_metadata(
517
+ response_content_type: ResponseContentType | None = _dc.field(default=None, metadata=_base.field_metadata(
518
518
  member_name='ResponseContentType',
519
519
  serialization_name='response-content-type',
520
520
  shape_name='ResponseContentType',
521
521
  ))
522
522
 
523
- response_expires: ResponseExpires = _dc.field(metadata=_base.field_metadata(
523
+ response_expires: ResponseExpires | None = _dc.field(default=None, metadata=_base.field_metadata(
524
524
  member_name='ResponseExpires',
525
525
  serialization_name='response-expires',
526
526
  shape_name='ResponseExpires',
527
527
  ))
528
528
 
529
- version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
529
+ version_id: ObjectVersionId | None = _dc.field(default=None, metadata=_base.field_metadata(
530
530
  member_name='VersionId',
531
531
  serialization_name='versionId',
532
532
  shape_name='ObjectVersionId',
533
533
  ))
534
534
 
535
- sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
535
+ sse_customer_algorithm: SSECustomerAlgorithm | None = _dc.field(default=None, metadata=_base.field_metadata(
536
536
  member_name='SSECustomerAlgorithm',
537
537
  serialization_name='x-amz-server-side-encryption-customer-algorithm',
538
538
  shape_name='SSECustomerAlgorithm',
539
539
  ))
540
540
 
541
- sse_customer_key: SSECustomerKey = _dc.field(metadata=_base.field_metadata(
541
+ sse_customer_key: SSECustomerKey | None = _dc.field(default=None, metadata=_base.field_metadata(
542
542
  member_name='SSECustomerKey',
543
543
  serialization_name='x-amz-server-side-encryption-customer-key',
544
544
  shape_name='SSECustomerKey',
545
545
  ))
546
546
 
547
- sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
547
+ sse_customer_key_md5: SSECustomerKeyMD5 | None = _dc.field(default=None, metadata=_base.field_metadata(
548
548
  member_name='SSECustomerKeyMD5',
549
549
  serialization_name='x-amz-server-side-encryption-customer-key-MD5',
550
550
  shape_name='SSECustomerKeyMD5',
551
551
  ))
552
552
 
553
- request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
553
+ request_payer: RequestPayer | None = _dc.field(default=None, metadata=_base.field_metadata(
554
554
  member_name='RequestPayer',
555
555
  serialization_name='x-amz-request-payer',
556
556
  shape_name='RequestPayer',
557
557
  ))
558
558
 
559
- part_number: PartNumber = _dc.field(metadata=_base.field_metadata(
559
+ part_number: PartNumber | None = _dc.field(default=None, metadata=_base.field_metadata(
560
560
  member_name='PartNumber',
561
561
  serialization_name='partNumber',
562
562
  shape_name='PartNumber',
563
563
  ))
564
564
 
565
- expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
565
+ expected_bucket_owner: AccountId | None = _dc.field(default=None, metadata=_base.field_metadata(
566
566
  member_name='ExpectedBucketOwner',
567
567
  serialization_name='x-amz-expected-bucket-owner',
568
568
  shape_name='AccountId',
569
569
  ))
570
570
 
571
- checksum_mode: ChecksumMode = _dc.field(metadata=_base.field_metadata(
571
+ checksum_mode: ChecksumMode | None = _dc.field(default=None, metadata=_base.field_metadata(
572
572
  member_name='ChecksumMode',
573
573
  serialization_name='x-amz-checksum-mode',
574
574
  shape_name='ChecksumMode',
575
575
  ))
576
576
 
577
577
 
578
- @_dc.dataclass(frozen=True)
578
+ @_dc.dataclass(frozen=True, kw_only=True)
579
579
  class InvalidObjectState(
580
580
  _base.Shape,
581
581
  shape_name='InvalidObjectState',
582
582
  ):
583
- storage_class: StorageClass = _dc.field(metadata=_base.field_metadata(
583
+ storage_class: StorageClass | None = _dc.field(default=None, metadata=_base.field_metadata(
584
584
  member_name='StorageClass',
585
585
  shape_name='StorageClass',
586
586
  ))
587
587
 
588
- access_tier: IntelligentTieringAccessTier = _dc.field(metadata=_base.field_metadata(
588
+ access_tier: IntelligentTieringAccessTier | None = _dc.field(default=None, metadata=_base.field_metadata(
589
589
  member_name='AccessTier',
590
590
  shape_name='IntelligentTieringAccessTier',
591
591
  ))
592
592
 
593
593
 
594
- @_dc.dataclass(frozen=True)
594
+ @_dc.dataclass(frozen=True, kw_only=True)
595
595
  class ListBucketsRequest(
596
596
  _base.Shape,
597
597
  shape_name='ListBucketsRequest',
598
598
  ):
599
- max_buckets: MaxBuckets = _dc.field(metadata=_base.field_metadata(
599
+ max_buckets: MaxBuckets | None = _dc.field(default=None, metadata=_base.field_metadata(
600
600
  member_name='MaxBuckets',
601
601
  serialization_name='max-buckets',
602
602
  shape_name='MaxBuckets',
603
603
  ))
604
604
 
605
- continuation_token: Token = _dc.field(metadata=_base.field_metadata(
605
+ continuation_token: Token | None = _dc.field(default=None, metadata=_base.field_metadata(
606
606
  member_name='ContinuationToken',
607
607
  serialization_name='continuation-token',
608
608
  shape_name='Token',
609
609
  ))
610
610
 
611
- prefix: Prefix = _dc.field(metadata=_base.field_metadata(
611
+ prefix: Prefix | None = _dc.field(default=None, metadata=_base.field_metadata(
612
612
  member_name='Prefix',
613
613
  serialization_name='prefix',
614
614
  shape_name='Prefix',
615
615
  ))
616
616
 
617
- bucket_region: BucketRegion = _dc.field(metadata=_base.field_metadata(
617
+ bucket_region: BucketRegion | None = _dc.field(default=None, metadata=_base.field_metadata(
618
618
  member_name='BucketRegion',
619
619
  serialization_name='bucket-region',
620
620
  shape_name='BucketRegion',
@@ -626,129 +626,129 @@ Metadata: _ta.TypeAlias = _ta.Mapping[MetadataKey, MetadataKey]
626
626
  OptionalObjectAttributesList: _ta.TypeAlias = _ta.Sequence[OptionalObjectAttributes]
627
627
 
628
628
 
629
- @_dc.dataclass(frozen=True)
629
+ @_dc.dataclass(frozen=True, kw_only=True)
630
630
  class Owner(
631
631
  _base.Shape,
632
632
  shape_name='Owner',
633
633
  ):
634
- display_name: DisplayName = _dc.field(metadata=_base.field_metadata(
634
+ display_name: DisplayName | None = _dc.field(default=None, metadata=_base.field_metadata(
635
635
  member_name='DisplayName',
636
636
  shape_name='DisplayName',
637
637
  ))
638
638
 
639
- i_d: ID = _dc.field(metadata=_base.field_metadata(
639
+ i_d: ID | None = _dc.field(default=None, metadata=_base.field_metadata(
640
640
  member_name='ID',
641
641
  shape_name='ID',
642
642
  ))
643
643
 
644
644
 
645
- @_dc.dataclass(frozen=True)
645
+ @_dc.dataclass(frozen=True, kw_only=True)
646
646
  class PutObjectOutput(
647
647
  _base.Shape,
648
648
  shape_name='PutObjectOutput',
649
649
  ):
650
- expiration: Expiration = _dc.field(metadata=_base.field_metadata(
650
+ expiration: Expiration | None = _dc.field(default=None, metadata=_base.field_metadata(
651
651
  member_name='Expiration',
652
652
  serialization_name='x-amz-expiration',
653
653
  shape_name='Expiration',
654
654
  ))
655
655
 
656
- etag: ETag = _dc.field(metadata=_base.field_metadata(
656
+ etag: ETag | None = _dc.field(default=None, metadata=_base.field_metadata(
657
657
  member_name='ETag',
658
658
  serialization_name='ETag',
659
659
  shape_name='ETag',
660
660
  ))
661
661
 
662
- checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
662
+ checksum_crc32: ChecksumCRC32 | None = _dc.field(default=None, metadata=_base.field_metadata(
663
663
  member_name='ChecksumCRC32',
664
664
  serialization_name='x-amz-checksum-crc32',
665
665
  shape_name='ChecksumCRC32',
666
666
  ))
667
667
 
668
- checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
668
+ checksum_crc32c: ChecksumCRC32C | None = _dc.field(default=None, metadata=_base.field_metadata(
669
669
  member_name='ChecksumCRC32C',
670
670
  serialization_name='x-amz-checksum-crc32c',
671
671
  shape_name='ChecksumCRC32C',
672
672
  ))
673
673
 
674
- checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
674
+ checksum_sha1: ChecksumSHA1 | None = _dc.field(default=None, metadata=_base.field_metadata(
675
675
  member_name='ChecksumSHA1',
676
676
  serialization_name='x-amz-checksum-sha1',
677
677
  shape_name='ChecksumSHA1',
678
678
  ))
679
679
 
680
- checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
680
+ checksum_sha256: ChecksumSHA256 | None = _dc.field(default=None, metadata=_base.field_metadata(
681
681
  member_name='ChecksumSHA256',
682
682
  serialization_name='x-amz-checksum-sha256',
683
683
  shape_name='ChecksumSHA256',
684
684
  ))
685
685
 
686
- server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
686
+ server_side_encryption: ServerSideEncryption | None = _dc.field(default=None, metadata=_base.field_metadata(
687
687
  member_name='ServerSideEncryption',
688
688
  serialization_name='x-amz-server-side-encryption',
689
689
  shape_name='ServerSideEncryption',
690
690
  ))
691
691
 
692
- version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
692
+ version_id: ObjectVersionId | None = _dc.field(default=None, metadata=_base.field_metadata(
693
693
  member_name='VersionId',
694
694
  serialization_name='x-amz-version-id',
695
695
  shape_name='ObjectVersionId',
696
696
  ))
697
697
 
698
- sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
698
+ sse_customer_algorithm: SSECustomerAlgorithm | None = _dc.field(default=None, metadata=_base.field_metadata(
699
699
  member_name='SSECustomerAlgorithm',
700
700
  serialization_name='x-amz-server-side-encryption-customer-algorithm',
701
701
  shape_name='SSECustomerAlgorithm',
702
702
  ))
703
703
 
704
- sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
704
+ sse_customer_key_md5: SSECustomerKeyMD5 | None = _dc.field(default=None, metadata=_base.field_metadata(
705
705
  member_name='SSECustomerKeyMD5',
706
706
  serialization_name='x-amz-server-side-encryption-customer-key-MD5',
707
707
  shape_name='SSECustomerKeyMD5',
708
708
  ))
709
709
 
710
- sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
710
+ sse_kms_key_id: SSEKMSKeyId | None = _dc.field(default=None, metadata=_base.field_metadata(
711
711
  member_name='SSEKMSKeyId',
712
712
  serialization_name='x-amz-server-side-encryption-aws-kms-key-id',
713
713
  shape_name='SSEKMSKeyId',
714
714
  ))
715
715
 
716
- sse_kms_encryption_context: SSEKMSEncryptionContext = _dc.field(metadata=_base.field_metadata(
716
+ sse_kms_encryption_context: SSEKMSEncryptionContext | None = _dc.field(default=None, metadata=_base.field_metadata(
717
717
  member_name='SSEKMSEncryptionContext',
718
718
  serialization_name='x-amz-server-side-encryption-context',
719
719
  shape_name='SSEKMSEncryptionContext',
720
720
  ))
721
721
 
722
- bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
722
+ bucket_key_enabled: BucketKeyEnabled | None = _dc.field(default=None, metadata=_base.field_metadata(
723
723
  member_name='BucketKeyEnabled',
724
724
  serialization_name='x-amz-server-side-encryption-bucket-key-enabled',
725
725
  shape_name='BucketKeyEnabled',
726
726
  ))
727
727
 
728
- size: Size = _dc.field(metadata=_base.field_metadata(
728
+ size: Size | None = _dc.field(default=None, metadata=_base.field_metadata(
729
729
  member_name='Size',
730
730
  serialization_name='x-amz-object-size',
731
731
  shape_name='Size',
732
732
  ))
733
733
 
734
- request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
734
+ request_charged: RequestCharged | None = _dc.field(default=None, metadata=_base.field_metadata(
735
735
  member_name='RequestCharged',
736
736
  serialization_name='x-amz-request-charged',
737
737
  shape_name='RequestCharged',
738
738
  ))
739
739
 
740
740
 
741
- @_dc.dataclass(frozen=True)
741
+ @_dc.dataclass(frozen=True, kw_only=True)
742
742
  class RestoreStatus(
743
743
  _base.Shape,
744
744
  shape_name='RestoreStatus',
745
745
  ):
746
- is_restore_in_progress: IsRestoreInProgress = _dc.field(metadata=_base.field_metadata(
746
+ is_restore_in_progress: IsRestoreInProgress | None = _dc.field(default=None, metadata=_base.field_metadata(
747
747
  member_name='IsRestoreInProgress',
748
748
  shape_name='IsRestoreInProgress',
749
749
  ))
750
750
 
751
- restore_expiry_date: RestoreExpiryDate = _dc.field(metadata=_base.field_metadata(
751
+ restore_expiry_date: RestoreExpiryDate | None = _dc.field(default=None, metadata=_base.field_metadata(
752
752
  member_name='RestoreExpiryDate',
753
753
  shape_name='RestoreExpiryDate',
754
754
  ))
@@ -759,228 +759,229 @@ Buckets: _ta.TypeAlias = _ta.Sequence[Bucket]
759
759
  CommonPrefixList: _ta.TypeAlias = _ta.Sequence[CommonPrefix]
760
760
 
761
761
 
762
- @_dc.dataclass(frozen=True)
762
+ @_dc.dataclass(frozen=True, kw_only=True)
763
763
  class GetObjectOutput(
764
764
  _base.Shape,
765
765
  shape_name='GetObjectOutput',
766
766
  ):
767
- body: Body = _dc.field(metadata=_base.field_metadata(
767
+ body: Body | None = _dc.field(default=None, metadata=_base.field_metadata(
768
768
  member_name='Body',
769
769
  shape_name='Body',
770
770
  ))
771
771
 
772
- delete_marker: DeleteMarker = _dc.field(metadata=_base.field_metadata(
772
+ delete_marker: DeleteMarker | None = _dc.field(default=None, metadata=_base.field_metadata(
773
773
  member_name='DeleteMarker',
774
774
  serialization_name='x-amz-delete-marker',
775
775
  shape_name='DeleteMarker',
776
776
  ))
777
777
 
778
- accept_ranges: AcceptRanges = _dc.field(metadata=_base.field_metadata(
778
+ accept_ranges: AcceptRanges | None = _dc.field(default=None, metadata=_base.field_metadata(
779
779
  member_name='AcceptRanges',
780
780
  serialization_name='accept-ranges',
781
781
  shape_name='AcceptRanges',
782
782
  ))
783
783
 
784
- expiration: Expiration = _dc.field(metadata=_base.field_metadata(
784
+ expiration: Expiration | None = _dc.field(default=None, metadata=_base.field_metadata(
785
785
  member_name='Expiration',
786
786
  serialization_name='x-amz-expiration',
787
787
  shape_name='Expiration',
788
788
  ))
789
789
 
790
- restore: Restore = _dc.field(metadata=_base.field_metadata(
790
+ restore: Restore | None = _dc.field(default=None, metadata=_base.field_metadata(
791
791
  member_name='Restore',
792
792
  serialization_name='x-amz-restore',
793
793
  shape_name='Restore',
794
794
  ))
795
795
 
796
- last_modified: LastModified = _dc.field(metadata=_base.field_metadata(
796
+ last_modified: LastModified | None = _dc.field(default=None, metadata=_base.field_metadata(
797
797
  member_name='LastModified',
798
798
  serialization_name='Last-Modified',
799
799
  shape_name='LastModified',
800
800
  ))
801
801
 
802
- content_length: ContentLength = _dc.field(metadata=_base.field_metadata(
802
+ content_length: ContentLength | None = _dc.field(default=None, metadata=_base.field_metadata(
803
803
  member_name='ContentLength',
804
804
  serialization_name='Content-Length',
805
805
  shape_name='ContentLength',
806
806
  ))
807
807
 
808
- etag: ETag = _dc.field(metadata=_base.field_metadata(
808
+ etag: ETag | None = _dc.field(default=None, metadata=_base.field_metadata(
809
809
  member_name='ETag',
810
810
  serialization_name='ETag',
811
811
  shape_name='ETag',
812
812
  ))
813
813
 
814
- checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
814
+ checksum_crc32: ChecksumCRC32 | None = _dc.field(default=None, metadata=_base.field_metadata(
815
815
  member_name='ChecksumCRC32',
816
816
  serialization_name='x-amz-checksum-crc32',
817
817
  shape_name='ChecksumCRC32',
818
818
  ))
819
819
 
820
- checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
820
+ checksum_crc32c: ChecksumCRC32C | None = _dc.field(default=None, metadata=_base.field_metadata(
821
821
  member_name='ChecksumCRC32C',
822
822
  serialization_name='x-amz-checksum-crc32c',
823
823
  shape_name='ChecksumCRC32C',
824
824
  ))
825
825
 
826
- checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
826
+ checksum_sha1: ChecksumSHA1 | None = _dc.field(default=None, metadata=_base.field_metadata(
827
827
  member_name='ChecksumSHA1',
828
828
  serialization_name='x-amz-checksum-sha1',
829
829
  shape_name='ChecksumSHA1',
830
830
  ))
831
831
 
832
- checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
832
+ checksum_sha256: ChecksumSHA256 | None = _dc.field(default=None, metadata=_base.field_metadata(
833
833
  member_name='ChecksumSHA256',
834
834
  serialization_name='x-amz-checksum-sha256',
835
835
  shape_name='ChecksumSHA256',
836
836
  ))
837
837
 
838
- missing_meta: MissingMeta = _dc.field(metadata=_base.field_metadata(
838
+ missing_meta: MissingMeta | None = _dc.field(default=None, metadata=_base.field_metadata(
839
839
  member_name='MissingMeta',
840
840
  serialization_name='x-amz-missing-meta',
841
841
  shape_name='MissingMeta',
842
842
  ))
843
843
 
844
- version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
844
+ version_id: ObjectVersionId | None = _dc.field(default=None, metadata=_base.field_metadata(
845
845
  member_name='VersionId',
846
846
  serialization_name='x-amz-version-id',
847
847
  shape_name='ObjectVersionId',
848
848
  ))
849
849
 
850
- cache_control: CacheControl = _dc.field(metadata=_base.field_metadata(
850
+ cache_control: CacheControl | None = _dc.field(default=None, metadata=_base.field_metadata(
851
851
  member_name='CacheControl',
852
852
  serialization_name='Cache-Control',
853
853
  shape_name='CacheControl',
854
854
  ))
855
855
 
856
- content_disposition: ContentDisposition = _dc.field(metadata=_base.field_metadata(
856
+ content_disposition: ContentDisposition | None = _dc.field(default=None, metadata=_base.field_metadata(
857
857
  member_name='ContentDisposition',
858
858
  serialization_name='Content-Disposition',
859
859
  shape_name='ContentDisposition',
860
860
  ))
861
861
 
862
- content_encoding: ContentEncoding = _dc.field(metadata=_base.field_metadata(
862
+ content_encoding: ContentEncoding | None = _dc.field(default=None, metadata=_base.field_metadata(
863
863
  member_name='ContentEncoding',
864
864
  serialization_name='Content-Encoding',
865
865
  shape_name='ContentEncoding',
866
866
  ))
867
867
 
868
- content_language: ContentLanguage = _dc.field(metadata=_base.field_metadata(
868
+ content_language: ContentLanguage | None = _dc.field(default=None, metadata=_base.field_metadata(
869
869
  member_name='ContentLanguage',
870
870
  serialization_name='Content-Language',
871
871
  shape_name='ContentLanguage',
872
872
  ))
873
873
 
874
- content_range: ContentRange = _dc.field(metadata=_base.field_metadata(
874
+ content_range: ContentRange | None = _dc.field(default=None, metadata=_base.field_metadata(
875
875
  member_name='ContentRange',
876
876
  serialization_name='Content-Range',
877
877
  shape_name='ContentRange',
878
878
  ))
879
879
 
880
- content_type: ContentType = _dc.field(metadata=_base.field_metadata(
880
+ content_type: ContentType | None = _dc.field(default=None, metadata=_base.field_metadata(
881
881
  member_name='ContentType',
882
882
  serialization_name='Content-Type',
883
883
  shape_name='ContentType',
884
884
  ))
885
885
 
886
- expires: Expires = _dc.field(metadata=_base.field_metadata(
886
+ expires: Expires | None = _dc.field(default=None, metadata=_base.field_metadata(
887
887
  member_name='Expires',
888
888
  serialization_name='Expires',
889
889
  shape_name='Expires',
890
890
  ))
891
891
 
892
- website_redirect_location: WebsiteRedirectLocation = _dc.field(metadata=_base.field_metadata(
892
+ website_redirect_location: WebsiteRedirectLocation | None = _dc.field(default=None, metadata=_base.field_metadata(
893
893
  member_name='WebsiteRedirectLocation',
894
894
  serialization_name='x-amz-website-redirect-location',
895
895
  shape_name='WebsiteRedirectLocation',
896
896
  ))
897
897
 
898
- server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
898
+ server_side_encryption: ServerSideEncryption | None = _dc.field(default=None, metadata=_base.field_metadata(
899
899
  member_name='ServerSideEncryption',
900
900
  serialization_name='x-amz-server-side-encryption',
901
901
  shape_name='ServerSideEncryption',
902
902
  ))
903
903
 
904
- metadata: Metadata = _dc.field(metadata=_base.field_metadata(
904
+ metadata: Metadata | None = _dc.field(default=None, metadata=_base.field_metadata(
905
905
  member_name='Metadata',
906
906
  serialization_name='x-amz-meta-',
907
+ value_type=_base.MapValueType(MetadataKey, MetadataValue),
907
908
  shape_name='Metadata',
908
909
  ))
909
910
 
910
- sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
911
+ sse_customer_algorithm: SSECustomerAlgorithm | None = _dc.field(default=None, metadata=_base.field_metadata(
911
912
  member_name='SSECustomerAlgorithm',
912
913
  serialization_name='x-amz-server-side-encryption-customer-algorithm',
913
914
  shape_name='SSECustomerAlgorithm',
914
915
  ))
915
916
 
916
- sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
917
+ sse_customer_key_md5: SSECustomerKeyMD5 | None = _dc.field(default=None, metadata=_base.field_metadata(
917
918
  member_name='SSECustomerKeyMD5',
918
919
  serialization_name='x-amz-server-side-encryption-customer-key-MD5',
919
920
  shape_name='SSECustomerKeyMD5',
920
921
  ))
921
922
 
922
- sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
923
+ sse_kms_key_id: SSEKMSKeyId | None = _dc.field(default=None, metadata=_base.field_metadata(
923
924
  member_name='SSEKMSKeyId',
924
925
  serialization_name='x-amz-server-side-encryption-aws-kms-key-id',
925
926
  shape_name='SSEKMSKeyId',
926
927
  ))
927
928
 
928
- bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
929
+ bucket_key_enabled: BucketKeyEnabled | None = _dc.field(default=None, metadata=_base.field_metadata(
929
930
  member_name='BucketKeyEnabled',
930
931
  serialization_name='x-amz-server-side-encryption-bucket-key-enabled',
931
932
  shape_name='BucketKeyEnabled',
932
933
  ))
933
934
 
934
- storage_class: StorageClass = _dc.field(metadata=_base.field_metadata(
935
+ storage_class: StorageClass | None = _dc.field(default=None, metadata=_base.field_metadata(
935
936
  member_name='StorageClass',
936
937
  serialization_name='x-amz-storage-class',
937
938
  shape_name='StorageClass',
938
939
  ))
939
940
 
940
- request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
941
+ request_charged: RequestCharged | None = _dc.field(default=None, metadata=_base.field_metadata(
941
942
  member_name='RequestCharged',
942
943
  serialization_name='x-amz-request-charged',
943
944
  shape_name='RequestCharged',
944
945
  ))
945
946
 
946
- replication_status: ReplicationStatus = _dc.field(metadata=_base.field_metadata(
947
+ replication_status: ReplicationStatus | None = _dc.field(default=None, metadata=_base.field_metadata(
947
948
  member_name='ReplicationStatus',
948
949
  serialization_name='x-amz-replication-status',
949
950
  shape_name='ReplicationStatus',
950
951
  ))
951
952
 
952
- parts_count: PartsCount = _dc.field(metadata=_base.field_metadata(
953
+ parts_count: PartsCount | None = _dc.field(default=None, metadata=_base.field_metadata(
953
954
  member_name='PartsCount',
954
955
  serialization_name='x-amz-mp-parts-count',
955
956
  shape_name='PartsCount',
956
957
  ))
957
958
 
958
- tag_count: TagCount = _dc.field(metadata=_base.field_metadata(
959
+ tag_count: TagCount | None = _dc.field(default=None, metadata=_base.field_metadata(
959
960
  member_name='TagCount',
960
961
  serialization_name='x-amz-tagging-count',
961
962
  shape_name='TagCount',
962
963
  ))
963
964
 
964
- object_lock_mode: ObjectLockMode = _dc.field(metadata=_base.field_metadata(
965
+ object_lock_mode: ObjectLockMode | None = _dc.field(default=None, metadata=_base.field_metadata(
965
966
  member_name='ObjectLockMode',
966
967
  serialization_name='x-amz-object-lock-mode',
967
968
  shape_name='ObjectLockMode',
968
969
  ))
969
970
 
970
- object_lock_retain_until_date: ObjectLockRetainUntilDate = _dc.field(metadata=_base.field_metadata(
971
+ object_lock_retain_until_date: ObjectLockRetainUntilDate | None = _dc.field(default=None, metadata=_base.field_metadata(
971
972
  member_name='ObjectLockRetainUntilDate',
972
973
  serialization_name='x-amz-object-lock-retain-until-date',
973
974
  shape_name='ObjectLockRetainUntilDate',
974
975
  ))
975
976
 
976
- object_lock_legal_hold_status: ObjectLockLegalHoldStatus = _dc.field(metadata=_base.field_metadata(
977
+ object_lock_legal_hold_status: ObjectLockLegalHoldStatus | None = _dc.field(default=None, metadata=_base.field_metadata(
977
978
  member_name='ObjectLockLegalHoldStatus',
978
979
  serialization_name='x-amz-object-lock-legal-hold',
979
980
  shape_name='ObjectLockLegalHoldStatus',
980
981
  ))
981
982
 
982
983
 
983
- @_dc.dataclass(frozen=True)
984
+ @_dc.dataclass(frozen=True, kw_only=True)
984
985
  class ListObjectsV2Request(
985
986
  _base.Shape,
986
987
  shape_name='ListObjectsV2Request',
@@ -991,125 +992,127 @@ class ListObjectsV2Request(
991
992
  shape_name='BucketName',
992
993
  ))
993
994
 
994
- delimiter: Delimiter = _dc.field(metadata=_base.field_metadata(
995
+ delimiter: Delimiter | None = _dc.field(default=None, metadata=_base.field_metadata(
995
996
  member_name='Delimiter',
996
997
  serialization_name='delimiter',
997
998
  shape_name='Delimiter',
998
999
  ))
999
1000
 
1000
- encoding_type: EncodingType = _dc.field(metadata=_base.field_metadata(
1001
+ encoding_type: EncodingType | None = _dc.field(default=None, metadata=_base.field_metadata(
1001
1002
  member_name='EncodingType',
1002
1003
  serialization_name='encoding-type',
1003
1004
  shape_name='EncodingType',
1004
1005
  ))
1005
1006
 
1006
- max_keys: MaxKeys = _dc.field(metadata=_base.field_metadata(
1007
+ max_keys: MaxKeys | None = _dc.field(default=None, metadata=_base.field_metadata(
1007
1008
  member_name='MaxKeys',
1008
1009
  serialization_name='max-keys',
1009
1010
  shape_name='MaxKeys',
1010
1011
  ))
1011
1012
 
1012
- prefix: Prefix = _dc.field(metadata=_base.field_metadata(
1013
+ prefix: Prefix | None = _dc.field(default=None, metadata=_base.field_metadata(
1013
1014
  member_name='Prefix',
1014
1015
  serialization_name='prefix',
1015
1016
  shape_name='Prefix',
1016
1017
  ))
1017
1018
 
1018
- continuation_token: Token = _dc.field(metadata=_base.field_metadata(
1019
+ continuation_token: Token | None = _dc.field(default=None, metadata=_base.field_metadata(
1019
1020
  member_name='ContinuationToken',
1020
1021
  serialization_name='continuation-token',
1021
1022
  shape_name='Token',
1022
1023
  ))
1023
1024
 
1024
- fetch_owner: FetchOwner = _dc.field(metadata=_base.field_metadata(
1025
+ fetch_owner: FetchOwner | None = _dc.field(default=None, metadata=_base.field_metadata(
1025
1026
  member_name='FetchOwner',
1026
1027
  serialization_name='fetch-owner',
1027
1028
  shape_name='FetchOwner',
1028
1029
  ))
1029
1030
 
1030
- start_after: StartAfter = _dc.field(metadata=_base.field_metadata(
1031
+ start_after: StartAfter | None = _dc.field(default=None, metadata=_base.field_metadata(
1031
1032
  member_name='StartAfter',
1032
1033
  serialization_name='start-after',
1033
1034
  shape_name='StartAfter',
1034
1035
  ))
1035
1036
 
1036
- request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
1037
+ request_payer: RequestPayer | None = _dc.field(default=None, metadata=_base.field_metadata(
1037
1038
  member_name='RequestPayer',
1038
1039
  serialization_name='x-amz-request-payer',
1039
1040
  shape_name='RequestPayer',
1040
1041
  ))
1041
1042
 
1042
- expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
1043
+ expected_bucket_owner: AccountId | None = _dc.field(default=None, metadata=_base.field_metadata(
1043
1044
  member_name='ExpectedBucketOwner',
1044
1045
  serialization_name='x-amz-expected-bucket-owner',
1045
1046
  shape_name='AccountId',
1046
1047
  ))
1047
1048
 
1048
- optional_object_attributes: OptionalObjectAttributesList = _dc.field(metadata=_base.field_metadata(
1049
+ optional_object_attributes: OptionalObjectAttributesList | None = _dc.field(default=None, metadata=_base.field_metadata(
1049
1050
  member_name='OptionalObjectAttributes',
1050
1051
  serialization_name='x-amz-optional-object-attributes',
1052
+ value_type=_base.ListValueType(OptionalObjectAttributes),
1051
1053
  shape_name='OptionalObjectAttributesList',
1052
1054
  ))
1053
1055
 
1054
1056
 
1055
- @_dc.dataclass(frozen=True)
1057
+ @_dc.dataclass(frozen=True, kw_only=True)
1056
1058
  class Object(
1057
1059
  _base.Shape,
1058
1060
  shape_name='Object',
1059
1061
  ):
1060
- key: ObjectKey = _dc.field(metadata=_base.field_metadata(
1062
+ key: ObjectKey | None = _dc.field(default=None, metadata=_base.field_metadata(
1061
1063
  member_name='Key',
1062
1064
  shape_name='ObjectKey',
1063
1065
  ))
1064
1066
 
1065
- last_modified: LastModified = _dc.field(metadata=_base.field_metadata(
1067
+ last_modified: LastModified | None = _dc.field(default=None, metadata=_base.field_metadata(
1066
1068
  member_name='LastModified',
1067
1069
  shape_name='LastModified',
1068
1070
  ))
1069
1071
 
1070
- etag: ETag = _dc.field(metadata=_base.field_metadata(
1072
+ etag: ETag | None = _dc.field(default=None, metadata=_base.field_metadata(
1071
1073
  member_name='ETag',
1072
1074
  shape_name='ETag',
1073
1075
  ))
1074
1076
 
1075
- checksum_algorithm: ChecksumAlgorithmList = _dc.field(metadata=_base.field_metadata(
1077
+ checksum_algorithm: ChecksumAlgorithmList | None = _dc.field(default=None, metadata=_base.field_metadata(
1076
1078
  member_name='ChecksumAlgorithm',
1079
+ value_type=_base.ListValueType(ChecksumAlgorithm),
1077
1080
  shape_name='ChecksumAlgorithmList',
1078
1081
  ))
1079
1082
 
1080
- size: Size = _dc.field(metadata=_base.field_metadata(
1083
+ size: Size | None = _dc.field(default=None, metadata=_base.field_metadata(
1081
1084
  member_name='Size',
1082
1085
  shape_name='Size',
1083
1086
  ))
1084
1087
 
1085
- storage_class: ObjectStorageClass = _dc.field(metadata=_base.field_metadata(
1088
+ storage_class: ObjectStorageClass | None = _dc.field(default=None, metadata=_base.field_metadata(
1086
1089
  member_name='StorageClass',
1087
1090
  shape_name='ObjectStorageClass',
1088
1091
  ))
1089
1092
 
1090
- owner: Owner = _dc.field(metadata=_base.field_metadata(
1093
+ owner: Owner | None = _dc.field(default=None, metadata=_base.field_metadata(
1091
1094
  member_name='Owner',
1092
1095
  shape_name='Owner',
1093
1096
  ))
1094
1097
 
1095
- restore_status: RestoreStatus = _dc.field(metadata=_base.field_metadata(
1098
+ restore_status: RestoreStatus | None = _dc.field(default=None, metadata=_base.field_metadata(
1096
1099
  member_name='RestoreStatus',
1097
1100
  shape_name='RestoreStatus',
1098
1101
  ))
1099
1102
 
1100
1103
 
1101
- @_dc.dataclass(frozen=True)
1104
+ @_dc.dataclass(frozen=True, kw_only=True)
1102
1105
  class PutObjectRequest(
1103
1106
  _base.Shape,
1104
1107
  shape_name='PutObjectRequest',
1105
1108
  ):
1106
- acl: ObjectCannedACL = _dc.field(metadata=_base.field_metadata(
1109
+ acl: ObjectCannedACL | None = _dc.field(default=None, metadata=_base.field_metadata(
1107
1110
  member_name='ACL',
1108
1111
  serialization_name='x-amz-acl',
1109
1112
  shape_name='ObjectCannedACL',
1110
1113
  ))
1111
1114
 
1112
- body: Body = _dc.field(metadata=_base.field_metadata(
1115
+ body: Body | None = _dc.field(default=None, metadata=_base.field_metadata(
1113
1116
  member_name='Body',
1114
1117
  shape_name='Body',
1115
1118
  ))
@@ -1120,115 +1123,115 @@ class PutObjectRequest(
1120
1123
  shape_name='BucketName',
1121
1124
  ))
1122
1125
 
1123
- cache_control: CacheControl = _dc.field(metadata=_base.field_metadata(
1126
+ cache_control: CacheControl | None = _dc.field(default=None, metadata=_base.field_metadata(
1124
1127
  member_name='CacheControl',
1125
1128
  serialization_name='Cache-Control',
1126
1129
  shape_name='CacheControl',
1127
1130
  ))
1128
1131
 
1129
- content_disposition: ContentDisposition = _dc.field(metadata=_base.field_metadata(
1132
+ content_disposition: ContentDisposition | None = _dc.field(default=None, metadata=_base.field_metadata(
1130
1133
  member_name='ContentDisposition',
1131
1134
  serialization_name='Content-Disposition',
1132
1135
  shape_name='ContentDisposition',
1133
1136
  ))
1134
1137
 
1135
- content_encoding: ContentEncoding = _dc.field(metadata=_base.field_metadata(
1138
+ content_encoding: ContentEncoding | None = _dc.field(default=None, metadata=_base.field_metadata(
1136
1139
  member_name='ContentEncoding',
1137
1140
  serialization_name='Content-Encoding',
1138
1141
  shape_name='ContentEncoding',
1139
1142
  ))
1140
1143
 
1141
- content_language: ContentLanguage = _dc.field(metadata=_base.field_metadata(
1144
+ content_language: ContentLanguage | None = _dc.field(default=None, metadata=_base.field_metadata(
1142
1145
  member_name='ContentLanguage',
1143
1146
  serialization_name='Content-Language',
1144
1147
  shape_name='ContentLanguage',
1145
1148
  ))
1146
1149
 
1147
- content_length: ContentLength = _dc.field(metadata=_base.field_metadata(
1150
+ content_length: ContentLength | None = _dc.field(default=None, metadata=_base.field_metadata(
1148
1151
  member_name='ContentLength',
1149
1152
  serialization_name='Content-Length',
1150
1153
  shape_name='ContentLength',
1151
1154
  ))
1152
1155
 
1153
- content_md5: ContentMD5 = _dc.field(metadata=_base.field_metadata(
1156
+ content_md5: ContentMD5 | None = _dc.field(default=None, metadata=_base.field_metadata(
1154
1157
  member_name='ContentMD5',
1155
1158
  serialization_name='Content-MD5',
1156
1159
  shape_name='ContentMD5',
1157
1160
  ))
1158
1161
 
1159
- content_type: ContentType = _dc.field(metadata=_base.field_metadata(
1162
+ content_type: ContentType | None = _dc.field(default=None, metadata=_base.field_metadata(
1160
1163
  member_name='ContentType',
1161
1164
  serialization_name='Content-Type',
1162
1165
  shape_name='ContentType',
1163
1166
  ))
1164
1167
 
1165
- checksum_algorithm: ChecksumAlgorithm = _dc.field(metadata=_base.field_metadata(
1168
+ checksum_algorithm: ChecksumAlgorithm | None = _dc.field(default=None, metadata=_base.field_metadata(
1166
1169
  member_name='ChecksumAlgorithm',
1167
1170
  serialization_name='x-amz-sdk-checksum-algorithm',
1168
1171
  shape_name='ChecksumAlgorithm',
1169
1172
  ))
1170
1173
 
1171
- checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
1174
+ checksum_crc32: ChecksumCRC32 | None = _dc.field(default=None, metadata=_base.field_metadata(
1172
1175
  member_name='ChecksumCRC32',
1173
1176
  serialization_name='x-amz-checksum-crc32',
1174
1177
  shape_name='ChecksumCRC32',
1175
1178
  ))
1176
1179
 
1177
- checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
1180
+ checksum_crc32c: ChecksumCRC32C | None = _dc.field(default=None, metadata=_base.field_metadata(
1178
1181
  member_name='ChecksumCRC32C',
1179
1182
  serialization_name='x-amz-checksum-crc32c',
1180
1183
  shape_name='ChecksumCRC32C',
1181
1184
  ))
1182
1185
 
1183
- checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
1186
+ checksum_sha1: ChecksumSHA1 | None = _dc.field(default=None, metadata=_base.field_metadata(
1184
1187
  member_name='ChecksumSHA1',
1185
1188
  serialization_name='x-amz-checksum-sha1',
1186
1189
  shape_name='ChecksumSHA1',
1187
1190
  ))
1188
1191
 
1189
- checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
1192
+ checksum_sha256: ChecksumSHA256 | None = _dc.field(default=None, metadata=_base.field_metadata(
1190
1193
  member_name='ChecksumSHA256',
1191
1194
  serialization_name='x-amz-checksum-sha256',
1192
1195
  shape_name='ChecksumSHA256',
1193
1196
  ))
1194
1197
 
1195
- expires: Expires = _dc.field(metadata=_base.field_metadata(
1198
+ expires: Expires | None = _dc.field(default=None, metadata=_base.field_metadata(
1196
1199
  member_name='Expires',
1197
1200
  serialization_name='Expires',
1198
1201
  shape_name='Expires',
1199
1202
  ))
1200
1203
 
1201
- if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
1204
+ if_match: IfMatch | None = _dc.field(default=None, metadata=_base.field_metadata(
1202
1205
  member_name='IfMatch',
1203
1206
  serialization_name='If-Match',
1204
1207
  shape_name='IfMatch',
1205
1208
  ))
1206
1209
 
1207
- if_none_match: IfNoneMatch = _dc.field(metadata=_base.field_metadata(
1210
+ if_none_match: IfNoneMatch | None = _dc.field(default=None, metadata=_base.field_metadata(
1208
1211
  member_name='IfNoneMatch',
1209
1212
  serialization_name='If-None-Match',
1210
1213
  shape_name='IfNoneMatch',
1211
1214
  ))
1212
1215
 
1213
- grant_full_control: GrantFullControl = _dc.field(metadata=_base.field_metadata(
1216
+ grant_full_control: GrantFullControl | None = _dc.field(default=None, metadata=_base.field_metadata(
1214
1217
  member_name='GrantFullControl',
1215
1218
  serialization_name='x-amz-grant-full-control',
1216
1219
  shape_name='GrantFullControl',
1217
1220
  ))
1218
1221
 
1219
- grant_read: GrantRead = _dc.field(metadata=_base.field_metadata(
1222
+ grant_read: GrantRead | None = _dc.field(default=None, metadata=_base.field_metadata(
1220
1223
  member_name='GrantRead',
1221
1224
  serialization_name='x-amz-grant-read',
1222
1225
  shape_name='GrantRead',
1223
1226
  ))
1224
1227
 
1225
- grant_read_acp: GrantReadACP = _dc.field(metadata=_base.field_metadata(
1228
+ grant_read_acp: GrantReadACP | None = _dc.field(default=None, metadata=_base.field_metadata(
1226
1229
  member_name='GrantReadACP',
1227
1230
  serialization_name='x-amz-grant-read-acp',
1228
1231
  shape_name='GrantReadACP',
1229
1232
  ))
1230
1233
 
1231
- grant_write_acp: GrantWriteACP = _dc.field(metadata=_base.field_metadata(
1234
+ grant_write_acp: GrantWriteACP | None = _dc.field(default=None, metadata=_base.field_metadata(
1232
1235
  member_name='GrantWriteACP',
1233
1236
  serialization_name='x-amz-grant-write-acp',
1234
1237
  shape_name='GrantWriteACP',
@@ -1240,130 +1243,132 @@ class PutObjectRequest(
1240
1243
  shape_name='ObjectKey',
1241
1244
  ))
1242
1245
 
1243
- write_offset_bytes: WriteOffsetBytes = _dc.field(metadata=_base.field_metadata(
1246
+ write_offset_bytes: WriteOffsetBytes | None = _dc.field(default=None, metadata=_base.field_metadata(
1244
1247
  member_name='WriteOffsetBytes',
1245
1248
  serialization_name='x-amz-write-offset-bytes',
1246
1249
  shape_name='WriteOffsetBytes',
1247
1250
  ))
1248
1251
 
1249
- metadata: Metadata = _dc.field(metadata=_base.field_metadata(
1252
+ metadata: Metadata | None = _dc.field(default=None, metadata=_base.field_metadata(
1250
1253
  member_name='Metadata',
1251
1254
  serialization_name='x-amz-meta-',
1255
+ value_type=_base.MapValueType(MetadataKey, MetadataValue),
1252
1256
  shape_name='Metadata',
1253
1257
  ))
1254
1258
 
1255
- server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
1259
+ server_side_encryption: ServerSideEncryption | None = _dc.field(default=None, metadata=_base.field_metadata(
1256
1260
  member_name='ServerSideEncryption',
1257
1261
  serialization_name='x-amz-server-side-encryption',
1258
1262
  shape_name='ServerSideEncryption',
1259
1263
  ))
1260
1264
 
1261
- storage_class: StorageClass = _dc.field(metadata=_base.field_metadata(
1265
+ storage_class: StorageClass | None = _dc.field(default=None, metadata=_base.field_metadata(
1262
1266
  member_name='StorageClass',
1263
1267
  serialization_name='x-amz-storage-class',
1264
1268
  shape_name='StorageClass',
1265
1269
  ))
1266
1270
 
1267
- website_redirect_location: WebsiteRedirectLocation = _dc.field(metadata=_base.field_metadata(
1271
+ website_redirect_location: WebsiteRedirectLocation | None = _dc.field(default=None, metadata=_base.field_metadata(
1268
1272
  member_name='WebsiteRedirectLocation',
1269
1273
  serialization_name='x-amz-website-redirect-location',
1270
1274
  shape_name='WebsiteRedirectLocation',
1271
1275
  ))
1272
1276
 
1273
- sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
1277
+ sse_customer_algorithm: SSECustomerAlgorithm | None = _dc.field(default=None, metadata=_base.field_metadata(
1274
1278
  member_name='SSECustomerAlgorithm',
1275
1279
  serialization_name='x-amz-server-side-encryption-customer-algorithm',
1276
1280
  shape_name='SSECustomerAlgorithm',
1277
1281
  ))
1278
1282
 
1279
- sse_customer_key: SSECustomerKey = _dc.field(metadata=_base.field_metadata(
1283
+ sse_customer_key: SSECustomerKey | None = _dc.field(default=None, metadata=_base.field_metadata(
1280
1284
  member_name='SSECustomerKey',
1281
1285
  serialization_name='x-amz-server-side-encryption-customer-key',
1282
1286
  shape_name='SSECustomerKey',
1283
1287
  ))
1284
1288
 
1285
- sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
1289
+ sse_customer_key_md5: SSECustomerKeyMD5 | None = _dc.field(default=None, metadata=_base.field_metadata(
1286
1290
  member_name='SSECustomerKeyMD5',
1287
1291
  serialization_name='x-amz-server-side-encryption-customer-key-MD5',
1288
1292
  shape_name='SSECustomerKeyMD5',
1289
1293
  ))
1290
1294
 
1291
- sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
1295
+ sse_kms_key_id: SSEKMSKeyId | None = _dc.field(default=None, metadata=_base.field_metadata(
1292
1296
  member_name='SSEKMSKeyId',
1293
1297
  serialization_name='x-amz-server-side-encryption-aws-kms-key-id',
1294
1298
  shape_name='SSEKMSKeyId',
1295
1299
  ))
1296
1300
 
1297
- sse_kms_encryption_context: SSEKMSEncryptionContext = _dc.field(metadata=_base.field_metadata(
1301
+ sse_kms_encryption_context: SSEKMSEncryptionContext | None = _dc.field(default=None, metadata=_base.field_metadata(
1298
1302
  member_name='SSEKMSEncryptionContext',
1299
1303
  serialization_name='x-amz-server-side-encryption-context',
1300
1304
  shape_name='SSEKMSEncryptionContext',
1301
1305
  ))
1302
1306
 
1303
- bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
1307
+ bucket_key_enabled: BucketKeyEnabled | None = _dc.field(default=None, metadata=_base.field_metadata(
1304
1308
  member_name='BucketKeyEnabled',
1305
1309
  serialization_name='x-amz-server-side-encryption-bucket-key-enabled',
1306
1310
  shape_name='BucketKeyEnabled',
1307
1311
  ))
1308
1312
 
1309
- request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
1313
+ request_payer: RequestPayer | None = _dc.field(default=None, metadata=_base.field_metadata(
1310
1314
  member_name='RequestPayer',
1311
1315
  serialization_name='x-amz-request-payer',
1312
1316
  shape_name='RequestPayer',
1313
1317
  ))
1314
1318
 
1315
- tagging: TaggingHeader = _dc.field(metadata=_base.field_metadata(
1319
+ tagging: TaggingHeader | None = _dc.field(default=None, metadata=_base.field_metadata(
1316
1320
  member_name='Tagging',
1317
1321
  serialization_name='x-amz-tagging',
1318
1322
  shape_name='TaggingHeader',
1319
1323
  ))
1320
1324
 
1321
- object_lock_mode: ObjectLockMode = _dc.field(metadata=_base.field_metadata(
1325
+ object_lock_mode: ObjectLockMode | None = _dc.field(default=None, metadata=_base.field_metadata(
1322
1326
  member_name='ObjectLockMode',
1323
1327
  serialization_name='x-amz-object-lock-mode',
1324
1328
  shape_name='ObjectLockMode',
1325
1329
  ))
1326
1330
 
1327
- object_lock_retain_until_date: ObjectLockRetainUntilDate = _dc.field(metadata=_base.field_metadata(
1331
+ object_lock_retain_until_date: ObjectLockRetainUntilDate | None = _dc.field(default=None, metadata=_base.field_metadata(
1328
1332
  member_name='ObjectLockRetainUntilDate',
1329
1333
  serialization_name='x-amz-object-lock-retain-until-date',
1330
1334
  shape_name='ObjectLockRetainUntilDate',
1331
1335
  ))
1332
1336
 
1333
- object_lock_legal_hold_status: ObjectLockLegalHoldStatus = _dc.field(metadata=_base.field_metadata(
1337
+ object_lock_legal_hold_status: ObjectLockLegalHoldStatus | None = _dc.field(default=None, metadata=_base.field_metadata(
1334
1338
  member_name='ObjectLockLegalHoldStatus',
1335
1339
  serialization_name='x-amz-object-lock-legal-hold',
1336
1340
  shape_name='ObjectLockLegalHoldStatus',
1337
1341
  ))
1338
1342
 
1339
- expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
1343
+ expected_bucket_owner: AccountId | None = _dc.field(default=None, metadata=_base.field_metadata(
1340
1344
  member_name='ExpectedBucketOwner',
1341
1345
  serialization_name='x-amz-expected-bucket-owner',
1342
1346
  shape_name='AccountId',
1343
1347
  ))
1344
1348
 
1345
1349
 
1346
- @_dc.dataclass(frozen=True)
1350
+ @_dc.dataclass(frozen=True, kw_only=True)
1347
1351
  class ListBucketsOutput(
1348
1352
  _base.Shape,
1349
1353
  shape_name='ListBucketsOutput',
1350
1354
  ):
1351
- buckets: Buckets = _dc.field(metadata=_base.field_metadata(
1355
+ buckets: Buckets | None = _dc.field(default=None, metadata=_base.field_metadata(
1352
1356
  member_name='Buckets',
1357
+ value_type=_base.ListValueType(Bucket),
1353
1358
  shape_name='Buckets',
1354
1359
  ))
1355
1360
 
1356
- owner: Owner = _dc.field(metadata=_base.field_metadata(
1361
+ owner: Owner | None = _dc.field(default=None, metadata=_base.field_metadata(
1357
1362
  member_name='Owner',
1358
1363
  shape_name='Owner',
1359
1364
  ))
1360
1365
 
1361
- continuation_token: NextToken = _dc.field(metadata=_base.field_metadata(
1366
+ continuation_token: NextToken | None = _dc.field(default=None, metadata=_base.field_metadata(
1362
1367
  member_name='ContinuationToken',
1363
1368
  shape_name='NextToken',
1364
1369
  ))
1365
1370
 
1366
- prefix: Prefix = _dc.field(metadata=_base.field_metadata(
1371
+ prefix: Prefix | None = _dc.field(default=None, metadata=_base.field_metadata(
1367
1372
  member_name='Prefix',
1368
1373
  shape_name='Prefix',
1369
1374
  ))
@@ -1372,72 +1377,74 @@ class ListBucketsOutput(
1372
1377
  ObjectList: _ta.TypeAlias = _ta.Sequence[Object]
1373
1378
 
1374
1379
 
1375
- @_dc.dataclass(frozen=True)
1380
+ @_dc.dataclass(frozen=True, kw_only=True)
1376
1381
  class ListObjectsV2Output(
1377
1382
  _base.Shape,
1378
1383
  shape_name='ListObjectsV2Output',
1379
1384
  ):
1380
- is_truncated: IsTruncated = _dc.field(metadata=_base.field_metadata(
1385
+ is_truncated: IsTruncated | None = _dc.field(default=None, metadata=_base.field_metadata(
1381
1386
  member_name='IsTruncated',
1382
1387
  shape_name='IsTruncated',
1383
1388
  ))
1384
1389
 
1385
- contents: ObjectList = _dc.field(metadata=_base.field_metadata(
1390
+ contents: ObjectList | None = _dc.field(default=None, metadata=_base.field_metadata(
1386
1391
  member_name='Contents',
1392
+ value_type=_base.ListValueType(Object),
1387
1393
  shape_name='ObjectList',
1388
1394
  ))
1389
1395
 
1390
- name: BucketName = _dc.field(metadata=_base.field_metadata(
1396
+ name: BucketName | None = _dc.field(default=None, metadata=_base.field_metadata(
1391
1397
  member_name='Name',
1392
1398
  shape_name='BucketName',
1393
1399
  ))
1394
1400
 
1395
- prefix: Prefix = _dc.field(metadata=_base.field_metadata(
1401
+ prefix: Prefix | None = _dc.field(default=None, metadata=_base.field_metadata(
1396
1402
  member_name='Prefix',
1397
1403
  shape_name='Prefix',
1398
1404
  ))
1399
1405
 
1400
- delimiter: Delimiter = _dc.field(metadata=_base.field_metadata(
1406
+ delimiter: Delimiter | None = _dc.field(default=None, metadata=_base.field_metadata(
1401
1407
  member_name='Delimiter',
1402
1408
  shape_name='Delimiter',
1403
1409
  ))
1404
1410
 
1405
- max_keys: MaxKeys = _dc.field(metadata=_base.field_metadata(
1411
+ max_keys: MaxKeys | None = _dc.field(default=None, metadata=_base.field_metadata(
1406
1412
  member_name='MaxKeys',
1407
1413
  shape_name='MaxKeys',
1408
1414
  ))
1409
1415
 
1410
- common_prefixes: CommonPrefixList = _dc.field(metadata=_base.field_metadata(
1416
+ common_prefixes: CommonPrefixList | None = _dc.field(default=None, metadata=_base.field_metadata(
1411
1417
  member_name='CommonPrefixes',
1418
+ value_type=_base.ListValueType(CommonPrefix),
1412
1419
  shape_name='CommonPrefixList',
1413
1420
  ))
1414
1421
 
1415
- encoding_type: EncodingType = _dc.field(metadata=_base.field_metadata(
1422
+ encoding_type: EncodingType | None = _dc.field(default=None, metadata=_base.field_metadata(
1416
1423
  member_name='EncodingType',
1417
1424
  shape_name='EncodingType',
1418
1425
  ))
1419
1426
 
1420
- key_count: KeyCount = _dc.field(metadata=_base.field_metadata(
1427
+ key_count: KeyCount | None = _dc.field(default=None, metadata=_base.field_metadata(
1421
1428
  member_name='KeyCount',
1422
1429
  shape_name='KeyCount',
1423
1430
  ))
1424
1431
 
1425
- continuation_token: Token = _dc.field(metadata=_base.field_metadata(
1432
+ continuation_token: Token | None = _dc.field(default=None, metadata=_base.field_metadata(
1426
1433
  member_name='ContinuationToken',
1427
1434
  shape_name='Token',
1428
1435
  ))
1429
1436
 
1430
- next_continuation_token: NextToken = _dc.field(metadata=_base.field_metadata(
1437
+ next_continuation_token: NextToken | None = _dc.field(default=None, metadata=_base.field_metadata(
1431
1438
  member_name='NextContinuationToken',
1432
1439
  shape_name='NextToken',
1433
1440
  ))
1434
1441
 
1435
- start_after: StartAfter = _dc.field(metadata=_base.field_metadata(
1442
+ start_after: StartAfter | None = _dc.field(default=None, metadata=_base.field_metadata(
1436
1443
  member_name='StartAfter',
1437
1444
  shape_name='StartAfter',
1438
1445
  ))
1439
1446
 
1440
- request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
1447
+ request_charged: RequestCharged | None = _dc.field(default=None, metadata=_base.field_metadata(
1441
1448
  member_name='RequestCharged',
1442
1449
  serialization_name='x-amz-request-charged',
1443
1450
  shape_name='RequestCharged',