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
 
@@ -36,6 +37,7 @@ Handler = str
36
37
  Header = str
37
38
  HttpStatus = int
38
39
  Integer = int
40
+ InvokedViaFunctionUrl = bool
39
41
  KMSKeyArn = str
40
42
  LastUpdateStatusReason = str
41
43
  LayerArn = str
@@ -286,6 +288,9 @@ class Runtime(StrEnum):
286
288
  java21 = "java21"
287
289
  python3_13 = "python3.13"
288
290
  nodejs22_x = "nodejs22.x"
291
+ java25 = "java25"
292
+ nodejs24_x = "nodejs24.x"
293
+ python3_14 = "python3.14"
289
294
 
290
295
 
291
296
  class SchemaRegistryEventRecordFormat(StrEnum):
@@ -380,285 +385,292 @@ class CodeSigningConfigNotFoundException(ServiceException):
380
385
  code: str = "CodeSigningConfigNotFoundException"
381
386
  sender_fault: bool = True
382
387
  status_code: int = 404
383
- Type: Optional[String]
388
+ Type: String | None
384
389
 
385
390
 
386
391
  class CodeStorageExceededException(ServiceException):
387
392
  code: str = "CodeStorageExceededException"
388
393
  sender_fault: bool = True
389
394
  status_code: int = 400
390
- Type: Optional[String]
395
+ Type: String | None
391
396
 
392
397
 
393
398
  class CodeVerificationFailedException(ServiceException):
394
399
  code: str = "CodeVerificationFailedException"
395
400
  sender_fault: bool = True
396
401
  status_code: int = 400
397
- Type: Optional[String]
402
+ Type: String | None
398
403
 
399
404
 
400
405
  class EC2AccessDeniedException(ServiceException):
401
406
  code: str = "EC2AccessDeniedException"
402
407
  sender_fault: bool = False
403
408
  status_code: int = 502
404
- Type: Optional[String]
409
+ Type: String | None
405
410
 
406
411
 
407
412
  class EC2ThrottledException(ServiceException):
408
413
  code: str = "EC2ThrottledException"
409
414
  sender_fault: bool = False
410
415
  status_code: int = 502
411
- Type: Optional[String]
416
+ Type: String | None
412
417
 
413
418
 
414
419
  class EC2UnexpectedException(ServiceException):
415
420
  code: str = "EC2UnexpectedException"
416
421
  sender_fault: bool = False
417
422
  status_code: int = 502
418
- Type: Optional[String]
419
- EC2ErrorCode: Optional[String]
423
+ Type: String | None
424
+ EC2ErrorCode: String | None
420
425
 
421
426
 
422
427
  class EFSIOException(ServiceException):
423
428
  code: str = "EFSIOException"
424
429
  sender_fault: bool = True
425
430
  status_code: int = 410
426
- Type: Optional[String]
431
+ Type: String | None
427
432
 
428
433
 
429
434
  class EFSMountConnectivityException(ServiceException):
430
435
  code: str = "EFSMountConnectivityException"
431
436
  sender_fault: bool = True
432
437
  status_code: int = 408
433
- Type: Optional[String]
438
+ Type: String | None
434
439
 
435
440
 
436
441
  class EFSMountFailureException(ServiceException):
437
442
  code: str = "EFSMountFailureException"
438
443
  sender_fault: bool = True
439
444
  status_code: int = 403
440
- Type: Optional[String]
445
+ Type: String | None
441
446
 
442
447
 
443
448
  class EFSMountTimeoutException(ServiceException):
444
449
  code: str = "EFSMountTimeoutException"
445
450
  sender_fault: bool = True
446
451
  status_code: int = 408
447
- Type: Optional[String]
452
+ Type: String | None
448
453
 
449
454
 
450
455
  class ENILimitReachedException(ServiceException):
451
456
  code: str = "ENILimitReachedException"
452
457
  sender_fault: bool = False
453
458
  status_code: int = 502
454
- Type: Optional[String]
459
+ Type: String | None
455
460
 
456
461
 
457
462
  class InvalidCodeSignatureException(ServiceException):
458
463
  code: str = "InvalidCodeSignatureException"
459
464
  sender_fault: bool = True
460
465
  status_code: int = 400
461
- Type: Optional[String]
466
+ Type: String | None
462
467
 
463
468
 
464
469
  class InvalidParameterValueException(ServiceException):
465
470
  code: str = "InvalidParameterValueException"
466
471
  sender_fault: bool = True
467
472
  status_code: int = 400
468
- Type: Optional[String]
473
+ Type: String | None
469
474
 
470
475
 
471
476
  class InvalidRequestContentException(ServiceException):
472
477
  code: str = "InvalidRequestContentException"
473
478
  sender_fault: bool = True
474
479
  status_code: int = 400
475
- Type: Optional[String]
480
+ Type: String | None
476
481
 
477
482
 
478
483
  class InvalidRuntimeException(ServiceException):
479
484
  code: str = "InvalidRuntimeException"
480
485
  sender_fault: bool = False
481
486
  status_code: int = 502
482
- Type: Optional[String]
487
+ Type: String | None
483
488
 
484
489
 
485
490
  class InvalidSecurityGroupIDException(ServiceException):
486
491
  code: str = "InvalidSecurityGroupIDException"
487
492
  sender_fault: bool = False
488
493
  status_code: int = 502
489
- Type: Optional[String]
494
+ Type: String | None
490
495
 
491
496
 
492
497
  class InvalidSubnetIDException(ServiceException):
493
498
  code: str = "InvalidSubnetIDException"
494
499
  sender_fault: bool = False
495
500
  status_code: int = 502
496
- Type: Optional[String]
501
+ Type: String | None
497
502
 
498
503
 
499
504
  class InvalidZipFileException(ServiceException):
500
505
  code: str = "InvalidZipFileException"
501
506
  sender_fault: bool = False
502
507
  status_code: int = 502
503
- Type: Optional[String]
508
+ Type: String | None
504
509
 
505
510
 
506
511
  class KMSAccessDeniedException(ServiceException):
507
512
  code: str = "KMSAccessDeniedException"
508
513
  sender_fault: bool = False
509
514
  status_code: int = 502
510
- Type: Optional[String]
515
+ Type: String | None
511
516
 
512
517
 
513
518
  class KMSDisabledException(ServiceException):
514
519
  code: str = "KMSDisabledException"
515
520
  sender_fault: bool = False
516
521
  status_code: int = 502
517
- Type: Optional[String]
522
+ Type: String | None
518
523
 
519
524
 
520
525
  class KMSInvalidStateException(ServiceException):
521
526
  code: str = "KMSInvalidStateException"
522
527
  sender_fault: bool = False
523
528
  status_code: int = 502
524
- Type: Optional[String]
529
+ Type: String | None
525
530
 
526
531
 
527
532
  class KMSNotFoundException(ServiceException):
528
533
  code: str = "KMSNotFoundException"
529
534
  sender_fault: bool = False
530
535
  status_code: int = 502
531
- Type: Optional[String]
536
+ Type: String | None
532
537
 
533
538
 
534
539
  class PolicyLengthExceededException(ServiceException):
535
540
  code: str = "PolicyLengthExceededException"
536
541
  sender_fault: bool = True
537
542
  status_code: int = 400
538
- Type: Optional[String]
543
+ Type: String | None
539
544
 
540
545
 
541
546
  class PreconditionFailedException(ServiceException):
542
547
  code: str = "PreconditionFailedException"
543
548
  sender_fault: bool = True
544
549
  status_code: int = 412
545
- Type: Optional[String]
550
+ Type: String | None
546
551
 
547
552
 
548
553
  class ProvisionedConcurrencyConfigNotFoundException(ServiceException):
549
554
  code: str = "ProvisionedConcurrencyConfigNotFoundException"
550
555
  sender_fault: bool = True
551
556
  status_code: int = 404
552
- Type: Optional[String]
557
+ Type: String | None
553
558
 
554
559
 
555
560
  class RecursiveInvocationException(ServiceException):
556
561
  code: str = "RecursiveInvocationException"
557
562
  sender_fault: bool = True
558
563
  status_code: int = 400
559
- Type: Optional[String]
564
+ Type: String | None
560
565
 
561
566
 
562
567
  class RequestTooLargeException(ServiceException):
563
568
  code: str = "RequestTooLargeException"
564
569
  sender_fault: bool = True
565
570
  status_code: int = 413
566
- Type: Optional[String]
571
+ Type: String | None
567
572
 
568
573
 
569
574
  class ResourceConflictException(ServiceException):
570
575
  code: str = "ResourceConflictException"
571
576
  sender_fault: bool = True
572
577
  status_code: int = 409
573
- Type: Optional[String]
578
+ Type: String | None
574
579
 
575
580
 
576
581
  class ResourceInUseException(ServiceException):
577
582
  code: str = "ResourceInUseException"
578
583
  sender_fault: bool = True
579
584
  status_code: int = 400
580
- Type: Optional[String]
585
+ Type: String | None
581
586
 
582
587
 
583
588
  class ResourceNotFoundException(ServiceException):
584
589
  code: str = "ResourceNotFoundException"
585
590
  sender_fault: bool = True
586
591
  status_code: int = 404
587
- Type: Optional[String]
592
+ Type: String | None
588
593
 
589
594
 
590
595
  class ResourceNotReadyException(ServiceException):
591
596
  code: str = "ResourceNotReadyException"
592
597
  sender_fault: bool = False
593
598
  status_code: int = 502
594
- Type: Optional[String]
599
+ Type: String | None
600
+
601
+
602
+ class SerializedRequestEntityTooLargeException(ServiceException):
603
+ code: str = "SerializedRequestEntityTooLargeException"
604
+ sender_fault: bool = True
605
+ status_code: int = 413
606
+ Type: String | None
595
607
 
596
608
 
597
609
  class ServiceException(ServiceException):
598
610
  code: str = "ServiceException"
599
611
  sender_fault: bool = False
600
612
  status_code: int = 500
601
- Type: Optional[String]
613
+ Type: String | None
602
614
 
603
615
 
604
616
  class SnapStartException(ServiceException):
605
617
  code: str = "SnapStartException"
606
618
  sender_fault: bool = True
607
619
  status_code: int = 400
608
- Type: Optional[String]
620
+ Type: String | None
609
621
 
610
622
 
611
623
  class SnapStartNotReadyException(ServiceException):
612
624
  code: str = "SnapStartNotReadyException"
613
625
  sender_fault: bool = True
614
626
  status_code: int = 409
615
- Type: Optional[String]
627
+ Type: String | None
616
628
 
617
629
 
618
630
  class SnapStartTimeoutException(ServiceException):
619
631
  code: str = "SnapStartTimeoutException"
620
632
  sender_fault: bool = True
621
633
  status_code: int = 408
622
- Type: Optional[String]
634
+ Type: String | None
623
635
 
624
636
 
625
637
  class SubnetIPAddressLimitReachedException(ServiceException):
626
638
  code: str = "SubnetIPAddressLimitReachedException"
627
639
  sender_fault: bool = False
628
640
  status_code: int = 502
629
- Type: Optional[String]
641
+ Type: String | None
630
642
 
631
643
 
632
644
  class TooManyRequestsException(ServiceException):
633
645
  code: str = "TooManyRequestsException"
634
646
  sender_fault: bool = True
635
647
  status_code: int = 429
636
- retryAfterSeconds: Optional[String]
637
- Type: Optional[String]
638
- Reason: Optional[ThrottleReason]
648
+ retryAfterSeconds: String | None
649
+ Type: String | None
650
+ Reason: ThrottleReason | None
639
651
 
640
652
 
641
653
  class UnsupportedMediaTypeException(ServiceException):
642
654
  code: str = "UnsupportedMediaTypeException"
643
655
  sender_fault: bool = True
644
656
  status_code: int = 415
645
- Type: Optional[String]
657
+ Type: String | None
646
658
 
647
659
 
648
660
  Long = int
649
661
 
650
662
 
651
663
  class AccountLimit(TypedDict, total=False):
