localstack-core 4.4.1.dev12__py3-none-any.whl → 4.4.1.dev14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. localstack/aws/api/acm/__init__.py +19 -19
  2. localstack/aws/api/apigateway/__init__.py +202 -187
  3. localstack/aws/api/cloudcontrol/__init__.py +19 -19
  4. localstack/aws/api/cloudformation/__init__.py +240 -236
  5. localstack/aws/api/cloudwatch/__init__.py +108 -108
  6. localstack/aws/api/config/__init__.py +190 -174
  7. localstack/aws/api/dynamodb/__init__.py +176 -170
  8. localstack/aws/api/dynamodbstreams/__init__.py +7 -7
  9. localstack/aws/api/ec2/__init__.py +2415 -2348
  10. localstack/aws/api/es/__init__.py +81 -73
  11. localstack/aws/api/events/__init__.py +114 -110
  12. localstack/aws/api/firehose/__init__.py +43 -36
  13. localstack/aws/api/iam/__init__.py +189 -185
  14. localstack/aws/api/kinesis/__init__.py +70 -70
  15. localstack/aws/api/kms/__init__.py +126 -122
  16. localstack/aws/api/lambda_/__init__.py +191 -191
  17. localstack/aws/api/logs/__init__.py +150 -150
  18. localstack/aws/api/opensearch/__init__.py +138 -130
  19. localstack/aws/api/pipes/__init__.py +25 -25
  20. localstack/aws/api/redshift/__init__.py +420 -420
  21. localstack/aws/api/resource_groups/__init__.py +44 -44
  22. localstack/aws/api/resourcegroupstaggingapi/__init__.py +17 -17
  23. localstack/aws/api/route53/__init__.py +86 -82
  24. localstack/aws/api/route53resolver/__init__.py +103 -103
  25. localstack/aws/api/s3/__init__.py +489 -489
  26. localstack/aws/api/s3control/__init__.py +69 -69
  27. localstack/aws/api/scheduler/__init__.py +36 -32
  28. localstack/aws/api/secretsmanager/__init__.py +51 -51
  29. localstack/aws/api/ses/__init__.py +55 -55
  30. localstack/aws/api/sns/__init__.py +35 -31
  31. localstack/aws/api/sqs/__init__.py +24 -24
  32. localstack/aws/api/ssm/__init__.py +439 -439
  33. localstack/aws/api/stepfunctions/__init__.py +58 -58
  34. localstack/aws/api/sts/__init__.py +25 -25
  35. localstack/aws/api/support/__init__.py +29 -29
  36. localstack/aws/api/swf/__init__.py +88 -84
  37. localstack/aws/api/transcribe/__init__.py +80 -80
  38. localstack/aws/scaffold.py +1 -1
  39. localstack/services/s3/provider.py +37 -6
  40. localstack/testing/aws/asf_utils.py +7 -3
  41. localstack/version.py +2 -2
  42. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/METADATA +1 -1
  43. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/RECORD +51 -51
  44. localstack_core-4.4.1.dev14.dist-info/plux.json +1 -0
  45. localstack_core-4.4.1.dev12.dist-info/plux.json +0 -1
  46. {localstack_core-4.4.1.dev12.data → localstack_core-4.4.1.dev14.data}/scripts/localstack +0 -0
  47. {localstack_core-4.4.1.dev12.data → localstack_core-4.4.1.dev14.data}/scripts/localstack-supervisor +0 -0
  48. {localstack_core-4.4.1.dev12.data → localstack_core-4.4.1.dev14.data}/scripts/localstack.bat +0 -0
  49. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/WHEEL +0 -0
  50. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/entry_points.txt +0 -0
  51. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/licenses/LICENSE.txt +0 -0
  52. {localstack_core-4.4.1.dev12.dist-info → localstack_core-4.4.1.dev14.dist-info}/top_level.txt +0 -0
@@ -1677,14 +1677,14 @@ class ApigatewayApi:
1677
1677
  def create_api_key(
1678
1678
  self,
1679
1679
  context: RequestContext,
1680
- name: String = None,
1681
- description: String = None,
1682
- enabled: Boolean = None,
1683
- generate_distinct_id: Boolean = None,
1684
- value: String = None,
1685
- stage_keys: ListOfStageKeys = None,
1686
- customer_id: String = None,
1687
- tags: MapOfStringToString = None,
1680
+ name: String | None = None,
1681
+ description: String | None = None,
1682
+ enabled: Boolean | None = None,
1683
+ generate_distinct_id: Boolean | None = None,
1684
+ value: String | None = None,
1685
+ stage_keys: ListOfStageKeys | None = None,
1686
+ customer_id: String | None = None,
1687
+ tags: MapOfStringToString | None = None,
1688
1688
  **kwargs,
1689
1689
  ) -> ApiKey:
1690
1690
  raise NotImplementedError
@@ -1701,9 +1701,9 @@ class ApigatewayApi:
1701
1701
  context: RequestContext,
1702
1702
  domain_name: String,
1703
1703
  rest_api_id: String,
1704
- domain_name_id: String = None,
1705
- base_path: String = None,
1706
- stage: String = None,
1704
+ domain_name_id: String | None = None,
1705
+ base_path: String | None = None,
1706
+ stage: String | None = None,
1707
1707
  **kwargs,
1708
1708
  ) -> BasePathMapping:
1709
1709
  raise NotImplementedError
@@ -1713,14 +1713,14 @@ class ApigatewayApi:
1713
1713
  self,
1714
1714
  context: RequestContext,
1715
1715
  rest_api_id: String,
