localstack-core 4.10.1.dev7__py3-none-any.whl → 4.10.1.dev42__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. localstack/aws/api/acm/__init__.py +122 -122
  2. localstack/aws/api/apigateway/__init__.py +560 -559
  3. localstack/aws/api/cloudcontrol/__init__.py +63 -63
  4. localstack/aws/api/cloudformation/__init__.py +1040 -969
  5. localstack/aws/api/cloudwatch/__init__.py +375 -375
  6. localstack/aws/api/config/__init__.py +784 -786
  7. localstack/aws/api/dynamodb/__init__.py +753 -759
  8. localstack/aws/api/dynamodbstreams/__init__.py +74 -74
  9. localstack/aws/api/ec2/__init__.py +8901 -8818
  10. localstack/aws/api/es/__init__.py +453 -453
  11. localstack/aws/api/events/__init__.py +552 -552
  12. localstack/aws/api/firehose/__init__.py +541 -543
  13. localstack/aws/api/iam/__init__.py +639 -572
  14. localstack/aws/api/kinesis/__init__.py +235 -147
  15. localstack/aws/api/kms/__init__.py +340 -336
  16. localstack/aws/api/lambda_/__init__.py +574 -573
  17. localstack/aws/api/logs/__init__.py +676 -675
  18. localstack/aws/api/opensearch/__init__.py +814 -785
  19. localstack/aws/api/pipes/__init__.py +336 -336
  20. localstack/aws/api/redshift/__init__.py +1188 -1166
  21. localstack/aws/api/resource_groups/__init__.py +175 -175
  22. localstack/aws/api/resourcegroupstaggingapi/__init__.py +67 -67
  23. localstack/aws/api/route53/__init__.py +254 -254
  24. localstack/aws/api/route53resolver/__init__.py +396 -396
  25. localstack/aws/api/s3/__init__.py +1350 -1349
  26. localstack/aws/api/s3control/__init__.py +594 -594
  27. localstack/aws/api/scheduler/__init__.py +118 -118
  28. localstack/aws/api/secretsmanager/__init__.py +193 -193
  29. localstack/aws/api/ses/__init__.py +227 -227
  30. localstack/aws/api/sns/__init__.py +115 -115
  31. localstack/aws/api/sqs/__init__.py +100 -100
  32. localstack/aws/api/ssm/__init__.py +1977 -1971
  33. localstack/aws/api/stepfunctions/__init__.py +323 -323
  34. localstack/aws/api/sts/__init__.py +90 -66
  35. localstack/aws/api/support/__init__.py +112 -112
  36. localstack/aws/api/swf/__init__.py +378 -386
  37. localstack/aws/api/transcribe/__init__.py +425 -425
  38. localstack/aws/handlers/service.py +11 -1
  39. localstack/aws/protocol/parser.py +1 -1
  40. localstack/aws/scaffold.py +15 -17
  41. localstack/cli/localstack.py +6 -1
  42. localstack/dev/kubernetes/__main__.py +38 -3
  43. localstack/services/apigateway/helpers.py +5 -9
  44. localstack/services/apigateway/legacy/provider.py +32 -9
  45. localstack/services/apigateway/patches.py +0 -9
  46. localstack/services/cloudformation/provider.py +2 -2
  47. localstack/services/cloudformation/v2/provider.py +6 -6
  48. localstack/services/kinesis/packages.py +1 -1
  49. localstack/services/kms/models.py +34 -4
  50. localstack/services/kms/provider.py +93 -16
  51. localstack/services/lambda_/api_utils.py +3 -1
  52. localstack/services/lambda_/packages.py +1 -1
  53. localstack/services/lambda_/provider.py +1 -1
  54. localstack/services/lambda_/runtimes.py +8 -3
  55. localstack/services/logs/provider.py +36 -19
  56. localstack/services/s3/provider.py +1 -1
  57. localstack/services/sns/v2/models.py +24 -1
  58. localstack/services/sns/v2/provider.py +144 -12
  59. localstack/services/sns/v2/utils.py +8 -0
  60. localstack/services/sqs/models.py +37 -10
  61. localstack/testing/snapshots/transformer_utility.py +2 -0
  62. localstack/testing/testselection/matching.py +0 -1
  63. localstack/utils/aws/client_types.py +0 -8
  64. localstack/utils/catalog/catalog_loader.py +111 -3
  65. localstack/utils/crypto.py +109 -0
  66. localstack/version.py +2 -2
  67. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.10.1.dev42.dist-info}/METADATA +6 -5
  68. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.10.1.dev42.dist-info}/RECORD +76 -76
  69. localstack_core-4.10.1.dev42.dist-info/plux.json +1 -0
  70. localstack_core-4.10.1.dev7.dist-info/plux.json +0 -1
  71. {localstack_core-4.10.1.dev7.data → localstack_core-4.10.1.dev42.data}/scripts/localstack +0 -0
  72. {localstack_core-4.10.1.dev7.data → localstack_core-4.10.1.dev42.data}/scripts/localstack-supervisor +0 -0
  73. {localstack_core-4.10.1.dev7.data → localstack_core-4.10.1.dev42.data}/scripts/localstack.bat +0 -0
  74. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.10.1.dev42.dist-info}/WHEEL +0 -0
  75. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.10.1.dev42.dist-info}/entry_points.txt +0 -0
  76. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.10.1.dev42.dist-info}/licenses/LICENSE.txt +0 -0
  77. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.10.1.dev42.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,7 @@
1
+ from collections.abc import Iterable, Iterator
1
2
  from datetime import datetime
2
3
  from enum import StrEnum
3
- from typing import IO, Dict, Iterable, Iterator, List, Optional, TypedDict, Union
4
+ from typing import IO, TypedDict
4
5
 
5
6
  from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
6
7
 
@@ -673,7 +674,7 @@ class BucketAlreadyOwnedByYou(ServiceException):
673
674
  code: str = "BucketAlreadyOwnedByYou"
674
675
  sender_fault: bool = False
675
676
  status_code: int = 409
676
- BucketName: Optional[BucketName]
677
+ BucketName: BucketName | None
677
678
 
678
679
 
679
680
  class EncryptionTypeMismatch(ServiceException):
@@ -692,8 +693,8 @@ class InvalidObjectState(ServiceException):
692
693
  code: str = "InvalidObjectState"
693
694
  sender_fault: bool = False
694
695
  status_code: int = 403
695
- StorageClass: Optional[StorageClass]
696
- AccessTier: Optional[IntelligentTieringAccessTier]
696
+ StorageClass: StorageClass | None
697
+ AccessTier: IntelligentTieringAccessTier | None
697
698
 
698
699
 
699
700
  class InvalidRequest(ServiceException):
@@ -712,23 +713,23 @@ class NoSuchBucket(ServiceException):
712
713
  code: str = "NoSuchBucket"
713
714
  sender_fault: bool = False
714
715
  status_code: int = 404
715
- BucketName: Optional[BucketName]
716
+ BucketName: BucketName | None
716
717
 
717
718
 
718
719
  class NoSuchKey(ServiceException):
719
720
  code: str = "NoSuchKey"
720
721
  sender_fault: bool = False
721
722
  status_code: int = 404
722
- Key: Optional[ObjectKey]
723
- DeleteMarker: Optional[DeleteMarker]
724
- VersionId: Optional[ObjectVersionId]
723
+ Key: ObjectKey | None
724
+ DeleteMarker: DeleteMarker | None
725
+ VersionId: ObjectVersionId | None
725
726
 
726
727
 
727
728
  class NoSuchUpload(ServiceException):
728
729
  code: str = "NoSuchUpload"
729
730
  sender_fault: bool = False
730
731
  status_code: int = 404
731
- UploadId: Optional[MultipartUploadId]
732
+ UploadId: MultipartUploadId | None
732
733
 
733
734
 
734
735
  class ObjectAlreadyInActiveTierError(ServiceException):
@@ -753,29 +754,29 @@ class NoSuchLifecycleConfiguration(ServiceException):
753
754
  code: str = "NoSuchLifecycleConfiguration"
754
755
  sender_fault: bool = False
755
756
  status_code: int = 404
756
- BucketName: Optional[BucketName]
757
+ BucketName: BucketName | None
757
758
 
758
759
 
759
760
  class InvalidBucketName(ServiceException):
760
761
  code: str = "InvalidBucketName"
761
762
  sender_fault: bool = False
762
763
  status_code: int = 400
763
- BucketName: Optional[BucketName]
764
+ BucketName: BucketName | None
764
765
 
765
766
 
766
767
  class NoSuchVersion(ServiceException):
767
768
  code: str = "NoSuchVersion"
768
769
  sender_fault: bool = False
769
770
  status_code: int = 404
770
- VersionId: Optional[ObjectVersionId]
771
- Key: Optional[ObjectKey]
771
+ VersionId: ObjectVersionId | None
772
+ Key: ObjectKey | None
772
773
 
773
774
 
774
775
  class PreconditionFailed(ServiceException):
775
776
  code: str = "PreconditionFailed"
776
777
  sender_fault: bool = False
777
778
  status_code: int = 412
778
- Condition: Optional[IfCondition]
779
+ Condition: IfCondition | None
779
780
 
780
781
 
781
782
  ObjectSize = int
@@ -785,30 +786,30 @@ class InvalidRange(ServiceException):
785
786
  code: str = "InvalidRange"
786
787
  sender_fault: bool = False
787
788
  status_code: int = 416
788
- ActualObjectSize: Optional[ObjectSize]
789
- RangeRequested: Optional[ContentRange]
789
+ ActualObjectSize: ObjectSize | None
790
+ RangeRequested: ContentRange | None
790
791
 
791
792
 
792
793
  class InvalidArgument(ServiceException):
793
794
  code: str = "InvalidArgument"
794
795
  sender_fault: bool = False
795
796
  status_code: int = 400
796
- ArgumentName: Optional[ArgumentName]
797
- ArgumentValue: Optional[ArgumentValue]
798
- HostId: Optional[HostId]
797
+ ArgumentName: ArgumentName | None
798
+ ArgumentValue: ArgumentValue | None
799
+ HostId: HostId | None
799
800
 
800
801
 
801
802
  class SignatureDoesNotMatch(ServiceException):
802
803
  code: str = "SignatureDoesNotMatch"
803
804
  sender_fault: bool = False
804
805
  status_code: int = 403
805
- AWSAccessKeyId: Optional[AWSAccessKeyId]
806
- CanonicalRequest: Optional[CanonicalRequest]
807
- CanonicalRequestBytes: Optional[CanonicalRequestBytes]
808
- HostId: Optional[HostId]
809
- SignatureProvided: Optional[SignatureProvided]
810
- StringToSign: Optional[StringToSign]
811
- StringToSignBytes: Optional[StringToSignBytes]
806
+ AWSAccessKeyId: AWSAccessKeyId | None
807
+ CanonicalRequest: CanonicalRequest | None
808
+ CanonicalRequestBytes: CanonicalRequestBytes | None
809
+ HostId: HostId | None
810
+ SignatureProvided: SignatureProvided | None
811
+ StringToSign: StringToSign | None
812
+ StringToSignBytes: StringToSignBytes | None
812
813
 
813
814
 
814
815
  ServerTime = datetime
@@ -819,109 +820,109 @@ class AccessDenied(ServiceException):
819
820
  code: str = "AccessDenied"
820
821
  sender_fault: bool = False
821
822
  status_code: int = 403
822
- Expires: Optional[Expires]
823
- ServerTime: Optional[ServerTime]
824
- X_Amz_Expires: Optional[X_Amz_Expires]
825
- HostId: Optional[HostId]
826
- HeadersNotSigned: Optional[HeadersNotSigned]
823
+ Expires: Expires | None
824
+ ServerTime: ServerTime | None
825
+ X_Amz_Expires: X_Amz_Expires | None
826
+ HostId: HostId | None
827
+ HeadersNotSigned: HeadersNotSigned | None
827
828
 
828
829
 
829
830
  class AuthorizationQueryParametersError(ServiceException):
830
831
  code: str = "AuthorizationQueryParametersError"
831
832
  sender_fault: bool = False
832
833
  status_code: int = 400
833
- HostId: Optional[HostId]
834
+ HostId: HostId | None
834
835
 
835
836
 
836
837
  class NoSuchWebsiteConfiguration(ServiceException):
837
838
  code: str = "NoSuchWebsiteConfiguration"
838
839
  sender_fault: bool = False
839
840
  status_code: int = 404
840
- BucketName: Optional[BucketName]
841
+ BucketName: BucketName | None
841
842
 
842
843
 
843
844
  class ReplicationConfigurationNotFoundError(ServiceException):
844
845
  code: str = "ReplicationConfigurationNotFoundError"
845
846
  sender_fault: bool = False
846
847
  status_code: int = 404
847
- BucketName: Optional[BucketName]
848
+ BucketName: BucketName | None
848
849
 
849
850
 
850
851
  class BadRequest(ServiceException):
851
852
  code: str = "BadRequest"
852
853
  sender_fault: bool = False
853
854
  status_code: int = 400
854
- HostId: Optional[HostId]
855
+ HostId: HostId | None
855
856
 
856
857
 
857
858
  class AccessForbidden(ServiceException):
858
859
  code: str = "AccessForbidden"
859
860
  sender_fault: bool = False
860
861
  status_code: int = 403
861
- HostId: Optional[HostId]
862
- Method: Optional[HttpMethod]
863
- ResourceType: Optional[ResourceType]
862
+ HostId: HostId | None
863
+ Method: HttpMethod | None
864
+ ResourceType: ResourceType | None
864
865
 
865
866
 
866
867
  class NoSuchCORSConfiguration(ServiceException):
867
868
  code: str = "NoSuchCORSConfiguration"
868
869
  sender_fault: bool = False
869
870
  status_code: int = 404
870
- BucketName: Optional[BucketName]
871
+ BucketName: BucketName | None
871
872
 
872
873
 
873
874
  class MissingSecurityHeader(ServiceException):
874
875
  code: str = "MissingSecurityHeader"
875
876
  sender_fault: bool = False
876
877
  status_code: int = 400
877
- MissingHeaderName: Optional[MissingHeaderName]
878
+ MissingHeaderName: MissingHeaderName | None
878
879
 
879
880
 
880
881
  class InvalidPartOrder(ServiceException):
881
882
  code: str = "InvalidPartOrder"
882
883
  sender_fault: bool = False
883
884
  status_code: int = 400
884
- UploadId: Optional[MultipartUploadId]
885
+ UploadId: MultipartUploadId | None
885
886
 
886
887
 
887
888
  class InvalidStorageClass(ServiceException):
888
889
  code: str = "InvalidStorageClass"
889
890
  sender_fault: bool = False
890
891
  status_code: int = 400
891
- StorageClassRequested: Optional[StorageClass]
892
+ StorageClassRequested: StorageClass | None
892
893
 
893
894
 
894
895
  class MethodNotAllowed(ServiceException):
895
896
  code: str = "MethodNotAllowed"
896
897
  sender_fault: bool = False
897
898
  status_code: int = 405
898
- Method: Optional[HttpMethod]
899
- ResourceType: Optional[ResourceType]
900
- DeleteMarker: Optional[DeleteMarker]
901
- VersionId: Optional[ObjectVersionId]
902
- Allow: Optional[HttpMethod]
899
+ Method: HttpMethod | None
900
+ ResourceType: ResourceType | None
901
+ DeleteMarker: DeleteMarker | None
902
+ VersionId: ObjectVersionId | None
903
+ Allow: HttpMethod | None
903
904
 
904
905
 
905
906
  class CrossLocationLoggingProhibitted(ServiceException):
906
907
  code: str = "CrossLocationLoggingProhibitted"
907
908
  sender_fault: bool = False
908
909
  status_code: int = 403
909
- TargetBucketLocation: Optional[BucketRegion]
910
- SourceBucketLocation: Optional[BucketRegion]
910
+ TargetBucketLocation: BucketRegion | None
911
+ SourceBucketLocation: BucketRegion | None
911
912
 
912
913
 
913
914
  class InvalidTargetBucketForLogging(ServiceException):
914
915
  code: str = "InvalidTargetBucketForLogging"
915
916
  sender_fault: bool = False
916
917
  status_code: int = 400
917
- TargetBucket: Optional[BucketName]
918
+ TargetBucket: BucketName | None
918
919
 
919
920
 
920
921
  class BucketNotEmpty(ServiceException):
921
922
  code: str = "BucketNotEmpty"
922
923
  sender_fault: bool = False
923
924
  status_code: int = 409
924
- BucketName: Optional[BucketName]
925
+ BucketName: BucketName | None
925
926
 
926
927
 
927
928
  ProposedSize = int
@@ -932,152 +933,152 @@ class EntityTooSmall(ServiceException):
932
933
  code: str = "EntityTooSmall"
933
934
  sender_fault: bool = False
934
935
  status_code: int = 400
935
- ETag: Optional[ETag]
936
- MinSizeAllowed: Optional[MinSizeAllowed]
937
- PartNumber: Optional[PartNumber]
938
- ProposedSize: Optional[ProposedSize]
936
+ ETag: ETag | None
937
+ MinSizeAllowed: MinSizeAllowed | None
938
+ PartNumber: PartNumber | None
939
+ ProposedSize: ProposedSize | None
939
940
 
940
941
 
941
942
  class InvalidPart(ServiceException):
942
943
  code: str = "InvalidPart"
943
944
  sender_fault: bool = False
944
945
  status_code: int = 400
945
- ETag: Optional[ETag]
946
- UploadId: Optional[MultipartUploadId]
947
- PartNumber: Optional[PartNumber]
946
+ ETag: ETag | None
947
+ UploadId: MultipartUploadId | None
948
+ PartNumber: PartNumber | None
948
949
 
949
950
 
950
951
  class NoSuchTagSet(ServiceException):
951
952
  code: str = "NoSuchTagSet"
952
953
  sender_fault: bool = False
953
954
  status_code: int = 404
954
- BucketName: Optional[BucketName]
955
+ BucketName: BucketName | None
955
956
 
956
957
 
957
958
  class InvalidTag(ServiceException):
958
959
  code: str = "InvalidTag"
959
960
  sender_fault: bool = False
960
961
  status_code: int = 400
961
- TagKey: Optional[ObjectKey]
962
- TagValue: Optional[Value]
962
+ TagKey: ObjectKey | None
963
+ TagValue: Value | None
963
964
 
964
965
 
965
966
  class ObjectLockConfigurationNotFoundError(ServiceException):
966
967
  code: str = "ObjectLockConfigurationNotFoundError"
967
968
  sender_fault: bool = False
968
969
  status_code: int = 404
969
- BucketName: Optional[BucketName]
970
+ BucketName: BucketName | None
970
971
 
971
972
 
972
973
  class InvalidPartNumber(ServiceException):
973
974
  code: str = "InvalidPartNumber"
974
975
  sender_fault: bool = False
975
976
  status_code: int = 416
976
- PartNumberRequested: Optional[PartNumber]
977
- ActualPartCount: Optional[PartNumber]
977
+ PartNumberRequested: PartNumber | None
978
+ ActualPartCount: PartNumber | None
978
979
 
979
980
 
980
981
  class OwnershipControlsNotFoundError(ServiceException):
981
982
  code: str = "OwnershipControlsNotFoundError"
982
983
  sender_fault: bool = False
983
984
  status_code: int = 404
984
- BucketName: Optional[BucketName]
985
+ BucketName: BucketName | None
985
986
 
986
987
 
987
988
  class NoSuchPublicAccessBlockConfiguration(ServiceException):
988
989
  code: str = "NoSuchPublicAccessBlockConfiguration"
989
990
  sender_fault: bool = False
990
991
  status_code: int = 404
991
- BucketName: Optional[BucketName]
992
+ BucketName: BucketName | None
992
993
 
993
994
 
994
995
  class NoSuchBucketPolicy(ServiceException):
995
996
  code: str = "NoSuchBucketPolicy"
996
997
  sender_fault: bool = False
997
998
  status_code: int = 404
998
- BucketName: Optional[BucketName]
999
+ BucketName: BucketName | None
999
1000
 
1000
1001
 
1001
1002
  class InvalidDigest(ServiceException):
1002
1003
  code: str = "InvalidDigest"
1003
1004
  sender_fault: bool = False
1004
1005
  status_code: int = 400
1005
- Content_MD5: Optional[ContentMD5]
1006
+ Content_MD5: ContentMD5 | None
1006
1007
 
1007
1008
 
1008
1009
  class KeyTooLongError(ServiceException):
1009
1010
  code: str = "KeyTooLongError"
1010
1011
  sender_fault: bool = False
1011
1012
  status_code: int = 400
1012
- MaxSizeAllowed: Optional[KeyLength]
1013
- Size: Optional[KeyLength]
1013
+ MaxSizeAllowed: KeyLength | None
1014
+ Size: KeyLength | None
1014
1015
 
1015
1016
 
1016
1017
  class InvalidLocationConstraint(ServiceException):
1017
1018
  code: str = "InvalidLocationConstraint"
1018
1019
  sender_fault: bool = False
1019
1020
  status_code: int = 400
1020
- LocationConstraint: Optional[BucketRegion]
1021
+ LocationConstraint: BucketRegion | None
1021
1022
 
1022
1023
 
1023
1024
  class EntityTooLarge(ServiceException):
1024
1025
  code: str = "EntityTooLarge"
1025
1026
  sender_fault: bool = False
1026
1027
  status_code: int = 400
1027
- MaxSizeAllowed: Optional[KeyLength]
1028
- HostId: Optional[HostId]
1029
- ProposedSize: Optional[ProposedSize]
1028
+ MaxSizeAllowed: KeyLength | None
1029
+ HostId: HostId | None
1030
+ ProposedSize: ProposedSize | None
1030
1031
 
1031
1032
 
1032
1033
  class InvalidEncryptionAlgorithmError(ServiceException):
1033
1034
  code: str = "InvalidEncryptionAlgorithmError"
1034
1035
  sender_fault: bool = False
1035
1036
  status_code: int = 400
1036
- ArgumentName: Optional[ArgumentName]
1037
- ArgumentValue: Optional[ArgumentValue]
1037
+ ArgumentName: ArgumentName | None
1038
+ ArgumentValue: ArgumentValue | None
1038
1039
 
1039
1040
 
1040
1041
  class NotImplemented(ServiceException):
1041
1042
  code: str = "NotImplemented"
1042
1043
  sender_fault: bool = False
1043
1044
  status_code: int = 501
1044
- Header: Optional[Header]
1045
- additionalMessage: Optional[additionalMessage]
1045
+ Header: Header | None
1046
+ additionalMessage: additionalMessage | None
1046
1047
 
1047
1048
 
1048
1049
  class ConditionalRequestConflict(ServiceException):
1049
1050
  code: str = "ConditionalRequestConflict"
1050
1051
  sender_fault: bool = False
1051
1052
  status_code: int = 409
1052
- Condition: Optional[IfCondition]
1053
- Key: Optional[ObjectKey]
1053
+ Condition: IfCondition | None
1054
+ Key: ObjectKey | None
1054
1055
 
1055
1056
 
1056
1057
  class BadDigest(ServiceException):
1057
1058
  code: str = "BadDigest"
1058
1059
  sender_fault: bool = False
1059
1060
  status_code: int = 400
1060
- ExpectedDigest: Optional[ContentMD5]
1061
- CalculatedDigest: Optional[ContentMD5]
1061
+ ExpectedDigest: ContentMD5 | None
1062
+ CalculatedDigest: ContentMD5 | None
1062
1063
 
1063
1064
 
1064
1065
  class AuthorizationHeaderMalformed(ServiceException):
1065
1066
  code: str = "AuthorizationHeaderMalformed"
1066
1067
  sender_fault: bool = False
1067
1068
  status_code: int = 400
1068
- Region: Optional[BucketRegion]
1069
- HostId: Optional[HostId]
1069
+ Region: BucketRegion | None
1070
+ HostId: HostId | None
1070
1071
 
1071
1072
 
1072
1073
  AbortDate = datetime
1073
1074
 
1074
1075
 
1075
1076
  class AbortIncompleteMultipartUpload(TypedDict, total=False):
1076
- DaysAfterInitiation: Optional[DaysAfterInitiation]
1077
+ DaysAfterInitiation: DaysAfterInitiation | None
1077
1078
 
1078
1079
 
1079
1080
  class AbortMultipartUploadOutput(TypedDict, total=False):
1080
- RequestCharged: Optional[RequestCharged]
1081
+ RequestCharged: RequestCharged | None
1081
1082
 
1082
1083
 
1083
1084
  IfMatchInitiatedTime = datetime
@@ -1087,48 +1088,48 @@ class AbortMultipartUploadRequest(ServiceRequest):
1087
1088
  Bucket: BucketName
1088
1089
  Key: ObjectKey
1089
1090
  UploadId: MultipartUploadId
1090
- RequestPayer: Optional[RequestPayer]
1091
- ExpectedBucketOwner: Optional[AccountId]
1092
- IfMatchInitiatedTime: Optional[IfMatchInitiatedTime]
1091
+ RequestPayer: RequestPayer | None
1092
+ ExpectedBucketOwner: AccountId | None
1093
+ IfMatchInitiatedTime: IfMatchInitiatedTime | None
1093
1094
 
1094
1095
 
1095
1096
  class AccelerateConfiguration(TypedDict, total=False):
1096
- Status: Optional[BucketAccelerateStatus]
1097
+ Status: BucketAccelerateStatus | None
1097
1098
 
1098
1099
 
1099
1100
  class Owner(TypedDict, total=False):
1100
- DisplayName: Optional[DisplayName]
1101
- ID: Optional[ID]
1101
+ DisplayName: DisplayName | None
1102
+ ID: ID | None
1102
1103
 
1103
1104
 
1104
1105
  class Grantee(TypedDict, total=False):
1105
- DisplayName: Optional[DisplayName]
1106
- EmailAddress: Optional[EmailAddress]
1107
- ID: Optional[ID]
1106
+ DisplayName: DisplayName | None
1107
+ EmailAddress: EmailAddress | None
1108
+ ID: ID | None
1108
1109
  Type: Type
1109
- URI: Optional[URI]
1110
+ URI: URI | None
1110
1111
 
1111
1112
 
1112
1113
  class Grant(TypedDict, total=False):
1113
- Grantee: Optional[Grantee]
1114
- Permission: Optional[Permission]
1114
+ Grantee: Grantee | None
1115
+ Permission: Permission | None
1115
1116
 
1116
1117
 
1117
- Grants = List[Grant]
1118
+ Grants = list[Grant]
1118
1119
 
1119
1120
 
1120
1121
  class AccessControlPolicy(TypedDict, total=False):
1121
- Grants: Optional[Grants]
1122
- Owner: Optional[Owner]
1122
+ Grants: Grants | None
1123
+ Owner: Owner | None
1123
1124
 
1124
1125
 
1125
1126
  class AccessControlTranslation(TypedDict, total=False):
1126
1127
  Owner: OwnerOverride
1127
1128
 
1128
1129
 