652
- TotalCodeSize: Optional[Long]
653
- CodeSizeUnzipped: Optional[Long]
654
- CodeSizeZipped: Optional[Long]
655
- ConcurrentExecutions: Optional[Integer]
656
- UnreservedConcurrentExecutions: Optional[UnreservedConcurrentExecutions]
664
+ TotalCodeSize: Long | None
665
+ CodeSizeUnzipped: Long | None
666
+ CodeSizeZipped: Long | None
667
+ ConcurrentExecutions: Integer | None
668
+ UnreservedConcurrentExecutions: UnreservedConcurrentExecutions | None
657
669
 
658
670
 
659
671
  class AccountUsage(TypedDict, total=False):
660
- TotalCodeSize: Optional[Long]
661
- FunctionCount: Optional[Long]
672
+ TotalCodeSize: Long | None
673
+ FunctionCount: Long | None
662
674
 
663
675
 
664
676
  LayerVersionNumber = int
@@ -670,13 +682,13 @@ class AddLayerVersionPermissionRequest(ServiceRequest):
670
682
  StatementId: StatementId
671
683
  Action: LayerPermissionAllowedAction
672
684
  Principal: LayerPermissionAllowedPrincipal
673
- OrganizationId: Optional[OrganizationId]
674
- RevisionId: Optional[String]
685
+ OrganizationId: OrganizationId | None
686
+ RevisionId: String | None
675
687
 
676
688
 
677
689
  class AddLayerVersionPermissionResponse(TypedDict, total=False):
678
- Statement: Optional[String]
679
- RevisionId: Optional[String]
690
+ Statement: String | None
691
+ RevisionId: String | None
680
692
 
681
693
 
682
694
  class AddPermissionRequest(ServiceRequest):
@@ -684,39 +696,40 @@ class AddPermissionRequest(ServiceRequest):
684
696
  StatementId: StatementId
685
697
  Action: Action
686
698
  Principal: Principal
687
- SourceArn: Optional[Arn]
688
- SourceAccount: Optional[SourceOwner]
689
- EventSourceToken: Optional[EventSourceToken]
690
- Qualifier: Optional[Qualifier]
691
- RevisionId: Optional[String]
692
- PrincipalOrgID: Optional[PrincipalOrgID]
693
- FunctionUrlAuthType: Optional[FunctionUrlAuthType]
699
+ SourceArn: Arn | None
700
+ SourceAccount: SourceOwner | None
701
+ EventSourceToken: EventSourceToken | None
702
+ Qualifier: Qualifier | None
703
+ RevisionId: String | None
704
+ PrincipalOrgID: PrincipalOrgID | None
705
+ FunctionUrlAuthType: FunctionUrlAuthType | None
706
+ InvokedViaFunctionUrl: InvokedViaFunctionUrl | None
694
707
 
695
708
 
696
709
  class AddPermissionResponse(TypedDict, total=False):
697
- Statement: Optional[String]
710
+ Statement: String | None
698
711
 
699
712
 
700
- AdditionalVersionWeights = Dict[AdditionalVersion, Weight]
713
+ AdditionalVersionWeights = dict[AdditionalVersion, Weight]
701
714
 
702
715
 
703
716
  class AliasRoutingConfiguration(TypedDict, total=False):
704
- AdditionalVersionWeights: Optional[AdditionalVersionWeights]
717
+ AdditionalVersionWeights: AdditionalVersionWeights | None
705
718
 
706
719
 
707
720
  class AliasConfiguration(TypedDict, total=False):
708
- AliasArn: Optional[FunctionArn]
709
- Name: Optional[Alias]
710
- FunctionVersion: Optional[Version]
711
- Description: Optional[Description]
712
- RoutingConfig: Optional[AliasRoutingConfiguration]
713
- RevisionId: Optional[String]
721
+ AliasArn: FunctionArn | None
722
+ Name: Alias | None
723
+ FunctionVersion: Version | None
724
+ Description: Description | None
725
+ RoutingConfig: AliasRoutingConfiguration | None
726
+ RevisionId: String | None
714
727
 
715
728
 
716
- AliasList = List[AliasConfiguration]
717
- AllowMethodsList = List[Method]
718
- AllowOriginsList = List[Origin]
719
- SigningProfileVersionArns = List[Arn]
729
+ AliasList = list[AliasConfiguration]
730
+ AllowMethodsList = list[Method]
731
+ AllowOriginsList = list[Origin]
732
+ SigningProfileVersionArns = list[Arn]
720
733
 
721
734
 
722
735
  class AllowedPublishers(TypedDict, total=False):
@@ -724,87 +737,87 @@ class AllowedPublishers(TypedDict, total=False):
724
737
 
725
738
 
726
739
  class KafkaSchemaValidationConfig(TypedDict, total=False):
727
- Attribute: Optional[KafkaSchemaValidationAttribute]
740
+ Attribute: KafkaSchemaValidationAttribute | None
728
741
 
729
742
 
730
- KafkaSchemaValidationConfigList = List[KafkaSchemaValidationConfig]
743
+ KafkaSchemaValidationConfigList = list[KafkaSchemaValidationConfig]
731
744
 
732
745
 
733
746
  class KafkaSchemaRegistryAccessConfig(TypedDict, total=False):
734
- Type: Optional[KafkaSchemaRegistryAuthType]
735
- URI: Optional[Arn]
747
+ Type: KafkaSchemaRegistryAuthType | None
748
+ URI: Arn | None
736
749
 
737
750
 
738
- KafkaSchemaRegistryAccessConfigList = List[KafkaSchemaRegistryAccessConfig]
751
+ KafkaSchemaRegistryAccessConfigList = list[KafkaSchemaRegistryAccessConfig]
739
752
 
740
753
 
741
754
  class KafkaSchemaRegistryConfig(TypedDict, total=False):
742
- SchemaRegistryURI: Optional[SchemaRegistryUri]
743
- EventRecordFormat: Optional[SchemaRegistryEventRecordFormat]
744
- AccessConfigs: Optional[KafkaSchemaRegistryAccessConfigList]
745
- SchemaValidationConfigs: Optional[KafkaSchemaValidationConfigList]
755
+ SchemaRegistryURI: SchemaRegistryUri | None
756
+ EventRecordFormat: SchemaRegistryEventRecordFormat | None
757
+ AccessConfigs: KafkaSchemaRegistryAccessConfigList | None
758
+ SchemaValidationConfigs: KafkaSchemaValidationConfigList | None
746
759
 
747
760
 
748
761
  class AmazonManagedKafkaEventSourceConfig(TypedDict, total=False):
749
- ConsumerGroupId: Optional[URI]
750
- SchemaRegistryConfig: Optional[KafkaSchemaRegistryConfig]
762
+ ConsumerGroupId: URI | None
763
+ SchemaRegistryConfig: KafkaSchemaRegistryConfig | None
751
764
 
752
765
 
753
- ArchitecturesList = List[Architecture]
766
+ ArchitecturesList = list[Architecture]
754
767
  Blob = bytes
755
768
  BlobStream = bytes
756
769
 
757
770
 
758
771
  class CodeSigningPolicies(TypedDict, total=False):
759
- UntrustedArtifactOnDeployment: Optional[CodeSigningPolicy]
772
+ UntrustedArtifactOnDeployment: CodeSigningPolicy | None
760
773
 
761
774
 
762
775
  class CodeSigningConfig(TypedDict, total=False):
763
776
  CodeSigningConfigId: CodeSigningConfigId
764
777
  CodeSigningConfigArn: CodeSigningConfigArn
765
- Description: Optional[Description]
778
+ Description: Description | None
766
779
  AllowedPublishers: AllowedPublishers
767
780
  CodeSigningPolicies: CodeSigningPolicies
768
781
  LastModified: Timestamp
769
782
 
770
783
 
771
- CodeSigningConfigList = List[CodeSigningConfig]
772
- CompatibleArchitectures = List[Architecture]
773
- CompatibleRuntimes = List[Runtime]
784
+ CodeSigningConfigList = list[CodeSigningConfig]
785
+ CompatibleArchitectures = list[Architecture]
786
+ CompatibleRuntimes = list[Runtime]
774
787
 
775
788
 
776
789
  class Concurrency(TypedDict, total=False):
777
- ReservedConcurrentExecutions: Optional[ReservedConcurrentExecutions]
790
+ ReservedConcurrentExecutions: ReservedConcurrentExecutions | None
778
791
 
779
792
 
780
- HeadersList = List[Header]
793
+ HeadersList = list[Header]
781
794
 
782
795
 
783
796
  class Cors(TypedDict, total=False):
784
- AllowCredentials: Optional[AllowCredentials]
785
- AllowHeaders: Optional[HeadersList]
786
- AllowMethods: Optional[AllowMethodsList]
787
- AllowOrigins: Optional[AllowOriginsList]
788
- ExposeHeaders: Optional[HeadersList]
789
- MaxAge: Optional[MaxAge]
797
+ AllowCredentials: AllowCredentials | None
798
+ AllowHeaders: HeadersList | None
799
+ AllowMethods: AllowMethodsList | None
800
+ AllowOrigins: AllowOriginsList | None
801
+ ExposeHeaders: HeadersList | None
802
+ MaxAge: MaxAge | None
790
803
 
791
804
 
792
805
  class CreateAliasRequest(ServiceRequest):
793
806
  FunctionName: FunctionName
794
807
  Name: Alias
795
808
  FunctionVersion: Version
796
- Description: Optional[Description]
797
- RoutingConfig: Optional[AliasRoutingConfiguration]
809
+ Description: Description | None
810
+ RoutingConfig: AliasRoutingConfiguration | None
798
811
 
799
812
 
800
- Tags = Dict[TagKey, TagValue]
813
+ Tags = dict[TagKey, TagValue]
801
814
 
802
815
 
803
816
  class CreateCodeSigningConfigRequest(ServiceRequest):
804
- Description: Optional[Description]
817
+ Description: Description | None
805
818
  AllowedPublishers: AllowedPublishers
806
- CodeSigningPolicies: Optional[CodeSigningPolicies]
807
- Tags: Optional[Tags]
819
+ CodeSigningPolicies: CodeSigningPolicies | None
820
+ Tags: Tags | None
808
821
 
809
822
 
810
823
  class CreateCodeSigningConfigResponse(TypedDict, total=False):
@@ -812,130 +825,130 @@ class CreateCodeSigningConfigResponse(TypedDict, total=False):
812
825
 
813
826
 
814
827
  class ProvisionedPollerConfig(TypedDict, total=False):
815
- MinimumPollers: Optional[MinimumNumberOfPollers]
816
- MaximumPollers: Optional[MaximumNumberOfPollers]
828
+ MinimumPollers: MinimumNumberOfPollers | None
829
+ MaximumPollers: MaximumNumberOfPollers | None
817
830
 
818
831
 
819
- EventSourceMappingMetricList = List[EventSourceMappingMetric]
832
+ EventSourceMappingMetricList = list[EventSourceMappingMetric]
820
833
 
821
834
 
822
835
  class EventSourceMappingMetricsConfig(TypedDict, total=False):
823
- Metrics: Optional[EventSourceMappingMetricList]
836
+ Metrics: EventSourceMappingMetricList | None
824
837
 
825
838
 
826
839
  class DocumentDBEventSourceConfig(TypedDict, total=False):
827
- DatabaseName: Optional[DatabaseName]
828
- CollectionName: Optional[CollectionName]
829
- FullDocument: Optional[FullDocument]
840
+ DatabaseName: DatabaseName | None
841
+ CollectionName: CollectionName | None
842
+ FullDocument: FullDocument | None
830
843
 
831
844
 
832
845
  class ScalingConfig(TypedDict, total=False):
833
- MaximumConcurrency: Optional[MaximumConcurrency]
846
+ MaximumConcurrency: MaximumConcurrency | None
834
847
 
835
848
 
836
849
  class SelfManagedKafkaEventSourceConfig(TypedDict, total=False):