1716
- stage_name: String = None,
1717
- stage_description: String = None,
1718
- description: String = None,
1719
- cache_cluster_enabled: NullableBoolean = None,
1720
- cache_cluster_size: CacheClusterSize = None,
1721
- variables: MapOfStringToString = None,
1722
- canary_settings: DeploymentCanarySettings = None,
1723
- tracing_enabled: NullableBoolean = None,
1716
+ stage_name: String | None = None,
1717
+ stage_description: String | None = None,
1718
+ description: String | None = None,
1719
+ cache_cluster_enabled: NullableBoolean | None = None,
1720
+ cache_cluster_size: CacheClusterSize | None = None,
1721
+ variables: MapOfStringToString | None = None,
1722
+ canary_settings: DeploymentCanarySettings | None = None,
1723
+ tracing_enabled: NullableBoolean | None = None,
1724
1724
  **kwargs,
1725
1725
  ) -> Deployment:
1726
1726
  raise NotImplementedError
@@ -1742,8 +1742,8 @@ class ApigatewayApi:
1742
1742
  context: RequestContext,
1743
1743
  rest_api_id: String,
1744
1744
  documentation_version: String,
1745
- stage_name: String = None,
1746
- description: String = None,
1745
+ stage_name: String | None = None,
1746
+ description: String | None = None,
1747
1747
  **kwargs,
1748
1748
  ) -> DocumentationVersion:
1749
1749
  raise NotImplementedError
@@ -1753,19 +1753,19 @@ class ApigatewayApi:
1753
1753
  self,
1754
1754
  context: RequestContext,
1755
1755
  domain_name: String,
1756
- certificate_name: String = None,
1757
- certificate_body: String = None,
1758
- certificate_private_key: String = None,
1759
- certificate_chain: String = None,
1760
- certificate_arn: String = None,
1761
- regional_certificate_name: String = None,
1762
- regional_certificate_arn: String = None,
1763
- endpoint_configuration: EndpointConfiguration = None,
1764
- tags: MapOfStringToString = None,
1765
- security_policy: SecurityPolicy = None,
1766
- mutual_tls_authentication: MutualTlsAuthenticationInput = None,
1767
- ownership_verification_certificate_arn: String = None,
1768
- policy: String = None,
1756
+ certificate_name: String | None = None,
1757
+ certificate_body: String | None = None,
1758
+ certificate_private_key: String | None = None,
1759
+ certificate_chain: String | None = None,
1760
+ certificate_arn: String | None = None,
1761
+ regional_certificate_name: String | None = None,
1762
+ regional_certificate_arn: String | None = None,
1763
+ endpoint_configuration: EndpointConfiguration | None = None,
1764
+ tags: MapOfStringToString | None = None,
1765
+ security_policy: SecurityPolicy | None = None,
1766
+ mutual_tls_authentication: MutualTlsAuthenticationInput | None = None,
1767
+ ownership_verification_certificate_arn: String | None = None,
1768
+ policy: String | None = None,
1769
1769
  **kwargs,
1770
1770
  ) -> DomainName:
1771
1771
  raise NotImplementedError
@@ -1777,7 +1777,7 @@ class ApigatewayApi:
1777
1777
  domain_name_arn: String,
1778
1778
  access_association_source_type: AccessAssociationSourceType,
1779
1779
  access_association_source: String,
1780
- tags: MapOfStringToString = None,
1780
+ tags: MapOfStringToString | None = None,
1781
1781
  **kwargs,
1782
1782
  ) -> DomainNameAccessAssociation:
1783
1783
  raise NotImplementedError
@@ -1789,8 +1789,8 @@ class ApigatewayApi:
1789
1789
  rest_api_id: String,
1790
1790
  name: String,
1791
1791
  content_type: String,
1792
- description: String = None,
1793
- schema: String = None,
1792
+ description: String | None = None,
1793
+ schema: String | None = None,
1794
1794
  **kwargs,
1795
1795
  ) -> Model:
1796
1796
  raise NotImplementedError
@@ -1800,9 +1800,9 @@ class ApigatewayApi:
1800
1800
  self,
1801
1801
  context: RequestContext,
1802
1802
  rest_api_id: String,
1803
- name: String = None,
1804
- validate_request_body: Boolean = None,
1805
- validate_request_parameters: Boolean = None,
1803
+ name: String | None = None,
1804
+ validate_request_body: Boolean | None = None,
1805
+ validate_request_parameters: Boolean | None = None,
1806
1806
  **kwargs,
1807
1807
  ) -> RequestValidator:
1808
1808
  raise NotImplementedError
@@ -1823,16 +1823,16 @@ class ApigatewayApi:
1823
1823
  self,
1824
1824
  context: RequestContext,
1825
1825
  name: String,
1826
- description: String = None,
1827
- version: String = None,
1828
- clone_from: String = None,
1829
- binary_media_types: ListOfString = None,
1830
- minimum_compression_size: NullableInteger = None,
1831
- api_key_source: ApiKeySourceType = None,
1832
- endpoint_configuration: EndpointConfiguration = None,
1833
- policy: String = None,
1834
- tags: MapOfStringToString = None,
1835
- disable_execute_api_endpoint: Boolean = None,
1826
+ description: String | None = None,
1827
+ version: String | None = None,
1828
+ clone_from: String | None = None,
1829
+ binary_media_types: ListOfString | None = None,
1830
+ minimum_compression_size: NullableInteger | None = None,
1831
+ api_key_source: ApiKeySourceType | None = None,
1832
+ endpoint_configuration: EndpointConfiguration | None = None,
1833
+ policy: String | None = None,
1834
+ tags: MapOfStringToString | None = None,
1835
+ disable_execute_api_endpoint: Boolean | None = None,
1836
1836
  **kwargs,
1837
1837
  ) -> RestApi:
1838
1838
  raise NotImplementedError