1129
- AllowedHeaders = List[AllowedHeader]
1130
- AllowedMethods = List[AllowedMethod]
1131
- AllowedOrigins = List[AllowedOrigin]
1130
+ AllowedHeaders = list[AllowedHeader]
1131
+ AllowedMethods = list[AllowedMethod]
1132
+ AllowedOrigins = list[AllowedOrigin]
1132
1133
 
1133
1134
 
1134
1135
  class Tag(TypedDict, total=False):
@@ -1136,19 +1137,19 @@ class Tag(TypedDict, total=False):
1136
1137
  Value: Value
1137
1138
 
1138
1139
 
1139
- TagSet = List[Tag]
1140
+ TagSet = list[Tag]
1140
1141
 
1141
1142
 
1142
1143
  class AnalyticsAndOperator(TypedDict, total=False):
1143
- Prefix: Optional[Prefix]
1144
- Tags: Optional[TagSet]
1144
+ Prefix: Prefix | None
1145
+ Tags: TagSet | None
1145
1146
 
1146
1147
 
1147
1148
  class AnalyticsS3BucketDestination(TypedDict, total=False):
1148
1149
  Format: AnalyticsS3ExportFileFormat
1149
- BucketAccountId: Optional[AccountId]
1150
+ BucketAccountId: AccountId | None
1150
1151
  Bucket: BucketName
1151
- Prefix: Optional[Prefix]
1152
+ Prefix: Prefix | None
1152
1153
 
1153
1154
 
1154
1155
  class AnalyticsExportDestination(TypedDict, total=False):
@@ -1161,98 +1162,98 @@ class StorageClassAnalysisDataExport(TypedDict, total=False):
1161
1162
 
1162
1163
 
1163
1164
  class StorageClassAnalysis(TypedDict, total=False):
1164
- DataExport: Optional[StorageClassAnalysisDataExport]
1165
+ DataExport: StorageClassAnalysisDataExport | None
1165
1166
 
1166
1167
 
1167
1168
  class AnalyticsFilter(TypedDict, total=False):
1168
- Prefix: Optional[Prefix]
1169
- Tag: Optional[Tag]
1170
- And: Optional[AnalyticsAndOperator]
1169
+ Prefix: Prefix | None
1170
+ Tag: Tag | None
1171
+ And: AnalyticsAndOperator | None
1171
1172
 
1172
1173
 
1173
1174
  class AnalyticsConfiguration(TypedDict, total=False):
1174
1175
  Id: AnalyticsId
1175
- Filter: Optional[AnalyticsFilter]
1176
+ Filter: AnalyticsFilter | None
1176
1177
  StorageClassAnalysis: StorageClassAnalysis
1177
1178
 
1178
1179
 
1179
- AnalyticsConfigurationList = List[AnalyticsConfiguration]
1180
+ AnalyticsConfigurationList = list[AnalyticsConfiguration]
1180
1181
  Body = bytes
1181
1182
  CreationDate = datetime
1182
1183
 
1183
1184
 
1184
1185
  class Bucket(TypedDict, total=False):
1185
- Name: Optional[BucketName]
1186
- CreationDate: Optional[CreationDate]
1187
- BucketRegion: Optional[BucketRegion]
1188
- BucketArn: Optional[S3RegionalOrS3ExpressBucketArnString]
1186
+ Name: BucketName | None
1187
+ CreationDate: CreationDate | None
1188
+ BucketRegion: BucketRegion | None
1189
+ BucketArn: S3RegionalOrS3ExpressBucketArnString | None
1189
1190
 
1190
1191
 
1191
1192
  class BucketInfo(TypedDict, total=False):
1192
- DataRedundancy: Optional[DataRedundancy]
1193
- Type: Optional[BucketType]
1193
+ DataRedundancy: DataRedundancy | None
1194
+ Type: BucketType | None
1194
1195
 
1195
1196
 
1196
1197
  class NoncurrentVersionExpiration(TypedDict, total=False):
1197
- NoncurrentDays: Optional[Days]
1198
- NewerNoncurrentVersions: Optional[VersionCount]
1198
+ NoncurrentDays: Days | None
1199
+ NewerNoncurrentVersions: VersionCount | None
1199
1200
 
1200
1201
 
1201
1202
  class NoncurrentVersionTransition(TypedDict, total=False):
1202
- NoncurrentDays: Optional[Days]
1203
- StorageClass: Optional[TransitionStorageClass]
1204
- NewerNoncurrentVersions: Optional[VersionCount]
1203
+ NoncurrentDays: Days | None
1204
+ StorageClass: TransitionStorageClass | None
1205
+ NewerNoncurrentVersions: VersionCount | None
1205
1206
 
1206
1207
 
1207
- NoncurrentVersionTransitionList = List[NoncurrentVersionTransition]
1208
+ NoncurrentVersionTransitionList = list[NoncurrentVersionTransition]
1208
1209
  Date = datetime
1209
1210
 
1210
1211
 
1211
1212
  class Transition(TypedDict, total=False):
1212
- Date: Optional[Date]
1213
- Days: Optional[Days]
1214
- StorageClass: Optional[TransitionStorageClass]
1213
+ Date: Date | None
1214
+ Days: Days | None
1215
+ StorageClass: TransitionStorageClass | None
1215
1216
 
1216
1217
 
1217
- TransitionList = List[Transition]
1218
+ TransitionList = list[Transition]
1218
1219
  ObjectSizeLessThanBytes = int
1219
1220
  ObjectSizeGreaterThanBytes = int
1220
1221
 
1221
1222
 
1222
1223
  class LifecycleRuleAndOperator(TypedDict, total=False):
1223
- Prefix: Optional[Prefix]
1224
- Tags: Optional[TagSet]
1225
- ObjectSizeGreaterThan: Optional[ObjectSizeGreaterThanBytes]
1226
- ObjectSizeLessThan: Optional[ObjectSizeLessThanBytes]
1224
+ Prefix: Prefix | None
1225
+ Tags: TagSet | None
1226
+ ObjectSizeGreaterThan: ObjectSizeGreaterThanBytes | None
1227
+ ObjectSizeLessThan: ObjectSizeLessThanBytes | None
1227
1228
 
1228
1229
 
1229
1230
  class LifecycleRuleFilter(TypedDict, total=False):
1230
- Prefix: Optional[Prefix]
1231
- Tag: Optional[Tag]
1232
- ObjectSizeGreaterThan: Optional[ObjectSizeGreaterThanBytes]
1233
- ObjectSizeLessThan: Optional[ObjectSizeLessThanBytes]
1234
- And: Optional[LifecycleRuleAndOperator]
1231
+ Prefix: Prefix | None
1232
+ Tag: Tag | None
1233
+ ObjectSizeGreaterThan: ObjectSizeGreaterThanBytes | None
1234
+ ObjectSizeLessThan: ObjectSizeLessThanBytes | None
1235
+ And: LifecycleRuleAndOperator | None
1235
1236
 
1236
1237
 
1237
1238
  class LifecycleExpiration(TypedDict, total=False):
1238
- Date: Optional[Date]
1239
- Days: Optional[Days]
1240
- ExpiredObjectDeleteMarker: Optional[ExpiredObjectDeleteMarker]
1239
+ Date: Date | None
1240
+ Days: Days | None
1241
+ ExpiredObjectDeleteMarker: ExpiredObjectDeleteMarker | None
1241
1242
 
1242
1243
 
1243
1244
  class LifecycleRule(TypedDict, total=False):
1244
- Expiration: Optional[LifecycleExpiration]
1245
- ID: Optional[ID]
1246
- Prefix: Optional[Prefix]
1247
- Filter: Optional[LifecycleRuleFilter]
1245
+ Expiration: LifecycleExpiration | None
1246
+ ID: ID | None
1247
+ Prefix: Prefix | None
1248
+ Filter: LifecycleRuleFilter | None
1248
1249
  Status: ExpirationStatus
1249
- Transitions: Optional[TransitionList]
1250
- NoncurrentVersionTransitions: Optional[NoncurrentVersionTransitionList]
1251
- NoncurrentVersionExpiration: Optional[NoncurrentVersionExpiration]
1252
- AbortIncompleteMultipartUpload: Optional[AbortIncompleteMultipartUpload]
1250
+ Transitions: TransitionList | None
1251
+ NoncurrentVersionTransitions: NoncurrentVersionTransitionList | None
1252
+ NoncurrentVersionExpiration: NoncurrentVersionExpiration | None
1253
+ AbortIncompleteMultipartUpload: AbortIncompleteMultipartUpload | None
1253
1254
 
1254
1255
 
1255
- LifecycleRules = List[LifecycleRule]
1256
+ LifecycleRules = list[LifecycleRule]
1256
1257
 
1257
1258
 
1258
1259
  class BucketLifecycleConfiguration(TypedDict, total=False):
@@ -1260,7 +1261,7 @@ class BucketLifecycleConfiguration(TypedDict, total=False):
1260
1261
 
1261
1262
 
1262
1263
  class PartitionedPrefix(TypedDict, total=False):
1263
- PartitionDateSource: Optional[PartitionDateSource]
1264
+ PartitionDateSource: PartitionDateSource | None
1264
1265
 
1265
1266
 
1266
1267
  class SimplePrefix(TypedDict, total=False):
@@ -1268,46 +1269,46 @@ class SimplePrefix(TypedDict, total=False):
1268
1269
 
1269
1270
 
1270
1271
  class TargetObjectKeyFormat(TypedDict, total=False):
1271
- SimplePrefix: Optional[SimplePrefix]
1272
- PartitionedPrefix: Optional[PartitionedPrefix]
1272
+ SimplePrefix: SimplePrefix | None
1273
+ PartitionedPrefix: PartitionedPrefix | None
1273
1274
 
1274
1275
 
1275
1276
  class TargetGrant(TypedDict, total=False):
1276
- Grantee: Optional[Grantee]
1277
- Permission: Optional[BucketLogsPermission]
1277
+ Grantee: Grantee | None
1278
+ Permission: BucketLogsPermission | None
1278
1279
 
1279
1280
 
1280
- TargetGrants = List[TargetGrant]
1281
+ TargetGrants = list[TargetGrant]
1281
1282
 
1282
1283
 
1283
1284
  class LoggingEnabled(TypedDict, total=False):
1284
1285
  TargetBucket: TargetBucket
1285
- TargetGrants: Optional[TargetGrants]
1286
+ TargetGrants: TargetGrants | None
1286
1287
  TargetPrefix: TargetPrefix
1287
- TargetObjectKeyFormat: Optional[TargetObjectKeyFormat]
1288
+ TargetObjectKeyFormat: TargetObjectKeyFormat | None
1288
1289
 
1289
1290
 
1290
1291
  class BucketLoggingStatus(TypedDict, total=False):
1291
- LoggingEnabled: Optional[LoggingEnabled]
1292
+ LoggingEnabled: LoggingEnabled | None
1292
1293
 
1293
1294
 
1294
- Buckets = List[Bucket]
1295
+ Buckets = list[Bucket]
1295
1296
  BytesProcessed = int
1296
1297
  BytesReturned = int
1297
1298
  BytesScanned = int
1298
- ExposeHeaders = List[ExposeHeader]
1299
+ ExposeHeaders = list[ExposeHeader]
1299
1300
 
1300
1301
 
1301
1302
  class CORSRule(TypedDict, total=False):
1302
- ID: Optional[ID]
1303
- AllowedHeaders: Optional[AllowedHeaders]
1303
+ ID: ID | None
1304
+ AllowedHeaders: AllowedHeaders | None
1304
1305
  AllowedMethods: AllowedMethods
1305
1306
  AllowedOrigins: AllowedOrigins
1306
- ExposeHeaders: Optional[ExposeHeaders]
1307
- MaxAgeSeconds: Optional[MaxAgeSeconds]
1307
+ ExposeHeaders: ExposeHeaders | None
1308
+ MaxAgeSeconds: MaxAgeSeconds | None
1308
1309
 
1309
1310
 
1310
- CORSRules = List[CORSRule]
1311
+ CORSRules = list[CORSRule]
1311
1312
 
1312
1313
 
1313
1314
  class CORSConfiguration(TypedDict, total=False):
@@ -1315,114 +1316,114 @@ class CORSConfiguration(TypedDict, total=False):
1315
1316
 
1316
1317
 
1317
1318
  class CSVInput(TypedDict, total=False):
1318
- FileHeaderInfo: Optional[FileHeaderInfo]
1319
- Comments: Optional[Comments]
1320
- QuoteEscapeCharacter: Optional[QuoteEscapeCharacter]
1321
- RecordDelimiter: Optional[RecordDelimiter]
1322
- FieldDelimiter: Optional[FieldDelimiter]
1323
- QuoteCharacter: Optional[QuoteCharacter]
1324
- AllowQuotedRecordDelimiter: Optional[AllowQuotedRecordDelimiter]
1319
+ FileHeaderInfo: FileHeaderInfo | None
1320
+ Comments: Comments | None
1321
+ QuoteEscapeCharacter: QuoteEscapeCharacter | None
1322
+ RecordDelimiter: RecordDelimiter | None
1323
+ FieldDelimiter: FieldDelimiter | None
1324
+ QuoteCharacter: QuoteCharacter | None
1325
+ AllowQuotedRecordDelimiter: AllowQuotedRecordDelimiter | None
1325
1326
 
1326
1327
 
1327
1328
  class CSVOutput(TypedDict, total=False):
1328
- QuoteFields: Optional[QuoteFields]
1329
- QuoteEscapeCharacter: Optional[QuoteEscapeCharacter]
1330
- RecordDelimiter: Optional[RecordDelimiter]
1331
- FieldDelimiter: Optional[FieldDelimiter]
1332
- QuoteCharacter: Optional[QuoteCharacter]
1329
+ QuoteFields: QuoteFields | None
1330
+ QuoteEscapeCharacter: QuoteEscapeCharacter | None
1331
+ RecordDelimiter: RecordDelimiter | None
1332
+ FieldDelimiter: FieldDelimiter | None
1333
+ QuoteCharacter: QuoteCharacter | None
1333
1334
 
1334
1335
 
1335
1336
  class Checksum(TypedDict, total=False):
1336
- ChecksumCRC32: Optional[ChecksumCRC32]
1337
- ChecksumCRC32C: Optional[ChecksumCRC32C]
1338
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
1339
- ChecksumSHA1: Optional[ChecksumSHA1]
1340
- ChecksumSHA256: Optional[ChecksumSHA256]
1341
- ChecksumType: Optional[ChecksumType]
1337
+ ChecksumCRC32: ChecksumCRC32 | None
1338
+ ChecksumCRC32C: ChecksumCRC32C | None
1339
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
1340
+ ChecksumSHA1: ChecksumSHA1 | None
1341
+ ChecksumSHA256: ChecksumSHA256 | None
1342
+ ChecksumType: ChecksumType | None
1342
1343
 
1343
1344
 
1344
- ChecksumAlgorithmList = List[ChecksumAlgorithm]
1345
- EventList = List[Event]
1345
+ ChecksumAlgorithmList = list[ChecksumAlgorithm]
1346
+ EventList = list[Event]
1346
1347
 
1347
1348
 
1348
1349
  class CloudFunctionConfiguration(TypedDict, total=False):
1349
- Id: Optional[NotificationId]
1350
- Event: Optional[Event]
1351
- Events: Optional[EventList]
1352
- CloudFunction: Optional[CloudFunction]
1353
- InvocationRole: Optional[CloudFunctionInvocationRole]
1350
+ Id: NotificationId | None
1351
+ Event: Event | None
1352
+ Events: EventList | None
1353
+ CloudFunction: CloudFunction | None
1354
+ InvocationRole: CloudFunctionInvocationRole | None
1354
1355
 
1355
1356
 
1356
1357
  class CommonPrefix(TypedDict, total=False):
1357
- Prefix: Optional[Prefix]
1358
+ Prefix: Prefix | None
1358
1359
 
1359
1360
 
1360
- CommonPrefixList = List[CommonPrefix]
1361
+ CommonPrefixList = list[CommonPrefix]
1361
1362
 
1362
1363
 
1363
1364
  class CompleteMultipartUploadOutput(TypedDict, total=False):
1364
- Location: Optional[Location]
1365
- Bucket: Optional[BucketName]
1366
- Key: Optional[ObjectKey]
1367
- Expiration: Optional[Expiration]
1368
- ETag: Optional[ETag]
1369
- ChecksumCRC32: Optional[ChecksumCRC32]
1370
- ChecksumCRC32C: Optional[ChecksumCRC32C]
1371
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
1372
- ChecksumSHA1: Optional[ChecksumSHA1]
1373
- ChecksumSHA256: Optional[ChecksumSHA256]
1374
- ChecksumType: Optional[ChecksumType]
1375
- ServerSideEncryption: Optional[ServerSideEncryption]
1376
- VersionId: Optional[ObjectVersionId]
1377
- SSEKMSKeyId: Optional[SSEKMSKeyId]
1378
- BucketKeyEnabled: Optional[BucketKeyEnabled]
1379
- RequestCharged: Optional[RequestCharged]
1365
+ Location: Location | None
1366
+ Bucket: BucketName | None
1367
+ Key: ObjectKey | None
1368
+ Expiration: Expiration | None
1369
+ ETag: ETag | None
1370
+ ChecksumCRC32: ChecksumCRC32 | None
1371
+ ChecksumCRC32C: ChecksumCRC32C | None
1372
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
1373
+ ChecksumSHA1: ChecksumSHA1 | None
1374
+ ChecksumSHA256: ChecksumSHA256 | None
1375
+ ChecksumType: ChecksumType | None
1376
+ ServerSideEncryption: ServerSideEncryption | None
1377
+ VersionId: ObjectVersionId | None
1378
+ SSEKMSKeyId: SSEKMSKeyId | None
1379
+ BucketKeyEnabled: BucketKeyEnabled | None
1380
+ RequestCharged: RequestCharged | None
1380
1381
 
1381
1382
 
1382
1383
  MpuObjectSize = int
1383
1384
 
1384
1385
 
1385
1386
  class CompletedPart(TypedDict, total=False):
1386
- ETag: Optional[ETag]
1387
- ChecksumCRC32: Optional[ChecksumCRC32]
1388
- ChecksumCRC32C: Optional[ChecksumCRC32C]
1389
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
1390
- ChecksumSHA1: Optional[ChecksumSHA1]
1391
- ChecksumSHA256: Optional[ChecksumSHA256]
1392
- PartNumber: Optional[PartNumber]
1387
+ ETag: ETag | None
1388
+ ChecksumCRC32: ChecksumCRC32 | None
1389
+ ChecksumCRC32C: ChecksumCRC32C | None
1390
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
1391
+ ChecksumSHA1: ChecksumSHA1 | None
1392
+ ChecksumSHA256: ChecksumSHA256 | None
1393
+ PartNumber: PartNumber | None
1393
1394
 
1394
1395
 
1395
- CompletedPartList = List[CompletedPart]
1396
+ CompletedPartList = list[CompletedPart]
1396
1397
 
1397
1398
 
1398
1399
  class CompletedMultipartUpload(TypedDict, total=False):
1399
- Parts: Optional[CompletedPartList]
1400
+ Parts: CompletedPartList | None
1400
1401
 
1401
1402
 
1402
1403
  class CompleteMultipartUploadRequest(ServiceRequest):
1403
1404
  Bucket: BucketName
1404
1405
  Key: ObjectKey
1405
- MultipartUpload: Optional[CompletedMultipartUpload]
1406
+ MultipartUpload: CompletedMultipartUpload | None
1406
1407
  UploadId: MultipartUploadId
1407
- ChecksumCRC32: Optional[ChecksumCRC32]
1408
- ChecksumCRC32C: Optional[ChecksumCRC32C]
1409
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
1410
- ChecksumSHA1: Optional[ChecksumSHA1]
1411
- ChecksumSHA256: Optional[ChecksumSHA256]
1412
- ChecksumType: Optional[ChecksumType]
1413
- MpuObjectSize: Optional[MpuObjectSize]
1414
- RequestPayer: Optional[RequestPayer]
1415
- ExpectedBucketOwner: Optional[AccountId]
1416
- IfMatch: Optional[IfMatch]
1417
- IfNoneMatch: Optional[IfNoneMatch]
1418
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
1419
- SSECustomerKey: Optional[SSECustomerKey]
1420
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
1408
+ ChecksumCRC32: ChecksumCRC32 | None
1409
+ ChecksumCRC32C: ChecksumCRC32C | None
1410
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
1411
+ ChecksumSHA1: ChecksumSHA1 | None
1412
+ ChecksumSHA256: ChecksumSHA256 | None
1413
+ ChecksumType: ChecksumType | None
1414
+ MpuObjectSize: MpuObjectSize | None
1415
+ RequestPayer: RequestPayer | None
1416
+ ExpectedBucketOwner: AccountId | None
1417
+ IfMatch: IfMatch | None
1418
+ IfNoneMatch: IfNoneMatch | None
1419
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
1420
+ SSECustomerKey: SSECustomerKey | None
1421
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
1421
1422
 
1422
1423
 
1423
1424
  class Condition(TypedDict, total=False):
1424
- HttpErrorCodeReturnedEquals: Optional[HttpErrorCodeReturnedEquals]
1425
- KeyPrefixEquals: Optional[KeyPrefixEquals]
1425
+ HttpErrorCodeReturnedEquals: HttpErrorCodeReturnedEquals | None
1426
+ KeyPrefixEquals: KeyPrefixEquals | None
1426
1427
 
1427
1428
 
1428
1429
  ContentLength = int
@@ -1436,135 +1437,135 @@ LastModified = datetime
1436
1437
 
1437
1438
 
1438
1439
  class CopyObjectResult(TypedDict, total=False):
1439
- ETag: Optional[ETag]
1440
- LastModified: Optional[LastModified]
1441
- ChecksumType: Optional[ChecksumType]
1442
- ChecksumCRC32: Optional[ChecksumCRC32]
1443
- ChecksumCRC32C: Optional[ChecksumCRC32C]
1444
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
1445
- ChecksumSHA1: Optional[ChecksumSHA1]
1446
- ChecksumSHA256: Optional[ChecksumSHA256]
1440
+ ETag: ETag | None
1441
+ LastModified: LastModified | None
1442
+ ChecksumType: ChecksumType | None
1443
+ ChecksumCRC32: ChecksumCRC32 | None
1444
+ ChecksumCRC32C: ChecksumCRC32C | None
1445
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
1446
+ ChecksumSHA1: ChecksumSHA1 | None
1447
+ ChecksumSHA256: ChecksumSHA256 | None
1447
1448
 
1448
1449
 
1449
1450
  class CopyObjectOutput(TypedDict, total=False):
1450
- CopyObjectResult: Optional[CopyObjectResult]
1451
- Expiration: Optional[Expiration]
1452
- CopySourceVersionId: Optional[CopySourceVersionId]
1453
- VersionId: Optional[ObjectVersionId]
1454
- ServerSideEncryption: Optional[ServerSideEncryption]
1455
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
1456
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
1457
- SSEKMSKeyId: Optional[SSEKMSKeyId]
1458
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
1459
- BucketKeyEnabled: Optional[BucketKeyEnabled]
1460
- RequestCharged: Optional[RequestCharged]
1451
+ CopyObjectResult: CopyObjectResult | None
1452
+ Expiration: Expiration | None
1453
+ CopySourceVersionId: CopySourceVersionId | None
1454
+ VersionId: ObjectVersionId | None
1455
+ ServerSideEncryption: ServerSideEncryption | None
1456
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
1457
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
1458
+ SSEKMSKeyId: SSEKMSKeyId | None
1459
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
1460
+ BucketKeyEnabled: BucketKeyEnabled | None
1461
+ RequestCharged: RequestCharged | None
1461
1462
 
1462
1463
 
1463
1464
  ObjectLockRetainUntilDate = datetime
1464
- Metadata = Dict[MetadataKey, MetadataValue]
1465
+ Metadata = dict[MetadataKey, MetadataValue]
1465
1466
  CopySourceIfUnmodifiedSince = datetime
1466
1467
  CopySourceIfModifiedSince = datetime
1467
1468
 
1468
1469
 
1469
1470
  class CopyObjectRequest(ServiceRequest):
1470
- ACL: Optional[ObjectCannedACL]
1471
+ ACL: ObjectCannedACL | None
1471
1472
  Bucket: BucketName
1472
- CacheControl: Optional[CacheControl]
1473
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
1474
- ContentDisposition: Optional[ContentDisposition]
1475
- ContentEncoding: Optional[ContentEncoding]
1476
- ContentLanguage: Optional[ContentLanguage]
1477
- ContentType: Optional[ContentType]
1473
+ CacheControl: CacheControl | None
1474
+ ChecksumAlgorithm: ChecksumAlgorithm | None
1475
+ ContentDisposition: ContentDisposition | None
1476
+ ContentEncoding: ContentEncoding | None
1477
+ ContentLanguage: ContentLanguage | None
1478
+ ContentType: ContentType | None
1478
1479
  CopySource: CopySource
1479
- CopySourceIfMatch: Optional[CopySourceIfMatch]
1480
- CopySourceIfModifiedSince: Optional[CopySourceIfModifiedSince]
1481
- CopySourceIfNoneMatch: Optional[CopySourceIfNoneMatch]
1482
- CopySourceIfUnmodifiedSince: Optional[CopySourceIfUnmodifiedSince]
1483
- Expires: Optional[Expires]
1484
- GrantFullControl: Optional[GrantFullControl]
1485
- GrantRead: Optional[GrantRead]
1486
- GrantReadACP: Optional[GrantReadACP]
1487
- GrantWriteACP: Optional[GrantWriteACP]
1488
- IfMatch: Optional[IfMatch]
1489
- IfNoneMatch: Optional[IfNoneMatch]
1480
+ CopySourceIfMatch: CopySourceIfMatch | None
1481
+ CopySourceIfModifiedSince: CopySourceIfModifiedSince | None
1482
+ CopySourceIfNoneMatch: CopySourceIfNoneMatch | None
1483
+ CopySourceIfUnmodifiedSince: CopySourceIfUnmodifiedSince | None
1484
+ Expires: Expires | None
1485
+ GrantFullControl: GrantFullControl | None
1486
+ GrantRead: GrantRead | None
1487
+ GrantReadACP: GrantReadACP | None
1488
+ GrantWriteACP: GrantWriteACP | None
1489
+ IfMatch: IfMatch | None
1490
+ IfNoneMatch: IfNoneMatch | None
1490
1491
  Key: ObjectKey
