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,6 @@
1
1
  from datetime import datetime
2
2
  from enum import StrEnum
3
- from typing import List, Optional, TypedDict
3
+ from typing import TypedDict
4
4
 
5
5
  from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
6
6
 
@@ -167,6 +167,7 @@ class CloudWatchRegion(StrEnum):
167
167
  ap_east_2 = "ap-east-2"
168
168
  eu_isoe_west_1 = "eu-isoe-west-1"
169
169
  ap_southeast_6 = "ap-southeast-6"
170
+ us_isob_west_1 = "us-isob-west-1"
170
171
 
171
172
 
172
173
  class ComparisonOperator(StrEnum):
@@ -348,6 +349,7 @@ class VPCRegion(StrEnum):
348
349
  ap_east_2 = "ap-east-2"
349
350
  eu_isoe_west_1 = "eu-isoe-west-1"
350
351
  ap_southeast_6 = "ap-southeast-6"
352
+ us_isob_west_1 = "us-isob-west-1"
351
353
 
352
354
 
353
355
  class CidrBlockInUseException(ServiceException):
@@ -494,14 +496,14 @@ class InvalidArgument(ServiceException):
494
496
  status_code: int = 400
495
497
 
496
498
 
497
- ErrorMessages = List[ErrorMessage]
499
+ ErrorMessages = list[ErrorMessage]
498
500
 
499
501
 
500
502
  class InvalidChangeBatch(ServiceException):
501
503
  code: str = "InvalidChangeBatch"
502
504
  sender_fault: bool = False
503
505
  status_code: int = 400
504
- messages: Optional[ErrorMessages]
506
+ messages: ErrorMessages | None
505
507
 
506
508
 
507
509
  class InvalidDomainName(ServiceException):
@@ -788,7 +790,7 @@ class ChangeInfo(TypedDict, total=False):
788
790
  Id: ResourceId
789
791
  Status: ChangeStatus
790
792
  SubmittedAt: TimeStamp
791
- Comment: Optional[ResourceDescription]
793
+ Comment: ResourceDescription | None
792
794
 
793
795
 
794
796
  class ActivateKeySigningKeyResponse(TypedDict, total=False):
@@ -807,14 +809,14 @@ class AliasTarget(TypedDict, total=False):
807
809
 
808
810
 
809
811
  class VPC(TypedDict, total=False):
810
- VPCRegion: Optional[VPCRegion]
811
- VPCId: Optional[VPCId]
812
+ VPCRegion: VPCRegion | None
813
+ VPCId: VPCId | None
812
814
 
813
815
 
814
816
  class AssociateVPCWithHostedZoneRequest(ServiceRequest):
815
817
  HostedZoneId: ResourceId
816
818
  VPC: VPC
817
- Comment: Optional[AssociateVPCComment]
819
+ Comment: AssociateVPCComment | None
818
820
 
819
821
 
820
822
  class AssociateVPCWithHostedZoneResponse(TypedDict, total=False):
@@ -827,10 +829,10 @@ class Coordinates(TypedDict, total=False):
827
829
 
828
830
 
829
831
  class GeoProximityLocation(TypedDict, total=False):
830
- AWSRegion: Optional[AWSRegion]
831
- LocalZoneGroup: Optional[LocalZoneGroup]
832
- Coordinates: Optional[Coordinates]
833
- Bias: Optional[Bias]
832
+ AWSRegion: AWSRegion | None
833
+ LocalZoneGroup: LocalZoneGroup | None
834
+ Coordinates: Coordinates | None
835
+ Bias: Bias | None
834
836
 
835
837
 
836
838
  class CidrRoutingConfig(TypedDict, total=False):
@@ -842,14 +844,14 @@ class ResourceRecord(TypedDict, total=False):
842
844
  Value: RData
843
845
 
844
846
 
845
- ResourceRecords = List[ResourceRecord]
847
+ ResourceRecords = list[ResourceRecord]
846
848
  TTL = int
847
849
 
848
850
 
849
851
  class GeoLocation(TypedDict, total=False):
850
- ContinentCode: Optional[GeoLocationContinentCode]
851
- CountryCode: Optional[GeoLocationCountryCode]
852
- SubdivisionCode: Optional[GeoLocationSubdivisionCode]
852
+ ContinentCode: GeoLocationContinentCode | None
853
+ CountryCode: GeoLocationCountryCode | None
854
+ SubdivisionCode: GeoLocationSubdivisionCode | None
853
855
 
854
856
 
855
857
  ResourceRecordSetWeight = int
@@ -858,19 +860,19 @@ ResourceRecordSetWeight = int
858
860
  class ResourceRecordSet(TypedDict, total=False):
859
861
  Name: DNSName
860
862
  Type: RRType
861
- SetIdentifier: Optional[ResourceRecordSetIdentifier]
862
- Weight: Optional[ResourceRecordSetWeight]
863
- Region: Optional[ResourceRecordSetRegion]
864
- GeoLocation: Optional[GeoLocation]
865
- Failover: Optional[ResourceRecordSetFailover]
866
- MultiValueAnswer: Optional[ResourceRecordSetMultiValueAnswer]
867
- TTL: Optional[TTL]
868
- ResourceRecords: Optional[ResourceRecords]
869
- AliasTarget: Optional[AliasTarget]
870
- HealthCheckId: Optional[HealthCheckId]
871
- TrafficPolicyInstanceId: Optional[TrafficPolicyInstanceId]
872
- CidrRoutingConfig: Optional[CidrRoutingConfig]
873
- GeoProximityLocation: Optional[GeoProximityLocation]
863
+ SetIdentifier: ResourceRecordSetIdentifier | None
864
+ Weight: ResourceRecordSetWeight | None
865
+ Region: ResourceRecordSetRegion | None
866
+ GeoLocation: GeoLocation | None
867
+ Failover: ResourceRecordSetFailover | None
868
+ MultiValueAnswer: ResourceRecordSetMultiValueAnswer | None
869
+ TTL: TTL | None
870
+ ResourceRecords: ResourceRecords | None
871
+ AliasTarget: AliasTarget | None
872
+ HealthCheckId: HealthCheckId | None
873
+ TrafficPolicyInstanceId: TrafficPolicyInstanceId | None
874
+ CidrRoutingConfig: CidrRoutingConfig | None
875
+ GeoProximityLocation: GeoProximityLocation | None
874
876
 
875
877
 
876
878
  class Change(TypedDict, total=False):
@@ -878,15 +880,15 @@ class Change(TypedDict, total=False):
878
880
  ResourceRecordSet: ResourceRecordSet
879
881
 
880
882
 
881
- Changes = List[Change]
883
+ Changes = list[Change]
882
884
 
883
885
 