@@ -1844,14 +1844,14 @@ class ApigatewayApi:
1844
1844
  rest_api_id: String,
1845
1845
  stage_name: String,
1846
1846
  deployment_id: String,
1847
- description: String = None,
1848
- cache_cluster_enabled: Boolean = None,
1849
- cache_cluster_size: CacheClusterSize = None,
1850
- variables: MapOfStringToString = None,
1851
- documentation_version: String = None,
1852
- canary_settings: CanarySettings = None,
1853
- tracing_enabled: Boolean = None,
1854
- tags: MapOfStringToString = None,
1847
+ description: String | None = None,
1848
+ cache_cluster_enabled: Boolean | None = None,
1849
+ cache_cluster_size: CacheClusterSize | None = None,
1850
+ variables: MapOfStringToString | None = None,
1851
+ documentation_version: String | None = None,
1852
+ canary_settings: CanarySettings | None = None,
1853
+ tracing_enabled: Boolean | None = None,
1854
+ tags: MapOfStringToString | None = None,
1855
1855
  **kwargs,
1856
1856
  ) -> Stage:
1857
1857
  raise NotImplementedError
@@ -1861,11 +1861,11 @@ class ApigatewayApi:
1861
1861
  self,
1862
1862
  context: RequestContext,
1863
1863
  name: String,
1864
- description: String = None,
1865
- api_stages: ListOfApiStage = None,
1866
- throttle: ThrottleSettings = None,
1867
- quota: QuotaSettings = None,
1868
- tags: MapOfStringToString = None,
1864
+ description: String | None = None,
1865
+ api_stages: ListOfApiStage | None = None,
1866
+ throttle: ThrottleSettings | None = None,
1867
+ quota: QuotaSettings | None = None,
1868
+ tags: MapOfStringToString | None = None,
1869
1869
  **kwargs,
1870
1870
  ) -> UsagePlan:
1871
1871
  raise NotImplementedError
@@ -1887,8 +1887,8 @@ class ApigatewayApi:
1887
1887
  context: RequestContext,
1888
1888
  name: String,
1889
1889
  target_arns: ListOfString,
1890
- description: String = None,
1891
- tags: MapOfStringToString = None,
1890
+ description: String | None = None,
1891
+ tags: MapOfStringToString | None = None,
1892
1892
  **kwargs,
1893
1893
  ) -> VpcLink:
1894
1894
  raise NotImplementedError
@@ -1909,7 +1909,7 @@ class ApigatewayApi:
1909
1909
  context: RequestContext,
1910
1910
  domain_name: String,
1911
1911
  base_path: String,
1912
- domain_name_id: String = None,
1912
+ domain_name_id: String | None = None,
1913
1913
  **kwargs,
1914
1914
  ) -> None:
1915
1915
  raise NotImplementedError
@@ -1940,7 +1940,11 @@ class ApigatewayApi:
1940
1940
 
1941
1941
  @handler("DeleteDomainName")
1942
1942
  def delete_domain_name(
1943
- self, context: RequestContext, domain_name: String, domain_name_id: String = None, **kwargs
1943
+ self,
1944
+ context: RequestContext,
1945
+ domain_name: String,
1946
+ domain_name_id: String | None = None,
1947
+ **kwargs,
1944
1948
  ) -> None:
1945
1949
  raise NotImplementedError
1946
1950
 
@@ -2064,8 +2068,8 @@ class ApigatewayApi:
2064
2068
  def generate_client_certificate(
2065
2069
  self,
2066
2070
  context: RequestContext,
2067
- description: String = None,
2068
- tags: MapOfStringToString = None,
2071
+ description: String | None = None,
2072
+ tags: MapOfStringToString | None = None,
2069
2073
  **kwargs,
2070
2074
  ) -> ClientCertificate:
2071
2075
  raise NotImplementedError
@@ -2079,7 +2083,7 @@ class ApigatewayApi:
2079
2083
  self,
2080
2084
  context: RequestContext,
2081
2085
  api_key: String,
2082
- include_value: NullableBoolean = None,
2086
+ include_value: NullableBoolean | None = None,
2083
2087
  **kwargs,
2084
2088
  ) -> ApiKey:
2085
2089
  raise NotImplementedError
@@ -2088,11 +2092,11 @@ class ApigatewayApi:
2088
2092
  def get_api_keys(
2089
2093
  self,
2090
2094
  context: RequestContext,
2091
- position: String = None,
2092
- limit: NullableInteger = None,
2093
- name_query: String = None,
2094
- customer_id: String = None,
2095
- include_values: NullableBoolean = None,
2095
+ position: String | None = None,
2096
+ limit: NullableInteger | None = None,
2097
+ name_query: String | None = None,
2098
+ customer_id: String | None = None,
2099
+ include_values: NullableBoolean | None = None,
2096
2100
  **kwargs,
2097
2101
  ) -> ApiKeys:
2098
2102
  raise NotImplementedError
@@ -2108,8 +2112,8 @@ class ApigatewayApi:
2108
2112
  self,
2109
2113
  context: RequestContext,
2110
2114
  rest_api_id: String,
2111
- position: String = None,
2112
- limit: NullableInteger = None,
2115
+ position: String | None = None,
2116
+ limit: NullableInteger | None = None,
2113
2117
  **kwargs,
2114
2118
  ) -> Authorizers:
2115
2119
  raise NotImplementedError
@@ -2120,7 +2124,7 @@ class ApigatewayApi:
2120
2124
  context: RequestContext,
2121
2125
  domain_name: String,
2122
2126
  base_path: String,
2123
- domain_name_id: String = None,
2127
+ domain_name_id: String | None = None,
2124
2128
  **kwargs,
2125
2129
  ) -> BasePathMapping:
2126
2130
  raise NotImplementedError
@@ -2130,9 +2134,9 @@ class ApigatewayApi:
2130
2134
  self,
2131
2135
  context: RequestContext,
2132
2136
  domain_name: String,
2133
- domain_name_id: String = None,
2134
- position: String = None,
2135
- limit: NullableInteger = None,
2137
+ domain_name_id: String | None = None,
2138
+ position: String | None = None,
2139
+ limit: NullableInteger | None = None,
2136
2140
  **kwargs,
2137
2141
  ) -> BasePathMappings:
2138
2142
  raise NotImplementedError
@@ -2147,8 +2151,8 @@ class ApigatewayApi:
2147
2151
  def get_client_certificates(
2148
2152
  self,
2149
2153
  context: RequestContext,
2150
- position: String = None,
2151
- limit: NullableInteger = None,
2154
+ position: String | None = None,
2155
+ limit: NullableInteger | None = None,
2152
2156
  **kwargs,
2153
2157
  ) -> ClientCertificates:
2154
2158
  raise NotImplementedError
@@ -2159,7 +2163,7 @@ class ApigatewayApi:
2159
2163
  context: RequestContext,
2160
2164
  rest_api_id: String,
2161
2165
  deployment_id: String,
2162
- embed: ListOfString = None,
2166
+ embed: ListOfString | None = None,
2163
2167
  **kwargs,
2164
2168
  ) -> Deployment:
2165
2169
  raise NotImplementedError
@@ -2169,8 +2173,8 @@ class ApigatewayApi:
2169
2173
  self,
2170
2174
  context: RequestContext,
2171
2175
  rest_api_id: String,
2172
- position: String = None,
2173
- limit: NullableInteger = None,
2176
+ position: String | None = None,
2177
+ limit: NullableInteger | None = None,
2174
2178
  **kwargs,
2175
2179
  ) -> Deployments:
2176
2180
  raise NotImplementedError
@@ -2198,15 +2202,19 @@ class ApigatewayApi:
2198
2202
  self,
2199
2203
  context: RequestContext,
2200
2204
  rest_api_id: String,
2201
- position: String = None,
2202
- limit: NullableInteger = None,
2205
+ position: String | None = None,
2206
+ limit: NullableInteger | None = None,
2203
2207
  **kwargs,
2204
2208
  ) -> DocumentationVersions:
2205
2209
  raise NotImplementedError
2206
2210
 
2207
2211
  @handler("GetDomainName")
2208
2212
  def get_domain_name(
2209
- self, context: RequestContext, domain_name: String, domain_name_id: String = None, **kwargs
2213
+ self,
2214
+ context: RequestContext,
2215
+ domain_name: String,
2216
+ domain_name_id: String | None = None,
2217
+ **kwargs,
2210
2218
  ) -> DomainName:
2211
2219
  raise NotImplementedError
2212
2220
 
@@ -2214,9 +2222,9 @@ class ApigatewayApi:
2214
2222
  def get_domain_name_access_associations(
2215
2223
  self,
2216
2224
  context: RequestContext,
2217
- position: String = None,
2218
- limit: NullableInteger = None,
2219
- resource_owner: ResourceOwner = None,
2225
+ position: String | None = None,
2226
+ limit: NullableInteger | None = None,
2227
+ resource_owner: ResourceOwner | None = None,
2220
2228
  **kwargs,
2221
2229
  ) -> DomainNameAccessAssociations:
2222
2230
  raise NotImplementedError
@@ -2225,9 +2233,9 @@ class ApigatewayApi:
2225
2233
  def get_domain_names(
2226
2234
  self,
2227
2235
  context: RequestContext,
2228
- position: String = None,
2229
- limit: NullableInteger = None,
2230
- resource_owner: ResourceOwner = None,
2236
+ position: String | None = None,
2237
+ limit: NullableInteger | None = None,
2238
+ resource_owner: ResourceOwner | None = None,
2231
2239
  **kwargs,
2232
2240
  ) -> DomainNames:
2233
2241
  raise NotImplementedError
@@ -2239,8 +2247,8 @@ class ApigatewayApi:
2239
2247
  rest_api_id: String,
2240
2248
  stage_name: String,
2241
2249
  export_type: String,
2242
- parameters: MapOfStringToString = None,
2243
- accepts: String = None,
2250
+ parameters: MapOfStringToString | None = None,
2251
+ accepts: String | None = None,
2244
2252
  **kwargs,
2245
2253
  ) -> ExportResponse:
2246
2254
  raise NotImplementedError
@@ -2260,8 +2268,8 @@ class ApigatewayApi:
2260
2268
  self,
2261
2269
  context: RequestContext,
2262
2270
  rest_api_id: String,
2263
- position: String = None,
2264
- limit: NullableInteger = None,
2271
+ position: String | None = None,
2272
+ limit: NullableInteger | None = None,
2265
2273
  **kwargs,
2266
2274
  ) -> GatewayResponses:
2267
2275
  raise NotImplementedError
@@ -2318,7 +2326,7 @@ class ApigatewayApi:
2318
2326
  context: RequestContext,
2319
2327
  rest_api_id: String,
2320
2328
  model_name: String,
2321
- flatten: Boolean = None,
2329
+ flatten: Boolean | None = None,
2322
2330
  **kwargs,
2323
2331
  ) -> Model:
2324
2332
  raise NotImplementedError
@@ -2334,8 +2342,8 @@ class ApigatewayApi:
2334
2342
  self,
2335
2343
  context: RequestContext,
2336
2344
  rest_api_id: String,
2337
- position: String = None,
2338
- limit: NullableInteger = None,
2345
+ position: String | None = None,
2346
+ limit: NullableInteger | None = None,
2339
2347
  **kwargs,