1491
- Metadata: Optional[Metadata]
1492
- MetadataDirective: Optional[MetadataDirective]
1493
- TaggingDirective: Optional[TaggingDirective]
1494
- ServerSideEncryption: Optional[ServerSideEncryption]
1495
- StorageClass: Optional[StorageClass]
1496
- WebsiteRedirectLocation: Optional[WebsiteRedirectLocation]
1497
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
1498
- SSECustomerKey: Optional[SSECustomerKey]
1499
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
1500
- SSEKMSKeyId: Optional[SSEKMSKeyId]
1501
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
1502
- BucketKeyEnabled: Optional[BucketKeyEnabled]
1503
- CopySourceSSECustomerAlgorithm: Optional[CopySourceSSECustomerAlgorithm]
1504
- CopySourceSSECustomerKey: Optional[CopySourceSSECustomerKey]
1505
- CopySourceSSECustomerKeyMD5: Optional[CopySourceSSECustomerKeyMD5]
1506
- RequestPayer: Optional[RequestPayer]
1507
- Tagging: Optional[TaggingHeader]
1508
- ObjectLockMode: Optional[ObjectLockMode]
1509
- ObjectLockRetainUntilDate: Optional[ObjectLockRetainUntilDate]
1510
- ObjectLockLegalHoldStatus: Optional[ObjectLockLegalHoldStatus]
1511
- ExpectedBucketOwner: Optional[AccountId]
1512
- ExpectedSourceBucketOwner: Optional[AccountId]
1492
+ Metadata: Metadata | None
1493
+ MetadataDirective: MetadataDirective | None
1494
+ TaggingDirective: TaggingDirective | None
1495
+ ServerSideEncryption: ServerSideEncryption | None
1496
+ StorageClass: StorageClass | None
1497
+ WebsiteRedirectLocation: WebsiteRedirectLocation | None
1498
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
1499
+ SSECustomerKey: SSECustomerKey | None
1500
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
1501
+ SSEKMSKeyId: SSEKMSKeyId | None
1502
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
1503
+ BucketKeyEnabled: BucketKeyEnabled | None
1504
+ CopySourceSSECustomerAlgorithm: CopySourceSSECustomerAlgorithm | None
1505
+ CopySourceSSECustomerKey: CopySourceSSECustomerKey | None
1506
+ CopySourceSSECustomerKeyMD5: CopySourceSSECustomerKeyMD5 | None
1507
+ RequestPayer: RequestPayer | None
1508
+ Tagging: TaggingHeader | None
1509
+ ObjectLockMode: ObjectLockMode | None
1510
+ ObjectLockRetainUntilDate: ObjectLockRetainUntilDate | None
1511
+ ObjectLockLegalHoldStatus: ObjectLockLegalHoldStatus | None
1512
+ ExpectedBucketOwner: AccountId | None
1513
+ ExpectedSourceBucketOwner: AccountId | None
1513
1514
 
1514
1515
 
1515
1516
  class CopyPartResult(TypedDict, total=False):
1516
- ETag: Optional[ETag]
1517
- LastModified: Optional[LastModified]
1518
- ChecksumCRC32: Optional[ChecksumCRC32]
1519
- ChecksumCRC32C: Optional[ChecksumCRC32C]
1520
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
1521
- ChecksumSHA1: Optional[ChecksumSHA1]
1522
- ChecksumSHA256: Optional[ChecksumSHA256]
1517
+ ETag: ETag | None
1518
+ LastModified: LastModified | None
1519
+ ChecksumCRC32: ChecksumCRC32 | None
1520
+ ChecksumCRC32C: ChecksumCRC32C | None
1521
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
1522
+ ChecksumSHA1: ChecksumSHA1 | None
1523
+ ChecksumSHA256: ChecksumSHA256 | None
1523
1524
 
1524
1525
 
1525
1526
  class LocationInfo(TypedDict, total=False):
1526
- Type: Optional[LocationType]
1527
- Name: Optional[LocationNameAsString]
1527
+ Type: LocationType | None
1528
+ Name: LocationNameAsString | None
1528
1529
 
1529
1530
 
1530
1531
  class CreateBucketConfiguration(TypedDict, total=False):
1531
- LocationConstraint: Optional[BucketLocationConstraint]
1532
- Location: Optional[LocationInfo]
1533
- Bucket: Optional[BucketInfo]
1534
- Tags: Optional[TagSet]
1532
+ LocationConstraint: BucketLocationConstraint | None
1533
+ Location: LocationInfo | None
1534
+ Bucket: BucketInfo | None
1535
+ Tags: TagSet | None
1535
1536
 
1536
1537
 
1537
1538
  class MetadataTableEncryptionConfiguration(TypedDict, total=False):
1538
1539
  SseAlgorithm: TableSseAlgorithm
1539
- KmsKeyArn: Optional[KmsKeyArn]
1540
+ KmsKeyArn: KmsKeyArn | None
1540
1541
 
1541
1542
 
1542
1543
  class InventoryTableConfiguration(TypedDict, total=False):
1543
1544
  ConfigurationState: InventoryConfigurationState
1544
- EncryptionConfiguration: Optional[MetadataTableEncryptionConfiguration]
1545
+ EncryptionConfiguration: MetadataTableEncryptionConfiguration | None
1545
1546
 
1546
1547
 
1547
1548
  class RecordExpiration(TypedDict, total=False):
1548
1549
  Expiration: ExpirationState
1549
- Days: Optional[RecordExpirationDays]
1550
+ Days: RecordExpirationDays | None
1550
1551
 
1551
1552
 
1552
1553
  class JournalTableConfiguration(TypedDict, total=False):
1553
1554
  RecordExpiration: RecordExpiration
1554
- EncryptionConfiguration: Optional[MetadataTableEncryptionConfiguration]
1555
+ EncryptionConfiguration: MetadataTableEncryptionConfiguration | None
1555
1556
 
1556
1557
 
1557
1558
  class MetadataConfiguration(TypedDict, total=False):
1558
1559
  JournalTableConfiguration: JournalTableConfiguration
1559
- InventoryTableConfiguration: Optional[InventoryTableConfiguration]
1560
+ InventoryTableConfiguration: InventoryTableConfiguration | None
1560
1561
 
1561
1562
 
1562
1563
  class CreateBucketMetadataConfigurationRequest(ServiceRequest):
1563
1564
  Bucket: BucketName
1564
- ContentMD5: Optional[ContentMD5]
1565
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
1565
+ ContentMD5: ContentMD5 | None
1566
+ ChecksumAlgorithm: ChecksumAlgorithm | None
1566
1567
  MetadataConfiguration: MetadataConfiguration
1567
- ExpectedBucketOwner: Optional[AccountId]
1568
+ ExpectedBucketOwner: AccountId | None
1568
1569
 
1569
1570
 
1570
1571
  class S3TablesDestination(TypedDict, total=False):
@@ -1578,79 +1579,79 @@ class MetadataTableConfiguration(TypedDict, total=False):
1578
1579
 
1579
1580
  class CreateBucketMetadataTableConfigurationRequest(ServiceRequest):
1580
1581
  Bucket: BucketName
1581
- ContentMD5: Optional[ContentMD5]
1582
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
1582
+ ContentMD5: ContentMD5 | None
1583
+ ChecksumAlgorithm: ChecksumAlgorithm | None
1583
1584
  MetadataTableConfiguration: MetadataTableConfiguration
1584
- ExpectedBucketOwner: Optional[AccountId]
1585
+ ExpectedBucketOwner: AccountId | None
1585
1586
 
1586
1587
 
1587
1588
  class CreateBucketOutput(TypedDict, total=False):
1588
- Location: Optional[Location]
1589
- BucketArn: Optional[S3RegionalOrS3ExpressBucketArnString]
1589
+ Location: Location | None
1590
+ BucketArn: S3RegionalOrS3ExpressBucketArnString | None
1590
1591
 
1591
1592
 
1592
1593
  class CreateBucketRequest(ServiceRequest):
1593
- ACL: Optional[BucketCannedACL]
1594
+ ACL: BucketCannedACL | None
1594
1595
  Bucket: BucketName
1595
- CreateBucketConfiguration: Optional[CreateBucketConfiguration]
1596
- GrantFullControl: Optional[GrantFullControl]
1597
- GrantRead: Optional[GrantRead]
1598
- GrantReadACP: Optional[GrantReadACP]
1599
- GrantWrite: Optional[GrantWrite]
1600
- GrantWriteACP: Optional[GrantWriteACP]
1601
- ObjectLockEnabledForBucket: Optional[ObjectLockEnabledForBucket]
1602
- ObjectOwnership: Optional[ObjectOwnership]
1596
+ CreateBucketConfiguration: CreateBucketConfiguration | None
1597
+ GrantFullControl: GrantFullControl | None
1598
+ GrantRead: GrantRead | None
1599
+ GrantReadACP: GrantReadACP | None
1600
+ GrantWrite: GrantWrite | None
1601
+ GrantWriteACP: GrantWriteACP | None
1602
+ ObjectLockEnabledForBucket: ObjectLockEnabledForBucket | None
1603
+ ObjectOwnership: ObjectOwnership | None
1603
1604
 
1604
1605
 
1605
1606
  class CreateMultipartUploadOutput(TypedDict, total=False):
1606
- AbortDate: Optional[AbortDate]
1607
- AbortRuleId: Optional[AbortRuleId]
1608
- Bucket: Optional[BucketName]
1609
- Key: Optional[ObjectKey]
1610
- UploadId: Optional[MultipartUploadId]
1611
- ServerSideEncryption: Optional[ServerSideEncryption]
1612
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
1613
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
1614
- SSEKMSKeyId: Optional[SSEKMSKeyId]
1615
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
1616
- BucketKeyEnabled: Optional[BucketKeyEnabled]
1617
- RequestCharged: Optional[RequestCharged]
1618
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
1619
- ChecksumType: Optional[ChecksumType]
1607
+ AbortDate: AbortDate | None
1608
+ AbortRuleId: AbortRuleId | None
1609
+ Bucket: BucketName | None
1610
+ Key: ObjectKey | None
1611
+ UploadId: MultipartUploadId | None
1612
+ ServerSideEncryption: ServerSideEncryption | None
1613
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
1614
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
1615
+ SSEKMSKeyId: SSEKMSKeyId | None
1616
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
1617
+ BucketKeyEnabled: BucketKeyEnabled | None
1618
+ RequestCharged: RequestCharged | None
1619
+ ChecksumAlgorithm: ChecksumAlgorithm | None
1620
+ ChecksumType: ChecksumType | None
1620
1621
 
1621
1622
 
1622
1623
  class CreateMultipartUploadRequest(ServiceRequest):
1623
- ACL: Optional[ObjectCannedACL]
1624
+ ACL: ObjectCannedACL | None
1624
1625
  Bucket: BucketName
1625
- CacheControl: Optional[CacheControl]
1626
- ContentDisposition: Optional[ContentDisposition]
1627
- ContentEncoding: Optional[ContentEncoding]
1628
- ContentLanguage: Optional[ContentLanguage]
1629
- ContentType: Optional[ContentType]
1630
- Expires: Optional[Expires]
1631
- GrantFullControl: Optional[GrantFullControl]
1632
- GrantRead: Optional[GrantRead]
1633
- GrantReadACP: Optional[GrantReadACP]
1634
- GrantWriteACP: Optional[GrantWriteACP]
1626
+ CacheControl: CacheControl | None
1627
+ ContentDisposition: ContentDisposition | None
1628
+ ContentEncoding: ContentEncoding | None
1629
+ ContentLanguage: ContentLanguage | None
1630
+ ContentType: ContentType | None
1631
+ Expires: Expires | None
1632
+ GrantFullControl: GrantFullControl | None
1633
+ GrantRead: GrantRead | None
1634
+ GrantReadACP: GrantReadACP | None
1635
+ GrantWriteACP: GrantWriteACP | None
1635
1636
  Key: ObjectKey
1636
- Metadata: Optional[Metadata]
1637
- ServerSideEncryption: Optional[ServerSideEncryption]
1638
- StorageClass: Optional[StorageClass]
1639
- WebsiteRedirectLocation: Optional[WebsiteRedirectLocation]
1640
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
1641
- SSECustomerKey: Optional[SSECustomerKey]
1642
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
1643
- SSEKMSKeyId: Optional[SSEKMSKeyId]
1644
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
1645
- BucketKeyEnabled: Optional[BucketKeyEnabled]
1646
- RequestPayer: Optional[RequestPayer]
1647
- Tagging: Optional[TaggingHeader]
1648
- ObjectLockMode: Optional[ObjectLockMode]
1649
- ObjectLockRetainUntilDate: Optional[ObjectLockRetainUntilDate]
1650
- ObjectLockLegalHoldStatus: Optional[ObjectLockLegalHoldStatus]
1651
- ExpectedBucketOwner: Optional[AccountId]
1652
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
1653
- ChecksumType: Optional[ChecksumType]
1637
+ Metadata: Metadata | None
1638
+ ServerSideEncryption: ServerSideEncryption | None
1639
+ StorageClass: StorageClass | None
1640
+ WebsiteRedirectLocation: WebsiteRedirectLocation | None
1641
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
1642
+ SSECustomerKey: SSECustomerKey | None
1643
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
1644
+ SSEKMSKeyId: SSEKMSKeyId | None
1645
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
1646
+ BucketKeyEnabled: BucketKeyEnabled | None
1647
+ RequestPayer: RequestPayer | None
1648
+ Tagging: TaggingHeader | None
1649
+ ObjectLockMode: ObjectLockMode | None
1650
+ ObjectLockRetainUntilDate: ObjectLockRetainUntilDate | None
1651
+ ObjectLockLegalHoldStatus: ObjectLockLegalHoldStatus | None
1652
+ ExpectedBucketOwner: AccountId | None
1653
+ ChecksumAlgorithm: ChecksumAlgorithm | None
1654
+ ChecksumType: ChecksumType | None
1654
1655
 
1655
1656
 
1656
1657
  SessionExpiration = datetime
@@ -1664,26 +1665,26 @@ class SessionCredentials(TypedDict, total=False):
1664
1665
 
1665
1666
 
1666
1667
  class CreateSessionOutput(TypedDict, total=False):
1667
- ServerSideEncryption: Optional[ServerSideEncryption]
1668
- SSEKMSKeyId: Optional[SSEKMSKeyId]
1669
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
1670
- BucketKeyEnabled: Optional[BucketKeyEnabled]
1668
+ ServerSideEncryption: ServerSideEncryption | None
1669
+ SSEKMSKeyId: SSEKMSKeyId | None
1670
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
1671
+ BucketKeyEnabled: BucketKeyEnabled | None
1671
1672
  Credentials: SessionCredentials
1672
1673
 
1673
1674
 
1674
1675
  class CreateSessionRequest(ServiceRequest):
1675
- SessionMode: Optional[SessionMode]
1676
+ SessionMode: SessionMode | None
1676
1677
  Bucket: BucketName
1677
- ServerSideEncryption: Optional[ServerSideEncryption]
1678
- SSEKMSKeyId: Optional[SSEKMSKeyId]
1679
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
1680
- BucketKeyEnabled: Optional[BucketKeyEnabled]
1678
+ ServerSideEncryption: ServerSideEncryption | None
1679
+ SSEKMSKeyId: SSEKMSKeyId | None
1680
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
1681
+ BucketKeyEnabled: BucketKeyEnabled | None
1681
1682
 
1682
1683
 
1683
1684
  class DefaultRetention(TypedDict, total=False):
1684
- Mode: Optional[ObjectLockRetentionMode]
1685
- Days: Optional[Days]
1686
- Years: Optional[Years]
1685
+ Mode: ObjectLockRetentionMode | None
1686
+ Days: Days | None
1687
+ Years: Years | None
1687
1688
 
1688
1689
 
1689
1690
  Size = int
@@ -1692,118 +1693,118 @@ LastModifiedTime = datetime
1692
1693
 
1693
1694
  class ObjectIdentifier(TypedDict, total=False):
1694
1695
  Key: ObjectKey
1695
- VersionId: Optional[ObjectVersionId]
1696
- ETag: Optional[ETag]
1697
- LastModifiedTime: Optional[LastModifiedTime]
1698
- Size: Optional[Size]
1696
+ VersionId: ObjectVersionId | None
1697
+ ETag: ETag | None
1698
+ LastModifiedTime: LastModifiedTime | None
1699
+ Size: Size | None
1699
1700
 
1700
1701
 
1701
- ObjectIdentifierList = List[ObjectIdentifier]
1702
+ ObjectIdentifierList = list[ObjectIdentifier]
1702
1703
 
1703
1704
 
1704
1705
  class Delete(TypedDict, total=False):
1705
1706
  Objects: ObjectIdentifierList
1706
- Quiet: Optional[Quiet]
1707
+ Quiet: Quiet | None
1707
1708
 
1708
1709
 
1709
1710
  class DeleteBucketAnalyticsConfigurationRequest(ServiceRequest):
1710
1711
  Bucket: BucketName
1711
1712
  Id: AnalyticsId
1712
- ExpectedBucketOwner: Optional[AccountId]
1713
+ ExpectedBucketOwner: AccountId | None
1713
1714
 
1714
1715
 
1715
1716
  class DeleteBucketCorsRequest(ServiceRequest):
1716
1717
  Bucket: BucketName
1717
- ExpectedBucketOwner: Optional[AccountId]
1718
+ ExpectedBucketOwner: AccountId | None
1718
1719
 
1719
1720
 
1720
1721
  class DeleteBucketEncryptionRequest(ServiceRequest):
1721
1722
  Bucket: BucketName
1722
- ExpectedBucketOwner: Optional[AccountId]
1723
+ ExpectedBucketOwner: AccountId | None
1723
1724
 
1724
1725
 
1725
1726
  class DeleteBucketIntelligentTieringConfigurationRequest(ServiceRequest):
1726
1727
  Bucket: BucketName
1727
1728
  Id: IntelligentTieringId
1728
- ExpectedBucketOwner: Optional[AccountId]
1729
+ ExpectedBucketOwner: AccountId | None
1729
1730
 
1730
1731
 
1731
1732
  class DeleteBucketInventoryConfigurationRequest(ServiceRequest):
1732
1733
  Bucket: BucketName
1733
1734
  Id: InventoryId
1734
- ExpectedBucketOwner: Optional[AccountId]
1735
+ ExpectedBucketOwner: AccountId | None
1735
1736
 
1736
1737
 
1737
1738
  class DeleteBucketLifecycleRequest(ServiceRequest):
1738
1739
  Bucket: BucketName
1739
- ExpectedBucketOwner: Optional[AccountId]
1740
+ ExpectedBucketOwner: AccountId | None
1740
1741
 
1741
1742
 
1742
1743
  class DeleteBucketMetadataConfigurationRequest(ServiceRequest):
1743
1744
  Bucket: BucketName
1744
- ExpectedBucketOwner: Optional[AccountId]
1745
+ ExpectedBucketOwner: AccountId | None
1745
1746
 
1746
1747
 
1747
1748
  class DeleteBucketMetadataTableConfigurationRequest(ServiceRequest):
1748
1749
  Bucket: BucketName
1749
- ExpectedBucketOwner: Optional[AccountId]
1750
+ ExpectedBucketOwner: AccountId | None
1750
1751
 
1751
1752
 
1752
1753
  class DeleteBucketMetricsConfigurationRequest(ServiceRequest):
1753
1754
  Bucket: BucketName
1754
1755
  Id: MetricsId
1755
- ExpectedBucketOwner: Optional[AccountId]
1756
+ ExpectedBucketOwner: AccountId | None
1756
1757
 
1757
1758
 
1758
1759
  class DeleteBucketOwnershipControlsRequest(ServiceRequest):
1759
1760
  Bucket: BucketName
1760
- ExpectedBucketOwner: Optional[AccountId]
1761
+ ExpectedBucketOwner: AccountId | None
1761
1762
 
1762
1763
 
1763
1764
  class DeleteBucketPolicyRequest(ServiceRequest):
1764
1765
  Bucket: BucketName
1765
- ExpectedBucketOwner: Optional[AccountId]
1766
+ ExpectedBucketOwner: AccountId | None
1766
1767
 
1767
1768
 
1768
1769
  class DeleteBucketReplicationRequest(ServiceRequest):
1769
1770
  Bucket: BucketName
1770
- ExpectedBucketOwner: Optional[AccountId]
1771
+ ExpectedBucketOwner: AccountId | None
1771
1772
 
1772
1773
 
1773
1774
  class DeleteBucketRequest(ServiceRequest):
1774
1775
  Bucket: BucketName
1775
- ExpectedBucketOwner: Optional[AccountId]
1776
+ ExpectedBucketOwner: AccountId | None
1776
1777
 
1777
1778
 
1778
1779
  class DeleteBucketTaggingRequest(ServiceRequest):
1779
1780
  Bucket: BucketName
1780
- ExpectedBucketOwner: Optional[AccountId]
1781
+ ExpectedBucketOwner: AccountId | None
1781
1782
 
1782
1783
 
1783
1784
  class DeleteBucketWebsiteRequest(ServiceRequest):
1784
1785
  Bucket: BucketName
1785
- ExpectedBucketOwner: Optional[AccountId]
1786
+ ExpectedBucketOwner: AccountId | None
1786
1787
 
1787
1788
 
1788
1789
  class DeleteMarkerEntry(TypedDict, total=False):
1789
- Owner: Optional[Owner]
1790
- Key: Optional[ObjectKey]
1791
- VersionId: Optional[ObjectVersionId]
1792
- IsLatest: Optional[IsLatest]
1793
- LastModified: Optional[LastModified]
1790
+ Owner: Owner | None
1791
+ Key: ObjectKey | None
1792
+ VersionId: ObjectVersionId | None
1793
+ IsLatest: IsLatest | None
1794
+ LastModified: LastModified | None
1794
1795
 
1795
1796
 
1796
1797
  class DeleteMarkerReplication(TypedDict, total=False):
1797
- Status: Optional[DeleteMarkerReplicationStatus]
1798
+ Status: DeleteMarkerReplicationStatus | None
1798
1799
 
1799
1800
 
1800
- DeleteMarkers = List[DeleteMarkerEntry]
1801
+ DeleteMarkers = list[DeleteMarkerEntry]
1801
1802
 
1802
1803
 
1803
1804
  class DeleteObjectOutput(TypedDict, total=False):
1804
- DeleteMarker: Optional[DeleteMarker]
1805
- VersionId: Optional[ObjectVersionId]
1806
- RequestCharged: Optional[RequestCharged]
1805
+ DeleteMarker: DeleteMarker | None
1806
+ VersionId: ObjectVersionId | None
1807
+ RequestCharged: RequestCharged | None
1807
1808
 
1808
1809
 
1809
1810
  IfMatchSize = int
@@ -1813,75 +1814,75 @@ IfMatchLastModifiedTime = datetime
1813
1814
  class DeleteObjectRequest(ServiceRequest):
1814
1815
  Bucket: BucketName
1815
1816
  Key: ObjectKey
1816
- MFA: Optional[MFA]
1817
- VersionId: Optional[ObjectVersionId]
1818
- RequestPayer: Optional[RequestPayer]
1819
- BypassGovernanceRetention: Optional[BypassGovernanceRetention]
1820
- ExpectedBucketOwner: Optional[AccountId]
1821
- IfMatch: Optional[IfMatch]
1822
- IfMatchLastModifiedTime: Optional[IfMatchLastModifiedTime]
1823
- IfMatchSize: Optional[IfMatchSize]
1817
+ MFA: MFA | None
1818
+ VersionId: ObjectVersionId | None
1819
+ RequestPayer: RequestPayer | None
1820
+ BypassGovernanceRetention: BypassGovernanceRetention | None
1821
+ ExpectedBucketOwner: AccountId | None
1822
+ IfMatch: IfMatch | None
1823
+ IfMatchLastModifiedTime: IfMatchLastModifiedTime | None
1824
+ IfMatchSize: IfMatchSize | None
1824
1825
 
1825
1826
 
1826
1827
  class DeleteObjectTaggingOutput(TypedDict, total=False):
1827
- VersionId: Optional[ObjectVersionId]
1828
+ VersionId: ObjectVersionId | None
1828
1829
 
1829
1830
 
1830
1831
  class DeleteObjectTaggingRequest(ServiceRequest):
1831
1832
  Bucket: BucketName
1832
1833
  Key: ObjectKey
1833
- VersionId: Optional[ObjectVersionId]
1834
- ExpectedBucketOwner: Optional[AccountId]
1834
+ VersionId: ObjectVersionId | None
1835
+ ExpectedBucketOwner: AccountId | None
1835
1836
 
1836
1837
 
1837
1838
  class Error(TypedDict, total=False):
1838
- Key: Optional[ObjectKey]
1839
- VersionId: Optional[ObjectVersionId]
1840
- Code: Optional[Code]
1841
- Message: Optional[Message]
1839
+ Key: ObjectKey | None
1840
+ VersionId: ObjectVersionId | None
1841
+ Code: Code | None
1842
+ Message: Message | None
1842
1843
 
1843
1844
 
1844
- Errors = List[Error]
1845
+ Errors = list[Error]
1845
1846
 
1846
1847
 
1847
1848
  class DeletedObject(TypedDict, total=False):
1848
- Key: Optional[ObjectKey]
1849
- VersionId: Optional[ObjectVersionId]
1850
- DeleteMarker: Optional[DeleteMarker]
1851
- DeleteMarkerVersionId: Optional[DeleteMarkerVersionId]
1849
+ Key: ObjectKey | None
1850
+ VersionId: ObjectVersionId | None
1851
+ DeleteMarker: DeleteMarker | None
1852
+ DeleteMarkerVersionId: DeleteMarkerVersionId | None
1852
1853
 
1853
1854
 
1854
- DeletedObjects = List[DeletedObject]
1855
+ DeletedObjects = list[DeletedObject]
1855
1856
 
1856
1857
 
1857
1858
  class DeleteObjectsOutput(TypedDict, total=False):
1858
- Deleted: Optional[DeletedObjects]
1859
- RequestCharged: Optional[RequestCharged]
1860
- Errors: Optional[Errors]
1859
+ Deleted: DeletedObjects | None
1860
+ RequestCharged: RequestCharged | None
1861
+ Errors: Errors | None
1861
1862
 
1862
1863
 
1863
1864
  class DeleteObjectsRequest(ServiceRequest):
1864
1865
  Bucket: BucketName
1865
1866
  Delete: Delete
1866
- MFA: Optional[MFA]
1867
- RequestPayer: Optional[RequestPayer]
1868
- BypassGovernanceRetention: Optional[BypassGovernanceRetention]
1869
- ExpectedBucketOwner: Optional[AccountId]
1870
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
1867
+ MFA: MFA | None
1868
+ RequestPayer: RequestPayer | None
1869
+ BypassGovernanceRetention: BypassGovernanceRetention | None
1870
+ ExpectedBucketOwner: AccountId | None
1871
+ ChecksumAlgorithm: ChecksumAlgorithm | None
1871
1872
 
1872
1873
 
1873
1874
  class DeletePublicAccessBlockRequest(ServiceRequest):
1874
1875
  Bucket: BucketName
1875
- ExpectedBucketOwner: Optional[AccountId]
1876
+ ExpectedBucketOwner: AccountId | None
1876
1877
 
1877
1878
 
1878
1879
  class ReplicationTimeValue(TypedDict, total=False):
1879
- Minutes: Optional[Minutes]
1880
+ Minutes: Minutes | None
1880
1881
 
1881
1882
 
1882
1883
  class Metrics(TypedDict, total=False):
1883
1884
  Status: MetricsStatus
1884
- EventThreshold: Optional[ReplicationTimeValue]
1885
+ EventThreshold: ReplicationTimeValue | None
1885
1886
 
1886
1887
 
1887
1888
  class ReplicationTime(TypedDict, total=False):
@@ -1890,29 +1891,29 @@ class ReplicationTime(TypedDict, total=False):
1890
1891
 