884
886
  class ChangeBatch(TypedDict, total=False):
885
- Comment: Optional[ResourceDescription]
887
+ Comment: ResourceDescription | None
886
888
  Changes: Changes
887
889
 
888
890
 
889
- CidrList = List[Cidr]
891
+ CidrList = list[Cidr]
890
892
 
891
893
 
892
894
  class CidrCollectionChange(TypedDict, total=False):
@@ -895,13 +897,13 @@ class CidrCollectionChange(TypedDict, total=False):
895
897
  CidrList: CidrList
896
898
 
897
899
 
898
- CidrCollectionChanges = List[CidrCollectionChange]
900
+ CidrCollectionChanges = list[CidrCollectionChange]
899
901
  CollectionVersion = int
900
902
 
901
903
 
902
904
  class ChangeCidrCollectionRequest(ServiceRequest):
903
905
  Id: UUID
904
- CollectionVersion: Optional[CollectionVersion]
906
+ CollectionVersion: CollectionVersion | None
905
907
  Changes: CidrCollectionChanges
906
908
 
907
909
 
@@ -918,45 +920,45 @@ class ChangeResourceRecordSetsResponse(TypedDict, total=False):
918
920
  ChangeInfo: ChangeInfo
919
921
 
920
922
 
921
- TagKeyList = List[TagKey]
923
+ TagKeyList = list[TagKey]
922
924
 
923
925
 
924
926
  class Tag(TypedDict, total=False):
925
- Key: Optional[TagKey]
926
- Value: Optional[TagValue]
927
+ Key: TagKey | None
928
+ Value: TagValue | None
927
929
 
928
930
 
929
- TagList = List[Tag]
931
+ TagList = list[Tag]
930
932
 
931
933
 
932
934
  class ChangeTagsForResourceRequest(ServiceRequest):
933
935
  ResourceType: TagResourceType
934
936
  ResourceId: TagResourceId
935
- AddTags: Optional[TagList]
936
- RemoveTagKeys: Optional[TagKeyList]
937
+ AddTags: TagList | None
938
+ RemoveTagKeys: TagKeyList | None
937
939
 
938
940
 
939
941
  class ChangeTagsForResourceResponse(TypedDict, total=False):
940
942
  pass
941
943
 
942
944
 
943
- CheckerIpRanges = List[IPAddressCidr]
944
- ChildHealthCheckList = List[HealthCheckId]
945
+ CheckerIpRanges = list[IPAddressCidr]
946
+ ChildHealthCheckList = list[HealthCheckId]
945
947
 
946
948
 
947
949
  class CidrBlockSummary(TypedDict, total=False):
948
- CidrBlock: Optional[Cidr]
949
- LocationName: Optional[CidrLocationNameDefaultNotAllowed]
950
+ CidrBlock: Cidr | None
951
+ LocationName: CidrLocationNameDefaultNotAllowed | None
950
952
 
951
953
 
952
- CidrBlockSummaries = List[CidrBlockSummary]
954
+ CidrBlockSummaries = list[CidrBlockSummary]
953
955
 
954
956
 
955
957
  class CidrCollection(TypedDict, total=False):
956
- Arn: Optional[ARN]
957
- Id: Optional[UUID]
958
- Name: Optional[CollectionName]
959
- Version: Optional[CollectionVersion]
958
+ Arn: ARN | None
959
+ Id: UUID | None
960
+ Name: CollectionName | None
961
+ Version: CollectionVersion | None
960
962
 
961
963
 
962
964
  class Dimension(TypedDict, total=False):
@@ -964,7 +966,7 @@ class Dimension(TypedDict, total=False):
964
966
  Value: DimensionField
965
967
 
966
968
 
967
- DimensionList = List[Dimension]
969
+ DimensionList = list[Dimension]
968
970
 
969
971
 
970
972
  class CloudWatchAlarmConfiguration(TypedDict, total=False):
@@ -975,17 +977,17 @@ class CloudWatchAlarmConfiguration(TypedDict, total=False):
975
977
  MetricName: MetricName
976
978
  Namespace: Namespace
977
979
  Statistic: Statistic
978
- Dimensions: Optional[DimensionList]
980
+ Dimensions: DimensionList | None
979
981
 
980
982
 
981
983
  class CollectionSummary(TypedDict, total=False):
982
- Arn: Optional[ARN]
983
- Id: Optional[UUID]
984
- Name: Optional[CollectionName]
985
- Version: Optional[CollectionVersion]
984
+ Arn: ARN | None
985
+ Id: UUID | None
986
+ Name: CollectionName | None
987
+ Version: CollectionVersion | None
986
988
 
987
989
 
988
- CollectionSummaries = List[CollectionSummary]
990
+ CollectionSummaries = list[CollectionSummary]
989
991
 
990
992
 
991
993
  class CreateCidrCollectionRequest(ServiceRequest):
@@ -994,32 +996,32 @@ class CreateCidrCollectionRequest(ServiceRequest):
994
996
 
995
997
 
996
998
  class CreateCidrCollectionResponse(TypedDict, total=False):
997
- Collection: Optional[CidrCollection]
998
- Location: Optional[ResourceURI]
999
+ Collection: CidrCollection | None
1000
+ Location: ResourceURI | None
999
1001
 
1000
1002
 
1001
- HealthCheckRegionList = List[HealthCheckRegion]
1003
+ HealthCheckRegionList = list[HealthCheckRegion]
1002
1004
 
1003
1005
 
1004
1006
  class HealthCheckConfig(TypedDict, total=False):
1005
- IPAddress: Optional[IPAddress]
1006
- Port: Optional[Port]
1007
+ IPAddress: IPAddress | None
1008
+ Port: Port | None
1007
1009
  Type: HealthCheckType
1008
- ResourcePath: Optional[ResourcePath]
1009
- FullyQualifiedDomainName: Optional[FullyQualifiedDomainName]
1010
- SearchString: Optional[SearchString]
1011
- RequestInterval: Optional[RequestInterval]
1012
- FailureThreshold: Optional[FailureThreshold]
1013
- MeasureLatency: Optional[MeasureLatency]
1014
- Inverted: Optional[Inverted]
1015
- Disabled: Optional[Disabled]
1016
- HealthThreshold: Optional[HealthThreshold]
1017
- ChildHealthChecks: Optional[ChildHealthCheckList]
1018
- EnableSNI: Optional[EnableSNI]
1019
- Regions: Optional[HealthCheckRegionList]
1020
- AlarmIdentifier: Optional[AlarmIdentifier]
1021
- InsufficientDataHealthStatus: Optional[InsufficientDataHealthStatus]
1022
- RoutingControlArn: Optional[RoutingControlArn]
1010
+ ResourcePath: ResourcePath | None
1011
+ FullyQualifiedDomainName: FullyQualifiedDomainName | None
1012
+ SearchString: SearchString | None
1013
+ RequestInterval: RequestInterval | None
1014
+ FailureThreshold: FailureThreshold | None
1015
+ MeasureLatency: MeasureLatency | None
1016
+ Inverted: Inverted | None
1017
+ Disabled: Disabled | None
1018
+ HealthThreshold: HealthThreshold | None
1019
+ ChildHealthChecks: ChildHealthCheckList | None
1020
+ EnableSNI: EnableSNI | None
1021
+ Regions: HealthCheckRegionList | None
1022
+ AlarmIdentifier: AlarmIdentifier | None
1023
+ InsufficientDataHealthStatus: InsufficientDataHealthStatus | None
1024
+ RoutingControlArn: RoutingControlArn | None
1023
1025
 