2340
2348
  ) -> Models:
2341
2349
  raise NotImplementedError
@@ -2351,8 +2359,8 @@ class ApigatewayApi:
2351
2359
  self,
2352
2360
  context: RequestContext,
2353
2361
  rest_api_id: String,
2354
- position: String = None,
2355
- limit: NullableInteger = None,
2362
+ position: String | None = None,
2363
+ limit: NullableInteger | None = None,
2356
2364
  **kwargs,
2357
2365
  ) -> RequestValidators:
2358
2366
  raise NotImplementedError
@@ -2363,7 +2371,7 @@ class ApigatewayApi:
2363
2371
  context: RequestContext,
2364
2372
  rest_api_id: String,
2365
2373
  resource_id: String,
2366
- embed: ListOfString = None,
2374
+ embed: ListOfString | None = None,
2367
2375
  **kwargs,
2368
2376
  ) -> Resource:
2369
2377
  raise NotImplementedError
@@ -2373,9 +2381,9 @@ class ApigatewayApi:
2373
2381
  self,
2374
2382
  context: RequestContext,
2375
2383
  rest_api_id: String,
2376
- position: String = None,
2377
- limit: NullableInteger = None,
2378
- embed: ListOfString = None,
2384
+ position: String | None = None,
2385
+ limit: NullableInteger | None = None,
2386
+ embed: ListOfString | None = None,
2379
2387
  **kwargs,
2380
2388
  ) -> Resources:
2381
2389
  raise NotImplementedError
@@ -2388,8 +2396,8 @@ class ApigatewayApi:
2388
2396
  def get_rest_apis(
2389
2397
  self,
2390
2398
  context: RequestContext,
2391
- position: String = None,
2392
- limit: NullableInteger = None,
2399
+ position: String | None = None,
2400
+ limit: NullableInteger | None = None,
2393
2401
  **kwargs,
2394
2402
  ) -> RestApis:
2395
2403
  raise NotImplementedError
@@ -2401,7 +2409,7 @@ class ApigatewayApi:
2401
2409
  rest_api_id: String,
2402
2410
  stage_name: String,
2403
2411
  sdk_type: String,
2404
- parameters: MapOfStringToString = None,
2412
+ parameters: MapOfStringToString | None = None,
2405
2413
  **kwargs,
2406
2414
  ) -> SdkResponse:
2407
2415
  raise NotImplementedError
@@ -2414,8 +2422,8 @@ class ApigatewayApi:
2414
2422
  def get_sdk_types(
2415
2423
  self,
2416
2424
  context: RequestContext,
2417
- position: String = None,
2418
- limit: NullableInteger = None,
2425
+ position: String | None = None,
2426
+ limit: NullableInteger | None = None,
2419
2427
  **kwargs,
2420
2428
  ) -> SdkTypes:
2421
2429
  raise NotImplementedError
@@ -2428,7 +2436,11 @@ class ApigatewayApi:
2428
2436
 
2429
2437
  @handler("GetStages")
2430
2438
  def get_stages(
2431
- self, context: RequestContext, rest_api_id: String, deployment_id: String = None, **kwargs
2439
+ self,
2440
+ context: RequestContext,
2441
+ rest_api_id: String,
2442
+ deployment_id: String | None = None,
2443
+ **kwargs,
2432
2444
  ) -> Stages:
2433
2445
  raise NotImplementedError
2434
2446
 
@@ -2437,8 +2449,8 @@ class ApigatewayApi:
2437
2449
  self,
2438
2450
  context: RequestContext,
2439
2451
  resource_arn: String,
2440
- position: String = None,
2441
- limit: NullableInteger = None,
2452
+ position: String | None = None,
2453
+ limit: NullableInteger | None = None,
2442
2454
  **kwargs,
2443
2455
  ) -> Tags:
2444
2456
  raise NotImplementedError
@@ -2450,9 +2462,9 @@ class ApigatewayApi:
2450
2462
  usage_plan_id: String,
2451
2463
  start_date: String,
2452
2464
  end_date: String,
2453
- key_id: String = None,
2454
- position: String = None,
2455
- limit: NullableInteger = None,
2465
+ key_id: String | None = None,
2466
+ position: String | None = None,
2467
+ limit: NullableInteger | None = None,
2456
2468
  **kwargs,
2457
2469
  ) -> Usage:
2458
2470
  raise NotImplementedError
@@ -2472,9 +2484,9 @@ class ApigatewayApi:
2472
2484
  self,
2473
2485
  context: RequestContext,
2474
2486
  usage_plan_id: String,
2475
- position: String = None,
2476
- limit: NullableInteger = None,
2477
- name_query: String = None,
2487
+ position: String | None = None,
2488
+ limit: NullableInteger | None = None,
2489
+ name_query: String | None = None,
2478
2490
  **kwargs,
2479
2491
  ) -> UsagePlanKeys:
2480
2492
  raise NotImplementedError
@@ -2483,9 +2495,9 @@ class ApigatewayApi:
2483
2495
  def get_usage_plans(
2484
2496
  self,
2485
2497
  context: RequestContext,
2486
- position: String = None,
2487
- key_id: String = None,
2488
- limit: NullableInteger = None,
2498
+ position: String | None = None,
2499
+ key_id: String | None = None,
2500
+ limit: NullableInteger | None = None,
2489
2501
  **kwargs,
2490
2502
  ) -> UsagePlans:
2491
2503
  raise NotImplementedError
@@ -2498,8 +2510,8 @@ class ApigatewayApi:
2498
2510
  def get_vpc_links(
2499
2511
  self,
2500
2512
  context: RequestContext,
2501
- position: String = None,
2502
- limit: NullableInteger = None,
2513
+ position: String | None = None,
2514
+ limit: NullableInteger | None = None,
2503
2515
  **kwargs,
2504
2516
  ) -> VpcLinks:
2505
2517
  raise NotImplementedError
@@ -2510,7 +2522,7 @@ class ApigatewayApi:
2510
2522
  context: RequestContext,
2511
2523
  body: IO[Blob],
2512
2524
  format: ApiKeysFormat,
2513
- fail_on_warnings: Boolean = None,
2525
+ fail_on_warnings: Boolean | None = None,
2514
2526
  **kwargs,
2515
2527
  ) -> ApiKeyIds:
2516
2528
  raise NotImplementedError
@@ -2521,8 +2533,8 @@ class ApigatewayApi:
2521
2533
  context: RequestContext,
2522
2534
  rest_api_id: String,
2523
2535
  body: IO[Blob],
2524
- mode: PutMode = None,
2525
- fail_on_warnings: Boolean = None,
2536
+ mode: PutMode | None = None,
2537
+ fail_on_warnings: Boolean | None = None,
2526
2538
  **kwargs,
2527
2539
  ) -> DocumentationPartIds:
2528
2540
  raise NotImplementedError
@@ -2532,8 +2544,8 @@ class ApigatewayApi:
2532
2544
  self,
2533
2545
  context: RequestContext,
2534
2546
  body: IO[Blob],
2535
- fail_on_warnings: Boolean = None,
2536
- parameters: MapOfStringToString = None,
2547
+ fail_on_warnings: Boolean | None = None,
2548
+ parameters: MapOfStringToString | None = None,
2537
2549
  **kwargs,
2538
2550
  ) -> RestApi:
2539
2551
  raise NotImplementedError
@@ -2544,9 +2556,9 @@ class ApigatewayApi:
2544
2556
  context: RequestContext,
2545
2557
  rest_api_id: String,
2546
2558
  response_type: GatewayResponseType,
2547
- status_code: StatusCode = None,
2548
- response_parameters: MapOfStringToString = None,
2549
- response_templates: MapOfStringToString = None,
2559
+ status_code: StatusCode | None = None,
2560
+ response_parameters: MapOfStringToString | None = None,
2561
+ response_templates: MapOfStringToString | None = None,
2550
2562
  **kwargs,
2551
2563
  ) -> GatewayResponse:
2552
2564
  raise NotImplementedError
@@ -2565,10 +2577,10 @@ class ApigatewayApi:
2565
2577
  resource_id: String,
2566
2578
  http_method: String,
2567
2579
  status_code: StatusCode,
2568
- selection_pattern: String = None,
2569
- response_parameters: MapOfStringToString = None,
2570
- response_templates: MapOfStringToString = None,
2571
- content_handling: ContentHandlingStrategy = None,
2580
+ selection_pattern: String | None = None,
2581
+ response_parameters: MapOfStringToString | None = None,
2582
+ response_templates: MapOfStringToString | None = None,
2583
+ content_handling: ContentHandlingStrategy | None = None,
2572
2584
  **kwargs,
2573
2585
  ) -> IntegrationResponse:
2574
2586
  raise NotImplementedError
@@ -2581,13 +2593,13 @@ class ApigatewayApi:
2581
2593
  resource_id: String,
2582
2594
  http_method: String,
2583
2595
  authorization_type: String,
2584
- authorizer_id: String = None,
2585
- api_key_required: Boolean = None,
2586
- operation_name: String = None,
2587
- request_parameters: MapOfStringToBoolean = None,
2588
- request_models: MapOfStringToString = None,
2589
- request_validator_id: String = None,
2590
- authorization_scopes: ListOfString = None,
2596
+ authorizer_id: String | None = None,
2597
+ api_key_required: Boolean | None = None,
2598
+ operation_name: String | None = None,
2599
+ request_parameters: MapOfStringToBoolean | None = None,
2600
+ request_models: MapOfStringToString | None = None,
2601
+ request_validator_id: String | None = None,
2602
+ authorization_scopes: ListOfString | None = None,
2591
2603
  **kwargs,
2592
2604
  ) -> Method:
2593
2605
  raise NotImplementedError
@@ -2600,8 +2612,8 @@ class ApigatewayApi:
2600
2612
  resource_id: String,
2601
2613
  http_method: String,
2602
2614
  status_code: StatusCode,
2603
- response_parameters: MapOfStringToBoolean = None,
2604
- response_models: MapOfStringToString = None,
2615
+ response_parameters: MapOfStringToBoolean | None = None,
2616
+ response_models: MapOfStringToString | None = None,
2605
2617
  **kwargs,
2606
2618
  ) -> MethodResponse:
2607
2619
  raise NotImplementedError
@@ -2612,9 +2624,9 @@ class ApigatewayApi:
2612
2624
  context: RequestContext,
2613
2625
  rest_api_id: String,
2614
2626
  body: IO[Blob],
2615
- mode: PutMode = None,
2616
- fail_on_warnings: Boolean = None,
2617
- parameters: MapOfStringToString = None,
2627
+ mode: PutMode | None = None,
2628
+ fail_on_warnings: Boolean | None = None,
2629
+ parameters: MapOfStringToString | None = None,
2618
2630
  **kwargs,
2619
2631
  ) -> RestApi:
2620
2632
  raise NotImplementedError
@@ -2641,12 +2653,12 @@ class ApigatewayApi:
2641
2653
  context: RequestContext,
2642
2654
  rest_api_id: String,
2643
2655
  authorizer_id: String,