837
- ConsumerGroupId: Optional[URI]
838
- SchemaRegistryConfig: Optional[KafkaSchemaRegistryConfig]
850
+ ConsumerGroupId: URI | None
851
+ SchemaRegistryConfig: KafkaSchemaRegistryConfig | None
839
852
 
840
853
 
841
- FunctionResponseTypeList = List[FunctionResponseType]
842
- EndpointLists = List[Endpoint]
843
- Endpoints = Dict[EndPointType, EndpointLists]
854
+ FunctionResponseTypeList = list[FunctionResponseType]
855
+ EndpointLists = list[Endpoint]
856
+ Endpoints = dict[EndPointType, EndpointLists]
844
857
 
845
858
 
846
859
  class SelfManagedEventSource(TypedDict, total=False):
847
- Endpoints: Optional[Endpoints]
860
+ Endpoints: Endpoints | None
848
861
 
849
862
 
850
863
  class SourceAccessConfiguration(TypedDict, total=False):
851
- Type: Optional[SourceAccessType]
852
- URI: Optional[URI]
864
+ Type: SourceAccessType | None
865
+ URI: URI | None
853
866
 
854
867
 
855
- SourceAccessConfigurations = List[SourceAccessConfiguration]
856
- Queues = List[Queue]
857
- Topics = List[Topic]
868
+ SourceAccessConfigurations = list[SourceAccessConfiguration]
869
+ Queues = list[Queue]
870
+ Topics = list[Topic]
858
871
 
859
872
 
860
873
  class OnFailure(TypedDict, total=False):
861
- Destination: Optional[DestinationArn]
874
+ Destination: DestinationArn | None
862
875
 
863
876
 
864
877
  class OnSuccess(TypedDict, total=False):
865
- Destination: Optional[DestinationArn]
878
+ Destination: DestinationArn | None
866
879
 
867
880
 
868
881
  class DestinationConfig(TypedDict, total=False):
869
- OnSuccess: Optional[OnSuccess]
870
- OnFailure: Optional[OnFailure]
882
+ OnSuccess: OnSuccess | None
883
+ OnFailure: OnFailure | None
871
884
 
872
885
 
873
886
  Date = datetime
874
887
 
875
888
 
876
889
  class Filter(TypedDict, total=False):
877
- Pattern: Optional[Pattern]
890
+ Pattern: Pattern | None
878
891
 
879
892
 
880
- FilterList = List[Filter]
893
+ FilterList = list[Filter]
881
894
 
882
895
 
883
896
  class FilterCriteria(TypedDict, total=False):
884
- Filters: Optional[FilterList]
897
+ Filters: FilterList | None
885
898
 
886
899
 
887
900
  class CreateEventSourceMappingRequest(ServiceRequest):
888
- EventSourceArn: Optional[Arn]
901
+ EventSourceArn: Arn | None
889
902
  FunctionName: FunctionName
890
- Enabled: Optional[Enabled]
891
- BatchSize: Optional[BatchSize]
892
- FilterCriteria: Optional[FilterCriteria]
893
- MaximumBatchingWindowInSeconds: Optional[MaximumBatchingWindowInSeconds]
894
- ParallelizationFactor: Optional[ParallelizationFactor]
895
- StartingPosition: Optional[EventSourcePosition]
896
- StartingPositionTimestamp: Optional[Date]
897
- DestinationConfig: Optional[DestinationConfig]
898
- MaximumRecordAgeInSeconds: Optional[MaximumRecordAgeInSeconds]
899
- BisectBatchOnFunctionError: Optional[BisectBatchOnFunctionError]
900
- MaximumRetryAttempts: Optional[MaximumRetryAttemptsEventSourceMapping]
901
- Tags: Optional[Tags]
902
- TumblingWindowInSeconds: Optional[TumblingWindowInSeconds]
903
- Topics: Optional[Topics]
904
- Queues: Optional[Queues]
905
- SourceAccessConfigurations: Optional[SourceAccessConfigurations]
906
- SelfManagedEventSource: Optional[SelfManagedEventSource]
907
- FunctionResponseTypes: Optional[FunctionResponseTypeList]
908
- AmazonManagedKafkaEventSourceConfig: Optional[AmazonManagedKafkaEventSourceConfig]
909
- SelfManagedKafkaEventSourceConfig: Optional[SelfManagedKafkaEventSourceConfig]
910
- ScalingConfig: Optional[ScalingConfig]
911
- DocumentDBEventSourceConfig: Optional[DocumentDBEventSourceConfig]
912
- KMSKeyArn: Optional[KMSKeyArn]
913
- MetricsConfig: Optional[EventSourceMappingMetricsConfig]
914
- ProvisionedPollerConfig: Optional[ProvisionedPollerConfig]
903
+ Enabled: Enabled | None
904
+ BatchSize: BatchSize | None
905
+ FilterCriteria: FilterCriteria | None
906
+ MaximumBatchingWindowInSeconds: MaximumBatchingWindowInSeconds | None
907
+ ParallelizationFactor: ParallelizationFactor | None
908
+ StartingPosition: EventSourcePosition | None
909
+ StartingPositionTimestamp: Date | None
910
+ DestinationConfig: DestinationConfig | None
911
+ MaximumRecordAgeInSeconds: MaximumRecordAgeInSeconds | None
912
+ BisectBatchOnFunctionError: BisectBatchOnFunctionError | None
913
+ MaximumRetryAttempts: MaximumRetryAttemptsEventSourceMapping | None
914
+ Tags: Tags | None
915
+ TumblingWindowInSeconds: TumblingWindowInSeconds | None
916
+ Topics: Topics | None
917
+ Queues: Queues | None
918
+ SourceAccessConfigurations: SourceAccessConfigurations | None
919
+ SelfManagedEventSource: SelfManagedEventSource | None
920
+ FunctionResponseTypes: FunctionResponseTypeList | None
921
+ AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig | None
922
+ SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig | None
923
+ ScalingConfig: ScalingConfig | None
924
+ DocumentDBEventSourceConfig: DocumentDBEventSourceConfig | None
925
+ KMSKeyArn: KMSKeyArn | None
926
+ MetricsConfig: EventSourceMappingMetricsConfig | None
927
+ ProvisionedPollerConfig: ProvisionedPollerConfig | None
915
928
 
916
929
 
917
930
  class LoggingConfig(TypedDict, total=False):
918
- LogFormat: Optional[LogFormat]
919
- ApplicationLogLevel: Optional[ApplicationLogLevel]
920
- SystemLogLevel: Optional[SystemLogLevel]
921
- LogGroup: Optional[LogGroup]
931
+ LogFormat: LogFormat | None
932
+ ApplicationLogLevel: ApplicationLogLevel | None
933
+ SystemLogLevel: SystemLogLevel | None
934
+ LogGroup: LogGroup | None
922
935
 
923
936
 
924
937
  class SnapStart(TypedDict, total=False):
925
- ApplyOn: Optional[SnapStartApplyOn]
938
+ ApplyOn: SnapStartApplyOn | None
926
939
 
927
940
 
928
941
  class EphemeralStorage(TypedDict, total=False):
929
942
  Size: EphemeralStorageSize
930
943
 
931
944
 
932
- StringList = List[String]
945
+ StringList = list[String]
933
946
 
934
947
 
935
948
  class ImageConfig(TypedDict, total=False):
936
- EntryPoint: Optional[StringList]
937
- Command: Optional[StringList]
938
- WorkingDirectory: Optional[WorkingDirectory]
949
+ EntryPoint: StringList | None
950
+ Command: StringList | None
951
+ WorkingDirectory: WorkingDirectory | None
939
952
 
940
953
 
941
954
  class FileSystemConfig(TypedDict, total=False):
@@ -943,86 +956,86 @@ class FileSystemConfig(TypedDict, total=False):
943
956
  LocalMountPath: LocalMountPath
944
957
 
945
958
 
946
- FileSystemConfigList = List[FileSystemConfig]
947
- LayerList = List[LayerVersionArn]
959
+ FileSystemConfigList = list[FileSystemConfig]
960
+ LayerList = list[LayerVersionArn]
948
961
 
949
962
 
950
963
  class TracingConfig(TypedDict, total=False):
951
- Mode: Optional[TracingMode]
964
+ Mode: TracingMode | None
952
965
 
953
966
 
954
- EnvironmentVariables = Dict[EnvironmentVariableName, EnvironmentVariableValue]
967
+ EnvironmentVariables = dict[EnvironmentVariableName, EnvironmentVariableValue]
955
968
 
956
969
 
957
970
  class Environment(TypedDict, total=False):
958
- Variables: Optional[EnvironmentVariables]
971
+ Variables: EnvironmentVariables | None
959
972
 
960
973
 
961
974
  class DeadLetterConfig(TypedDict, total=False):
962
- TargetArn: Optional[ResourceArn]
975
+ TargetArn: ResourceArn | None
963
976
 
964
977
 
965
- SecurityGroupIds = List[SecurityGroupId]
966
- SubnetIds = List[SubnetId]
978
+ SecurityGroupIds = list[SecurityGroupId]
979
+ SubnetIds = list[SubnetId]
967
980
 
968
981
 
969
982
  class VpcConfig(TypedDict, total=False):
970
- SubnetIds: Optional[SubnetIds]
971
- SecurityGroupIds: Optional[SecurityGroupIds]
972
- Ipv6AllowedForDualStack: Optional[NullableBoolean]
983
+ SubnetIds: SubnetIds | None
984
+ SecurityGroupIds: SecurityGroupIds | None
985
+ Ipv6AllowedForDualStack: NullableBoolean | None
973
986
 
974
987
 
975
988
  class FunctionCode(TypedDict, total=False):
976
- ZipFile: Optional[Blob]
977
- S3Bucket: Optional[S3Bucket]
978
- S3Key: Optional[S3Key]
979
- S3ObjectVersion: Optional[S3ObjectVersion]
980
- ImageUri: Optional[String]
981
- SourceKMSKeyArn: Optional[KMSKeyArn]
989
+ ZipFile: Blob | None
990
+ S3Bucket: S3Bucket | None
991
+ S3Key: S3Key | None
992
+ S3ObjectVersion: S3ObjectVersion | None
993
+ ImageUri: String | None
994
+ SourceKMSKeyArn: KMSKeyArn | None
982
995
 
983
996
 
984
997
  class CreateFunctionRequest(ServiceRequest):
985
998
  FunctionName: FunctionName
986
- Runtime: Optional[Runtime]
999
+ Runtime: Runtime | None
987
1000
  Role: RoleArn
988
- Handler: Optional[Handler]
1001
+ Handler: Handler | None
989
1002
  Code: FunctionCode
990
- Description: Optional[Description]
991
- Timeout: Optional[Timeout]
992
- MemorySize: Optional[MemorySize]
993
- Publish: Optional[Boolean]
994
- VpcConfig: Optional[VpcConfig]
995
- PackageType: Optional[PackageType]
996
- DeadLetterConfig: Optional[DeadLetterConfig]
997
- Environment: Optional[Environment]
998
- KMSKeyArn: Optional[KMSKeyArn]
999
- TracingConfig: Optional[TracingConfig]
1000
- Tags: Optional[Tags]
1001
- Layers: Optional[LayerList]
1002
- FileSystemConfigs: Optional[FileSystemConfigList]
1003
- ImageConfig: Optional[ImageConfig]
1004
- CodeSigningConfigArn: Optional[CodeSigningConfigArn]
1005
- Architectures: Optional[ArchitecturesList]
1006
- EphemeralStorage: Optional[EphemeralStorage]
1007
- SnapStart: Optional[SnapStart]
1008
- LoggingConfig: Optional[LoggingConfig]
1003
+ Description: Description | None
1004
+ Timeout: Timeout | None
1005
+ MemorySize: MemorySize | None
1006
+ Publish: Boolean | None
1007
+ VpcConfig: VpcConfig | None
1008
+ PackageType: PackageType | None
1009
+ DeadLetterConfig: DeadLetterConfig | None
1010
+ Environment: Environment | None
1011
+ KMSKeyArn: KMSKeyArn | None
1012
+ TracingConfig: TracingConfig | None
1013
+ Tags: Tags | None
1014
+ Layers: LayerList | None
1015
+ FileSystemConfigs: FileSystemConfigList | None
1016
+ ImageConfig: ImageConfig | None
1017
+ CodeSigningConfigArn: CodeSigningConfigArn | None
1018
+ Architectures: ArchitecturesList | None
1019
+ EphemeralStorage: EphemeralStorage | None
1020
+ SnapStart: SnapStart | None
1021
+ LoggingConfig: LoggingConfig | None
1009
1022
 