1891
1892
 
1892
1893
  class EncryptionConfiguration(TypedDict, total=False):
1893
- ReplicaKmsKeyID: Optional[ReplicaKmsKeyID]
1894
+ ReplicaKmsKeyID: ReplicaKmsKeyID | None
1894
1895
 
1895
1896
 
1896
1897
  class Destination(TypedDict, total=False):
1897
1898
  Bucket: BucketName
1898
- Account: Optional[AccountId]
1899
- StorageClass: Optional[StorageClass]
1900
- AccessControlTranslation: Optional[AccessControlTranslation]
1901
- EncryptionConfiguration: Optional[EncryptionConfiguration]
1902
- ReplicationTime: Optional[ReplicationTime]
1903
- Metrics: Optional[Metrics]
1899
+ Account: AccountId | None
1900
+ StorageClass: StorageClass | None
1901
+ AccessControlTranslation: AccessControlTranslation | None
1902
+ EncryptionConfiguration: EncryptionConfiguration | None
1903
+ ReplicationTime: ReplicationTime | None
1904
+ Metrics: Metrics | None
1904
1905
 
1905
1906
 
1906
1907
  class DestinationResult(TypedDict, total=False):
1907
- TableBucketType: Optional[S3TablesBucketType]
1908
- TableBucketArn: Optional[S3TablesBucketArn]
1909
- TableNamespace: Optional[S3TablesNamespace]
1908
+ TableBucketType: S3TablesBucketType | None
1909
+ TableBucketArn: S3TablesBucketArn | None
1910
+ TableNamespace: S3TablesNamespace | None
1910
1911
 
1911
1912
 
1912
1913
  class Encryption(TypedDict, total=False):
1913
1914
  EncryptionType: ServerSideEncryption
1914
- KMSKeyId: Optional[SSEKMSKeyId]
1915
- KMSContext: Optional[KMSContext]
1915
+ KMSKeyId: SSEKMSKeyId | None
1916
+ KMSContext: KMSContext | None
1916
1917
 
1917
1918
 
1918
1919
  End = int
@@ -1923,8 +1924,8 @@ class EndEvent(TypedDict, total=False):
1923
1924
 
1924
1925
 
1925
1926
  class ErrorDetails(TypedDict, total=False):
1926
- ErrorCode: Optional[ErrorCode]
1927
- ErrorMessage: Optional[ErrorMessage]
1927
+ ErrorCode: ErrorCode | None
1928
+ ErrorMessage: ErrorMessage | None
1928
1929
 
1929
1930
 
1930
1931
  class ErrorDocument(TypedDict, total=False):
@@ -1940,64 +1941,64 @@ class ExistingObjectReplication(TypedDict, total=False):
1940
1941
 
1941
1942
 
1942
1943
  class FilterRule(TypedDict, total=False):
1943
- Name: Optional[FilterRuleName]
1944
- Value: Optional[FilterRuleValue]
1944
+ Name: FilterRuleName | None
1945
+ Value: FilterRuleValue | None
1945
1946
 
1946
1947
 
1947
- FilterRuleList = List[FilterRule]
1948
+ FilterRuleList = list[FilterRule]
1948
1949
 
1949
1950
 
1950
1951
  class GetBucketAccelerateConfigurationOutput(TypedDict, total=False):
1951
- Status: Optional[BucketAccelerateStatus]
1952
- RequestCharged: Optional[RequestCharged]
1952
+ Status: BucketAccelerateStatus | None
1953
+ RequestCharged: RequestCharged | None
1953
1954
 
1954
1955
 
1955
1956
  class GetBucketAccelerateConfigurationRequest(ServiceRequest):
1956
1957
  Bucket: BucketName
1957
- ExpectedBucketOwner: Optional[AccountId]
1958
- RequestPayer: Optional[RequestPayer]
1958
+ ExpectedBucketOwner: AccountId | None
1959
+ RequestPayer: RequestPayer | None
1959
1960
 
1960
1961
 
1961
1962
  class GetBucketAclOutput(TypedDict, total=False):
1962
- Owner: Optional[Owner]
1963
- Grants: Optional[Grants]
1963
+ Owner: Owner | None
1964
+ Grants: Grants | None
1964
1965
 
1965
1966
 
1966
1967
  class GetBucketAclRequest(ServiceRequest):
1967
1968
  Bucket: BucketName
1968
- ExpectedBucketOwner: Optional[AccountId]
1969
+ ExpectedBucketOwner: AccountId | None
1969
1970
 
1970
1971
 
1971
1972
  class GetBucketAnalyticsConfigurationOutput(TypedDict, total=False):
1972
- AnalyticsConfiguration: Optional[AnalyticsConfiguration]
1973
+ AnalyticsConfiguration: AnalyticsConfiguration | None
1973
1974
 
1974
1975
 
1975
1976
  class GetBucketAnalyticsConfigurationRequest(ServiceRequest):
1976
1977
  Bucket: BucketName
1977
1978
  Id: AnalyticsId
1978
- ExpectedBucketOwner: Optional[AccountId]
1979
+ ExpectedBucketOwner: AccountId | None
1979
1980
 
1980
1981
 
1981
1982
  class GetBucketCorsOutput(TypedDict, total=False):
1982
- CORSRules: Optional[CORSRules]
1983
+ CORSRules: CORSRules | None
1983
1984
 
1984
1985
 
1985
1986
  class GetBucketCorsRequest(ServiceRequest):
1986
1987
  Bucket: BucketName
1987
- ExpectedBucketOwner: Optional[AccountId]
1988
+ ExpectedBucketOwner: AccountId | None
1988
1989
 
1989
1990
 
1990
1991
  class ServerSideEncryptionByDefault(TypedDict, total=False):
1991
1992
  SSEAlgorithm: ServerSideEncryption
1992
- KMSMasterKeyID: Optional[SSEKMSKeyId]
1993
+ KMSMasterKeyID: SSEKMSKeyId | None
1993
1994
 
1994
1995
 
1995
1996
  class ServerSideEncryptionRule(TypedDict, total=False):
1996
- ApplyServerSideEncryptionByDefault: Optional[ServerSideEncryptionByDefault]
1997
- BucketKeyEnabled: Optional[BucketKeyEnabled]
1997
+ ApplyServerSideEncryptionByDefault: ServerSideEncryptionByDefault | None
1998
+ BucketKeyEnabled: BucketKeyEnabled | None
1998
1999
 
1999
2000
 
2000
- ServerSideEncryptionRules = List[ServerSideEncryptionRule]
2001
+ ServerSideEncryptionRules = list[ServerSideEncryptionRule]
2001
2002
 
2002
2003
 
2003
2004
  class ServerSideEncryptionConfiguration(TypedDict, total=False):
@@ -2005,12 +2006,12 @@ class ServerSideEncryptionConfiguration(TypedDict, total=False):
2005
2006
 
2006
2007
 
2007
2008
  class GetBucketEncryptionOutput(TypedDict, total=False):
2008
- ServerSideEncryptionConfiguration: Optional[ServerSideEncryptionConfiguration]
2009
+ ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration | None
2009
2010
 
2010
2011
 
2011
2012
  class GetBucketEncryptionRequest(ServiceRequest):
2012
2013
  Bucket: BucketName
2013
- ExpectedBucketOwner: Optional[AccountId]
2014
+ ExpectedBucketOwner: AccountId | None
2014
2015
 
2015
2016
 
2016
2017
  class Tiering(TypedDict, total=False):
@@ -2018,42 +2019,42 @@ class Tiering(TypedDict, total=False):
2018
2019
  AccessTier: IntelligentTieringAccessTier
2019
2020
 
2020
2021
 
2021
- TieringList = List[Tiering]
2022
+ TieringList = list[Tiering]
2022
2023
 
2023
2024
 
2024
2025
  class IntelligentTieringAndOperator(TypedDict, total=False):
2025
- Prefix: Optional[Prefix]
2026
- Tags: Optional[TagSet]
2026
+ Prefix: Prefix | None
2027
+ Tags: TagSet | None
2027
2028
 
2028
2029
 
2029
2030
  class IntelligentTieringFilter(TypedDict, total=False):
2030
- Prefix: Optional[Prefix]
2031
- Tag: Optional[Tag]
2032
- And: Optional[IntelligentTieringAndOperator]
2031
+ Prefix: Prefix | None
2032
+ Tag: Tag | None
2033
+ And: IntelligentTieringAndOperator | None
2033
2034
 
2034
2035
 
2035
2036
  class IntelligentTieringConfiguration(TypedDict, total=False):
2036
2037
  Id: IntelligentTieringId
2037
- Filter: Optional[IntelligentTieringFilter]
2038
+ Filter: IntelligentTieringFilter | None
2038
2039
  Status: IntelligentTieringStatus
2039
2040
  Tierings: TieringList
2040
2041
 
2041
2042
 
2042
2043
  class GetBucketIntelligentTieringConfigurationOutput(TypedDict, total=False):
2043
- IntelligentTieringConfiguration: Optional[IntelligentTieringConfiguration]
2044
+ IntelligentTieringConfiguration: IntelligentTieringConfiguration | None
2044
2045
 
2045
2046
 
2046
2047
  class GetBucketIntelligentTieringConfigurationRequest(ServiceRequest):
2047
2048
  Bucket: BucketName
2048
2049
  Id: IntelligentTieringId
2049
- ExpectedBucketOwner: Optional[AccountId]
2050
+ ExpectedBucketOwner: AccountId | None
2050
2051
 
2051
2052
 
2052
2053
  class InventorySchedule(TypedDict, total=False):
2053
2054
  Frequency: InventoryFrequency
2054
2055
 
2055
2056
 
2056
- InventoryOptionalFields = List[InventoryOptionalField]
2057
+ InventoryOptionalFields = list[InventoryOptionalField]
2057
2058
 
2058
2059
 
2059
2060
  class InventoryFilter(TypedDict, total=False):
@@ -2069,16 +2070,16 @@ class SSES3(TypedDict, total=False):
2069
2070
 
2070
2071
 
2071
2072
  class InventoryEncryption(TypedDict, total=False):
2072
- SSES3: Optional[SSES3]
2073
- SSEKMS: Optional[SSEKMS]
2073
+ SSES3: SSES3 | None
2074
+ SSEKMS: SSEKMS | None
2074
2075
 
2075
2076
 
2076
2077
  class InventoryS3BucketDestination(TypedDict, total=False):
2077
- AccountId: Optional[AccountId]
2078
+ AccountId: AccountId | None
2078
2079
  Bucket: BucketName
2079
2080
  Format: InventoryFormat
2080
- Prefix: Optional[Prefix]
2081
- Encryption: Optional[InventoryEncryption]
2081
+ Prefix: Prefix | None
2082
+ Encryption: InventoryEncryption | None
2082
2083
 
2083
2084
 
2084
2085
  class InventoryDestination(TypedDict, total=False):
@@ -2088,94 +2089,94 @@ class InventoryDestination(TypedDict, total=False):
2088
2089
  class InventoryConfiguration(TypedDict, total=False):
2089
2090
  Destination: InventoryDestination
2090
2091
  IsEnabled: IsEnabled
2091
- Filter: Optional[InventoryFilter]
2092
+ Filter: InventoryFilter | None
2092
2093
  Id: InventoryId
2093
2094
  IncludedObjectVersions: InventoryIncludedObjectVersions
2094
- OptionalFields: Optional[InventoryOptionalFields]
2095
+ OptionalFields: InventoryOptionalFields | None
2095
2096
  Schedule: InventorySchedule
2096
2097
 
2097
2098
 
2098
2099
  class GetBucketInventoryConfigurationOutput(TypedDict, total=False):
2099
- InventoryConfiguration: Optional[InventoryConfiguration]
2100
+ InventoryConfiguration: InventoryConfiguration | None
2100
2101
 
2101
2102
 
2102
2103
  class GetBucketInventoryConfigurationRequest(ServiceRequest):
2103
2104
  Bucket: BucketName
2104
2105
  Id: InventoryId
2105
- ExpectedBucketOwner: Optional[AccountId]
2106
+ ExpectedBucketOwner: AccountId | None
2106
2107
 
2107
2108
 
2108
2109
  class GetBucketLifecycleConfigurationOutput(TypedDict, total=False):
2109
- Rules: Optional[LifecycleRules]
2110
- TransitionDefaultMinimumObjectSize: Optional[TransitionDefaultMinimumObjectSize]
2110
+ Rules: LifecycleRules | None
2111
+ TransitionDefaultMinimumObjectSize: TransitionDefaultMinimumObjectSize | None
2111
2112
 
2112
2113
 
2113
2114
  class GetBucketLifecycleConfigurationRequest(ServiceRequest):
2114
2115
  Bucket: BucketName
2115
- ExpectedBucketOwner: Optional[AccountId]
2116
+ ExpectedBucketOwner: AccountId | None
2116
2117
 
2117
2118
 
2118
2119
  class Rule(TypedDict, total=False):
2119
- Expiration: Optional[LifecycleExpiration]
2120
- ID: Optional[ID]
2120
+ Expiration: LifecycleExpiration | None
2121
+ ID: ID | None
2121
2122
  Prefix: Prefix
2122
2123
  Status: ExpirationStatus
2123
- Transition: Optional[Transition]
2124
- NoncurrentVersionTransition: Optional[NoncurrentVersionTransition]
2125
- NoncurrentVersionExpiration: Optional[NoncurrentVersionExpiration]
2126
- AbortIncompleteMultipartUpload: Optional[AbortIncompleteMultipartUpload]
2124
+ Transition: Transition | None
2125
+ NoncurrentVersionTransition: NoncurrentVersionTransition | None
2126
+ NoncurrentVersionExpiration: NoncurrentVersionExpiration | None
2127
+ AbortIncompleteMultipartUpload: AbortIncompleteMultipartUpload | None
2127
2128
 
2128
2129
 
2129
- Rules = List[Rule]
2130
+ Rules = list[Rule]
2130
2131
 
2131
2132
 
2132
2133
  class GetBucketLifecycleOutput(TypedDict, total=False):
2133
- Rules: Optional[Rules]
2134
+ Rules: Rules | None
2134
2135
 
2135
2136
 
2136
2137
  class GetBucketLifecycleRequest(ServiceRequest):
2137
2138
  Bucket: BucketName
2138
- ExpectedBucketOwner: Optional[AccountId]
2139
+ ExpectedBucketOwner: AccountId | None
2139
2140
 
2140
2141
 
2141
2142
  class GetBucketLocationOutput(TypedDict, total=False):
2142
- LocationConstraint: Optional[BucketLocationConstraint]
2143
+ LocationConstraint: BucketLocationConstraint | None
2143
2144
 
2144
2145
 
2145
2146
  class GetBucketLocationRequest(ServiceRequest):
2146
2147
  Bucket: BucketName
2147
- ExpectedBucketOwner: Optional[AccountId]
2148
+ ExpectedBucketOwner: AccountId | None
2148
2149
 
2149
2150
 
2150
2151
  class GetBucketLoggingOutput(TypedDict, total=False):
2151
- LoggingEnabled: Optional[LoggingEnabled]
2152
+ LoggingEnabled: LoggingEnabled | None
2152
2153
 
2153
2154
 
2154
2155
  class GetBucketLoggingRequest(ServiceRequest):
2155
2156
  Bucket: BucketName
2156
- ExpectedBucketOwner: Optional[AccountId]
2157
+ ExpectedBucketOwner: AccountId | None
2157
2158
 
2158
2159
 
2159
2160
  class InventoryTableConfigurationResult(TypedDict, total=False):
2160
2161
  ConfigurationState: InventoryConfigurationState
2161
- TableStatus: Optional[MetadataTableStatus]
2162
- Error: Optional[ErrorDetails]
2163
- TableName: Optional[S3TablesName]
2164
- TableArn: Optional[S3TablesArn]
2162
+ TableStatus: MetadataTableStatus | None
2163
+ Error: ErrorDetails | None
2164
+ TableName: S3TablesName | None
2165
+ TableArn: S3TablesArn | None
2165
2166
 
2166
2167
 
2167
2168
  class JournalTableConfigurationResult(TypedDict, total=False):
2168
2169
  TableStatus: MetadataTableStatus
2169
- Error: Optional[ErrorDetails]
2170
+ Error: ErrorDetails | None
2170
2171
  TableName: S3TablesName
2171
- TableArn: Optional[S3TablesArn]
2172
+ TableArn: S3TablesArn | None
2172
2173
  RecordExpiration: RecordExpiration
2173
2174
 
2174
2175
 
2175
2176
  class MetadataConfigurationResult(TypedDict, total=False):
2176
2177
  DestinationResult: DestinationResult
2177
- JournalTableConfigurationResult: Optional[JournalTableConfigurationResult]
2178
- InventoryTableConfigurationResult: Optional[InventoryTableConfigurationResult]
2178
+ JournalTableConfigurationResult: JournalTableConfigurationResult | None
2179
+ InventoryTableConfigurationResult: InventoryTableConfigurationResult | None
2179
2180
 
2180
2181
 
2181
2182
  class GetBucketMetadataConfigurationResult(TypedDict, total=False):
@@ -2183,12 +2184,12 @@ class GetBucketMetadataConfigurationResult(TypedDict, total=False):
2183
2184
 
2184
2185
 
2185
2186
  class GetBucketMetadataConfigurationOutput(TypedDict, total=False):
2186
- GetBucketMetadataConfigurationResult: Optional[GetBucketMetadataConfigurationResult]
2187
+ GetBucketMetadataConfigurationResult: GetBucketMetadataConfigurationResult | None
2187
2188
 
2188
2189
 
2189
2190
  class GetBucketMetadataConfigurationRequest(ServiceRequest):
2190
2191
  Bucket: BucketName
2191
- ExpectedBucketOwner: Optional[AccountId]
2192
+ ExpectedBucketOwner: AccountId | None
2192
2193
 
2193
2194
 
2194
2195
  class S3TablesDestinationResult(TypedDict, total=False):
@@ -2205,56 +2206,56 @@ class MetadataTableConfigurationResult(TypedDict, total=False):
2205
2206
  class GetBucketMetadataTableConfigurationResult(TypedDict, total=False):
2206
2207
  MetadataTableConfigurationResult: MetadataTableConfigurationResult
2207
2208
  Status: MetadataTableStatus
2208
- Error: Optional[ErrorDetails]
2209
+ Error: ErrorDetails | None
2209
2210
 
2210
2211
 
2211
2212
  class GetBucketMetadataTableConfigurationOutput(TypedDict, total=False):
2212
- GetBucketMetadataTableConfigurationResult: Optional[GetBucketMetadataTableConfigurationResult]
2213
+ GetBucketMetadataTableConfigurationResult: GetBucketMetadataTableConfigurationResult | None
2213
2214
 
2214
2215
 
2215
2216
  class GetBucketMetadataTableConfigurationRequest(ServiceRequest):
2216
2217
  Bucket: BucketName
2217
- ExpectedBucketOwner: Optional[AccountId]
2218
+ ExpectedBucketOwner: AccountId | None
2218
2219
 
2219
2220
 
2220
2221
  class MetricsAndOperator(TypedDict, total=False):
2221
- Prefix: Optional[Prefix]
2222
- Tags: Optional[TagSet]
2223
- AccessPointArn: Optional[AccessPointArn]
2222
+ Prefix: Prefix | None
2223
+ Tags: TagSet | None
2224
+ AccessPointArn: AccessPointArn | None
2224
2225
 
2225
2226
 
2226
2227
  class MetricsFilter(TypedDict, total=False):
2227
- Prefix: Optional[Prefix]
2228
- Tag: Optional[Tag]
2229
- AccessPointArn: Optional[AccessPointArn]
2230
- And: Optional[MetricsAndOperator]
2228
+ Prefix: Prefix | None
2229
+ Tag: Tag | None
2230
+ AccessPointArn: AccessPointArn | None
2231
+ And: MetricsAndOperator | None
2231
2232
 
2232
2233
 
2233
2234
  class MetricsConfiguration(TypedDict, total=False):
2234
2235
  Id: MetricsId
2235
- Filter: Optional[MetricsFilter]
2236
+ Filter: MetricsFilter | None
2236
2237
 
2237
2238
 
2238
2239
  class GetBucketMetricsConfigurationOutput(TypedDict, total=False):
2239
- MetricsConfiguration: Optional[MetricsConfiguration]
2240
+ MetricsConfiguration: MetricsConfiguration | None
2240
2241
 
2241
2242
 
2242
2243
  class GetBucketMetricsConfigurationRequest(ServiceRequest):
2243
2244
  Bucket: BucketName
2244
2245
  Id: MetricsId
2245
- ExpectedBucketOwner: Optional[AccountId]
2246
+ ExpectedBucketOwner: AccountId | None
2246
2247
 
2247
2248
 
2248
2249
  class GetBucketNotificationConfigurationRequest(ServiceRequest):
2249
2250
  Bucket: BucketName
2250
- ExpectedBucketOwner: Optional[AccountId]
2251
+ ExpectedBucketOwner: AccountId | None
2251
2252
 
2252
2253
 
2253
2254
  class OwnershipControlsRule(TypedDict, total=False):
2254
2255
  ObjectOwnership: ObjectOwnership
2255
2256
 
2256
2257
 
2257
- OwnershipControlsRules = List[OwnershipControlsRule]
2258
+ OwnershipControlsRules = list[OwnershipControlsRule]
2258
2259
 
2259
2260
 
2260
2261
  class OwnershipControls(TypedDict, total=False):
@@ -2262,34 +2263,34 @@ class OwnershipControls(TypedDict, total=False):
2262
2263
 
2263
2264
 
2264
2265
  class GetBucketOwnershipControlsOutput(TypedDict, total=False):
2265
- OwnershipControls: Optional[OwnershipControls]
2266
+ OwnershipControls: OwnershipControls | None
2266
2267
 
2267
2268
 
2268
2269
  class GetBucketOwnershipControlsRequest(ServiceRequest):
2269
2270
  Bucket: BucketName
2270
- ExpectedBucketOwner: Optional[AccountId]
2271
+ ExpectedBucketOwner: AccountId | None
2271
2272
 
2272
2273
 
2273
2274
  class GetBucketPolicyOutput(TypedDict, total=False):
2274
- Policy: Optional[Policy]
2275
+ Policy: Policy | None
2275
2276
 
2276
2277
 
2277
2278
  class GetBucketPolicyRequest(ServiceRequest):
2278
2279
  Bucket: BucketName
2279
- ExpectedBucketOwner: Optional[AccountId]
2280
+ ExpectedBucketOwner: AccountId | None
2280
2281
 
2281
2282
 
2282
2283
  class PolicyStatus(TypedDict, total=False):
2283
- IsPublic: Optional[IsPublic]
2284
+ IsPublic: IsPublic | None
2284
2285
 
2285
2286
 
2286
2287
  class GetBucketPolicyStatusOutput(TypedDict, total=False):
2287
- PolicyStatus: Optional[PolicyStatus]
2288
+ PolicyStatus: PolicyStatus | None
2288
2289
 
2289
2290
 
2290
2291
  class GetBucketPolicyStatusRequest(ServiceRequest):
2291
2292
  Bucket: BucketName
2292
- ExpectedBucketOwner: Optional[AccountId]
2293
+ ExpectedBucketOwner: AccountId | None
2293
2294
 
2294
2295
 
2295
2296
  class ReplicaModifications(TypedDict, total=False):
@@ -2301,34 +2302,34 @@ class SseKmsEncryptedObjects(TypedDict, total=False):
2301
2302
 
2302
2303
 
2303
2304
  class SourceSelectionCriteria(TypedDict, total=False):
2304
- SseKmsEncryptedObjects: Optional[SseKmsEncryptedObjects]
2305
- ReplicaModifications: Optional[ReplicaModifications]
2305
+ SseKmsEncryptedObjects: SseKmsEncryptedObjects | None
2306
+ ReplicaModifications: ReplicaModifications | None
2306
2307
 
2307
2308
 
2308
2309
  class ReplicationRuleAndOperator(TypedDict, total=False):
2309
- Prefix: Optional[Prefix]
2310
- Tags: Optional[TagSet]
2310
+ Prefix: Prefix | None
2311
+ Tags: TagSet | None
2311
2312
 
2312
2313
 
2313
2314
  class ReplicationRuleFilter(TypedDict, total=False):
2314
- Prefix: Optional[Prefix]
2315
- Tag: Optional[Tag]
2316
- And: Optional[ReplicationRuleAndOperator]
2315
+ Prefix: Prefix | None
2316
+ Tag: Tag | None
2317
+ And: ReplicationRuleAndOperator | None
2317
2318
 
2318
2319
 
2319
2320
  class ReplicationRule(TypedDict, total=False):
2320
- ID: Optional[ID]
2321
- Priority: Optional[Priority]
2322
- Prefix: Optional[Prefix]
2323
- Filter: Optional[ReplicationRuleFilter]
2321
+ ID: ID | None
2322
+ Priority: Priority | None
2323
+ Prefix: Prefix | None
2324
+ Filter: ReplicationRuleFilter | None
2324
2325
  Status: ReplicationRuleStatus
2325
- SourceSelectionCriteria: Optional[SourceSelectionCriteria]
2326
- ExistingObjectReplication: Optional[ExistingObjectReplication]
2326
+ SourceSelectionCriteria: SourceSelectionCriteria | None
2327
+ ExistingObjectReplication: ExistingObjectReplication | None
2327
2328
  Destination: Destination
2328
- DeleteMarkerReplication: Optional[DeleteMarkerReplication]
2329
+ DeleteMarkerReplication: DeleteMarkerReplication | None
2329
2330
 
2330
2331
 
2331
- ReplicationRules = List[ReplicationRule]
2332
+ ReplicationRules = list[ReplicationRule]
2332
2333
 
2333
2334
 
2334
2335
  class ReplicationConfiguration(TypedDict, total=False):
@@ -2337,21 +2338,21 @@ class ReplicationConfiguration(TypedDict, total=False):
2337
2338
 
2338
2339
 
2339
2340
  class GetBucketReplicationOutput(TypedDict, total=False):
2340
- ReplicationConfiguration: Optional[ReplicationConfiguration]
2341
+ ReplicationConfiguration: ReplicationConfiguration | None
2341
2342
 
2342
2343
 
2343
2344
  class GetBucketReplicationRequest(ServiceRequest):
2344
2345
  Bucket: BucketName
2345
- ExpectedBucketOwner: Optional[AccountId]
2346
+ ExpectedBucketOwner: AccountId | None
2346
2347
 
2347
2348
 
2348
2349
  class GetBucketRequestPaymentOutput(TypedDict, total=False):
2349
- Payer: Optional[Payer]
2350
+ Payer: Payer | None
2350
2351
 
2351
2352
 
2352
2353
  class GetBucketRequestPaymentRequest(ServiceRequest):
2353
2354
  Bucket: BucketName
2354
- ExpectedBucketOwner: Optional[AccountId]
2355
+ ExpectedBucketOwner: AccountId | None
2355
2356
 
2356
2357
 
2357
2358
  class GetBucketTaggingOutput(TypedDict, total=False):