1024
1026
 
1025
1027
  class CreateHealthCheckRequest(ServiceRequest):
@@ -1031,17 +1033,17 @@ HealthCheckVersion = int
1031
1033
 
1032
1034
 
1033
1035
  class LinkedService(TypedDict, total=False):
1034
- ServicePrincipal: Optional[ServicePrincipal]
1035
- Description: Optional[ResourceDescription]
1036
+ ServicePrincipal: ServicePrincipal | None
1037
+ Description: ResourceDescription | None
1036
1038
 
1037
1039
 
1038
1040
  class HealthCheck(TypedDict, total=False):
1039
1041
  Id: HealthCheckId
1040
1042
  CallerReference: HealthCheckNonce
1041
- LinkedService: Optional[LinkedService]
1043
+ LinkedService: LinkedService | None
1042
1044
  HealthCheckConfig: HealthCheckConfig
1043
1045
  HealthCheckVersion: HealthCheckVersion
1044
- CloudWatchAlarmConfiguration: Optional[CloudWatchAlarmConfiguration]
1046
+ CloudWatchAlarmConfiguration: CloudWatchAlarmConfiguration | None
1045
1047
 
1046
1048
 
1047
1049
  class CreateHealthCheckResponse(TypedDict, total=False):
@@ -1050,24 +1052,24 @@ class CreateHealthCheckResponse(TypedDict, total=False):
1050
1052
 
1051
1053
 
1052
1054
  class HostedZoneConfig(TypedDict, total=False):
1053
- Comment: Optional[ResourceDescription]
1054
- PrivateZone: Optional[IsPrivateZone]
1055
+ Comment: ResourceDescription | None
1056
+ PrivateZone: IsPrivateZone | None
1055
1057
 
1056
1058
 
1057
1059
  class CreateHostedZoneRequest(ServiceRequest):
1058
1060
  Name: DNSName
1059
- VPC: Optional[VPC]
1061
+ VPC: VPC | None
1060
1062
  CallerReference: Nonce
1061
- HostedZoneConfig: Optional[HostedZoneConfig]
1062
- DelegationSetId: Optional[ResourceId]
1063
+ HostedZoneConfig: HostedZoneConfig | None
1064
+ DelegationSetId: ResourceId | None
1063
1065
 
1064
1066
 
1065
- DelegationSetNameServers = List[DNSName]
1067
+ DelegationSetNameServers = list[DNSName]
1066
1068
 
1067
1069
 
1068
1070
  class DelegationSet(TypedDict, total=False):
1069
- Id: Optional[ResourceId]
1070
- CallerReference: Optional[Nonce]
1071
+ Id: ResourceId | None
1072
+ CallerReference: Nonce | None
1071
1073
  NameServers: DelegationSetNameServers
1072
1074
 
1073
1075
 
@@ -1078,16 +1080,16 @@ class HostedZone(TypedDict, total=False):
1078
1080
  Id: ResourceId
1079
1081
  Name: DNSName
1080
1082
  CallerReference: Nonce
1081
- Config: Optional[HostedZoneConfig]
1082
- ResourceRecordSetCount: Optional[HostedZoneRRSetCount]
1083
- LinkedService: Optional[LinkedService]
1083
+ Config: HostedZoneConfig | None
1084
+ ResourceRecordSetCount: HostedZoneRRSetCount | None
1085
+ LinkedService: LinkedService | None
1084
1086
 
1085
1087
 
1086
1088
  class CreateHostedZoneResponse(TypedDict, total=False):
1087
1089
  HostedZone: HostedZone
1088
1090
  ChangeInfo: ChangeInfo
1089
1091
  DelegationSet: DelegationSet
1090
- VPC: Optional[VPC]
1092
+ VPC: VPC | None
1091
1093
  Location: ResourceURI
1092
1094
 
1093
1095
 
@@ -1100,22 +1102,22 @@ class CreateKeySigningKeyRequest(ServiceRequest):
1100
1102
 
1101
1103
 
1102
1104
  class KeySigningKey(TypedDict, total=False):
1103
- Name: Optional[SigningKeyName]
1104
- KmsArn: Optional[SigningKeyString]
1105
- Flag: Optional[SigningKeyInteger]
1106
- SigningAlgorithmMnemonic: Optional[SigningKeyString]
1107
- SigningAlgorithmType: Optional[SigningKeyInteger]
1108
- DigestAlgorithmMnemonic: Optional[SigningKeyString]
1109
- DigestAlgorithmType: Optional[SigningKeyInteger]
1110
- KeyTag: Optional[SigningKeyTag]
1111
- DigestValue: Optional[SigningKeyString]
1112
- PublicKey: Optional[SigningKeyString]
1113
- DSRecord: Optional[SigningKeyString]
1114
- DNSKEYRecord: Optional[SigningKeyString]
1115
- Status: Optional[SigningKeyStatus]
1116
- StatusMessage: Optional[SigningKeyStatusMessage]
1117
- CreatedDate: Optional[TimeStamp]
1118
- LastModifiedDate: Optional[TimeStamp]
1105
+ Name: SigningKeyName | None
1106
+ KmsArn: SigningKeyString | None
1107
+ Flag: SigningKeyInteger | None
1108
+ SigningAlgorithmMnemonic: SigningKeyString | None
1109
+ SigningAlgorithmType: SigningKeyInteger | None
1110
+ DigestAlgorithmMnemonic: SigningKeyString | None
1111
+ DigestAlgorithmType: SigningKeyInteger | None
1112
+ KeyTag: SigningKeyTag | None
1113
+ DigestValue: SigningKeyString | None
1114
+ PublicKey: SigningKeyString | None
1115
+ DSRecord: SigningKeyString | None
1116
+ DNSKEYRecord: SigningKeyString | None
1117
+ Status: SigningKeyStatus | None
1118
+ StatusMessage: SigningKeyStatusMessage | None
1119
+ CreatedDate: TimeStamp | None
1120
+ LastModifiedDate: TimeStamp | None
1119
1121
 