1010
1023
 
1011
1024
  class CreateFunctionUrlConfigRequest(ServiceRequest):
1012
1025
  FunctionName: FunctionName
1013
- Qualifier: Optional[FunctionUrlQualifier]
1026
+ Qualifier: FunctionUrlQualifier | None
1014
1027
  AuthType: FunctionUrlAuthType
1015
- Cors: Optional[Cors]
1016
- InvokeMode: Optional[InvokeMode]
1028
+ Cors: Cors | None
1029
+ InvokeMode: InvokeMode | None
1017
1030
 
1018
1031
 
1019
1032
  class CreateFunctionUrlConfigResponse(TypedDict, total=False):
1020
1033
  FunctionUrl: FunctionUrl
1021
1034
  FunctionArn: FunctionArn
1022
1035
  AuthType: FunctionUrlAuthType
1023
- Cors: Optional[Cors]
1036
+ Cors: Cors | None
1024
1037
  CreationTime: Timestamp
1025
- InvokeMode: Optional[InvokeMode]
1038
+ InvokeMode: InvokeMode | None
1026
1039
 
1027
1040
 
1028
1041
  class DeleteAliasRequest(ServiceRequest):
@@ -1052,17 +1065,17 @@ class DeleteFunctionConcurrencyRequest(ServiceRequest):
1052
1065
 
1053
1066
  class DeleteFunctionEventInvokeConfigRequest(ServiceRequest):
1054
1067
  FunctionName: FunctionName
1055
- Qualifier: Optional[Qualifier]
1068
+ Qualifier: Qualifier | None
1056
1069
 
1057
1070
 
1058
1071
  class DeleteFunctionRequest(ServiceRequest):
1059
1072
  FunctionName: FunctionName
1060
- Qualifier: Optional[Qualifier]
1073
+ Qualifier: Qualifier | None
1061
1074
 
1062
1075
 
1063
1076
  class DeleteFunctionUrlConfigRequest(ServiceRequest):
1064
1077
  FunctionName: FunctionName
1065
- Qualifier: Optional[FunctionUrlQualifier]
1078
+ Qualifier: FunctionUrlQualifier | None
1066
1079
 
1067
1080
 
1068
1081
  class DeleteLayerVersionRequest(ServiceRequest):
@@ -1076,162 +1089,162 @@ class DeleteProvisionedConcurrencyConfigRequest(ServiceRequest):
1076
1089
 
1077
1090
 
1078
1091
  class EnvironmentError(TypedDict, total=False):
1079
- ErrorCode: Optional[String]
1080
- Message: Optional[SensitiveString]
1092
+ ErrorCode: String | None
1093
+ Message: SensitiveString | None
1081
1094
 
1082
1095
 
1083
1096
  class EnvironmentResponse(TypedDict, total=False):
1084
- Variables: Optional[EnvironmentVariables]
1085
- Error: Optional[EnvironmentError]
1097
+ Variables: EnvironmentVariables | None
1098
+ Error: EnvironmentError | None
1086
1099
 
1087
1100
 
1088
1101
  class FilterCriteriaError(TypedDict, total=False):
1089
- ErrorCode: Optional[FilterCriteriaErrorCode]
1090
- Message: Optional[FilterCriteriaErrorMessage]
1102
+ ErrorCode: FilterCriteriaErrorCode | None
1103
+ Message: FilterCriteriaErrorMessage | None
1091
1104
 
1092
1105
 
1093
1106
  class EventSourceMappingConfiguration(TypedDict, total=False):
1094
- UUID: Optional[String]
1095
- StartingPosition: Optional[EventSourcePosition]
1096
- StartingPositionTimestamp: Optional[Date]
1097
- BatchSize: Optional[BatchSize]
1098
- MaximumBatchingWindowInSeconds: Optional[MaximumBatchingWindowInSeconds]
1099
- ParallelizationFactor: Optional[ParallelizationFactor]
1100
- EventSourceArn: Optional[Arn]
1101
- FilterCriteria: Optional[FilterCriteria]
1102
- FunctionArn: Optional[FunctionArn]
1103
- LastModified: Optional[Date]
1104
- LastProcessingResult: Optional[String]
1105
- State: Optional[String]
1106
- StateTransitionReason: Optional[String]
1107
- DestinationConfig: Optional[DestinationConfig]
1108
- Topics: Optional[Topics]
1109
- Queues: Optional[Queues]
1110
- SourceAccessConfigurations: Optional[SourceAccessConfigurations]
1111
- SelfManagedEventSource: Optional[SelfManagedEventSource]
1112
- MaximumRecordAgeInSeconds: Optional[MaximumRecordAgeInSeconds]
1113
- BisectBatchOnFunctionError: Optional[BisectBatchOnFunctionError]
1114
- MaximumRetryAttempts: Optional[MaximumRetryAttemptsEventSourceMapping]
1115
- TumblingWindowInSeconds: Optional[TumblingWindowInSeconds]
1116
- FunctionResponseTypes: Optional[FunctionResponseTypeList]
1117
- AmazonManagedKafkaEventSourceConfig: Optional[AmazonManagedKafkaEventSourceConfig]
1118
- SelfManagedKafkaEventSourceConfig: Optional[SelfManagedKafkaEventSourceConfig]
1119
- ScalingConfig: Optional[ScalingConfig]
1120
- DocumentDBEventSourceConfig: Optional[DocumentDBEventSourceConfig]
1121
- KMSKeyArn: Optional[KMSKeyArn]
1122
- FilterCriteriaError: Optional[FilterCriteriaError]
1123
- EventSourceMappingArn: Optional[EventSourceMappingArn]
1124
- MetricsConfig: Optional[EventSourceMappingMetricsConfig]
1125
- ProvisionedPollerConfig: Optional[ProvisionedPollerConfig]
1126
-
1127
-
1128
- EventSourceMappingsList = List[EventSourceMappingConfiguration]
1129
- FunctionArnList = List[FunctionArn]
1107
+ UUID: String | None
1108
+ StartingPosition: EventSourcePosition | None
1109
+ StartingPositionTimestamp: Date | None
1110
+ BatchSize: BatchSize | None
1111
+ MaximumBatchingWindowInSeconds: MaximumBatchingWindowInSeconds | None
1112
+ ParallelizationFactor: ParallelizationFactor | None
1113
+ EventSourceArn: Arn | None
1114
+ FilterCriteria: FilterCriteria | None
1115
+ FunctionArn: FunctionArn | None
1116
+ LastModified: Date | None
1117
+ LastProcessingResult: String | None
1118
+ State: String | None
1119
+ StateTransitionReason: String | None
1120
+ DestinationConfig: DestinationConfig | None
1121
+ Topics: Topics | None
1122
+ Queues: Queues | None
1123
+ SourceAccessConfigurations: SourceAccessConfigurations | None
1124
+ SelfManagedEventSource: SelfManagedEventSource | None
1125
+ MaximumRecordAgeInSeconds: MaximumRecordAgeInSeconds | None
1126
+ BisectBatchOnFunctionError: BisectBatchOnFunctionError | None
1127
+ MaximumRetryAttempts: MaximumRetryAttemptsEventSourceMapping | None
1128
+ TumblingWindowInSeconds: TumblingWindowInSeconds | None
1129
+ FunctionResponseTypes: FunctionResponseTypeList | None
1130
+ AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig | None
1131
+ SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig | None
1132
+ ScalingConfig: ScalingConfig | None
1133
+ DocumentDBEventSourceConfig: DocumentDBEventSourceConfig | None
1134
+ KMSKeyArn: KMSKeyArn | None
1135
+ FilterCriteriaError: FilterCriteriaError | None
1136
+ EventSourceMappingArn: EventSourceMappingArn | None
1137
+ MetricsConfig: EventSourceMappingMetricsConfig | None
1138
+ ProvisionedPollerConfig: ProvisionedPollerConfig | None
1139
+
1140
+
1141
+ EventSourceMappingsList = list[EventSourceMappingConfiguration]
1142
+ FunctionArnList = list[FunctionArn]
1130
1143
 
1131
1144
 
1132
1145
  class FunctionCodeLocation(TypedDict, total=False):
1133
- RepositoryType: Optional[String]
1134
- Location: Optional[String]
1135
- ImageUri: Optional[String]
1136
- ResolvedImageUri: Optional[String]
1137
- SourceKMSKeyArn: Optional[String]
1146
+ RepositoryType: String | None
1147
+ Location: String | None
1148
+ ImageUri: String | None
1149
+ ResolvedImageUri: String | None
1150
+ SourceKMSKeyArn: String | None
1138
1151
 
1139
1152
 
1140
1153
  class RuntimeVersionError(TypedDict, total=False):
1141
- ErrorCode: Optional[String]
1142
- Message: Optional[SensitiveString]
1154
+ ErrorCode: String | None
1155
+ Message: SensitiveString | None
1143
1156
 
1144
1157
 
1145
1158
  class RuntimeVersionConfig(TypedDict, total=False):
1146
- RuntimeVersionArn: Optional[RuntimeVersionArn]
1147
- Error: Optional[RuntimeVersionError]
1159
+ RuntimeVersionArn: RuntimeVersionArn | None
1160
+ Error: RuntimeVersionError | None
1148
1161
 
1149
1162
 
1150
1163
  class SnapStartResponse(TypedDict, total=False):
1151
- ApplyOn: Optional[SnapStartApplyOn]
1152
- OptimizationStatus: Optional[SnapStartOptimizationStatus]
1164
+ ApplyOn: SnapStartApplyOn | None
1165
+ OptimizationStatus: SnapStartOptimizationStatus | None
1153
1166
 
1154
1167
 
1155
1168
  class ImageConfigError(TypedDict, total=False):
1156
- ErrorCode: Optional[String]
1157
- Message: Optional[SensitiveString]
1169
+ ErrorCode: String | None
1170
+ Message: SensitiveString | None
1158
1171
 
1159
1172
 
1160
1173
  class ImageConfigResponse(TypedDict, total=False):
1161
- ImageConfig: Optional[ImageConfig]
1162
- Error: Optional[ImageConfigError]
1174
+ ImageConfig: ImageConfig | None
1175
+ Error: ImageConfigError | None
1163
1176
 
1164
1177
 
1165
1178
  class Layer(TypedDict, total=False):
1166
- Arn: Optional[LayerVersionArn]
1167
- CodeSize: Optional[Long]
1168
- SigningProfileVersionArn: Optional[Arn]
1169
- SigningJobArn: Optional[Arn]
1179
+ Arn: LayerVersionArn | None
1180
+ CodeSize: Long | None
1181
+ SigningProfileVersionArn: Arn | None
1182
+ SigningJobArn: Arn | None
1170
1183
 
1171
1184
 
1172
- LayersReferenceList = List[Layer]
1185
+ LayersReferenceList = list[Layer]
1173
1186
 
1174
1187
 
1175
1188
  class TracingConfigResponse(TypedDict, total=False):
1176
- Mode: Optional[TracingMode]
1189
+ Mode: TracingMode | None
1177
1190
 
1178
1191
 
1179
1192
  class VpcConfigResponse(TypedDict, total=False):
1180
- SubnetIds: Optional[SubnetIds]
1181
- SecurityGroupIds: Optional[SecurityGroupIds]
1182
- VpcId: Optional[VpcId]
1183
- Ipv6AllowedForDualStack: Optional[NullableBoolean]
1193
+ SubnetIds: SubnetIds | None
1194
+ SecurityGroupIds: SecurityGroupIds | None
1195
+ VpcId: VpcId | None
1196
+ Ipv6AllowedForDualStack: NullableBoolean | None
1184
1197
 
