localstack-core 4.10.1.dev7__py3-none-any.whl → 4.11.2.dev14__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (152) hide show
  1. localstack/aws/api/acm/__init__.py +122 -122
  2. localstack/aws/api/apigateway/__init__.py +604 -561
  3. localstack/aws/api/cloudcontrol/__init__.py +63 -63
  4. localstack/aws/api/cloudformation/__init__.py +1201 -969
  5. localstack/aws/api/cloudwatch/__init__.py +375 -375
  6. localstack/aws/api/config/__init__.py +784 -786
  7. localstack/aws/api/dynamodb/__init__.py +753 -759
  8. localstack/aws/api/dynamodbstreams/__init__.py +74 -74
  9. localstack/aws/api/ec2/__init__.py +10062 -8826
  10. localstack/aws/api/es/__init__.py +453 -453
  11. localstack/aws/api/events/__init__.py +552 -552
  12. localstack/aws/api/firehose/__init__.py +541 -543
  13. localstack/aws/api/iam/__init__.py +866 -572
  14. localstack/aws/api/kinesis/__init__.py +235 -147
  15. localstack/aws/api/kms/__init__.py +341 -336
  16. localstack/aws/api/lambda_/__init__.py +974 -621
  17. localstack/aws/api/logs/__init__.py +988 -675
  18. localstack/aws/api/opensearch/__init__.py +903 -785
  19. localstack/aws/api/pipes/__init__.py +336 -336
  20. localstack/aws/api/redshift/__init__.py +1257 -1166
  21. localstack/aws/api/resource_groups/__init__.py +175 -175
  22. localstack/aws/api/resourcegroupstaggingapi/__init__.py +103 -67
  23. localstack/aws/api/route53/__init__.py +296 -254
  24. localstack/aws/api/route53resolver/__init__.py +397 -396
  25. localstack/aws/api/s3/__init__.py +1412 -1349
  26. localstack/aws/api/s3control/__init__.py +594 -594
  27. localstack/aws/api/scheduler/__init__.py +118 -118
  28. localstack/aws/api/secretsmanager/__init__.py +221 -216
  29. localstack/aws/api/ses/__init__.py +227 -227
  30. localstack/aws/api/sns/__init__.py +115 -115
  31. localstack/aws/api/sqs/__init__.py +100 -100
  32. localstack/aws/api/ssm/__init__.py +1977 -1971
  33. localstack/aws/api/stepfunctions/__init__.py +375 -333
  34. localstack/aws/api/sts/__init__.py +142 -66
  35. localstack/aws/api/support/__init__.py +112 -112
  36. localstack/aws/api/swf/__init__.py +378 -386
  37. localstack/aws/api/transcribe/__init__.py +425 -425
  38. localstack/aws/handlers/logging.py +8 -4
  39. localstack/aws/handlers/service.py +22 -3
  40. localstack/aws/protocol/parser.py +1 -1
  41. localstack/aws/protocol/serializer.py +1 -1
  42. localstack/aws/scaffold.py +15 -17
  43. localstack/cli/localstack.py +6 -1
  44. localstack/deprecations.py +0 -6
  45. localstack/dev/kubernetes/__main__.py +38 -3
  46. localstack/services/acm/provider.py +4 -0
  47. localstack/services/apigateway/helpers.py +5 -9
  48. localstack/services/apigateway/legacy/provider.py +60 -24
  49. localstack/services/apigateway/patches.py +0 -9
  50. localstack/services/cloudformation/engine/template_preparer.py +6 -2
  51. localstack/services/cloudformation/engine/v2/change_set_model_preproc.py +12 -0
  52. localstack/services/cloudformation/provider.py +2 -2
  53. localstack/services/cloudformation/v2/provider.py +6 -6
  54. localstack/services/cloudwatch/provider.py +10 -3
  55. localstack/services/cloudwatch/provider_v2.py +6 -3
  56. localstack/services/configservice/provider.py +5 -1
  57. localstack/services/dynamodb/provider.py +1 -0
  58. localstack/services/dynamodb/v2/provider.py +1 -0
  59. localstack/services/dynamodbstreams/provider.py +6 -0
  60. localstack/services/dynamodbstreams/v2/provider.py +6 -0
  61. localstack/services/ec2/provider.py +6 -0
  62. localstack/services/es/provider.py +6 -0
  63. localstack/services/events/provider.py +4 -0
  64. localstack/services/events/v1/provider.py +9 -0
  65. localstack/services/firehose/provider.py +5 -0
  66. localstack/services/iam/provider.py +4 -0
  67. localstack/services/kinesis/packages.py +1 -1
  68. localstack/services/kms/models.py +44 -24
  69. localstack/services/kms/provider.py +97 -16
  70. localstack/services/lambda_/api_utils.py +40 -21
  71. localstack/services/lambda_/event_source_mapping/pollers/stream_poller.py +1 -1
  72. localstack/services/lambda_/invocation/assignment.py +4 -1
  73. localstack/services/lambda_/invocation/execution_environment.py +21 -2
  74. localstack/services/lambda_/invocation/lambda_models.py +27 -2
  75. localstack/services/lambda_/invocation/lambda_service.py +51 -3
  76. localstack/services/lambda_/invocation/models.py +9 -1
  77. localstack/services/lambda_/invocation/version_manager.py +18 -3
  78. localstack/services/lambda_/packages.py +1 -1
  79. localstack/services/lambda_/provider.py +240 -96
  80. localstack/services/lambda_/resource_providers/aws_lambda_function.py +33 -1
  81. localstack/services/lambda_/runtimes.py +10 -3
  82. localstack/services/logs/provider.py +45 -19
  83. localstack/services/opensearch/provider.py +53 -3
  84. localstack/services/resource_groups/provider.py +5 -1
  85. localstack/services/resourcegroupstaggingapi/provider.py +6 -1
  86. localstack/services/s3/provider.py +29 -16
  87. localstack/services/s3/utils.py +35 -14
  88. localstack/services/s3control/provider.py +101 -2
  89. localstack/services/s3control/validation.py +50 -0
  90. localstack/services/sns/constants.py +3 -1
  91. localstack/services/sns/publisher.py +15 -6
  92. localstack/services/sns/v2/models.py +30 -1
  93. localstack/services/sns/v2/provider.py +794 -31
  94. localstack/services/sns/v2/utils.py +20 -0
  95. localstack/services/sqs/models.py +37 -10
  96. localstack/services/stepfunctions/asl/component/common/path/result_path.py +1 -1
  97. localstack/services/stepfunctions/asl/component/state/state_execution/execute_state.py +0 -1
  98. localstack/services/stepfunctions/asl/component/state/state_execution/state_map/state_map.py +0 -1
  99. localstack/services/stepfunctions/asl/component/state/state_execution/state_task/lambda_eval_utils.py +8 -8
  100. localstack/services/stepfunctions/asl/component/state/state_execution/state_task/{mock_eval_utils.py → local_mock_eval_utils.py} +13 -9
  101. localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py +6 -6
  102. localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py +1 -1
  103. localstack/services/stepfunctions/asl/component/state/state_fail/state_fail.py +4 -0
  104. localstack/services/stepfunctions/asl/component/test_state/state/base_mock.py +118 -0
  105. localstack/services/stepfunctions/asl/component/test_state/state/common.py +82 -0
  106. localstack/services/stepfunctions/asl/component/test_state/state/execution.py +139 -0
  107. localstack/services/stepfunctions/asl/component/test_state/state/map.py +77 -0
  108. localstack/services/stepfunctions/asl/component/test_state/state/task.py +44 -0
  109. localstack/services/stepfunctions/asl/eval/environment.py +30 -22
  110. localstack/services/stepfunctions/asl/eval/states.py +1 -1
  111. localstack/services/stepfunctions/asl/eval/test_state/environment.py +49 -9
  112. localstack/services/stepfunctions/asl/eval/test_state/program_state.py +22 -0
  113. localstack/services/stepfunctions/asl/jsonata/jsonata.py +5 -1
  114. localstack/services/stepfunctions/asl/parse/preprocessor.py +67 -24
  115. localstack/services/stepfunctions/asl/parse/test_state/asl_parser.py +5 -4
  116. localstack/services/stepfunctions/asl/parse/test_state/preprocessor.py +222 -31
  117. localstack/services/stepfunctions/asl/static_analyser/test_state/test_state_analyser.py +170 -22
  118. localstack/services/stepfunctions/backend/execution.py +6 -6
  119. localstack/services/stepfunctions/backend/execution_worker.py +5 -5
  120. localstack/services/stepfunctions/backend/test_state/execution.py +36 -0
  121. localstack/services/stepfunctions/backend/test_state/execution_worker.py +33 -1
  122. localstack/services/stepfunctions/backend/test_state/test_state_mock.py +127 -0
  123. localstack/services/stepfunctions/local_mocking/__init__.py +9 -0
  124. localstack/services/stepfunctions/{mocking → local_mocking}/mock_config.py +24 -17
  125. localstack/services/stepfunctions/provider.py +78 -27
  126. localstack/services/stepfunctions/test_state/mock_config.py +47 -0
  127. localstack/testing/pytest/fixtures.py +28 -0
  128. localstack/testing/snapshots/transformer_utility.py +7 -0
  129. localstack/testing/testselection/matching.py +0 -1
  130. localstack/utils/analytics/publisher.py +37 -155
  131. localstack/utils/analytics/service_request_aggregator.py +6 -4
  132. localstack/utils/aws/arns.py +7 -0
  133. localstack/utils/aws/client_types.py +0 -8
  134. localstack/utils/batching.py +258 -0
  135. localstack/utils/catalog/catalog_loader.py +111 -3
  136. localstack/utils/collections.py +23 -11
  137. localstack/utils/crypto.py +109 -0
  138. localstack/version.py +2 -2
  139. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/METADATA +7 -6
  140. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/RECORD +149 -141
  141. localstack_core-4.11.2.dev14.dist-info/plux.json +1 -0
  142. localstack/services/stepfunctions/mocking/__init__.py +0 -0
  143. localstack/utils/batch_policy.py +0 -124
  144. localstack_core-4.10.1.dev7.dist-info/plux.json +0 -1
  145. /localstack/services/stepfunctions/{mocking → local_mocking}/mock_config_file.py +0 -0
  146. {localstack_core-4.10.1.dev7.data → localstack_core-4.11.2.dev14.data}/scripts/localstack +0 -0
  147. {localstack_core-4.10.1.dev7.data → localstack_core-4.11.2.dev14.data}/scripts/localstack-supervisor +0 -0
  148. {localstack_core-4.10.1.dev7.data → localstack_core-4.11.2.dev14.data}/scripts/localstack.bat +0 -0
  149. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/WHEEL +0 -0
  150. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/entry_points.txt +0 -0
  151. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/licenses/LICENSE.txt +0 -0
  152. {localstack_core-4.10.1.dev7.dist-info → localstack_core-4.11.2.dev14.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,7 @@
1
+ from collections.abc import Iterable, Iterator
1
2
  from datetime import datetime
2
3
  from enum import StrEnum
3
- from typing import IO, Dict, Iterable, Iterator, List, Optional, TypedDict, Union
4
+ from typing import IO, TypedDict
4
5
 
5
6
  from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
6
7
 
@@ -12,6 +13,9 @@ Arn = str
12
13
  BatchSize = int
13
14
  BisectBatchOnFunctionError = bool
14
15
  Boolean = bool
16
+ CapacityProviderArn = str
17
+ CapacityProviderMaxVCpuCount = int
18
+ CapacityProviderName = str
15
19
  CodeSigningConfigArn = str
16
20
  CodeSigningConfigId = str
17
21
  CollectionName = str
@@ -25,19 +29,23 @@ EnvironmentVariableValue = str
25
29
  EphemeralStorageSize = int
26
30
  EventSourceMappingArn = str
27
31
  EventSourceToken = str
32
+ ExecutionEnvironmentMemoryGiBPerVCpu = float
28
33
  FileSystemArn = str
29
34
  FilterCriteriaErrorCode = str
30
35
  FilterCriteriaErrorMessage = str
31
36
  FunctionArn = str
32
37
  FunctionName = str
38
+ FunctionScalingConfigExecutionEnvironments = int
33
39
  FunctionUrl = str
34
40
  FunctionUrlQualifier = str
35
41
  Handler = str
36
42
  Header = str
37
43
  HttpStatus = int
44
+ InstanceType = str
38
45
  Integer = int
39
46
  InvokedViaFunctionUrl = bool
40
47
  KMSKeyArn = str
48
+ KMSKeyArnNonEmpty = str
41
49
  LastUpdateStatusReason = str
42
50
  LayerArn = str
43
51
  LayerName = str
@@ -49,6 +57,7 @@ LocalMountPath = str
49
57
  LogGroup = str
50
58
  MasterRegion = str
51
59
  MaxAge = int
60
+ MaxFiftyListItems = int
52
61
  MaxFunctionEventInvokeConfigListItems = int
53
62
  MaxItems = int
54
63
  MaxLayerListItems = int
@@ -63,19 +72,24 @@ MaximumRetryAttempts = int
63
72
  MaximumRetryAttemptsEventSourceMapping = int
64
73
  MemorySize = int
65
74
  Method = str
75
+ MetricTargetValue = float
66
76
  MinimumNumberOfPollers = int
67
77
  NameSpacedFunctionArn = str
68
78
  NamespacedFunctionName = str
69
79
  NamespacedStatementId = str
70
80
  NonNegativeInteger = int
71
81
  NullableBoolean = bool
82
+ NumericLatestPublishedOrAliasQualifier = str
72
83
  OrganizationId = str
73
84
  Origin = str
74
85
  ParallelizationFactor = int
75
86
  Pattern = str
87
+ PerExecutionEnvironmentMaxConcurrency = int
76
88
  PositiveInteger = int
77
89
  Principal = str
78
90
  PrincipalOrgID = str
91
+ ProvisionedPollerGroupName = str
92
+ PublishedFunctionQualifier = str
79
93
  Qualifier = str
80
94
  Queue = str
81
95
  ReservedConcurrentExecutions = int
@@ -98,6 +112,7 @@ TagValue = str
98
112
  TaggableResource = str
99
113
  TagsErrorCode = str
100
114
  TagsErrorMessage = str
115
+ TenantId = str
101
116
  Timeout = int
102
117
  Timestamp = str
103
118
  Topic = str
@@ -106,6 +121,7 @@ URI = str
106
121
  UnqualifiedFunctionName = str
107
122
  UnreservedConcurrentExecutions = int
108
123
  Version = str
124
+ VersionWithLatestPublished = str
109
125
  VpcId = str
110
126
  Weight = float
111
127
  WorkingDirectory = str
@@ -125,6 +141,22 @@ class Architecture(StrEnum):
125
141
  arm64 = "arm64"
126
142
 
127
143
 
144
+ class CapacityProviderPredefinedMetricType(StrEnum):
145
+ LambdaCapacityProviderAverageCPUUtilization = "LambdaCapacityProviderAverageCPUUtilization"
146
+
147
+
148
+ class CapacityProviderScalingMode(StrEnum):
149
+ Auto = "Auto"
150
+ Manual = "Manual"
151
+
152
+
153
+ class CapacityProviderState(StrEnum):
154
+ Pending = "Pending"
155
+ Active = "Active"
156
+ Failed = "Failed"
157
+ Deleting = "Deleting"
158
+
159
+
128
160
  class CodeSigningPolicy(StrEnum):
129
161
  Warn = "Warn"
130
162
  Enforce = "Enforce"
@@ -162,6 +194,10 @@ class FunctionVersion(StrEnum):
162
194
  ALL = "ALL"
163
195
 
164
196
 
197
+ class FunctionVersionLatestPublished(StrEnum):
198
+ LATEST_PUBLISHED = "LATEST_PUBLISHED"
199
+
200
+
165
201
  class InvocationType(StrEnum):
166
202
  Event = "Event"
167
203
  RequestResponse = "RequestResponse"
@@ -212,6 +248,18 @@ class LastUpdateStatusReasonCode(StrEnum):
212
248
  InvalidRuntime = "InvalidRuntime"
213
249
  InvalidZipFileException = "InvalidZipFileException"
214
250
  FunctionError = "FunctionError"
251
+ VcpuLimitExceeded = "VcpuLimitExceeded"
252
+ CapacityProviderScalingLimitExceeded = "CapacityProviderScalingLimitExceeded"
253
+ InsufficientCapacity = "InsufficientCapacity"
254
+ EC2RequestLimitExceeded = "EC2RequestLimitExceeded"
255
+ FunctionError_InitTimeout = "FunctionError.InitTimeout"
256
+ FunctionError_RuntimeInitError = "FunctionError.RuntimeInitError"
257
+ FunctionError_ExtensionInitError = "FunctionError.ExtensionInitError"
258
+ FunctionError_InvalidEntryPoint = "FunctionError.InvalidEntryPoint"
259
+ FunctionError_InvalidWorkingDirectory = "FunctionError.InvalidWorkingDirectory"
260
+ FunctionError_PermissionDenied = "FunctionError.PermissionDenied"
261
+ FunctionError_TooManyExtensions = "FunctionError.TooManyExtensions"
262
+ FunctionError_InitResourceExhausted = "FunctionError.InitResourceExhausted"
215
263
 
216
264
 
217
265
  class LogFormat(StrEnum):
@@ -287,9 +335,9 @@ class Runtime(StrEnum):
287
335
  java21 = "java21"
288
336
  python3_13 = "python3.13"
289
337
  nodejs22_x = "nodejs22.x"
290
- java25 = "java25"
291
338
  nodejs24_x = "nodejs24.x"
292
339
  python3_14 = "python3.14"
340
+ java25 = "java25"
293
341
 
294
342
 
295
343
  class SchemaRegistryEventRecordFormat(StrEnum):
@@ -323,6 +371,10 @@ class State(StrEnum):
323
371
  Active = "Active"
324
372
  Inactive = "Inactive"
325
373
  Failed = "Failed"
374
+ Deactivating = "Deactivating"
375
+ Deactivated = "Deactivated"
376
+ ActiveNonInvocable = "ActiveNonInvocable"
377
+ Deleting = "Deleting"
326
378
 
327
379
 
328
380
  class StateReasonCode(StrEnum):
@@ -350,6 +402,18 @@ class StateReasonCode(StrEnum):
350
402
  InvalidRuntime = "InvalidRuntime"
351
403
  InvalidZipFileException = "InvalidZipFileException"
352
404
  FunctionError = "FunctionError"
405
+ VcpuLimitExceeded = "VcpuLimitExceeded"
406
+ CapacityProviderScalingLimitExceeded = "CapacityProviderScalingLimitExceeded"
407
+ InsufficientCapacity = "InsufficientCapacity"
408
+ EC2RequestLimitExceeded = "EC2RequestLimitExceeded"
409
+ FunctionError_InitTimeout = "FunctionError.InitTimeout"
410
+ FunctionError_RuntimeInitError = "FunctionError.RuntimeInitError"
411
+ FunctionError_ExtensionInitError = "FunctionError.ExtensionInitError"
412
+ FunctionError_InvalidEntryPoint = "FunctionError.InvalidEntryPoint"
413
+ FunctionError_InvalidWorkingDirectory = "FunctionError.InvalidWorkingDirectory"
414
+ FunctionError_PermissionDenied = "FunctionError.PermissionDenied"
415
+ FunctionError_TooManyExtensions = "FunctionError.TooManyExtensions"
416
+ FunctionError_InitResourceExhausted = "FunctionError.InitResourceExhausted"
353
417
 
354
418
 
355
419
  class SystemLogLevel(StrEnum):
@@ -358,6 +422,10 @@ class SystemLogLevel(StrEnum):
358
422
  WARN = "WARN"
359
423
 
360
424
 
425
+ class TenantIsolationMode(StrEnum):
426
+ PER_TENANT = "PER_TENANT"
427
+
428
+
361
429
  class ThrottleReason(StrEnum):
362
430
  ConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded"
363
431
  FunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded"
@@ -380,296 +448,317 @@ class UpdateRuntimeOn(StrEnum):
380
448
  FunctionUpdate = "FunctionUpdate"
381
449
 
382
450
 
451
+ class CapacityProviderLimitExceededException(ServiceException):
452
+ code: str = "CapacityProviderLimitExceededException"
453
+ sender_fault: bool = True
454
+ status_code: int = 400
455
+ Type: String | None
456
+
457
+
383
458
  class CodeSigningConfigNotFoundException(ServiceException):
384
459
  code: str = "CodeSigningConfigNotFoundException"
385
460
  sender_fault: bool = True
386
461
  status_code: int = 404
387
- Type: Optional[String]
462
+ Type: String | None
388
463
 
389
464
 
390
465
  class CodeStorageExceededException(ServiceException):
391
466
  code: str = "CodeStorageExceededException"
392
467
  sender_fault: bool = True
393
468
  status_code: int = 400
394
- Type: Optional[String]
469
+ Type: String | None
395
470
 
396
471
 
397
472
  class CodeVerificationFailedException(ServiceException):
398
473
  code: str = "CodeVerificationFailedException"
399
474
  sender_fault: bool = True
400
475
  status_code: int = 400
401
- Type: Optional[String]
476
+ Type: String | None
402
477
 
403
478
 
404
479
  class EC2AccessDeniedException(ServiceException):
405
480
  code: str = "EC2AccessDeniedException"
406
481
  sender_fault: bool = False
407
482
  status_code: int = 502
408
- Type: Optional[String]
483
+ Type: String | None
409
484
 
410
485
 
411
486
  class EC2ThrottledException(ServiceException):
412
487
  code: str = "EC2ThrottledException"
413
488
  sender_fault: bool = False
414
489
  status_code: int = 502
415
- Type: Optional[String]
490
+ Type: String | None
416
491
 
417
492
 
418
493
  class EC2UnexpectedException(ServiceException):
419
494
  code: str = "EC2UnexpectedException"
420
495
  sender_fault: bool = False
421
496
  status_code: int = 502
422
- Type: Optional[String]
423
- EC2ErrorCode: Optional[String]
497
+ Type: String | None
498
+ EC2ErrorCode: String | None
424
499
 
425
500
 
426
501
  class EFSIOException(ServiceException):
427
502
  code: str = "EFSIOException"
428
503
  sender_fault: bool = True
429
504
  status_code: int = 410
430
- Type: Optional[String]
505
+ Type: String | None
431
506
 
432
507
 
433
508
  class EFSMountConnectivityException(ServiceException):
434
509
  code: str = "EFSMountConnectivityException"
435
510
  sender_fault: bool = True
436
511
  status_code: int = 408
437
- Type: Optional[String]
512
+ Type: String | None
438
513
 
439
514
 
440
515
  class EFSMountFailureException(ServiceException):
441
516
  code: str = "EFSMountFailureException"
442
517
  sender_fault: bool = True
443
518
  status_code: int = 403
444
- Type: Optional[String]
519
+ Type: String | None
445
520
 
446
521
 
447
522
  class EFSMountTimeoutException(ServiceException):
448
523
  code: str = "EFSMountTimeoutException"
449
524
  sender_fault: bool = True
450
525
  status_code: int = 408
451
- Type: Optional[String]
526
+ Type: String | None
452
527
 
453
528
 
454
529
  class ENILimitReachedException(ServiceException):
455
530
  code: str = "ENILimitReachedException"
456
531
  sender_fault: bool = False
457
532
  status_code: int = 502
458
- Type: Optional[String]
533
+ Type: String | None
534
+
535
+
536
+ class FunctionVersionsPerCapacityProviderLimitExceededException(ServiceException):
537
+ code: str = "FunctionVersionsPerCapacityProviderLimitExceededException"
538
+ sender_fault: bool = True
539
+ status_code: int = 400
540
+ Type: String | None
459
541
 
460
542
 
461
543
  class InvalidCodeSignatureException(ServiceException):
462
544
  code: str = "InvalidCodeSignatureException"
463
545
  sender_fault: bool = True
464
546
  status_code: int = 400
465
- Type: Optional[String]
547
+ Type: String | None
466
548
 
467
549
 
468
550
  class InvalidParameterValueException(ServiceException):
469
551
  code: str = "InvalidParameterValueException"
470
552
  sender_fault: bool = True
471
553
  status_code: int = 400
472
- Type: Optional[String]
554
+ Type: String | None
473
555
 
474
556
 
475
557
  class InvalidRequestContentException(ServiceException):
476
558
  code: str = "InvalidRequestContentException"
477
559
  sender_fault: bool = True
478
560
  status_code: int = 400
479
- Type: Optional[String]
561
+ Type: String | None
480
562
 
481
563
 
482
564
  class InvalidRuntimeException(ServiceException):
483
565
  code: str = "InvalidRuntimeException"
484
566
  sender_fault: bool = False
485
567
  status_code: int = 502
486
- Type: Optional[String]
568
+ Type: String | None
487
569
 
488
570
 
489
571
  class InvalidSecurityGroupIDException(ServiceException):
490
572
  code: str = "InvalidSecurityGroupIDException"
491
573
  sender_fault: bool = False
492
574
  status_code: int = 502
493
- Type: Optional[String]
575
+ Type: String | None
494
576
 
495
577
 
496
578
  class InvalidSubnetIDException(ServiceException):
497
579
  code: str = "InvalidSubnetIDException"
498
580
  sender_fault: bool = False
499
581
  status_code: int = 502
500
- Type: Optional[String]
582
+ Type: String | None
501
583
 
502
584
 
503
585
  class InvalidZipFileException(ServiceException):
504
586
  code: str = "InvalidZipFileException"
505
587
  sender_fault: bool = False
506
588
  status_code: int = 502
507
- Type: Optional[String]
589
+ Type: String | None
508
590
 
509
591
 
510
592
  class KMSAccessDeniedException(ServiceException):
511
593
  code: str = "KMSAccessDeniedException"
512
594
  sender_fault: bool = False
513
595
  status_code: int = 502
514
- Type: Optional[String]
596
+ Type: String | None
515
597
 
516
598
 
517
599
  class KMSDisabledException(ServiceException):
518
600
  code: str = "KMSDisabledException"
519
601
  sender_fault: bool = False
520
602
  status_code: int = 502
521
- Type: Optional[String]
603
+ Type: String | None
522
604
 
523
605
 
524
606
  class KMSInvalidStateException(ServiceException):
525
607
  code: str = "KMSInvalidStateException"
526
608
  sender_fault: bool = False
527
609
  status_code: int = 502
528
- Type: Optional[String]
610
+ Type: String | None
529
611
 
530
612
 
531
613
  class KMSNotFoundException(ServiceException):
532
614
  code: str = "KMSNotFoundException"
533
615
  sender_fault: bool = False
534
616
  status_code: int = 502
535
- Type: Optional[String]
617
+ Type: String | None
618
+
619
+
620
+ class NoPublishedVersionException(ServiceException):
621
+ code: str = "NoPublishedVersionException"
622
+ sender_fault: bool = True
623
+ status_code: int = 400
624
+ Type: String | None
536
625
 
537
626
 
538
627
  class PolicyLengthExceededException(ServiceException):
539
628
  code: str = "PolicyLengthExceededException"
540
629
  sender_fault: bool = True
541
630
  status_code: int = 400
542
- Type: Optional[String]
631
+ Type: String | None
543
632
 
544
633
 
545
634
  class PreconditionFailedException(ServiceException):
546
635
  code: str = "PreconditionFailedException"
547
636
  sender_fault: bool = True
548
637
  status_code: int = 412
549
- Type: Optional[String]
638
+ Type: String | None
550
639
 
551
640
 
552
641
  class ProvisionedConcurrencyConfigNotFoundException(ServiceException):
553
642
  code: str = "ProvisionedConcurrencyConfigNotFoundException"
554
643
  sender_fault: bool = True
555
644
  status_code: int = 404
556
- Type: Optional[String]
645
+ Type: String | None
557
646
 
558
647
 
559
648
  class RecursiveInvocationException(ServiceException):
560
649
  code: str = "RecursiveInvocationException"
561
650
  sender_fault: bool = True
562
651
  status_code: int = 400
563
- Type: Optional[String]
652
+ Type: String | None
564
653
 
565
654
 
566
655
  class RequestTooLargeException(ServiceException):
567
656
  code: str = "RequestTooLargeException"
568
657
  sender_fault: bool = True
569
658
  status_code: int = 413
570
- Type: Optional[String]
659
+ Type: String | None
571
660
 
572
661
 
573
662
  class ResourceConflictException(ServiceException):
574
663
  code: str = "ResourceConflictException"
575
664
  sender_fault: bool = True
576
665
  status_code: int = 409
577
- Type: Optional[String]
666
+ Type: String | None
578
667
 
579
668
 
580
669
  class ResourceInUseException(ServiceException):
581
670
  code: str = "ResourceInUseException"
582
671
  sender_fault: bool = True
583
672
  status_code: int = 400
584
- Type: Optional[String]
673
+ Type: String | None
585
674
 
586
675
 
587
676
  class ResourceNotFoundException(ServiceException):
588
677
  code: str = "ResourceNotFoundException"
589
678
  sender_fault: bool = True
590
679
  status_code: int = 404
591
- Type: Optional[String]
680
+ Type: String | None
592
681
 
593
682
 
594
683
  class ResourceNotReadyException(ServiceException):
595
684
  code: str = "ResourceNotReadyException"
596
685
  sender_fault: bool = False
597
686
  status_code: int = 502
598
- Type: Optional[String]
687
+ Type: String | None
599
688
 
600
689
 
601
690
  class SerializedRequestEntityTooLargeException(ServiceException):
602
691
  code: str = "SerializedRequestEntityTooLargeException"
603
692
  sender_fault: bool = True
604
693
  status_code: int = 413
605
- Type: Optional[String]
694
+ Type: String | None
606
695
 
607
696
 
608
697
  class ServiceException(ServiceException):
609
698
  code: str = "ServiceException"
610
699
  sender_fault: bool = False
611
700
  status_code: int = 500
612
- Type: Optional[String]
701
+ Type: String | None
613
702
 
614
703
 
615
704
  class SnapStartException(ServiceException):
616
705
  code: str = "SnapStartException"
617
706
  sender_fault: bool = True
618
707
  status_code: int = 400
619
- Type: Optional[String]
708
+ Type: String | None
620
709
 
621
710
 
622
711
  class SnapStartNotReadyException(ServiceException):
623
712
  code: str = "SnapStartNotReadyException"
624
713
  sender_fault: bool = True
625
714
  status_code: int = 409
626
- Type: Optional[String]
715
+ Type: String | None
627
716
 
628
717
 
629
718
  class SnapStartTimeoutException(ServiceException):
630
719
  code: str = "SnapStartTimeoutException"
631
720
  sender_fault: bool = True
632
721
  status_code: int = 408
633
- Type: Optional[String]
722
+ Type: String | None
634
723
 
635
724
 
636
725
  class SubnetIPAddressLimitReachedException(ServiceException):
637
726
  code: str = "SubnetIPAddressLimitReachedException"
638
727
  sender_fault: bool = False
639
728
  status_code: int = 502
640
- Type: Optional[String]
729
+ Type: String | None
641
730
 
642
731
 
643
732
  class TooManyRequestsException(ServiceException):
644
733
  code: str = "TooManyRequestsException"
645
734
  sender_fault: bool = True
646
735
  status_code: int = 429
647
- retryAfterSeconds: Optional[String]
648
- Type: Optional[String]
649
- Reason: Optional[ThrottleReason]
736
+ retryAfterSeconds: String | None
737
+ Type: String | None
738
+ Reason: ThrottleReason | None
650
739
 
651
740
 
652
741
  class UnsupportedMediaTypeException(ServiceException):
653
742
  code: str = "UnsupportedMediaTypeException"
654
743
  sender_fault: bool = True
655
744
  status_code: int = 415
656
- Type: Optional[String]
745
+ Type: String | None
657
746
 
658
747
 
659
748
  Long = int
660
749
 
661
750
 
662
751
  class AccountLimit(TypedDict, total=False):
663
- TotalCodeSize: Optional[Long]
664
- CodeSizeUnzipped: Optional[Long]
665
- CodeSizeZipped: Optional[Long]
666
- ConcurrentExecutions: Optional[Integer]
667
- UnreservedConcurrentExecutions: Optional[UnreservedConcurrentExecutions]
752
+ TotalCodeSize: Long | None
753
+ CodeSizeUnzipped: Long | None
754
+ CodeSizeZipped: Long | None
755
+ ConcurrentExecutions: Integer | None
756
+ UnreservedConcurrentExecutions: UnreservedConcurrentExecutions | None
668
757
 
669
758
 
670
759
  class AccountUsage(TypedDict, total=False):
671
- TotalCodeSize: Optional[Long]
672
- FunctionCount: Optional[Long]
760
+ TotalCodeSize: Long | None
761
+ FunctionCount: Long | None
673
762
 
674
763
 
675
764
  LayerVersionNumber = int
@@ -681,54 +770,54 @@ class AddLayerVersionPermissionRequest(ServiceRequest):
681
770
  StatementId: StatementId
682
771
  Action: LayerPermissionAllowedAction
683
772
  Principal: LayerPermissionAllowedPrincipal
684
- OrganizationId: Optional[OrganizationId]
685
- RevisionId: Optional[String]
773
+ OrganizationId: OrganizationId | None
774
+ RevisionId: String | None
686
775
 
687
776
 
688
777
  class AddLayerVersionPermissionResponse(TypedDict, total=False):
689
- Statement: Optional[String]
690
- RevisionId: Optional[String]
778
+ Statement: String | None
779
+ RevisionId: String | None
691
780
 
692
781
 
693
782
  class AddPermissionRequest(ServiceRequest):
694
- FunctionName: FunctionName
783
+ FunctionName: NamespacedFunctionName
695
784
  StatementId: StatementId
696
785
  Action: Action
697
786
  Principal: Principal
698
- SourceArn: Optional[Arn]
699
- SourceAccount: Optional[SourceOwner]
700
- EventSourceToken: Optional[EventSourceToken]
701
- Qualifier: Optional[Qualifier]
702
- RevisionId: Optional[String]
703
- PrincipalOrgID: Optional[PrincipalOrgID]
704
- FunctionUrlAuthType: Optional[FunctionUrlAuthType]
705
- InvokedViaFunctionUrl: Optional[InvokedViaFunctionUrl]
787
+ SourceArn: Arn | None
788
+ SourceAccount: SourceOwner | None
789
+ EventSourceToken: EventSourceToken | None
790
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
791
+ RevisionId: String | None
792
+ PrincipalOrgID: PrincipalOrgID | None
793
+ FunctionUrlAuthType: FunctionUrlAuthType | None
794
+ InvokedViaFunctionUrl: InvokedViaFunctionUrl | None
706
795
 
707
796
 
708
797
  class AddPermissionResponse(TypedDict, total=False):
709
- Statement: Optional[String]
798
+ Statement: String | None
710
799
 
711
800
 
712
- AdditionalVersionWeights = Dict[AdditionalVersion, Weight]
801
+ AdditionalVersionWeights = dict[AdditionalVersion, Weight]
713
802
 
714
803
 
715
804
  class AliasRoutingConfiguration(TypedDict, total=False):
716
- AdditionalVersionWeights: Optional[AdditionalVersionWeights]
805
+ AdditionalVersionWeights: AdditionalVersionWeights | None
717
806
 
718
807
 
719
808
  class AliasConfiguration(TypedDict, total=False):
720
- AliasArn: Optional[FunctionArn]
721
- Name: Optional[Alias]
722
- FunctionVersion: Optional[Version]
723
- Description: Optional[Description]
724
- RoutingConfig: Optional[AliasRoutingConfiguration]
725
- RevisionId: Optional[String]
809
+ AliasArn: FunctionArn | None
810
+ Name: Alias | None
811
+ FunctionVersion: Version | None
812
+ Description: Description | None
813
+ RoutingConfig: AliasRoutingConfiguration | None
814
+ RevisionId: String | None
726
815
 
727
816
 
728
- AliasList = List[AliasConfiguration]
729
- AllowMethodsList = List[Method]
730
- AllowOriginsList = List[Origin]
731
- SigningProfileVersionArns = List[Arn]
817
+ AliasList = list[AliasConfiguration]
818
+ AllowMethodsList = list[Method]
819
+ AllowOriginsList = list[Origin]
820
+ SigningProfileVersionArns = list[Arn]
732
821
 
733
822
 
734
823
  class AllowedPublishers(TypedDict, total=False):
@@ -736,87 +825,161 @@ class AllowedPublishers(TypedDict, total=False):
736
825
 
737
826
 
738
827
  class KafkaSchemaValidationConfig(TypedDict, total=False):
739
- Attribute: Optional[KafkaSchemaValidationAttribute]
828
+ Attribute: KafkaSchemaValidationAttribute | None
740
829
 
741
830
 
742
- KafkaSchemaValidationConfigList = List[KafkaSchemaValidationConfig]
831
+ KafkaSchemaValidationConfigList = list[KafkaSchemaValidationConfig]
743
832
 
744
833
 
745
834
  class KafkaSchemaRegistryAccessConfig(TypedDict, total=False):
746
- Type: Optional[KafkaSchemaRegistryAuthType]
747
- URI: Optional[Arn]
835
+ Type: KafkaSchemaRegistryAuthType | None
836
+ URI: Arn | None
748
837
 
749
838
 
750
- KafkaSchemaRegistryAccessConfigList = List[KafkaSchemaRegistryAccessConfig]
839
+ KafkaSchemaRegistryAccessConfigList = list[KafkaSchemaRegistryAccessConfig]
751
840
 
752
841
 
753
842
  class KafkaSchemaRegistryConfig(TypedDict, total=False):
754
- SchemaRegistryURI: Optional[SchemaRegistryUri]
755
- EventRecordFormat: Optional[SchemaRegistryEventRecordFormat]
756
- AccessConfigs: Optional[KafkaSchemaRegistryAccessConfigList]
757
- SchemaValidationConfigs: Optional[KafkaSchemaValidationConfigList]
843
+ SchemaRegistryURI: SchemaRegistryUri | None
844
+ EventRecordFormat: SchemaRegistryEventRecordFormat | None
845
+ AccessConfigs: KafkaSchemaRegistryAccessConfigList | None
846
+ SchemaValidationConfigs: KafkaSchemaValidationConfigList | None
758
847
 
759
848
 
760
849
  class AmazonManagedKafkaEventSourceConfig(TypedDict, total=False):
761
- ConsumerGroupId: Optional[URI]
762
- SchemaRegistryConfig: Optional[KafkaSchemaRegistryConfig]
850
+ ConsumerGroupId: URI | None
851
+ SchemaRegistryConfig: KafkaSchemaRegistryConfig | None
763
852
 
764
853
 
765
- ArchitecturesList = List[Architecture]
854
+ ArchitecturesList = list[Architecture]
766
855
  Blob = bytes
767
856
  BlobStream = bytes
768
857
 
769
858
 
859
+ class TargetTrackingScalingPolicy(TypedDict, total=False):
860
+ PredefinedMetricType: CapacityProviderPredefinedMetricType
861
+ TargetValue: MetricTargetValue
862
+
863
+
864
+ CapacityProviderScalingPoliciesList = list[TargetTrackingScalingPolicy]
865
+
866
+
867
+ class CapacityProviderScalingConfig(TypedDict, total=False):
868
+ MaxVCpuCount: CapacityProviderMaxVCpuCount | None
869
+ ScalingMode: CapacityProviderScalingMode | None
870
+ ScalingPolicies: CapacityProviderScalingPoliciesList | None
871
+
872
+
873
+ InstanceTypeSet = list[InstanceType]
874
+
875
+
876
+ class InstanceRequirements(TypedDict, total=False):
877
+ Architectures: ArchitecturesList | None
878
+ AllowedInstanceTypes: InstanceTypeSet | None
879
+ ExcludedInstanceTypes: InstanceTypeSet | None
880
+
881
+
882
+ class CapacityProviderPermissionsConfig(TypedDict, total=False):
883
+ CapacityProviderOperatorRoleArn: RoleArn
884
+
885
+
886
+ CapacityProviderSecurityGroupIds = list[SecurityGroupId]
887
+ CapacityProviderSubnetIds = list[SubnetId]
888
+
889
+
890
+ class CapacityProviderVpcConfig(TypedDict, total=False):
891
+ SubnetIds: CapacityProviderSubnetIds
892
+ SecurityGroupIds: CapacityProviderSecurityGroupIds
893
+
894
+
895
+ class CapacityProvider(TypedDict, total=False):
896
+ CapacityProviderArn: CapacityProviderArn
897
+ State: CapacityProviderState
898
+ VpcConfig: CapacityProviderVpcConfig
899
+ PermissionsConfig: CapacityProviderPermissionsConfig
900
+ InstanceRequirements: InstanceRequirements | None
901
+ CapacityProviderScalingConfig: CapacityProviderScalingConfig | None
902
+ KmsKeyArn: KMSKeyArn | None
903
+ LastModified: Timestamp | None
904
+
905
+
906
+ class LambdaManagedInstancesCapacityProviderConfig(TypedDict, total=False):
907
+ CapacityProviderArn: CapacityProviderArn
908
+ PerExecutionEnvironmentMaxConcurrency: PerExecutionEnvironmentMaxConcurrency | None
909
+ ExecutionEnvironmentMemoryGiBPerVCpu: ExecutionEnvironmentMemoryGiBPerVCpu | None
910
+
911
+
912
+ class CapacityProviderConfig(TypedDict, total=False):
913
+ LambdaManagedInstancesCapacityProviderConfig: LambdaManagedInstancesCapacityProviderConfig
914
+
915
+
916
+ CapacityProvidersList = list[CapacityProvider]
917
+
918
+
770
919
  class CodeSigningPolicies(TypedDict, total=False):
771
- UntrustedArtifactOnDeployment: Optional[CodeSigningPolicy]
920
+ UntrustedArtifactOnDeployment: CodeSigningPolicy | None
772
921
 
773
922
 
774
923
  class CodeSigningConfig(TypedDict, total=False):
775
924
  CodeSigningConfigId: CodeSigningConfigId
776
925
  CodeSigningConfigArn: CodeSigningConfigArn
777
- Description: Optional[Description]
926
+ Description: Description | None
778
927
  AllowedPublishers: AllowedPublishers
779
928
  CodeSigningPolicies: CodeSigningPolicies
780
929
  LastModified: Timestamp
781
930
 
782
931
 
783
- CodeSigningConfigList = List[CodeSigningConfig]
784
- CompatibleArchitectures = List[Architecture]
785
- CompatibleRuntimes = List[Runtime]
932
+ CodeSigningConfigList = list[CodeSigningConfig]
933
+ CompatibleArchitectures = list[Architecture]
934
+ CompatibleRuntimes = list[Runtime]
786
935
 
787
936
 
788
937
  class Concurrency(TypedDict, total=False):
789
- ReservedConcurrentExecutions: Optional[ReservedConcurrentExecutions]
938
+ ReservedConcurrentExecutions: ReservedConcurrentExecutions | None
790
939
 
791
940
 
792
- HeadersList = List[Header]
941
+ HeadersList = list[Header]
793
942
 
794
943
 
795
944
  class Cors(TypedDict, total=False):
796
- AllowCredentials: Optional[AllowCredentials]
797
- AllowHeaders: Optional[HeadersList]
798
- AllowMethods: Optional[AllowMethodsList]
799
- AllowOrigins: Optional[AllowOriginsList]
800
- ExposeHeaders: Optional[HeadersList]
801
- MaxAge: Optional[MaxAge]
945
+ AllowCredentials: AllowCredentials | None
946
+ AllowHeaders: HeadersList | None
947
+ AllowMethods: AllowMethodsList | None
948
+ AllowOrigins: AllowOriginsList | None
949
+ ExposeHeaders: HeadersList | None
950
+ MaxAge: MaxAge | None
802
951
 
803
952
 
804
953
  class CreateAliasRequest(ServiceRequest):
805
954
  FunctionName: FunctionName
806
955
  Name: Alias
807
- FunctionVersion: Version
808
- Description: Optional[Description]
809
- RoutingConfig: Optional[AliasRoutingConfiguration]
956
+ FunctionVersion: VersionWithLatestPublished
957
+ Description: Description | None
958
+ RoutingConfig: AliasRoutingConfiguration | None
959
+
960
+
961
+ Tags = dict[TagKey, TagValue]
962
+
963
+
964
+ class CreateCapacityProviderRequest(ServiceRequest):
965
+ CapacityProviderName: CapacityProviderName
966
+ VpcConfig: CapacityProviderVpcConfig
967
+ PermissionsConfig: CapacityProviderPermissionsConfig
968
+ InstanceRequirements: InstanceRequirements | None
969
+ CapacityProviderScalingConfig: CapacityProviderScalingConfig | None
970
+ KmsKeyArn: KMSKeyArnNonEmpty | None
971
+ Tags: Tags | None
810
972
 
811
973
 
812
- Tags = Dict[TagKey, TagValue]
974
+ class CreateCapacityProviderResponse(TypedDict, total=False):
975
+ CapacityProvider: CapacityProvider
813
976
 
814
977
 
815
978
  class CreateCodeSigningConfigRequest(ServiceRequest):
816
- Description: Optional[Description]
979
+ Description: Description | None
817
980
  AllowedPublishers: AllowedPublishers
818
- CodeSigningPolicies: Optional[CodeSigningPolicies]
819
- Tags: Optional[Tags]
981
+ CodeSigningPolicies: CodeSigningPolicies | None
982
+ Tags: Tags | None
820
983
 
821
984
 
822
985
  class CreateCodeSigningConfigResponse(TypedDict, total=False):
@@ -824,130 +987,135 @@ class CreateCodeSigningConfigResponse(TypedDict, total=False):
824
987
 
825
988
 
826
989
  class ProvisionedPollerConfig(TypedDict, total=False):
827
- MinimumPollers: Optional[MinimumNumberOfPollers]
828
- MaximumPollers: Optional[MaximumNumberOfPollers]
990
+ MinimumPollers: MinimumNumberOfPollers | None
991
+ MaximumPollers: MaximumNumberOfPollers | None
992
+ PollerGroupName: ProvisionedPollerGroupName | None
829
993
 
830
994
 
831
- EventSourceMappingMetricList = List[EventSourceMappingMetric]
995
+ EventSourceMappingMetricList = list[EventSourceMappingMetric]
832
996
 
833
997
 
834
998
  class EventSourceMappingMetricsConfig(TypedDict, total=False):
835
- Metrics: Optional[EventSourceMappingMetricList]
999
+ Metrics: EventSourceMappingMetricList | None
836
1000
 
837
1001
 
838
1002
  class DocumentDBEventSourceConfig(TypedDict, total=False):
839
- DatabaseName: Optional[DatabaseName]
840
- CollectionName: Optional[CollectionName]
841
- FullDocument: Optional[FullDocument]
1003
+ DatabaseName: DatabaseName | None
1004
+ CollectionName: CollectionName | None
1005
+ FullDocument: FullDocument | None
842
1006
 
843
1007
 
844
1008
  class ScalingConfig(TypedDict, total=False):
845
- MaximumConcurrency: Optional[MaximumConcurrency]
1009
+ MaximumConcurrency: MaximumConcurrency | None
846
1010
 
847
1011
 
848
1012
  class SelfManagedKafkaEventSourceConfig(TypedDict, total=False):
849
- ConsumerGroupId: Optional[URI]
850
- SchemaRegistryConfig: Optional[KafkaSchemaRegistryConfig]
1013
+ ConsumerGroupId: URI | None
1014
+ SchemaRegistryConfig: KafkaSchemaRegistryConfig | None
851
1015
 
852
1016
 
853
- FunctionResponseTypeList = List[FunctionResponseType]
854
- EndpointLists = List[Endpoint]
855
- Endpoints = Dict[EndPointType, EndpointLists]
1017
+ FunctionResponseTypeList = list[FunctionResponseType]
1018
+ EndpointLists = list[Endpoint]
1019
+ Endpoints = dict[EndPointType, EndpointLists]
856
1020
 
857
1021
 
858
1022
  class SelfManagedEventSource(TypedDict, total=False):
859
- Endpoints: Optional[Endpoints]
1023
+ Endpoints: Endpoints | None
860
1024
 
861
1025
 
862
1026
  class SourceAccessConfiguration(TypedDict, total=False):
863
- Type: Optional[SourceAccessType]
864
- URI: Optional[URI]
1027
+ Type: SourceAccessType | None
1028
+ URI: URI | None
865
1029
 
866
1030
 
867
- SourceAccessConfigurations = List[SourceAccessConfiguration]
868
- Queues = List[Queue]
869
- Topics = List[Topic]
1031
+ SourceAccessConfigurations = list[SourceAccessConfiguration]
1032
+ Queues = list[Queue]
1033
+ Topics = list[Topic]
870
1034
 
871
1035
 
872
1036
  class OnFailure(TypedDict, total=False):
873
- Destination: Optional[DestinationArn]
1037
+ Destination: DestinationArn | None
874
1038
 
875
1039
 
876
1040
  class OnSuccess(TypedDict, total=False):
877
- Destination: Optional[DestinationArn]
1041
+ Destination: DestinationArn | None
878
1042
 
879
1043
 
880
1044
  class DestinationConfig(TypedDict, total=False):
881
- OnSuccess: Optional[OnSuccess]
882
- OnFailure: Optional[OnFailure]
1045
+ OnSuccess: OnSuccess | None
1046
+ OnFailure: OnFailure | None
883
1047
 
884
1048
 
885
1049
  Date = datetime
886
1050
 
887
1051
 
888
1052
  class Filter(TypedDict, total=False):
889
- Pattern: Optional[Pattern]
1053
+ Pattern: Pattern | None
890
1054
 
891
1055
 
892
- FilterList = List[Filter]
1056
+ FilterList = list[Filter]
893
1057
 
894
1058
 
895
1059
  class FilterCriteria(TypedDict, total=False):
896
- Filters: Optional[FilterList]
1060
+ Filters: FilterList | None
897
1061
 
898
1062
 
899
1063
  class CreateEventSourceMappingRequest(ServiceRequest):
900
- EventSourceArn: Optional[Arn]
901
- FunctionName: FunctionName
902
- Enabled: Optional[Enabled]
903
- BatchSize: Optional[BatchSize]
904
- FilterCriteria: Optional[FilterCriteria]
905
- MaximumBatchingWindowInSeconds: Optional[MaximumBatchingWindowInSeconds]
906
- ParallelizationFactor: Optional[ParallelizationFactor]
907
- StartingPosition: Optional[EventSourcePosition]
908
- StartingPositionTimestamp: Optional[Date]
909
- DestinationConfig: Optional[DestinationConfig]
910
- MaximumRecordAgeInSeconds: Optional[MaximumRecordAgeInSeconds]
911
- BisectBatchOnFunctionError: Optional[BisectBatchOnFunctionError]
912
- MaximumRetryAttempts: Optional[MaximumRetryAttemptsEventSourceMapping]
913
- Tags: Optional[Tags]
914
- TumblingWindowInSeconds: Optional[TumblingWindowInSeconds]
915
- Topics: Optional[Topics]
916
- Queues: Optional[Queues]
917
- SourceAccessConfigurations: Optional[SourceAccessConfigurations]
918
- SelfManagedEventSource: Optional[SelfManagedEventSource]
919
- FunctionResponseTypes: Optional[FunctionResponseTypeList]
920
- AmazonManagedKafkaEventSourceConfig: Optional[AmazonManagedKafkaEventSourceConfig]
921
- SelfManagedKafkaEventSourceConfig: Optional[SelfManagedKafkaEventSourceConfig]
922
- ScalingConfig: Optional[ScalingConfig]
923
- DocumentDBEventSourceConfig: Optional[DocumentDBEventSourceConfig]
924
- KMSKeyArn: Optional[KMSKeyArn]
925
- MetricsConfig: Optional[EventSourceMappingMetricsConfig]
926
- ProvisionedPollerConfig: Optional[ProvisionedPollerConfig]
1064
+ EventSourceArn: Arn | None
1065
+ FunctionName: NamespacedFunctionName
1066
+ Enabled: Enabled | None
1067
+ BatchSize: BatchSize | None
1068
+ FilterCriteria: FilterCriteria | None
1069
+ MaximumBatchingWindowInSeconds: MaximumBatchingWindowInSeconds | None
1070
+ ParallelizationFactor: ParallelizationFactor | None
1071
+ StartingPosition: EventSourcePosition | None
1072
+ StartingPositionTimestamp: Date | None
1073
+ DestinationConfig: DestinationConfig | None
1074
+ MaximumRecordAgeInSeconds: MaximumRecordAgeInSeconds | None
1075
+ BisectBatchOnFunctionError: BisectBatchOnFunctionError | None
1076
+ MaximumRetryAttempts: MaximumRetryAttemptsEventSourceMapping | None
1077
+ Tags: Tags | None
1078
+ TumblingWindowInSeconds: TumblingWindowInSeconds | None
1079
+ Topics: Topics | None
1080
+ Queues: Queues | None
1081
+ SourceAccessConfigurations: SourceAccessConfigurations | None
1082
+ SelfManagedEventSource: SelfManagedEventSource | None
1083
+ FunctionResponseTypes: FunctionResponseTypeList | None
1084
+ AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig | None
1085
+ SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig | None
1086
+ ScalingConfig: ScalingConfig | None
1087
+ DocumentDBEventSourceConfig: DocumentDBEventSourceConfig | None
1088
+ KMSKeyArn: KMSKeyArn | None
1089
+ MetricsConfig: EventSourceMappingMetricsConfig | None
1090
+ ProvisionedPollerConfig: ProvisionedPollerConfig | None
1091
+
1092
+
1093
+ class TenancyConfig(TypedDict, total=False):
1094
+ TenantIsolationMode: TenantIsolationMode
927
1095
 
928
1096
 
929
1097
  class LoggingConfig(TypedDict, total=False):
930
- LogFormat: Optional[LogFormat]
931
- ApplicationLogLevel: Optional[ApplicationLogLevel]
932
- SystemLogLevel: Optional[SystemLogLevel]
933
- LogGroup: Optional[LogGroup]
1098
+ LogFormat: LogFormat | None
1099
+ ApplicationLogLevel: ApplicationLogLevel | None
1100
+ SystemLogLevel: SystemLogLevel | None
1101
+ LogGroup: LogGroup | None
934
1102
 
935
1103
 
936
1104
  class SnapStart(TypedDict, total=False):
937
- ApplyOn: Optional[SnapStartApplyOn]
1105
+ ApplyOn: SnapStartApplyOn | None
938
1106
 
939
1107
 
940
1108
  class EphemeralStorage(TypedDict, total=False):
941
1109
  Size: EphemeralStorageSize
942
1110
 
943
1111
 
944
- StringList = List[String]
1112
+ StringList = list[String]
945
1113
 
946
1114
 
947
1115
  class ImageConfig(TypedDict, total=False):
948
- EntryPoint: Optional[StringList]
949
- Command: Optional[StringList]
950
- WorkingDirectory: Optional[WorkingDirectory]
1116
+ EntryPoint: StringList | None
1117
+ Command: StringList | None
1118
+ WorkingDirectory: WorkingDirectory | None
951
1119
 
952
1120
 
953
1121
  class FileSystemConfig(TypedDict, total=False):
@@ -955,86 +1123,89 @@ class FileSystemConfig(TypedDict, total=False):
955
1123
  LocalMountPath: LocalMountPath
956
1124
 
957
1125
 
958
- FileSystemConfigList = List[FileSystemConfig]
959
- LayerList = List[LayerVersionArn]
1126
+ FileSystemConfigList = list[FileSystemConfig]
1127
+ LayerList = list[LayerVersionArn]
960
1128
 
961
1129
 
962
1130
  class TracingConfig(TypedDict, total=False):
963
- Mode: Optional[TracingMode]
1131
+ Mode: TracingMode | None
964
1132
 
965
1133
 
966
- EnvironmentVariables = Dict[EnvironmentVariableName, EnvironmentVariableValue]
1134
+ EnvironmentVariables = dict[EnvironmentVariableName, EnvironmentVariableValue]
967
1135
 
968
1136
 
969
1137
  class Environment(TypedDict, total=False):
970
- Variables: Optional[EnvironmentVariables]
1138
+ Variables: EnvironmentVariables | None
971
1139
 
972
1140
 
973
1141
  class DeadLetterConfig(TypedDict, total=False):
974
- TargetArn: Optional[ResourceArn]
1142
+ TargetArn: ResourceArn | None
975
1143
 
976
1144
 
977
- SecurityGroupIds = List[SecurityGroupId]
978
- SubnetIds = List[SubnetId]
1145
+ SecurityGroupIds = list[SecurityGroupId]
1146
+ SubnetIds = list[SubnetId]
979
1147
 
980
1148
 
981
1149
  class VpcConfig(TypedDict, total=False):
982
- SubnetIds: Optional[SubnetIds]
983
- SecurityGroupIds: Optional[SecurityGroupIds]
984
- Ipv6AllowedForDualStack: Optional[NullableBoolean]
1150
+ SubnetIds: SubnetIds | None
1151
+ SecurityGroupIds: SecurityGroupIds | None
1152
+ Ipv6AllowedForDualStack: NullableBoolean | None
985
1153
 
986
1154
 
987
1155
  class FunctionCode(TypedDict, total=False):
988
- ZipFile: Optional[Blob]
989
- S3Bucket: Optional[S3Bucket]
990
- S3Key: Optional[S3Key]
991
- S3ObjectVersion: Optional[S3ObjectVersion]
992
- ImageUri: Optional[String]
993
- SourceKMSKeyArn: Optional[KMSKeyArn]
1156
+ ZipFile: Blob | None
1157
+ S3Bucket: S3Bucket | None
1158
+ S3Key: S3Key | None
1159
+ S3ObjectVersion: S3ObjectVersion | None
1160
+ ImageUri: String | None
1161
+ SourceKMSKeyArn: KMSKeyArn | None
994
1162
 
995
1163
 
996
1164
  class CreateFunctionRequest(ServiceRequest):
997
1165
  FunctionName: FunctionName
998
- Runtime: Optional[Runtime]
1166
+ Runtime: Runtime | None
999
1167
  Role: RoleArn
1000
- Handler: Optional[Handler]
1168
+ Handler: Handler | None
1001
1169
  Code: FunctionCode
1002
- Description: Optional[Description]
1003
- Timeout: Optional[Timeout]
1004
- MemorySize: Optional[MemorySize]
1005
- Publish: Optional[Boolean]
1006
- VpcConfig: Optional[VpcConfig]
1007
- PackageType: Optional[PackageType]
1008
- DeadLetterConfig: Optional[DeadLetterConfig]
1009
- Environment: Optional[Environment]
1010
- KMSKeyArn: Optional[KMSKeyArn]
1011
- TracingConfig: Optional[TracingConfig]
1012
- Tags: Optional[Tags]
1013
- Layers: Optional[LayerList]
1014
- FileSystemConfigs: Optional[FileSystemConfigList]
1015
- ImageConfig: Optional[ImageConfig]
1016
- CodeSigningConfigArn: Optional[CodeSigningConfigArn]
1017
- Architectures: Optional[ArchitecturesList]
1018
- EphemeralStorage: Optional[EphemeralStorage]
1019
- SnapStart: Optional[SnapStart]
1020
- LoggingConfig: Optional[LoggingConfig]
1170
+ Description: Description | None
1171
+ Timeout: Timeout | None
1172
+ MemorySize: MemorySize | None
1173
+ Publish: Boolean | None
1174
+ VpcConfig: VpcConfig | None
1175
+ PackageType: PackageType | None
1176
+ DeadLetterConfig: DeadLetterConfig | None
1177
+ Environment: Environment | None
1178
+ KMSKeyArn: KMSKeyArn | None
1179
+ TracingConfig: TracingConfig | None
1180
+ Tags: Tags | None
1181
+ Layers: LayerList | None
1182
+ FileSystemConfigs: FileSystemConfigList | None
1183
+ ImageConfig: ImageConfig | None
1184
+ CodeSigningConfigArn: CodeSigningConfigArn | None
1185
+ Architectures: ArchitecturesList | None
1186
+ EphemeralStorage: EphemeralStorage | None
1187
+ SnapStart: SnapStart | None
1188
+ LoggingConfig: LoggingConfig | None
1189
+ CapacityProviderConfig: CapacityProviderConfig | None
1190
+ PublishTo: FunctionVersionLatestPublished | None
1191
+ TenancyConfig: TenancyConfig | None
1021
1192
 
1022
1193
 
1023
1194
  class CreateFunctionUrlConfigRequest(ServiceRequest):
1024
1195
  FunctionName: FunctionName
1025
- Qualifier: Optional[FunctionUrlQualifier]
1196
+ Qualifier: FunctionUrlQualifier | None
1026
1197
  AuthType: FunctionUrlAuthType
1027
- Cors: Optional[Cors]
1028
- InvokeMode: Optional[InvokeMode]
1198
+ Cors: Cors | None
1199
+ InvokeMode: InvokeMode | None
1029
1200
 
1030
1201
 
1031
1202
  class CreateFunctionUrlConfigResponse(TypedDict, total=False):
1032
1203
  FunctionUrl: FunctionUrl
1033
1204
  FunctionArn: FunctionArn
1034
1205
  AuthType: FunctionUrlAuthType
1035
- Cors: Optional[Cors]
1206
+ Cors: Cors | None
1036
1207
  CreationTime: Timestamp
1037
- InvokeMode: Optional[InvokeMode]
1208
+ InvokeMode: InvokeMode | None
1038
1209
 
1039
1210
 
1040
1211
  class DeleteAliasRequest(ServiceRequest):
@@ -1042,6 +1213,14 @@ class DeleteAliasRequest(ServiceRequest):
1042
1213
  Name: Alias
1043
1214
 
1044
1215
 
1216
+ class DeleteCapacityProviderRequest(ServiceRequest):
1217
+ CapacityProviderName: CapacityProviderName
1218
+
1219
+
1220
+ class DeleteCapacityProviderResponse(TypedDict, total=False):
1221
+ CapacityProvider: CapacityProvider
1222
+
1223
+
1045
1224
  class DeleteCodeSigningConfigRequest(ServiceRequest):
1046
1225
  CodeSigningConfigArn: CodeSigningConfigArn
1047
1226
 
@@ -1055,7 +1234,7 @@ class DeleteEventSourceMappingRequest(ServiceRequest):
1055
1234
 
1056
1235
 
1057
1236
  class DeleteFunctionCodeSigningConfigRequest(ServiceRequest):
1058
- FunctionName: FunctionName
1237
+ FunctionName: NamespacedFunctionName
1059
1238
 
1060
1239
 
1061
1240
  class DeleteFunctionConcurrencyRequest(ServiceRequest):
@@ -1063,18 +1242,22 @@ class DeleteFunctionConcurrencyRequest(ServiceRequest):
1063
1242
 
1064
1243
 
1065
1244
  class DeleteFunctionEventInvokeConfigRequest(ServiceRequest):
1066
- FunctionName: FunctionName
1067
- Qualifier: Optional[Qualifier]
1245
+ FunctionName: NamespacedFunctionName
1246
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1068
1247
 
1069
1248
 
1070
1249
  class DeleteFunctionRequest(ServiceRequest):
1071
- FunctionName: FunctionName
1072
- Qualifier: Optional[Qualifier]
1250
+ FunctionName: NamespacedFunctionName
1251
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1252
+
1253
+
1254
+ class DeleteFunctionResponse(TypedDict, total=False):
1255
+ StatusCode: Integer | None
1073
1256
 
1074
1257
 
1075
1258
  class DeleteFunctionUrlConfigRequest(ServiceRequest):
1076
1259
  FunctionName: FunctionName
1077
- Qualifier: Optional[FunctionUrlQualifier]
1260
+ Qualifier: FunctionUrlQualifier | None
1078
1261
 
1079
1262
 
1080
1263
  class DeleteLayerVersionRequest(ServiceRequest):
@@ -1088,162 +1271,170 @@ class DeleteProvisionedConcurrencyConfigRequest(ServiceRequest):
1088
1271
 
1089
1272
 
1090
1273
  class EnvironmentError(TypedDict, total=False):
1091
- ErrorCode: Optional[String]
1092
- Message: Optional[SensitiveString]
1274
+ ErrorCode: String | None
1275
+ Message: SensitiveString | None
1093
1276
 
1094
1277
 
1095
1278
  class EnvironmentResponse(TypedDict, total=False):
1096
- Variables: Optional[EnvironmentVariables]
1097
- Error: Optional[EnvironmentError]
1279
+ Variables: EnvironmentVariables | None
1280
+ Error: EnvironmentError | None
1098
1281
 
1099
1282
 
1100
1283
  class FilterCriteriaError(TypedDict, total=False):
1101
- ErrorCode: Optional[FilterCriteriaErrorCode]
1102
- Message: Optional[FilterCriteriaErrorMessage]
1284
+ ErrorCode: FilterCriteriaErrorCode | None
1285
+ Message: FilterCriteriaErrorMessage | None
1103
1286
 
1104
1287
 
1105
1288
  class EventSourceMappingConfiguration(TypedDict, total=False):
1106
- UUID: Optional[String]
1107
- StartingPosition: Optional[EventSourcePosition]
1108
- StartingPositionTimestamp: Optional[Date]
1109
- BatchSize: Optional[BatchSize]
1110
- MaximumBatchingWindowInSeconds: Optional[MaximumBatchingWindowInSeconds]
1111
- ParallelizationFactor: Optional[ParallelizationFactor]
1112
- EventSourceArn: Optional[Arn]
1113
- FilterCriteria: Optional[FilterCriteria]
1114
- FunctionArn: Optional[FunctionArn]
1115
- LastModified: Optional[Date]
1116
- LastProcessingResult: Optional[String]
1117
- State: Optional[String]
1118
- StateTransitionReason: Optional[String]
1119
- DestinationConfig: Optional[DestinationConfig]
1120
- Topics: Optional[Topics]
1121
- Queues: Optional[Queues]
1122
- SourceAccessConfigurations: Optional[SourceAccessConfigurations]
1123
- SelfManagedEventSource: Optional[SelfManagedEventSource]
1124
- MaximumRecordAgeInSeconds: Optional[MaximumRecordAgeInSeconds]
1125
- BisectBatchOnFunctionError: Optional[BisectBatchOnFunctionError]
1126
- MaximumRetryAttempts: Optional[MaximumRetryAttemptsEventSourceMapping]
1127
- TumblingWindowInSeconds: Optional[TumblingWindowInSeconds]
1128
- FunctionResponseTypes: Optional[FunctionResponseTypeList]
1129
- AmazonManagedKafkaEventSourceConfig: Optional[AmazonManagedKafkaEventSourceConfig]
1130
- SelfManagedKafkaEventSourceConfig: Optional[SelfManagedKafkaEventSourceConfig]
1131
- ScalingConfig: Optional[ScalingConfig]
1132
- DocumentDBEventSourceConfig: Optional[DocumentDBEventSourceConfig]
1133
- KMSKeyArn: Optional[KMSKeyArn]
1134
- FilterCriteriaError: Optional[FilterCriteriaError]
1135
- EventSourceMappingArn: Optional[EventSourceMappingArn]
1136
- MetricsConfig: Optional[EventSourceMappingMetricsConfig]
1137
- ProvisionedPollerConfig: Optional[ProvisionedPollerConfig]
1138
-
1139
-
1140
- EventSourceMappingsList = List[EventSourceMappingConfiguration]
1141
- FunctionArnList = List[FunctionArn]
1289
+ UUID: String | None
1290
+ StartingPosition: EventSourcePosition | None
1291
+ StartingPositionTimestamp: Date | None
1292
+ BatchSize: BatchSize | None
1293
+ MaximumBatchingWindowInSeconds: MaximumBatchingWindowInSeconds | None
1294
+ ParallelizationFactor: ParallelizationFactor | None
1295
+ EventSourceArn: Arn | None
1296
+ FilterCriteria: FilterCriteria | None
1297
+ FunctionArn: FunctionArn | None
1298
+ LastModified: Date | None
1299
+ LastProcessingResult: String | None
1300
+ State: String | None
1301
+ StateTransitionReason: String | None
1302
+ DestinationConfig: DestinationConfig | None
1303
+ Topics: Topics | None
1304
+ Queues: Queues | None
1305
+ SourceAccessConfigurations: SourceAccessConfigurations | None
1306
+ SelfManagedEventSource: SelfManagedEventSource | None
1307
+ MaximumRecordAgeInSeconds: MaximumRecordAgeInSeconds | None
1308
+ BisectBatchOnFunctionError: BisectBatchOnFunctionError | None
1309
+ MaximumRetryAttempts: MaximumRetryAttemptsEventSourceMapping | None
1310
+ TumblingWindowInSeconds: TumblingWindowInSeconds | None
1311
+ FunctionResponseTypes: FunctionResponseTypeList | None
1312
+ AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig | None
1313
+ SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig | None
1314
+ ScalingConfig: ScalingConfig | None
1315
+ DocumentDBEventSourceConfig: DocumentDBEventSourceConfig | None
1316
+ KMSKeyArn: KMSKeyArn | None
1317
+ FilterCriteriaError: FilterCriteriaError | None
1318
+ EventSourceMappingArn: EventSourceMappingArn | None
1319
+ MetricsConfig: EventSourceMappingMetricsConfig | None
1320
+ ProvisionedPollerConfig: ProvisionedPollerConfig | None
1321
+
1322
+
1323
+ EventSourceMappingsList = list[EventSourceMappingConfiguration]
1324
+ FunctionArnList = list[FunctionArn]
1142
1325
 
1143
1326
 
1144
1327
  class FunctionCodeLocation(TypedDict, total=False):
1145
- RepositoryType: Optional[String]
1146
- Location: Optional[String]
1147
- ImageUri: Optional[String]
1148
- ResolvedImageUri: Optional[String]
1149
- SourceKMSKeyArn: Optional[String]
1328
+ RepositoryType: String | None
1329
+ Location: String | None
1330
+ ImageUri: String | None
1331
+ ResolvedImageUri: String | None
1332
+ SourceKMSKeyArn: String | None
1150
1333
 
1151
1334
 
1152
1335
  class RuntimeVersionError(TypedDict, total=False):
1153
- ErrorCode: Optional[String]
1154
- Message: Optional[SensitiveString]
1336
+ ErrorCode: String | None
1337
+ Message: SensitiveString | None
1155
1338
 
1156
1339
 
1157
1340
  class RuntimeVersionConfig(TypedDict, total=False):
1158
- RuntimeVersionArn: Optional[RuntimeVersionArn]
1159
- Error: Optional[RuntimeVersionError]
1341
+ RuntimeVersionArn: RuntimeVersionArn | None
1342
+ Error: RuntimeVersionError | None
1160
1343
 
1161
1344
 
1162
1345
  class SnapStartResponse(TypedDict, total=False):
1163
- ApplyOn: Optional[SnapStartApplyOn]
1164
- OptimizationStatus: Optional[SnapStartOptimizationStatus]
1346
+ ApplyOn: SnapStartApplyOn | None
1347
+ OptimizationStatus: SnapStartOptimizationStatus | None
1165
1348
 
1166
1349
 
1167
1350
  class ImageConfigError(TypedDict, total=False):
1168
- ErrorCode: Optional[String]
1169
- Message: Optional[SensitiveString]
1351
+ ErrorCode: String | None
1352
+ Message: SensitiveString | None
1170
1353
 
1171
1354
 
1172
1355
  class ImageConfigResponse(TypedDict, total=False):
1173
- ImageConfig: Optional[ImageConfig]
1174
- Error: Optional[ImageConfigError]
1356
+ ImageConfig: ImageConfig | None
1357
+ Error: ImageConfigError | None
1175
1358
 
1176
1359
 
1177
1360
  class Layer(TypedDict, total=False):
1178
- Arn: Optional[LayerVersionArn]
1179
- CodeSize: Optional[Long]
1180
- SigningProfileVersionArn: Optional[Arn]
1181
- SigningJobArn: Optional[Arn]
1361
+ Arn: LayerVersionArn | None
1362
+ CodeSize: Long | None
1363
+ SigningProfileVersionArn: Arn | None
1364
+ SigningJobArn: Arn | None
1182
1365
 
1183
1366
 
1184
- LayersReferenceList = List[Layer]
1367
+ LayersReferenceList = list[Layer]
1185
1368
 
1186
1369
 
1187
1370
  class TracingConfigResponse(TypedDict, total=False):
1188
- Mode: Optional[TracingMode]
1371
+ Mode: TracingMode | None
1189
1372
 
1190
1373
 
1191
1374
  class VpcConfigResponse(TypedDict, total=False):
1192
- SubnetIds: Optional[SubnetIds]
1193
- SecurityGroupIds: Optional[SecurityGroupIds]
1194
- VpcId: Optional[VpcId]
1195
- Ipv6AllowedForDualStack: Optional[NullableBoolean]
1375
+ SubnetIds: SubnetIds | None
1376
+ SecurityGroupIds: SecurityGroupIds | None
1377
+ VpcId: VpcId | None
1378
+ Ipv6AllowedForDualStack: NullableBoolean | None
1196
1379
 
1197
1380
 
1198
1381
  class FunctionConfiguration(TypedDict, total=False):
1199
- FunctionName: Optional[NamespacedFunctionName]
1200
- FunctionArn: Optional[NameSpacedFunctionArn]
1201
- Runtime: Optional[Runtime]
1202
- Role: Optional[RoleArn]
1203
- Handler: Optional[Handler]
1204
- CodeSize: Optional[Long]
1205
- Description: Optional[Description]
1206
- Timeout: Optional[Timeout]
1207
- MemorySize: Optional[MemorySize]
1208
- LastModified: Optional[Timestamp]
1209
- CodeSha256: Optional[String]
1210
- Version: Optional[Version]
1211
- VpcConfig: Optional[VpcConfigResponse]
1212
- DeadLetterConfig: Optional[DeadLetterConfig]
1213
- Environment: Optional[EnvironmentResponse]
1214
- KMSKeyArn: Optional[KMSKeyArn]
1215
- TracingConfig: Optional[TracingConfigResponse]
1216
- MasterArn: Optional[FunctionArn]
1217
- RevisionId: Optional[String]
1218
- Layers: Optional[LayersReferenceList]
1219
- State: Optional[State]
1220
- StateReason: Optional[StateReason]
1221
- StateReasonCode: Optional[StateReasonCode]
1222
- LastUpdateStatus: Optional[LastUpdateStatus]
1223
- LastUpdateStatusReason: Optional[LastUpdateStatusReason]
1224
- LastUpdateStatusReasonCode: Optional[LastUpdateStatusReasonCode]
1225
- FileSystemConfigs: Optional[FileSystemConfigList]
1226
- PackageType: Optional[PackageType]
1227
- ImageConfigResponse: Optional[ImageConfigResponse]
1228
- SigningProfileVersionArn: Optional[Arn]
1229
- SigningJobArn: Optional[Arn]
1230
- Architectures: Optional[ArchitecturesList]
1231
- EphemeralStorage: Optional[EphemeralStorage]
1232
- SnapStart: Optional[SnapStartResponse]
1233
- RuntimeVersionConfig: Optional[RuntimeVersionConfig]
1234
- LoggingConfig: Optional[LoggingConfig]
1382
+ FunctionName: NamespacedFunctionName | None
1383
+ FunctionArn: NameSpacedFunctionArn | None
1384
+ Runtime: Runtime | None
1385
+ Role: RoleArn | None
1386
+ Handler: Handler | None
1387
+ CodeSize: Long | None
1388
+ Description: Description | None
1389
+ Timeout: Timeout | None
1390
+ MemorySize: MemorySize | None
1391
+ LastModified: Timestamp | None
1392
+ CodeSha256: String | None
1393
+ Version: Version | None
1394
+ VpcConfig: VpcConfigResponse | None
1395
+ DeadLetterConfig: DeadLetterConfig | None
1396
+ Environment: EnvironmentResponse | None
1397
+ KMSKeyArn: KMSKeyArn | None
1398
+ TracingConfig: TracingConfigResponse | None
1399
+ MasterArn: FunctionArn | None
1400
+ RevisionId: String | None
1401
+ Layers: LayersReferenceList | None
1402
+ State: State | None
1403
+ StateReason: StateReason | None
1404
+ StateReasonCode: StateReasonCode | None
1405
+ LastUpdateStatus: LastUpdateStatus | None
1406
+ LastUpdateStatusReason: LastUpdateStatusReason | None
1407
+ LastUpdateStatusReasonCode: LastUpdateStatusReasonCode | None
1408
+ FileSystemConfigs: FileSystemConfigList | None
1409
+ PackageType: PackageType | None
1410
+ ImageConfigResponse: ImageConfigResponse | None
1411
+ SigningProfileVersionArn: Arn | None
1412
+ SigningJobArn: Arn | None
1413
+ Architectures: ArchitecturesList | None
1414
+ EphemeralStorage: EphemeralStorage | None
1415
+ SnapStart: SnapStartResponse | None
1416
+ RuntimeVersionConfig: RuntimeVersionConfig | None
1417
+ LoggingConfig: LoggingConfig | None
1418
+ CapacityProviderConfig: CapacityProviderConfig | None
1419
+ ConfigSha256: String | None
1420
+ TenancyConfig: TenancyConfig | None
1235
1421
 
1236
1422
 
1237
1423
  class FunctionEventInvokeConfig(TypedDict, total=False):
1238
- LastModified: Optional[Date]
1239
- FunctionArn: Optional[FunctionArn]
1240
- MaximumRetryAttempts: Optional[MaximumRetryAttempts]
1241
- MaximumEventAgeInSeconds: Optional[MaximumEventAgeInSeconds]
1242
- DestinationConfig: Optional[DestinationConfig]
1424
+ LastModified: Date | None
1425
+ FunctionArn: FunctionArn | None
1426
+ MaximumRetryAttempts: MaximumRetryAttempts | None
1427
+ MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
1428
+ DestinationConfig: DestinationConfig | None
1243
1429
 
1244
1430
 
1245
- FunctionEventInvokeConfigList = List[FunctionEventInvokeConfig]
1246
- FunctionList = List[FunctionConfiguration]
1431
+ FunctionEventInvokeConfigList = list[FunctionEventInvokeConfig]
1432
+ FunctionList = list[FunctionConfiguration]
1433
+
1434
+
1435
+ class FunctionScalingConfig(TypedDict, total=False):
1436
+ MinExecutionEnvironments: FunctionScalingConfigExecutionEnvironments | None
1437
+ MaxExecutionEnvironments: FunctionScalingConfigExecutionEnvironments | None
1247
1438
 
1248
1439
 
1249
1440
  class FunctionUrlConfig(TypedDict, total=False):
@@ -1251,12 +1442,20 @@ class FunctionUrlConfig(TypedDict, total=False):
1251
1442
  FunctionArn: FunctionArn
1252
1443
  CreationTime: Timestamp
1253
1444
  LastModifiedTime: Timestamp
1254
- Cors: Optional[Cors]
1445
+ Cors: Cors | None
1255
1446
  AuthType: FunctionUrlAuthType
1256
- InvokeMode: Optional[InvokeMode]
1447
+ InvokeMode: InvokeMode | None
1448
+
1257
1449
 
1450
+ FunctionUrlConfigList = list[FunctionUrlConfig]
1258
1451
 
1259
- FunctionUrlConfigList = List[FunctionUrlConfig]
1452
+
1453
+ class FunctionVersionsByCapacityProviderListItem(TypedDict, total=False):
1454
+ FunctionArn: NameSpacedFunctionArn
1455
+ State: State
1456
+
1457
+
1458
+ FunctionVersionsByCapacityProviderList = list[FunctionVersionsByCapacityProviderListItem]
1260
1459
 
1261
1460
 
1262
1461
  class GetAccountSettingsRequest(ServiceRequest):
@@ -1264,8 +1463,8 @@ class GetAccountSettingsRequest(ServiceRequest):
1264
1463
 
1265
1464
 
1266
1465
  class GetAccountSettingsResponse(TypedDict, total=False):
1267
- AccountLimit: Optional[AccountLimit]
1268
- AccountUsage: Optional[AccountUsage]
1466
+ AccountLimit: AccountLimit | None
1467
+ AccountUsage: AccountUsage | None
1269
1468
 
1270
1469
 
1271
1470
  class GetAliasRequest(ServiceRequest):
@@ -1273,6 +1472,14 @@ class GetAliasRequest(ServiceRequest):
1273
1472
  Name: Alias
1274
1473
 
1275
1474
 
1475
+ class GetCapacityProviderRequest(ServiceRequest):
1476
+ CapacityProviderName: CapacityProviderName
1477
+
1478
+
1479
+ class GetCapacityProviderResponse(TypedDict, total=False):
1480
+ CapacityProvider: CapacityProvider
1481
+
1482
+
1276
1483
  class GetCodeSigningConfigRequest(ServiceRequest):
1277
1484
  CodeSigningConfigArn: CodeSigningConfigArn
1278
1485
 
@@ -1286,7 +1493,7 @@ class GetEventSourceMappingRequest(ServiceRequest):
1286
1493
 
1287
1494
 
1288
1495
  class GetFunctionCodeSigningConfigRequest(ServiceRequest):
1289
- FunctionName: FunctionName
1496
+ FunctionName: NamespacedFunctionName
1290
1497
 
1291
1498
 
1292
1499
  class GetFunctionCodeSigningConfigResponse(TypedDict, total=False):
@@ -1299,17 +1506,17 @@ class GetFunctionConcurrencyRequest(ServiceRequest):
1299
1506
 
1300
1507
 
1301
1508
  class GetFunctionConcurrencyResponse(TypedDict, total=False):
1302
- ReservedConcurrentExecutions: Optional[ReservedConcurrentExecutions]
1509
+ ReservedConcurrentExecutions: ReservedConcurrentExecutions | None
1303
1510
 
1304
1511
 
1305
1512
  class GetFunctionConfigurationRequest(ServiceRequest):
1306
1513
  FunctionName: NamespacedFunctionName
1307
- Qualifier: Optional[Qualifier]
1514
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1308
1515
 
1309
1516
 
1310
1517
  class GetFunctionEventInvokeConfigRequest(ServiceRequest):
1311
- FunctionName: FunctionName
1312
- Qualifier: Optional[Qualifier]
1518
+ FunctionName: NamespacedFunctionName
1519
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1313
1520
 
1314
1521
 
1315
1522
  class GetFunctionRecursionConfigRequest(ServiceRequest):
@@ -1317,12 +1524,12 @@ class GetFunctionRecursionConfigRequest(ServiceRequest):
1317
1524
 
1318
1525
 
1319
1526
  class GetFunctionRecursionConfigResponse(TypedDict, total=False):
1320
- RecursiveLoop: Optional[RecursiveLoop]
1527
+ RecursiveLoop: RecursiveLoop | None
1321
1528
 
1322
1529
 
1323
1530
  class GetFunctionRequest(ServiceRequest):
1324
1531
  FunctionName: NamespacedFunctionName
1325
- Qualifier: Optional[Qualifier]
1532
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1326
1533
 
1327
1534
 
1328
1535
  class TagsError(TypedDict, total=False):
@@ -1331,26 +1538,37 @@ class TagsError(TypedDict, total=False):
1331
1538
 
1332
1539
 
1333
1540
  class GetFunctionResponse(TypedDict, total=False):
1334
- Configuration: Optional[FunctionConfiguration]
1335
- Code: Optional[FunctionCodeLocation]
1336
- Tags: Optional[Tags]
1337
- TagsError: Optional[TagsError]
1338
- Concurrency: Optional[Concurrency]
1541
+ Configuration: FunctionConfiguration | None
1542
+ Code: FunctionCodeLocation | None
1543
+ Tags: Tags | None
1544
+ TagsError: TagsError | None
1545
+ Concurrency: Concurrency | None
1546
+
1547
+
1548
+ class GetFunctionScalingConfigRequest(ServiceRequest):
1549
+ FunctionName: UnqualifiedFunctionName
1550
+ Qualifier: PublishedFunctionQualifier
1551
+
1552
+
1553
+ class GetFunctionScalingConfigResponse(TypedDict, total=False):
1554
+ FunctionArn: FunctionArn | None
1555
+ AppliedFunctionScalingConfig: FunctionScalingConfig | None
1556
+ RequestedFunctionScalingConfig: FunctionScalingConfig | None
1339
1557
 
1340
1558
 
1341
1559
  class GetFunctionUrlConfigRequest(ServiceRequest):
1342
1560
  FunctionName: FunctionName
1343
- Qualifier: Optional[FunctionUrlQualifier]
1561
+ Qualifier: FunctionUrlQualifier | None
1344
1562
 
1345
1563
 
1346
1564
  class GetFunctionUrlConfigResponse(TypedDict, total=False):
1347
1565
  FunctionUrl: FunctionUrl
1348
1566
  FunctionArn: FunctionArn
1349
1567
  AuthType: FunctionUrlAuthType
1350
- Cors: Optional[Cors]
1568
+ Cors: Cors | None
1351
1569
  CreationTime: Timestamp
1352
1570
  LastModifiedTime: Timestamp
1353
- InvokeMode: Optional[InvokeMode]
1571
+ InvokeMode: InvokeMode | None
1354
1572
 
1355
1573
 
1356
1574
  class GetLayerVersionByArnRequest(ServiceRequest):
@@ -1363,8 +1581,8 @@ class GetLayerVersionPolicyRequest(ServiceRequest):
1363
1581
 
1364
1582
 
1365
1583
  class GetLayerVersionPolicyResponse(TypedDict, total=False):
1366
- Policy: Optional[String]
1367
- RevisionId: Optional[String]
1584
+ Policy: String | None
1585
+ RevisionId: String | None
1368
1586
 
1369
1587
 
1370
1588
  class GetLayerVersionRequest(ServiceRequest):
@@ -1373,33 +1591,33 @@ class GetLayerVersionRequest(ServiceRequest):
1373
1591
 
1374
1592
 
1375
1593
  class LayerVersionContentOutput(TypedDict, total=False):
1376
- Location: Optional[String]
1377
- CodeSha256: Optional[String]
1378
- CodeSize: Optional[Long]
1379
- SigningProfileVersionArn: Optional[String]
1380
- SigningJobArn: Optional[String]
1594
+ Location: String | None
1595
+ CodeSha256: String | None
1596
+ CodeSize: Long | None
1597
+ SigningProfileVersionArn: String | None
1598
+ SigningJobArn: String | None
1381
1599
 
1382
1600
 
1383
1601
  class GetLayerVersionResponse(TypedDict, total=False):
1384
- Content: Optional[LayerVersionContentOutput]
1385
- LayerArn: Optional[LayerArn]
1386
- LayerVersionArn: Optional[LayerVersionArn]
1387
- Description: Optional[Description]
1388
- CreatedDate: Optional[Timestamp]
1389
- Version: Optional[LayerVersionNumber]
1390
- CompatibleRuntimes: Optional[CompatibleRuntimes]
1391
- LicenseInfo: Optional[LicenseInfo]
1392
- CompatibleArchitectures: Optional[CompatibleArchitectures]
1602
+ Content: LayerVersionContentOutput | None
1603
+ LayerArn: LayerArn | None
1604
+ LayerVersionArn: LayerVersionArn | None
1605
+ Description: Description | None
1606
+ CreatedDate: Timestamp | None
1607
+ Version: LayerVersionNumber | None
1608
+ CompatibleRuntimes: CompatibleRuntimes | None
1609
+ LicenseInfo: LicenseInfo | None
1610
+ CompatibleArchitectures: CompatibleArchitectures | None
1393
1611
 
1394
1612
 
1395
1613
  class GetPolicyRequest(ServiceRequest):
1396
1614
  FunctionName: NamespacedFunctionName
1397
- Qualifier: Optional[Qualifier]
1615
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1398
1616
 
1399
1617
 
1400
1618
  class GetPolicyResponse(TypedDict, total=False):
1401
- Policy: Optional[String]
1402
- RevisionId: Optional[String]
1619
+ Policy: String | None
1620
+ RevisionId: String | None
1403
1621
 
1404
1622
 
1405
1623
  class GetProvisionedConcurrencyConfigRequest(ServiceRequest):
@@ -1408,40 +1626,41 @@ class GetProvisionedConcurrencyConfigRequest(ServiceRequest):
1408
1626
 
1409
1627
 
1410
1628
  class GetProvisionedConcurrencyConfigResponse(TypedDict, total=False):
1411
- RequestedProvisionedConcurrentExecutions: Optional[PositiveInteger]
1412
- AvailableProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1413
- AllocatedProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1414
- Status: Optional[ProvisionedConcurrencyStatusEnum]
1415
- StatusReason: Optional[String]
1416
- LastModified: Optional[Timestamp]
1629
+ RequestedProvisionedConcurrentExecutions: PositiveInteger | None
1630
+ AvailableProvisionedConcurrentExecutions: NonNegativeInteger | None
1631
+ AllocatedProvisionedConcurrentExecutions: NonNegativeInteger | None
1632
+ Status: ProvisionedConcurrencyStatusEnum | None
1633
+ StatusReason: String | None
1634
+ LastModified: Timestamp | None
1417
1635
 
1418
1636
 
1419
1637
  class GetRuntimeManagementConfigRequest(ServiceRequest):
1420
1638
  FunctionName: NamespacedFunctionName
1421
- Qualifier: Optional[Qualifier]
1639
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1422
1640
 
1423
1641
 
1424
1642
  class GetRuntimeManagementConfigResponse(TypedDict, total=False):
1425
- UpdateRuntimeOn: Optional[UpdateRuntimeOn]
1426
- RuntimeVersionArn: Optional[RuntimeVersionArn]
1427
- FunctionArn: Optional[NameSpacedFunctionArn]
1643
+ UpdateRuntimeOn: UpdateRuntimeOn | None
1644
+ RuntimeVersionArn: RuntimeVersionArn | None
1645
+ FunctionArn: NameSpacedFunctionArn | None
1428
1646
 
1429
1647
 
1430
1648
  class InvocationRequest(ServiceRequest):
1431
- Payload: Optional[IO[Blob]]
1649
+ Payload: IO[Blob] | None
1432
1650
  FunctionName: NamespacedFunctionName
1433
- InvocationType: Optional[InvocationType]
1434
- LogType: Optional[LogType]
1435
- ClientContext: Optional[String]
1436
- Qualifier: Optional[Qualifier]
1651
+ InvocationType: InvocationType | None
1652
+ LogType: LogType | None
1653
+ ClientContext: String | None
1654
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1655
+ TenantId: TenantId | None
1437
1656
 
1438
1657
 
1439
1658
  class InvocationResponse(TypedDict, total=False):
1440
- Payload: Optional[Union[Blob, IO[Blob], Iterable[Blob]]]
1441
- StatusCode: Optional[Integer]
1442
- FunctionError: Optional[String]
1443
- LogResult: Optional[String]
1444
- ExecutedVersion: Optional[Version]
1659
+ Payload: Blob | IO[Blob] | Iterable[Blob] | None
1660
+ StatusCode: Integer | None
1661
+ FunctionError: String | None
1662
+ LogResult: String | None
1663
+ ExecutedVersion: Version | None
1445
1664
 
1446
1665
 
1447
1666
  class InvokeAsyncRequest(ServiceRequest):
@@ -1450,195 +1669,219 @@ class InvokeAsyncRequest(ServiceRequest):
1450
1669
 
1451
1670
 
1452
1671
  class InvokeAsyncResponse(TypedDict, total=False):
1453
- Status: Optional[HttpStatus]
1672
+ Status: HttpStatus | None
1454
1673
 
1455
1674
 
1456
1675
  class InvokeResponseStreamUpdate(TypedDict, total=False):
1457
- Payload: Optional[Blob]
1676
+ Payload: Blob | None
1458
1677
 
1459
1678
 
1460
1679
  class InvokeWithResponseStreamCompleteEvent(TypedDict, total=False):
1461
- ErrorCode: Optional[String]
1462
- ErrorDetails: Optional[String]
1463
- LogResult: Optional[String]
1680
+ ErrorCode: String | None
1681
+ ErrorDetails: String | None
1682
+ LogResult: String | None
1464
1683
 
1465
1684
 
1466
1685
  class InvokeWithResponseStreamRequest(ServiceRequest):
1467
- Payload: Optional[IO[Blob]]
1686
+ Payload: IO[Blob] | None
1468
1687
  FunctionName: NamespacedFunctionName
1469
- InvocationType: Optional[ResponseStreamingInvocationType]
1470
- LogType: Optional[LogType]
1471
- ClientContext: Optional[String]
1472
- Qualifier: Optional[Qualifier]
1688
+ InvocationType: ResponseStreamingInvocationType | None
1689
+ LogType: LogType | None
1690
+ ClientContext: String | None
1691
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1692
+ TenantId: TenantId | None
1473
1693
 
1474
1694
 
1475
1695
  class InvokeWithResponseStreamResponseEvent(TypedDict, total=False):
1476
- PayloadChunk: Optional[InvokeResponseStreamUpdate]
1477
- InvokeComplete: Optional[InvokeWithResponseStreamCompleteEvent]
1696
+ PayloadChunk: InvokeResponseStreamUpdate | None
1697
+ InvokeComplete: InvokeWithResponseStreamCompleteEvent | None
1478
1698
 
1479
1699
 
1480
1700
  class InvokeWithResponseStreamResponse(TypedDict, total=False):
1481
- StatusCode: Optional[Integer]
1482
- ExecutedVersion: Optional[Version]
1701
+ StatusCode: Integer | None
1702
+ ExecutedVersion: Version | None
1483
1703
  EventStream: Iterator[InvokeWithResponseStreamResponseEvent]
1484
- ResponseStreamContentType: Optional[String]
1704
+ ResponseStreamContentType: String | None
1485
1705
 
1486
1706
 
1487
1707
  class LayerVersionContentInput(TypedDict, total=False):
1488
- S3Bucket: Optional[S3Bucket]
1489
- S3Key: Optional[S3Key]
1490
- S3ObjectVersion: Optional[S3ObjectVersion]
1491
- ZipFile: Optional[Blob]
1708
+ S3Bucket: S3Bucket | None
1709
+ S3Key: S3Key | None
1710
+ S3ObjectVersion: S3ObjectVersion | None
1711
+ ZipFile: Blob | None
1492
1712
 
1493
1713
 
1494
1714
  class LayerVersionsListItem(TypedDict, total=False):
1495
- LayerVersionArn: Optional[LayerVersionArn]
1496
- Version: Optional[LayerVersionNumber]
1497
- Description: Optional[Description]
1498
- CreatedDate: Optional[Timestamp]
1499
- CompatibleRuntimes: Optional[CompatibleRuntimes]
1500
- LicenseInfo: Optional[LicenseInfo]
1501
- CompatibleArchitectures: Optional[CompatibleArchitectures]
1715
+ LayerVersionArn: LayerVersionArn | None
1716
+ Version: LayerVersionNumber | None
1717
+ Description: Description | None
1718
+ CreatedDate: Timestamp | None
1719
+ CompatibleRuntimes: CompatibleRuntimes | None
1720
+ LicenseInfo: LicenseInfo | None
1721
+ CompatibleArchitectures: CompatibleArchitectures | None
1502
1722
 
1503
1723
 
1504
- LayerVersionsList = List[LayerVersionsListItem]
1724
+ LayerVersionsList = list[LayerVersionsListItem]
1505
1725
 
1506
1726
 
1507
1727
  class LayersListItem(TypedDict, total=False):
1508
- LayerName: Optional[LayerName]
1509
- LayerArn: Optional[LayerArn]
1510
- LatestMatchingVersion: Optional[LayerVersionsListItem]
1728
+ LayerName: LayerName | None
1729
+ LayerArn: LayerArn | None
1730
+ LatestMatchingVersion: LayerVersionsListItem | None
1511
1731
 
1512
1732
 
1513
- LayersList = List[LayersListItem]
1733
+ LayersList = list[LayersListItem]
1514
1734
 
1515
1735
 
1516
1736
  class ListAliasesRequest(ServiceRequest):
1517
1737
  FunctionName: FunctionName
1518
- FunctionVersion: Optional[Version]
1519
- Marker: Optional[String]
1520
- MaxItems: Optional[MaxListItems]
1738
+ FunctionVersion: VersionWithLatestPublished | None
1739
+ Marker: String | None
1740
+ MaxItems: MaxListItems | None
1521
1741
 
1522
1742
 
1523
1743
  class ListAliasesResponse(TypedDict, total=False):
1524
- NextMarker: Optional[String]
1525
- Aliases: Optional[AliasList]
1744
+ NextMarker: String | None
1745
+ Aliases: AliasList | None
1746
+
1747
+
1748
+ class ListCapacityProvidersRequest(ServiceRequest):
1749
+ State: CapacityProviderState | None
1750
+ Marker: String | None
1751
+ MaxItems: MaxFiftyListItems | None
1752
+
1753
+
1754
+ class ListCapacityProvidersResponse(TypedDict, total=False):
1755
+ CapacityProviders: CapacityProvidersList
1756
+ NextMarker: String | None
1526
1757
 
1527
1758
 
1528
1759
  class ListCodeSigningConfigsRequest(ServiceRequest):
1529
- Marker: Optional[String]
1530
- MaxItems: Optional[MaxListItems]
1760
+ Marker: String | None
1761
+ MaxItems: MaxListItems | None
1531
1762
 
1532
1763
 
1533
1764
  class ListCodeSigningConfigsResponse(TypedDict, total=False):
1534
- NextMarker: Optional[String]
1535
- CodeSigningConfigs: Optional[CodeSigningConfigList]
1765
+ NextMarker: String | None
1766
+ CodeSigningConfigs: CodeSigningConfigList | None
1536
1767
 
1537
1768
 
1538
1769
  class ListEventSourceMappingsRequest(ServiceRequest):
1539
- EventSourceArn: Optional[Arn]
1540
- FunctionName: Optional[FunctionName]
1541
- Marker: Optional[String]
1542
- MaxItems: Optional[MaxListItems]
1770
+ EventSourceArn: Arn | None
1771
+ FunctionName: NamespacedFunctionName | None
1772
+ Marker: String | None
1773
+ MaxItems: MaxListItems | None
1543
1774
 
1544
1775
 
1545
1776
  class ListEventSourceMappingsResponse(TypedDict, total=False):
1546
- NextMarker: Optional[String]
1547
- EventSourceMappings: Optional[EventSourceMappingsList]
1777
+ NextMarker: String | None
1778
+ EventSourceMappings: EventSourceMappingsList | None
1548
1779
 
1549
1780
 
1550
1781
  class ListFunctionEventInvokeConfigsRequest(ServiceRequest):
1551
- FunctionName: FunctionName
1552
- Marker: Optional[String]
1553
- MaxItems: Optional[MaxFunctionEventInvokeConfigListItems]
1782
+ FunctionName: NamespacedFunctionName
1783
+ Marker: String | None
1784
+ MaxItems: MaxFunctionEventInvokeConfigListItems | None
1554
1785
 
1555
1786
 
1556
1787
  class ListFunctionEventInvokeConfigsResponse(TypedDict, total=False):
1557
- FunctionEventInvokeConfigs: Optional[FunctionEventInvokeConfigList]
1558
- NextMarker: Optional[String]
1788
+ FunctionEventInvokeConfigs: FunctionEventInvokeConfigList | None
1789
+ NextMarker: String | None
1559
1790
 
1560
1791
 
1561
1792
  class ListFunctionUrlConfigsRequest(ServiceRequest):
1562
1793
  FunctionName: FunctionName
1563
- Marker: Optional[String]
1564
- MaxItems: Optional[MaxItems]
1794
+ Marker: String | None
1795
+ MaxItems: MaxItems | None
1565
1796
 
1566
1797
 
1567
1798
  class ListFunctionUrlConfigsResponse(TypedDict, total=False):
1568
1799
  FunctionUrlConfigs: FunctionUrlConfigList
1569
- NextMarker: Optional[String]
1800
+ NextMarker: String | None
1801
+
1802
+
1803
+ class ListFunctionVersionsByCapacityProviderRequest(ServiceRequest):
1804
+ CapacityProviderName: CapacityProviderName
1805
+ Marker: String | None
1806
+ MaxItems: MaxFiftyListItems | None
1807
+
1808
+
1809
+ class ListFunctionVersionsByCapacityProviderResponse(TypedDict, total=False):
1810
+ CapacityProviderArn: CapacityProviderArn
1811
+ FunctionVersions: FunctionVersionsByCapacityProviderList
1812
+ NextMarker: String | None
1570
1813
 
1571
1814
 
1572
1815
  class ListFunctionsByCodeSigningConfigRequest(ServiceRequest):
1573
1816
  CodeSigningConfigArn: CodeSigningConfigArn
1574
- Marker: Optional[String]
1575
- MaxItems: Optional[MaxListItems]
1817
+ Marker: String | None
1818
+ MaxItems: MaxListItems | None
1576
1819
 
1577
1820
 
1578
1821
  class ListFunctionsByCodeSigningConfigResponse(TypedDict, total=False):
1579
- NextMarker: Optional[String]
1580
- FunctionArns: Optional[FunctionArnList]
1822
+ NextMarker: String | None
1823
+ FunctionArns: FunctionArnList | None
1581
1824
 
1582
1825
 
1583
1826
  class ListFunctionsRequest(ServiceRequest):
1584
- MasterRegion: Optional[MasterRegion]
1585
- FunctionVersion: Optional[FunctionVersion]
1586
- Marker: Optional[String]
1587
- MaxItems: Optional[MaxListItems]
1827
+ MasterRegion: MasterRegion | None
1828
+ FunctionVersion: FunctionVersion | None
1829
+ Marker: String | None
1830
+ MaxItems: MaxListItems | None
1588
1831
 
1589
1832
 
1590
1833
  class ListFunctionsResponse(TypedDict, total=False):
1591
- NextMarker: Optional[String]
1592
- Functions: Optional[FunctionList]
1834
+ NextMarker: String | None
1835
+ Functions: FunctionList | None
1593
1836
 
1594
1837
 
1595
1838
  class ListLayerVersionsRequest(ServiceRequest):
1596
- CompatibleRuntime: Optional[Runtime]
1839
+ CompatibleRuntime: Runtime | None
1597
1840
  LayerName: LayerName
1598
- Marker: Optional[String]
1599
- MaxItems: Optional[MaxLayerListItems]
1600
- CompatibleArchitecture: Optional[Architecture]
1841
+ Marker: String | None
1842
+ MaxItems: MaxLayerListItems | None
1843
+ CompatibleArchitecture: Architecture | None
1601
1844
 
1602
1845
 
1603
1846
  class ListLayerVersionsResponse(TypedDict, total=False):
1604
- NextMarker: Optional[String]
1605
- LayerVersions: Optional[LayerVersionsList]
1847
+ NextMarker: String | None
1848
+ LayerVersions: LayerVersionsList | None
1606
1849
 
1607
1850
 
1608
1851
  class ListLayersRequest(ServiceRequest):
1609
- CompatibleRuntime: Optional[Runtime]
1610
- Marker: Optional[String]
1611
- MaxItems: Optional[MaxLayerListItems]
1612
- CompatibleArchitecture: Optional[Architecture]
1852
+ CompatibleRuntime: Runtime | None
1853
+ Marker: String | None
1854
+ MaxItems: MaxLayerListItems | None
1855
+ CompatibleArchitecture: Architecture | None
1613
1856
 
1614
1857
 
1615
1858
  class ListLayersResponse(TypedDict, total=False):
1616
- NextMarker: Optional[String]
1617
- Layers: Optional[LayersList]
1859
+ NextMarker: String | None
1860
+ Layers: LayersList | None
1618
1861
 
1619
1862
 
1620
1863
  class ListProvisionedConcurrencyConfigsRequest(ServiceRequest):
1621
1864
  FunctionName: FunctionName
1622
- Marker: Optional[String]
1623
- MaxItems: Optional[MaxProvisionedConcurrencyConfigListItems]
1865
+ Marker: String | None
1866
+ MaxItems: MaxProvisionedConcurrencyConfigListItems | None
1624
1867
 
1625
1868
 
1626
1869
  class ProvisionedConcurrencyConfigListItem(TypedDict, total=False):
1627
- FunctionArn: Optional[FunctionArn]
1628
- RequestedProvisionedConcurrentExecutions: Optional[PositiveInteger]
1629
- AvailableProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1630
- AllocatedProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1631
- Status: Optional[ProvisionedConcurrencyStatusEnum]
1632
- StatusReason: Optional[String]
1633
- LastModified: Optional[Timestamp]
1870
+ FunctionArn: FunctionArn | None
1871
+ RequestedProvisionedConcurrentExecutions: PositiveInteger | None
1872
+ AvailableProvisionedConcurrentExecutions: NonNegativeInteger | None
1873
+ AllocatedProvisionedConcurrentExecutions: NonNegativeInteger | None
1874
+ Status: ProvisionedConcurrencyStatusEnum | None
1875
+ StatusReason: String | None
1876
+ LastModified: Timestamp | None
1634
1877
 
1635
1878
 
1636
- ProvisionedConcurrencyConfigList = List[ProvisionedConcurrencyConfigListItem]
1879
+ ProvisionedConcurrencyConfigList = list[ProvisionedConcurrencyConfigListItem]
1637
1880
 
1638
1881
 
1639
1882
  class ListProvisionedConcurrencyConfigsResponse(TypedDict, total=False):
1640
- ProvisionedConcurrencyConfigs: Optional[ProvisionedConcurrencyConfigList]
1641
- NextMarker: Optional[String]
1883
+ ProvisionedConcurrencyConfigs: ProvisionedConcurrencyConfigList | None
1884
+ NextMarker: String | None
1642
1885
 
1643
1886
 
1644
1887
  class ListTagsRequest(ServiceRequest):
@@ -1646,51 +1889,52 @@ class ListTagsRequest(ServiceRequest):
1646
1889
 
1647
1890
 
1648
1891
  class ListTagsResponse(TypedDict, total=False):
1649
- Tags: Optional[Tags]
1892
+ Tags: Tags | None
1650
1893
 
1651
1894
 
1652
1895
  class ListVersionsByFunctionRequest(ServiceRequest):
1653
1896
  FunctionName: NamespacedFunctionName
1654
- Marker: Optional[String]
1655
- MaxItems: Optional[MaxListItems]
1897
+ Marker: String | None
1898
+ MaxItems: MaxListItems | None
1656
1899
 
1657
1900
 
1658
1901
  class ListVersionsByFunctionResponse(TypedDict, total=False):
1659
- NextMarker: Optional[String]
1660
- Versions: Optional[FunctionList]
1902
+ NextMarker: String | None
1903
+ Versions: FunctionList | None
1661
1904
 
1662
1905
 
1663
1906
  class PublishLayerVersionRequest(ServiceRequest):
1664
1907
  LayerName: LayerName
1665
- Description: Optional[Description]
1908
+ Description: Description | None
1666
1909
  Content: LayerVersionContentInput
1667
- CompatibleRuntimes: Optional[CompatibleRuntimes]
1668
- LicenseInfo: Optional[LicenseInfo]
1669
- CompatibleArchitectures: Optional[CompatibleArchitectures]
1910
+ CompatibleRuntimes: CompatibleRuntimes | None
1911
+ LicenseInfo: LicenseInfo | None
1912
+ CompatibleArchitectures: CompatibleArchitectures | None
1670
1913
 
1671
1914
 
1672
1915
  class PublishLayerVersionResponse(TypedDict, total=False):
1673
- Content: Optional[LayerVersionContentOutput]
1674
- LayerArn: Optional[LayerArn]
1675
- LayerVersionArn: Optional[LayerVersionArn]
1676
- Description: Optional[Description]
1677
- CreatedDate: Optional[Timestamp]
1678
- Version: Optional[LayerVersionNumber]
1679
- CompatibleRuntimes: Optional[CompatibleRuntimes]
1680
- LicenseInfo: Optional[LicenseInfo]
1681
- CompatibleArchitectures: Optional[CompatibleArchitectures]
1916
+ Content: LayerVersionContentOutput | None
1917
+ LayerArn: LayerArn | None
1918
+ LayerVersionArn: LayerVersionArn | None
1919
+ Description: Description | None
1920
+ CreatedDate: Timestamp | None
1921
+ Version: LayerVersionNumber | None
1922
+ CompatibleRuntimes: CompatibleRuntimes | None
1923
+ LicenseInfo: LicenseInfo | None
1924
+ CompatibleArchitectures: CompatibleArchitectures | None
1682
1925
 
1683
1926
 
1684
1927
  class PublishVersionRequest(ServiceRequest):
1685
1928
  FunctionName: FunctionName
1686
- CodeSha256: Optional[String]
1687
- Description: Optional[Description]
1688
- RevisionId: Optional[String]
1929
+ CodeSha256: String | None
1930
+ Description: Description | None
1931
+ RevisionId: String | None
1932
+ PublishTo: FunctionVersionLatestPublished | None
1689
1933
 
1690
1934
 
1691
1935
  class PutFunctionCodeSigningConfigRequest(ServiceRequest):
1692
1936
  CodeSigningConfigArn: CodeSigningConfigArn
1693
- FunctionName: FunctionName
1937
+ FunctionName: NamespacedFunctionName
1694
1938
 
1695
1939
 
1696
1940
  class PutFunctionCodeSigningConfigResponse(TypedDict, total=False):
@@ -1704,11 +1948,11 @@ class PutFunctionConcurrencyRequest(ServiceRequest):
1704
1948
 
1705
1949
 
1706
1950
  class PutFunctionEventInvokeConfigRequest(ServiceRequest):
1707
- FunctionName: FunctionName
1708
- Qualifier: Optional[Qualifier]
1709
- MaximumRetryAttempts: Optional[MaximumRetryAttempts]
1710
- MaximumEventAgeInSeconds: Optional[MaximumEventAgeInSeconds]
1711
- DestinationConfig: Optional[DestinationConfig]
1951
+ FunctionName: NamespacedFunctionName
1952
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1953
+ MaximumRetryAttempts: MaximumRetryAttempts | None
1954
+ MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
1955
+ DestinationConfig: DestinationConfig | None
1712
1956
 
1713
1957
 
1714
1958
  class PutFunctionRecursionConfigRequest(ServiceRequest):
@@ -1717,7 +1961,17 @@ class PutFunctionRecursionConfigRequest(ServiceRequest):
1717
1961
 
1718
1962
 
1719
1963
  class PutFunctionRecursionConfigResponse(TypedDict, total=False):
1720
- RecursiveLoop: Optional[RecursiveLoop]
1964
+ RecursiveLoop: RecursiveLoop | None
1965
+
1966
+
1967
+ class PutFunctionScalingConfigRequest(ServiceRequest):
1968
+ FunctionName: UnqualifiedFunctionName
1969
+ Qualifier: PublishedFunctionQualifier
1970
+ FunctionScalingConfig: FunctionScalingConfig | None
1971
+
1972
+
1973
+ class PutFunctionScalingConfigResponse(TypedDict, total=False):
1974
+ FunctionState: State | None
1721
1975
 
1722
1976
 
1723
1977
  class PutProvisionedConcurrencyConfigRequest(ServiceRequest):
@@ -1727,42 +1981,42 @@ class PutProvisionedConcurrencyConfigRequest(ServiceRequest):
1727
1981
 
1728
1982
 
1729
1983
  class PutProvisionedConcurrencyConfigResponse(TypedDict, total=False):
1730
- RequestedProvisionedConcurrentExecutions: Optional[PositiveInteger]
1731
- AvailableProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1732
- AllocatedProvisionedConcurrentExecutions: Optional[NonNegativeInteger]
1733
- Status: Optional[ProvisionedConcurrencyStatusEnum]
1734
- StatusReason: Optional[String]
1735
- LastModified: Optional[Timestamp]
1984
+ RequestedProvisionedConcurrentExecutions: PositiveInteger | None
1985
+ AvailableProvisionedConcurrentExecutions: NonNegativeInteger | None
1986
+ AllocatedProvisionedConcurrentExecutions: NonNegativeInteger | None
1987
+ Status: ProvisionedConcurrencyStatusEnum | None
1988
+ StatusReason: String | None
1989
+ LastModified: Timestamp | None
1736
1990
 
1737
1991
 
1738
1992
  class PutRuntimeManagementConfigRequest(ServiceRequest):
1739
- FunctionName: FunctionName
1740
- Qualifier: Optional[Qualifier]
1993
+ FunctionName: NamespacedFunctionName
1994
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
1741
1995
  UpdateRuntimeOn: UpdateRuntimeOn
1742
- RuntimeVersionArn: Optional[RuntimeVersionArn]
1996
+ RuntimeVersionArn: RuntimeVersionArn | None
1743
1997
 
1744
1998
 
1745
1999
  class PutRuntimeManagementConfigResponse(TypedDict, total=False):
1746
2000
  UpdateRuntimeOn: UpdateRuntimeOn
1747
2001
  FunctionArn: FunctionArn
1748
- RuntimeVersionArn: Optional[RuntimeVersionArn]
2002
+ RuntimeVersionArn: RuntimeVersionArn | None
1749
2003
 
1750
2004
 
1751
2005
  class RemoveLayerVersionPermissionRequest(ServiceRequest):
1752
2006
  LayerName: LayerName
1753
2007
  VersionNumber: LayerVersionNumber
1754
2008
  StatementId: StatementId
1755
- RevisionId: Optional[String]
2009
+ RevisionId: String | None
1756
2010
 
1757
2011
 
1758
2012
  class RemovePermissionRequest(ServiceRequest):
1759
- FunctionName: FunctionName
2013
+ FunctionName: NamespacedFunctionName
1760
2014
  StatementId: NamespacedStatementId
1761
- Qualifier: Optional[Qualifier]
1762
- RevisionId: Optional[String]
2015
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
2016
+ RevisionId: String | None
1763
2017
 
1764
2018
 
1765
- TagKeyList = List[TagKey]
2019
+ TagKeyList = list[TagKey]
1766
2020
 
1767
2021
 
1768
2022
  class TagResourceRequest(ServiceRequest):
@@ -1778,17 +2032,26 @@ class UntagResourceRequest(ServiceRequest):
1778
2032
  class UpdateAliasRequest(ServiceRequest):
1779
2033
  FunctionName: FunctionName
1780
2034
  Name: Alias
1781
- FunctionVersion: Optional[Version]
1782
- Description: Optional[Description]
1783
- RoutingConfig: Optional[AliasRoutingConfiguration]
1784
- RevisionId: Optional[String]
2035
+ FunctionVersion: VersionWithLatestPublished | None
2036
+ Description: Description | None
2037
+ RoutingConfig: AliasRoutingConfiguration | None
2038
+ RevisionId: String | None
2039
+
2040
+
2041
+ class UpdateCapacityProviderRequest(ServiceRequest):
2042
+ CapacityProviderName: CapacityProviderName
2043
+ CapacityProviderScalingConfig: CapacityProviderScalingConfig | None
2044
+
2045
+
2046
+ class UpdateCapacityProviderResponse(TypedDict, total=False):
2047
+ CapacityProvider: CapacityProvider
1785
2048
 
1786
2049
 
1787
2050
  class UpdateCodeSigningConfigRequest(ServiceRequest):
1788
2051
  CodeSigningConfigArn: CodeSigningConfigArn
1789
- Description: Optional[Description]
1790
- AllowedPublishers: Optional[AllowedPublishers]
1791
- CodeSigningPolicies: Optional[CodeSigningPolicies]
2052
+ Description: Description | None
2053
+ AllowedPublishers: AllowedPublishers | None
2054
+ CodeSigningPolicies: CodeSigningPolicies | None
1792
2055
 
1793
2056
 
1794
2057
  class UpdateCodeSigningConfigResponse(TypedDict, total=False):
@@ -1797,93 +2060,95 @@ class UpdateCodeSigningConfigResponse(TypedDict, total=False):
1797
2060
 
1798
2061
  class UpdateEventSourceMappingRequest(ServiceRequest):
1799
2062
  UUID: String
1800
- FunctionName: Optional[FunctionName]
1801
- Enabled: Optional[Enabled]
1802
- BatchSize: Optional[BatchSize]
1803
- FilterCriteria: Optional[FilterCriteria]
1804
- MaximumBatchingWindowInSeconds: Optional[MaximumBatchingWindowInSeconds]
1805
- DestinationConfig: Optional[DestinationConfig]
1806
- MaximumRecordAgeInSeconds: Optional[MaximumRecordAgeInSeconds]
1807
- BisectBatchOnFunctionError: Optional[BisectBatchOnFunctionError]
1808
- MaximumRetryAttempts: Optional[MaximumRetryAttemptsEventSourceMapping]
1809
- ParallelizationFactor: Optional[ParallelizationFactor]
1810
- SourceAccessConfigurations: Optional[SourceAccessConfigurations]
1811
- TumblingWindowInSeconds: Optional[TumblingWindowInSeconds]
1812
- FunctionResponseTypes: Optional[FunctionResponseTypeList]
1813
- ScalingConfig: Optional[ScalingConfig]
1814
- AmazonManagedKafkaEventSourceConfig: Optional[AmazonManagedKafkaEventSourceConfig]
1815
- SelfManagedKafkaEventSourceConfig: Optional[SelfManagedKafkaEventSourceConfig]
1816
- DocumentDBEventSourceConfig: Optional[DocumentDBEventSourceConfig]
1817
- KMSKeyArn: Optional[KMSKeyArn]
1818
- MetricsConfig: Optional[EventSourceMappingMetricsConfig]
1819
- ProvisionedPollerConfig: Optional[ProvisionedPollerConfig]
2063
+ FunctionName: NamespacedFunctionName | None
2064
+ Enabled: Enabled | None
2065
+ BatchSize: BatchSize | None
2066
+ FilterCriteria: FilterCriteria | None
2067
+ MaximumBatchingWindowInSeconds: MaximumBatchingWindowInSeconds | None
2068
+ DestinationConfig: DestinationConfig | None
2069
+ MaximumRecordAgeInSeconds: MaximumRecordAgeInSeconds | None
2070
+ BisectBatchOnFunctionError: BisectBatchOnFunctionError | None
2071
+ MaximumRetryAttempts: MaximumRetryAttemptsEventSourceMapping | None
2072
+ ParallelizationFactor: ParallelizationFactor | None
2073
+ SourceAccessConfigurations: SourceAccessConfigurations | None
2074
+ TumblingWindowInSeconds: TumblingWindowInSeconds | None
2075
+ FunctionResponseTypes: FunctionResponseTypeList | None
2076
+ ScalingConfig: ScalingConfig | None
2077
+ AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig | None
2078
+ SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig | None
2079
+ DocumentDBEventSourceConfig: DocumentDBEventSourceConfig | None
2080
+ KMSKeyArn: KMSKeyArn | None
2081
+ MetricsConfig: EventSourceMappingMetricsConfig | None
2082
+ ProvisionedPollerConfig: ProvisionedPollerConfig | None
1820
2083
 
1821
2084
 
1822
2085
  class UpdateFunctionCodeRequest(ServiceRequest):
1823
2086
  FunctionName: FunctionName
1824
- ZipFile: Optional[Blob]
1825
- S3Bucket: Optional[S3Bucket]
1826
- S3Key: Optional[S3Key]
1827
- S3ObjectVersion: Optional[S3ObjectVersion]
1828
- ImageUri: Optional[String]
1829
- Publish: Optional[Boolean]
1830
- DryRun: Optional[Boolean]
1831
- RevisionId: Optional[String]
1832
- Architectures: Optional[ArchitecturesList]
1833
- SourceKMSKeyArn: Optional[KMSKeyArn]
2087
+ ZipFile: Blob | None
2088
+ S3Bucket: S3Bucket | None
2089
+ S3Key: S3Key | None
2090
+ S3ObjectVersion: S3ObjectVersion | None
2091
+ ImageUri: String | None
2092
+ Publish: Boolean | None
2093
+ DryRun: Boolean | None
2094
+ RevisionId: String | None
2095
+ Architectures: ArchitecturesList | None
2096
+ SourceKMSKeyArn: KMSKeyArn | None
2097
+ PublishTo: FunctionVersionLatestPublished | None
1834
2098
 
1835
2099
 
1836
2100
  class UpdateFunctionConfigurationRequest(ServiceRequest):
1837
2101
  FunctionName: FunctionName
1838
- Role: Optional[RoleArn]
1839
- Handler: Optional[Handler]
1840
- Description: Optional[Description]
1841
- Timeout: Optional[Timeout]
1842
- MemorySize: Optional[MemorySize]
1843
- VpcConfig: Optional[VpcConfig]
1844
- Environment: Optional[Environment]
1845
- Runtime: Optional[Runtime]
1846
- DeadLetterConfig: Optional[DeadLetterConfig]
1847
- KMSKeyArn: Optional[KMSKeyArn]
1848
- TracingConfig: Optional[TracingConfig]
1849
- RevisionId: Optional[String]
1850
- Layers: Optional[LayerList]
1851
- FileSystemConfigs: Optional[FileSystemConfigList]
1852
- ImageConfig: Optional[ImageConfig]
1853
- EphemeralStorage: Optional[EphemeralStorage]
1854
- SnapStart: Optional[SnapStart]
1855
- LoggingConfig: Optional[LoggingConfig]
2102
+ Role: RoleArn | None
2103
+ Handler: Handler | None
2104
+ Description: Description | None
2105
+ Timeout: Timeout | None
2106
+ MemorySize: MemorySize | None
2107
+ VpcConfig: VpcConfig | None
2108
+ Environment: Environment | None
2109
+ Runtime: Runtime | None
2110
+ DeadLetterConfig: DeadLetterConfig | None
2111
+ KMSKeyArn: KMSKeyArn | None
2112
+ TracingConfig: TracingConfig | None
2113
+ RevisionId: String | None
2114
+ Layers: LayerList | None
2115
+ FileSystemConfigs: FileSystemConfigList | None
2116
+ ImageConfig: ImageConfig | None
2117
+ EphemeralStorage: EphemeralStorage | None
2118
+ SnapStart: SnapStart | None
2119
+ LoggingConfig: LoggingConfig | None
2120
+ CapacityProviderConfig: CapacityProviderConfig | None
1856
2121
 
1857
2122
 
1858
2123
  class UpdateFunctionEventInvokeConfigRequest(ServiceRequest):
1859
- FunctionName: FunctionName
1860
- Qualifier: Optional[Qualifier]
1861
- MaximumRetryAttempts: Optional[MaximumRetryAttempts]
1862
- MaximumEventAgeInSeconds: Optional[MaximumEventAgeInSeconds]
1863
- DestinationConfig: Optional[DestinationConfig]
2124
+ FunctionName: NamespacedFunctionName
2125
+ Qualifier: NumericLatestPublishedOrAliasQualifier | None
2126
+ MaximumRetryAttempts: MaximumRetryAttempts | None
2127
+ MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
2128
+ DestinationConfig: DestinationConfig | None
1864
2129
 
1865
2130
 
1866
2131
  class UpdateFunctionUrlConfigRequest(ServiceRequest):
1867
2132
  FunctionName: FunctionName
1868
- Qualifier: Optional[FunctionUrlQualifier]
1869
- AuthType: Optional[FunctionUrlAuthType]
1870
- Cors: Optional[Cors]
1871
- InvokeMode: Optional[InvokeMode]
2133
+ Qualifier: FunctionUrlQualifier | None
2134
+ AuthType: FunctionUrlAuthType | None
2135
+ Cors: Cors | None
2136
+ InvokeMode: InvokeMode | None
1872
2137
 
1873
2138
 
1874
2139
  class UpdateFunctionUrlConfigResponse(TypedDict, total=False):
1875
2140
  FunctionUrl: FunctionUrl
1876
2141
  FunctionArn: FunctionArn
1877
2142
  AuthType: FunctionUrlAuthType
1878
- Cors: Optional[Cors]
2143
+ Cors: Cors | None
1879
2144
  CreationTime: Timestamp
1880
2145
  LastModifiedTime: Timestamp
1881
- InvokeMode: Optional[InvokeMode]
2146
+ InvokeMode: InvokeMode | None
1882
2147
 
1883
2148
 
1884
2149
  class LambdaApi:
1885
- service = "lambda"
1886
- version = "2015-03-31"
2150
+ service: str = "lambda"
2151
+ version: str = "2015-03-31"
1887
2152
 
1888
2153
  @handler("AddLayerVersionPermission")
1889
2154
  def add_layer_version_permission(
@@ -1904,14 +2169,14 @@ class LambdaApi:
1904
2169
  def add_permission(
1905
2170
  self,
1906
2171
  context: RequestContext,
1907
- function_name: FunctionName,
2172
+ function_name: NamespacedFunctionName,
1908
2173
  statement_id: StatementId,
1909
2174
  action: Action,
1910
2175
  principal: Principal,
1911
2176
  source_arn: Arn | None = None,
1912
2177
  source_account: SourceOwner | None = None,
1913
2178
  event_source_token: EventSourceToken | None = None,
1914
- qualifier: Qualifier | None = None,
2179
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
1915
2180
  revision_id: String | None = None,
1916
2181
  principal_org_id: PrincipalOrgID | None = None,
1917
2182
  function_url_auth_type: FunctionUrlAuthType | None = None,
@@ -1926,13 +2191,28 @@ class LambdaApi:
1926
2191
  context: RequestContext,
1927
2192
  function_name: FunctionName,
1928
2193
  name: Alias,
1929
- function_version: Version,
2194
+ function_version: VersionWithLatestPublished,
1930
2195
  description: Description | None = None,
1931
2196
  routing_config: AliasRoutingConfiguration | None = None,
1932
2197
  **kwargs,
1933
2198
  ) -> AliasConfiguration:
1934
2199
  raise NotImplementedError
1935
2200
 
2201
+ @handler("CreateCapacityProvider")
2202
+ def create_capacity_provider(
2203
+ self,
2204
+ context: RequestContext,
2205
+ capacity_provider_name: CapacityProviderName,
2206
+ vpc_config: CapacityProviderVpcConfig,
2207
+ permissions_config: CapacityProviderPermissionsConfig,
2208
+ instance_requirements: InstanceRequirements | None = None,
2209
+ capacity_provider_scaling_config: CapacityProviderScalingConfig | None = None,
2210
+ kms_key_arn: KMSKeyArnNonEmpty | None = None,
2211
+ tags: Tags | None = None,
2212
+ **kwargs,
2213
+ ) -> CreateCapacityProviderResponse:
2214
+ raise NotImplementedError
2215
+
1936
2216
  @handler("CreateCodeSigningConfig")
1937
2217
  def create_code_signing_config(
1938
2218
  self,
@@ -1949,7 +2229,7 @@ class LambdaApi:
1949
2229
  def create_event_source_mapping(
1950
2230
  self,
1951
2231
  context: RequestContext,
1952
- function_name: FunctionName,
2232
+ function_name: NamespacedFunctionName,
1953
2233
  event_source_arn: Arn | None = None,
1954
2234
  enabled: Enabled | None = None,
1955
2235
  batch_size: BatchSize | None = None,
@@ -2008,6 +2288,9 @@ class LambdaApi:
2008
2288
  ephemeral_storage: EphemeralStorage | None = None,
2009
2289
  snap_start: SnapStart | None = None,
2010
2290
  logging_config: LoggingConfig | None = None,
2291
+ capacity_provider_config: CapacityProviderConfig | None = None,
2292
+ publish_to: FunctionVersionLatestPublished | None = None,
2293
+ tenancy_config: TenancyConfig | None = None,
2011
2294
  **kwargs,
2012
2295
  ) -> FunctionConfiguration:
2013
2296
  raise NotImplementedError
@@ -2031,6 +2314,12 @@ class LambdaApi:
2031
2314
  ) -> None:
2032
2315
  raise NotImplementedError
2033
2316
 
2317
+ @handler("DeleteCapacityProvider")
2318
+ def delete_capacity_provider(
2319
+ self, context: RequestContext, capacity_provider_name: CapacityProviderName, **kwargs
2320
+ ) -> DeleteCapacityProviderResponse:
2321
+ raise NotImplementedError
2322
+
2034
2323
  @handler("DeleteCodeSigningConfig")
2035
2324
  def delete_code_signing_config(
2036
2325
  self, context: RequestContext, code_signing_config_arn: CodeSigningConfigArn, **kwargs
@@ -2047,15 +2336,15 @@ class LambdaApi:
2047
2336
  def delete_function(
2048
2337
  self,
2049
2338
  context: RequestContext,
2050
- function_name: FunctionName,
2051
- qualifier: Qualifier | None = None,
2339
+ function_name: NamespacedFunctionName,
2340
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2052
2341
  **kwargs,
2053
- ) -> None:
2342
+ ) -> DeleteFunctionResponse:
2054
2343
  raise NotImplementedError
2055
2344
 
2056
2345
  @handler("DeleteFunctionCodeSigningConfig")
2057
2346
  def delete_function_code_signing_config(
2058
- self, context: RequestContext, function_name: FunctionName, **kwargs
2347
+ self, context: RequestContext, function_name: NamespacedFunctionName, **kwargs
2059
2348
  ) -> None:
2060
2349
  raise NotImplementedError
2061
2350
 
@@ -2069,8 +2358,8 @@ class LambdaApi:
2069
2358
  def delete_function_event_invoke_config(
2070
2359
  self,
2071
2360
  context: RequestContext,
2072
- function_name: FunctionName,
2073
- qualifier: Qualifier | None = None,
2361
+ function_name: NamespacedFunctionName,
2362
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2074
2363
  **kwargs,
2075
2364
  ) -> None:
2076
2365
  raise NotImplementedError
@@ -2111,6 +2400,12 @@ class LambdaApi:
2111
2400
  ) -> AliasConfiguration:
2112
2401
  raise NotImplementedError
2113
2402
 
2403
+ @handler("GetCapacityProvider")
2404
+ def get_capacity_provider(
2405
+ self, context: RequestContext, capacity_provider_name: CapacityProviderName, **kwargs
2406
+ ) -> GetCapacityProviderResponse:
2407
+ raise NotImplementedError
2408
+
2114
2409
  @handler("GetCodeSigningConfig")
2115
2410
  def get_code_signing_config(
2116
2411
  self, context: RequestContext, code_signing_config_arn: CodeSigningConfigArn, **kwargs
@@ -2128,14 +2423,14 @@ class LambdaApi:
2128
2423
  self,
2129
2424
  context: RequestContext,
2130
2425
  function_name: NamespacedFunctionName,
2131
- qualifier: Qualifier | None = None,
2426
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2132
2427
  **kwargs,
2133
2428
  ) -> GetFunctionResponse:
2134
2429
  raise NotImplementedError
2135
2430
 
2136
2431
  @handler("GetFunctionCodeSigningConfig")
2137
2432
  def get_function_code_signing_config(
2138
- self, context: RequestContext, function_name: FunctionName, **kwargs
2433
+ self, context: RequestContext, function_name: NamespacedFunctionName, **kwargs
2139
2434
  ) -> GetFunctionCodeSigningConfigResponse:
2140
2435
  raise NotImplementedError
2141
2436
 
@@ -2150,7 +2445,7 @@ class LambdaApi:
2150
2445
  self,
2151
2446
  context: RequestContext,
2152
2447
  function_name: NamespacedFunctionName,
2153
- qualifier: Qualifier | None = None,
2448
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2154
2449
  **kwargs,
2155
2450
  ) -> FunctionConfiguration:
