localstack-core 4.7.1.dev139__py3-none-any.whl → 4.10.1.dev42__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

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