@@ -2360,33 +2361,33 @@ class GetBucketTaggingOutput(TypedDict, total=False):
2360
2361
 
2361
2362
  class GetBucketTaggingRequest(ServiceRequest):
2362
2363
  Bucket: BucketName
2363
- ExpectedBucketOwner: Optional[AccountId]
2364
+ ExpectedBucketOwner: AccountId | None
2364
2365
 
2365
2366
 
2366
2367
  class GetBucketVersioningOutput(TypedDict, total=False):
2367
- Status: Optional[BucketVersioningStatus]
2368
- MFADelete: Optional[MFADeleteStatus]
2368
+ Status: BucketVersioningStatus | None
2369
+ MFADelete: MFADeleteStatus | None
2369
2370
 
2370
2371
 
2371
2372
  class GetBucketVersioningRequest(ServiceRequest):
2372
2373
  Bucket: BucketName
2373
- ExpectedBucketOwner: Optional[AccountId]
2374
+ ExpectedBucketOwner: AccountId | None
2374
2375
 
2375
2376
 
2376
2377
  class Redirect(TypedDict, total=False):
2377
- HostName: Optional[HostName]
2378
- HttpRedirectCode: Optional[HttpRedirectCode]
2379
- Protocol: Optional[Protocol]
2380
- ReplaceKeyPrefixWith: Optional[ReplaceKeyPrefixWith]
2381
- ReplaceKeyWith: Optional[ReplaceKeyWith]
2378
+ HostName: HostName | None
2379
+ HttpRedirectCode: HttpRedirectCode | None
2380
+ Protocol: Protocol | None
2381
+ ReplaceKeyPrefixWith: ReplaceKeyPrefixWith | None
2382
+ ReplaceKeyWith: ReplaceKeyWith | None
2382
2383
 
2383
2384
 
2384
2385
  class RoutingRule(TypedDict, total=False):
2385
- Condition: Optional[Condition]
2386
+ Condition: Condition | None
2386
2387
  Redirect: Redirect
2387
2388
 
2388
2389
 
2389
- RoutingRules = List[RoutingRule]
2390
+ RoutingRules = list[RoutingRule]
2390
2391
 
2391
2392
 
2392
2393
  class IndexDocument(TypedDict, total=False):
@@ -2395,160 +2396,160 @@ class IndexDocument(TypedDict, total=False):
2395
2396
 
2396
2397
  class RedirectAllRequestsTo(TypedDict, total=False):
2397
2398
  HostName: HostName
2398
- Protocol: Optional[Protocol]
2399
+ Protocol: Protocol | None
2399
2400
 
2400
2401
 
2401
2402
  class GetBucketWebsiteOutput(TypedDict, total=False):
2402
- RedirectAllRequestsTo: Optional[RedirectAllRequestsTo]
2403
- IndexDocument: Optional[IndexDocument]
2404
- ErrorDocument: Optional[ErrorDocument]
2405
- RoutingRules: Optional[RoutingRules]
2403
+ RedirectAllRequestsTo: RedirectAllRequestsTo | None
2404
+ IndexDocument: IndexDocument | None
2405
+ ErrorDocument: ErrorDocument | None
2406
+ RoutingRules: RoutingRules | None
2406
2407
 
2407
2408
 
2408
2409
  class GetBucketWebsiteRequest(ServiceRequest):
2409
2410
  Bucket: BucketName
2410
- ExpectedBucketOwner: Optional[AccountId]
2411
+ ExpectedBucketOwner: AccountId | None
2411
2412
 
2412
2413
 
2413
2414
  class GetObjectAclOutput(TypedDict, total=False):
2414
- Owner: Optional[Owner]
2415
- Grants: Optional[Grants]
2416
- RequestCharged: Optional[RequestCharged]
2415
+ Owner: Owner | None
2416
+ Grants: Grants | None
2417
+ RequestCharged: RequestCharged | None
2417
2418
 
2418
2419
 
2419
2420
  class GetObjectAclRequest(ServiceRequest):
2420
2421
  Bucket: BucketName
2421
2422
  Key: ObjectKey
2422
- VersionId: Optional[ObjectVersionId]
2423
- RequestPayer: Optional[RequestPayer]
2424
- ExpectedBucketOwner: Optional[AccountId]
2423
+ VersionId: ObjectVersionId | None
2424
+ RequestPayer: RequestPayer | None
2425
+ ExpectedBucketOwner: AccountId | None
2425
2426
 
2426
2427
 
2427
2428
  class ObjectPart(TypedDict, total=False):
2428
- PartNumber: Optional[PartNumber]
2429
- Size: Optional[Size]
2430
- ChecksumCRC32: Optional[ChecksumCRC32]
2431
- ChecksumCRC32C: Optional[ChecksumCRC32C]
2432
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
2433
- ChecksumSHA1: Optional[ChecksumSHA1]
2434
- ChecksumSHA256: Optional[ChecksumSHA256]
2429
+ PartNumber: PartNumber | None
2430
+ Size: Size | None
2431
+ ChecksumCRC32: ChecksumCRC32 | None
2432
+ ChecksumCRC32C: ChecksumCRC32C | None
2433
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
2434
+ ChecksumSHA1: ChecksumSHA1 | None
2435
+ ChecksumSHA256: ChecksumSHA256 | None
2435
2436
 
2436
2437
 
2437
- PartsList = List[ObjectPart]
2438
+ PartsList = list[ObjectPart]
2438
2439
 
2439
2440
 
2440
2441
  class GetObjectAttributesParts(TypedDict, total=False):
2441
- TotalPartsCount: Optional[PartsCount]
2442
- PartNumberMarker: Optional[PartNumberMarker]
2443
- NextPartNumberMarker: Optional[NextPartNumberMarker]
2444
- MaxParts: Optional[MaxParts]
2445
- IsTruncated: Optional[IsTruncated]
2446
- Parts: Optional[PartsList]
2442
+ TotalPartsCount: PartsCount | None
2443
+ PartNumberMarker: PartNumberMarker | None
2444
+ NextPartNumberMarker: NextPartNumberMarker | None
2445
+ MaxParts: MaxParts | None
2446
+ IsTruncated: IsTruncated | None
2447
+ Parts: PartsList | None
2447
2448
 
2448
2449
 
2449
2450
  class GetObjectAttributesOutput(TypedDict, total=False):
2450
- DeleteMarker: Optional[DeleteMarker]
2451
- LastModified: Optional[LastModified]
2452
- VersionId: Optional[ObjectVersionId]
2453
- RequestCharged: Optional[RequestCharged]
2454
- ETag: Optional[ETag]
2455
- Checksum: Optional[Checksum]
2456
- ObjectParts: Optional[GetObjectAttributesParts]
2457
- StorageClass: Optional[StorageClass]
2458
- ObjectSize: Optional[ObjectSize]
2451
+ DeleteMarker: DeleteMarker | None
2452
+ LastModified: LastModified | None
2453
+ VersionId: ObjectVersionId | None
2454
+ RequestCharged: RequestCharged | None
2455
+ ETag: ETag | None
2456
+ Checksum: Checksum | None
2457
+ ObjectParts: GetObjectAttributesParts | None
2458
+ StorageClass: StorageClass | None
2459
+ ObjectSize: ObjectSize | None
2459
2460
 
2460
2461
 
2461
- ObjectAttributesList = List[ObjectAttributes]
2462
+ ObjectAttributesList = list[ObjectAttributes]
2462
2463
 
2463
2464
 
2464
2465
  class GetObjectAttributesRequest(ServiceRequest):
2465
2466
  Bucket: BucketName
2466
2467
  Key: ObjectKey
2467
- VersionId: Optional[ObjectVersionId]
2468
- MaxParts: Optional[MaxParts]
2469
- PartNumberMarker: Optional[PartNumberMarker]
2470
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
2471
- SSECustomerKey: Optional[SSECustomerKey]
2472
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
2473
- RequestPayer: Optional[RequestPayer]
2474
- ExpectedBucketOwner: Optional[AccountId]
2468
+ VersionId: ObjectVersionId | None
2469
+ MaxParts: MaxParts | None
2470
+ PartNumberMarker: PartNumberMarker | None
2471
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
2472
+ SSECustomerKey: SSECustomerKey | None
2473
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
2474
+ RequestPayer: RequestPayer | None
2475
+ ExpectedBucketOwner: AccountId | None
2475
2476
  ObjectAttributes: ObjectAttributesList
2476
2477
 
2477
2478
 
2478
2479
  class ObjectLockLegalHold(TypedDict, total=False):
2479
- Status: Optional[ObjectLockLegalHoldStatus]
2480
+ Status: ObjectLockLegalHoldStatus | None
2480
2481
 
2481
2482
 
2482
2483
  class GetObjectLegalHoldOutput(TypedDict, total=False):
2483
- LegalHold: Optional[ObjectLockLegalHold]
2484
+ LegalHold: ObjectLockLegalHold | None
2484
2485
 
2485
2486
 
2486
2487
  class GetObjectLegalHoldRequest(ServiceRequest):
2487
2488
  Bucket: BucketName
2488
2489
  Key: ObjectKey
2489
- VersionId: Optional[ObjectVersionId]
2490
- RequestPayer: Optional[RequestPayer]
2491
- ExpectedBucketOwner: Optional[AccountId]
2490
+ VersionId: ObjectVersionId | None
2491
+ RequestPayer: RequestPayer | None
2492
+ ExpectedBucketOwner: AccountId | None
2492
2493
 
2493
2494
 
2494
2495
  class ObjectLockRule(TypedDict, total=False):
2495
- DefaultRetention: Optional[DefaultRetention]
2496
+ DefaultRetention: DefaultRetention | None
2496
2497
 
2497
2498
 
2498
2499
  class ObjectLockConfiguration(TypedDict, total=False):
2499
- ObjectLockEnabled: Optional[ObjectLockEnabled]
2500
- Rule: Optional[ObjectLockRule]
2500
+ ObjectLockEnabled: ObjectLockEnabled | None
2501
+ Rule: ObjectLockRule | None
2501
2502
 
2502
2503
 
2503
2504
  class GetObjectLockConfigurationOutput(TypedDict, total=False):
2504
- ObjectLockConfiguration: Optional[ObjectLockConfiguration]
2505
+ ObjectLockConfiguration: ObjectLockConfiguration | None
2505
2506
 
2506
2507
 
2507
2508
  class GetObjectLockConfigurationRequest(ServiceRequest):
2508
2509
  Bucket: BucketName
2509
- ExpectedBucketOwner: Optional[AccountId]
2510
+ ExpectedBucketOwner: AccountId | None
2510
2511
 
2511
2512
 
2512
2513
  class GetObjectOutput(TypedDict, total=False):
2513
- Body: Optional[Union[Body, IO[Body], Iterable[Body]]]
2514
- DeleteMarker: Optional[DeleteMarker]
2515
- AcceptRanges: Optional[AcceptRanges]
2516
- Expiration: Optional[Expiration]
2517
- Restore: Optional[Restore]
2518
- LastModified: Optional[LastModified]
2519
- ContentLength: Optional[ContentLength]
2520
- ETag: Optional[ETag]
2521
- ChecksumCRC32: Optional[ChecksumCRC32]
2522
- ChecksumCRC32C: Optional[ChecksumCRC32C]
2523
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
2524
- ChecksumSHA1: Optional[ChecksumSHA1]
2525
- ChecksumSHA256: Optional[ChecksumSHA256]
2526
- ChecksumType: Optional[ChecksumType]
2527
- MissingMeta: Optional[MissingMeta]
2528
- VersionId: Optional[ObjectVersionId]
2529
- CacheControl: Optional[CacheControl]
2530
- ContentDisposition: Optional[ContentDisposition]
2531
- ContentEncoding: Optional[ContentEncoding]
2532
- ContentLanguage: Optional[ContentLanguage]
2533
- ContentRange: Optional[ContentRange]
2534
- ContentType: Optional[ContentType]
2535
- Expires: Optional[Expires]
2536
- WebsiteRedirectLocation: Optional[WebsiteRedirectLocation]
2537
- ServerSideEncryption: Optional[ServerSideEncryption]
2538
- Metadata: Optional[Metadata]
2539
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
2540
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
2541
- SSEKMSKeyId: Optional[SSEKMSKeyId]
2542
- BucketKeyEnabled: Optional[BucketKeyEnabled]
2543
- StorageClass: Optional[StorageClass]
2544
- RequestCharged: Optional[RequestCharged]
2545
- ReplicationStatus: Optional[ReplicationStatus]
2546
- PartsCount: Optional[PartsCount]
2547
- TagCount: Optional[TagCount]
2548
- ObjectLockMode: Optional[ObjectLockMode]
2549
- ObjectLockRetainUntilDate: Optional[ObjectLockRetainUntilDate]
2550
- ObjectLockLegalHoldStatus: Optional[ObjectLockLegalHoldStatus]
2551
- StatusCode: Optional[GetObjectResponseStatusCode]
2514
+ Body: Body | IO[Body] | Iterable[Body] | None
2515
+ DeleteMarker: DeleteMarker | None
2516
+ AcceptRanges: AcceptRanges | None
2517
+ Expiration: Expiration | None
2518
+ Restore: Restore | None
2519
+ LastModified: LastModified | None
2520
+ ContentLength: ContentLength | None
2521
+ ETag: ETag | None
2522
+ ChecksumCRC32: ChecksumCRC32 | None
2523
+ ChecksumCRC32C: ChecksumCRC32C | None
2524
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
2525
+ ChecksumSHA1: ChecksumSHA1 | None
2526
+ ChecksumSHA256: ChecksumSHA256 | None
2527
+ ChecksumType: ChecksumType | None
2528
+ MissingMeta: MissingMeta | None
2529
+ VersionId: ObjectVersionId | None
2530
+ CacheControl: CacheControl | None
2531
+ ContentDisposition: ContentDisposition | None
2532
+ ContentEncoding: ContentEncoding | None
2533
+ ContentLanguage: ContentLanguage | None
2534
+ ContentRange: ContentRange | None
2535
+ ContentType: ContentType | None
2536
+ Expires: Expires | None
2537
+ WebsiteRedirectLocation: WebsiteRedirectLocation | None
2538
+ ServerSideEncryption: ServerSideEncryption | None
2539
+ Metadata: Metadata | None
2540
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
2541
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
2542
+ SSEKMSKeyId: SSEKMSKeyId | None
2543
+ BucketKeyEnabled: BucketKeyEnabled | None
2544
+ StorageClass: StorageClass | None
2545
+ RequestCharged: RequestCharged | None
2546
+ ReplicationStatus: ReplicationStatus | None
2547
+ PartsCount: PartsCount | None
2548
+ TagCount: TagCount | None
2549
+ ObjectLockMode: ObjectLockMode | None
2550
+ ObjectLockRetainUntilDate: ObjectLockRetainUntilDate | None
2551
+ ObjectLockLegalHoldStatus: ObjectLockLegalHoldStatus | None
2552
+ StatusCode: GetObjectResponseStatusCode | None
2552
2553
 
2553
2554
 
2554
2555
  ResponseExpires = datetime
@@ -2558,84 +2559,84 @@ IfModifiedSince = datetime
2558
2559
 
2559
2560
  class GetObjectRequest(ServiceRequest):
2560
2561
  Bucket: BucketName
2561
- IfMatch: Optional[IfMatch]
2562
- IfModifiedSince: Optional[IfModifiedSince]
2563
- IfNoneMatch: Optional[IfNoneMatch]
2564
- IfUnmodifiedSince: Optional[IfUnmodifiedSince]
2562
+ IfMatch: IfMatch | None
2563
+ IfModifiedSince: IfModifiedSince | None
2564
+ IfNoneMatch: IfNoneMatch | None
2565
+ IfUnmodifiedSince: IfUnmodifiedSince | None
2565
2566
  Key: ObjectKey
2566
- Range: Optional[Range]
2567
- ResponseCacheControl: Optional[ResponseCacheControl]
2568
- ResponseContentDisposition: Optional[ResponseContentDisposition]
2569
- ResponseContentEncoding: Optional[ResponseContentEncoding]
2570
- ResponseContentLanguage: Optional[ResponseContentLanguage]
2571
- ResponseContentType: Optional[ResponseContentType]
2572
- ResponseExpires: Optional[ResponseExpires]
2573
- VersionId: Optional[ObjectVersionId]
2574
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
2575
- SSECustomerKey: Optional[SSECustomerKey]
2576
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
2577
- RequestPayer: Optional[RequestPayer]
2578
- PartNumber: Optional[PartNumber]
2579
- ExpectedBucketOwner: Optional[AccountId]
2580
- ChecksumMode: Optional[ChecksumMode]
2567
+ Range: Range | None
2568
+ ResponseCacheControl: ResponseCacheControl | None
2569
+ ResponseContentDisposition: ResponseContentDisposition | None
2570
+ ResponseContentEncoding: ResponseContentEncoding | None
2571
+ ResponseContentLanguage: ResponseContentLanguage | None
2572
+ ResponseContentType: ResponseContentType | None
2573
+ ResponseExpires: ResponseExpires | None
2574
+ VersionId: ObjectVersionId | None
2575
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
2576
+ SSECustomerKey: SSECustomerKey | None
2577
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
2578
+ RequestPayer: RequestPayer | None
2579
+ PartNumber: PartNumber | None
2580
+ ExpectedBucketOwner: AccountId | None
2581
+ ChecksumMode: ChecksumMode | None
2581
2582
 
2582
2583
 
2583
2584
  class ObjectLockRetention(TypedDict, total=False):
2584
- Mode: Optional[ObjectLockRetentionMode]
2585
- RetainUntilDate: Optional[Date]
2585
+ Mode: ObjectLockRetentionMode | None
2586
+ RetainUntilDate: Date | None
2586
2587
 
2587
2588
 
2588
2589
  class GetObjectRetentionOutput(TypedDict, total=False):
2589
- Retention: Optional[ObjectLockRetention]
2590
+ Retention: ObjectLockRetention | None
2590
2591
 
2591
2592
 
2592
2593
  class GetObjectRetentionRequest(ServiceRequest):
2593
2594
  Bucket: BucketName
2594
2595
  Key: ObjectKey
2595
- VersionId: Optional[ObjectVersionId]
2596
- RequestPayer: Optional[RequestPayer]
2597
- ExpectedBucketOwner: Optional[AccountId]
2596
+ VersionId: ObjectVersionId | None
2597
+ RequestPayer: RequestPayer | None
2598
+ ExpectedBucketOwner: AccountId | None
2598
2599
 
2599
2600
 
2600
2601
  class GetObjectTaggingOutput(TypedDict, total=False):
2601
- VersionId: Optional[ObjectVersionId]
2602
+ VersionId: ObjectVersionId | None
2602
2603
  TagSet: TagSet
2603
2604
 
2604
2605
 
2605
2606
  class GetObjectTaggingRequest(ServiceRequest):
2606
2607
  Bucket: BucketName
2607
2608
  Key: ObjectKey
2608
- VersionId: Optional[ObjectVersionId]
2609
- ExpectedBucketOwner: Optional[AccountId]
2610
- RequestPayer: Optional[RequestPayer]
2609
+ VersionId: ObjectVersionId | None
2610
+ ExpectedBucketOwner: AccountId | None
2611
+ RequestPayer: RequestPayer | None
2611
2612
 
2612
2613
 
2613
2614
  class GetObjectTorrentOutput(TypedDict, total=False):
2614
- Body: Optional[Union[Body, IO[Body], Iterable[Body]]]
2615
- RequestCharged: Optional[RequestCharged]
2615
+ Body: Body | IO[Body] | Iterable[Body] | None
2616
+ RequestCharged: RequestCharged | None
2616
2617
 
2617
2618
 
2618
2619
  class GetObjectTorrentRequest(ServiceRequest):
2619
2620
  Bucket: BucketName
2620
2621
  Key: ObjectKey
2621
- RequestPayer: Optional[RequestPayer]
2622
- ExpectedBucketOwner: Optional[AccountId]
2622
+ RequestPayer: RequestPayer | None
2623
+ ExpectedBucketOwner: AccountId | None
2623
2624
 
2624
2625
 
2625
2626
  class PublicAccessBlockConfiguration(TypedDict, total=False):
2626
- BlockPublicAcls: Optional[Setting]
2627
- IgnorePublicAcls: Optional[Setting]
2628
- BlockPublicPolicy: Optional[Setting]
2629
- RestrictPublicBuckets: Optional[Setting]
2627
+ BlockPublicAcls: Setting | None
2628
+ IgnorePublicAcls: Setting | None
2629
+ BlockPublicPolicy: Setting | None
2630
+ RestrictPublicBuckets: Setting | None
2630
2631
 
2631
2632
 
2632
2633
  class GetPublicAccessBlockOutput(TypedDict, total=False):
2633
- PublicAccessBlockConfiguration: Optional[PublicAccessBlockConfiguration]
2634
+ PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | None
2634
2635
 
2635
2636
 
2636
2637
  class GetPublicAccessBlockRequest(ServiceRequest):
2637
2638
  Bucket: BucketName
2638
- ExpectedBucketOwner: Optional[AccountId]
2639
+ ExpectedBucketOwner: AccountId | None
2639
2640
 
2640
2641
 
2641
2642
  class GlacierJobParameters(TypedDict, total=False):
@@ -2643,87 +2644,87 @@ class GlacierJobParameters(TypedDict, total=False):
2643
2644
 
2644
2645
 
2645
2646
  class HeadBucketOutput(TypedDict, total=False):
2646
- BucketRegion: Optional[BucketRegion]
2647
- BucketContentType: Optional[BucketContentType]
2647
+ BucketRegion: BucketRegion | None
2648
+ BucketContentType: BucketContentType | None
2648
2649
 
2649
2650
 
2650
2651
  class HeadBucketRequest(ServiceRequest):
2651
2652
  Bucket: BucketName
2652
- ExpectedBucketOwner: Optional[AccountId]
2653
+ ExpectedBucketOwner: AccountId | None
2653
2654
 
2654
2655
 
2655
2656
  class HeadObjectOutput(TypedDict, total=False):
2656
- DeleteMarker: Optional[DeleteMarker]
2657
- AcceptRanges: Optional[AcceptRanges]
2658
- Expiration: Optional[Expiration]
2659
- Restore: Optional[Restore]
2660
- ArchiveStatus: Optional[ArchiveStatus]
2661
- LastModified: Optional[LastModified]
2662
- ContentLength: Optional[ContentLength]
2663
- ChecksumCRC32: Optional[ChecksumCRC32]
2664
- ChecksumCRC32C: Optional[ChecksumCRC32C]
2665
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
2666
- ChecksumSHA1: Optional[ChecksumSHA1]
2667
- ChecksumSHA256: Optional[ChecksumSHA256]
2668
- ChecksumType: Optional[ChecksumType]
2669
- ETag: Optional[ETag]
2670
- MissingMeta: Optional[MissingMeta]
2671
- VersionId: Optional[ObjectVersionId]
2672
- CacheControl: Optional[CacheControl]
2673
- ContentDisposition: Optional[ContentDisposition]
2674
- ContentEncoding: Optional[ContentEncoding]
2675
- ContentLanguage: Optional[ContentLanguage]
2676
- ContentType: Optional[ContentType]
2677
- ContentRange: Optional[ContentRange]
2678
- Expires: Optional[Expires]
2679
- WebsiteRedirectLocation: Optional[WebsiteRedirectLocation]
2680
- ServerSideEncryption: Optional[ServerSideEncryption]
2681
- Metadata: Optional[Metadata]
2682
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
2683
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
2684
- SSEKMSKeyId: Optional[SSEKMSKeyId]
2685
- BucketKeyEnabled: Optional[BucketKeyEnabled]
2686
- StorageClass: Optional[StorageClass]
2687
- RequestCharged: Optional[RequestCharged]
2688
- ReplicationStatus: Optional[ReplicationStatus]
2689
- PartsCount: Optional[PartsCount]
2690
- TagCount: Optional[TagCount]
2691
- ObjectLockMode: Optional[ObjectLockMode]
2692
- ObjectLockRetainUntilDate: Optional[ObjectLockRetainUntilDate]
2693
- ObjectLockLegalHoldStatus: Optional[ObjectLockLegalHoldStatus]
2694
- StatusCode: Optional[GetObjectResponseStatusCode]
2657
+ DeleteMarker: DeleteMarker | None
2658
+ AcceptRanges: AcceptRanges | None
2659
+ Expiration: Expiration | None
2660
+ Restore: Restore | None
2661
+ ArchiveStatus: ArchiveStatus | None
2662
+ LastModified: LastModified | None
2663
+ ContentLength: ContentLength | None
2664
+ ChecksumCRC32: ChecksumCRC32 | None
2665
+ ChecksumCRC32C: ChecksumCRC32C | None
2666
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
2667
+ ChecksumSHA1: ChecksumSHA1 | None
2668
+ ChecksumSHA256: ChecksumSHA256 | None
2669
+ ChecksumType: ChecksumType | None
2670
+ ETag: ETag | None
2671
+ MissingMeta: MissingMeta | None
2672
+ VersionId: ObjectVersionId | None
2673
+ CacheControl: CacheControl | None
2674
+ ContentDisposition: ContentDisposition | None
2675
+ ContentEncoding: ContentEncoding | None
2676
+ ContentLanguage: ContentLanguage | None
2677
+ ContentType: ContentType | None
2678
+ ContentRange: ContentRange | None
2679
+ Expires: Expires | None
2680
+ WebsiteRedirectLocation: WebsiteRedirectLocation | None
2681
+ ServerSideEncryption: ServerSideEncryption | None
2682
+ Metadata: Metadata | None
2683
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
2684
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
2685
+ SSEKMSKeyId: SSEKMSKeyId | None
2686
+ BucketKeyEnabled: BucketKeyEnabled | None
2687
+ StorageClass: StorageClass | None
2688
+ RequestCharged: RequestCharged | None
2689
+ ReplicationStatus: ReplicationStatus | None
2690
+ PartsCount: PartsCount | None
2691
+ TagCount: TagCount | None
2692
+ ObjectLockMode: ObjectLockMode | None
2693
+ ObjectLockRetainUntilDate: ObjectLockRetainUntilDate | None
2694
+ ObjectLockLegalHoldStatus: ObjectLockLegalHoldStatus | None
2695
+ StatusCode: GetObjectResponseStatusCode | None
2695
2696
 
2696
2697
 
2697
2698
  class HeadObjectRequest(ServiceRequest):
2698
2699
  Bucket: BucketName
2699
- IfMatch: Optional[IfMatch]
2700
- IfModifiedSince: Optional[IfModifiedSince]
2701
- IfNoneMatch: Optional[IfNoneMatch]
2702
- IfUnmodifiedSince: Optional[IfUnmodifiedSince]
2700
+ IfMatch: IfMatch | None
2701
+ IfModifiedSince: IfModifiedSince | None
2702
+ IfNoneMatch: IfNoneMatch | None
2703
+ IfUnmodifiedSince: IfUnmodifiedSince | None
2703
2704
  Key: ObjectKey