1120
1122
 
1121
1123
  class CreateKeySigningKeyResponse(TypedDict, total=False):
@@ -1142,7 +1144,7 @@ class CreateQueryLoggingConfigResponse(TypedDict, total=False):
1142
1144
 
1143
1145
  class CreateReusableDelegationSetRequest(ServiceRequest):
1144
1146
  CallerReference: Nonce
1145
- HostedZoneId: Optional[ResourceId]
1147
+ HostedZoneId: ResourceId | None
1146
1148
 
1147
1149
 
1148
1150
  class CreateReusableDelegationSetResponse(TypedDict, total=False):
@@ -1178,7 +1180,7 @@ class CreateTrafficPolicyInstanceResponse(TypedDict, total=False):
1178
1180
  class CreateTrafficPolicyRequest(ServiceRequest):
1179
1181
  Name: TrafficPolicyName
1180
1182
  Document: TrafficPolicyDocument
1181
- Comment: Optional[TrafficPolicyComment]
1183
+ Comment: TrafficPolicyComment | None
1182
1184
 
1183
1185
 
1184
1186
  class TrafficPolicy(TypedDict, total=False):
@@ -1187,7 +1189,7 @@ class TrafficPolicy(TypedDict, total=False):
1187
1189
  Name: TrafficPolicyName
1188
1190
  Type: RRType
1189
1191
  Document: TrafficPolicyDocument
1190
- Comment: Optional[TrafficPolicyComment]
1192
+ Comment: TrafficPolicyComment | None
1191
1193
 
1192
1194
 
1193
1195
  class CreateTrafficPolicyResponse(TypedDict, total=False):
@@ -1198,7 +1200,7 @@ class CreateTrafficPolicyResponse(TypedDict, total=False):
1198
1200
  class CreateTrafficPolicyVersionRequest(ServiceRequest):
1199
1201
  Id: TrafficPolicyId
1200
1202
  Document: TrafficPolicyDocument
1201
- Comment: Optional[TrafficPolicyComment]
1203
+ Comment: TrafficPolicyComment | None
1202
1204
 
1203
1205
 
1204
1206
  class CreateTrafficPolicyVersionResponse(TypedDict, total=False):
@@ -1217,8 +1219,8 @@ class CreateVPCAssociationAuthorizationResponse(TypedDict, total=False):
1217
1219
 
1218
1220
 
1219
1221
  class DNSSECStatus(TypedDict, total=False):
1220
- ServeSignature: Optional[ServeSignature]
1221
- StatusMessage: Optional[SigningKeyStatusMessage]
1222
+ ServeSignature: ServeSignature | None
1223
+ StatusMessage: SigningKeyStatusMessage | None
1222
1224
 
1223
1225
 
1224
1226
  class DeactivateKeySigningKeyRequest(ServiceRequest):
@@ -1230,7 +1232,7 @@ class DeactivateKeySigningKeyResponse(TypedDict, total=False):
1230
1232
  ChangeInfo: ChangeInfo
1231
1233
 
1232
1234
 
1233
- DelegationSets = List[DelegationSet]
1235
+ DelegationSets = list[DelegationSet]
1234
1236
 
1235
1237
 
1236
1238
  class DeleteCidrCollectionRequest(ServiceRequest):
@@ -1319,7 +1321,7 @@ class DisableHostedZoneDNSSECResponse(TypedDict, total=False):
1319
1321
  class DisassociateVPCFromHostedZoneRequest(ServiceRequest):
1320
1322
  HostedZoneId: ResourceId
1321
1323
  VPC: VPC
1322
- Comment: Optional[DisassociateVPCComment]
1324
+ Comment: DisassociateVPCComment | None
1323
1325
 
1324
1326
 
1325
1327
  class DisassociateVPCFromHostedZoneResponse(TypedDict, total=False):
@@ -1335,15 +1337,15 @@ class EnableHostedZoneDNSSECResponse(TypedDict, total=False):
1335
1337
 
1336
1338
 
1337
1339
  class GeoLocationDetails(TypedDict, total=False):
1338
- ContinentCode: Optional[GeoLocationContinentCode]
1339
- ContinentName: Optional[GeoLocationContinentName]
1340
- CountryCode: Optional[GeoLocationCountryCode]
1341
- CountryName: Optional[GeoLocationCountryName]
1342
- SubdivisionCode: Optional[GeoLocationSubdivisionCode]
1343
- SubdivisionName: Optional[GeoLocationSubdivisionName]
1340
+ ContinentCode: GeoLocationContinentCode | None
1341
+ ContinentName: GeoLocationContinentName | None
1342
+ CountryCode: GeoLocationCountryCode | None
1343
+ CountryName: GeoLocationCountryName | None
1344
+ SubdivisionCode: GeoLocationSubdivisionCode | None
1345
+ SubdivisionName: GeoLocationSubdivisionName | None
1344
1346
 
1345
1347
 
1346
- GeoLocationDetailsList = List[GeoLocationDetails]
1348
+ GeoLocationDetailsList = list[GeoLocationDetails]
1347
1349
 
1348
1350
 
1349
1351
  class GetAccountLimitRequest(ServiceRequest):
@@ -1378,7 +1380,7 @@ class GetDNSSECRequest(ServiceRequest):
1378
1380
  HostedZoneId: ResourceId
1379
1381
 
1380
1382
 
1381
- KeySigningKeys = List[KeySigningKey]
1383
+ KeySigningKeys = list[KeySigningKey]
1382
1384
 
1383
1385
 
1384
1386
  class GetDNSSECResponse(TypedDict, total=False):
@@ -1387,9 +1389,9 @@ class GetDNSSECResponse(TypedDict, total=False):
1387
1389
 
1388
1390
 
1389
1391
  class GetGeoLocationRequest(ServiceRequest):
1390
- ContinentCode: Optional[GeoLocationContinentCode]
1391
- CountryCode: Optional[GeoLocationCountryCode]
1392
- SubdivisionCode: Optional[GeoLocationSubdivisionCode]
1392
+ ContinentCode: GeoLocationContinentCode | None
1393
+ CountryCode: GeoLocationCountryCode | None
1394
+ SubdivisionCode: GeoLocationSubdivisionCode | None
1393
1395
 
1394
1396
 
1395
1397
  class GetGeoLocationResponse(TypedDict, total=False):
@@ -1412,17 +1414,17 @@ class GetHealthCheckLastFailureReasonRequest(ServiceRequest):
1412
1414
 
1413
1415
 
1414
1416
  class StatusReport(TypedDict, total=False):