2644
- headers: MapOfStringToString = None,
2645
- multi_value_headers: MapOfStringToList = None,
2646
- path_with_query_string: String = None,
2647
- body: String = None,
2648
- stage_variables: MapOfStringToString = None,
2649
- additional_context: MapOfStringToString = None,
2656
+ headers: MapOfStringToString | None = None,
2657
+ multi_value_headers: MapOfStringToList | None = None,
2658
+ path_with_query_string: String | None = None,
2659
+ body: String | None = None,
2660
+ stage_variables: MapOfStringToString | None = None,
2661
+ additional_context: MapOfStringToString | None = None,
2650
2662
  **kwargs,
2651
2663
  ) -> TestInvokeAuthorizerResponse:
2652
2664
  raise NotImplementedError
@@ -2658,12 +2670,12 @@ class ApigatewayApi:
2658
2670
  rest_api_id: String,
2659
2671
  resource_id: String,
2660
2672
  http_method: String,
2661
- path_with_query_string: String = None,
2662
- body: String = None,
2663
- headers: MapOfStringToString = None,
2664
- multi_value_headers: MapOfStringToList = None,
2665
- client_certificate_id: String = None,
2666
- stage_variables: MapOfStringToString = None,
2673
+ path_with_query_string: String | None = None,
2674
+ body: String | None = None,
2675
+ headers: MapOfStringToString | None = None,
2676
+ multi_value_headers: MapOfStringToList | None = None,
2677
+ client_certificate_id: String | None = None,
2678
+ stage_variables: MapOfStringToString | None = None,
2667
2679
  **kwargs,
2668
2680
  ) -> TestInvokeMethodResponse:
2669
2681
  raise NotImplementedError
@@ -2676,7 +2688,10 @@ class ApigatewayApi:
2676
2688
 
2677
2689
  @handler("UpdateAccount")
2678
2690
  def update_account(
2679
- self, context: RequestContext, patch_operations: ListOfPatchOperation = None, **kwargs
2691
+ self,
2692
+ context: RequestContext,
2693
+ patch_operations: ListOfPatchOperation | None = None,
2694
+ **kwargs,
2680
2695
  ) -> Account:
2681
2696
  raise NotImplementedError
2682
2697
 
@@ -2685,7 +2700,7 @@ class ApigatewayApi:
2685
2700
  self,
2686
2701
  context: RequestContext,
2687
2702
  api_key: String,
2688
- patch_operations: ListOfPatchOperation = None,
2703
+ patch_operations: ListOfPatchOperation | None = None,
2689
2704
  **kwargs,
2690
2705
  ) -> ApiKey:
2691
2706
  raise NotImplementedError
@@ -2696,7 +2711,7 @@ class ApigatewayApi:
2696
2711
  context: RequestContext,
2697
2712
  rest_api_id: String,
2698
2713
  authorizer_id: String,
2699
- patch_operations: ListOfPatchOperation = None,
2714
+ patch_operations: ListOfPatchOperation | None = None,
2700
2715
  **kwargs,
2701
2716
  ) -> Authorizer:
2702
2717
  raise NotImplementedError
@@ -2707,8 +2722,8 @@ class ApigatewayApi:
2707
2722
  context: RequestContext,
2708
2723
  domain_name: String,
2709
2724
  base_path: String,
2710
- domain_name_id: String = None,
2711
- patch_operations: ListOfPatchOperation = None,
2725
+ domain_name_id: String | None = None,
2726
+ patch_operations: ListOfPatchOperation | None = None,
2712
2727
  **kwargs,
2713
2728
  ) -> BasePathMapping:
2714
2729
  raise NotImplementedError
@@ -2718,7 +2733,7 @@ class ApigatewayApi:
2718
2733
  self,
2719
2734
  context: RequestContext,
2720
2735
  client_certificate_id: String,
2721
- patch_operations: ListOfPatchOperation = None,
2736
+ patch_operations: ListOfPatchOperation | None = None,
2722
2737
  **kwargs,
2723
2738
  ) -> ClientCertificate:
2724
2739
  raise NotImplementedError
@@ -2729,7 +2744,7 @@ class ApigatewayApi:
2729
2744
  context: RequestContext,
2730
2745
  rest_api_id: String,
2731
2746
  deployment_id: String,
2732
- patch_operations: ListOfPatchOperation = None,
2747
+ patch_operations: ListOfPatchOperation | None = None,
2733
2748
  **kwargs,
2734
2749
  ) -> Deployment:
2735
2750
  raise NotImplementedError
@@ -2740,7 +2755,7 @@ class ApigatewayApi:
2740
2755
  context: RequestContext,
2741
2756
  rest_api_id: String,
2742
2757
  documentation_part_id: String,
2743
- patch_operations: ListOfPatchOperation = None,
2758
+ patch_operations: ListOfPatchOperation | None = None,
2744
2759
  **kwargs,
2745
2760
  ) -> DocumentationPart:
2746
2761
  raise NotImplementedError
@@ -2751,7 +2766,7 @@ class ApigatewayApi:
2751
2766
  context: RequestContext,
2752
2767
  rest_api_id: String,
2753
2768
  documentation_version: String,
2754
- patch_operations: ListOfPatchOperation = None,
2769
+ patch_operations: ListOfPatchOperation | None = None,
2755
2770
  **kwargs,
2756
2771
  ) -> DocumentationVersion:
2757
2772
  raise NotImplementedError
@@ -2761,8 +2776,8 @@ class ApigatewayApi:
2761
2776
  self,
2762
2777
  context: RequestContext,
2763
2778
  domain_name: String,
2764
- domain_name_id: String = None,
2765
- patch_operations: ListOfPatchOperation = None,
2779
+ domain_name_id: String | None = None,
2780
+ patch_operations: ListOfPatchOperation | None = None,
2766
2781
  **kwargs,
2767
2782
  ) -> DomainName:
2768
2783
  raise NotImplementedError