2704
- Range: Optional[Range]
2705
- ResponseCacheControl: Optional[ResponseCacheControl]
2706
- ResponseContentDisposition: Optional[ResponseContentDisposition]
2707
- ResponseContentEncoding: Optional[ResponseContentEncoding]
2708
- ResponseContentLanguage: Optional[ResponseContentLanguage]
2709
- ResponseContentType: Optional[ResponseContentType]
2710
- ResponseExpires: Optional[ResponseExpires]
2711
- VersionId: Optional[ObjectVersionId]
2712
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
2713
- SSECustomerKey: Optional[SSECustomerKey]
2714
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
2715
- RequestPayer: Optional[RequestPayer]
2716
- PartNumber: Optional[PartNumber]
2717
- ExpectedBucketOwner: Optional[AccountId]
2718
- ChecksumMode: Optional[ChecksumMode]
2705
+ Range: Range | None
2706
+ ResponseCacheControl: ResponseCacheControl | None
2707
+ ResponseContentDisposition: ResponseContentDisposition | None
2708
+ ResponseContentEncoding: ResponseContentEncoding | None
2709
+ ResponseContentLanguage: ResponseContentLanguage | None
2710
+ ResponseContentType: ResponseContentType | None
2711
+ ResponseExpires: ResponseExpires | None
2712
+ VersionId: ObjectVersionId | None
2713
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
2714
+ SSECustomerKey: SSECustomerKey | None
2715
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
2716
+ RequestPayer: RequestPayer | None
2717
+ PartNumber: PartNumber | None
2718
+ ExpectedBucketOwner: AccountId | None
2719
+ ChecksumMode: ChecksumMode | None
2719
2720
 
2720
2721
 
2721
2722
  Initiated = datetime
2722
2723
 
2723
2724
 
2724
2725
  class Initiator(TypedDict, total=False):
2725
- ID: Optional[ID]
2726
- DisplayName: Optional[DisplayName]
2726
+ ID: ID | None
2727
+ DisplayName: DisplayName | None
2727
2728
 
2728
2729
 
2729
2730
  class ParquetInput(TypedDict, total=False):
@@ -2731,27 +2732,27 @@ class ParquetInput(TypedDict, total=False):
2731
2732
 
2732
2733
 
2733
2734
  class JSONInput(TypedDict, total=False):
2734
- Type: Optional[JSONType]
2735
+ Type: JSONType | None
2735
2736
 
2736
2737
 
2737
2738
  class InputSerialization(TypedDict, total=False):
2738
- CSV: Optional[CSVInput]
2739
- CompressionType: Optional[CompressionType]
2740
- JSON: Optional[JSONInput]
2741
- Parquet: Optional[ParquetInput]
2739
+ CSV: CSVInput | None
2740
+ CompressionType: CompressionType | None
2741
+ JSON: JSONInput | None
2742
+ Parquet: ParquetInput | None
2742
2743
 
2743
2744
 
2744
- IntelligentTieringConfigurationList = List[IntelligentTieringConfiguration]
2745
- InventoryConfigurationList = List[InventoryConfiguration]
2745
+ IntelligentTieringConfigurationList = list[IntelligentTieringConfiguration]
2746
+ InventoryConfigurationList = list[InventoryConfiguration]
2746
2747
 
2747
2748
 
2748
2749
  class InventoryTableConfigurationUpdates(TypedDict, total=False):
2749
2750
  ConfigurationState: InventoryConfigurationState
2750
- EncryptionConfiguration: Optional[MetadataTableEncryptionConfiguration]
2751
+ EncryptionConfiguration: MetadataTableEncryptionConfiguration | None
2751
2752
 
2752
2753
 
2753
2754
  class JSONOutput(TypedDict, total=False):
2754
- RecordDelimiter: Optional[RecordDelimiter]
2755
+ RecordDelimiter: RecordDelimiter | None
2755
2756
 
2756
2757
 
2757
2758
  class JournalTableConfigurationUpdates(TypedDict, total=False):
@@ -2759,21 +2760,21 @@ class JournalTableConfigurationUpdates(TypedDict, total=False):
2759
2760
 
2760
2761
 
2761
2762
  class S3KeyFilter(TypedDict, total=False):
2762
- FilterRules: Optional[FilterRuleList]
2763
+ FilterRules: FilterRuleList | None
2763
2764
 
2764
2765
 
2765
2766
  class NotificationConfigurationFilter(TypedDict, total=False):
2766
- Key: Optional[S3KeyFilter]
2767
+ Key: S3KeyFilter | None
2767
2768
 
2768
2769
 
2769
2770
  class LambdaFunctionConfiguration(TypedDict, total=False):
2770
- Id: Optional[NotificationId]
2771
+ Id: NotificationId | None
2771
2772
  LambdaFunctionArn: LambdaFunctionArn
2772
2773
  Events: EventList
2773
- Filter: Optional[NotificationConfigurationFilter]
2774
+ Filter: NotificationConfigurationFilter | None
2774
2775
 
2775
2776
 
2776
- LambdaFunctionConfigurationList = List[LambdaFunctionConfiguration]
2777
+ LambdaFunctionConfigurationList = list[LambdaFunctionConfiguration]
2777
2778
 
2778
2779
 
2779
2780
  class LifecycleConfiguration(TypedDict, total=False):
@@ -2781,357 +2782,357 @@ class LifecycleConfiguration(TypedDict, total=False):
2781
2782
 
2782
2783
 
2783
2784
  class ListBucketAnalyticsConfigurationsOutput(TypedDict, total=False):
2784
- IsTruncated: Optional[IsTruncated]
2785
- ContinuationToken: Optional[Token]
2786
- NextContinuationToken: Optional[NextToken]
2787
- AnalyticsConfigurationList: Optional[AnalyticsConfigurationList]
2785
+ IsTruncated: IsTruncated | None
2786
+ ContinuationToken: Token | None
2787
+ NextContinuationToken: NextToken | None
2788
+ AnalyticsConfigurationList: AnalyticsConfigurationList | None
2788
2789
 
2789
2790
 
2790
2791
  class ListBucketAnalyticsConfigurationsRequest(ServiceRequest):
2791
2792
  Bucket: BucketName
2792
- ContinuationToken: Optional[Token]
2793
- ExpectedBucketOwner: Optional[AccountId]
2793
+ ContinuationToken: Token | None
2794
+ ExpectedBucketOwner: AccountId | None
2794
2795
 
2795
2796
 
2796
2797
  class ListBucketIntelligentTieringConfigurationsOutput(TypedDict, total=False):
2797
- IsTruncated: Optional[IsTruncated]
2798
- ContinuationToken: Optional[Token]
2799
- NextContinuationToken: Optional[NextToken]
2800
- IntelligentTieringConfigurationList: Optional[IntelligentTieringConfigurationList]
2798
+ IsTruncated: IsTruncated | None
2799
+ ContinuationToken: Token | None
2800
+ NextContinuationToken: NextToken | None
2801
+ IntelligentTieringConfigurationList: IntelligentTieringConfigurationList | None
2801
2802
 
2802
2803
 
2803
2804
  class ListBucketIntelligentTieringConfigurationsRequest(ServiceRequest):
2804
2805
  Bucket: BucketName
2805
- ContinuationToken: Optional[Token]
2806
- ExpectedBucketOwner: Optional[AccountId]
2806
+ ContinuationToken: Token | None
2807
+ ExpectedBucketOwner: AccountId | None
2807
2808
 
2808
2809
 
2809
2810
  class ListBucketInventoryConfigurationsOutput(TypedDict, total=False):
2810
- ContinuationToken: Optional[Token]
2811
- InventoryConfigurationList: Optional[InventoryConfigurationList]
2812
- IsTruncated: Optional[IsTruncated]
2813
- NextContinuationToken: Optional[NextToken]
2811
+ ContinuationToken: Token | None
2812
+ InventoryConfigurationList: InventoryConfigurationList | None
2813
+ IsTruncated: IsTruncated | None
2814
+ NextContinuationToken: NextToken | None
2814
2815
 
2815
2816
 
2816
2817
  class ListBucketInventoryConfigurationsRequest(ServiceRequest):
2817
2818
  Bucket: BucketName
2818
- ContinuationToken: Optional[Token]
2819
- ExpectedBucketOwner: Optional[AccountId]
2819
+ ContinuationToken: Token | None
2820
+ ExpectedBucketOwner: AccountId | None
2820
2821
 
2821
2822
 
2822
- MetricsConfigurationList = List[MetricsConfiguration]
2823
+ MetricsConfigurationList = list[MetricsConfiguration]
2823
2824
 
2824
2825
 
2825
2826
  class ListBucketMetricsConfigurationsOutput(TypedDict, total=False):
2826
- IsTruncated: Optional[IsTruncated]
2827
- ContinuationToken: Optional[Token]
2828
- NextContinuationToken: Optional[NextToken]
2829
- MetricsConfigurationList: Optional[MetricsConfigurationList]
2827
+ IsTruncated: IsTruncated | None
2828
+ ContinuationToken: Token | None
2829
+ NextContinuationToken: NextToken | None
2830
+ MetricsConfigurationList: MetricsConfigurationList | None
2830
2831
 
2831
2832
 
2832
2833
  class ListBucketMetricsConfigurationsRequest(ServiceRequest):
2833
2834
  Bucket: BucketName
2834
- ContinuationToken: Optional[Token]
2835
- ExpectedBucketOwner: Optional[AccountId]
2835
+ ContinuationToken: Token | None
2836
+ ExpectedBucketOwner: AccountId | None
2836
2837
 
2837
2838
 
2838
2839
  class ListBucketsOutput(TypedDict, total=False):
2839
- Owner: Optional[Owner]
2840
- ContinuationToken: Optional[NextToken]
2841
- Prefix: Optional[Prefix]
2842
- Buckets: Optional[Buckets]
2840
+ Owner: Owner | None
2841
+ ContinuationToken: NextToken | None
2842
+ Prefix: Prefix | None
2843
+ Buckets: Buckets | None
2843
2844
 
2844
2845
 
2845
2846
  class ListBucketsRequest(ServiceRequest):
2846
- MaxBuckets: Optional[MaxBuckets]
2847
- ContinuationToken: Optional[Token]
2848
- Prefix: Optional[Prefix]
2849
- BucketRegion: Optional[BucketRegion]
2847
+ MaxBuckets: MaxBuckets | None
2848
+ ContinuationToken: Token | None
2849
+ Prefix: Prefix | None
2850
+ BucketRegion: BucketRegion | None
2850
2851
 
2851
2852
 
2852
2853
  class ListDirectoryBucketsOutput(TypedDict, total=False):
2853
- Buckets: Optional[Buckets]
2854
- ContinuationToken: Optional[DirectoryBucketToken]
2854
+ Buckets: Buckets | None
2855
+ ContinuationToken: DirectoryBucketToken | None
2855
2856
 
2856
2857
 
2857
2858
  class ListDirectoryBucketsRequest(ServiceRequest):
2858
- ContinuationToken: Optional[DirectoryBucketToken]
2859
- MaxDirectoryBuckets: Optional[MaxDirectoryBuckets]
2859
+ ContinuationToken: DirectoryBucketToken | None
2860
+ MaxDirectoryBuckets: MaxDirectoryBuckets | None
2860
2861
 
2861
2862
 
2862
2863
  class MultipartUpload(TypedDict, total=False):
2863
- UploadId: Optional[MultipartUploadId]
2864
- Key: Optional[ObjectKey]
2865
- Initiated: Optional[Initiated]
2866
- StorageClass: Optional[StorageClass]
2867
- Owner: Optional[Owner]
2868
- Initiator: Optional[Initiator]
2869
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
2870
- ChecksumType: Optional[ChecksumType]
2864
+ UploadId: MultipartUploadId | None
2865
+ Key: ObjectKey | None
2866
+ Initiated: Initiated | None
2867
+ StorageClass: StorageClass | None
2868
+ Owner: Owner | None
2869
+ Initiator: Initiator | None
2870
+ ChecksumAlgorithm: ChecksumAlgorithm | None
2871
+ ChecksumType: ChecksumType | None
2871
2872
 
2872
2873
 
2873
- MultipartUploadList = List[MultipartUpload]
2874
+ MultipartUploadList = list[MultipartUpload]
2874
2875
 
2875
2876
 
2876
2877
  class ListMultipartUploadsOutput(TypedDict, total=False):
2877
- Bucket: Optional[BucketName]
2878
- KeyMarker: Optional[KeyMarker]
2879
- UploadIdMarker: Optional[UploadIdMarker]
2880
- NextKeyMarker: Optional[NextKeyMarker]
2881
- Prefix: Optional[Prefix]
2882
- Delimiter: Optional[Delimiter]
2883
- NextUploadIdMarker: Optional[NextUploadIdMarker]
2884
- MaxUploads: Optional[MaxUploads]
2885
- IsTruncated: Optional[IsTruncated]
2886
- Uploads: Optional[MultipartUploadList]
2887
- CommonPrefixes: Optional[CommonPrefixList]
2888
- EncodingType: Optional[EncodingType]
2889
- RequestCharged: Optional[RequestCharged]
2878
+ Bucket: BucketName | None
2879
+ KeyMarker: KeyMarker | None
2880
+ UploadIdMarker: UploadIdMarker | None
2881
+ NextKeyMarker: NextKeyMarker | None
2882
+ Prefix: Prefix | None
2883
+ Delimiter: Delimiter | None
2884
+ NextUploadIdMarker: NextUploadIdMarker | None
2885
+ MaxUploads: MaxUploads | None
2886
+ IsTruncated: IsTruncated | None
2887
+ Uploads: MultipartUploadList | None
2888
+ CommonPrefixes: CommonPrefixList | None
2889
+ EncodingType: EncodingType | None
2890
+ RequestCharged: RequestCharged | None
2890
2891
 
2891
2892
 
2892
2893
  class ListMultipartUploadsRequest(ServiceRequest):
2893
2894
  Bucket: BucketName
2894
- Delimiter: Optional[Delimiter]
2895
- EncodingType: Optional[EncodingType]
2896
- KeyMarker: Optional[KeyMarker]
2897
- MaxUploads: Optional[MaxUploads]
2898
- Prefix: Optional[Prefix]
2899
- UploadIdMarker: Optional[UploadIdMarker]
2900
- ExpectedBucketOwner: Optional[AccountId]
2901
- RequestPayer: Optional[RequestPayer]
2895
+ Delimiter: Delimiter | None
2896
+ EncodingType: EncodingType | None
2897
+ KeyMarker: KeyMarker | None
2898
+ MaxUploads: MaxUploads | None
2899
+ Prefix: Prefix | None
2900
+ UploadIdMarker: UploadIdMarker | None
2901
+ ExpectedBucketOwner: AccountId | None
2902
+ RequestPayer: RequestPayer | None
2902
2903
 
2903
2904
 
2904
2905
  RestoreExpiryDate = datetime
2905
2906
 
2906
2907
 
2907
2908
  class RestoreStatus(TypedDict, total=False):
2908
- IsRestoreInProgress: Optional[IsRestoreInProgress]
2909
- RestoreExpiryDate: Optional[RestoreExpiryDate]
2909
+ IsRestoreInProgress: IsRestoreInProgress | None
2910
+ RestoreExpiryDate: RestoreExpiryDate | None
2910
2911
 
2911
2912
 
2912
2913
  class ObjectVersion(TypedDict, total=False):
2913
- ETag: Optional[ETag]
2914
- ChecksumAlgorithm: Optional[ChecksumAlgorithmList]
2915
- ChecksumType: Optional[ChecksumType]
2916
- Size: Optional[Size]
2917
- StorageClass: Optional[ObjectVersionStorageClass]
2918
- Key: Optional[ObjectKey]
2919
- VersionId: Optional[ObjectVersionId]
2920
- IsLatest: Optional[IsLatest]
2921
- LastModified: Optional[LastModified]
2922
- Owner: Optional[Owner]
2923
- RestoreStatus: Optional[RestoreStatus]
2914
+ ETag: ETag | None
2915
+ ChecksumAlgorithm: ChecksumAlgorithmList | None
2916
+ ChecksumType: ChecksumType | None
2917
+ Size: Size | None
2918
+ StorageClass: ObjectVersionStorageClass | None
2919
+ Key: ObjectKey | None
2920
+ VersionId: ObjectVersionId | None
2921
+ IsLatest: IsLatest | None
2922
+ LastModified: LastModified | None
2923
+ Owner: Owner | None
2924
+ RestoreStatus: RestoreStatus | None
2924
2925
 
2925
2926
 
2926
- ObjectVersionList = List[ObjectVersion]
2927
+ ObjectVersionList = list[ObjectVersion]
2927
2928
 
2928
2929
 
2929
2930
  class ListObjectVersionsOutput(TypedDict, total=False):
2930
- IsTruncated: Optional[IsTruncated]
2931
- KeyMarker: Optional[KeyMarker]
2932
- VersionIdMarker: Optional[VersionIdMarker]
2933
- NextKeyMarker: Optional[NextKeyMarker]
2934
- NextVersionIdMarker: Optional[NextVersionIdMarker]
2935
- DeleteMarkers: Optional[DeleteMarkers]
2936
- Name: Optional[BucketName]
2937
- Prefix: Optional[Prefix]
2938
- Delimiter: Optional[Delimiter]
2939
- MaxKeys: Optional[MaxKeys]
2940
- CommonPrefixes: Optional[CommonPrefixList]
2941
- EncodingType: Optional[EncodingType]
2942
- RequestCharged: Optional[RequestCharged]
2943
- Versions: Optional[ObjectVersionList]
2931
+ IsTruncated: IsTruncated | None
2932
+ KeyMarker: KeyMarker | None
2933
+ VersionIdMarker: VersionIdMarker | None
2934
+ NextKeyMarker: NextKeyMarker | None
2935
+ NextVersionIdMarker: NextVersionIdMarker | None
2936
+ DeleteMarkers: DeleteMarkers | None
2937
+ Name: BucketName | None
2938
+ Prefix: Prefix | None
2939
+ Delimiter: Delimiter | None
2940
+ MaxKeys: MaxKeys | None
2941
+ CommonPrefixes: CommonPrefixList | None
2942
+ EncodingType: EncodingType | None
2943
+ RequestCharged: RequestCharged | None
2944
+ Versions: ObjectVersionList | None
2944
2945
 
2945
2946
 
2946
- OptionalObjectAttributesList = List[OptionalObjectAttributes]
2947
+ OptionalObjectAttributesList = list[OptionalObjectAttributes]
2947
2948
 
2948
2949
 
2949
2950
  class ListObjectVersionsRequest(ServiceRequest):
2950
2951
  Bucket: BucketName
2951
- Delimiter: Optional[Delimiter]
2952
- EncodingType: Optional[EncodingType]
2953
- KeyMarker: Optional[KeyMarker]
2954
- MaxKeys: Optional[MaxKeys]
2955
- Prefix: Optional[Prefix]
2956
- VersionIdMarker: Optional[VersionIdMarker]
2957
- ExpectedBucketOwner: Optional[AccountId]
2958
- RequestPayer: Optional[RequestPayer]
2959
- OptionalObjectAttributes: Optional[OptionalObjectAttributesList]
2952
+ Delimiter: Delimiter | None
2953
+ EncodingType: EncodingType | None
2954
+ KeyMarker: KeyMarker | None
2955
+ MaxKeys: MaxKeys | None
2956
+ Prefix: Prefix | None
2957
+ VersionIdMarker: VersionIdMarker | None
2958
+ ExpectedBucketOwner: AccountId | None
2959
+ RequestPayer: RequestPayer | None
2960
+ OptionalObjectAttributes: OptionalObjectAttributesList | None
2960
2961
 
2961
2962
 
2962
2963
  class Object(TypedDict, total=False):
2963
- Key: Optional[ObjectKey]
2964
- LastModified: Optional[LastModified]
2965
- ETag: Optional[ETag]
2966
- ChecksumAlgorithm: Optional[ChecksumAlgorithmList]
2967
- ChecksumType: Optional[ChecksumType]
2968
- Size: Optional[Size]
2969
- StorageClass: Optional[ObjectStorageClass]
2970
- Owner: Optional[Owner]
2971
- RestoreStatus: Optional[RestoreStatus]
2964
+ Key: ObjectKey | None
2965
+ LastModified: LastModified | None
2966
+ ETag: ETag | None
2967
+ ChecksumAlgorithm: ChecksumAlgorithmList | None
2968
+ ChecksumType: ChecksumType | None
2969
+ Size: Size | None
2970
+ StorageClass: ObjectStorageClass | None
2971
+ Owner: Owner | None
2972
+ RestoreStatus: RestoreStatus | None
2972
2973
 
2973
2974
 
2974
- ObjectList = List[Object]
2975
+ ObjectList = list[Object]
2975
2976
 
2976
2977
 
2977
2978
  class ListObjectsOutput(TypedDict, total=False):
2978
- IsTruncated: Optional[IsTruncated]
2979
- Marker: Optional[Marker]
2980
- NextMarker: Optional[NextMarker]
2981
- Name: Optional[BucketName]
2982
- Prefix: Optional[Prefix]
2983
- Delimiter: Optional[Delimiter]
2984
- MaxKeys: Optional[MaxKeys]
2985
- CommonPrefixes: Optional[CommonPrefixList]
2986
- EncodingType: Optional[EncodingType]
2987
- RequestCharged: Optional[RequestCharged]
2988
- BucketRegion: Optional[BucketRegion]
2989
- Contents: Optional[ObjectList]
2979
+ IsTruncated: IsTruncated | None
2980
+ Marker: Marker | None
2981
+ NextMarker: NextMarker | None
2982
+ Name: BucketName | None
2983
+ Prefix: Prefix | None
2984
+ Delimiter: Delimiter | None
2985
+ MaxKeys: MaxKeys | None
2986
+ CommonPrefixes: CommonPrefixList | None
2987
+ EncodingType: EncodingType | None
2988
+ RequestCharged: RequestCharged | None
2989
+ BucketRegion: BucketRegion | None
2990
+ Contents: ObjectList | None
2990
2991
 
2991
2992
 
2992
2993
  class ListObjectsRequest(ServiceRequest):
2993
2994
  Bucket: BucketName
2994
- Delimiter: Optional[Delimiter]
2995
- EncodingType: Optional[EncodingType]
2996
- Marker: Optional[Marker]
2997
- MaxKeys: Optional[MaxKeys]
2998
- Prefix: Optional[Prefix]
2999
- RequestPayer: Optional[RequestPayer]
3000
- ExpectedBucketOwner: Optional[AccountId]
3001
- OptionalObjectAttributes: Optional[OptionalObjectAttributesList]
2995
+ Delimiter: Delimiter | None
2996
+ EncodingType: EncodingType | None
2997
+ Marker: Marker | None
2998
+ MaxKeys: MaxKeys | None
2999
+ Prefix: Prefix | None
3000
+ RequestPayer: RequestPayer | None
3001
+ ExpectedBucketOwner: AccountId | None
3002
+ OptionalObjectAttributes: OptionalObjectAttributesList | None
3002
3003
 
3003
3004
 
3004
3005
  class ListObjectsV2Output(TypedDict, total=False):
3005
- IsTruncated: Optional[IsTruncated]
3006
- Name: Optional[BucketName]
3007
- Prefix: Optional[Prefix]
3008
- Delimiter: Optional[Delimiter]
3009
- MaxKeys: Optional[MaxKeys]
3010
- CommonPrefixes: Optional[CommonPrefixList]
3011
- EncodingType: Optional[EncodingType]
3012
- KeyCount: Optional[KeyCount]
3013
- ContinuationToken: Optional[Token]
3014
- NextContinuationToken: Optional[NextToken]
3015
- StartAfter: Optional[StartAfter]
3016
- RequestCharged: Optional[RequestCharged]
3017
- BucketRegion: Optional[BucketRegion]
3018
- Contents: Optional[ObjectList]
3006
+ IsTruncated: IsTruncated | None
3007
+ Name: BucketName | None
3008
+ Prefix: Prefix | None
3009
+ Delimiter: Delimiter | None
3010
+ MaxKeys: MaxKeys | None
3011
+ CommonPrefixes: CommonPrefixList | None
3012
+ EncodingType: EncodingType | None
3013
+ KeyCount: KeyCount | None
3014
+ ContinuationToken: Token | None
3015
+ NextContinuationToken: NextToken | None
3016
+ StartAfter: StartAfter | None
3017
+ RequestCharged: RequestCharged | None
3018
+ BucketRegion: BucketRegion | None
3019
+ Contents: ObjectList | None
3019
3020
 
3020
3021
 
3021
3022
  class ListObjectsV2Request(ServiceRequest):
3022
3023
  Bucket: BucketName
3023
- Delimiter: Optional[Delimiter]
3024
- EncodingType: Optional[EncodingType]
3025
- MaxKeys: Optional[MaxKeys]
3026
- Prefix: Optional[Prefix]
3027
- ContinuationToken: Optional[Token]
3028
- FetchOwner: Optional[FetchOwner]
3029
- StartAfter: Optional[StartAfter]
3030
- RequestPayer: Optional[RequestPayer]
3031
- ExpectedBucketOwner: Optional[AccountId]
3032
- OptionalObjectAttributes: Optional[OptionalObjectAttributesList]
3024
+ Delimiter: Delimiter | None
3025
+ EncodingType: EncodingType | None
3026
+ MaxKeys: MaxKeys | None
3027
+ Prefix: Prefix | None
3028
+ ContinuationToken: Token | None
3029
+ FetchOwner: FetchOwner | None
3030
+ StartAfter: StartAfter | None
3031
+ RequestPayer: RequestPayer | None
3032
+ ExpectedBucketOwner: AccountId | None
3033
+ OptionalObjectAttributes: OptionalObjectAttributesList | None
3033
3034
 
3034
3035
 
3035
3036
  class Part(TypedDict, total=False):
3036
- PartNumber: Optional[PartNumber]
3037
- LastModified: Optional[LastModified]
3038
- ETag: Optional[ETag]
3039
- Size: Optional[Size]
3040
- ChecksumCRC32: Optional[ChecksumCRC32]
3041
- ChecksumCRC32C: Optional[ChecksumCRC32C]
3042
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
3043
- ChecksumSHA1: Optional[ChecksumSHA1]
3044
- ChecksumSHA256: Optional[ChecksumSHA256]
3037
+ PartNumber: PartNumber | None
3038
+ LastModified: LastModified | None
3039
+ ETag: ETag | None
3040
+ Size: Size | None
3041
+ ChecksumCRC32: ChecksumCRC32 | None
3042
+ ChecksumCRC32C: ChecksumCRC32C | None
3043
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
3044
+ ChecksumSHA1: ChecksumSHA1 | None
3045
+ ChecksumSHA256: ChecksumSHA256 | None
3045
3046
 
3046
3047
 
3047
- Parts = List[Part]
3048
+ Parts = list[Part]
3048
3049
 
3049
3050
 
3050
3051
  class ListPartsOutput(TypedDict, total=False):