1415
- Status: Optional[Status]
1416
- CheckedTime: Optional[TimeStamp]
1417
+ Status: Status | None
1418
+ CheckedTime: TimeStamp | None
1417
1419
 
1418
1420
 
1419
1421
  class HealthCheckObservation(TypedDict, total=False):
1420
- Region: Optional[HealthCheckRegion]
1421
- IPAddress: Optional[IPAddress]
1422
- StatusReport: Optional[StatusReport]
1422
+ Region: HealthCheckRegion | None
1423
+ IPAddress: IPAddress | None
1424
+ StatusReport: StatusReport | None
1423
1425
 
1424
1426
 
1425
- HealthCheckObservations = List[HealthCheckObservation]
1427
+ HealthCheckObservations = list[HealthCheckObservation]
1426
1428
 
1427
1429
 
1428
1430
  class GetHealthCheckLastFailureReasonResponse(TypedDict, total=False):
@@ -1475,13 +1477,13 @@ class GetHostedZoneRequest(ServiceRequest):
1475
1477
  Id: ResourceId
1476
1478
 
1477
1479
 
1478
- VPCs = List[VPC]
1480
+ VPCs = list[VPC]
1479
1481
 
1480
1482
 
1481
1483
  class GetHostedZoneResponse(TypedDict, total=False):
1482
1484
  HostedZone: HostedZone
1483
- DelegationSet: Optional[DelegationSet]
1484
- VPCs: Optional[VPCs]
1485
+ DelegationSet: DelegationSet | None
1486
+ VPCs: VPCs | None
1485
1487
 
1486
1488
 
1487
1489
  class GetQueryLoggingConfigRequest(ServiceRequest):
@@ -1540,12 +1542,12 @@ class GetTrafficPolicyResponse(TypedDict, total=False):
1540
1542
  TrafficPolicy: TrafficPolicy
1541
1543
 
1542
1544
 
1543
- HealthChecks = List[HealthCheck]
1545
+ HealthChecks = list[HealthCheck]
1544
1546
 
1545
1547
 
1546
1548
  class HostedZoneOwner(TypedDict, total=False):
1547
- OwningAccount: Optional[AWSAccountID]
1548
- OwningService: Optional[HostedZoneOwningService]
1549
+ OwningAccount: AWSAccountID | None
1550
+ OwningService: HostedZoneOwningService | None
1549
1551
 
1550
1552
 
1551
1553
  class HostedZoneSummary(TypedDict, total=False):
@@ -1554,167 +1556,167 @@ class HostedZoneSummary(TypedDict, total=False):
1554
1556
  Owner: HostedZoneOwner
1555
1557
 
1556
1558
 
1557
- HostedZoneSummaries = List[HostedZoneSummary]
1558
- HostedZones = List[HostedZone]
1559
+ HostedZoneSummaries = list[HostedZoneSummary]
1560
+ HostedZones = list[HostedZone]
1559
1561
 
1560
1562
 
1561
1563
  class ListCidrBlocksRequest(ServiceRequest):
1562
1564
  CollectionId: UUID
1563
- LocationName: Optional[CidrLocationNameDefaultNotAllowed]
1564
- NextToken: Optional[PaginationToken]
1565
- MaxResults: Optional[MaxResults]
1565
+ LocationName: CidrLocationNameDefaultNotAllowed | None
1566
+ NextToken: PaginationToken | None
1567
+ MaxResults: MaxResults | None
1566
1568
 
1567
1569
 
1568
1570
  class ListCidrBlocksResponse(TypedDict, total=False):
1569
- NextToken: Optional[PaginationToken]
1570
- CidrBlocks: Optional[CidrBlockSummaries]
1571
+ NextToken: PaginationToken | None
1572
+ CidrBlocks: CidrBlockSummaries | None
1571
1573
 
1572
1574
 
1573
1575
  class ListCidrCollectionsRequest(ServiceRequest):
1574
- NextToken: Optional[PaginationToken]
1575
- MaxResults: Optional[MaxResults]
1576
+ NextToken: PaginationToken | None
1577
+ MaxResults: MaxResults | None
1576
1578
 
1577
1579
 
1578
1580
  class ListCidrCollectionsResponse(TypedDict, total=False):
1579
- NextToken: Optional[PaginationToken]
1580
- CidrCollections: Optional[CollectionSummaries]
1581
+ NextToken: PaginationToken | None
1582
+ CidrCollections: CollectionSummaries | None
1581
1583
 
1582
1584
 
1583
1585
  class ListCidrLocationsRequest(ServiceRequest):
1584
1586
  CollectionId: UUID
1585
- NextToken: Optional[PaginationToken]
1586
- MaxResults: Optional[MaxResults]
1587
+ NextToken: PaginationToken | None
1588
+ MaxResults: MaxResults | None
1587
1589
 
1588
1590
 
1589
1591
  class LocationSummary(TypedDict, total=False):
1590
- LocationName: Optional[CidrLocationNameDefaultAllowed]
1592
+ LocationName: CidrLocationNameDefaultAllowed | None
1591
1593
 
1592
1594
 
1593
- LocationSummaries = List[LocationSummary]
1595
+ LocationSummaries = list[LocationSummary]
1594
1596
 
1595
1597
 
1596
1598
  class ListCidrLocationsResponse(TypedDict, total=False):
1597
- NextToken: Optional[PaginationToken]
1598
- CidrLocations: Optional[LocationSummaries]
1599
+ NextToken: PaginationToken | None
1600
+ CidrLocations: LocationSummaries | None
1599
1601
 
1600
1602
 
1601
1603
  class ListGeoLocationsRequest(ServiceRequest):
1602
- StartContinentCode: Optional[GeoLocationContinentCode]
1603
- StartCountryCode: Optional[GeoLocationCountryCode]
1604
- StartSubdivisionCode: Optional[GeoLocationSubdivisionCode]
1605
- MaxItems: Optional[PageMaxItems]
1604
+ StartContinentCode: GeoLocationContinentCode | None
1605
+ StartCountryCode: GeoLocationCountryCode | None
1606
+ StartSubdivisionCode: GeoLocationSubdivisionCode | None
1607
+ MaxItems: PageMaxItems | None
1606
1608
 
1607
1609
 
1608
1610
  class ListGeoLocationsResponse(TypedDict, total=False):
1609
1611
  GeoLocationDetailsList: GeoLocationDetailsList
1610
1612
  IsTruncated: PageTruncated
1611
- NextContinentCode: Optional[GeoLocationContinentCode]
1612
- NextCountryCode: Optional[GeoLocationCountryCode]
1613
- NextSubdivisionCode: Optional[GeoLocationSubdivisionCode]
1613
+ NextContinentCode: GeoLocationContinentCode | None
1614
+ NextCountryCode: GeoLocationCountryCode | None
1615
+ NextSubdivisionCode: GeoLocationSubdivisionCode | None
1614
1616
  MaxItems: PageMaxItems