2156
2451
  raise NotImplementedError
@@ -2159,8 +2454,8 @@ class LambdaApi:
2159
2454
  def get_function_event_invoke_config(
2160
2455
  self,
2161
2456
  context: RequestContext,
2162
- function_name: FunctionName,
2163
- qualifier: Qualifier | None = None,
2457
+ function_name: NamespacedFunctionName,
2458
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2164
2459
  **kwargs,
2165
2460
  ) -> FunctionEventInvokeConfig:
2166
2461
  raise NotImplementedError
@@ -2171,6 +2466,16 @@ class LambdaApi:
2171
2466
  ) -> GetFunctionRecursionConfigResponse:
2172
2467
  raise NotImplementedError
2173
2468
 
2469
+ @handler("GetFunctionScalingConfig")
2470
+ def get_function_scaling_config(
2471
+ self,
2472
+ context: RequestContext,
2473
+ function_name: UnqualifiedFunctionName,
2474
+ qualifier: PublishedFunctionQualifier,
2475
+ **kwargs,
2476
+ ) -> GetFunctionScalingConfigResponse:
2477
+ raise NotImplementedError
2478
+
2174
2479
  @handler("GetFunctionUrlConfig")
2175
2480
  def get_function_url_config(
2176
2481
  self,
@@ -2212,7 +2517,7 @@ class LambdaApi:
2212
2517
  self,
2213
2518
  context: RequestContext,
2214
2519
  function_name: NamespacedFunctionName,
2215
- qualifier: Qualifier | None = None,
2520
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2216
2521
  **kwargs,
2217
2522
  ) -> GetPolicyResponse:
2218
2523
  raise NotImplementedError
@@ -2228,7 +2533,7 @@ class LambdaApi:
2228
2533
  self,
2229
2534
  context: RequestContext,
2230
2535
  function_name: NamespacedFunctionName,
2231
- qualifier: Qualifier | None = None,
2536
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2232
2537
  **kwargs,
2233
2538
  ) -> GetRuntimeManagementConfigResponse:
2234
2539
  raise NotImplementedError
@@ -2242,7 +2547,8 @@ class LambdaApi:
2242
2547
  log_type: LogType | None = None,
2243
2548
  client_context: String | None = None,
2244
2549
  payload: IO[Blob] | None = None,
2245
- qualifier: Qualifier | None = None,
2550
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2551
+ tenant_id: TenantId | None = None,
2246
2552
  **kwargs,
2247
2553
  ) -> InvocationResponse:
2248
2554
  raise NotImplementedError
@@ -2265,8 +2571,9 @@ class LambdaApi:
2265
2571
  invocation_type: ResponseStreamingInvocationType | None = None,
2266
2572
  log_type: LogType | None = None,
2267
2573
  client_context: String | None = None,
2268
- qualifier: Qualifier | None = None,
2574
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2269
2575
  payload: IO[Blob] | None = None,
2576
+ tenant_id: TenantId | None = None,
2270
2577
  **kwargs,