1185
1198
 
1186
1199
  class FunctionConfiguration(TypedDict, total=False):
1187
- FunctionName: Optional[NamespacedFunctionName]
1188
- FunctionArn: Optional[NameSpacedFunctionArn]
1189
- Runtime: Optional[Runtime]
1190
- Role: Optional[RoleArn]
1191
- Handler: Optional[Handler]
1192
- CodeSize: Optional[Long]
1193
- Description: Optional[Description]
1194
- Timeout: Optional[Timeout]
1195
- MemorySize: Optional[MemorySize]
1196
- LastModified: Optional[Timestamp]
1197
- CodeSha256: Optional[String]
1198
- Version: Optional[Version]
1199
- VpcConfig: Optional[VpcConfigResponse]
1200
- DeadLetterConfig: Optional[DeadLetterConfig]
1201
- Environment: Optional[EnvironmentResponse]
1202
- KMSKeyArn: Optional[KMSKeyArn]
1203
- TracingConfig: Optional[TracingConfigResponse]
1204
- MasterArn: Optional[FunctionArn]
1205
- RevisionId: Optional[String]
1206
- Layers: Optional[LayersReferenceList]
1207
- State: Optional[State]
1208
- StateReason: Optional[StateReason]
1209
- StateReasonCode: Optional[StateReasonCode]
1210
- LastUpdateStatus: Optional[LastUpdateStatus]
1211
- LastUpdateStatusReason: Optional[LastUpdateStatusReason]
1212
- LastUpdateStatusReasonCode: Optional[LastUpdateStatusReasonCode]
1213
- FileSystemConfigs: Optional[FileSystemConfigList]
1214
- PackageType: Optional[PackageType]
1215
- ImageConfigResponse: Optional[ImageConfigResponse]
1216
- SigningProfileVersionArn: Optional[Arn]
1217
- SigningJobArn: Optional[Arn]
1218
- Architectures: Optional[ArchitecturesList]
1219
- EphemeralStorage: Optional[EphemeralStorage]
1220
- SnapStart: Optional[SnapStartResponse]
1221
- RuntimeVersionConfig: Optional[RuntimeVersionConfig]
1222
- LoggingConfig: Optional[LoggingConfig]
1200
+ FunctionName: NamespacedFunctionName | None
1201
+ FunctionArn: NameSpacedFunctionArn | None
1202
+ Runtime: Runtime | None
1203
+ Role: RoleArn | None
1204
+ Handler: Handler | None
1205
+ CodeSize: Long | None
1206
+ Description: Description | None
1207
+ Timeout: Timeout | None
1208
+ MemorySize: MemorySize | None
1209
+ LastModified: Timestamp | None
1210
+ CodeSha256: String | None
1211
+ Version: Version | None
1212
+ VpcConfig: VpcConfigResponse | None
1213
+ DeadLetterConfig: DeadLetterConfig | None
1214
+ Environment: EnvironmentResponse | None
1215
+ KMSKeyArn: KMSKeyArn | None
1216
+ TracingConfig: TracingConfigResponse | None
1217
+ MasterArn: FunctionArn | None
1218
+ RevisionId: String | None
1219
+ Layers: LayersReferenceList | None
1220
+ State: State | None
1221
+ StateReason: StateReason | None
1222
+ StateReasonCode: StateReasonCode | None
1223
+ LastUpdateStatus: LastUpdateStatus | None
1224
+ LastUpdateStatusReason: LastUpdateStatusReason | None
1225
+ LastUpdateStatusReasonCode: LastUpdateStatusReasonCode | None
1226
+ FileSystemConfigs: FileSystemConfigList | None
1227
+ PackageType: PackageType | None
1228
+ ImageConfigResponse: ImageConfigResponse | None
1229
+ SigningProfileVersionArn: Arn | None
1230
+ SigningJobArn: Arn | None
1231
+ Architectures: ArchitecturesList | None
1232
+ EphemeralStorage: EphemeralStorage | None
1233
+ SnapStart: SnapStartResponse | None
1234
+ RuntimeVersionConfig: RuntimeVersionConfig | None
1235
+ LoggingConfig: LoggingConfig | None
1223
1236
 
1224
1237
 
1225
1238
  class FunctionEventInvokeConfig(TypedDict, total=False):
1226
- LastModified: Optional[Date]
1227
- FunctionArn: Optional[FunctionArn]
1228
- MaximumRetryAttempts: Optional[MaximumRetryAttempts]
1229
- MaximumEventAgeInSeconds: Optional[MaximumEventAgeInSeconds]
1230
- DestinationConfig: Optional[DestinationConfig]
1239
+ LastModified: Date | None
1240
+ FunctionArn: FunctionArn | None
1241
+ MaximumRetryAttempts: MaximumRetryAttempts | None
1242
+ MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
1243
+ DestinationConfig: DestinationConfig | None
1231
1244
 
1232
1245
 
1233
- FunctionEventInvokeConfigList = List[FunctionEventInvokeConfig]
1234
- FunctionList = List[FunctionConfiguration]
1246
+ FunctionEventInvokeConfigList = list[FunctionEventInvokeConfig]
1247
+ FunctionList = list[FunctionConfiguration]
1235
1248
 
1236
1249
 
1237
1250
  class FunctionUrlConfig(TypedDict, total=False):
@@ -1239,12 +1252,12 @@ class FunctionUrlConfig(TypedDict, total=False):
1239
1252
  FunctionArn: FunctionArn
1240
1253
  CreationTime: Timestamp
1241
1254
  LastModifiedTime: Timestamp
1242
- Cors: Optional[Cors]
1255
+ Cors: Cors | None
1243
1256
  AuthType: FunctionUrlAuthType
1244
- InvokeMode: Optional[InvokeMode]
1257
+ InvokeMode: InvokeMode | None
1245
1258
 
1246
1259
 
1247
- FunctionUrlConfigList = List[FunctionUrlConfig]
1260
+ FunctionUrlConfigList = list[FunctionUrlConfig]
1248
1261
 
1249
1262
 
1250
1263
  class GetAccountSettingsRequest(ServiceRequest):
@@ -1252,8 +1265,8 @@ class GetAccountSettingsRequest(ServiceRequest):
1252
1265
 
1253
1266
 
1254
1267
  class GetAccountSettingsResponse(TypedDict, total=False):
1255
- AccountLimit: Optional[AccountLimit]
1256
- AccountUsage: Optional[AccountUsage]
1268
+ AccountLimit: AccountLimit | None
1269
+ AccountUsage: AccountUsage | None
1257
1270
 
1258
1271
 
1259
1272
  class GetAliasRequest(ServiceRequest):
@@ -1287,17 +1300,17 @@ class GetFunctionConcurrencyRequest(ServiceRequest):
1287
1300
 
1288
1301
 
1289
1302
  class GetFunctionConcurrencyResponse(TypedDict, total=False):
1290
- ReservedConcurrentExecutions: Optional[ReservedConcurrentExecutions]
1303
+ ReservedConcurrentExecutions: ReservedConcurrentExecutions | None
1291
1304
 
1292
1305
 
1293
1306
  class GetFunctionConfigurationRequest(ServiceRequest):
1294
1307
  FunctionName: NamespacedFunctionName
1295
- Qualifier: Optional[Qualifier]
1308
+ Qualifier: Qualifier | None
1296
1309
 
1297
1310
 
1298
1311
  class GetFunctionEventInvokeConfigRequest(ServiceRequest):
1299
1312
  FunctionName: FunctionName
1300
- Qualifier: Optional[Qualifier]
1313
+ Qualifier: Qualifier | None
1301
1314
 
1302
1315
 
1303
1316
  class GetFunctionRecursionConfigRequest(ServiceRequest):
@@ -1305,12 +1318,12 @@ class GetFunctionRecursionConfigRequest(ServiceRequest):
1305
1318
 
1306
1319
 
1307
1320
  class GetFunctionRecursionConfigResponse(TypedDict, total=False):
1308
- RecursiveLoop: Optional[RecursiveLoop]
1321
+ RecursiveLoop: RecursiveLoop | None
1309
1322
 
1310
1323
 
1311
1324
  class GetFunctionRequest(ServiceRequest):
1312
1325
  FunctionName: NamespacedFunctionName
1313
- Qualifier: Optional[Qualifier]
1326
+ Qualifier: Qualifier | None
1314
1327
 
1315
1328
 
1316
1329
  class TagsError(TypedDict, total=False):
@@ -1319,26 +1332,26 @@ class TagsError(TypedDict, total=False):
1319
1332
 
1320
1333
 
1321
1334
  class GetFunctionResponse(TypedDict, total=False):
1322
- Configuration: Optional[FunctionConfiguration]
1323
- Code: Optional[FunctionCodeLocation]
1324
- Tags: Optional[Tags]
1325
- TagsError: Optional[TagsError]
1326
- Concurrency: Optional[Concurrency]
1335
+ Configuration: FunctionConfiguration | None
1336
+ Code: FunctionCodeLocation | None
1337
+ Tags: Tags | None
1338
+ TagsError: TagsError | None
1339
+ Concurrency: Concurrency | None
1327
1340
 
1328
1341
 
1329
1342
  class GetFunctionUrlConfigRequest(ServiceRequest):
1330
1343
  FunctionName: FunctionName
1331
- Qualifier: Optional[FunctionUrlQualifier]
1344
+ Qualifier: FunctionUrlQualifier | None
1332
1345
 
1333
1346
 
1334
1347
  class GetFunctionUrlConfigResponse(TypedDict, total=False):
1335
1348
  FunctionUrl: FunctionUrl
1336
1349
  FunctionArn: FunctionArn
1337
1350
  AuthType: FunctionUrlAuthType
1338
- Cors: Optional[Cors]
1351
+ Cors: Cors | None
1339
1352
  CreationTime: Timestamp
1340
1353
  LastModifiedTime: Timestamp
1341
- InvokeMode: Optional[InvokeMode]
1354
+ InvokeMode: InvokeMode | None
1342
1355
 
1343
1356
 
1344
1357
  class GetLayerVersionByArnRequest(ServiceRequest):
@@ -1351,8 +1364,8 @@ class GetLayerVersionPolicyRequest(ServiceRequest):
1351
1364
 
1352
1365
 
1353
1366
  class GetLayerVersionPolicyResponse(TypedDict, total=False):
1354
- Policy: Optional[String]
1355
- RevisionId: Optional[String]
1367
+ Policy: String | None
1368
+ RevisionId: String | None
1356
1369
 
1357
1370
 
1358
1371
  class GetLayerVersionRequest(ServiceRequest):
@@ -1361,33 +1374,33 @@ class GetLayerVersionRequest(ServiceRequest):
1361
1374
 
1362
1375
 
1363
1376
  class LayerVersionContentOutput(TypedDict, total=False):
1364
- Location: Optional[String]
1365
- CodeSha256: Optional[String]
1366
- CodeSize: Optional[Long]
1367
- SigningProfileVersionArn: Optional[String]
1368
- SigningJobArn: Optional[String]
1377
+ Location: String | None
1378
+ CodeSha256: String | None
1379
+ CodeSize: Long | None
1380
+ SigningProfileVersionArn: String | None
1381
+ SigningJobArn: String | None
1369
1382
 
1370
1383
 
1371
1384
  class GetLayerVersionResponse(TypedDict, total=False):