3051
- AbortDate: Optional[AbortDate]
3052
- AbortRuleId: Optional[AbortRuleId]
3053
- Bucket: Optional[BucketName]
3054
- Key: Optional[ObjectKey]
3055
- UploadId: Optional[MultipartUploadId]
3056
- PartNumberMarker: Optional[PartNumberMarker]
3057
- NextPartNumberMarker: Optional[NextPartNumberMarker]
3058
- MaxParts: Optional[MaxParts]
3059
- IsTruncated: Optional[IsTruncated]
3060
- Parts: Optional[Parts]
3061
- Initiator: Optional[Initiator]
3062
- Owner: Optional[Owner]
3063
- StorageClass: Optional[StorageClass]
3064
- RequestCharged: Optional[RequestCharged]
3065
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3066
- ChecksumType: Optional[ChecksumType]
3052
+ AbortDate: AbortDate | None
3053
+ AbortRuleId: AbortRuleId | None
3054
+ Bucket: BucketName | None
3055
+ Key: ObjectKey | None
3056
+ UploadId: MultipartUploadId | None
3057
+ PartNumberMarker: PartNumberMarker | None
3058
+ NextPartNumberMarker: NextPartNumberMarker | None
3059
+ MaxParts: MaxParts | None
3060
+ IsTruncated: IsTruncated | None
3061
+ Parts: Parts | None
3062
+ Initiator: Initiator | None
3063
+ Owner: Owner | None
3064
+ StorageClass: StorageClass | None
3065
+ RequestCharged: RequestCharged | None
3066
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3067
+ ChecksumType: ChecksumType | None
3067
3068
 
3068
3069
 
3069
3070
  class ListPartsRequest(ServiceRequest):
3070
3071
  Bucket: BucketName
3071
3072
  Key: ObjectKey
3072
- MaxParts: Optional[MaxParts]
3073
- PartNumberMarker: Optional[PartNumberMarker]
3073
+ MaxParts: MaxParts | None
3074
+ PartNumberMarker: PartNumberMarker | None
3074
3075
  UploadId: MultipartUploadId
3075
- RequestPayer: Optional[RequestPayer]
3076
- ExpectedBucketOwner: Optional[AccountId]
3077
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3078
- SSECustomerKey: Optional[SSECustomerKey]
3079
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3076
+ RequestPayer: RequestPayer | None
3077
+ ExpectedBucketOwner: AccountId | None
3078
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3079
+ SSECustomerKey: SSECustomerKey | None
3080
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3080
3081
 
3081
3082
 
3082
3083
  class MetadataEntry(TypedDict, total=False):
3083
- Name: Optional[MetadataKey]
3084
- Value: Optional[MetadataValue]
3084
+ Name: MetadataKey | None
3085
+ Value: MetadataValue | None
3085
3086
 
3086
3087
 
3087
3088
  class QueueConfiguration(TypedDict, total=False):
3088
- Id: Optional[NotificationId]
3089
+ Id: NotificationId | None
3089
3090
  QueueArn: QueueArn
3090
3091
  Events: EventList
3091
- Filter: Optional[NotificationConfigurationFilter]
3092
+ Filter: NotificationConfigurationFilter | None
3092
3093
 
3093
3094
 
3094
- QueueConfigurationList = List[QueueConfiguration]
3095
+ QueueConfigurationList = list[QueueConfiguration]
3095
3096
 
3096
3097
 
3097
3098
  class TopicConfiguration(TypedDict, total=False):
3098
- Id: Optional[NotificationId]
3099
+ Id: NotificationId | None
3099
3100
  TopicArn: TopicArn
3100
3101
  Events: EventList
3101
- Filter: Optional[NotificationConfigurationFilter]
3102
+ Filter: NotificationConfigurationFilter | None
3102
3103
 
3103
3104
 
3104
- TopicConfigurationList = List[TopicConfiguration]
3105
+ TopicConfigurationList = list[TopicConfiguration]
3105
3106
 
3106
3107
 
3107
3108
  class NotificationConfiguration(TypedDict, total=False):
3108
- TopicConfigurations: Optional[TopicConfigurationList]
3109
- QueueConfigurations: Optional[QueueConfigurationList]
3110
- LambdaFunctionConfigurations: Optional[LambdaFunctionConfigurationList]
3111
- EventBridgeConfiguration: Optional[EventBridgeConfiguration]
3109
+ TopicConfigurations: TopicConfigurationList | None
3110
+ QueueConfigurations: QueueConfigurationList | None
3111
+ LambdaFunctionConfigurations: LambdaFunctionConfigurationList | None
3112
+ EventBridgeConfiguration: EventBridgeConfiguration | None
3112
3113
 
3113
3114
 
3114
3115
  class QueueConfigurationDeprecated(TypedDict, total=False):
3115
- Id: Optional[NotificationId]
3116
- Event: Optional[Event]
3117
- Events: Optional[EventList]
3118
- Queue: Optional[QueueArn]
3116
+ Id: NotificationId | None
3117
+ Event: Event | None
3118
+ Events: EventList | None
3119
+ Queue: QueueArn | None
3119
3120
 
3120
3121
 
3121
3122
  class TopicConfigurationDeprecated(TypedDict, total=False):
3122
- Id: Optional[NotificationId]
3123
- Events: Optional[EventList]
3124
- Event: Optional[Event]
3125
- Topic: Optional[TopicArn]
3123
+ Id: NotificationId | None
3124
+ Events: EventList | None
3125
+ Event: Event | None
3126
+ Topic: TopicArn | None
3126
3127
 
3127
3128
 
3128
3129
  class NotificationConfigurationDeprecated(TypedDict, total=False):
3129
- TopicConfiguration: Optional[TopicConfigurationDeprecated]
3130
- QueueConfiguration: Optional[QueueConfigurationDeprecated]
3131
- CloudFunctionConfiguration: Optional[CloudFunctionConfiguration]
3130
+ TopicConfiguration: TopicConfigurationDeprecated | None
3131
+ QueueConfiguration: QueueConfigurationDeprecated | None
3132
+ CloudFunctionConfiguration: CloudFunctionConfiguration | None
3132
3133
 
3133
3134
 
3134
- UserMetadata = List[MetadataEntry]
3135
+ UserMetadata = list[MetadataEntry]
3135
3136
 
3136
3137
 
3137
3138
  class Tagging(TypedDict, total=False):
@@ -3141,81 +3142,81 @@ class Tagging(TypedDict, total=False):
3141
3142
  class S3Location(TypedDict, total=False):
3142
3143
  BucketName: BucketName
3143
3144
  Prefix: LocationPrefix
3144
- Encryption: Optional[Encryption]
3145
- CannedACL: Optional[ObjectCannedACL]
3146
- AccessControlList: Optional[Grants]
3147
- Tagging: Optional[Tagging]
3148
- UserMetadata: Optional[UserMetadata]
3149
- StorageClass: Optional[StorageClass]
3145
+ Encryption: Encryption | None
3146
+ CannedACL: ObjectCannedACL | None
3147
+ AccessControlList: Grants | None
3148
+ Tagging: Tagging | None
3149
+ UserMetadata: UserMetadata | None
3150
+ StorageClass: StorageClass | None
3150
3151
 
3151
3152
 
3152
3153
  class OutputLocation(TypedDict, total=False):
3153
- S3: Optional[S3Location]
3154
+ S3: S3Location | None
3154
3155
 
3155
3156
 
3156
3157
  class OutputSerialization(TypedDict, total=False):
3157
- CSV: Optional[CSVOutput]
3158
- JSON: Optional[JSONOutput]
3158
+ CSV: CSVOutput | None
3159
+ JSON: JSONOutput | None
3159
3160
 
3160
3161
 
3161
3162
  class Progress(TypedDict, total=False):
3162
- BytesScanned: Optional[BytesScanned]
3163
- BytesProcessed: Optional[BytesProcessed]
3164
- BytesReturned: Optional[BytesReturned]
3163
+ BytesScanned: BytesScanned | None
3164
+ BytesProcessed: BytesProcessed | None
3165
+ BytesReturned: BytesReturned | None
3165
3166
 
3166
3167
 
3167
3168
  class ProgressEvent(TypedDict, total=False):
3168
- Details: Optional[Progress]
3169
+ Details: Progress | None
3169
3170
 
3170
3171
 
3171
3172
  class PutBucketAccelerateConfigurationRequest(ServiceRequest):
3172
3173
  Bucket: BucketName
3173
3174
  AccelerateConfiguration: AccelerateConfiguration
3174
- ExpectedBucketOwner: Optional[AccountId]
3175
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3175
+ ExpectedBucketOwner: AccountId | None
3176
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3176
3177
 
3177
3178
 
3178
3179
  class PutBucketAclRequest(ServiceRequest):
3179
- ACL: Optional[BucketCannedACL]
3180
- AccessControlPolicy: Optional[AccessControlPolicy]
3180
+ ACL: BucketCannedACL | None
3181
+ AccessControlPolicy: AccessControlPolicy | None
3181
3182
  Bucket: BucketName
3182
- ContentMD5: Optional[ContentMD5]
3183
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3184
- GrantFullControl: Optional[GrantFullControl]
3185
- GrantRead: Optional[GrantRead]
3186
- GrantReadACP: Optional[GrantReadACP]
3187
- GrantWrite: Optional[GrantWrite]
3188
- GrantWriteACP: Optional[GrantWriteACP]
3189
- ExpectedBucketOwner: Optional[AccountId]
3183
+ ContentMD5: ContentMD5 | None
3184
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3185
+ GrantFullControl: GrantFullControl | None
3186
+ GrantRead: GrantRead | None
3187
+ GrantReadACP: GrantReadACP | None
3188
+ GrantWrite: GrantWrite | None
3189
+ GrantWriteACP: GrantWriteACP | None
3190
+ ExpectedBucketOwner: AccountId | None
3190
3191
 
3191
3192
 
3192
3193
  class PutBucketAnalyticsConfigurationRequest(ServiceRequest):
3193
3194
  Bucket: BucketName
3194
3195
  Id: AnalyticsId
3195
3196
  AnalyticsConfiguration: AnalyticsConfiguration
3196
- ExpectedBucketOwner: Optional[AccountId]
3197
+ ExpectedBucketOwner: AccountId | None
3197
3198
 
3198
3199
 
3199
3200
  class PutBucketCorsRequest(ServiceRequest):
3200
3201
  Bucket: BucketName
3201
3202
  CORSConfiguration: CORSConfiguration
3202
- ContentMD5: Optional[ContentMD5]
3203
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3204
- ExpectedBucketOwner: Optional[AccountId]
3203
+ ContentMD5: ContentMD5 | None
3204
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3205
+ ExpectedBucketOwner: AccountId | None
3205
3206
 
3206
3207
 
3207
3208
  class PutBucketEncryptionRequest(ServiceRequest):
3208
3209
  Bucket: BucketName
3209
- ContentMD5: Optional[ContentMD5]
3210
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3210
+ ContentMD5: ContentMD5 | None
3211
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3211
3212
  ServerSideEncryptionConfiguration: ServerSideEncryptionConfiguration
3212
- ExpectedBucketOwner: Optional[AccountId]
3213
+ ExpectedBucketOwner: AccountId | None
3213
3214
 
3214
3215
 
3215
3216
  class PutBucketIntelligentTieringConfigurationRequest(ServiceRequest):
3216
3217
  Bucket: BucketName
3217
3218
  Id: IntelligentTieringId
3218
- ExpectedBucketOwner: Optional[AccountId]
3219
+ ExpectedBucketOwner: AccountId | None
3219
3220
  IntelligentTieringConfiguration: IntelligentTieringConfiguration
3220
3221
 
3221
3222
 
@@ -3223,83 +3224,83 @@ class PutBucketInventoryConfigurationRequest(ServiceRequest):
3223
3224
  Bucket: BucketName
3224
3225
  Id: InventoryId
3225
3226
  InventoryConfiguration: InventoryConfiguration
3226
- ExpectedBucketOwner: Optional[AccountId]
3227
+ ExpectedBucketOwner: AccountId | None
3227
3228
 
3228
3229
 
3229
3230
  class PutBucketLifecycleConfigurationOutput(TypedDict, total=False):
3230
- TransitionDefaultMinimumObjectSize: Optional[TransitionDefaultMinimumObjectSize]
3231
+ TransitionDefaultMinimumObjectSize: TransitionDefaultMinimumObjectSize | None
3231
3232
 
3232
3233
 
3233
3234
  class PutBucketLifecycleConfigurationRequest(ServiceRequest):
3234
3235
  Bucket: BucketName
3235
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3236
- LifecycleConfiguration: Optional[BucketLifecycleConfiguration]
3237
- ExpectedBucketOwner: Optional[AccountId]
3238
- TransitionDefaultMinimumObjectSize: Optional[TransitionDefaultMinimumObjectSize]
3236
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3237
+ LifecycleConfiguration: BucketLifecycleConfiguration | None
3238
+ ExpectedBucketOwner: AccountId | None
3239
+ TransitionDefaultMinimumObjectSize: TransitionDefaultMinimumObjectSize | None
3239
3240
 
3240
3241
 
3241
3242
  class PutBucketLifecycleRequest(ServiceRequest):
3242
3243
  Bucket: BucketName
3243
- ContentMD5: Optional[ContentMD5]
3244
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3245
- LifecycleConfiguration: Optional[LifecycleConfiguration]
3246
- ExpectedBucketOwner: Optional[AccountId]
3244
+ ContentMD5: ContentMD5 | None
3245
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3246
+ LifecycleConfiguration: LifecycleConfiguration | None
3247
+ ExpectedBucketOwner: AccountId | None
3247
3248
 
3248
3249
 
3249
3250
  class PutBucketLoggingRequest(ServiceRequest):
3250
3251
  Bucket: BucketName
3251
3252
  BucketLoggingStatus: BucketLoggingStatus
3252
- ContentMD5: Optional[ContentMD5]
3253
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3254
- ExpectedBucketOwner: Optional[AccountId]
3253
+ ContentMD5: ContentMD5 | None
3254
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3255
+ ExpectedBucketOwner: AccountId | None
3255
3256
 
3256
3257
 
3257
3258
  class PutBucketMetricsConfigurationRequest(ServiceRequest):
3258
3259
  Bucket: BucketName
3259
3260
  Id: MetricsId
3260
3261
  MetricsConfiguration: MetricsConfiguration
3261
- ExpectedBucketOwner: Optional[AccountId]
3262
+ ExpectedBucketOwner: AccountId | None
3262
3263
 
3263
3264
 
3264
3265
  class PutBucketNotificationConfigurationRequest(ServiceRequest):
3265
3266
  Bucket: BucketName
3266
3267
  NotificationConfiguration: NotificationConfiguration
3267
- ExpectedBucketOwner: Optional[AccountId]
3268
- SkipDestinationValidation: Optional[SkipValidation]
3268
+ ExpectedBucketOwner: AccountId | None
3269
+ SkipDestinationValidation: SkipValidation | None
3269
3270
 
3270
3271
 
3271
3272
  class PutBucketNotificationRequest(ServiceRequest):
3272
3273
  Bucket: BucketName
3273
- ContentMD5: Optional[ContentMD5]
3274
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3274
+ ContentMD5: ContentMD5 | None
3275
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3275
3276
  NotificationConfiguration: NotificationConfigurationDeprecated
3276
- ExpectedBucketOwner: Optional[AccountId]
3277
+ ExpectedBucketOwner: AccountId | None
3277
3278
 
3278
3279
 
3279
3280
  class PutBucketOwnershipControlsRequest(ServiceRequest):
3280
3281
  Bucket: BucketName
3281
- ContentMD5: Optional[ContentMD5]
3282
- ExpectedBucketOwner: Optional[AccountId]
3282
+ ContentMD5: ContentMD5 | None
3283
+ ExpectedBucketOwner: AccountId | None
3283
3284
  OwnershipControls: OwnershipControls
3284
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3285
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3285
3286
 
3286
3287
 
3287
3288
  class PutBucketPolicyRequest(ServiceRequest):
3288
3289
  Bucket: BucketName
3289
- ContentMD5: Optional[ContentMD5]
3290
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3291
- ConfirmRemoveSelfBucketAccess: Optional[ConfirmRemoveSelfBucketAccess]
3290
+ ContentMD5: ContentMD5 | None
3291
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3292
+ ConfirmRemoveSelfBucketAccess: ConfirmRemoveSelfBucketAccess | None
3292
3293
  Policy: Policy
3293
- ExpectedBucketOwner: Optional[AccountId]
3294
+ ExpectedBucketOwner: AccountId | None
3294
3295
 
3295
3296
 
3296
3297
  class PutBucketReplicationRequest(ServiceRequest):
3297
3298
  Bucket: BucketName
3298
- ContentMD5: Optional[ContentMD5]
3299
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3299
+ ContentMD5: ContentMD5 | None
3300
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3300
3301
  ReplicationConfiguration: ReplicationConfiguration
3301
- Token: Optional[ObjectLockToken]
3302
- ExpectedBucketOwner: Optional[AccountId]
3302
+ Token: ObjectLockToken | None
3303
+ ExpectedBucketOwner: AccountId | None
3303
3304
 
3304
3305
 
3305
3306
  class RequestPaymentConfiguration(TypedDict, total=False):
@@ -3308,207 +3309,207 @@ class RequestPaymentConfiguration(TypedDict, total=False):
3308
3309
 
3309
3310
  class PutBucketRequestPaymentRequest(ServiceRequest):
3310
3311
  Bucket: BucketName
3311
- ContentMD5: Optional[ContentMD5]
3312
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3312
+ ContentMD5: ContentMD5 | None
3313
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3313
3314
  RequestPaymentConfiguration: RequestPaymentConfiguration
3314
- ExpectedBucketOwner: Optional[AccountId]
3315
+ ExpectedBucketOwner: AccountId | None
3315
3316
 
3316
3317
 
3317
3318
  class PutBucketTaggingRequest(ServiceRequest):
3318
3319
  Bucket: BucketName
3319
- ContentMD5: Optional[ContentMD5]
3320
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3320
+ ContentMD5: ContentMD5 | None
3321
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3321
3322
  Tagging: Tagging
3322
- ExpectedBucketOwner: Optional[AccountId]
3323
+ ExpectedBucketOwner: AccountId | None
3323
3324
 
3324
3325
 
3325
3326
  class VersioningConfiguration(TypedDict, total=False):
3326
- MFADelete: Optional[MFADelete]
3327
- Status: Optional[BucketVersioningStatus]
3327
+ MFADelete: MFADelete | None
3328
+ Status: BucketVersioningStatus | None
3328
3329
 
3329
3330
 
3330
3331
  class PutBucketVersioningRequest(ServiceRequest):
3331
3332
  Bucket: BucketName
3332
- ContentMD5: Optional[ContentMD5]
3333
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3334
- MFA: Optional[MFA]
3333
+ ContentMD5: ContentMD5 | None
3334
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3335
+ MFA: MFA | None
3335
3336
  VersioningConfiguration: VersioningConfiguration
3336
- ExpectedBucketOwner: Optional[AccountId]
3337
+ ExpectedBucketOwner: AccountId | None
3337
3338
 
3338
3339
 
3339
3340
  class WebsiteConfiguration(TypedDict, total=False):
3340
- ErrorDocument: Optional[ErrorDocument]
3341
- IndexDocument: Optional[IndexDocument]
3342
- RedirectAllRequestsTo: Optional[RedirectAllRequestsTo]
3343
- RoutingRules: Optional[RoutingRules]
3341
+ ErrorDocument: ErrorDocument | None
3342
+ IndexDocument: IndexDocument | None
3343
+ RedirectAllRequestsTo: RedirectAllRequestsTo | None
3344
+ RoutingRules: RoutingRules | None
3344
3345
 
3345
3346
 
3346
3347
  class PutBucketWebsiteRequest(ServiceRequest):
3347
3348
  Bucket: BucketName
3348
- ContentMD5: Optional[ContentMD5]
3349
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3349
+ ContentMD5: ContentMD5 | None
3350
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3350
3351
  WebsiteConfiguration: WebsiteConfiguration
3351
- ExpectedBucketOwner: Optional[AccountId]
3352
+ ExpectedBucketOwner: AccountId | None
3352
3353
 
3353
3354
 
3354
3355
  class PutObjectAclOutput(TypedDict, total=False):
3355
- RequestCharged: Optional[RequestCharged]
3356
+ RequestCharged: RequestCharged | None
3356
3357
 
3357
3358
 
3358
3359
  class PutObjectAclRequest(ServiceRequest):
3359
- ACL: Optional[ObjectCannedACL]
3360
- AccessControlPolicy: Optional[AccessControlPolicy]
3360
+ ACL: ObjectCannedACL | None
3361
+ AccessControlPolicy: AccessControlPolicy | None
3361
3362
  Bucket: BucketName
3362
- ContentMD5: Optional[ContentMD5]
3363
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3364
- GrantFullControl: Optional[GrantFullControl]
3365
- GrantRead: Optional[GrantRead]
3366
- GrantReadACP: Optional[GrantReadACP]
3367
- GrantWrite: Optional[GrantWrite]
3368
- GrantWriteACP: Optional[GrantWriteACP]
3363
+ ContentMD5: ContentMD5 | None
3364
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3365
+ GrantFullControl: GrantFullControl | None
3366
+ GrantRead: GrantRead | None
3367
+ GrantReadACP: GrantReadACP | None
3368
+ GrantWrite: GrantWrite | None
3369
+ GrantWriteACP: GrantWriteACP | None
3369
3370
  Key: ObjectKey
3370
- RequestPayer: Optional[RequestPayer]
3371
- VersionId: Optional[ObjectVersionId]
3372
- ExpectedBucketOwner: Optional[AccountId]
3371
+ RequestPayer: RequestPayer | None
3372
+ VersionId: ObjectVersionId | None
3373
+ ExpectedBucketOwner: AccountId | None
3373
3374
 
3374
3375
 
3375
3376
  class PutObjectLegalHoldOutput(TypedDict, total=False):
3376
- RequestCharged: Optional[RequestCharged]
3377
+ RequestCharged: RequestCharged | None
3377
3378
 
3378
3379
 
3379
3380
  class PutObjectLegalHoldRequest(ServiceRequest):
3380
3381
  Bucket: BucketName
3381
3382
  Key: ObjectKey
3382
- LegalHold: Optional[ObjectLockLegalHold]
3383
- RequestPayer: Optional[RequestPayer]
3384
- VersionId: Optional[ObjectVersionId]
3385
- ContentMD5: Optional[ContentMD5]
3386
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3387
- ExpectedBucketOwner: Optional[AccountId]
3383
+ LegalHold: ObjectLockLegalHold | None
3384
+ RequestPayer: RequestPayer | None
3385
+ VersionId: ObjectVersionId | None
3386
+ ContentMD5: ContentMD5 | None
3387
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3388
+ ExpectedBucketOwner: AccountId | None
3388
3389
 
3389
3390
 
3390
3391
  class PutObjectLockConfigurationOutput(TypedDict, total=False):
3391
- RequestCharged: Optional[RequestCharged]
3392
+ RequestCharged: RequestCharged | None
3392
3393
 
3393
3394
 
3394
3395
  class PutObjectLockConfigurationRequest(ServiceRequest):
3395
3396
  Bucket: BucketName
3396
- ObjectLockConfiguration: Optional[ObjectLockConfiguration]
3397
- RequestPayer: Optional[RequestPayer]
3398
- Token: Optional[ObjectLockToken]
3399
- ContentMD5: Optional[ContentMD5]
3400
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3401
- ExpectedBucketOwner: Optional[AccountId]
3397
+ ObjectLockConfiguration: ObjectLockConfiguration | None
3398
+ RequestPayer: RequestPayer | None
3399
+ Token: ObjectLockToken | None
3400
+ ContentMD5: ContentMD5 | None
3401
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3402
+ ExpectedBucketOwner: AccountId | None
3402
3403
 
3403
3404
 
3404
3405
  class PutObjectOutput(TypedDict, total=False):
3405
- Expiration: Optional[Expiration]
3406
- ETag: Optional[ETag]
3407
- ChecksumCRC32: Optional[ChecksumCRC32]
3408
- ChecksumCRC32C: Optional[ChecksumCRC32C]
3409
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
3410
- ChecksumSHA1: Optional[ChecksumSHA1]
3411
- ChecksumSHA256: Optional[ChecksumSHA256]
3412
- ChecksumType: Optional[ChecksumType]
3413
- ServerSideEncryption: Optional[ServerSideEncryption]
3414
- VersionId: Optional[ObjectVersionId]
3415
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3416
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3417
- SSEKMSKeyId: Optional[SSEKMSKeyId]
3418
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
3419
- BucketKeyEnabled: Optional[BucketKeyEnabled]
3420
- Size: Optional[Size]
3421
- RequestCharged: Optional[RequestCharged]
3406
+ Expiration: Expiration | None
3407
+ ETag: ETag | None
3408
+ ChecksumCRC32: ChecksumCRC32 | None
3409
+ ChecksumCRC32C: ChecksumCRC32C | None
3410
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
3411
+ ChecksumSHA1: ChecksumSHA1 | None
3412
+ ChecksumSHA256: ChecksumSHA256 | None
3413
+ ChecksumType: ChecksumType | None
3414
+ ServerSideEncryption: ServerSideEncryption | None
3415
+ VersionId: ObjectVersionId | None
3416
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3417
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3418
+ SSEKMSKeyId: SSEKMSKeyId | None
3419
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
3420
+ BucketKeyEnabled: BucketKeyEnabled | None
3421
+ Size: Size | None
3422
+ RequestCharged: RequestCharged | None
3422
3423
 
3423
3424
 
3424
3425
  WriteOffsetBytes = int
3425
3426
 
3426
3427
 
3427
3428
  class PutObjectRequest(ServiceRequest):
3428
- Body: Optional[IO[Body]]
3429
- ACL: Optional[ObjectCannedACL]
3429
+ Body: IO[Body] | None
3430
+ ACL: ObjectCannedACL | None
3430
3431
  Bucket: BucketName
3431
- CacheControl: Optional[CacheControl]
3432
- ContentDisposition: Optional[ContentDisposition]
3433
- ContentEncoding: Optional[ContentEncoding]
3434
- ContentLanguage: Optional[ContentLanguage]
3435
- ContentLength: Optional[ContentLength]
3436
- ContentMD5: Optional[ContentMD5]
3437
- ContentType: Optional[ContentType]
3438
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3439
- ChecksumCRC32: Optional[ChecksumCRC32]
3440
- ChecksumCRC32C: Optional[ChecksumCRC32C]
3441
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
3442
- ChecksumSHA1: Optional[ChecksumSHA1]
3443
- ChecksumSHA256: Optional[ChecksumSHA256]
3444
- Expires: Optional[Expires]
3445
- IfMatch: Optional[IfMatch]
3446
- IfNoneMatch: Optional[IfNoneMatch]
3447
- GrantFullControl: Optional[GrantFullControl]
3448
- GrantRead: Optional[GrantRead]
3449
- GrantReadACP: Optional[GrantReadACP]
3450
- GrantWriteACP: Optional[GrantWriteACP]
3432
+ CacheControl: CacheControl | None
3433
+ ContentDisposition: ContentDisposition | None
3434
+ ContentEncoding: ContentEncoding | None
3435
+ ContentLanguage: ContentLanguage | None
3436
+ ContentLength: ContentLength | None
3437
+ ContentMD5: ContentMD5 | None
3438
+ ContentType: ContentType | None
3439
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3440
+ ChecksumCRC32: ChecksumCRC32 | None
3441
+ ChecksumCRC32C: ChecksumCRC32C | None
3442
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
3443
+ ChecksumSHA1: ChecksumSHA1 | None
3444
+ ChecksumSHA256: ChecksumSHA256 | None
3445
+ Expires: Expires | None
3446
+ IfMatch: IfMatch | None
3447
+ IfNoneMatch: IfNoneMatch | None
3448
+ GrantFullControl: GrantFullControl | None
3449
+ GrantRead: GrantRead | None
3450
+ GrantReadACP: GrantReadACP | None
3451
+ GrantWriteACP: GrantWriteACP | None
3451
3452
  Key: ObjectKey