2271
2578
  ) -> InvokeWithResponseStreamResponse:
2272
2579
  raise NotImplementedError
@@ -2276,13 +2583,24 @@ class LambdaApi:
2276
2583
  self,
2277
2584
  context: RequestContext,
2278
2585
  function_name: FunctionName,
2279
- function_version: Version | None = None,
2586
+ function_version: VersionWithLatestPublished | None = None,
2280
2587
  marker: String | None = None,
2281
2588
  max_items: MaxListItems | None = None,
2282
2589
  **kwargs,
2283
2590
  ) -> ListAliasesResponse:
2284
2591
  raise NotImplementedError
2285
2592
 
2593
+ @handler("ListCapacityProviders")
2594
+ def list_capacity_providers(
2595
+ self,
2596
+ context: RequestContext,
2597
+ state: CapacityProviderState | None = None,
2598
+ marker: String | None = None,
2599
+ max_items: MaxFiftyListItems | None = None,
2600
+ **kwargs,
2601
+ ) -> ListCapacityProvidersResponse:
2602
+ raise NotImplementedError
2603
+
2286
2604
  @handler("ListCodeSigningConfigs")
2287
2605
  def list_code_signing_configs(
2288
2606
  self,
@@ -2298,7 +2616,7 @@ class LambdaApi:
2298
2616
  self,
2299
2617
  context: RequestContext,
2300
2618
  event_source_arn: Arn | None = None,
2301
- function_name: FunctionName | None = None,
2619
+ function_name: NamespacedFunctionName | None = None,
2302
2620
  marker: String | None = None,
2303
2621
  max_items: MaxListItems | None = None,
2304
2622
  **kwargs,
@@ -2309,7 +2627,7 @@ class LambdaApi:
2309
2627
  def list_function_event_invoke_configs(
2310
2628
  self,
2311
2629
  context: RequestContext,
2312
- function_name: FunctionName,
2630
+ function_name: NamespacedFunctionName,
2313
2631
  marker: String | None = None,
2314
2632
  max_items: MaxFunctionEventInvokeConfigListItems | None = None,
2315
2633
  **kwargs,
@@ -2327,6 +2645,17 @@ class LambdaApi:
2327
2645
  ) -> ListFunctionUrlConfigsResponse:
2328
2646
  raise NotImplementedError
2329
2647
 
2648
+ @handler("ListFunctionVersionsByCapacityProvider")
2649
+ def list_function_versions_by_capacity_provider(
2650
+ self,
2651
+ context: RequestContext,
2652
+ capacity_provider_name: CapacityProviderName,
2653
+ marker: String | None = None,
2654
+ max_items: MaxFiftyListItems | None = None,
2655
+ **kwargs,
2656
+ ) -> ListFunctionVersionsByCapacityProviderResponse:
2657
+ raise NotImplementedError
2658
+
2330
2659
  @handler("ListFunctions")
2331
2660
  def list_functions(
2332
2661
  self,
@@ -2425,6 +2754,7 @@ class LambdaApi:
2425
2754
  code_sha256: String | None = None,
2426
2755
  description: Description | None = None,
2427
2756
  revision_id: String | None = None,
2757
+ publish_to: FunctionVersionLatestPublished | None = None,
2428
2758
  **kwargs,
2429
2759
  ) -> FunctionConfiguration:
2430
2760
  raise NotImplementedError
@@ -2434,7 +2764,7 @@ class LambdaApi:
2434
2764
  self,
2435
2765
  context: RequestContext,
2436
2766
  code_signing_config_arn: CodeSigningConfigArn,
2437
- function_name: FunctionName,
2767
+ function_name: NamespacedFunctionName,
2438
2768
  **kwargs,
2439
2769
  ) -> PutFunctionCodeSigningConfigResponse:
2440
2770
  raise NotImplementedError
@@ -2453,8 +2783,8 @@ class LambdaApi:
2453
2783
  def put_function_event_invoke_config(
2454
2784
  self,
2455
2785
  context: RequestContext,
2456
- function_name: FunctionName,
2457
- qualifier: Qualifier | None = None,
2786
+ function_name: NamespacedFunctionName,
2787
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2458
2788
  maximum_retry_attempts: MaximumRetryAttempts | None = None,
2459
2789
  maximum_event_age_in_seconds: MaximumEventAgeInSeconds | None = None,
2460
2790
  destination_config: DestinationConfig | None = None,
@@ -2472,6 +2802,17 @@ class LambdaApi:
2472
2802
  ) -> PutFunctionRecursionConfigResponse:
2473
2803
  raise NotImplementedError
2474
2804
 
2805
+ @handler("PutFunctionScalingConfig")
2806
+ def put_function_scaling_config(
2807
+ self,
2808
+ context: RequestContext,
2809
+ function_name: UnqualifiedFunctionName,
2810
+ qualifier: PublishedFunctionQualifier,
2811
+ function_scaling_config: FunctionScalingConfig | None = None,
2812
+ **kwargs,
2813
+ ) -> PutFunctionScalingConfigResponse:
2814
+ raise NotImplementedError
2815
+
2475
2816
  @handler("PutProvisionedConcurrencyConfig")