1372
- Content: Optional[LayerVersionContentOutput]
1373
- LayerArn: Optional[LayerArn]
1374
- LayerVersionArn: Optional[LayerVersionArn]
1375
- Description: Optional[Description]
1376
- CreatedDate: Optional[Timestamp]
1377
- Version: Optional[LayerVersionNumber]
1378
- CompatibleRuntimes: Optional[CompatibleRuntimes]
1379
- LicenseInfo: Optional[LicenseInfo]
1380
- CompatibleArchitectures: Optional[CompatibleArchitectures]
1385
+ Content: LayerVersionContentOutput | None
1386
+ LayerArn: LayerArn | None
1387
+ LayerVersionArn: LayerVersionArn | None
1388
+ Description: Description | None
1389
+ CreatedDate: Timestamp | None
1390
+ Version: LayerVersionNumber | None
1391
+ CompatibleRuntimes: CompatibleRuntimes | None
1392
+ LicenseInfo: LicenseInfo | None
1393
+ CompatibleArchitectures: CompatibleArchitectures | None
1381
1394
 
1382
1395
 
1383
1396
  class GetPolicyRequest(ServiceRequest):
1384
1397
  FunctionName: NamespacedFunctionName
1385
- Qualifier: Optional[Qualifier]
1398
+ Qualifier: Qualifier | None
1386
1399
 
1387
1400
 
1388
1401
  class GetPolicyResponse(TypedDict, total=False):
1389
- Policy: Optional[String]
1390
- RevisionId: Optional[String]
1402
+ Policy: String | None
1403
+ RevisionId: String | None
1391
1404
 
1392
1405
 
1393
1406
  class GetProvisionedConcurrencyConfigRequest(ServiceRequest):
@@ -1396,40 +1409,40 @@ class GetProvisionedConcurrencyConfigRequest(ServiceRequest):
1396
1409
 
1397
1410
 
1398
1411
  class GetProvisionedConcurrencyConfigResponse(TypedDict, total=False):
1399
- RequestedProvisionedConcurrentExecutions: Optional[PositiveInteger]
1400
- AvailableProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1401
- AllocatedProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1402
- Status: Optional[ProvisionedConcurrencyStatusEnum]
1403
- StatusReason: Optional[String]
1404
- LastModified: Optional[Timestamp]
1412
+ RequestedProvisionedConcurrentExecutions: PositiveInteger | None
1413
+ AvailableProvisionedConcurrentExecutions: NonNegativeInteger | None
1414
+ AllocatedProvisionedConcurrentExecutions: NonNegativeInteger | None
1415
+ Status: ProvisionedConcurrencyStatusEnum | None
1416
+ StatusReason: String | None
1417
+ LastModified: Timestamp | None
1405
1418
 
1406
1419
 
1407
1420
  class GetRuntimeManagementConfigRequest(ServiceRequest):
1408
1421
  FunctionName: NamespacedFunctionName
1409
- Qualifier: Optional[Qualifier]
1422
+ Qualifier: Qualifier | None
1410
1423
 
1411
1424
 
1412
1425
  class GetRuntimeManagementConfigResponse(TypedDict, total=False):
1413
- UpdateRuntimeOn: Optional[UpdateRuntimeOn]
1414
- RuntimeVersionArn: Optional[RuntimeVersionArn]
1415
- FunctionArn: Optional[NameSpacedFunctionArn]
1426
+ UpdateRuntimeOn: UpdateRuntimeOn | None
1427
+ RuntimeVersionArn: RuntimeVersionArn | None
1428
+ FunctionArn: NameSpacedFunctionArn | None
1416
1429
 
1417
1430
 
1418
1431
  class InvocationRequest(ServiceRequest):
1419
- Payload: Optional[IO[Blob]]
1432
+ Payload: IO[Blob] | None
1420
1433
  FunctionName: NamespacedFunctionName
1421
- InvocationType: Optional[InvocationType]
1422
- LogType: Optional[LogType]
1423
- ClientContext: Optional[String]
1424
- Qualifier: Optional[Qualifier]
1434
+ InvocationType: InvocationType | None
1435
+ LogType: LogType | None
1436
+ ClientContext: String | None
1437
+ Qualifier: Qualifier | None
1425
1438
 
1426
1439
 
1427
1440
  class InvocationResponse(TypedDict, total=False):
1428
- Payload: Optional[Union[Blob, IO[Blob], Iterable[Blob]]]
1429
- StatusCode: Optional[Integer]
1430
- FunctionError: Optional[String]
1431
- LogResult: Optional[String]
1432
- ExecutedVersion: Optional[Version]
1441
+ Payload: Blob | IO[Blob] | Iterable[Blob] | None
1442
+ StatusCode: Integer | None
1443
+ FunctionError: String | None
1444
+ LogResult: String | None
1445
+ ExecutedVersion: Version | None
1433
1446
 
1434
1447
 
1435
1448
  class InvokeAsyncRequest(ServiceRequest):
@@ -1438,195 +1451,195 @@ class InvokeAsyncRequest(ServiceRequest):
1438
1451
 
1439
1452
 
1440
1453
  class InvokeAsyncResponse(TypedDict, total=False):
1441
- Status: Optional[HttpStatus]
1454
+ Status: HttpStatus | None
1442
1455
 
1443
1456
 
1444
1457
  class InvokeResponseStreamUpdate(TypedDict, total=False):
1445
- Payload: Optional[Blob]
1458
+ Payload: Blob | None
1446
1459
 
1447
1460
 
1448
1461
  class InvokeWithResponseStreamCompleteEvent(TypedDict, total=False):
1449
- ErrorCode: Optional[String]
1450
- ErrorDetails: Optional[String]
1451
- LogResult: Optional[String]
1462
+ ErrorCode: String | None
1463
+ ErrorDetails: String | None
1464
+ LogResult: String | None
1452
1465
 
1453
1466
 
1454
1467
  class InvokeWithResponseStreamRequest(ServiceRequest):
1455
- Payload: Optional[IO[Blob]]
1468
+ Payload: IO[Blob] | None
1456
1469
  FunctionName: NamespacedFunctionName
1457
- InvocationType: Optional[ResponseStreamingInvocationType]
1458
- LogType: Optional[LogType]
1459
- ClientContext: Optional[String]
1460
- Qualifier: Optional[Qualifier]
1470
+ InvocationType: ResponseStreamingInvocationType | None
1471
+ LogType: LogType | None
1472
+ ClientContext: String | None
1473
+ Qualifier: Qualifier | None
1461
1474
 
1462
1475
 
1463
1476
  class InvokeWithResponseStreamResponseEvent(TypedDict, total=False):
1464
- PayloadChunk: Optional[InvokeResponseStreamUpdate]
1465
- InvokeComplete: Optional[InvokeWithResponseStreamCompleteEvent]
1477
+ PayloadChunk: InvokeResponseStreamUpdate | None
1478
+ InvokeComplete: InvokeWithResponseStreamCompleteEvent | None
1466
1479
 
1467
1480
 
1468
1481
  class InvokeWithResponseStreamResponse(TypedDict, total=False):
1469
- StatusCode: Optional[Integer]
1470
- ExecutedVersion: Optional[Version]
1482
+ StatusCode: Integer | None
1483
+ ExecutedVersion: Version | None
1471
1484
  EventStream: Iterator[InvokeWithResponseStreamResponseEvent]
1472
- ResponseStreamContentType: Optional[String]
1485
+ ResponseStreamContentType: String | None
1473
1486
 
1474
1487
 
1475
1488
  class LayerVersionContentInput(TypedDict, total=False):
1476
- S3Bucket: Optional[S3Bucket]
1477
- S3Key: Optional[S3Key]
1478
- S3ObjectVersion: Optional[S3ObjectVersion]
1479
- ZipFile: Optional[Blob]
1489
+ S3Bucket: S3Bucket | None
1490
+ S3Key: S3Key | None
1491
+ S3ObjectVersion: S3ObjectVersion | None
1492
+ ZipFile: Blob | None
1480
1493
 
1481
1494
 
1482
1495
  class LayerVersionsListItem(TypedDict, total=False):
1483
- LayerVersionArn: Optional[LayerVersionArn]
1484
- Version: Optional[LayerVersionNumber]
1485
- Description: Optional[Description]
1486
- CreatedDate: Optional[Timestamp]
1487
- CompatibleRuntimes: Optional[CompatibleRuntimes]
1488
- LicenseInfo: Optional[LicenseInfo]
1489
- CompatibleArchitectures: Optional[CompatibleArchitectures]
1496
+ LayerVersionArn: LayerVersionArn | None
1497
+ Version: LayerVersionNumber | None
1498
+ Description: Description | None
1499
+ CreatedDate: Timestamp | None
1500
+ CompatibleRuntimes: CompatibleRuntimes | None
1501
+ LicenseInfo: LicenseInfo | None
1502
+ CompatibleArchitectures: CompatibleArchitectures | None
1490
1503
 
1491
1504
 
1492
- LayerVersionsList = List[LayerVersionsListItem]
1505
+ LayerVersionsList = list[LayerVersionsListItem]
1493
1506
 
1494
1507
 
1495
1508
  class LayersListItem(TypedDict, total=False):
1496
- LayerName: Optional[LayerName]
1497
- LayerArn: Optional[LayerArn]
1498
- LatestMatchingVersion: Optional[LayerVersionsListItem]
1509
+ LayerName: LayerName | None
1510
+ LayerArn: LayerArn | None
1511
+ LatestMatchingVersion: LayerVersionsListItem | None
1499
1512
 
1500
1513
 
1501
- LayersList = List[LayersListItem]
1514
+ LayersList = list[LayersListItem]
1502
1515
 
1503
1516
 
1504
1517
  class ListAliasesRequest(ServiceRequest):
1505
1518
  FunctionName: FunctionName
1506
- FunctionVersion: Optional[Version]
1507
- Marker: Optional[String]
1508
- MaxItems: Optional[MaxListItems]
1519
+ FunctionVersion: Version | None
1520
+ Marker: String | None
1521
+ MaxItems: MaxListItems | None
1509
1522
 
1510
1523
 
1511
1524
  class ListAliasesResponse(TypedDict, total=False):
1512
- NextMarker: Optional[String]
1513
- Aliases: Optional[AliasList]
1525
+ NextMarker: String | None
1526
+ Aliases: AliasList | None
1514
1527
 
1515
1528
 
1516
1529
  class ListCodeSigningConfigsRequest(ServiceRequest):
1517
- Marker: Optional[String]
1518
- MaxItems: Optional[MaxListItems]
1530
+ Marker: String | None
1531
+ MaxItems: MaxListItems | None
1519
1532
 
1520
1533
 
1521
1534
  class ListCodeSigningConfigsResponse(TypedDict, total=False):
1522
- NextMarker: Optional[String]
1523
- CodeSigningConfigs: Optional[CodeSigningConfigList]
1535
+ NextMarker: String | None
1536
+ CodeSigningConfigs: CodeSigningConfigList | None
1524
1537
 
1525
1538
 
1526
1539
  class ListEventSourceMappingsRequest(ServiceRequest):
1527
- EventSourceArn: Optional[Arn]
1528
- FunctionName: Optional[FunctionName]
1529
- Marker: Optional[String]
1530
- MaxItems: Optional[MaxListItems]
1540
+ EventSourceArn: Arn | None
1541
+ FunctionName: FunctionName | None
1542
+ Marker: String | None
1543
+ MaxItems: MaxListItems | None
1531
1544
 
1532
1545
 
1533
1546
  class ListEventSourceMappingsResponse(TypedDict, total=False):
1534
- NextMarker: Optional[String]
1535
- EventSourceMappings: Optional[EventSourceMappingsList]
1547
+ NextMarker: String | None
1548
+ EventSourceMappings: EventSourceMappingsList | None
1536
1549
 
1537
1550
 
1538
1551
  class ListFunctionEventInvokeConfigsRequest(ServiceRequest):
1539
1552
  FunctionName: FunctionName
1540
- Marker: Optional[String]
1541
- MaxItems: Optional[MaxFunctionEventInvokeConfigListItems]
1553
+ Marker: String | None
1554
+ MaxItems: MaxFunctionEventInvokeConfigListItems | None
1542
1555
 
1543
1556
 
1544
1557
  class ListFunctionEventInvokeConfigsResponse(TypedDict, total=False):
1545
- FunctionEventInvokeConfigs: Optional[FunctionEventInvokeConfigList]
1546
- NextMarker: Optional[String]
1558
+ FunctionEventInvokeConfigs: FunctionEventInvokeConfigList | None
1559
+ NextMarker: String | None
1547
1560
 