1615
1617
 
1616
1618
 
1617
1619
  class ListHealthChecksRequest(ServiceRequest):
1618
- Marker: Optional[PageMarker]
1619
- MaxItems: Optional[PageMaxItems]
1620
+ Marker: PageMarker | None
1621
+ MaxItems: PageMaxItems | None
1620
1622
 
1621
1623
 
1622
1624
  class ListHealthChecksResponse(TypedDict, total=False):
1623
1625
  HealthChecks: HealthChecks
1624
1626
  Marker: PageMarker
1625
1627
  IsTruncated: PageTruncated
1626
- NextMarker: Optional[PageMarker]
1628
+ NextMarker: PageMarker | None
1627
1629
  MaxItems: PageMaxItems
1628
1630
 
1629
1631
 
1630
1632
  class ListHostedZonesByNameRequest(ServiceRequest):
1631
- DNSName: Optional[DNSName]
1632
- HostedZoneId: Optional[ResourceId]
1633
- MaxItems: Optional[PageMaxItems]
1633
+ DNSName: DNSName | None
1634
+ HostedZoneId: ResourceId | None
1635
+ MaxItems: PageMaxItems | None
1634
1636
 
1635
1637
 
1636
1638
  class ListHostedZonesByNameResponse(TypedDict, total=False):
1637
1639
  HostedZones: HostedZones
1638
- DNSName: Optional[DNSName]
1639
- HostedZoneId: Optional[ResourceId]
1640
+ DNSName: DNSName | None
1641
+ HostedZoneId: ResourceId | None
1640
1642
  IsTruncated: PageTruncated
1641
- NextDNSName: Optional[DNSName]
1642
- NextHostedZoneId: Optional[ResourceId]
1643
+ NextDNSName: DNSName | None
1644
+ NextHostedZoneId: ResourceId | None
1643
1645
  MaxItems: PageMaxItems
1644
1646
 
1645
1647
 
1646
1648
  class ListHostedZonesByVPCRequest(ServiceRequest):
1647
1649
  VPCId: VPCId
1648
1650
  VPCRegion: VPCRegion
1649
- MaxItems: Optional[PageMaxItems]
1650
- NextToken: Optional[PaginationToken]
1651
+ MaxItems: PageMaxItems | None
1652
+ NextToken: PaginationToken | None
1651
1653
 
1652
1654
 
1653
1655
  class ListHostedZonesByVPCResponse(TypedDict, total=False):
1654
1656
  HostedZoneSummaries: HostedZoneSummaries
1655
1657
  MaxItems: PageMaxItems
1656
- NextToken: Optional[PaginationToken]
1658
+ NextToken: PaginationToken | None
1657
1659
 
1658
1660
 
1659
1661
  class ListHostedZonesRequest(ServiceRequest):
1660
- Marker: Optional[PageMarker]
1661
- MaxItems: Optional[PageMaxItems]
1662
- DelegationSetId: Optional[ResourceId]
1663
- HostedZoneType: Optional[HostedZoneType]
1662
+ Marker: PageMarker | None
1663
+ MaxItems: PageMaxItems | None
1664
+ DelegationSetId: ResourceId | None
1665
+ HostedZoneType: HostedZoneType | None
1664
1666
 
1665
1667
 
1666
1668
  class ListHostedZonesResponse(TypedDict, total=False):
1667
1669
  HostedZones: HostedZones
1668
1670
  Marker: PageMarker
1669
1671
  IsTruncated: PageTruncated
1670
- NextMarker: Optional[PageMarker]
1672
+ NextMarker: PageMarker | None
1671
1673
  MaxItems: PageMaxItems
1672
1674
 
1673
1675
 
1674
1676
  class ListQueryLoggingConfigsRequest(ServiceRequest):
1675
- HostedZoneId: Optional[ResourceId]
1676
- NextToken: Optional[PaginationToken]
1677
- MaxResults: Optional[MaxResults]
1677
+ HostedZoneId: ResourceId | None
1678
+ NextToken: PaginationToken | None
1679
+ MaxResults: MaxResults | None
1678
1680
 
1679
1681
 
1680
- QueryLoggingConfigs = List[QueryLoggingConfig]
1682
+ QueryLoggingConfigs = list[QueryLoggingConfig]
1681
1683
 
1682
1684
 
1683
1685
  class ListQueryLoggingConfigsResponse(TypedDict, total=False):
1684
1686
  QueryLoggingConfigs: QueryLoggingConfigs
1685
- NextToken: Optional[PaginationToken]
1687
+ NextToken: PaginationToken | None
1686
1688
 
1687
1689
 
1688
1690
  class ListResourceRecordSetsRequest(ServiceRequest):
1689
1691
  HostedZoneId: ResourceId
1690
- StartRecordName: Optional[DNSName]
1691
- StartRecordType: Optional[RRType]
1692
- StartRecordIdentifier: Optional[ResourceRecordSetIdentifier]
1693
- MaxItems: Optional[PageMaxItems]
1692
+ StartRecordName: DNSName | None
1693
+ StartRecordType: RRType | None
1694
+ StartRecordIdentifier: ResourceRecordSetIdentifier | None
1695
+ MaxItems: PageMaxItems | None
1694
1696
 
1695
1697
 
1696
- ResourceRecordSets = List[ResourceRecordSet]
1698
+ ResourceRecordSets = list[ResourceRecordSet]
1697
1699
 
1698
1700
 
1699
1701
  class ListResourceRecordSetsResponse(TypedDict, total=False):
1700
1702
  ResourceRecordSets: ResourceRecordSets
1701
1703
  IsTruncated: PageTruncated
1702
- NextRecordName: Optional[DNSName]
1703
- NextRecordType: Optional[RRType]
1704
- NextRecordIdentifier: Optional[ResourceRecordSetIdentifier]
1704
+ NextRecordName: DNSName | None
1705
+ NextRecordType: RRType | None
1706
+ NextRecordIdentifier: ResourceRecordSetIdentifier | None
1705
1707
  MaxItems: PageMaxItems
1706
1708
 
1707
1709
 
1708
1710
  class ListReusableDelegationSetsRequest(ServiceRequest):
1709
- Marker: Optional[PageMarker]
1710
- MaxItems: Optional[PageMaxItems]
1711
+ Marker: PageMarker | None
1712
+ MaxItems: PageMaxItems | None
1711
1713
 
1712
1714
 
1713
1715
  class ListReusableDelegationSetsResponse(TypedDict, total=False):
1714
1716
  DelegationSets: DelegationSets
