localstack-core 4.10.1.dev42__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.
- localstack/aws/api/apigateway/__init__.py +42 -0
- localstack/aws/api/cloudformation/__init__.py +161 -0
- localstack/aws/api/ec2/__init__.py +1165 -12
- localstack/aws/api/iam/__init__.py +227 -0
- localstack/aws/api/kms/__init__.py +1 -0
- localstack/aws/api/lambda_/__init__.py +418 -66
- localstack/aws/api/logs/__init__.py +312 -0
- localstack/aws/api/opensearch/__init__.py +89 -0
- localstack/aws/api/redshift/__init__.py +69 -0
- localstack/aws/api/resourcegroupstaggingapi/__init__.py +36 -0
- localstack/aws/api/route53/__init__.py +42 -0
- localstack/aws/api/route53resolver/__init__.py +1 -0
- localstack/aws/api/s3/__init__.py +62 -0
- localstack/aws/api/secretsmanager/__init__.py +28 -23
- localstack/aws/api/stepfunctions/__init__.py +52 -10
- localstack/aws/api/sts/__init__.py +52 -0
- localstack/aws/handlers/logging.py +8 -4
- localstack/aws/handlers/service.py +11 -2
- localstack/aws/protocol/serializer.py +1 -1
- localstack/deprecations.py +0 -6
- localstack/services/acm/provider.py +4 -0
- localstack/services/apigateway/legacy/provider.py +28 -15
- localstack/services/cloudformation/engine/template_preparer.py +6 -2
- localstack/services/cloudformation/engine/v2/change_set_model_preproc.py +12 -0
- localstack/services/cloudwatch/provider.py +10 -3
- localstack/services/cloudwatch/provider_v2.py +6 -3
- localstack/services/configservice/provider.py +5 -1
- localstack/services/dynamodb/provider.py +1 -0
- localstack/services/dynamodb/v2/provider.py +1 -0
- localstack/services/dynamodbstreams/provider.py +6 -0
- localstack/services/dynamodbstreams/v2/provider.py +6 -0
- localstack/services/ec2/provider.py +6 -0
- localstack/services/es/provider.py +6 -0
- localstack/services/events/provider.py +4 -0
- localstack/services/events/v1/provider.py +9 -0
- localstack/services/firehose/provider.py +5 -0
- localstack/services/iam/provider.py +4 -0
- localstack/services/kms/models.py +10 -20
- localstack/services/kms/provider.py +4 -0
- localstack/services/lambda_/api_utils.py +37 -20
- localstack/services/lambda_/event_source_mapping/pollers/stream_poller.py +1 -1
- localstack/services/lambda_/invocation/assignment.py +4 -1
- localstack/services/lambda_/invocation/execution_environment.py +21 -2
- localstack/services/lambda_/invocation/lambda_models.py +27 -2
- localstack/services/lambda_/invocation/lambda_service.py +51 -3
- localstack/services/lambda_/invocation/models.py +9 -1
- localstack/services/lambda_/invocation/version_manager.py +18 -3
- localstack/services/lambda_/provider.py +239 -95
- localstack/services/lambda_/resource_providers/aws_lambda_function.py +33 -1
- localstack/services/lambda_/runtimes.py +3 -1
- localstack/services/logs/provider.py +9 -0
- localstack/services/opensearch/provider.py +53 -3
- localstack/services/resource_groups/provider.py +5 -1
- localstack/services/resourcegroupstaggingapi/provider.py +6 -1
- localstack/services/s3/provider.py +28 -15
- localstack/services/s3/utils.py +35 -14
- localstack/services/s3control/provider.py +101 -2
- localstack/services/s3control/validation.py +50 -0
- localstack/services/sns/constants.py +3 -1
- localstack/services/sns/publisher.py +15 -6
- localstack/services/sns/v2/models.py +6 -0
- localstack/services/sns/v2/provider.py +650 -19
- localstack/services/sns/v2/utils.py +12 -0
- localstack/services/stepfunctions/asl/component/common/path/result_path.py +1 -1
- localstack/services/stepfunctions/asl/component/state/state_execution/execute_state.py +0 -1
- localstack/services/stepfunctions/asl/component/state/state_execution/state_map/state_map.py +0 -1
- localstack/services/stepfunctions/asl/component/state/state_execution/state_task/lambda_eval_utils.py +8 -8
- localstack/services/stepfunctions/asl/component/state/state_execution/state_task/{mock_eval_utils.py → local_mock_eval_utils.py} +13 -9
- localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service.py +6 -6
- localstack/services/stepfunctions/asl/component/state/state_execution/state_task/service/state_task_service_callback.py +1 -1
- localstack/services/stepfunctions/asl/component/state/state_fail/state_fail.py +4 -0
- localstack/services/stepfunctions/asl/component/test_state/state/base_mock.py +118 -0
- localstack/services/stepfunctions/asl/component/test_state/state/common.py +82 -0
- localstack/services/stepfunctions/asl/component/test_state/state/execution.py +139 -0
- localstack/services/stepfunctions/asl/component/test_state/state/map.py +77 -0
- localstack/services/stepfunctions/asl/component/test_state/state/task.py +44 -0
- localstack/services/stepfunctions/asl/eval/environment.py +30 -22
- localstack/services/stepfunctions/asl/eval/states.py +1 -1
- localstack/services/stepfunctions/asl/eval/test_state/environment.py +49 -9
- localstack/services/stepfunctions/asl/eval/test_state/program_state.py +22 -0
- localstack/services/stepfunctions/asl/jsonata/jsonata.py +5 -1
- localstack/services/stepfunctions/asl/parse/preprocessor.py +67 -24
- localstack/services/stepfunctions/asl/parse/test_state/asl_parser.py +5 -4
- localstack/services/stepfunctions/asl/parse/test_state/preprocessor.py +222 -31
- localstack/services/stepfunctions/asl/static_analyser/test_state/test_state_analyser.py +170 -22
- localstack/services/stepfunctions/backend/execution.py +6 -6
- localstack/services/stepfunctions/backend/execution_worker.py +5 -5
- localstack/services/stepfunctions/backend/test_state/execution.py +36 -0
- localstack/services/stepfunctions/backend/test_state/execution_worker.py +33 -1
- localstack/services/stepfunctions/backend/test_state/test_state_mock.py +127 -0
- localstack/services/stepfunctions/local_mocking/__init__.py +9 -0
- localstack/services/stepfunctions/{mocking → local_mocking}/mock_config.py +24 -17
- localstack/services/stepfunctions/provider.py +78 -27
- localstack/services/stepfunctions/test_state/mock_config.py +47 -0
- localstack/testing/pytest/fixtures.py +28 -0
- localstack/testing/snapshots/transformer_utility.py +5 -0
- localstack/utils/analytics/publisher.py +37 -155
- localstack/utils/analytics/service_request_aggregator.py +6 -4
- localstack/utils/aws/arns.py +7 -0
- localstack/utils/batching.py +258 -0
- localstack/utils/collections.py +23 -11
- localstack/version.py +2 -2
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.11.2.dev14.dist-info}/METADATA +5 -5
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.11.2.dev14.dist-info}/RECORD +113 -105
- localstack_core-4.11.2.dev14.dist-info/plux.json +1 -0
- localstack/services/stepfunctions/mocking/__init__.py +0 -0
- localstack/utils/batch_policy.py +0 -124
- localstack_core-4.10.1.dev42.dist-info/plux.json +0 -1
- /localstack/services/stepfunctions/{mocking → local_mocking}/mock_config_file.py +0 -0
- {localstack_core-4.10.1.dev42.data → localstack_core-4.11.2.dev14.data}/scripts/localstack +0 -0
- {localstack_core-4.10.1.dev42.data → localstack_core-4.11.2.dev14.data}/scripts/localstack-supervisor +0 -0
- {localstack_core-4.10.1.dev42.data → localstack_core-4.11.2.dev14.data}/scripts/localstack.bat +0 -0
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.11.2.dev14.dist-info}/WHEEL +0 -0
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.11.2.dev14.dist-info}/entry_points.txt +0 -0
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.11.2.dev14.dist-info}/licenses/LICENSE.txt +0 -0
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.11.2.dev14.dist-info}/top_level.txt +0 -0
|
@@ -13,6 +13,9 @@ Arn = str
|
|
|
13
13
|
BatchSize = int
|
|
14
14
|
BisectBatchOnFunctionError = bool
|
|
15
15
|
Boolean = bool
|
|
16
|
+
CapacityProviderArn = str
|
|
17
|
+
CapacityProviderMaxVCpuCount = int
|
|
18
|
+
CapacityProviderName = str
|
|
16
19
|
CodeSigningConfigArn = str
|
|
17
20
|
CodeSigningConfigId = str
|
|
18
21
|
CollectionName = str
|
|
@@ -26,19 +29,23 @@ EnvironmentVariableValue = str
|
|
|
26
29
|
EphemeralStorageSize = int
|
|
27
30
|
EventSourceMappingArn = str
|
|
28
31
|
EventSourceToken = str
|
|
32
|
+
ExecutionEnvironmentMemoryGiBPerVCpu = float
|
|
29
33
|
FileSystemArn = str
|
|
30
34
|
FilterCriteriaErrorCode = str
|
|
31
35
|
FilterCriteriaErrorMessage = str
|
|
32
36
|
FunctionArn = str
|
|
33
37
|
FunctionName = str
|
|
38
|
+
FunctionScalingConfigExecutionEnvironments = int
|
|
34
39
|
FunctionUrl = str
|
|
35
40
|
FunctionUrlQualifier = str
|
|
36
41
|
Handler = str
|
|
37
42
|
Header = str
|
|
38
43
|
HttpStatus = int
|
|
44
|
+
InstanceType = str
|
|
39
45
|
Integer = int
|
|
40
46
|
InvokedViaFunctionUrl = bool
|
|
41
47
|
KMSKeyArn = str
|
|
48
|
+
KMSKeyArnNonEmpty = str
|
|
42
49
|
LastUpdateStatusReason = str
|
|
43
50
|
LayerArn = str
|
|
44
51
|
LayerName = str
|
|
@@ -50,6 +57,7 @@ LocalMountPath = str
|
|
|
50
57
|
LogGroup = str
|
|
51
58
|
MasterRegion = str
|
|
52
59
|
MaxAge = int
|
|
60
|
+
MaxFiftyListItems = int
|
|
53
61
|
MaxFunctionEventInvokeConfigListItems = int
|
|
54
62
|
MaxItems = int
|
|
55
63
|
MaxLayerListItems = int
|
|
@@ -64,19 +72,24 @@ MaximumRetryAttempts = int
|
|
|
64
72
|
MaximumRetryAttemptsEventSourceMapping = int
|
|
65
73
|
MemorySize = int
|
|
66
74
|
Method = str
|
|
75
|
+
MetricTargetValue = float
|
|
67
76
|
MinimumNumberOfPollers = int
|
|
68
77
|
NameSpacedFunctionArn = str
|
|
69
78
|
NamespacedFunctionName = str
|
|
70
79
|
NamespacedStatementId = str
|
|
71
80
|
NonNegativeInteger = int
|
|
72
81
|
NullableBoolean = bool
|
|
82
|
+
NumericLatestPublishedOrAliasQualifier = str
|
|
73
83
|
OrganizationId = str
|
|
74
84
|
Origin = str
|
|
75
85
|
ParallelizationFactor = int
|
|
76
86
|
Pattern = str
|
|
87
|
+
PerExecutionEnvironmentMaxConcurrency = int
|
|
77
88
|
PositiveInteger = int
|
|
78
89
|
Principal = str
|
|
79
90
|
PrincipalOrgID = str
|
|
91
|
+
ProvisionedPollerGroupName = str
|
|
92
|
+
PublishedFunctionQualifier = str
|
|
80
93
|
Qualifier = str
|
|
81
94
|
Queue = str
|
|
82
95
|
ReservedConcurrentExecutions = int
|
|
@@ -99,6 +112,7 @@ TagValue = str
|
|
|
99
112
|
TaggableResource = str
|
|
100
113
|
TagsErrorCode = str
|
|
101
114
|
TagsErrorMessage = str
|
|
115
|
+
TenantId = str
|
|
102
116
|
Timeout = int
|
|
103
117
|
Timestamp = str
|
|
104
118
|
Topic = str
|
|
@@ -107,6 +121,7 @@ URI = str
|
|
|
107
121
|
UnqualifiedFunctionName = str
|
|
108
122
|
UnreservedConcurrentExecutions = int
|
|
109
123
|
Version = str
|
|
124
|
+
VersionWithLatestPublished = str
|
|
110
125
|
VpcId = str
|
|
111
126
|
Weight = float
|
|
112
127
|
WorkingDirectory = str
|
|
@@ -126,6 +141,22 @@ class Architecture(StrEnum):
|
|
|
126
141
|
arm64 = "arm64"
|
|
127
142
|
|
|
128
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
|
+
|
|
129
160
|
class CodeSigningPolicy(StrEnum):
|
|
130
161
|
Warn = "Warn"
|
|
131
162
|
Enforce = "Enforce"
|
|
@@ -163,6 +194,10 @@ class FunctionVersion(StrEnum):
|
|
|
163
194
|
ALL = "ALL"
|
|
164
195
|
|
|
165
196
|
|
|
197
|
+
class FunctionVersionLatestPublished(StrEnum):
|
|
198
|
+
LATEST_PUBLISHED = "LATEST_PUBLISHED"
|
|
199
|
+
|
|
200
|
+
|
|
166
201
|
class InvocationType(StrEnum):
|
|
167
202
|
Event = "Event"
|
|
168
203
|
RequestResponse = "RequestResponse"
|
|
@@ -213,6 +248,18 @@ class LastUpdateStatusReasonCode(StrEnum):
|
|
|
213
248
|
InvalidRuntime = "InvalidRuntime"
|
|
214
249
|
InvalidZipFileException = "InvalidZipFileException"
|
|
215
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"
|
|
216
263
|
|
|
217
264
|
|
|
218
265
|
class LogFormat(StrEnum):
|
|
@@ -288,9 +335,9 @@ class Runtime(StrEnum):
|
|
|
288
335
|
java21 = "java21"
|
|
289
336
|
python3_13 = "python3.13"
|
|
290
337
|
nodejs22_x = "nodejs22.x"
|
|
291
|
-
java25 = "java25"
|
|
292
338
|
nodejs24_x = "nodejs24.x"
|
|
293
339
|
python3_14 = "python3.14"
|
|
340
|
+
java25 = "java25"
|
|
294
341
|
|
|
295
342
|
|
|
296
343
|
class SchemaRegistryEventRecordFormat(StrEnum):
|
|
@@ -324,6 +371,10 @@ class State(StrEnum):
|
|
|
324
371
|
Active = "Active"
|
|
325
372
|
Inactive = "Inactive"
|
|
326
373
|
Failed = "Failed"
|
|
374
|
+
Deactivating = "Deactivating"
|
|
375
|
+
Deactivated = "Deactivated"
|
|
376
|
+
ActiveNonInvocable = "ActiveNonInvocable"
|
|
377
|
+
Deleting = "Deleting"
|
|
327
378
|
|
|
328
379
|
|
|
329
380
|
class StateReasonCode(StrEnum):
|
|
@@ -351,6 +402,18 @@ class StateReasonCode(StrEnum):
|
|
|
351
402
|
InvalidRuntime = "InvalidRuntime"
|
|
352
403
|
InvalidZipFileException = "InvalidZipFileException"
|
|
353
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"
|
|
354
417
|
|
|
355
418
|
|
|
356
419
|
class SystemLogLevel(StrEnum):
|
|
@@ -359,6 +422,10 @@ class SystemLogLevel(StrEnum):
|
|
|
359
422
|
WARN = "WARN"
|
|
360
423
|
|
|
361
424
|
|
|
425
|
+
class TenantIsolationMode(StrEnum):
|
|
426
|
+
PER_TENANT = "PER_TENANT"
|
|
427
|
+
|
|
428
|
+
|
|
362
429
|
class ThrottleReason(StrEnum):
|
|
363
430
|
ConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded"
|
|
364
431
|
FunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded"
|
|
@@ -381,6 +448,13 @@ class UpdateRuntimeOn(StrEnum):
|
|
|
381
448
|
FunctionUpdate = "FunctionUpdate"
|
|
382
449
|
|
|
383
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
|
+
|
|
384
458
|
class CodeSigningConfigNotFoundException(ServiceException):
|
|
385
459
|
code: str = "CodeSigningConfigNotFoundException"
|
|
386
460
|
sender_fault: bool = True
|
|
@@ -459,6 +533,13 @@ class ENILimitReachedException(ServiceException):
|
|
|
459
533
|
Type: String | None
|
|
460
534
|
|
|
461
535
|
|
|
536
|
+
class FunctionVersionsPerCapacityProviderLimitExceededException(ServiceException):
|
|
537
|
+
code: str = "FunctionVersionsPerCapacityProviderLimitExceededException"
|
|
538
|
+
sender_fault: bool = True
|
|
539
|
+
status_code: int = 400
|
|
540
|
+
Type: String | None
|
|
541
|
+
|
|
542
|
+
|
|
462
543
|
class InvalidCodeSignatureException(ServiceException):
|
|
463
544
|
code: str = "InvalidCodeSignatureException"
|
|
464
545
|
sender_fault: bool = True
|
|
@@ -536,6 +617,13 @@ class KMSNotFoundException(ServiceException):
|
|
|
536
617
|
Type: String | None
|
|
537
618
|
|
|
538
619
|
|
|
620
|
+
class NoPublishedVersionException(ServiceException):
|
|
621
|
+
code: str = "NoPublishedVersionException"
|
|
622
|
+
sender_fault: bool = True
|
|
623
|
+
status_code: int = 400
|
|
624
|
+
Type: String | None
|
|
625
|
+
|
|
626
|
+
|
|
539
627
|
class PolicyLengthExceededException(ServiceException):
|
|
540
628
|
code: str = "PolicyLengthExceededException"
|
|
541
629
|
sender_fault: bool = True
|
|
@@ -692,14 +780,14 @@ class AddLayerVersionPermissionResponse(TypedDict, total=False):
|
|
|
692
780
|
|
|
693
781
|
|
|
694
782
|
class AddPermissionRequest(ServiceRequest):
|
|
695
|
-
FunctionName:
|
|
783
|
+
FunctionName: NamespacedFunctionName
|
|
696
784
|
StatementId: StatementId
|
|
697
785
|
Action: Action
|
|
698
786
|
Principal: Principal
|
|
699
787
|
SourceArn: Arn | None
|
|
700
788
|
SourceAccount: SourceOwner | None
|
|
701
789
|
EventSourceToken: EventSourceToken | None
|
|
702
|
-
Qualifier:
|
|
790
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
703
791
|
RevisionId: String | None
|
|
704
792
|
PrincipalOrgID: PrincipalOrgID | None
|
|
705
793
|
FunctionUrlAuthType: FunctionUrlAuthType | None
|
|
@@ -768,6 +856,66 @@ Blob = bytes
|
|
|
768
856
|
BlobStream = bytes
|
|
769
857
|
|
|
770
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
|
+
|
|
771
919
|
class CodeSigningPolicies(TypedDict, total=False):
|
|
772
920
|
UntrustedArtifactOnDeployment: CodeSigningPolicy | None
|
|
773
921
|
|
|
@@ -805,7 +953,7 @@ class Cors(TypedDict, total=False):
|
|
|
805
953
|
class CreateAliasRequest(ServiceRequest):
|
|
806
954
|
FunctionName: FunctionName
|
|
807
955
|
Name: Alias
|
|
808
|
-
FunctionVersion:
|
|
956
|
+
FunctionVersion: VersionWithLatestPublished
|
|
809
957
|
Description: Description | None
|
|
810
958
|
RoutingConfig: AliasRoutingConfiguration | None
|
|
811
959
|
|
|
@@ -813,6 +961,20 @@ class CreateAliasRequest(ServiceRequest):
|
|
|
813
961
|
Tags = dict[TagKey, TagValue]
|
|
814
962
|
|
|
815
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
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
class CreateCapacityProviderResponse(TypedDict, total=False):
|
|
975
|
+
CapacityProvider: CapacityProvider
|
|
976
|
+
|
|
977
|
+
|
|
816
978
|
class CreateCodeSigningConfigRequest(ServiceRequest):
|
|
817
979
|
Description: Description | None
|
|
818
980
|
AllowedPublishers: AllowedPublishers
|
|
@@ -827,6 +989,7 @@ class CreateCodeSigningConfigResponse(TypedDict, total=False):
|
|
|
827
989
|
class ProvisionedPollerConfig(TypedDict, total=False):
|
|
828
990
|
MinimumPollers: MinimumNumberOfPollers | None
|
|
829
991
|
MaximumPollers: MaximumNumberOfPollers | None
|
|
992
|
+
PollerGroupName: ProvisionedPollerGroupName | None
|
|
830
993
|
|
|
831
994
|
|
|
832
995
|
EventSourceMappingMetricList = list[EventSourceMappingMetric]
|
|
@@ -899,7 +1062,7 @@ class FilterCriteria(TypedDict, total=False):
|
|
|
899
1062
|
|
|
900
1063
|
class CreateEventSourceMappingRequest(ServiceRequest):
|
|
901
1064
|
EventSourceArn: Arn | None
|
|
902
|
-
FunctionName:
|
|
1065
|
+
FunctionName: NamespacedFunctionName
|
|
903
1066
|
Enabled: Enabled | None
|
|
904
1067
|
BatchSize: BatchSize | None
|
|
905
1068
|
FilterCriteria: FilterCriteria | None
|
|
@@ -927,6 +1090,10 @@ class CreateEventSourceMappingRequest(ServiceRequest):
|
|
|
927
1090
|
ProvisionedPollerConfig: ProvisionedPollerConfig | None
|
|
928
1091
|
|
|
929
1092
|
|
|
1093
|
+
class TenancyConfig(TypedDict, total=False):
|
|
1094
|
+
TenantIsolationMode: TenantIsolationMode
|
|
1095
|
+
|
|
1096
|
+
|
|
930
1097
|
class LoggingConfig(TypedDict, total=False):
|
|
931
1098
|
LogFormat: LogFormat | None
|
|
932
1099
|
ApplicationLogLevel: ApplicationLogLevel | None
|
|
@@ -1019,6 +1186,9 @@ class CreateFunctionRequest(ServiceRequest):
|
|
|
1019
1186
|
EphemeralStorage: EphemeralStorage | None
|
|
1020
1187
|
SnapStart: SnapStart | None
|
|
1021
1188
|
LoggingConfig: LoggingConfig | None
|
|
1189
|
+
CapacityProviderConfig: CapacityProviderConfig | None
|
|
1190
|
+
PublishTo: FunctionVersionLatestPublished | None
|
|
1191
|
+
TenancyConfig: TenancyConfig | None
|
|
1022
1192
|
|
|
1023
1193
|
|
|
1024
1194
|
class CreateFunctionUrlConfigRequest(ServiceRequest):
|
|
@@ -1043,6 +1213,14 @@ class DeleteAliasRequest(ServiceRequest):
|
|
|
1043
1213
|
Name: Alias
|
|
1044
1214
|
|
|
1045
1215
|
|
|
1216
|
+
class DeleteCapacityProviderRequest(ServiceRequest):
|
|
1217
|
+
CapacityProviderName: CapacityProviderName
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
class DeleteCapacityProviderResponse(TypedDict, total=False):
|
|
1221
|
+
CapacityProvider: CapacityProvider
|
|
1222
|
+
|
|
1223
|
+
|
|
1046
1224
|
class DeleteCodeSigningConfigRequest(ServiceRequest):
|
|
1047
1225
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1048
1226
|
|
|
@@ -1056,7 +1234,7 @@ class DeleteEventSourceMappingRequest(ServiceRequest):
|
|
|
1056
1234
|
|
|
1057
1235
|
|
|
1058
1236
|
class DeleteFunctionCodeSigningConfigRequest(ServiceRequest):
|
|
1059
|
-
FunctionName:
|
|
1237
|
+
FunctionName: NamespacedFunctionName
|
|
1060
1238
|
|
|
1061
1239
|
|
|
1062
1240
|
class DeleteFunctionConcurrencyRequest(ServiceRequest):
|
|
@@ -1064,13 +1242,17 @@ class DeleteFunctionConcurrencyRequest(ServiceRequest):
|
|
|
1064
1242
|
|
|
1065
1243
|
|
|
1066
1244
|
class DeleteFunctionEventInvokeConfigRequest(ServiceRequest):
|
|
1067
|
-
FunctionName:
|
|
1068
|
-
Qualifier:
|
|
1245
|
+
FunctionName: NamespacedFunctionName
|
|
1246
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1069
1247
|
|
|
1070
1248
|
|
|
1071
1249
|
class DeleteFunctionRequest(ServiceRequest):
|
|
1072
|
-
FunctionName:
|
|
1073
|
-
Qualifier:
|
|
1250
|
+
FunctionName: NamespacedFunctionName
|
|
1251
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
class DeleteFunctionResponse(TypedDict, total=False):
|
|
1255
|
+
StatusCode: Integer | None
|
|
1074
1256
|
|
|
1075
1257
|
|
|
1076
1258
|
class DeleteFunctionUrlConfigRequest(ServiceRequest):
|
|
@@ -1233,6 +1415,9 @@ class FunctionConfiguration(TypedDict, total=False):
|
|
|
1233
1415
|
SnapStart: SnapStartResponse | None
|
|
1234
1416
|
RuntimeVersionConfig: RuntimeVersionConfig | None
|
|
1235
1417
|
LoggingConfig: LoggingConfig | None
|
|
1418
|
+
CapacityProviderConfig: CapacityProviderConfig | None
|
|
1419
|
+
ConfigSha256: String | None
|
|
1420
|
+
TenancyConfig: TenancyConfig | None
|
|
1236
1421
|
|
|
1237
1422
|
|
|
1238
1423
|
class FunctionEventInvokeConfig(TypedDict, total=False):
|
|
@@ -1247,6 +1432,11 @@ FunctionEventInvokeConfigList = list[FunctionEventInvokeConfig]
|
|
|
1247
1432
|
FunctionList = list[FunctionConfiguration]
|
|
1248
1433
|
|
|
1249
1434
|
|
|
1435
|
+
class FunctionScalingConfig(TypedDict, total=False):
|
|
1436
|
+
MinExecutionEnvironments: FunctionScalingConfigExecutionEnvironments | None
|
|
1437
|
+
MaxExecutionEnvironments: FunctionScalingConfigExecutionEnvironments | None
|
|
1438
|
+
|
|
1439
|
+
|
|
1250
1440
|
class FunctionUrlConfig(TypedDict, total=False):
|
|
1251
1441
|
FunctionUrl: FunctionUrl
|
|
1252
1442
|
FunctionArn: FunctionArn
|
|
@@ -1260,6 +1450,14 @@ class FunctionUrlConfig(TypedDict, total=False):
|
|
|
1260
1450
|
FunctionUrlConfigList = list[FunctionUrlConfig]
|
|
1261
1451
|
|
|
1262
1452
|
|
|
1453
|
+
class FunctionVersionsByCapacityProviderListItem(TypedDict, total=False):
|
|
1454
|
+
FunctionArn: NameSpacedFunctionArn
|
|
1455
|
+
State: State
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
FunctionVersionsByCapacityProviderList = list[FunctionVersionsByCapacityProviderListItem]
|
|
1459
|
+
|
|
1460
|
+
|
|
1263
1461
|
class GetAccountSettingsRequest(ServiceRequest):
|
|
1264
1462
|
pass
|
|
1265
1463
|
|
|
@@ -1274,6 +1472,14 @@ class GetAliasRequest(ServiceRequest):
|
|
|
1274
1472
|
Name: Alias
|
|
1275
1473
|
|
|
1276
1474
|
|
|
1475
|
+
class GetCapacityProviderRequest(ServiceRequest):
|
|
1476
|
+
CapacityProviderName: CapacityProviderName
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
class GetCapacityProviderResponse(TypedDict, total=False):
|
|
1480
|
+
CapacityProvider: CapacityProvider
|
|
1481
|
+
|
|
1482
|
+
|
|
1277
1483
|
class GetCodeSigningConfigRequest(ServiceRequest):
|
|
1278
1484
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1279
1485
|
|
|
@@ -1287,7 +1493,7 @@ class GetEventSourceMappingRequest(ServiceRequest):
|
|
|
1287
1493
|
|
|
1288
1494
|
|
|
1289
1495
|
class GetFunctionCodeSigningConfigRequest(ServiceRequest):
|
|
1290
|
-
FunctionName:
|
|
1496
|
+
FunctionName: NamespacedFunctionName
|
|
1291
1497
|
|
|
1292
1498
|
|
|
1293
1499
|
class GetFunctionCodeSigningConfigResponse(TypedDict, total=False):
|
|
@@ -1305,12 +1511,12 @@ class GetFunctionConcurrencyResponse(TypedDict, total=False):
|
|
|
1305
1511
|
|
|
1306
1512
|
class GetFunctionConfigurationRequest(ServiceRequest):
|
|
1307
1513
|
FunctionName: NamespacedFunctionName
|
|
1308
|
-
Qualifier:
|
|
1514
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1309
1515
|
|
|
1310
1516
|
|
|
1311
1517
|
class GetFunctionEventInvokeConfigRequest(ServiceRequest):
|
|
1312
|
-
FunctionName:
|
|
1313
|
-
Qualifier:
|
|
1518
|
+
FunctionName: NamespacedFunctionName
|
|
1519
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1314
1520
|
|
|
1315
1521
|
|
|
1316
1522
|
class GetFunctionRecursionConfigRequest(ServiceRequest):
|
|
@@ -1323,7 +1529,7 @@ class GetFunctionRecursionConfigResponse(TypedDict, total=False):
|
|
|
1323
1529
|
|
|
1324
1530
|
class GetFunctionRequest(ServiceRequest):
|
|
1325
1531
|
FunctionName: NamespacedFunctionName
|
|
1326
|
-
Qualifier:
|
|
1532
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1327
1533
|
|
|
1328
1534
|
|
|
1329
1535
|
class TagsError(TypedDict, total=False):
|
|
@@ -1339,6 +1545,17 @@ class GetFunctionResponse(TypedDict, total=False):
|
|
|
1339
1545
|
Concurrency: Concurrency | None
|
|
1340
1546
|
|
|
1341
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
|
|
1557
|
+
|
|
1558
|
+
|
|
1342
1559
|
class GetFunctionUrlConfigRequest(ServiceRequest):
|
|
1343
1560
|
FunctionName: FunctionName
|
|
1344
1561
|
Qualifier: FunctionUrlQualifier | None
|
|
@@ -1395,7 +1612,7 @@ class GetLayerVersionResponse(TypedDict, total=False):
|
|
|
1395
1612
|
|
|
1396
1613
|
class GetPolicyRequest(ServiceRequest):
|
|
1397
1614
|
FunctionName: NamespacedFunctionName
|
|
1398
|
-
Qualifier:
|
|
1615
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1399
1616
|
|
|
1400
1617
|
|
|
1401
1618
|
class GetPolicyResponse(TypedDict, total=False):
|
|
@@ -1419,7 +1636,7 @@ class GetProvisionedConcurrencyConfigResponse(TypedDict, total=False):
|
|
|
1419
1636
|
|
|
1420
1637
|
class GetRuntimeManagementConfigRequest(ServiceRequest):
|
|
1421
1638
|
FunctionName: NamespacedFunctionName
|
|
1422
|
-
Qualifier:
|
|
1639
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1423
1640
|
|
|
1424
1641
|
|
|
1425
1642
|
class GetRuntimeManagementConfigResponse(TypedDict, total=False):
|
|
@@ -1434,7 +1651,8 @@ class InvocationRequest(ServiceRequest):
|
|
|
1434
1651
|
InvocationType: InvocationType | None
|
|
1435
1652
|
LogType: LogType | None
|
|
1436
1653
|
ClientContext: String | None
|
|
1437
|
-
Qualifier:
|
|
1654
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1655
|
+
TenantId: TenantId | None
|
|
1438
1656
|
|
|
1439
1657
|
|
|
1440
1658
|
class InvocationResponse(TypedDict, total=False):
|
|
@@ -1470,7 +1688,8 @@ class InvokeWithResponseStreamRequest(ServiceRequest):
|
|
|
1470
1688
|
InvocationType: ResponseStreamingInvocationType | None
|
|
1471
1689
|
LogType: LogType | None
|
|
1472
1690
|
ClientContext: String | None
|
|
1473
|
-
Qualifier:
|
|
1691
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1692
|
+
TenantId: TenantId | None
|
|
1474
1693
|
|
|
1475
1694
|
|
|
1476
1695
|
class InvokeWithResponseStreamResponseEvent(TypedDict, total=False):
|
|
@@ -1516,7 +1735,7 @@ LayersList = list[LayersListItem]
|
|
|
1516
1735
|
|
|
1517
1736
|
class ListAliasesRequest(ServiceRequest):
|
|
1518
1737
|
FunctionName: FunctionName
|
|
1519
|
-
FunctionVersion:
|
|
1738
|
+
FunctionVersion: VersionWithLatestPublished | None
|
|
1520
1739
|
Marker: String | None
|
|
1521
1740
|
MaxItems: MaxListItems | None
|
|
1522
1741
|
|
|
@@ -1526,6 +1745,17 @@ class ListAliasesResponse(TypedDict, total=False):
|
|
|
1526
1745
|
Aliases: AliasList | None
|
|
1527
1746
|
|
|
1528
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
|
|
1757
|
+
|
|
1758
|
+
|
|
1529
1759
|
class ListCodeSigningConfigsRequest(ServiceRequest):
|
|
1530
1760
|
Marker: String | None
|
|
1531
1761
|
MaxItems: MaxListItems | None
|
|
@@ -1538,7 +1768,7 @@ class ListCodeSigningConfigsResponse(TypedDict, total=False):
|
|
|
1538
1768
|
|
|
1539
1769
|
class ListEventSourceMappingsRequest(ServiceRequest):
|
|
1540
1770
|
EventSourceArn: Arn | None
|
|
1541
|
-
FunctionName:
|
|
1771
|
+
FunctionName: NamespacedFunctionName | None
|
|
1542
1772
|
Marker: String | None
|
|
1543
1773
|
MaxItems: MaxListItems | None
|
|
1544
1774
|
|
|
@@ -1549,7 +1779,7 @@ class ListEventSourceMappingsResponse(TypedDict, total=False):
|
|
|
1549
1779
|
|
|
1550
1780
|
|
|
1551
1781
|
class ListFunctionEventInvokeConfigsRequest(ServiceRequest):
|
|
1552
|
-
FunctionName:
|
|
1782
|
+
FunctionName: NamespacedFunctionName
|
|
1553
1783
|
Marker: String | None
|
|
1554
1784
|
MaxItems: MaxFunctionEventInvokeConfigListItems | None
|
|
1555
1785
|
|
|
@@ -1570,6 +1800,18 @@ class ListFunctionUrlConfigsResponse(TypedDict, total=False):
|
|
|
1570
1800
|
NextMarker: String | None
|
|
1571
1801
|
|
|
1572
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
|
|
1813
|
+
|
|
1814
|
+
|
|
1573
1815
|
class ListFunctionsByCodeSigningConfigRequest(ServiceRequest):
|
|
1574
1816
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1575
1817
|
Marker: String | None
|
|
@@ -1687,11 +1929,12 @@ class PublishVersionRequest(ServiceRequest):
|
|
|
1687
1929
|
CodeSha256: String | None
|
|
1688
1930
|
Description: Description | None
|
|
1689
1931
|
RevisionId: String | None
|
|
1932
|
+
PublishTo: FunctionVersionLatestPublished | None
|
|
1690
1933
|
|
|
1691
1934
|
|
|
1692
1935
|
class PutFunctionCodeSigningConfigRequest(ServiceRequest):
|
|
1693
1936
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1694
|
-
FunctionName:
|
|
1937
|
+
FunctionName: NamespacedFunctionName
|
|
1695
1938
|
|
|
1696
1939
|
|
|
1697
1940
|
class PutFunctionCodeSigningConfigResponse(TypedDict, total=False):
|
|
@@ -1705,8 +1948,8 @@ class PutFunctionConcurrencyRequest(ServiceRequest):
|
|
|
1705
1948
|
|
|
1706
1949
|
|
|
1707
1950
|
class PutFunctionEventInvokeConfigRequest(ServiceRequest):
|
|
1708
|
-
FunctionName:
|
|
1709
|
-
Qualifier:
|
|
1951
|
+
FunctionName: NamespacedFunctionName
|
|
1952
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1710
1953
|
MaximumRetryAttempts: MaximumRetryAttempts | None
|
|
1711
1954
|
MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
|
|
1712
1955
|
DestinationConfig: DestinationConfig | None
|
|
@@ -1721,6 +1964,16 @@ class PutFunctionRecursionConfigResponse(TypedDict, total=False):
|
|
|
1721
1964
|
RecursiveLoop: RecursiveLoop | None
|
|
1722
1965
|
|
|
1723
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
|
|
1975
|
+
|
|
1976
|
+
|
|
1724
1977
|
class PutProvisionedConcurrencyConfigRequest(ServiceRequest):
|
|
1725
1978
|
FunctionName: FunctionName
|
|
1726
1979
|
Qualifier: Qualifier
|
|
@@ -1737,8 +1990,8 @@ class PutProvisionedConcurrencyConfigResponse(TypedDict, total=False):
|
|
|
1737
1990
|
|
|
1738
1991
|
|
|
1739
1992
|
class PutRuntimeManagementConfigRequest(ServiceRequest):
|
|
1740
|
-
FunctionName:
|
|
1741
|
-
Qualifier:
|
|
1993
|
+
FunctionName: NamespacedFunctionName
|
|
1994
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1742
1995
|
UpdateRuntimeOn: UpdateRuntimeOn
|
|
1743
1996
|
RuntimeVersionArn: RuntimeVersionArn | None
|
|
1744
1997
|
|
|
@@ -1757,9 +2010,9 @@ class RemoveLayerVersionPermissionRequest(ServiceRequest):
|
|
|
1757
2010
|
|
|
1758
2011
|
|
|
1759
2012
|
class RemovePermissionRequest(ServiceRequest):
|
|
1760
|
-
FunctionName:
|
|
2013
|
+
FunctionName: NamespacedFunctionName
|
|
1761
2014
|
StatementId: NamespacedStatementId
|
|
1762
|
-
Qualifier:
|
|
2015
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1763
2016
|
RevisionId: String | None
|
|
1764
2017
|
|
|
1765
2018
|
|
|
@@ -1779,12 +2032,21 @@ class UntagResourceRequest(ServiceRequest):
|
|
|
1779
2032
|
class UpdateAliasRequest(ServiceRequest):
|
|
1780
2033
|
FunctionName: FunctionName
|
|
1781
2034
|
Name: Alias
|
|
1782
|
-
FunctionVersion:
|
|
2035
|
+
FunctionVersion: VersionWithLatestPublished | None
|
|
1783
2036
|
Description: Description | None
|
|
1784
2037
|
RoutingConfig: AliasRoutingConfiguration | None
|
|
1785
2038
|
RevisionId: String | None
|
|
1786
2039
|
|
|
1787
2040
|
|
|
2041
|
+
class UpdateCapacityProviderRequest(ServiceRequest):
|
|
2042
|
+
CapacityProviderName: CapacityProviderName
|
|
2043
|
+
CapacityProviderScalingConfig: CapacityProviderScalingConfig | None
|
|
2044
|
+
|
|
2045
|
+
|
|
2046
|
+
class UpdateCapacityProviderResponse(TypedDict, total=False):
|
|
2047
|
+
CapacityProvider: CapacityProvider
|
|
2048
|
+
|
|
2049
|
+
|
|
1788
2050
|
class UpdateCodeSigningConfigRequest(ServiceRequest):
|
|
1789
2051
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1790
2052
|
Description: Description | None
|
|
@@ -1798,7 +2060,7 @@ class UpdateCodeSigningConfigResponse(TypedDict, total=False):
|
|
|
1798
2060
|
|
|
1799
2061
|
class UpdateEventSourceMappingRequest(ServiceRequest):
|
|
1800
2062
|
UUID: String
|
|
1801
|
-
FunctionName:
|
|
2063
|
+
FunctionName: NamespacedFunctionName | None
|
|
1802
2064
|
Enabled: Enabled | None
|
|
1803
2065
|
BatchSize: BatchSize | None
|
|
1804
2066
|
FilterCriteria: FilterCriteria | None
|
|
@@ -1832,6 +2094,7 @@ class UpdateFunctionCodeRequest(ServiceRequest):
|
|
|
1832
2094
|
RevisionId: String | None
|
|
1833
2095
|
Architectures: ArchitecturesList | None
|
|
1834
2096
|
SourceKMSKeyArn: KMSKeyArn | None
|
|
2097
|
+
PublishTo: FunctionVersionLatestPublished | None
|
|
1835
2098
|
|
|
1836
2099
|
|
|
1837
2100
|
class UpdateFunctionConfigurationRequest(ServiceRequest):
|
|
@@ -1854,11 +2117,12 @@ class UpdateFunctionConfigurationRequest(ServiceRequest):
|
|
|
1854
2117
|
EphemeralStorage: EphemeralStorage | None
|
|
1855
2118
|
SnapStart: SnapStart | None
|
|
1856
2119
|
LoggingConfig: LoggingConfig | None
|
|
2120
|
+
CapacityProviderConfig: CapacityProviderConfig | None
|
|
1857
2121
|
|
|
1858
2122
|
|
|
1859
2123
|
class UpdateFunctionEventInvokeConfigRequest(ServiceRequest):
|
|
1860
|
-
FunctionName:
|
|
1861
|
-
Qualifier:
|
|
2124
|
+
FunctionName: NamespacedFunctionName
|
|
2125
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1862
2126
|
MaximumRetryAttempts: MaximumRetryAttempts | None
|
|
1863
2127
|
MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
|
|
1864
2128
|
DestinationConfig: DestinationConfig | None
|
|
@@ -1905,14 +2169,14 @@ class LambdaApi:
|
|
|
1905
2169
|
def add_permission(
|
|
1906
2170
|
self,
|
|
1907
2171
|
context: RequestContext,
|
|
1908
|
-
function_name:
|
|
2172
|
+
function_name: NamespacedFunctionName,
|
|
1909
2173
|
statement_id: StatementId,
|
|
1910
2174
|
action: Action,
|
|
1911
2175
|
principal: Principal,
|
|
1912
2176
|
source_arn: Arn | None = None,
|
|
1913
2177
|
source_account: SourceOwner | None = None,
|
|
1914
2178
|
event_source_token: EventSourceToken | None = None,
|
|
1915
|
-
qualifier:
|
|
2179
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
1916
2180
|
revision_id: String | None = None,
|
|
1917
2181
|
principal_org_id: PrincipalOrgID | None = None,
|
|
1918
2182
|
function_url_auth_type: FunctionUrlAuthType | None = None,
|
|
@@ -1927,13 +2191,28 @@ class LambdaApi:
|
|
|
1927
2191
|
context: RequestContext,
|
|
1928
2192
|
function_name: FunctionName,
|
|
1929
2193
|
name: Alias,
|
|
1930
|
-
function_version:
|
|
2194
|
+
function_version: VersionWithLatestPublished,
|
|
1931
2195
|
description: Description | None = None,
|
|
1932
2196
|
routing_config: AliasRoutingConfiguration | None = None,
|
|
1933
2197
|
**kwargs,
|
|
1934
2198
|
) -> AliasConfiguration:
|
|
1935
2199
|
raise NotImplementedError
|
|
1936
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
|
+
|
|
1937
2216
|
@handler("CreateCodeSigningConfig")
|
|
1938
2217
|
def create_code_signing_config(
|
|
1939
2218
|
self,
|
|
@@ -1950,7 +2229,7 @@ class LambdaApi:
|
|
|
1950
2229
|
def create_event_source_mapping(
|
|
1951
2230
|
self,
|
|
1952
2231
|
context: RequestContext,
|
|
1953
|
-
function_name:
|
|
2232
|
+
function_name: NamespacedFunctionName,
|
|
1954
2233
|
event_source_arn: Arn | None = None,
|
|
1955
2234
|
enabled: Enabled | None = None,
|
|
1956
2235
|
batch_size: BatchSize | None = None,
|
|
@@ -2009,6 +2288,9 @@ class LambdaApi:
|
|
|
2009
2288
|
ephemeral_storage: EphemeralStorage | None = None,
|
|
2010
2289
|
snap_start: SnapStart | None = None,
|
|
2011
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,
|
|
2012
2294
|
**kwargs,
|
|
2013
2295
|
) -> FunctionConfiguration:
|
|
2014
2296
|
raise NotImplementedError
|
|
@@ -2032,6 +2314,12 @@ class LambdaApi:
|
|
|
2032
2314
|
) -> None:
|
|
2033
2315
|
raise NotImplementedError
|
|
2034
2316
|
|
|
2317
|
+
@handler("DeleteCapacityProvider")
|
|
2318
|
+
def delete_capacity_provider(
|
|
2319
|
+
self, context: RequestContext, capacity_provider_name: CapacityProviderName, **kwargs
|
|
2320
|
+
) -> DeleteCapacityProviderResponse:
|
|
2321
|
+
raise NotImplementedError
|
|
2322
|
+
|
|
2035
2323
|
@handler("DeleteCodeSigningConfig")
|
|
2036
2324
|
def delete_code_signing_config(
|
|
2037
2325
|
self, context: RequestContext, code_signing_config_arn: CodeSigningConfigArn, **kwargs
|
|
@@ -2048,15 +2336,15 @@ class LambdaApi:
|
|
|
2048
2336
|
def delete_function(
|
|
2049
2337
|
self,
|
|
2050
2338
|
context: RequestContext,
|
|
2051
|
-
function_name:
|
|
2052
|
-
qualifier:
|
|
2339
|
+
function_name: NamespacedFunctionName,
|
|
2340
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2053
2341
|
**kwargs,
|
|
2054
|
-
) ->
|
|
2342
|
+
) -> DeleteFunctionResponse:
|
|
2055
2343
|
raise NotImplementedError
|
|
2056
2344
|
|
|
2057
2345
|
@handler("DeleteFunctionCodeSigningConfig")
|
|
2058
2346
|
def delete_function_code_signing_config(
|
|
2059
|
-
self, context: RequestContext, function_name:
|
|
2347
|
+
self, context: RequestContext, function_name: NamespacedFunctionName, **kwargs
|
|
2060
2348
|
) -> None:
|
|
2061
2349
|
raise NotImplementedError
|
|
2062
2350
|
|
|
@@ -2070,8 +2358,8 @@ class LambdaApi:
|
|
|
2070
2358
|
def delete_function_event_invoke_config(
|
|
2071
2359
|
self,
|
|
2072
2360
|
context: RequestContext,
|
|
2073
|
-
function_name:
|
|
2074
|
-
qualifier:
|
|
2361
|
+
function_name: NamespacedFunctionName,
|
|
2362
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2075
2363
|
**kwargs,
|
|
2076
2364
|
) -> None:
|
|
2077
2365
|
raise NotImplementedError
|
|
@@ -2112,6 +2400,12 @@ class LambdaApi:
|
|
|
2112
2400
|
) -> AliasConfiguration:
|
|
2113
2401
|
raise NotImplementedError
|
|
2114
2402
|
|
|
2403
|
+
@handler("GetCapacityProvider")
|
|
2404
|
+
def get_capacity_provider(
|
|
2405
|
+
self, context: RequestContext, capacity_provider_name: CapacityProviderName, **kwargs
|
|
2406
|
+
) -> GetCapacityProviderResponse:
|
|
2407
|
+
raise NotImplementedError
|
|
2408
|
+
|
|
2115
2409
|
@handler("GetCodeSigningConfig")
|
|
2116
2410
|
def get_code_signing_config(
|
|
2117
2411
|
self, context: RequestContext, code_signing_config_arn: CodeSigningConfigArn, **kwargs
|
|
@@ -2129,14 +2423,14 @@ class LambdaApi:
|
|
|
2129
2423
|
self,
|
|
2130
2424
|
context: RequestContext,
|
|
2131
2425
|
function_name: NamespacedFunctionName,
|
|
2132
|
-
qualifier:
|
|
2426
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2133
2427
|
**kwargs,
|
|
2134
2428
|
) -> GetFunctionResponse:
|
|
2135
2429
|
raise NotImplementedError
|
|
2136
2430
|
|
|
2137
2431
|
@handler("GetFunctionCodeSigningConfig")
|
|
2138
2432
|
def get_function_code_signing_config(
|
|
2139
|
-
self, context: RequestContext, function_name:
|
|
2433
|
+
self, context: RequestContext, function_name: NamespacedFunctionName, **kwargs
|
|
2140
2434
|
) -> GetFunctionCodeSigningConfigResponse:
|
|
2141
2435
|
raise NotImplementedError
|
|
2142
2436
|
|
|
@@ -2151,7 +2445,7 @@ class LambdaApi:
|
|
|
2151
2445
|
self,
|
|
2152
2446
|
context: RequestContext,
|
|
2153
2447
|
function_name: NamespacedFunctionName,
|
|
2154
|
-
qualifier:
|
|
2448
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2155
2449
|
**kwargs,
|
|
2156
2450
|
) -> FunctionConfiguration:
|
|
2157
2451
|
raise NotImplementedError
|
|
@@ -2160,8 +2454,8 @@ class LambdaApi:
|
|
|
2160
2454
|
def get_function_event_invoke_config(
|
|
2161
2455
|
self,
|
|
2162
2456
|
context: RequestContext,
|
|
2163
|
-
function_name:
|
|
2164
|
-
qualifier:
|
|
2457
|
+
function_name: NamespacedFunctionName,
|
|
2458
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2165
2459
|
**kwargs,
|
|
2166
2460
|
) -> FunctionEventInvokeConfig:
|
|
2167
2461
|
raise NotImplementedError
|
|
@@ -2172,6 +2466,16 @@ class LambdaApi:
|
|
|
2172
2466
|
) -> GetFunctionRecursionConfigResponse:
|
|
2173
2467
|
raise NotImplementedError
|
|
2174
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
|
+
|
|
2175
2479
|
@handler("GetFunctionUrlConfig")
|
|
2176
2480
|
def get_function_url_config(
|
|
2177
2481
|
self,
|
|
@@ -2213,7 +2517,7 @@ class LambdaApi:
|
|
|
2213
2517
|
self,
|
|
2214
2518
|
context: RequestContext,
|
|
2215
2519
|
function_name: NamespacedFunctionName,
|
|
2216
|
-
qualifier:
|
|
2520
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2217
2521
|
**kwargs,
|
|
2218
2522
|
) -> GetPolicyResponse:
|
|
2219
2523
|
raise NotImplementedError
|
|
@@ -2229,7 +2533,7 @@ class LambdaApi:
|
|
|
2229
2533
|
self,
|
|
2230
2534
|
context: RequestContext,
|
|
2231
2535
|
function_name: NamespacedFunctionName,
|
|
2232
|
-
qualifier:
|
|
2536
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2233
2537
|
**kwargs,
|
|
2234
2538
|
) -> GetRuntimeManagementConfigResponse:
|
|
2235
2539
|
raise NotImplementedError
|
|
@@ -2243,7 +2547,8 @@ class LambdaApi:
|
|
|
2243
2547
|
log_type: LogType | None = None,
|
|
2244
2548
|
client_context: String | None = None,
|
|
2245
2549
|
payload: IO[Blob] | None = None,
|
|
2246
|
-
qualifier:
|
|
2550
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2551
|
+
tenant_id: TenantId | None = None,
|
|
2247
2552
|
**kwargs,
|
|
2248
2553
|
) -> InvocationResponse:
|
|
2249
2554
|
raise NotImplementedError
|
|
@@ -2266,8 +2571,9 @@ class LambdaApi:
|
|
|
2266
2571
|
invocation_type: ResponseStreamingInvocationType | None = None,
|
|
2267
2572
|
log_type: LogType | None = None,
|
|
2268
2573
|
client_context: String | None = None,
|
|
2269
|
-
qualifier:
|
|
2574
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2270
2575
|
payload: IO[Blob] | None = None,
|
|
2576
|
+
tenant_id: TenantId | None = None,
|
|
2271
2577
|
**kwargs,
|
|
2272
2578
|
) -> InvokeWithResponseStreamResponse:
|
|
2273
2579
|
raise NotImplementedError
|
|
@@ -2277,13 +2583,24 @@ class LambdaApi:
|
|
|
2277
2583
|
self,
|
|
2278
2584
|
context: RequestContext,
|
|
2279
2585
|
function_name: FunctionName,
|
|
2280
|
-
function_version:
|
|
2586
|
+
function_version: VersionWithLatestPublished | None = None,
|
|
2281
2587
|
marker: String | None = None,
|
|
2282
2588
|
max_items: MaxListItems | None = None,
|
|
2283
2589
|
**kwargs,
|
|
2284
2590
|
) -> ListAliasesResponse:
|
|
2285
2591
|
raise NotImplementedError
|
|
2286
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
|
+
|
|
2287
2604
|
@handler("ListCodeSigningConfigs")
|
|
2288
2605
|
def list_code_signing_configs(
|
|
2289
2606
|
self,
|
|
@@ -2299,7 +2616,7 @@ class LambdaApi:
|
|
|
2299
2616
|
self,
|
|
2300
2617
|
context: RequestContext,
|
|
2301
2618
|
event_source_arn: Arn | None = None,
|
|
2302
|
-
function_name:
|
|
2619
|
+
function_name: NamespacedFunctionName | None = None,
|
|
2303
2620
|
marker: String | None = None,
|
|
2304
2621
|
max_items: MaxListItems | None = None,
|
|
2305
2622
|
**kwargs,
|
|
@@ -2310,7 +2627,7 @@ class LambdaApi:
|
|
|
2310
2627
|
def list_function_event_invoke_configs(
|
|
2311
2628
|
self,
|
|
2312
2629
|
context: RequestContext,
|
|
2313
|
-
function_name:
|
|
2630
|
+
function_name: NamespacedFunctionName,
|
|
2314
2631
|
marker: String | None = None,
|
|
2315
2632
|
max_items: MaxFunctionEventInvokeConfigListItems | None = None,
|
|
2316
2633
|
**kwargs,
|
|
@@ -2328,6 +2645,17 @@ class LambdaApi:
|
|
|
2328
2645
|
) -> ListFunctionUrlConfigsResponse:
|
|
2329
2646
|
raise NotImplementedError
|
|
2330
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
|
+
|
|
2331
2659
|
@handler("ListFunctions")
|
|
2332
2660
|
def list_functions(
|
|
2333
2661
|
self,
|
|
@@ -2426,6 +2754,7 @@ class LambdaApi:
|
|
|
2426
2754
|
code_sha256: String | None = None,
|
|
2427
2755
|
description: Description | None = None,
|
|
2428
2756
|
revision_id: String | None = None,
|
|
2757
|
+
publish_to: FunctionVersionLatestPublished | None = None,
|
|
2429
2758
|
**kwargs,
|
|
2430
2759
|
) -> FunctionConfiguration:
|
|
2431
2760
|
raise NotImplementedError
|
|
@@ -2435,7 +2764,7 @@ class LambdaApi:
|
|
|
2435
2764
|
self,
|
|
2436
2765
|
context: RequestContext,
|
|
2437
2766
|
code_signing_config_arn: CodeSigningConfigArn,
|
|
2438
|
-
function_name:
|
|
2767
|
+
function_name: NamespacedFunctionName,
|
|
2439
2768
|
**kwargs,
|
|
2440
2769
|
) -> PutFunctionCodeSigningConfigResponse:
|
|
2441
2770
|
raise NotImplementedError
|
|
@@ -2454,8 +2783,8 @@ class LambdaApi:
|
|
|
2454
2783
|
def put_function_event_invoke_config(
|
|
2455
2784
|
self,
|
|
2456
2785
|
context: RequestContext,
|
|
2457
|
-
function_name:
|
|
2458
|
-
qualifier:
|
|
2786
|
+
function_name: NamespacedFunctionName,
|
|
2787
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2459
2788
|
maximum_retry_attempts: MaximumRetryAttempts | None = None,
|
|
2460
2789
|
maximum_event_age_in_seconds: MaximumEventAgeInSeconds | None = None,
|
|
2461
2790
|
destination_config: DestinationConfig | None = None,
|
|
@@ -2473,6 +2802,17 @@ class LambdaApi:
|
|
|
2473
2802
|
) -> PutFunctionRecursionConfigResponse:
|
|
2474
2803
|
raise NotImplementedError
|
|
2475
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
|
+
|
|
2476
2816
|
@handler("PutProvisionedConcurrencyConfig")
|
|
2477
2817
|
def put_provisioned_concurrency_config(
|
|
2478
2818
|
self,
|
|
@@ -2488,9 +2828,9 @@ class LambdaApi:
|
|
|
2488
2828
|
def put_runtime_management_config(
|
|
2489
2829
|
self,
|
|
2490
2830
|
context: RequestContext,
|
|
2491
|
-
function_name:
|
|
2831
|
+
function_name: NamespacedFunctionName,
|
|
2492
2832
|
update_runtime_on: UpdateRuntimeOn,
|
|
2493
|
-
qualifier:
|
|
2833
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2494
2834
|
runtime_version_arn: RuntimeVersionArn | None = None,
|
|
2495
2835
|
**kwargs,
|
|
2496
2836
|
) -> PutRuntimeManagementConfigResponse:
|
|
@@ -2512,9 +2852,9 @@ class LambdaApi:
|
|
|
2512
2852
|
def remove_permission(
|
|
2513
2853
|
self,
|
|
2514
2854
|
context: RequestContext,
|
|
2515
|
-
function_name:
|
|
2855
|
+
function_name: NamespacedFunctionName,
|
|
2516
2856
|
statement_id: NamespacedStatementId,
|
|
2517
|
-
qualifier:
|
|
2857
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2518
2858
|
revision_id: String | None = None,
|
|
2519
2859
|
**kwargs,
|
|
2520
2860
|
) -> None:
|
|
@@ -2538,7 +2878,7 @@ class LambdaApi:
|
|
|
2538
2878
|
context: RequestContext,
|
|
2539
2879
|
function_name: FunctionName,
|
|
2540
2880
|
name: Alias,
|
|
2541
|
-
function_version:
|
|
2881
|
+
function_version: VersionWithLatestPublished | None = None,
|
|
2542
2882
|
description: Description | None = None,
|
|
2543
2883
|
routing_config: AliasRoutingConfiguration | None = None,
|
|
2544
2884
|
revision_id: String | None = None,
|
|
@@ -2546,6 +2886,16 @@ class LambdaApi:
|
|
|
2546
2886
|
) -> AliasConfiguration:
|
|
2547
2887
|
raise NotImplementedError
|
|
2548
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
|
+
|
|
2549
2899
|
@handler("UpdateCodeSigningConfig")
|
|
2550
2900
|
def update_code_signing_config(
|
|
2551
2901
|
self,
|
|
@@ -2563,7 +2913,7 @@ class LambdaApi:
|
|
|
2563
2913
|
self,
|
|
2564
2914
|
context: RequestContext,
|
|
2565
2915
|
uuid: String,
|
|
2566
|
-
function_name:
|
|
2916
|
+
function_name: NamespacedFunctionName | None = None,
|
|
2567
2917
|
enabled: Enabled | None = None,
|
|
2568
2918
|
batch_size: BatchSize | None = None,
|
|
2569
2919
|
filter_criteria: FilterCriteria | None = None,
|
|
@@ -2602,6 +2952,7 @@ class LambdaApi:
|
|
|
2602
2952
|
revision_id: String | None = None,
|
|
2603
2953
|
architectures: ArchitecturesList | None = None,
|
|
2604
2954
|
source_kms_key_arn: KMSKeyArn | None = None,
|
|
2955
|
+
publish_to: FunctionVersionLatestPublished | None = None,
|
|
2605
2956
|
**kwargs,
|
|
2606
2957
|
) -> FunctionConfiguration:
|
|
2607
2958
|
raise NotImplementedError
|
|
@@ -2629,6 +2980,7 @@ class LambdaApi:
|
|
|
2629
2980
|
ephemeral_storage: EphemeralStorage | None = None,
|
|
2630
2981
|
snap_start: SnapStart | None = None,
|
|
2631
2982
|
logging_config: LoggingConfig | None = None,
|
|
2983
|
+
capacity_provider_config: CapacityProviderConfig | None = None,
|
|
2632
2984
|
**kwargs,
|
|
2633
2985
|
) -> FunctionConfiguration:
|
|
2634
2986
|
raise NotImplementedError
|
|
@@ -2637,8 +2989,8 @@ class LambdaApi:
|
|
|
2637
2989
|
def update_function_event_invoke_config(
|
|
2638
2990
|
self,
|
|
2639
2991
|
context: RequestContext,
|
|
2640
|
-
function_name:
|
|
2641
|
-
qualifier:
|
|
2992
|
+
function_name: NamespacedFunctionName,
|
|
2993
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2642
2994
|
maximum_retry_attempts: MaximumRetryAttempts | None = None,
|
|
2643
2995
|
maximum_event_age_in_seconds: MaximumEventAgeInSeconds | None = None,
|
|
2644
2996
|
destination_config: DestinationConfig | None = None,
|