2476
2817
  def put_provisioned_concurrency_config(
2477
2818
  self,
@@ -2487,9 +2828,9 @@ class LambdaApi:
2487
2828
  def put_runtime_management_config(
2488
2829
  self,
2489
2830
  context: RequestContext,
2490
- function_name: FunctionName,
2831
+ function_name: NamespacedFunctionName,
2491
2832
  update_runtime_on: UpdateRuntimeOn,
2492
- qualifier: Qualifier | None = None,
2833
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2493
2834
  runtime_version_arn: RuntimeVersionArn | None = None,
2494
2835
  **kwargs,
2495
2836
  ) -> PutRuntimeManagementConfigResponse:
@@ -2511,9 +2852,9 @@ class LambdaApi:
2511
2852
  def remove_permission(
2512
2853
  self,
2513
2854
  context: RequestContext,
2514
- function_name: FunctionName,
2855
+ function_name: NamespacedFunctionName,
2515
2856
  statement_id: NamespacedStatementId,
2516
- qualifier: Qualifier | None = None,
2857
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2517
2858
  revision_id: String | None = None,
2518
2859
  **kwargs,
2519
2860
  ) -> None:
@@ -2537,7 +2878,7 @@ class LambdaApi:
2537
2878
  context: RequestContext,
2538
2879
  function_name: FunctionName,
2539
2880
  name: Alias,
2540
- function_version: Version | None = None,
2881
+ function_version: VersionWithLatestPublished | None = None,
2541
2882
  description: Description | None = None,
2542
2883
  routing_config: AliasRoutingConfiguration | None = None,
2543
2884
  revision_id: String | None = None,
@@ -2545,6 +2886,16 @@ class LambdaApi:
2545
2886
  ) -> AliasConfiguration:
2546
2887
  raise NotImplementedError
2547
2888
 
2889
+ @handler("UpdateCapacityProvider")
2890
+ def update_capacity_provider(
2891
+ self,
2892
+ context: RequestContext,
2893
+ capacity_provider_name: CapacityProviderName,
2894
+ capacity_provider_scaling_config: CapacityProviderScalingConfig | None = None,
2895
+ **kwargs,
2896
+ ) -> UpdateCapacityProviderResponse:
2897
+ raise NotImplementedError
2898
+
2548
2899
  @handler("UpdateCodeSigningConfig")
2549
2900
  def update_code_signing_config(
2550
2901
  self,
@@ -2562,7 +2913,7 @@ class LambdaApi:
2562
2913
  self,
2563
2914
  context: RequestContext,
2564
2915
  uuid: String,
2565
- function_name: FunctionName | None = None,
2916
+ function_name: NamespacedFunctionName | None = None,
2566
2917
  enabled: Enabled | None = None,
2567
2918
  batch_size: BatchSize | None = None,
2568
2919
  filter_criteria: FilterCriteria | None = None,
@@ -2601,6 +2952,7 @@ class LambdaApi:
2601
2952
  revision_id: String | None = None,
2602
2953
  architectures: ArchitecturesList | None = None,
2603
2954
  source_kms_key_arn: KMSKeyArn | None = None,
2955
+ publish_to: FunctionVersionLatestPublished | None = None,
2604
2956
  **kwargs,
2605
2957
  ) -> FunctionConfiguration:
2606
2958
  raise NotImplementedError
@@ -2628,6 +2980,7 @@ class LambdaApi:
2628
2980
  ephemeral_storage: EphemeralStorage | None = None,
2629
2981
  snap_start: SnapStart | None = None,
2630
2982
  logging_config: LoggingConfig | None = None,
2983
+ capacity_provider_config: CapacityProviderConfig | None = None,
2631
2984
  **kwargs,
2632
2985
  ) -> FunctionConfiguration:
2633
2986
  raise NotImplementedError
@@ -2636,8 +2989,8 @@ class LambdaApi:
2636
2989
  def update_function_event_invoke_config(
2637
2990
  self,
2638
2991
  context: RequestContext,
2639
- function_name: FunctionName,
2640
- qualifier: Qualifier | None = None,
2992
+ function_name: NamespacedFunctionName,
2993
+ qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
2641
2994
  maximum_retry_attempts: MaximumRetryAttempts | None = None,
2642
2995
  maximum_event_age_in_seconds: MaximumEventAgeInSeconds | None = None,
2643
2996
  destination_config: DestinationConfig | None = None,