1715
1717
  Marker: PageMarker
1716
1718
  IsTruncated: PageTruncated
1717
- NextMarker: Optional[PageMarker]
1719
+ NextMarker: PageMarker | None
1718
1720
  MaxItems: PageMaxItems
1719
1721
 
1720
1722
 
@@ -1724,16 +1726,16 @@ class ListTagsForResourceRequest(ServiceRequest):
1724
1726
 
1725
1727
 
1726
1728
  class ResourceTagSet(TypedDict, total=False):
1727
- ResourceType: Optional[TagResourceType]
1728
- ResourceId: Optional[TagResourceId]
1729
- Tags: Optional[TagList]
1729
+ ResourceType: TagResourceType | None
1730
+ ResourceId: TagResourceId | None
1731
+ Tags: TagList | None
1730
1732
 
1731
1733
 
1732
1734
  class ListTagsForResourceResponse(TypedDict, total=False):
1733
1735
  ResourceTagSet: ResourceTagSet
1734
1736
 
1735
1737
 
1736
- TagResourceIdList = List[TagResourceId]
1738
+ TagResourceIdList = list[TagResourceId]
1737
1739
 
1738
1740
 
1739
1741
  class ListTagsForResourcesRequest(ServiceRequest):
@@ -1741,7 +1743,7 @@ class ListTagsForResourcesRequest(ServiceRequest):
1741
1743
  ResourceIds: TagResourceIdList
1742
1744
 
1743
1745
 
1744
- ResourceTagSetList = List[ResourceTagSet]
1746
+ ResourceTagSetList = list[ResourceTagSet]
1745
1747
 
1746
1748
 
1747
1749
  class ListTagsForResourcesResponse(TypedDict, total=False):
@@ -1749,8 +1751,8 @@ class ListTagsForResourcesResponse(TypedDict, total=False):
1749
1751
 
1750
1752
 
1751
1753
  class ListTrafficPoliciesRequest(ServiceRequest):
1752
- TrafficPolicyIdMarker: Optional[TrafficPolicyId]
1753
- MaxItems: Optional[PageMaxItems]
1754
+ TrafficPolicyIdMarker: TrafficPolicyId | None
1755
+ MaxItems: PageMaxItems | None
1754
1756
 
1755
1757
 
1756
1758
  class TrafficPolicySummary(TypedDict, total=False):
@@ -1761,7 +1763,7 @@ class TrafficPolicySummary(TypedDict, total=False):
1761
1763
  TrafficPolicyCount: TrafficPolicyVersion
1762
1764
 
1763
1765
 
1764
- TrafficPolicySummaries = List[TrafficPolicySummary]
1766
+ TrafficPolicySummaries = list[TrafficPolicySummary]
1765
1767
 
1766
1768
 
1767
1769
  class ListTrafficPoliciesResponse(TypedDict, total=False):
@@ -1773,18 +1775,18 @@ class ListTrafficPoliciesResponse(TypedDict, total=False):
1773
1775
 
1774
1776
  class ListTrafficPolicyInstancesByHostedZoneRequest(ServiceRequest):
1775
1777
  HostedZoneId: ResourceId
1776
- TrafficPolicyInstanceNameMarker: Optional[DNSName]
1777
- TrafficPolicyInstanceTypeMarker: Optional[RRType]
1778
- MaxItems: Optional[PageMaxItems]
1778
+ TrafficPolicyInstanceNameMarker: DNSName | None
1779
+ TrafficPolicyInstanceTypeMarker: RRType | None
1780
+ MaxItems: PageMaxItems | None
1779
1781
 
1780
1782
 
1781
- TrafficPolicyInstances = List[TrafficPolicyInstance]
1783
+ TrafficPolicyInstances = list[TrafficPolicyInstance]
1782
1784
 
1783
1785
 
1784
1786
  class ListTrafficPolicyInstancesByHostedZoneResponse(TypedDict, total=False):
1785
1787
  TrafficPolicyInstances: TrafficPolicyInstances
1786
- TrafficPolicyInstanceNameMarker: Optional[DNSName]
1787
- TrafficPolicyInstanceTypeMarker: Optional[RRType]
1788
+ TrafficPolicyInstanceNameMarker: DNSName | None
1789
+ TrafficPolicyInstanceTypeMarker: RRType | None
1788
1790
  IsTruncated: PageTruncated
1789
1791
  MaxItems: PageMaxItems
1790
1792
 
@@ -1792,44 +1794,44 @@ class ListTrafficPolicyInstancesByHostedZoneResponse(TypedDict, total=False):
1792
1794
  class ListTrafficPolicyInstancesByPolicyRequest(ServiceRequest):
1793
1795
  TrafficPolicyId: TrafficPolicyId
1794
1796
  TrafficPolicyVersion: TrafficPolicyVersion
1795
- HostedZoneIdMarker: Optional[ResourceId]
1796
- TrafficPolicyInstanceNameMarker: Optional[DNSName]
1797
- TrafficPolicyInstanceTypeMarker: Optional[RRType]
1798
- MaxItems: Optional[PageMaxItems]
1797
+ HostedZoneIdMarker: ResourceId | None
1798
+ TrafficPolicyInstanceNameMarker: DNSName | None
1799
+ TrafficPolicyInstanceTypeMarker: RRType | None
1800
+ MaxItems: PageMaxItems | None
1799
1801
 
1800
1802
 
1801
1803
  class ListTrafficPolicyInstancesByPolicyResponse(TypedDict, total=False):
1802
1804
  TrafficPolicyInstances: TrafficPolicyInstances
1803
- HostedZoneIdMarker: Optional[ResourceId]
1804
- TrafficPolicyInstanceNameMarker: Optional[DNSName]
1805
- TrafficPolicyInstanceTypeMarker: Optional[RRType]
1805
+ HostedZoneIdMarker: ResourceId | None
1806
+ TrafficPolicyInstanceNameMarker: DNSName | None
1807
+ TrafficPolicyInstanceTypeMarker: RRType | None
1806
1808
  IsTruncated: PageTruncated
1807
1809
  MaxItems: PageMaxItems
1808
1810
 
1809
1811
 
1810
1812
  class ListTrafficPolicyInstancesRequest(ServiceRequest):
1811
- HostedZoneIdMarker: Optional[ResourceId]
1812
- TrafficPolicyInstanceNameMarker: Optional[DNSName]
1813
- TrafficPolicyInstanceTypeMarker: Optional[RRType]
1814
- MaxItems: Optional[PageMaxItems]
1813
+ HostedZoneIdMarker: ResourceId | None
1814
+ TrafficPolicyInstanceNameMarker: DNSName | None
1815
+ TrafficPolicyInstanceTypeMarker: RRType | None
1816
+ MaxItems: PageMaxItems | None
1815
1817
 