1548
1561
 
1549
1562
  class ListFunctionUrlConfigsRequest(ServiceRequest):
1550
1563
  FunctionName: FunctionName
1551
- Marker: Optional[String]
1552
- MaxItems: Optional[MaxItems]
1564
+ Marker: String | None
1565
+ MaxItems: MaxItems | None
1553
1566
 
1554
1567
 
1555
1568
  class ListFunctionUrlConfigsResponse(TypedDict, total=False):
1556
1569
  FunctionUrlConfigs: FunctionUrlConfigList
1557
- NextMarker: Optional[String]
1570
+ NextMarker: String | None
1558
1571
 
1559
1572
 
1560
1573
  class ListFunctionsByCodeSigningConfigRequest(ServiceRequest):
1561
1574
  CodeSigningConfigArn: CodeSigningConfigArn
1562
- Marker: Optional[String]
1563
- MaxItems: Optional[MaxListItems]
1575
+ Marker: String | None
1576
+ MaxItems: MaxListItems | None
1564
1577
 
1565
1578
 
1566
1579
  class ListFunctionsByCodeSigningConfigResponse(TypedDict, total=False):
1567
- NextMarker: Optional[String]
1568
- FunctionArns: Optional[FunctionArnList]
1580
+ NextMarker: String | None
1581
+ FunctionArns: FunctionArnList | None
1569
1582
 
1570
1583
 
1571
1584
  class ListFunctionsRequest(ServiceRequest):
1572
- MasterRegion: Optional[MasterRegion]
1573
- FunctionVersion: Optional[FunctionVersion]
1574
- Marker: Optional[String]
1575
- MaxItems: Optional[MaxListItems]
1585
+ MasterRegion: MasterRegion | None
1586
+ FunctionVersion: FunctionVersion | None
1587
+ Marker: String | None
1588
+ MaxItems: MaxListItems | None
1576
1589
 
1577
1590
 
1578
1591
  class ListFunctionsResponse(TypedDict, total=False):
1579
- NextMarker: Optional[String]
1580
- Functions: Optional[FunctionList]
1592
+ NextMarker: String | None
1593
+ Functions: FunctionList | None
1581
1594
 
1582
1595
 
1583
1596
  class ListLayerVersionsRequest(ServiceRequest):
1584
- CompatibleRuntime: Optional[Runtime]
1597
+ CompatibleRuntime: Runtime | None
1585
1598
  LayerName: LayerName
1586
- Marker: Optional[String]
1587
- MaxItems: Optional[MaxLayerListItems]
1588
- CompatibleArchitecture: Optional[Architecture]
1599
+ Marker: String | None
1600
+ MaxItems: MaxLayerListItems | None
1601
+ CompatibleArchitecture: Architecture | None
1589
1602
 
1590
1603
 
1591
1604
  class ListLayerVersionsResponse(TypedDict, total=False):
1592
- NextMarker: Optional[String]
1593
- LayerVersions: Optional[LayerVersionsList]
1605
+ NextMarker: String | None
1606
+ LayerVersions: LayerVersionsList | None
1594
1607
 
1595
1608
 
1596
1609
  class ListLayersRequest(ServiceRequest):
1597
- CompatibleRuntime: Optional[Runtime]
1598
- Marker: Optional[String]
1599
- MaxItems: Optional[MaxLayerListItems]
1600
- CompatibleArchitecture: Optional[Architecture]
1610
+ CompatibleRuntime: Runtime | None
1611
+ Marker: String | None
1612
+ MaxItems: MaxLayerListItems | None
1613
+ CompatibleArchitecture: Architecture | None
1601
1614
 
1602
1615
 
1603
1616
  class ListLayersResponse(TypedDict, total=False):
1604
- NextMarker: Optional[String]
1605
- Layers: Optional[LayersList]
1617
+ NextMarker: String | None
1618
+ Layers: LayersList | None
1606
1619
 
1607
1620
 
1608
1621
  class ListProvisionedConcurrencyConfigsRequest(ServiceRequest):
1609
1622
  FunctionName: FunctionName
1610
- Marker: Optional[String]
1611
- MaxItems: Optional[MaxProvisionedConcurrencyConfigListItems]
1623
+ Marker: String | None
1624
+ MaxItems: MaxProvisionedConcurrencyConfigListItems | None
1612
1625
 
1613
1626
 
1614
1627
  class ProvisionedConcurrencyConfigListItem(TypedDict, total=False):
1615
- FunctionArn: Optional[FunctionArn]
1616
- RequestedProvisionedConcurrentExecutions: Optional[PositiveInteger]
1617
- AvailableProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1618
- AllocatedProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1619
- Status: Optional[ProvisionedConcurrencyStatusEnum]
1620
- StatusReason: Optional[String]
1621
- LastModified: Optional[Timestamp]
1628
+ FunctionArn: FunctionArn | None
1629
+ RequestedProvisionedConcurrentExecutions: PositiveInteger | None
1630
+ AvailableProvisionedConcurrentExecutions: NonNegativeInteger | None
1631
+ AllocatedProvisionedConcurrentExecutions: NonNegativeInteger | None
1632
+ Status: ProvisionedConcurrencyStatusEnum | None
1633
+ StatusReason: String | None
1634
+ LastModified: Timestamp | None
1622
1635
 
1623
1636
 
1624
- ProvisionedConcurrencyConfigList = List[ProvisionedConcurrencyConfigListItem]
1637
+ ProvisionedConcurrencyConfigList = list[ProvisionedConcurrencyConfigListItem]
1625
1638
 
1626
1639
 
1627
1640
  class ListProvisionedConcurrencyConfigsResponse(TypedDict, total=False):
1628
- ProvisionedConcurrencyConfigs: Optional[ProvisionedConcurrencyConfigList]
1629
- NextMarker: Optional[String]
1641
+ ProvisionedConcurrencyConfigs: ProvisionedConcurrencyConfigList | None
1642
+ NextMarker: String | None
1630
1643
 
1631
1644
 
1632
1645
  class ListTagsRequest(ServiceRequest):
@@ -1634,46 +1647,46 @@ class ListTagsRequest(ServiceRequest):
1634
1647
 
1635
1648
 
1636
1649
  class ListTagsResponse(TypedDict, total=False):
1637
- Tags: Optional[Tags]
1650
+ Tags: Tags | None
1638
1651
 
1639
1652
 
1640
1653
  class ListVersionsByFunctionRequest(ServiceRequest):
1641
1654
  FunctionName: NamespacedFunctionName
1642
- Marker: Optional[String]
1643
- MaxItems: Optional[MaxListItems]
1655
+ Marker: String | None
1656
+ MaxItems: MaxListItems | None
1644
1657
 
1645
1658
 
1646
1659
  class ListVersionsByFunctionResponse(TypedDict, total=False):
1647
- NextMarker: Optional[String]
1648
- Versions: Optional[FunctionList]
1660
+ NextMarker: String | None
1661
+ Versions: FunctionList | None
1649
1662
 
1650
1663
 
1651
1664
  class PublishLayerVersionRequest(ServiceRequest):
1652
1665
  LayerName: LayerName
1653
- Description: Optional[Description]
1666
+ Description: Description | None
1654
1667
  Content: LayerVersionContentInput
1655
- CompatibleRuntimes: Optional[CompatibleRuntimes]
1656
- LicenseInfo: Optional[LicenseInfo]
1657
- CompatibleArchitectures: Optional[CompatibleArchitectures]
1668
+ CompatibleRuntimes: CompatibleRuntimes | None
1669
+ LicenseInfo: LicenseInfo | None
1670
+ CompatibleArchitectures: CompatibleArchitectures | None
1658
1671
 
1659
1672
 
1660
1673
  class PublishLayerVersionResponse(TypedDict, total=False):
1661
- Content: Optional[LayerVersionContentOutput]
1662
- LayerArn: Optional[LayerArn]
1663
- LayerVersionArn: Optional[LayerVersionArn]
1664
- Description: Optional[Description]
1665
- CreatedDate: Optional[Timestamp]
1666
- Version: Optional[LayerVersionNumber]
1667
- CompatibleRuntimes: Optional[CompatibleRuntimes]
1668
- LicenseInfo: Optional[LicenseInfo]
1669
- CompatibleArchitectures: Optional[CompatibleArchitectures]
1674
+ Content: LayerVersionContentOutput | None
1675
+ LayerArn: LayerArn | None
1676
+ LayerVersionArn: LayerVersionArn | None
1677
+ Description: Description | None
1678
+ CreatedDate: Timestamp | None
1679
+ Version: LayerVersionNumber | None
1680
+ CompatibleRuntimes: CompatibleRuntimes | None
1681
+ LicenseInfo: LicenseInfo | None
1682
+ CompatibleArchitectures: CompatibleArchitectures | None
1670
1683
 
1671
1684
 
1672
1685
  class PublishVersionRequest(ServiceRequest):
1673
1686
  FunctionName: FunctionName
1674
- CodeSha256: Optional[String]
1675
- Description: Optional[Description]
1676
- RevisionId: Optional[String]
1687
+ CodeSha256: String | None
1688
+ Description: Description | None
1689
+ RevisionId: String | None
1677
1690
 
1678
1691
 
1679
1692
  class PutFunctionCodeSigningConfigRequest(ServiceRequest):
@@ -1693,10 +1706,10 @@ class PutFunctionConcurrencyRequest(ServiceRequest):
1693
1706
 
1694
1707
  class PutFunctionEventInvokeConfigRequest(ServiceRequest):
1695
1708
  FunctionName: FunctionName
1696
- Qualifier: Optional[Qualifier]
1697
- MaximumRetryAttempts: Optional[MaximumRetryAttempts]
1698
- MaximumEventAgeInSeconds: Optional[MaximumEventAgeInSeconds]
1699
- DestinationConfig: Optional[DestinationConfig]
1709
+ Qualifier: Qualifier | None
1710
+ MaximumRetryAttempts: MaximumRetryAttempts | None
1711
+ MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
1712
+ DestinationConfig: DestinationConfig | None
1700
1713
 
1701
1714
 
1702
1715
  class PutFunctionRecursionConfigRequest(ServiceRequest):
@@ -1705,7 +1718,7 @@ class PutFunctionRecursionConfigRequest(ServiceRequest):
1705
1718
 
1706
1719
 
1707
1720
  class PutFunctionRecursionConfigResponse(TypedDict, total=False):
1708
- RecursiveLoop: Optional[RecursiveLoop]
1721
+ RecursiveLoop: RecursiveLoop | None
1709
1722
 
1710
1723
 
1711
1724
  class PutProvisionedConcurrencyConfigRequest(ServiceRequest):
@@ -1715,42 +1728,42 @@ class PutProvisionedConcurrencyConfigRequest(ServiceRequest):
1715
1728
 
1716
1729
 
1717
1730
  class PutProvisionedConcurrencyConfigResponse(TypedDict, total=False):
1718
- RequestedProvisionedConcurrentExecutions: Optional[PositiveInteger]
1719
- AvailableProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1720
- AllocatedProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1721
- Status: Optional[ProvisionedConcurrencyStatusEnum]
1722
- StatusReason: Optional[String]
1723
- LastModified: Optional[Timestamp]
1731
+ RequestedProvisionedConcurrentExecutions: PositiveInteger | None
1732
+ AvailableProvisionedConcurrentExecutions: NonNegativeInteger | None
1733
+ AllocatedProvisionedConcurrentExecutions: NonNegativeInteger | None
1734
+ Status: ProvisionedConcurrencyStatusEnum | None
1735
+ StatusReason: String | None
1736
+ LastModified: Timestamp | None
1724
1737
 
1725
1738
 
1726
1739
  class PutRuntimeManagementConfigRequest(ServiceRequest):
1727
1740
  FunctionName: FunctionName
1728
- Qualifier: Optional[Qualifier]
1741
+ Qualifier: Qualifier | None
1729
1742
  UpdateRuntimeOn: UpdateRuntimeOn