@@ -2773,7 +2788,7 @@ class ApigatewayApi:
2773
2788
  context: RequestContext,
2774
2789
  rest_api_id: String,
2775
2790
  response_type: GatewayResponseType,
2776
- patch_operations: ListOfPatchOperation = None,
2791
+ patch_operations: ListOfPatchOperation | None = None,
2777
2792
  **kwargs,
2778
2793
  ) -> GatewayResponse:
2779
2794
  raise NotImplementedError
@@ -2785,7 +2800,7 @@ class ApigatewayApi:
2785
2800
  rest_api_id: String,
2786
2801
  resource_id: String,
2787
2802
  http_method: String,
2788
- patch_operations: ListOfPatchOperation = None,
2803
+ patch_operations: ListOfPatchOperation | None = None,
2789
2804
  **kwargs,
2790
2805
  ) -> Integration:
2791
2806
  raise NotImplementedError
@@ -2798,7 +2813,7 @@ class ApigatewayApi:
2798
2813
  resource_id: String,
2799
2814
  http_method: String,
2800
2815
  status_code: StatusCode,
2801
- patch_operations: ListOfPatchOperation = None,
2816
+ patch_operations: ListOfPatchOperation | None = None,
2802
2817
  **kwargs,
2803
2818
  ) -> IntegrationResponse:
2804
2819
  raise NotImplementedError
@@ -2810,7 +2825,7 @@ class ApigatewayApi:
2810
2825
  rest_api_id: String,
2811
2826
  resource_id: String,
2812
2827
  http_method: String,
2813
- patch_operations: ListOfPatchOperation = None,
2828
+ patch_operations: ListOfPatchOperation | None = None,
2814
2829
  **kwargs,
2815
2830
  ) -> Method:
2816
2831
  raise NotImplementedError
@@ -2823,7 +2838,7 @@ class ApigatewayApi:
2823
2838
  resource_id: String,
2824
2839
  http_method: String,
2825
2840
  status_code: StatusCode,
2826
- patch_operations: ListOfPatchOperation = None,
2841
+ patch_operations: ListOfPatchOperation | None = None,
2827
2842
  **kwargs,
2828
2843
  ) -> MethodResponse:
2829
2844
  raise NotImplementedError
@@ -2834,7 +2849,7 @@ class ApigatewayApi:
2834
2849
  context: RequestContext,
2835
2850
  rest_api_id: String,
2836
2851
  model_name: String,
2837
- patch_operations: ListOfPatchOperation = None,
2852
+ patch_operations: ListOfPatchOperation | None = None,
2838
2853
  **kwargs,
2839
2854
  ) -> Model:
2840
2855
  raise NotImplementedError
@@ -2845,7 +2860,7 @@ class ApigatewayApi:
2845
2860
  context: RequestContext,
2846
2861
  rest_api_id: String,
2847
2862
  request_validator_id: String,
2848
- patch_operations: ListOfPatchOperation = None,
2863
+ patch_operations: ListOfPatchOperation | None = None,
2849
2864
  **kwargs,
2850
2865
  ) -> RequestValidator:
2851
2866
  raise NotImplementedError
@@ -2856,7 +2871,7 @@ class ApigatewayApi:
2856
2871
  context: RequestContext,
2857
2872
  rest_api_id: String,
2858
2873
  resource_id: String,
2859
- patch_operations: ListOfPatchOperation = None,
2874
+ patch_operations: ListOfPatchOperation | None = None,
2860
2875
  **kwargs,
2861
2876
  ) -> Resource:
2862
2877
  raise NotImplementedError
@@ -2866,7 +2881,7 @@ class ApigatewayApi:
2866
2881
  self,
2867
2882
  context: RequestContext,
2868
2883
  rest_api_id: String,
2869
- patch_operations: ListOfPatchOperation = None,
2884
+ patch_operations: ListOfPatchOperation | None = None,
2870
2885
  **kwargs,
2871
2886
  ) -> RestApi:
2872
2887
  raise NotImplementedError
@@ -2877,7 +2892,7 @@ class ApigatewayApi:
2877
2892
  context: RequestContext,
2878
2893
  rest_api_id: String,
2879
2894
  stage_name: String,
2880
- patch_operations: ListOfPatchOperation = None,
2895
+ patch_operations: ListOfPatchOperation | None = None,
2881
2896
  **kwargs,
2882
2897
  ) -> Stage:
2883
2898
  raise NotImplementedError
@@ -2888,7 +2903,7 @@ class ApigatewayApi:
2888
2903
  context: RequestContext,
2889
2904
  usage_plan_id: String,
2890
2905
  key_id: String,
2891
- patch_operations: ListOfPatchOperation = None,
2906
+ patch_operations: ListOfPatchOperation | None = None,
2892
2907
  **kwargs,
2893
2908
  ) -> Usage:
2894
2909
  raise NotImplementedError
@@ -2898,7 +2913,7 @@ class ApigatewayApi:
2898
2913
  self,
2899
2914
  context: RequestContext,
2900
2915
  usage_plan_id: String,
2901
- patch_operations: ListOfPatchOperation = None,
2916
+ patch_operations: ListOfPatchOperation | None = None,
2902
2917
  **kwargs,
2903
2918
  ) -> UsagePlan:
2904
2919
  raise NotImplementedError
@@ -2908,7 +2923,7 @@ class ApigatewayApi:
2908
2923
  self,
2909
2924
  context: RequestContext,
2910
2925
  vpc_link_id: String,
2911
- patch_operations: ListOfPatchOperation = None,
2926
+ patch_operations: ListOfPatchOperation | None = None,
2912
2927
  **kwargs,
2913
2928
  ) -> VpcLink:
2914
2929
  raise NotImplementedError