1816
1818
 
1817
1819
  class ListTrafficPolicyInstancesResponse(TypedDict, total=False):
1818
1820
  TrafficPolicyInstances: TrafficPolicyInstances
1819
- HostedZoneIdMarker: Optional[ResourceId]
1820
- TrafficPolicyInstanceNameMarker: Optional[DNSName]
1821
- TrafficPolicyInstanceTypeMarker: Optional[RRType]
1821
+ HostedZoneIdMarker: ResourceId | None
1822
+ TrafficPolicyInstanceNameMarker: DNSName | None
1823
+ TrafficPolicyInstanceTypeMarker: RRType | None
1822
1824
  IsTruncated: PageTruncated
1823
1825
  MaxItems: PageMaxItems
1824
1826
 
1825
1827
 
1826
1828
  class ListTrafficPolicyVersionsRequest(ServiceRequest):
1827
1829
  Id: TrafficPolicyId
1828
- TrafficPolicyVersionMarker: Optional[TrafficPolicyVersionMarker]
1829
- MaxItems: Optional[PageMaxItems]
1830
+ TrafficPolicyVersionMarker: TrafficPolicyVersionMarker | None
1831
+ MaxItems: PageMaxItems | None
1830
1832
 
1831
1833
 
1832
- TrafficPolicies = List[TrafficPolicy]
1834
+ TrafficPolicies = list[TrafficPolicy]
1833
1835
 
1834
1836
 
1835
1837
  class ListTrafficPolicyVersionsResponse(TypedDict, total=False):
@@ -1841,27 +1843,27 @@ class ListTrafficPolicyVersionsResponse(TypedDict, total=False):
1841
1843
 
1842
1844
  class ListVPCAssociationAuthorizationsRequest(ServiceRequest):
1843
1845
  HostedZoneId: ResourceId
1844
- NextToken: Optional[PaginationToken]
1845
- MaxResults: Optional[MaxResults]
1846
+ NextToken: PaginationToken | None
1847
+ MaxResults: MaxResults | None
1846
1848
 
1847
1849
 
1848
1850
  class ListVPCAssociationAuthorizationsResponse(TypedDict, total=False):
1849
1851
  HostedZoneId: ResourceId
1850
- NextToken: Optional[PaginationToken]
1852
+ NextToken: PaginationToken | None
1851
1853
  VPCs: VPCs
1852
1854
 
1853
1855
 
1854
- RecordData = List[RecordDataEntry]
1855
- ResettableElementNameList = List[ResettableElementName]
1856
+ RecordData = list[RecordDataEntry]
1857
+ ResettableElementNameList = list[ResettableElementName]
1856
1858
 
1857
1859
 
1858
1860
  class TestDNSAnswerRequest(ServiceRequest):
1859
1861
  HostedZoneId: ResourceId
1860
1862
  RecordName: DNSName
1861
1863
  RecordType: RRType
1862
- ResolverIP: Optional[IPAddress]
1863
- EDNS0ClientSubnetIP: Optional[IPAddress]
1864
- EDNS0ClientSubnetMask: Optional[SubnetMask]
1864
+ ResolverIP: IPAddress | None
1865
+ EDNS0ClientSubnetIP: IPAddress | None
1866
+ EDNS0ClientSubnetMask: SubnetMask | None
1865
1867
 
1866
1868
 
1867
1869
  class TestDNSAnswerResponse(TypedDict, total=False):
@@ -1875,22 +1877,22 @@ class TestDNSAnswerResponse(TypedDict, total=False):
1875
1877
 
1876
1878
  class UpdateHealthCheckRequest(ServiceRequest):
1877
1879
  HealthCheckId: HealthCheckId
1878
- HealthCheckVersion: Optional[HealthCheckVersion]
1879
- IPAddress: Optional[IPAddress]
1880
- Port: Optional[Port]
1881
- ResourcePath: Optional[ResourcePath]
1882
- FullyQualifiedDomainName: Optional[FullyQualifiedDomainName]
1883
- SearchString: Optional[SearchString]
1884
- FailureThreshold: Optional[FailureThreshold]
1885
- Inverted: Optional[Inverted]
1886
- Disabled: Optional[Disabled]
1887
- HealthThreshold: Optional[HealthThreshold]
1888
- ChildHealthChecks: Optional[ChildHealthCheckList]
1889
- EnableSNI: Optional[EnableSNI]
1890
- Regions: Optional[HealthCheckRegionList]
1891
- AlarmIdentifier: Optional[AlarmIdentifier]
1892
- InsufficientDataHealthStatus: Optional[InsufficientDataHealthStatus]
1893
- ResetElements: Optional[ResettableElementNameList]
1880
+ HealthCheckVersion: HealthCheckVersion | None
1881
+ IPAddress: IPAddress | None
1882
+ Port: Port | None
1883
+ ResourcePath: ResourcePath | None
1884
+ FullyQualifiedDomainName: FullyQualifiedDomainName | None
1885
+ SearchString: SearchString | None
1886
+ FailureThreshold: FailureThreshold | None
1887
+ Inverted: Inverted | None
1888
+ Disabled: Disabled | None
1889
+ HealthThreshold: HealthThreshold | None
1890
+ ChildHealthChecks: ChildHealthCheckList | None
1891
+ EnableSNI: EnableSNI | None
1892
+ Regions: HealthCheckRegionList | None
1893
+ AlarmIdentifier: AlarmIdentifier | None
1894
+ InsufficientDataHealthStatus: InsufficientDataHealthStatus | None
1895
+ ResetElements: ResettableElementNameList | None
1894
1896
 
1895
1897
 
1896
1898
  class UpdateHealthCheckResponse(TypedDict, total=False):
@@ -1899,7 +1901,7 @@ class UpdateHealthCheckResponse(TypedDict, total=False):
1899
1901
 
1900
1902
  class UpdateHostedZoneCommentRequest(ServiceRequest):
1901
1903
  Id: ResourceId
1902
- Comment: Optional[ResourceDescription]
1904
+ Comment: ResourceDescription | None
1903
1905
 
1904
1906
 
1905
1907
  class UpdateHostedZoneCommentResponse(TypedDict, total=False):
@@ -1928,8 +1930,8 @@ class UpdateTrafficPolicyInstanceResponse(TypedDict, total=False):
1928
1930
 
1929
1931
 
1930
1932
  class Route53Api:
1931
- service = "route53"
1932
- version = "2013-04-01"
1933
+ service: str = "route53"
1934
+ version: str = "2013-04-01"
1933
1935
 
1934
1936
  @handler("ActivateKeySigningKey")
1935
1937
  def activate_key_signing_key(