localstack-core 4.10.1.dev7__py3-none-any.whl → 4.11.2.dev14__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.

Potentially problematic release.


This version of localstack-core might be problematic. Click here for more details.

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