1730
- RuntimeVersionArn: Optional[RuntimeVersionArn]
1743
+ RuntimeVersionArn: RuntimeVersionArn | None
1731
1744
 
1732
1745
 
1733
1746
  class PutRuntimeManagementConfigResponse(TypedDict, total=False):
1734
1747
  UpdateRuntimeOn: UpdateRuntimeOn
1735
1748
  FunctionArn: FunctionArn
1736
- RuntimeVersionArn: Optional[RuntimeVersionArn]
1749
+ RuntimeVersionArn: RuntimeVersionArn | None
1737
1750
 
1738
1751
 
1739
1752
  class RemoveLayerVersionPermissionRequest(ServiceRequest):
1740
1753
  LayerName: LayerName
1741
1754
  VersionNumber: LayerVersionNumber
1742
1755
  StatementId: StatementId
1743
- RevisionId: Optional[String]
1756
+ RevisionId: String | None
1744
1757
 
1745
1758
 
1746
1759
  class RemovePermissionRequest(ServiceRequest):
1747
1760
  FunctionName: FunctionName
1748
1761
  StatementId: NamespacedStatementId
1749
- Qualifier: Optional[Qualifier]
1750
- RevisionId: Optional[String]
1762
+ Qualifier: Qualifier | None
1763
+ RevisionId: String | None
1751
1764
 
1752
1765
 
1753
- TagKeyList = List[TagKey]
1766
+ TagKeyList = list[TagKey]
1754
1767
 
1755
1768
 
1756
1769
  class TagResourceRequest(ServiceRequest):
@@ -1766,17 +1779,17 @@ class UntagResourceRequest(ServiceRequest):
1766
1779
  class UpdateAliasRequest(ServiceRequest):
1767
1780
  FunctionName: FunctionName
1768
1781
  Name: Alias
1769
- FunctionVersion: Optional[Version]
1770
- Description: Optional[Description]
1771
- RoutingConfig: Optional[AliasRoutingConfiguration]
1772
- RevisionId: Optional[String]
1782
+ FunctionVersion: Version | None
1783
+ Description: Description | None
1784
+ RoutingConfig: AliasRoutingConfiguration | None
1785
+ RevisionId: String | None
1773
1786
 
1774
1787
 
1775
1788
  class UpdateCodeSigningConfigRequest(ServiceRequest):
1776
1789
  CodeSigningConfigArn: CodeSigningConfigArn
1777
- Description: Optional[Description]
1778
- AllowedPublishers: Optional[AllowedPublishers]
1779
- CodeSigningPolicies: Optional[CodeSigningPolicies]
1790
+ Description: Description | None
1791
+ AllowedPublishers: AllowedPublishers | None
1792
+ CodeSigningPolicies: CodeSigningPolicies | None
1780
1793
 
1781
1794
 
1782
1795
  class UpdateCodeSigningConfigResponse(TypedDict, total=False):
@@ -1785,93 +1798,93 @@ class UpdateCodeSigningConfigResponse(TypedDict, total=False):
1785
1798
 
1786
1799
  class UpdateEventSourceMappingRequest(ServiceRequest):
1787
1800
  UUID: String
1788
- FunctionName: Optional[FunctionName]
1789
- Enabled: Optional[Enabled]
1790
- BatchSize: Optional[BatchSize]
1791
- FilterCriteria: Optional[FilterCriteria]
1792
- MaximumBatchingWindowInSeconds: Optional[MaximumBatchingWindowInSeconds]
1793
- DestinationConfig: Optional[DestinationConfig]
1794
- MaximumRecordAgeInSeconds: Optional[MaximumRecordAgeInSeconds]
1795
- BisectBatchOnFunctionError: Optional[BisectBatchOnFunctionError]
1796
- MaximumRetryAttempts: Optional[MaximumRetryAttemptsEventSourceMapping]
1797
- ParallelizationFactor: Optional[ParallelizationFactor]
1798
- SourceAccessConfigurations: Optional[SourceAccessConfigurations]
1799
- TumblingWindowInSeconds: Optional[TumblingWindowInSeconds]
1800
- FunctionResponseTypes: Optional[FunctionResponseTypeList]
1801
- ScalingConfig: Optional[ScalingConfig]
1802
- AmazonManagedKafkaEventSourceConfig: Optional[AmazonManagedKafkaEventSourceConfig]
1803
- SelfManagedKafkaEventSourceConfig: Optional[SelfManagedKafkaEventSourceConfig]
1804
- DocumentDBEventSourceConfig: Optional[DocumentDBEventSourceConfig]
1805
- KMSKeyArn: Optional[KMSKeyArn]
1806
- MetricsConfig: Optional[EventSourceMappingMetricsConfig]
1807
- ProvisionedPollerConfig: Optional[ProvisionedPollerConfig]
1801
+ FunctionName: FunctionName | None
1802
+ Enabled: Enabled | None
1803
+ BatchSize: BatchSize | None
1804
+ FilterCriteria: FilterCriteria | None
1805
+ MaximumBatchingWindowInSeconds: MaximumBatchingWindowInSeconds | None
1806
+ DestinationConfig: DestinationConfig | None
1807
+ MaximumRecordAgeInSeconds: MaximumRecordAgeInSeconds | None
1808
+ BisectBatchOnFunctionError: BisectBatchOnFunctionError | None
1809
+ MaximumRetryAttempts: MaximumRetryAttemptsEventSourceMapping | None
1810
+ ParallelizationFactor: ParallelizationFactor | None
1811
+ SourceAccessConfigurations: SourceAccessConfigurations | None
1812
+ TumblingWindowInSeconds: TumblingWindowInSeconds | None
1813
+ FunctionResponseTypes: FunctionResponseTypeList | None
1814
+ ScalingConfig: ScalingConfig | None
1815
+ AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig | None
1816
+ SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig | None
1817
+ DocumentDBEventSourceConfig: DocumentDBEventSourceConfig | None
1818
+ KMSKeyArn: KMSKeyArn | None
1819
+ MetricsConfig: EventSourceMappingMetricsConfig | None
1820
+ ProvisionedPollerConfig: ProvisionedPollerConfig | None
1808
1821
 
1809
1822
 
1810
1823
  class UpdateFunctionCodeRequest(ServiceRequest):
1811
1824
  FunctionName: FunctionName
1812
- ZipFile: Optional[Blob]
1813
- S3Bucket: Optional[S3Bucket]
1814
- S3Key: Optional[S3Key]
1815
- S3ObjectVersion: Optional[S3ObjectVersion]
1816
- ImageUri: Optional[String]
1817
- Publish: Optional[Boolean]
1818
- DryRun: Optional[Boolean]
1819
- RevisionId: Optional[String]
1820
- Architectures: Optional[ArchitecturesList]
1821
- SourceKMSKeyArn: Optional[KMSKeyArn]
1825
+ ZipFile: Blob | None
1826
+ S3Bucket: S3Bucket | None
1827
+ S3Key: S3Key | None
1828
+ S3ObjectVersion: S3ObjectVersion | None
1829
+ ImageUri: String | None
1830
+ Publish: Boolean | None
1831
+ DryRun: Boolean | None
1832
+ RevisionId: String | None
1833
+ Architectures: ArchitecturesList | None
1834
+ SourceKMSKeyArn: KMSKeyArn | None
1822
1835
 
1823
1836
 
1824
1837
  class UpdateFunctionConfigurationRequest(ServiceRequest):
1825
1838
  FunctionName: FunctionName
1826
- Role: Optional[RoleArn]
1827
- Handler: Optional[Handler]
1828
- Description: Optional[Description]
1829
- Timeout: Optional[Timeout]
1830
- MemorySize: Optional[MemorySize]
1831
- VpcConfig: Optional[VpcConfig]
1832
- Environment: Optional[Environment]
1833
- Runtime: Optional[Runtime]
1834
- DeadLetterConfig: Optional[DeadLetterConfig]
1835
- KMSKeyArn: Optional[KMSKeyArn]
1836
- TracingConfig: Optional[TracingConfig]
1837
- RevisionId: Optional[String]
1838
- Layers: Optional[LayerList]
1839
- FileSystemConfigs: Optional[FileSystemConfigList]
1840
- ImageConfig: Optional[ImageConfig]
1841
- EphemeralStorage: Optional[EphemeralStorage]
1842
- SnapStart: Optional[SnapStart]
1843
- LoggingConfig: Optional[LoggingConfig]
1839
+ Role: RoleArn | None
1840
+ Handler: Handler | None
1841
+ Description: Description | None
1842
+ Timeout: Timeout | None
1843
+ MemorySize: MemorySize | None
1844
+ VpcConfig: VpcConfig | None
1845
+ Environment: Environment | None
1846
+ Runtime: Runtime | None
1847
+ DeadLetterConfig: DeadLetterConfig | None
1848
+ KMSKeyArn: KMSKeyArn | None
1849
+ TracingConfig: TracingConfig | None
1850
+ RevisionId: String | None
1851
+ Layers: LayerList | None
1852
+ FileSystemConfigs: FileSystemConfigList | None
1853
+ ImageConfig: ImageConfig | None
1854
+ EphemeralStorage: EphemeralStorage | None
1855
+ SnapStart: SnapStart | None
1856
+ LoggingConfig: LoggingConfig | None
1844
1857
 
1845
1858
 
1846
1859
  class UpdateFunctionEventInvokeConfigRequest(ServiceRequest):
1847
1860
  FunctionName: FunctionName
1848
- Qualifier: Optional[Qualifier]
1849
- MaximumRetryAttempts: Optional[MaximumRetryAttempts]
1850
- MaximumEventAgeInSeconds: Optional[MaximumEventAgeInSeconds]
1851
- DestinationConfig: Optional[DestinationConfig]
1861
+ Qualifier: Qualifier | None
1862
+ MaximumRetryAttempts: MaximumRetryAttempts | None
1863
+ MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
1864
+ DestinationConfig: DestinationConfig | None
1852
1865
 
1853
1866
 
1854
1867
  class UpdateFunctionUrlConfigRequest(ServiceRequest):
1855
1868
  FunctionName: FunctionName
1856
- Qualifier: Optional[FunctionUrlQualifier]
1857
- AuthType: Optional[FunctionUrlAuthType]
1858
- Cors: Optional[Cors]
1859
- InvokeMode: Optional[InvokeMode]
1869
+ Qualifier: FunctionUrlQualifier | None
1870
+ AuthType: FunctionUrlAuthType | None
1871
+ Cors: Cors | None
1872
+ InvokeMode: InvokeMode | None
1860
1873
 
1861
1874
 
1862
1875
  class UpdateFunctionUrlConfigResponse(TypedDict, total=False):
1863
1876
  FunctionUrl: FunctionUrl
1864
1877
  FunctionArn: FunctionArn
1865
1878
  AuthType: FunctionUrlAuthType
1866
- Cors: Optional[Cors]
1879
+ Cors: Cors | None
1867
1880
  CreationTime: Timestamp
1868
1881
  LastModifiedTime: Timestamp
1869
- InvokeMode: Optional[InvokeMode]
1882
+ InvokeMode: InvokeMode | None
1870
1883
 
1871
1884
 
1872
1885
  class LambdaApi:
1873
- service = "lambda"
1874
- version = "2015-03-31"
1886
+ service: str = "lambda"
1887
+ version: str = "2015-03-31"
1875
1888
 
1876
1889
  @handler("AddLayerVersionPermission")
1877
1890
  def add_layer_version_permission(
@@ -1903,6 +1916,7 @@ class LambdaApi:
1903
1916
  revision_id: String | None = None,
1904
1917
  principal_org_id: PrincipalOrgID | None = None,
1905
1918
  function_url_auth_type: FunctionUrlAuthType | None = None,
1919
+ invoked_via_function_url: InvokedViaFunctionUrl | None = None,
1906
1920
  **kwargs,
1907
1921
  ) -> AddPermissionResponse:
1908
1922
  raise NotImplementedError