3452
- WriteOffsetBytes: Optional[WriteOffsetBytes]
3453
- Metadata: Optional[Metadata]
3454
- ServerSideEncryption: Optional[ServerSideEncryption]
3455
- StorageClass: Optional[StorageClass]
3456
- WebsiteRedirectLocation: Optional[WebsiteRedirectLocation]
3457
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3458
- SSECustomerKey: Optional[SSECustomerKey]
3459
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3460
- SSEKMSKeyId: Optional[SSEKMSKeyId]
3461
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
3462
- BucketKeyEnabled: Optional[BucketKeyEnabled]
3463
- RequestPayer: Optional[RequestPayer]
3464
- Tagging: Optional[TaggingHeader]
3465
- ObjectLockMode: Optional[ObjectLockMode]
3466
- ObjectLockRetainUntilDate: Optional[ObjectLockRetainUntilDate]
3467
- ObjectLockLegalHoldStatus: Optional[ObjectLockLegalHoldStatus]
3468
- ExpectedBucketOwner: Optional[AccountId]
3453
+ WriteOffsetBytes: WriteOffsetBytes | None
3454
+ Metadata: Metadata | None
3455
+ ServerSideEncryption: ServerSideEncryption | None
3456
+ StorageClass: StorageClass | None
3457
+ WebsiteRedirectLocation: WebsiteRedirectLocation | None
3458
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3459
+ SSECustomerKey: SSECustomerKey | None
3460
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3461
+ SSEKMSKeyId: SSEKMSKeyId | None
3462
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
3463
+ BucketKeyEnabled: BucketKeyEnabled | None
3464
+ RequestPayer: RequestPayer | None
3465
+ Tagging: TaggingHeader | None
3466
+ ObjectLockMode: ObjectLockMode | None
3467
+ ObjectLockRetainUntilDate: ObjectLockRetainUntilDate | None
3468
+ ObjectLockLegalHoldStatus: ObjectLockLegalHoldStatus | None
3469
+ ExpectedBucketOwner: AccountId | None
3469
3470
 
3470
3471
 
3471
3472
  class PutObjectRetentionOutput(TypedDict, total=False):
3472
- RequestCharged: Optional[RequestCharged]
3473
+ RequestCharged: RequestCharged | None
3473
3474
 
3474
3475
 
3475
3476
  class PutObjectRetentionRequest(ServiceRequest):
3476
3477
  Bucket: BucketName
3477
3478
  Key: ObjectKey
3478
- Retention: Optional[ObjectLockRetention]
3479
- RequestPayer: Optional[RequestPayer]
3480
- VersionId: Optional[ObjectVersionId]
3481
- BypassGovernanceRetention: Optional[BypassGovernanceRetention]
3482
- ContentMD5: Optional[ContentMD5]
3483
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3484
- ExpectedBucketOwner: Optional[AccountId]
3479
+ Retention: ObjectLockRetention | None
3480
+ RequestPayer: RequestPayer | None
3481
+ VersionId: ObjectVersionId | None
3482
+ BypassGovernanceRetention: BypassGovernanceRetention | None
3483
+ ContentMD5: ContentMD5 | None
3484
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3485
+ ExpectedBucketOwner: AccountId | None
3485
3486
 
3486
3487
 
3487
3488
  class PutObjectTaggingOutput(TypedDict, total=False):
3488
- VersionId: Optional[ObjectVersionId]
3489
+ VersionId: ObjectVersionId | None
3489
3490
 
3490
3491
 
3491
3492
  class PutObjectTaggingRequest(ServiceRequest):
3492
3493
  Bucket: BucketName
3493
3494
  Key: ObjectKey
3494
- VersionId: Optional[ObjectVersionId]
3495
- ContentMD5: Optional[ContentMD5]
3496
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3495
+ VersionId: ObjectVersionId | None
3496
+ ContentMD5: ContentMD5 | None
3497
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3497
3498
  Tagging: Tagging
3498
- ExpectedBucketOwner: Optional[AccountId]
3499
- RequestPayer: Optional[RequestPayer]
3499
+ ExpectedBucketOwner: AccountId | None
3500
+ RequestPayer: RequestPayer | None
3500
3501
 
3501
3502
 
3502
3503
  class PutPublicAccessBlockRequest(ServiceRequest):
3503
3504
  Bucket: BucketName
3504
- ContentMD5: Optional[ContentMD5]
3505
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3505
+ ContentMD5: ContentMD5 | None
3506
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3506
3507
  PublicAccessBlockConfiguration: PublicAccessBlockConfiguration
3507
- ExpectedBucketOwner: Optional[AccountId]
3508
+ ExpectedBucketOwner: AccountId | None
3508
3509
 
3509
3510
 
3510
3511
  class RecordsEvent(TypedDict, total=False):
3511
- Payload: Optional[Body]
3512
+ Payload: Body | None
3512
3513
 
3513
3514
 
3514
3515
  class RenameObjectOutput(TypedDict, total=False):
@@ -3523,25 +3524,25 @@ class RenameObjectRequest(ServiceRequest):
3523
3524
  Bucket: BucketName
3524
3525
  Key: ObjectKey
3525
3526
  RenameSource: RenameSource
3526
- DestinationIfMatch: Optional[IfMatch]
3527
- DestinationIfNoneMatch: Optional[IfNoneMatch]
3528
- DestinationIfModifiedSince: Optional[IfModifiedSince]
3529
- DestinationIfUnmodifiedSince: Optional[IfUnmodifiedSince]
3530
- SourceIfMatch: Optional[RenameSourceIfMatch]
3531
- SourceIfNoneMatch: Optional[RenameSourceIfNoneMatch]
3532
- SourceIfModifiedSince: Optional[RenameSourceIfModifiedSince]
3533
- SourceIfUnmodifiedSince: Optional[RenameSourceIfUnmodifiedSince]
3534
- ClientToken: Optional[ClientToken]
3527
+ DestinationIfMatch: IfMatch | None
3528
+ DestinationIfNoneMatch: IfNoneMatch | None
3529
+ DestinationIfModifiedSince: IfModifiedSince | None
3530
+ DestinationIfUnmodifiedSince: IfUnmodifiedSince | None
3531
+ SourceIfMatch: RenameSourceIfMatch | None
3532
+ SourceIfNoneMatch: RenameSourceIfNoneMatch | None
3533
+ SourceIfModifiedSince: RenameSourceIfModifiedSince | None
3534
+ SourceIfUnmodifiedSince: RenameSourceIfUnmodifiedSince | None
3535
+ ClientToken: ClientToken | None
3535
3536
 
3536
3537
 
3537
3538
  class RequestProgress(TypedDict, total=False):
3538
- Enabled: Optional[EnableRequestProgress]
3539
+ Enabled: EnableRequestProgress | None
3539
3540
 
3540
3541
 
3541
3542
  class RestoreObjectOutput(TypedDict, total=False):
3542
- RequestCharged: Optional[RequestCharged]
3543
- RestoreOutputPath: Optional[RestoreOutputPath]
3544
- StatusCode: Optional[RestoreObjectOutputStatusCode]
3543
+ RequestCharged: RequestCharged | None
3544
+ RestoreOutputPath: RestoreOutputPath | None
3545
+ StatusCode: RestoreObjectOutputStatusCode | None
3545
3546
 
3546
3547
 
3547
3548
  class SelectParameters(TypedDict, total=False):
@@ -3552,49 +3553,49 @@ class SelectParameters(TypedDict, total=False):
3552
3553
 
3553
3554
 
3554
3555
  class RestoreRequest(TypedDict, total=False):
3555
- Days: Optional[Days]
3556
- GlacierJobParameters: Optional[GlacierJobParameters]
3557
- Type: Optional[RestoreRequestType]
3558
- Tier: Optional[Tier]
3559
- Description: Optional[Description]
3560
- SelectParameters: Optional[SelectParameters]
3561
- OutputLocation: Optional[OutputLocation]
3556
+ Days: Days | None
3557
+ GlacierJobParameters: GlacierJobParameters | None
3558
+ Type: RestoreRequestType | None
3559
+ Tier: Tier | None
3560
+ Description: Description | None
3561
+ SelectParameters: SelectParameters | None
3562
+ OutputLocation: OutputLocation | None
3562
3563
 
3563
3564
 
3564
3565
  class RestoreObjectRequest(ServiceRequest):
3565
3566
  Bucket: BucketName
3566
3567
  Key: ObjectKey
3567
- VersionId: Optional[ObjectVersionId]
3568
- RestoreRequest: Optional[RestoreRequest]
3569
- RequestPayer: Optional[RequestPayer]
3570
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3571
- ExpectedBucketOwner: Optional[AccountId]
3568
+ VersionId: ObjectVersionId | None
3569
+ RestoreRequest: RestoreRequest | None
3570
+ RequestPayer: RequestPayer | None
3571
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3572
+ ExpectedBucketOwner: AccountId | None
3572
3573
 
3573
3574
 
3574
3575
  Start = int
3575
3576
 
3576
3577
 
3577
3578
  class ScanRange(TypedDict, total=False):
3578
- Start: Optional[Start]
3579
- End: Optional[End]
3579
+ Start: Start | None
3580
+ End: End | None
3580
3581
 
3581
3582
 
3582
3583
  class Stats(TypedDict, total=False):
3583
- BytesScanned: Optional[BytesScanned]
3584
- BytesProcessed: Optional[BytesProcessed]
3585
- BytesReturned: Optional[BytesReturned]
3584
+ BytesScanned: BytesScanned | None
3585
+ BytesProcessed: BytesProcessed | None
3586
+ BytesReturned: BytesReturned | None
3586
3587
 
3587
3588
 
3588
3589
  class StatsEvent(TypedDict, total=False):
3589
- Details: Optional[Stats]
3590
+ Details: Stats | None
3590
3591
 
3591
3592
 
3592
3593
  class SelectObjectContentEventStream(TypedDict, total=False):
3593
- Records: Optional[RecordsEvent]
3594
- Stats: Optional[StatsEvent]
3595
- Progress: Optional[ProgressEvent]
3596
- Cont: Optional[ContinuationEvent]
3597
- End: Optional[EndEvent]
3594
+ Records: RecordsEvent | None
3595
+ Stats: StatsEvent | None
3596
+ Progress: ProgressEvent | None
3597
+ Cont: ContinuationEvent | None
3598
+ End: EndEvent | None
3598
3599
 
3599
3600
 
3600
3601
  class SelectObjectContentOutput(TypedDict, total=False):
@@ -3604,180 +3605,180 @@ class SelectObjectContentOutput(TypedDict, total=False):
3604
3605
  class SelectObjectContentRequest(ServiceRequest):
3605
3606
  Bucket: BucketName
3606
3607
  Key: ObjectKey
3607
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3608
- SSECustomerKey: Optional[SSECustomerKey]
3609
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3608
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3609
+ SSECustomerKey: SSECustomerKey | None
3610
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3610
3611
  Expression: Expression
3611
3612
  ExpressionType: ExpressionType
3612
- RequestProgress: Optional[RequestProgress]
3613
+ RequestProgress: RequestProgress | None
3613
3614
  InputSerialization: InputSerialization
3614
3615
  OutputSerialization: OutputSerialization
3615
- ScanRange: Optional[ScanRange]
3616
- ExpectedBucketOwner: Optional[AccountId]
3616
+ ScanRange: ScanRange | None
3617
+ ExpectedBucketOwner: AccountId | None
3617
3618
 
3618
3619
 
3619
3620
  class UpdateBucketMetadataInventoryTableConfigurationRequest(ServiceRequest):
3620
3621
  Bucket: BucketName
3621
- ContentMD5: Optional[ContentMD5]
3622
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3622
+ ContentMD5: ContentMD5 | None
3623
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3623
3624
  InventoryTableConfiguration: InventoryTableConfigurationUpdates
3624
- ExpectedBucketOwner: Optional[AccountId]
3625
+ ExpectedBucketOwner: AccountId | None
3625
3626
 
3626
3627
 
3627
3628
  class UpdateBucketMetadataJournalTableConfigurationRequest(ServiceRequest):
3628
3629
  Bucket: BucketName
3629
- ContentMD5: Optional[ContentMD5]
3630
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3630
+ ContentMD5: ContentMD5 | None
3631
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3631
3632
  JournalTableConfiguration: JournalTableConfigurationUpdates
3632
- ExpectedBucketOwner: Optional[AccountId]
3633
+ ExpectedBucketOwner: AccountId | None
3633
3634
 
3634
3635
 
3635
3636
  class UploadPartCopyOutput(TypedDict, total=False):
3636
- CopySourceVersionId: Optional[CopySourceVersionId]
3637
- CopyPartResult: Optional[CopyPartResult]
3638
- ServerSideEncryption: Optional[ServerSideEncryption]
3639
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3640
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3641
- SSEKMSKeyId: Optional[SSEKMSKeyId]
3642
- BucketKeyEnabled: Optional[BucketKeyEnabled]
3643
- RequestCharged: Optional[RequestCharged]
3637
+ CopySourceVersionId: CopySourceVersionId | None
3638
+ CopyPartResult: CopyPartResult | None
3639
+ ServerSideEncryption: ServerSideEncryption | None
3640
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3641
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3642
+ SSEKMSKeyId: SSEKMSKeyId | None
3643
+ BucketKeyEnabled: BucketKeyEnabled | None
3644
+ RequestCharged: RequestCharged | None
3644
3645
 
3645
3646
 
3646
3647
  class UploadPartCopyRequest(ServiceRequest):
3647
3648
  Bucket: BucketName
3648
3649
  CopySource: CopySource
3649
- CopySourceIfMatch: Optional[CopySourceIfMatch]
3650
- CopySourceIfModifiedSince: Optional[CopySourceIfModifiedSince]
3651
- CopySourceIfNoneMatch: Optional[CopySourceIfNoneMatch]
3652
- CopySourceIfUnmodifiedSince: Optional[CopySourceIfUnmodifiedSince]
3653
- CopySourceRange: Optional[CopySourceRange]
3650
+ CopySourceIfMatch: CopySourceIfMatch | None
3651
+ CopySourceIfModifiedSince: CopySourceIfModifiedSince | None
3652
+ CopySourceIfNoneMatch: CopySourceIfNoneMatch | None
3653
+ CopySourceIfUnmodifiedSince: CopySourceIfUnmodifiedSince | None
3654
+ CopySourceRange: CopySourceRange | None
3654
3655
  Key: ObjectKey
3655
3656
  PartNumber: PartNumber
3656
3657
  UploadId: MultipartUploadId
3657
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3658
- SSECustomerKey: Optional[SSECustomerKey]
3659
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3660
- CopySourceSSECustomerAlgorithm: Optional[CopySourceSSECustomerAlgorithm]
3661
- CopySourceSSECustomerKey: Optional[CopySourceSSECustomerKey]
3662
- CopySourceSSECustomerKeyMD5: Optional[CopySourceSSECustomerKeyMD5]
3663
- RequestPayer: Optional[RequestPayer]
3664
- ExpectedBucketOwner: Optional[AccountId]
3665
- ExpectedSourceBucketOwner: Optional[AccountId]
3658
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3659
+ SSECustomerKey: SSECustomerKey | None
3660
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3661
+ CopySourceSSECustomerAlgorithm: CopySourceSSECustomerAlgorithm | None
3662
+ CopySourceSSECustomerKey: CopySourceSSECustomerKey | None
3663
+ CopySourceSSECustomerKeyMD5: CopySourceSSECustomerKeyMD5 | None
3664
+ RequestPayer: RequestPayer | None
3665
+ ExpectedBucketOwner: AccountId | None
3666
+ ExpectedSourceBucketOwner: AccountId | None
3666
3667
 
3667
3668
 
3668
3669
  class UploadPartOutput(TypedDict, total=False):
3669
- ServerSideEncryption: Optional[ServerSideEncryption]
3670
- ETag: Optional[ETag]
3671
- ChecksumCRC32: Optional[ChecksumCRC32]
3672
- ChecksumCRC32C: Optional[ChecksumCRC32C]
3673
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
3674
- ChecksumSHA1: Optional[ChecksumSHA1]
3675
- ChecksumSHA256: Optional[ChecksumSHA256]
3676
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3677
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3678
- SSEKMSKeyId: Optional[SSEKMSKeyId]
3679
- BucketKeyEnabled: Optional[BucketKeyEnabled]
3680
- RequestCharged: Optional[RequestCharged]
3670
+ ServerSideEncryption: ServerSideEncryption | None
3671
+ ETag: ETag | None
3672
+ ChecksumCRC32: ChecksumCRC32 | None
3673
+ ChecksumCRC32C: ChecksumCRC32C | None
3674
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
3675
+ ChecksumSHA1: ChecksumSHA1 | None
3676
+ ChecksumSHA256: ChecksumSHA256 | None
3677
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3678
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3679
+ SSEKMSKeyId: SSEKMSKeyId | None
3680
+ BucketKeyEnabled: BucketKeyEnabled | None
3681
+ RequestCharged: RequestCharged | None
3681
3682
 
3682
3683
 
3683
3684
  class UploadPartRequest(ServiceRequest):
3684
- Body: Optional[IO[Body]]
3685
+ Body: IO[Body] | None
3685
3686
  Bucket: BucketName
3686
- ContentLength: Optional[ContentLength]
3687
- ContentMD5: Optional[ContentMD5]
3688
- ChecksumAlgorithm: Optional[ChecksumAlgorithm]
3689
- ChecksumCRC32: Optional[ChecksumCRC32]
3690
- ChecksumCRC32C: Optional[ChecksumCRC32C]
3691
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
3692
- ChecksumSHA1: Optional[ChecksumSHA1]
3693
- ChecksumSHA256: Optional[ChecksumSHA256]
3687
+ ContentLength: ContentLength | None
3688
+ ContentMD5: ContentMD5 | None
3689
+ ChecksumAlgorithm: ChecksumAlgorithm | None
3690
+ ChecksumCRC32: ChecksumCRC32 | None
3691
+ ChecksumCRC32C: ChecksumCRC32C | None
3692
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
3693
+ ChecksumSHA1: ChecksumSHA1 | None
3694
+ ChecksumSHA256: ChecksumSHA256 | None
3694
3695
  Key: ObjectKey
3695
3696
  PartNumber: PartNumber
3696
3697
  UploadId: MultipartUploadId
3697
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3698
- SSECustomerKey: Optional[SSECustomerKey]
3699
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3700
- RequestPayer: Optional[RequestPayer]
3701
- ExpectedBucketOwner: Optional[AccountId]
3698
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3699
+ SSECustomerKey: SSECustomerKey | None
3700
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3701
+ RequestPayer: RequestPayer | None
3702
+ ExpectedBucketOwner: AccountId | None
3702
3703
 
3703
3704
 
3704
3705
  class WriteGetObjectResponseRequest(ServiceRequest):
3705
- Body: Optional[IO[Body]]
3706
+ Body: IO[Body] | None
3706
3707
  RequestRoute: RequestRoute
3707
3708
  RequestToken: RequestToken
3708
- StatusCode: Optional[GetObjectResponseStatusCode]
3709
- ErrorCode: Optional[ErrorCode]
3710
- ErrorMessage: Optional[ErrorMessage]
3711
- AcceptRanges: Optional[AcceptRanges]
3712
- CacheControl: Optional[CacheControl]
3713
- ContentDisposition: Optional[ContentDisposition]
3714
- ContentEncoding: Optional[ContentEncoding]
3715
- ContentLanguage: Optional[ContentLanguage]
3716
- ContentLength: Optional[ContentLength]
3717
- ContentRange: Optional[ContentRange]
3718
- ContentType: Optional[ContentType]
3719
- ChecksumCRC32: Optional[ChecksumCRC32]
3720
- ChecksumCRC32C: Optional[ChecksumCRC32C]
3721
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
3722
- ChecksumSHA1: Optional[ChecksumSHA1]
3723
- ChecksumSHA256: Optional[ChecksumSHA256]
3724
- DeleteMarker: Optional[DeleteMarker]
3725
- ETag: Optional[ETag]
3726
- Expires: Optional[Expires]
3727
- Expiration: Optional[Expiration]
3728
- LastModified: Optional[LastModified]
3729
- MissingMeta: Optional[MissingMeta]
3730
- Metadata: Optional[Metadata]
3731
- ObjectLockMode: Optional[ObjectLockMode]
3732
- ObjectLockLegalHoldStatus: Optional[ObjectLockLegalHoldStatus]
3733
- ObjectLockRetainUntilDate: Optional[ObjectLockRetainUntilDate]
3734
- PartsCount: Optional[PartsCount]
3735
- ReplicationStatus: Optional[ReplicationStatus]
3736
- RequestCharged: Optional[RequestCharged]
3737
- Restore: Optional[Restore]
3738
- ServerSideEncryption: Optional[ServerSideEncryption]
3739
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3740
- SSEKMSKeyId: Optional[SSEKMSKeyId]
3741
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3742
- StorageClass: Optional[StorageClass]
3743
- TagCount: Optional[TagCount]
3744
- VersionId: Optional[ObjectVersionId]
3745
- BucketKeyEnabled: Optional[BucketKeyEnabled]
3709
+ StatusCode: GetObjectResponseStatusCode | None
3710
+ ErrorCode: ErrorCode | None
3711
+ ErrorMessage: ErrorMessage | None
3712
+ AcceptRanges: AcceptRanges | None
3713
+ CacheControl: CacheControl | None
3714
+ ContentDisposition: ContentDisposition | None
3715
+ ContentEncoding: ContentEncoding | None
3716
+ ContentLanguage: ContentLanguage | None
3717
+ ContentLength: ContentLength | None
3718
+ ContentRange: ContentRange | None
3719
+ ContentType: ContentType | None
3720
+ ChecksumCRC32: ChecksumCRC32 | None
3721
+ ChecksumCRC32C: ChecksumCRC32C | None
3722
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
3723
+ ChecksumSHA1: ChecksumSHA1 | None
3724
+ ChecksumSHA256: ChecksumSHA256 | None
3725
+ DeleteMarker: DeleteMarker | None
3726
+ ETag: ETag | None
3727
+ Expires: Expires | None
3728
+ Expiration: Expiration | None
3729
+ LastModified: LastModified | None
3730
+ MissingMeta: MissingMeta | None
3731
+ Metadata: Metadata | None
3732
+ ObjectLockMode: ObjectLockMode | None
3733
+ ObjectLockLegalHoldStatus: ObjectLockLegalHoldStatus | None
3734
+ ObjectLockRetainUntilDate: ObjectLockRetainUntilDate | None
3735
+ PartsCount: PartsCount | None
3736
+ ReplicationStatus: ReplicationStatus | None
3737
+ RequestCharged: RequestCharged | None
3738
+ Restore: Restore | None
3739
+ ServerSideEncryption: ServerSideEncryption | None
3740
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3741
+ SSEKMSKeyId: SSEKMSKeyId | None
3742
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3743
+ StorageClass: StorageClass | None
3744
+ TagCount: TagCount | None
3745
+ VersionId: ObjectVersionId | None
3746
+ BucketKeyEnabled: BucketKeyEnabled | None
3746
3747
 
3747
3748
 
3748
3749
  class PostObjectRequest(ServiceRequest):
3749
- Body: Optional[IO[Body]]
3750
+ Body: IO[Body] | None
3750
3751
  Bucket: BucketName
3751
3752
 
3752
3753
 
3753
3754
  class PostResponse(TypedDict, total=False):
3754
- StatusCode: Optional[GetObjectResponseStatusCode]
3755
- Location: Optional[Location]
3756
- LocationHeader: Optional[Location]
3757
- Bucket: Optional[BucketName]
3758
- Key: Optional[ObjectKey]
3759
- Expiration: Optional[Expiration]
3760
- ETag: Optional[ETag]
3761
- ETagHeader: Optional[ETag]
3762
- ChecksumCRC32: Optional[ChecksumCRC32]
3763
- ChecksumCRC32C: Optional[ChecksumCRC32C]
3764
- ChecksumCRC64NVME: Optional[ChecksumCRC64NVME]
3765
- ChecksumSHA1: Optional[ChecksumSHA1]
3766
- ChecksumSHA256: Optional[ChecksumSHA256]
3767
- ChecksumType: Optional[ChecksumType]
3768
- ServerSideEncryption: Optional[ServerSideEncryption]
3769
- VersionId: Optional[ObjectVersionId]
3770
- SSECustomerAlgorithm: Optional[SSECustomerAlgorithm]
3771
- SSECustomerKeyMD5: Optional[SSECustomerKeyMD5]
3772
- SSEKMSKeyId: Optional[SSEKMSKeyId]
3773
- SSEKMSEncryptionContext: Optional[SSEKMSEncryptionContext]
3774
- BucketKeyEnabled: Optional[BucketKeyEnabled]
3775
- RequestCharged: Optional[RequestCharged]
3755
+ StatusCode: GetObjectResponseStatusCode | None
3756
+ Location: Location | None
3757
+ LocationHeader: Location | None
3758
+ Bucket: BucketName | None
3759
+ Key: ObjectKey | None
3760
+ Expiration: Expiration | None
3761
+ ETag: ETag | None
3762
+ ETagHeader: ETag | None
3763
+ ChecksumCRC32: ChecksumCRC32 | None
3764
+ ChecksumCRC32C: ChecksumCRC32C | None
3765
+ ChecksumCRC64NVME: ChecksumCRC64NVME | None
3766
+ ChecksumSHA1: ChecksumSHA1 | None
3767
+ ChecksumSHA256: ChecksumSHA256 | None
3768
+ ChecksumType: ChecksumType | None
3769
+ ServerSideEncryption: ServerSideEncryption | None
3770
+ VersionId: ObjectVersionId | None
3771
+ SSECustomerAlgorithm: SSECustomerAlgorithm | None
3772
+ SSECustomerKeyMD5: SSECustomerKeyMD5 | None
3773
+ SSEKMSKeyId: SSEKMSKeyId | None
3774
+ SSEKMSEncryptionContext: SSEKMSEncryptionContext | None
3775
+ BucketKeyEnabled: BucketKeyEnabled | None
3776
+ RequestCharged: RequestCharged | None
3776
3777
 
3777
3778
 
3778
3779
  class S3Api:
3779
- service = "s3"
3780
- version = "2006-03-01"
3780
+ service: str = "s3"
3781
+ version: str = "2006-03-01"
3781
3782
 
3782
3783
  @handler("AbortMultipartUpload")
3783
3784
  def abort_multipart_upload(