localstack-core 4.10.1.dev42__py3-none-any.whl → 4.12.1.dev18__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 +1178 -12
- localstack/aws/api/iam/__init__.py +228 -0
- localstack/aws/api/kms/__init__.py +1 -0
- localstack/aws/api/lambda_/__init__.py +1034 -66
- localstack/aws/api/logs/__init__.py +500 -0
- localstack/aws/api/opensearch/__init__.py +100 -0
- localstack/aws/api/redshift/__init__.py +69 -0
- localstack/aws/api/resourcegroupstaggingapi/__init__.py +36 -0
- localstack/aws/api/route53/__init__.py +45 -0
- localstack/aws/api/route53resolver/__init__.py +1 -0
- localstack/aws/api/s3/__init__.py +64 -0
- localstack/aws/api/s3control/__init__.py +19 -0
- localstack/aws/api/secretsmanager/__init__.py +37 -23
- localstack/aws/api/stepfunctions/__init__.py +52 -10
- localstack/aws/api/sts/__init__.py +52 -0
- localstack/aws/connect.py +35 -15
- localstack/aws/handlers/logging.py +8 -4
- localstack/aws/handlers/service.py +11 -2
- localstack/aws/protocol/serializer.py +1 -1
- localstack/config.py +8 -0
- localstack/constants.py +3 -0
- localstack/deprecations.py +0 -6
- localstack/dev/kubernetes/__main__.py +39 -14
- localstack/runtime/analytics.py +11 -0
- localstack/services/acm/provider.py +17 -1
- 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.py +9 -0
- localstack/services/cloudformation/engine/v2/change_set_model_preproc.py +15 -1
- localstack/services/cloudformation/engine/v2/change_set_resource_support_checker.py +114 -0
- localstack/services/cloudformation/provider.py +26 -1
- localstack/services/cloudformation/provider_utils.py +20 -0
- localstack/services/cloudformation/resource_provider.py +5 -4
- localstack/services/cloudformation/scaffolding/__main__.py +94 -22
- localstack/services/cloudformation/v2/provider.py +41 -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/kinesis/packages.py +1 -1
- localstack/services/kms/models.py +16 -22
- localstack/services/kms/provider.py +4 -0
- localstack/services/lambda_/analytics.py +11 -2
- 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/event_manager.py +15 -11
- localstack/services/lambda_/invocation/execution_environment.py +21 -2
- localstack/services/lambda_/invocation/lambda_models.py +31 -2
- localstack/services/lambda_/invocation/lambda_service.py +62 -3
- localstack/services/lambda_/invocation/models.py +9 -1
- localstack/services/lambda_/invocation/version_manager.py +18 -3
- localstack/services/lambda_/provider.py +307 -106
- 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/packages.py +34 -20
- localstack/services/opensearch/provider.py +53 -3
- localstack/services/resource_groups/provider.py +5 -1
- localstack/services/resourcegroupstaggingapi/provider.py +6 -1
- localstack/services/route53/provider.py +7 -0
- localstack/services/route53resolver/provider.py +5 -0
- localstack/services/s3/constants.py +5 -0
- localstack/services/s3/exceptions.py +9 -0
- localstack/services/s3/models.py +9 -1
- localstack/services/s3/provider.py +51 -43
- localstack/services/s3/utils.py +81 -15
- localstack/services/s3control/provider.py +107 -2
- localstack/services/s3control/validation.py +50 -0
- localstack/services/scheduler/provider.py +4 -2
- localstack/services/secretsmanager/provider.py +4 -0
- localstack/services/ses/provider.py +4 -0
- localstack/services/sns/constants.py +16 -1
- localstack/services/sns/provider.py +5 -0
- localstack/services/sns/publisher.py +15 -6
- localstack/services/sns/v2/models.py +9 -0
- localstack/services/sns/v2/provider.py +750 -19
- localstack/services/sns/v2/utils.py +12 -0
- localstack/services/sqs/constants.py +6 -0
- localstack/services/sqs/provider.py +9 -1
- localstack/services/sqs/resource_providers/aws_sqs_queue.py +61 -46
- localstack/services/ssm/provider.py +6 -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 +256 -22
- localstack/services/stepfunctions/backend/execution.py +10 -11
- 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 +83 -25
- localstack/services/stepfunctions/test_state/mock_config.py +47 -0
- localstack/services/sts/provider.py +7 -0
- localstack/services/support/provider.py +5 -1
- localstack/services/swf/provider.py +5 -1
- localstack/services/transcribe/provider.py +7 -0
- localstack/testing/aws/lambda_utils.py +1 -1
- localstack/testing/aws/util.py +2 -1
- localstack/testing/config.py +1 -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/aws/client_types.py +2 -4
- localstack/utils/batching.py +258 -0
- localstack/utils/bootstrap.py +2 -2
- localstack/utils/catalog/catalog.py +3 -2
- localstack/utils/collections.py +23 -11
- localstack/utils/container_utils/container_client.py +22 -13
- localstack/utils/container_utils/docker_cmd_client.py +6 -6
- localstack/version.py +2 -2
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.12.1.dev18.dist-info}/METADATA +7 -7
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.12.1.dev18.dist-info}/RECORD +155 -146
- localstack_core-4.12.1.dev18.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.12.1.dev18.data}/scripts/localstack +0 -0
- {localstack_core-4.10.1.dev42.data → localstack_core-4.12.1.dev18.data}/scripts/localstack-supervisor +0 -0
- {localstack_core-4.10.1.dev42.data → localstack_core-4.12.1.dev18.data}/scripts/localstack.bat +0 -0
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.12.1.dev18.dist-info}/WHEEL +0 -0
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.12.1.dev18.dist-info}/entry_points.txt +0 -0
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.12.1.dev18.dist-info}/licenses/LICENSE.txt +0 -0
- {localstack_core-4.10.1.dev42.dist-info → localstack_core-4.12.1.dev18.dist-info}/top_level.txt +0 -0
|
@@ -10,35 +10,57 @@ AdditionalVersion = str
|
|
|
10
10
|
Alias = str
|
|
11
11
|
AllowCredentials = bool
|
|
12
12
|
Arn = str
|
|
13
|
+
AttemptCount = int
|
|
13
14
|
BatchSize = int
|
|
14
15
|
BisectBatchOnFunctionError = bool
|
|
15
16
|
Boolean = bool
|
|
17
|
+
CallbackId = str
|
|
18
|
+
CapacityProviderArn = str
|
|
19
|
+
CapacityProviderMaxVCpuCount = int
|
|
20
|
+
CapacityProviderName = str
|
|
21
|
+
CheckpointToken = str
|
|
22
|
+
ClientToken = str
|
|
16
23
|
CodeSigningConfigArn = str
|
|
17
24
|
CodeSigningConfigId = str
|
|
18
25
|
CollectionName = str
|
|
19
26
|
DatabaseName = str
|
|
20
27
|
Description = str
|
|
21
28
|
DestinationArn = str
|
|
29
|
+
DurableExecutionArn = str
|
|
30
|
+
DurableExecutionName = str
|
|
31
|
+
DurationSeconds = int
|
|
22
32
|
Enabled = bool
|
|
23
33
|
Endpoint = str
|
|
24
34
|
EnvironmentVariableName = str
|
|
25
35
|
EnvironmentVariableValue = str
|
|
26
36
|
EphemeralStorageSize = int
|
|
37
|
+
ErrorData = str
|
|
38
|
+
ErrorMessage = str
|
|
39
|
+
ErrorType = str
|
|
40
|
+
EventId = int
|
|
27
41
|
EventSourceMappingArn = str
|
|
28
42
|
EventSourceToken = str
|
|
43
|
+
ExecutionEnvironmentMemoryGiBPerVCpu = float
|
|
44
|
+
ExecutionTimeout = int
|
|
29
45
|
FileSystemArn = str
|
|
30
46
|
FilterCriteriaErrorCode = str
|
|
31
47
|
FilterCriteriaErrorMessage = str
|
|
32
48
|
FunctionArn = str
|
|
33
49
|
FunctionName = str
|
|
50
|
+
FunctionScalingConfigExecutionEnvironments = int
|
|
34
51
|
FunctionUrl = str
|
|
35
52
|
FunctionUrlQualifier = str
|
|
36
53
|
Handler = str
|
|
37
54
|
Header = str
|
|
38
55
|
HttpStatus = int
|
|
56
|
+
IncludeExecutionData = bool
|
|
57
|
+
InputPayload = str
|
|
58
|
+
InstanceType = str
|
|
39
59
|
Integer = int
|
|
40
60
|
InvokedViaFunctionUrl = bool
|
|
61
|
+
ItemCount = int
|
|
41
62
|
KMSKeyArn = str
|
|
63
|
+
KMSKeyArnNonEmpty = str
|
|
42
64
|
LastUpdateStatusReason = str
|
|
43
65
|
LayerArn = str
|
|
44
66
|
LayerName = str
|
|
@@ -50,6 +72,7 @@ LocalMountPath = str
|
|
|
50
72
|
LogGroup = str
|
|
51
73
|
MasterRegion = str
|
|
52
74
|
MaxAge = int
|
|
75
|
+
MaxFiftyListItems = int
|
|
53
76
|
MaxFunctionEventInvokeConfigListItems = int
|
|
54
77
|
MaxItems = int
|
|
55
78
|
MaxLayerListItems = int
|
|
@@ -64,23 +87,36 @@ MaximumRetryAttempts = int
|
|
|
64
87
|
MaximumRetryAttemptsEventSourceMapping = int
|
|
65
88
|
MemorySize = int
|
|
66
89
|
Method = str
|
|
90
|
+
MetricTargetValue = float
|
|
67
91
|
MinimumNumberOfPollers = int
|
|
68
92
|
NameSpacedFunctionArn = str
|
|
69
93
|
NamespacedFunctionName = str
|
|
70
94
|
NamespacedStatementId = str
|
|
71
95
|
NonNegativeInteger = int
|
|
72
96
|
NullableBoolean = bool
|
|
97
|
+
NumericLatestPublishedOrAliasQualifier = str
|
|
98
|
+
OperationId = str
|
|
99
|
+
OperationName = str
|
|
100
|
+
OperationPayload = str
|
|
101
|
+
OperationSubType = str
|
|
73
102
|
OrganizationId = str
|
|
74
103
|
Origin = str
|
|
104
|
+
OutputPayload = str
|
|
75
105
|
ParallelizationFactor = int
|
|
76
106
|
Pattern = str
|
|
107
|
+
PerExecutionEnvironmentMaxConcurrency = int
|
|
77
108
|
PositiveInteger = int
|
|
78
109
|
Principal = str
|
|
79
110
|
PrincipalOrgID = str
|
|
111
|
+
ProvisionedPollerGroupName = str
|
|
112
|
+
PublishedFunctionQualifier = str
|
|
80
113
|
Qualifier = str
|
|
81
114
|
Queue = str
|
|
115
|
+
ReplayChildren = bool
|
|
82
116
|
ReservedConcurrentExecutions = int
|
|
83
117
|
ResourceArn = str
|
|
118
|
+
RetentionPeriodInDays = int
|
|
119
|
+
ReverseOrder = bool
|
|
84
120
|
RoleArn = str
|
|
85
121
|
RuntimeVersionArn = str
|
|
86
122
|
S3Bucket = str
|
|
@@ -90,8 +126,10 @@ SchemaRegistryUri = str
|
|
|
90
126
|
SecurityGroupId = str
|
|
91
127
|
SensitiveString = str
|
|
92
128
|
SourceOwner = str
|
|
129
|
+
StackTraceEntry = str
|
|
93
130
|
StateReason = str
|
|
94
131
|
StatementId = str
|
|
132
|
+
StepOptionsNextAttemptDelaySecondsInteger = int
|
|
95
133
|
String = str
|
|
96
134
|
SubnetId = str
|
|
97
135
|
TagKey = str
|
|
@@ -99,17 +137,22 @@ TagValue = str
|
|
|
99
137
|
TaggableResource = str
|
|
100
138
|
TagsErrorCode = str
|
|
101
139
|
TagsErrorMessage = str
|
|
140
|
+
TenantId = str
|
|
102
141
|
Timeout = int
|
|
103
142
|
Timestamp = str
|
|
104
143
|
Topic = str
|
|
144
|
+
Truncated = bool
|
|
105
145
|
TumblingWindowInSeconds = int
|
|
106
146
|
URI = str
|
|
107
147
|
UnqualifiedFunctionName = str
|
|
108
148
|
UnreservedConcurrentExecutions = int
|
|
109
149
|
Version = str
|
|
150
|
+
VersionWithLatestPublished = str
|
|
110
151
|
VpcId = str
|
|
152
|
+
WaitOptionsWaitSecondsInteger = int
|
|
111
153
|
Weight = float
|
|
112
154
|
WorkingDirectory = str
|
|
155
|
+
XAmznTraceId = str
|
|
113
156
|
|
|
114
157
|
|
|
115
158
|
class ApplicationLogLevel(StrEnum):
|
|
@@ -126,6 +169,22 @@ class Architecture(StrEnum):
|
|
|
126
169
|
arm64 = "arm64"
|
|
127
170
|
|
|
128
171
|
|
|
172
|
+
class CapacityProviderPredefinedMetricType(StrEnum):
|
|
173
|
+
LambdaCapacityProviderAverageCPUUtilization = "LambdaCapacityProviderAverageCPUUtilization"
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class CapacityProviderScalingMode(StrEnum):
|
|
177
|
+
Auto = "Auto"
|
|
178
|
+
Manual = "Manual"
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
class CapacityProviderState(StrEnum):
|
|
182
|
+
Pending = "Pending"
|
|
183
|
+
Active = "Active"
|
|
184
|
+
Failed = "Failed"
|
|
185
|
+
Deleting = "Deleting"
|
|
186
|
+
|
|
187
|
+
|
|
129
188
|
class CodeSigningPolicy(StrEnum):
|
|
130
189
|
Warn = "Warn"
|
|
131
190
|
Enforce = "Enforce"
|
|
@@ -145,6 +204,41 @@ class EventSourcePosition(StrEnum):
|
|
|
145
204
|
AT_TIMESTAMP = "AT_TIMESTAMP"
|
|
146
205
|
|
|
147
206
|
|
|
207
|
+
class EventType(StrEnum):
|
|
208
|
+
ExecutionStarted = "ExecutionStarted"
|
|
209
|
+
ExecutionSucceeded = "ExecutionSucceeded"
|
|
210
|
+
ExecutionFailed = "ExecutionFailed"
|
|
211
|
+
ExecutionTimedOut = "ExecutionTimedOut"
|
|
212
|
+
ExecutionStopped = "ExecutionStopped"
|
|
213
|
+
ContextStarted = "ContextStarted"
|
|
214
|
+
ContextSucceeded = "ContextSucceeded"
|
|
215
|
+
ContextFailed = "ContextFailed"
|
|
216
|
+
WaitStarted = "WaitStarted"
|
|
217
|
+
WaitSucceeded = "WaitSucceeded"
|
|
218
|
+
WaitCancelled = "WaitCancelled"
|
|
219
|
+
StepStarted = "StepStarted"
|
|
220
|
+
StepSucceeded = "StepSucceeded"
|
|
221
|
+
StepFailed = "StepFailed"
|
|
222
|
+
ChainedInvokeStarted = "ChainedInvokeStarted"
|
|
223
|
+
ChainedInvokeSucceeded = "ChainedInvokeSucceeded"
|
|
224
|
+
ChainedInvokeFailed = "ChainedInvokeFailed"
|
|
225
|
+
ChainedInvokeTimedOut = "ChainedInvokeTimedOut"
|
|
226
|
+
ChainedInvokeStopped = "ChainedInvokeStopped"
|
|
227
|
+
CallbackStarted = "CallbackStarted"
|
|
228
|
+
CallbackSucceeded = "CallbackSucceeded"
|
|
229
|
+
CallbackFailed = "CallbackFailed"
|
|
230
|
+
CallbackTimedOut = "CallbackTimedOut"
|
|
231
|
+
InvocationCompleted = "InvocationCompleted"
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class ExecutionStatus(StrEnum):
|
|
235
|
+
RUNNING = "RUNNING"
|
|
236
|
+
SUCCEEDED = "SUCCEEDED"
|
|
237
|
+
FAILED = "FAILED"
|
|
238
|
+
TIMED_OUT = "TIMED_OUT"
|
|
239
|
+
STOPPED = "STOPPED"
|
|
240
|
+
|
|
241
|
+
|
|
148
242
|
class FullDocument(StrEnum):
|
|
149
243
|
UpdateLookup = "UpdateLookup"
|
|
150
244
|
Default = "Default"
|
|
@@ -163,6 +257,10 @@ class FunctionVersion(StrEnum):
|
|
|
163
257
|
ALL = "ALL"
|
|
164
258
|
|
|
165
259
|
|
|
260
|
+
class FunctionVersionLatestPublished(StrEnum):
|
|
261
|
+
LATEST_PUBLISHED = "LATEST_PUBLISHED"
|
|
262
|
+
|
|
263
|
+
|
|
166
264
|
class InvocationType(StrEnum):
|
|
167
265
|
Event = "Event"
|
|
168
266
|
RequestResponse = "RequestResponse"
|
|
@@ -213,6 +311,19 @@ class LastUpdateStatusReasonCode(StrEnum):
|
|
|
213
311
|
InvalidRuntime = "InvalidRuntime"
|
|
214
312
|
InvalidZipFileException = "InvalidZipFileException"
|
|
215
313
|
FunctionError = "FunctionError"
|
|
314
|
+
VcpuLimitExceeded = "VcpuLimitExceeded"
|
|
315
|
+
CapacityProviderScalingLimitExceeded = "CapacityProviderScalingLimitExceeded"
|
|
316
|
+
InsufficientCapacity = "InsufficientCapacity"
|
|
317
|
+
EC2RequestLimitExceeded = "EC2RequestLimitExceeded"
|
|
318
|
+
FunctionError_InitTimeout = "FunctionError.InitTimeout"
|
|
319
|
+
FunctionError_RuntimeInitError = "FunctionError.RuntimeInitError"
|
|
320
|
+
FunctionError_ExtensionInitError = "FunctionError.ExtensionInitError"
|
|
321
|
+
FunctionError_InvalidEntryPoint = "FunctionError.InvalidEntryPoint"
|
|
322
|
+
FunctionError_InvalidWorkingDirectory = "FunctionError.InvalidWorkingDirectory"
|
|
323
|
+
FunctionError_PermissionDenied = "FunctionError.PermissionDenied"
|
|
324
|
+
FunctionError_TooManyExtensions = "FunctionError.TooManyExtensions"
|
|
325
|
+
FunctionError_InitResourceExhausted = "FunctionError.InitResourceExhausted"
|
|
326
|
+
DisallowedByVpcEncryptionControl = "DisallowedByVpcEncryptionControl"
|
|
216
327
|
|
|
217
328
|
|
|
218
329
|
class LogFormat(StrEnum):
|
|
@@ -225,6 +336,34 @@ class LogType(StrEnum):
|
|
|
225
336
|
Tail = "Tail"
|
|
226
337
|
|
|
227
338
|
|
|
339
|
+
class OperationAction(StrEnum):
|
|
340
|
+
START = "START"
|
|
341
|
+
SUCCEED = "SUCCEED"
|
|
342
|
+
FAIL = "FAIL"
|
|
343
|
+
RETRY = "RETRY"
|
|
344
|
+
CANCEL = "CANCEL"
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
class OperationStatus(StrEnum):
|
|
348
|
+
STARTED = "STARTED"
|
|
349
|
+
PENDING = "PENDING"
|
|
350
|
+
READY = "READY"
|
|
351
|
+
SUCCEEDED = "SUCCEEDED"
|
|
352
|
+
FAILED = "FAILED"
|
|
353
|
+
CANCELLED = "CANCELLED"
|
|
354
|
+
TIMED_OUT = "TIMED_OUT"
|
|
355
|
+
STOPPED = "STOPPED"
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
class OperationType(StrEnum):
|
|
359
|
+
EXECUTION = "EXECUTION"
|
|
360
|
+
CONTEXT = "CONTEXT"
|
|
361
|
+
STEP = "STEP"
|
|
362
|
+
WAIT = "WAIT"
|
|
363
|
+
CALLBACK = "CALLBACK"
|
|
364
|
+
CHAINED_INVOKE = "CHAINED_INVOKE"
|
|
365
|
+
|
|
366
|
+
|
|
228
367
|
class PackageType(StrEnum):
|
|
229
368
|
Zip = "Zip"
|
|
230
369
|
Image = "Image"
|
|
@@ -288,9 +427,10 @@ class Runtime(StrEnum):
|
|
|
288
427
|
java21 = "java21"
|
|
289
428
|
python3_13 = "python3.13"
|
|
290
429
|
nodejs22_x = "nodejs22.x"
|
|
291
|
-
java25 = "java25"
|
|
292
430
|
nodejs24_x = "nodejs24.x"
|
|
293
431
|
python3_14 = "python3.14"
|
|
432
|
+
java25 = "java25"
|
|
433
|
+
dotnet10 = "dotnet10"
|
|
294
434
|
|
|
295
435
|
|
|
296
436
|
class SchemaRegistryEventRecordFormat(StrEnum):
|
|
@@ -324,6 +464,10 @@ class State(StrEnum):
|
|
|
324
464
|
Active = "Active"
|
|
325
465
|
Inactive = "Inactive"
|
|
326
466
|
Failed = "Failed"
|
|
467
|
+
Deactivating = "Deactivating"
|
|
468
|
+
Deactivated = "Deactivated"
|
|
469
|
+
ActiveNonInvocable = "ActiveNonInvocable"
|
|
470
|
+
Deleting = "Deleting"
|
|
327
471
|
|
|
328
472
|
|
|
329
473
|
class StateReasonCode(StrEnum):
|
|
@@ -351,6 +495,20 @@ class StateReasonCode(StrEnum):
|
|
|
351
495
|
InvalidRuntime = "InvalidRuntime"
|
|
352
496
|
InvalidZipFileException = "InvalidZipFileException"
|
|
353
497
|
FunctionError = "FunctionError"
|
|
498
|
+
DrainingDurableExecutions = "DrainingDurableExecutions"
|
|
499
|
+
VcpuLimitExceeded = "VcpuLimitExceeded"
|
|
500
|
+
CapacityProviderScalingLimitExceeded = "CapacityProviderScalingLimitExceeded"
|
|
501
|
+
InsufficientCapacity = "InsufficientCapacity"
|
|
502
|
+
EC2RequestLimitExceeded = "EC2RequestLimitExceeded"
|
|
503
|
+
FunctionError_InitTimeout = "FunctionError.InitTimeout"
|
|
504
|
+
FunctionError_RuntimeInitError = "FunctionError.RuntimeInitError"
|
|
505
|
+
FunctionError_ExtensionInitError = "FunctionError.ExtensionInitError"
|
|
506
|
+
FunctionError_InvalidEntryPoint = "FunctionError.InvalidEntryPoint"
|
|
507
|
+
FunctionError_InvalidWorkingDirectory = "FunctionError.InvalidWorkingDirectory"
|
|
508
|
+
FunctionError_PermissionDenied = "FunctionError.PermissionDenied"
|
|
509
|
+
FunctionError_TooManyExtensions = "FunctionError.TooManyExtensions"
|
|
510
|
+
FunctionError_InitResourceExhausted = "FunctionError.InitResourceExhausted"
|
|
511
|
+
DisallowedByVpcEncryptionControl = "DisallowedByVpcEncryptionControl"
|
|
354
512
|
|
|
355
513
|
|
|
356
514
|
class SystemLogLevel(StrEnum):
|
|
@@ -359,6 +517,10 @@ class SystemLogLevel(StrEnum):
|
|
|
359
517
|
WARN = "WARN"
|
|
360
518
|
|
|
361
519
|
|
|
520
|
+
class TenantIsolationMode(StrEnum):
|
|
521
|
+
PER_TENANT = "PER_TENANT"
|
|
522
|
+
|
|
523
|
+
|
|
362
524
|
class ThrottleReason(StrEnum):
|
|
363
525
|
ConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded"
|
|
364
526
|
FunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded"
|
|
@@ -381,6 +543,20 @@ class UpdateRuntimeOn(StrEnum):
|
|
|
381
543
|
FunctionUpdate = "FunctionUpdate"
|
|
382
544
|
|
|
383
545
|
|
|
546
|
+
class CallbackTimeoutException(ServiceException):
|
|
547
|
+
code: str = "CallbackTimeoutException"
|
|
548
|
+
sender_fault: bool = True
|
|
549
|
+
status_code: int = 400
|
|
550
|
+
Type: String | None
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
class CapacityProviderLimitExceededException(ServiceException):
|
|
554
|
+
code: str = "CapacityProviderLimitExceededException"
|
|
555
|
+
sender_fault: bool = True
|
|
556
|
+
status_code: int = 400
|
|
557
|
+
Type: String | None
|
|
558
|
+
|
|
559
|
+
|
|
384
560
|
class CodeSigningConfigNotFoundException(ServiceException):
|
|
385
561
|
code: str = "CodeSigningConfigNotFoundException"
|
|
386
562
|
sender_fault: bool = True
|
|
@@ -402,6 +578,13 @@ class CodeVerificationFailedException(ServiceException):
|
|
|
402
578
|
Type: String | None
|
|
403
579
|
|
|
404
580
|
|
|
581
|
+
class DurableExecutionAlreadyStartedException(ServiceException):
|
|
582
|
+
code: str = "DurableExecutionAlreadyStartedException"
|
|
583
|
+
sender_fault: bool = True
|
|
584
|
+
status_code: int = 409
|
|
585
|
+
Type: String | None
|
|
586
|
+
|
|
587
|
+
|
|
405
588
|
class EC2AccessDeniedException(ServiceException):
|
|
406
589
|
code: str = "EC2AccessDeniedException"
|
|
407
590
|
sender_fault: bool = False
|
|
@@ -459,6 +642,13 @@ class ENILimitReachedException(ServiceException):
|
|
|
459
642
|
Type: String | None
|
|
460
643
|
|
|
461
644
|
|
|
645
|
+
class FunctionVersionsPerCapacityProviderLimitExceededException(ServiceException):
|
|
646
|
+
code: str = "FunctionVersionsPerCapacityProviderLimitExceededException"
|
|
647
|
+
sender_fault: bool = True
|
|
648
|
+
status_code: int = 400
|
|
649
|
+
Type: String | None
|
|
650
|
+
|
|
651
|
+
|
|
462
652
|
class InvalidCodeSignatureException(ServiceException):
|
|
463
653
|
code: str = "InvalidCodeSignatureException"
|
|
464
654
|
sender_fault: bool = True
|
|
@@ -536,6 +726,13 @@ class KMSNotFoundException(ServiceException):
|
|
|
536
726
|
Type: String | None
|
|
537
727
|
|
|
538
728
|
|
|
729
|
+
class NoPublishedVersionException(ServiceException):
|
|
730
|
+
code: str = "NoPublishedVersionException"
|
|
731
|
+
sender_fault: bool = True
|
|
732
|
+
status_code: int = 400
|
|
733
|
+
Type: String | None
|
|
734
|
+
|
|
735
|
+
|
|
539
736
|
class PolicyLengthExceededException(ServiceException):
|
|
540
737
|
code: str = "PolicyLengthExceededException"
|
|
541
738
|
sender_fault: bool = True
|
|
@@ -692,14 +889,14 @@ class AddLayerVersionPermissionResponse(TypedDict, total=False):
|
|
|
692
889
|
|
|
693
890
|
|
|
694
891
|
class AddPermissionRequest(ServiceRequest):
|
|
695
|
-
FunctionName:
|
|
892
|
+
FunctionName: NamespacedFunctionName
|
|
696
893
|
StatementId: StatementId
|
|
697
894
|
Action: Action
|
|
698
895
|
Principal: Principal
|
|
699
896
|
SourceArn: Arn | None
|
|
700
897
|
SourceAccount: SourceOwner | None
|
|
701
898
|
EventSourceToken: EventSourceToken | None
|
|
702
|
-
Qualifier:
|
|
899
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
703
900
|
RevisionId: String | None
|
|
704
901
|
PrincipalOrgID: PrincipalOrgID | None
|
|
705
902
|
FunctionUrlAuthType: FunctionUrlAuthType | None
|
|
@@ -764,8 +961,247 @@ class AmazonManagedKafkaEventSourceConfig(TypedDict, total=False):
|
|
|
764
961
|
|
|
765
962
|
|
|
766
963
|
ArchitecturesList = list[Architecture]
|
|
964
|
+
BinaryOperationPayload = bytes
|
|
767
965
|
Blob = bytes
|
|
768
966
|
BlobStream = bytes
|
|
967
|
+
StackTraceEntries = list[StackTraceEntry]
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
class ErrorObject(TypedDict, total=False):
|
|
971
|
+
ErrorMessage: ErrorMessage | None
|
|
972
|
+
ErrorType: ErrorType | None
|
|
973
|
+
ErrorData: ErrorData | None
|
|
974
|
+
StackTrace: StackTraceEntries | None
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
class CallbackDetails(TypedDict, total=False):
|
|
978
|
+
CallbackId: CallbackId | None
|
|
979
|
+
Result: OperationPayload | None
|
|
980
|
+
Error: ErrorObject | None
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
class EventError(TypedDict, total=False):
|
|
984
|
+
Payload: ErrorObject | None
|
|
985
|
+
Truncated: Truncated | None
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
class CallbackFailedDetails(TypedDict, total=False):
|
|
989
|
+
Error: EventError
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
class CallbackOptions(TypedDict, total=False):
|
|
993
|
+
TimeoutSeconds: DurationSeconds | None
|
|
994
|
+
HeartbeatTimeoutSeconds: DurationSeconds | None
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
class CallbackStartedDetails(TypedDict, total=False):
|
|
998
|
+
CallbackId: CallbackId
|
|
999
|
+
HeartbeatTimeout: DurationSeconds | None
|
|
1000
|
+
Timeout: DurationSeconds | None
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
class EventResult(TypedDict, total=False):
|
|
1004
|
+
Payload: OperationPayload | None
|
|
1005
|
+
Truncated: Truncated | None
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
class CallbackSucceededDetails(TypedDict, total=False):
|
|
1009
|
+
Result: EventResult
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
class CallbackTimedOutDetails(TypedDict, total=False):
|
|
1013
|
+
Error: EventError
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
class TargetTrackingScalingPolicy(TypedDict, total=False):
|
|
1017
|
+
PredefinedMetricType: CapacityProviderPredefinedMetricType
|
|
1018
|
+
TargetValue: MetricTargetValue
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
CapacityProviderScalingPoliciesList = list[TargetTrackingScalingPolicy]
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
class CapacityProviderScalingConfig(TypedDict, total=False):
|
|
1025
|
+
MaxVCpuCount: CapacityProviderMaxVCpuCount | None
|
|
1026
|
+
ScalingMode: CapacityProviderScalingMode | None
|
|
1027
|
+
ScalingPolicies: CapacityProviderScalingPoliciesList | None
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
InstanceTypeSet = list[InstanceType]
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
class InstanceRequirements(TypedDict, total=False):
|
|
1034
|
+
Architectures: ArchitecturesList | None
|
|
1035
|
+
AllowedInstanceTypes: InstanceTypeSet | None
|
|
1036
|
+
ExcludedInstanceTypes: InstanceTypeSet | None
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
class CapacityProviderPermissionsConfig(TypedDict, total=False):
|
|
1040
|
+
CapacityProviderOperatorRoleArn: RoleArn
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
CapacityProviderSecurityGroupIds = list[SecurityGroupId]
|
|
1044
|
+
CapacityProviderSubnetIds = list[SubnetId]
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
class CapacityProviderVpcConfig(TypedDict, total=False):
|
|
1048
|
+
SubnetIds: CapacityProviderSubnetIds
|
|
1049
|
+
SecurityGroupIds: CapacityProviderSecurityGroupIds
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
class CapacityProvider(TypedDict, total=False):
|
|
1053
|
+
CapacityProviderArn: CapacityProviderArn
|
|
1054
|
+
State: CapacityProviderState
|
|
1055
|
+
VpcConfig: CapacityProviderVpcConfig
|
|
1056
|
+
PermissionsConfig: CapacityProviderPermissionsConfig
|
|
1057
|
+
InstanceRequirements: InstanceRequirements | None
|
|
1058
|
+
CapacityProviderScalingConfig: CapacityProviderScalingConfig | None
|
|
1059
|
+
KmsKeyArn: KMSKeyArn | None
|
|
1060
|
+
LastModified: Timestamp | None
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
class LambdaManagedInstancesCapacityProviderConfig(TypedDict, total=False):
|
|
1064
|
+
CapacityProviderArn: CapacityProviderArn
|
|
1065
|
+
PerExecutionEnvironmentMaxConcurrency: PerExecutionEnvironmentMaxConcurrency | None
|
|
1066
|
+
ExecutionEnvironmentMemoryGiBPerVCpu: ExecutionEnvironmentMemoryGiBPerVCpu | None
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
class CapacityProviderConfig(TypedDict, total=False):
|
|
1070
|
+
LambdaManagedInstancesCapacityProviderConfig: LambdaManagedInstancesCapacityProviderConfig
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
CapacityProvidersList = list[CapacityProvider]
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
class ChainedInvokeDetails(TypedDict, total=False):
|
|
1077
|
+
Result: OperationPayload | None
|
|
1078
|
+
Error: ErrorObject | None
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
class ChainedInvokeFailedDetails(TypedDict, total=False):
|
|
1082
|
+
Error: EventError
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
class ChainedInvokeOptions(TypedDict, total=False):
|
|
1086
|
+
FunctionName: NamespacedFunctionName
|
|
1087
|
+
TenantId: TenantId | None
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
class EventInput(TypedDict, total=False):
|
|
1091
|
+
Payload: InputPayload | None
|
|
1092
|
+
Truncated: Truncated | None
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
class ChainedInvokeStartedDetails(TypedDict, total=False):
|
|
1096
|
+
FunctionName: NamespacedFunctionName
|
|
1097
|
+
TenantId: TenantId | None
|
|
1098
|
+
Input: EventInput | None
|
|
1099
|
+
ExecutedVersion: VersionWithLatestPublished | None
|
|
1100
|
+
DurableExecutionArn: DurableExecutionArn | None
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
class ChainedInvokeStoppedDetails(TypedDict, total=False):
|
|
1104
|
+
Error: EventError
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
class ChainedInvokeSucceededDetails(TypedDict, total=False):
|
|
1108
|
+
Result: EventResult
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
class ChainedInvokeTimedOutDetails(TypedDict, total=False):
|
|
1112
|
+
Error: EventError
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
class WaitOptions(TypedDict, total=False):
|
|
1116
|
+
WaitSeconds: WaitOptionsWaitSecondsInteger | None
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
class StepOptions(TypedDict, total=False):
|
|
1120
|
+
NextAttemptDelaySeconds: StepOptionsNextAttemptDelaySecondsInteger | None
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
class ContextOptions(TypedDict, total=False):
|
|
1124
|
+
ReplayChildren: ReplayChildren | None
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
class OperationUpdate(TypedDict, total=False):
|
|
1128
|
+
Id: OperationId
|
|
1129
|
+
ParentId: OperationId | None
|
|
1130
|
+
Name: OperationName | None
|
|
1131
|
+
Type: OperationType
|
|
1132
|
+
SubType: OperationSubType | None
|
|
1133
|
+
Action: OperationAction
|
|
1134
|
+
Payload: OperationPayload | None
|
|
1135
|
+
Error: ErrorObject | None
|
|
1136
|
+
ContextOptions: ContextOptions | None
|
|
1137
|
+
StepOptions: StepOptions | None
|
|
1138
|
+
WaitOptions: WaitOptions | None
|
|
1139
|
+
CallbackOptions: CallbackOptions | None
|
|
1140
|
+
ChainedInvokeOptions: ChainedInvokeOptions | None
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
OperationUpdates = list[OperationUpdate]
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
class CheckpointDurableExecutionRequest(ServiceRequest):
|
|
1147
|
+
DurableExecutionArn: DurableExecutionArn
|
|
1148
|
+
CheckpointToken: CheckpointToken
|
|
1149
|
+
Updates: OperationUpdates | None
|
|
1150
|
+
ClientToken: ClientToken | None
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
ExecutionTimestamp = datetime
|
|
1154
|
+
|
|
1155
|
+
|
|
1156
|
+
class WaitDetails(TypedDict, total=False):
|
|
1157
|
+
ScheduledEndTimestamp: ExecutionTimestamp | None
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
class StepDetails(TypedDict, total=False):
|
|
1161
|
+
Attempt: AttemptCount | None
|
|
1162
|
+
NextAttemptTimestamp: ExecutionTimestamp | None
|
|
1163
|
+
Result: OperationPayload | None
|
|
1164
|
+
Error: ErrorObject | None
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
class ContextDetails(TypedDict, total=False):
|
|
1168
|
+
ReplayChildren: ReplayChildren | None
|
|
1169
|
+
Result: OperationPayload | None
|
|
1170
|
+
Error: ErrorObject | None
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
class ExecutionDetails(TypedDict, total=False):
|
|
1174
|
+
InputPayload: InputPayload | None
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
class Operation(TypedDict, total=False):
|
|
1178
|
+
Id: OperationId
|
|
1179
|
+
ParentId: OperationId | None
|
|
1180
|
+
Name: OperationName | None
|
|
1181
|
+
Type: OperationType
|
|
1182
|
+
SubType: OperationSubType | None
|
|
1183
|
+
StartTimestamp: ExecutionTimestamp
|
|
1184
|
+
EndTimestamp: ExecutionTimestamp | None
|
|
1185
|
+
Status: OperationStatus
|
|
1186
|
+
ExecutionDetails: ExecutionDetails | None
|
|
1187
|
+
ContextDetails: ContextDetails | None
|
|
1188
|
+
StepDetails: StepDetails | None
|
|
1189
|
+
WaitDetails: WaitDetails | None
|
|
1190
|
+
CallbackDetails: CallbackDetails | None
|
|
1191
|
+
ChainedInvokeDetails: ChainedInvokeDetails | None
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
Operations = list[Operation]
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
class CheckpointUpdatedExecutionState(TypedDict, total=False):
|
|
1198
|
+
Operations: Operations | None
|
|
1199
|
+
NextMarker: String | None
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
class CheckpointDurableExecutionResponse(TypedDict, total=False):
|
|
1203
|
+
CheckpointToken: CheckpointToken | None
|
|
1204
|
+
NewExecutionState: CheckpointUpdatedExecutionState
|
|
769
1205
|
|
|
770
1206
|
|
|
771
1207
|
class CodeSigningPolicies(TypedDict, total=False):
|
|
@@ -790,6 +1226,18 @@ class Concurrency(TypedDict, total=False):
|
|
|
790
1226
|
ReservedConcurrentExecutions: ReservedConcurrentExecutions | None
|
|
791
1227
|
|
|
792
1228
|
|
|
1229
|
+
class ContextFailedDetails(TypedDict, total=False):
|
|
1230
|
+
Error: EventError
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
class ContextStartedDetails(TypedDict, total=False):
|
|
1234
|
+
pass
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
class ContextSucceededDetails(TypedDict, total=False):
|
|
1238
|
+
Result: EventResult
|
|
1239
|
+
|
|
1240
|
+
|
|
793
1241
|
HeadersList = list[Header]
|
|
794
1242
|
|
|
795
1243
|
|
|
@@ -805,7 +1253,7 @@ class Cors(TypedDict, total=False):
|
|
|
805
1253
|
class CreateAliasRequest(ServiceRequest):
|
|
806
1254
|
FunctionName: FunctionName
|
|
807
1255
|
Name: Alias
|
|
808
|
-
FunctionVersion:
|
|
1256
|
+
FunctionVersion: VersionWithLatestPublished
|
|
809
1257
|
Description: Description | None
|
|
810
1258
|
RoutingConfig: AliasRoutingConfiguration | None
|
|
811
1259
|
|
|
@@ -813,6 +1261,20 @@ class CreateAliasRequest(ServiceRequest):
|
|
|
813
1261
|
Tags = dict[TagKey, TagValue]
|
|
814
1262
|
|
|
815
1263
|
|
|
1264
|
+
class CreateCapacityProviderRequest(ServiceRequest):
|
|
1265
|
+
CapacityProviderName: CapacityProviderName
|
|
1266
|
+
VpcConfig: CapacityProviderVpcConfig
|
|
1267
|
+
PermissionsConfig: CapacityProviderPermissionsConfig
|
|
1268
|
+
InstanceRequirements: InstanceRequirements | None
|
|
1269
|
+
CapacityProviderScalingConfig: CapacityProviderScalingConfig | None
|
|
1270
|
+
KmsKeyArn: KMSKeyArnNonEmpty | None
|
|
1271
|
+
Tags: Tags | None
|
|
1272
|
+
|
|
1273
|
+
|
|
1274
|
+
class CreateCapacityProviderResponse(TypedDict, total=False):
|
|
1275
|
+
CapacityProvider: CapacityProvider
|
|
1276
|
+
|
|
1277
|
+
|
|
816
1278
|
class CreateCodeSigningConfigRequest(ServiceRequest):
|
|
817
1279
|
Description: Description | None
|
|
818
1280
|
AllowedPublishers: AllowedPublishers
|
|
@@ -827,6 +1289,7 @@ class CreateCodeSigningConfigResponse(TypedDict, total=False):
|
|
|
827
1289
|
class ProvisionedPollerConfig(TypedDict, total=False):
|
|
828
1290
|
MinimumPollers: MinimumNumberOfPollers | None
|
|
829
1291
|
MaximumPollers: MaximumNumberOfPollers | None
|
|
1292
|
+
PollerGroupName: ProvisionedPollerGroupName | None
|
|
830
1293
|
|
|
831
1294
|
|
|
832
1295
|
EventSourceMappingMetricList = list[EventSourceMappingMetric]
|
|
@@ -899,7 +1362,7 @@ class FilterCriteria(TypedDict, total=False):
|
|
|
899
1362
|
|
|
900
1363
|
class CreateEventSourceMappingRequest(ServiceRequest):
|
|
901
1364
|
EventSourceArn: Arn | None
|
|
902
|
-
FunctionName:
|
|
1365
|
+
FunctionName: NamespacedFunctionName
|
|
903
1366
|
Enabled: Enabled | None
|
|
904
1367
|
BatchSize: BatchSize | None
|
|
905
1368
|
FilterCriteria: FilterCriteria | None
|
|
@@ -927,6 +1390,15 @@ class CreateEventSourceMappingRequest(ServiceRequest):
|
|
|
927
1390
|
ProvisionedPollerConfig: ProvisionedPollerConfig | None
|
|
928
1391
|
|
|
929
1392
|
|
|
1393
|
+
class TenancyConfig(TypedDict, total=False):
|
|
1394
|
+
TenantIsolationMode: TenantIsolationMode
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
class DurableConfig(TypedDict, total=False):
|
|
1398
|
+
RetentionPeriodInDays: RetentionPeriodInDays | None
|
|
1399
|
+
ExecutionTimeout: ExecutionTimeout | None
|
|
1400
|
+
|
|
1401
|
+
|
|
930
1402
|
class LoggingConfig(TypedDict, total=False):
|
|
931
1403
|
LogFormat: LogFormat | None
|
|
932
1404
|
ApplicationLogLevel: ApplicationLogLevel | None
|
|
@@ -1019,6 +1491,10 @@ class CreateFunctionRequest(ServiceRequest):
|
|
|
1019
1491
|
EphemeralStorage: EphemeralStorage | None
|
|
1020
1492
|
SnapStart: SnapStart | None
|
|
1021
1493
|
LoggingConfig: LoggingConfig | None
|
|
1494
|
+
CapacityProviderConfig: CapacityProviderConfig | None
|
|
1495
|
+
PublishTo: FunctionVersionLatestPublished | None
|
|
1496
|
+
DurableConfig: DurableConfig | None
|
|
1497
|
+
TenancyConfig: TenancyConfig | None
|
|
1022
1498
|
|
|
1023
1499
|
|
|
1024
1500
|
class CreateFunctionUrlConfigRequest(ServiceRequest):
|
|
@@ -1043,6 +1519,14 @@ class DeleteAliasRequest(ServiceRequest):
|
|
|
1043
1519
|
Name: Alias
|
|
1044
1520
|
|
|
1045
1521
|
|
|
1522
|
+
class DeleteCapacityProviderRequest(ServiceRequest):
|
|
1523
|
+
CapacityProviderName: CapacityProviderName
|
|
1524
|
+
|
|
1525
|
+
|
|
1526
|
+
class DeleteCapacityProviderResponse(TypedDict, total=False):
|
|
1527
|
+
CapacityProvider: CapacityProvider
|
|
1528
|
+
|
|
1529
|
+
|
|
1046
1530
|
class DeleteCodeSigningConfigRequest(ServiceRequest):
|
|
1047
1531
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1048
1532
|
|
|
@@ -1056,7 +1540,7 @@ class DeleteEventSourceMappingRequest(ServiceRequest):
|
|
|
1056
1540
|
|
|
1057
1541
|
|
|
1058
1542
|
class DeleteFunctionCodeSigningConfigRequest(ServiceRequest):
|
|
1059
|
-
FunctionName:
|
|
1543
|
+
FunctionName: NamespacedFunctionName
|
|
1060
1544
|
|
|
1061
1545
|
|
|
1062
1546
|
class DeleteFunctionConcurrencyRequest(ServiceRequest):
|
|
@@ -1064,13 +1548,17 @@ class DeleteFunctionConcurrencyRequest(ServiceRequest):
|
|
|
1064
1548
|
|
|
1065
1549
|
|
|
1066
1550
|
class DeleteFunctionEventInvokeConfigRequest(ServiceRequest):
|
|
1067
|
-
FunctionName:
|
|
1068
|
-
Qualifier:
|
|
1551
|
+
FunctionName: NamespacedFunctionName
|
|
1552
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1069
1553
|
|
|
1070
1554
|
|
|
1071
1555
|
class DeleteFunctionRequest(ServiceRequest):
|
|
1072
|
-
FunctionName:
|
|
1073
|
-
Qualifier:
|
|
1556
|
+
FunctionName: NamespacedFunctionName
|
|
1557
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
class DeleteFunctionResponse(TypedDict, total=False):
|
|
1561
|
+
StatusCode: Integer | None
|
|
1074
1562
|
|
|
1075
1563
|
|
|
1076
1564
|
class DeleteFunctionUrlConfigRequest(ServiceRequest):
|
|
@@ -1088,6 +1576,18 @@ class DeleteProvisionedConcurrencyConfigRequest(ServiceRequest):
|
|
|
1088
1576
|
Qualifier: Qualifier
|
|
1089
1577
|
|
|
1090
1578
|
|
|
1579
|
+
class Execution(TypedDict, total=False):
|
|
1580
|
+
DurableExecutionArn: DurableExecutionArn
|
|
1581
|
+
DurableExecutionName: DurableExecutionName
|
|
1582
|
+
FunctionArn: NameSpacedFunctionArn
|
|
1583
|
+
Status: ExecutionStatus
|
|
1584
|
+
StartTimestamp: ExecutionTimestamp
|
|
1585
|
+
EndTimestamp: ExecutionTimestamp | None
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
DurableExecutions = list[Execution]
|
|
1589
|
+
|
|
1590
|
+
|
|
1091
1591
|
class EnvironmentError(TypedDict, total=False):
|
|
1092
1592
|
ErrorCode: String | None
|
|
1093
1593
|
Message: SensitiveString | None
|
|
@@ -1098,6 +1598,100 @@ class EnvironmentResponse(TypedDict, total=False):
|
|
|
1098
1598
|
Error: EnvironmentError | None
|
|
1099
1599
|
|
|
1100
1600
|
|
|
1601
|
+
class InvocationCompletedDetails(TypedDict, total=False):
|
|
1602
|
+
StartTimestamp: ExecutionTimestamp
|
|
1603
|
+
EndTimestamp: ExecutionTimestamp
|
|
1604
|
+
RequestId: String
|
|
1605
|
+
Error: EventError | None
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
class RetryDetails(TypedDict, total=False):
|
|
1609
|
+
CurrentAttempt: AttemptCount | None
|
|
1610
|
+
NextAttemptDelaySeconds: DurationSeconds | None
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
class StepFailedDetails(TypedDict, total=False):
|
|
1614
|
+
Error: EventError
|
|
1615
|
+
RetryDetails: RetryDetails
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
class StepSucceededDetails(TypedDict, total=False):
|
|
1619
|
+
Result: EventResult
|
|
1620
|
+
RetryDetails: RetryDetails
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
class StepStartedDetails(TypedDict, total=False):
|
|
1624
|
+
pass
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
class WaitCancelledDetails(TypedDict, total=False):
|
|
1628
|
+
Error: EventError | None
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
class WaitSucceededDetails(TypedDict, total=False):
|
|
1632
|
+
Duration: DurationSeconds | None
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
class WaitStartedDetails(TypedDict, total=False):
|
|
1636
|
+
Duration: DurationSeconds
|
|
1637
|
+
ScheduledEndTimestamp: ExecutionTimestamp
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
class ExecutionStoppedDetails(TypedDict, total=False):
|
|
1641
|
+
Error: EventError
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
class ExecutionTimedOutDetails(TypedDict, total=False):
|
|
1645
|
+
Error: EventError | None
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
class ExecutionFailedDetails(TypedDict, total=False):
|
|
1649
|
+
Error: EventError
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
class ExecutionSucceededDetails(TypedDict, total=False):
|
|
1653
|
+
Result: EventResult
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
class ExecutionStartedDetails(TypedDict, total=False):
|
|
1657
|
+
Input: EventInput
|
|
1658
|
+
ExecutionTimeout: DurationSeconds
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
class Event(TypedDict, total=False):
|
|
1662
|
+
EventType: EventType | None
|
|
1663
|
+
SubType: OperationSubType | None
|
|
1664
|
+
EventId: EventId | None
|
|
1665
|
+
Id: OperationId | None
|
|
1666
|
+
Name: OperationName | None
|
|
1667
|
+
EventTimestamp: ExecutionTimestamp | None
|
|
1668
|
+
ParentId: OperationId | None
|
|
1669
|
+
ExecutionStartedDetails: ExecutionStartedDetails | None
|
|
1670
|
+
ExecutionSucceededDetails: ExecutionSucceededDetails | None
|
|
1671
|
+
ExecutionFailedDetails: ExecutionFailedDetails | None
|
|
1672
|
+
ExecutionTimedOutDetails: ExecutionTimedOutDetails | None
|
|
1673
|
+
ExecutionStoppedDetails: ExecutionStoppedDetails | None
|
|
1674
|
+
ContextStartedDetails: ContextStartedDetails | None
|
|
1675
|
+
ContextSucceededDetails: ContextSucceededDetails | None
|
|
1676
|
+
ContextFailedDetails: ContextFailedDetails | None
|
|
1677
|
+
WaitStartedDetails: WaitStartedDetails | None
|
|
1678
|
+
WaitSucceededDetails: WaitSucceededDetails | None
|
|
1679
|
+
WaitCancelledDetails: WaitCancelledDetails | None
|
|
1680
|
+
StepStartedDetails: StepStartedDetails | None
|
|
1681
|
+
StepSucceededDetails: StepSucceededDetails | None
|
|
1682
|
+
StepFailedDetails: StepFailedDetails | None
|
|
1683
|
+
ChainedInvokeStartedDetails: ChainedInvokeStartedDetails | None
|
|
1684
|
+
ChainedInvokeSucceededDetails: ChainedInvokeSucceededDetails | None
|
|
1685
|
+
ChainedInvokeFailedDetails: ChainedInvokeFailedDetails | None
|
|
1686
|
+
ChainedInvokeTimedOutDetails: ChainedInvokeTimedOutDetails | None
|
|
1687
|
+
ChainedInvokeStoppedDetails: ChainedInvokeStoppedDetails | None
|
|
1688
|
+
CallbackStartedDetails: CallbackStartedDetails | None
|
|
1689
|
+
CallbackSucceededDetails: CallbackSucceededDetails | None
|
|
1690
|
+
CallbackFailedDetails: CallbackFailedDetails | None
|
|
1691
|
+
CallbackTimedOutDetails: CallbackTimedOutDetails | None
|
|
1692
|
+
InvocationCompletedDetails: InvocationCompletedDetails | None
|
|
1693
|
+
|
|
1694
|
+
|
|
1101
1695
|
class FilterCriteriaError(TypedDict, total=False):
|
|
1102
1696
|
ErrorCode: FilterCriteriaErrorCode | None
|
|
1103
1697
|
Message: FilterCriteriaErrorMessage | None
|
|
@@ -1139,6 +1733,8 @@ class EventSourceMappingConfiguration(TypedDict, total=False):
|
|
|
1139
1733
|
|
|
1140
1734
|
|
|
1141
1735
|
EventSourceMappingsList = list[EventSourceMappingConfiguration]
|
|
1736
|
+
Events = list[Event]
|
|
1737
|
+
ExecutionStatusList = list[ExecutionStatus]
|
|
1142
1738
|
FunctionArnList = list[FunctionArn]
|
|
1143
1739
|
|
|
1144
1740
|
|
|
@@ -1233,6 +1829,10 @@ class FunctionConfiguration(TypedDict, total=False):
|
|
|
1233
1829
|
SnapStart: SnapStartResponse | None
|
|
1234
1830
|
RuntimeVersionConfig: RuntimeVersionConfig | None
|
|
1235
1831
|
LoggingConfig: LoggingConfig | None
|
|
1832
|
+
CapacityProviderConfig: CapacityProviderConfig | None
|
|
1833
|
+
ConfigSha256: String | None
|
|
1834
|
+
DurableConfig: DurableConfig | None
|
|
1835
|
+
TenancyConfig: TenancyConfig | None
|
|
1236
1836
|
|
|
1237
1837
|
|
|
1238
1838
|
class FunctionEventInvokeConfig(TypedDict, total=False):
|
|
@@ -1247,6 +1847,11 @@ FunctionEventInvokeConfigList = list[FunctionEventInvokeConfig]
|
|
|
1247
1847
|
FunctionList = list[FunctionConfiguration]
|
|
1248
1848
|
|
|
1249
1849
|
|
|
1850
|
+
class FunctionScalingConfig(TypedDict, total=False):
|
|
1851
|
+
MinExecutionEnvironments: FunctionScalingConfigExecutionEnvironments | None
|
|
1852
|
+
MaxExecutionEnvironments: FunctionScalingConfigExecutionEnvironments | None
|
|
1853
|
+
|
|
1854
|
+
|
|
1250
1855
|
class FunctionUrlConfig(TypedDict, total=False):
|
|
1251
1856
|
FunctionUrl: FunctionUrl
|
|
1252
1857
|
FunctionArn: FunctionArn
|
|
@@ -1260,6 +1865,14 @@ class FunctionUrlConfig(TypedDict, total=False):
|
|
|
1260
1865
|
FunctionUrlConfigList = list[FunctionUrlConfig]
|
|
1261
1866
|
|
|
1262
1867
|
|
|
1868
|
+
class FunctionVersionsByCapacityProviderListItem(TypedDict, total=False):
|
|
1869
|
+
FunctionArn: NameSpacedFunctionArn
|
|
1870
|
+
State: State
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
FunctionVersionsByCapacityProviderList = list[FunctionVersionsByCapacityProviderListItem]
|
|
1874
|
+
|
|
1875
|
+
|
|
1263
1876
|
class GetAccountSettingsRequest(ServiceRequest):
|
|
1264
1877
|
pass
|
|
1265
1878
|
|
|
@@ -1274,6 +1887,14 @@ class GetAliasRequest(ServiceRequest):
|
|
|
1274
1887
|
Name: Alias
|
|
1275
1888
|
|
|
1276
1889
|
|
|
1890
|
+
class GetCapacityProviderRequest(ServiceRequest):
|
|
1891
|
+
CapacityProviderName: CapacityProviderName
|
|
1892
|
+
|
|
1893
|
+
|
|
1894
|
+
class GetCapacityProviderResponse(TypedDict, total=False):
|
|
1895
|
+
CapacityProvider: CapacityProvider
|
|
1896
|
+
|
|
1897
|
+
|
|
1277
1898
|
class GetCodeSigningConfigRequest(ServiceRequest):
|
|
1278
1899
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1279
1900
|
|
|
@@ -1282,12 +1903,59 @@ class GetCodeSigningConfigResponse(TypedDict, total=False):
|
|
|
1282
1903
|
CodeSigningConfig: CodeSigningConfig
|
|
1283
1904
|
|
|
1284
1905
|
|
|
1906
|
+
class GetDurableExecutionHistoryRequest(ServiceRequest):
|
|
1907
|
+
DurableExecutionArn: DurableExecutionArn
|
|
1908
|
+
IncludeExecutionData: IncludeExecutionData | None
|
|
1909
|
+
MaxItems: ItemCount | None
|
|
1910
|
+
Marker: String | None
|
|
1911
|
+
ReverseOrder: ReverseOrder | None
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
class GetDurableExecutionHistoryResponse(TypedDict, total=False):
|
|
1915
|
+
Events: Events
|
|
1916
|
+
NextMarker: String | None
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
class GetDurableExecutionRequest(ServiceRequest):
|
|
1920
|
+
DurableExecutionArn: DurableExecutionArn
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
class TraceHeader(TypedDict, total=False):
|
|
1924
|
+
XAmznTraceId: XAmznTraceId | None
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
class GetDurableExecutionResponse(TypedDict, total=False):
|
|
1928
|
+
DurableExecutionArn: DurableExecutionArn
|
|
1929
|
+
DurableExecutionName: DurableExecutionName
|
|
1930
|
+
FunctionArn: NameSpacedFunctionArn
|
|
1931
|
+
InputPayload: InputPayload | None
|
|
1932
|
+
Result: OutputPayload | None
|
|
1933
|
+
Error: ErrorObject | None
|
|
1934
|
+
StartTimestamp: ExecutionTimestamp
|
|
1935
|
+
Status: ExecutionStatus
|
|
1936
|
+
EndTimestamp: ExecutionTimestamp | None
|
|
1937
|
+
Version: VersionWithLatestPublished | None
|
|
1938
|
+
TraceHeader: TraceHeader | None
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
class GetDurableExecutionStateRequest(ServiceRequest):
|
|
1942
|
+
DurableExecutionArn: DurableExecutionArn
|
|
1943
|
+
CheckpointToken: CheckpointToken
|
|
1944
|
+
Marker: String | None
|
|
1945
|
+
MaxItems: ItemCount | None
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
class GetDurableExecutionStateResponse(TypedDict, total=False):
|
|
1949
|
+
Operations: Operations
|
|
1950
|
+
NextMarker: String | None
|
|
1951
|
+
|
|
1952
|
+
|
|
1285
1953
|
class GetEventSourceMappingRequest(ServiceRequest):
|
|
1286
1954
|
UUID: String
|
|
1287
1955
|
|
|
1288
1956
|
|
|
1289
1957
|
class GetFunctionCodeSigningConfigRequest(ServiceRequest):
|
|
1290
|
-
FunctionName:
|
|
1958
|
+
FunctionName: NamespacedFunctionName
|
|
1291
1959
|
|
|
1292
1960
|
|
|
1293
1961
|
class GetFunctionCodeSigningConfigResponse(TypedDict, total=False):
|
|
@@ -1305,12 +1973,12 @@ class GetFunctionConcurrencyResponse(TypedDict, total=False):
|
|
|
1305
1973
|
|
|
1306
1974
|
class GetFunctionConfigurationRequest(ServiceRequest):
|
|
1307
1975
|
FunctionName: NamespacedFunctionName
|
|
1308
|
-
Qualifier:
|
|
1976
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1309
1977
|
|
|
1310
1978
|
|
|
1311
1979
|
class GetFunctionEventInvokeConfigRequest(ServiceRequest):
|
|
1312
|
-
FunctionName:
|
|
1313
|
-
Qualifier:
|
|
1980
|
+
FunctionName: NamespacedFunctionName
|
|
1981
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1314
1982
|
|
|
1315
1983
|
|
|
1316
1984
|
class GetFunctionRecursionConfigRequest(ServiceRequest):
|
|
@@ -1323,7 +1991,7 @@ class GetFunctionRecursionConfigResponse(TypedDict, total=False):
|
|
|
1323
1991
|
|
|
1324
1992
|
class GetFunctionRequest(ServiceRequest):
|
|
1325
1993
|
FunctionName: NamespacedFunctionName
|
|
1326
|
-
Qualifier:
|
|
1994
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1327
1995
|
|
|
1328
1996
|
|
|
1329
1997
|
class TagsError(TypedDict, total=False):
|
|
@@ -1339,6 +2007,17 @@ class GetFunctionResponse(TypedDict, total=False):
|
|
|
1339
2007
|
Concurrency: Concurrency | None
|
|
1340
2008
|
|
|
1341
2009
|
|
|
2010
|
+
class GetFunctionScalingConfigRequest(ServiceRequest):
|
|
2011
|
+
FunctionName: UnqualifiedFunctionName
|
|
2012
|
+
Qualifier: PublishedFunctionQualifier
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
class GetFunctionScalingConfigResponse(TypedDict, total=False):
|
|
2016
|
+
FunctionArn: FunctionArn | None
|
|
2017
|
+
AppliedFunctionScalingConfig: FunctionScalingConfig | None
|
|
2018
|
+
RequestedFunctionScalingConfig: FunctionScalingConfig | None
|
|
2019
|
+
|
|
2020
|
+
|
|
1342
2021
|
class GetFunctionUrlConfigRequest(ServiceRequest):
|
|
1343
2022
|
FunctionName: FunctionName
|
|
1344
2023
|
Qualifier: FunctionUrlQualifier | None
|
|
@@ -1395,7 +2074,7 @@ class GetLayerVersionResponse(TypedDict, total=False):
|
|
|
1395
2074
|
|
|
1396
2075
|
class GetPolicyRequest(ServiceRequest):
|
|
1397
2076
|
FunctionName: NamespacedFunctionName
|
|
1398
|
-
Qualifier:
|
|
2077
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1399
2078
|
|
|
1400
2079
|
|
|
1401
2080
|
class GetPolicyResponse(TypedDict, total=False):
|
|
@@ -1419,7 +2098,7 @@ class GetProvisionedConcurrencyConfigResponse(TypedDict, total=False):
|
|
|
1419
2098
|
|
|
1420
2099
|
class GetRuntimeManagementConfigRequest(ServiceRequest):
|
|
1421
2100
|
FunctionName: NamespacedFunctionName
|
|
1422
|
-
Qualifier:
|
|
2101
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1423
2102
|
|
|
1424
2103
|
|
|
1425
2104
|
class GetRuntimeManagementConfigResponse(TypedDict, total=False):
|
|
@@ -1434,7 +2113,9 @@ class InvocationRequest(ServiceRequest):
|
|
|
1434
2113
|
InvocationType: InvocationType | None
|
|
1435
2114
|
LogType: LogType | None
|
|
1436
2115
|
ClientContext: String | None
|
|
1437
|
-
|
|
2116
|
+
DurableExecutionName: DurableExecutionName | None
|
|
2117
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
2118
|
+
TenantId: TenantId | None
|
|
1438
2119
|
|
|
1439
2120
|
|
|
1440
2121
|
class InvocationResponse(TypedDict, total=False):
|
|
@@ -1443,6 +2124,7 @@ class InvocationResponse(TypedDict, total=False):
|
|
|
1443
2124
|
FunctionError: String | None
|
|
1444
2125
|
LogResult: String | None
|
|
1445
2126
|
ExecutedVersion: Version | None
|
|
2127
|
+
DurableExecutionArn: DurableExecutionArn | None
|
|
1446
2128
|
|
|
1447
2129
|
|
|
1448
2130
|
class InvokeAsyncRequest(ServiceRequest):
|
|
@@ -1470,7 +2152,8 @@ class InvokeWithResponseStreamRequest(ServiceRequest):
|
|
|
1470
2152
|
InvocationType: ResponseStreamingInvocationType | None
|
|
1471
2153
|
LogType: LogType | None
|
|
1472
2154
|
ClientContext: String | None
|
|
1473
|
-
Qualifier:
|
|
2155
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
2156
|
+
TenantId: TenantId | None
|
|
1474
2157
|
|
|
1475
2158
|
|
|
1476
2159
|
class InvokeWithResponseStreamResponseEvent(TypedDict, total=False):
|
|
@@ -1516,7 +2199,7 @@ LayersList = list[LayersListItem]
|
|
|
1516
2199
|
|
|
1517
2200
|
class ListAliasesRequest(ServiceRequest):
|
|
1518
2201
|
FunctionName: FunctionName
|
|
1519
|
-
FunctionVersion:
|
|
2202
|
+
FunctionVersion: VersionWithLatestPublished | None
|
|
1520
2203
|
Marker: String | None
|
|
1521
2204
|
MaxItems: MaxListItems | None
|
|
1522
2205
|
|
|
@@ -1526,6 +2209,17 @@ class ListAliasesResponse(TypedDict, total=False):
|
|
|
1526
2209
|
Aliases: AliasList | None
|
|
1527
2210
|
|
|
1528
2211
|
|
|
2212
|
+
class ListCapacityProvidersRequest(ServiceRequest):
|
|
2213
|
+
State: CapacityProviderState | None
|
|
2214
|
+
Marker: String | None
|
|
2215
|
+
MaxItems: MaxFiftyListItems | None
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
class ListCapacityProvidersResponse(TypedDict, total=False):
|
|
2219
|
+
CapacityProviders: CapacityProvidersList
|
|
2220
|
+
NextMarker: String | None
|
|
2221
|
+
|
|
2222
|
+
|
|
1529
2223
|
class ListCodeSigningConfigsRequest(ServiceRequest):
|
|
1530
2224
|
Marker: String | None
|
|
1531
2225
|
MaxItems: MaxListItems | None
|
|
@@ -1536,9 +2230,26 @@ class ListCodeSigningConfigsResponse(TypedDict, total=False):
|
|
|
1536
2230
|
CodeSigningConfigs: CodeSigningConfigList | None
|
|
1537
2231
|
|
|
1538
2232
|
|
|
2233
|
+
class ListDurableExecutionsByFunctionRequest(ServiceRequest):
|
|
2234
|
+
FunctionName: NamespacedFunctionName
|
|
2235
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
2236
|
+
DurableExecutionName: DurableExecutionName | None
|
|
2237
|
+
Statuses: ExecutionStatusList | None
|
|
2238
|
+
StartedAfter: ExecutionTimestamp | None
|
|
2239
|
+
StartedBefore: ExecutionTimestamp | None
|
|
2240
|
+
ReverseOrder: ReverseOrder | None
|
|
2241
|
+
Marker: String | None
|
|
2242
|
+
MaxItems: ItemCount | None
|
|
2243
|
+
|
|
2244
|
+
|
|
2245
|
+
class ListDurableExecutionsByFunctionResponse(TypedDict, total=False):
|
|
2246
|
+
DurableExecutions: DurableExecutions | None
|
|
2247
|
+
NextMarker: String | None
|
|
2248
|
+
|
|
2249
|
+
|
|
1539
2250
|
class ListEventSourceMappingsRequest(ServiceRequest):
|
|
1540
2251
|
EventSourceArn: Arn | None
|
|
1541
|
-
FunctionName:
|
|
2252
|
+
FunctionName: NamespacedFunctionName | None
|
|
1542
2253
|
Marker: String | None
|
|
1543
2254
|
MaxItems: MaxListItems | None
|
|
1544
2255
|
|
|
@@ -1549,7 +2260,7 @@ class ListEventSourceMappingsResponse(TypedDict, total=False):
|
|
|
1549
2260
|
|
|
1550
2261
|
|
|
1551
2262
|
class ListFunctionEventInvokeConfigsRequest(ServiceRequest):
|
|
1552
|
-
FunctionName:
|
|
2263
|
+
FunctionName: NamespacedFunctionName
|
|
1553
2264
|
Marker: String | None
|
|
1554
2265
|
MaxItems: MaxFunctionEventInvokeConfigListItems | None
|
|
1555
2266
|
|
|
@@ -1570,6 +2281,18 @@ class ListFunctionUrlConfigsResponse(TypedDict, total=False):
|
|
|
1570
2281
|
NextMarker: String | None
|
|
1571
2282
|
|
|
1572
2283
|
|
|
2284
|
+
class ListFunctionVersionsByCapacityProviderRequest(ServiceRequest):
|
|
2285
|
+
CapacityProviderName: CapacityProviderName
|
|
2286
|
+
Marker: String | None
|
|
2287
|
+
MaxItems: MaxFiftyListItems | None
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
class ListFunctionVersionsByCapacityProviderResponse(TypedDict, total=False):
|
|
2291
|
+
CapacityProviderArn: CapacityProviderArn
|
|
2292
|
+
FunctionVersions: FunctionVersionsByCapacityProviderList
|
|
2293
|
+
NextMarker: String | None
|
|
2294
|
+
|
|
2295
|
+
|
|
1573
2296
|
class ListFunctionsByCodeSigningConfigRequest(ServiceRequest):
|
|
1574
2297
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1575
2298
|
Marker: String | None
|
|
@@ -1687,11 +2410,12 @@ class PublishVersionRequest(ServiceRequest):
|
|
|
1687
2410
|
CodeSha256: String | None
|
|
1688
2411
|
Description: Description | None
|
|
1689
2412
|
RevisionId: String | None
|
|
2413
|
+
PublishTo: FunctionVersionLatestPublished | None
|
|
1690
2414
|
|
|
1691
2415
|
|
|
1692
2416
|
class PutFunctionCodeSigningConfigRequest(ServiceRequest):
|
|
1693
2417
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1694
|
-
FunctionName:
|
|
2418
|
+
FunctionName: NamespacedFunctionName
|
|
1695
2419
|
|
|
1696
2420
|
|
|
1697
2421
|
class PutFunctionCodeSigningConfigResponse(TypedDict, total=False):
|
|
@@ -1705,8 +2429,8 @@ class PutFunctionConcurrencyRequest(ServiceRequest):
|
|
|
1705
2429
|
|
|
1706
2430
|
|
|
1707
2431
|
class PutFunctionEventInvokeConfigRequest(ServiceRequest):
|
|
1708
|
-
FunctionName:
|
|
1709
|
-
Qualifier:
|
|
2432
|
+
FunctionName: NamespacedFunctionName
|
|
2433
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1710
2434
|
MaximumRetryAttempts: MaximumRetryAttempts | None
|
|
1711
2435
|
MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
|
|
1712
2436
|
DestinationConfig: DestinationConfig | None
|
|
@@ -1721,6 +2445,16 @@ class PutFunctionRecursionConfigResponse(TypedDict, total=False):
|
|
|
1721
2445
|
RecursiveLoop: RecursiveLoop | None
|
|
1722
2446
|
|
|
1723
2447
|
|
|
2448
|
+
class PutFunctionScalingConfigRequest(ServiceRequest):
|
|
2449
|
+
FunctionName: UnqualifiedFunctionName
|
|
2450
|
+
Qualifier: PublishedFunctionQualifier
|
|
2451
|
+
FunctionScalingConfig: FunctionScalingConfig | None
|
|
2452
|
+
|
|
2453
|
+
|
|
2454
|
+
class PutFunctionScalingConfigResponse(TypedDict, total=False):
|
|
2455
|
+
FunctionState: State | None
|
|
2456
|
+
|
|
2457
|
+
|
|
1724
2458
|
class PutProvisionedConcurrencyConfigRequest(ServiceRequest):
|
|
1725
2459
|
FunctionName: FunctionName
|
|
1726
2460
|
Qualifier: Qualifier
|
|
@@ -1737,8 +2471,8 @@ class PutProvisionedConcurrencyConfigResponse(TypedDict, total=False):
|
|
|
1737
2471
|
|
|
1738
2472
|
|
|
1739
2473
|
class PutRuntimeManagementConfigRequest(ServiceRequest):
|
|
1740
|
-
FunctionName:
|
|
1741
|
-
Qualifier:
|
|
2474
|
+
FunctionName: NamespacedFunctionName
|
|
2475
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1742
2476
|
UpdateRuntimeOn: UpdateRuntimeOn
|
|
1743
2477
|
RuntimeVersionArn: RuntimeVersionArn | None
|
|
1744
2478
|
|
|
@@ -1757,12 +2491,47 @@ class RemoveLayerVersionPermissionRequest(ServiceRequest):
|
|
|
1757
2491
|
|
|
1758
2492
|
|
|
1759
2493
|
class RemovePermissionRequest(ServiceRequest):
|
|
1760
|
-
FunctionName:
|
|
2494
|
+
FunctionName: NamespacedFunctionName
|
|
1761
2495
|
StatementId: NamespacedStatementId
|
|
1762
|
-
Qualifier:
|
|
2496
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1763
2497
|
RevisionId: String | None
|
|
1764
2498
|
|
|
1765
2499
|
|
|
2500
|
+
class SendDurableExecutionCallbackFailureRequest(ServiceRequest):
|
|
2501
|
+
CallbackId: CallbackId
|
|
2502
|
+
Error: ErrorObject | None
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
class SendDurableExecutionCallbackFailureResponse(TypedDict, total=False):
|
|
2506
|
+
pass
|
|
2507
|
+
|
|
2508
|
+
|
|
2509
|
+
class SendDurableExecutionCallbackHeartbeatRequest(ServiceRequest):
|
|
2510
|
+
CallbackId: CallbackId
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
class SendDurableExecutionCallbackHeartbeatResponse(TypedDict, total=False):
|
|
2514
|
+
pass
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
class SendDurableExecutionCallbackSuccessRequest(ServiceRequest):
|
|
2518
|
+
Result: IO[BinaryOperationPayload] | None
|
|
2519
|
+
CallbackId: CallbackId
|
|
2520
|
+
|
|
2521
|
+
|
|
2522
|
+
class SendDurableExecutionCallbackSuccessResponse(TypedDict, total=False):
|
|
2523
|
+
pass
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
class StopDurableExecutionRequest(ServiceRequest):
|
|
2527
|
+
DurableExecutionArn: DurableExecutionArn
|
|
2528
|
+
Error: ErrorObject | None
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
class StopDurableExecutionResponse(TypedDict, total=False):
|
|
2532
|
+
StopTimestamp: ExecutionTimestamp
|
|
2533
|
+
|
|
2534
|
+
|
|
1766
2535
|
TagKeyList = list[TagKey]
|
|
1767
2536
|
|
|
1768
2537
|
|
|
@@ -1779,12 +2548,21 @@ class UntagResourceRequest(ServiceRequest):
|
|
|
1779
2548
|
class UpdateAliasRequest(ServiceRequest):
|
|
1780
2549
|
FunctionName: FunctionName
|
|
1781
2550
|
Name: Alias
|
|
1782
|
-
FunctionVersion:
|
|
2551
|
+
FunctionVersion: VersionWithLatestPublished | None
|
|
1783
2552
|
Description: Description | None
|
|
1784
2553
|
RoutingConfig: AliasRoutingConfiguration | None
|
|
1785
2554
|
RevisionId: String | None
|
|
1786
2555
|
|
|
1787
2556
|
|
|
2557
|
+
class UpdateCapacityProviderRequest(ServiceRequest):
|
|
2558
|
+
CapacityProviderName: CapacityProviderName
|
|
2559
|
+
CapacityProviderScalingConfig: CapacityProviderScalingConfig | None
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
class UpdateCapacityProviderResponse(TypedDict, total=False):
|
|
2563
|
+
CapacityProvider: CapacityProvider
|
|
2564
|
+
|
|
2565
|
+
|
|
1788
2566
|
class UpdateCodeSigningConfigRequest(ServiceRequest):
|
|
1789
2567
|
CodeSigningConfigArn: CodeSigningConfigArn
|
|
1790
2568
|
Description: Description | None
|
|
@@ -1798,7 +2576,7 @@ class UpdateCodeSigningConfigResponse(TypedDict, total=False):
|
|
|
1798
2576
|
|
|
1799
2577
|
class UpdateEventSourceMappingRequest(ServiceRequest):
|
|
1800
2578
|
UUID: String
|
|
1801
|
-
FunctionName:
|
|
2579
|
+
FunctionName: NamespacedFunctionName | None
|
|
1802
2580
|
Enabled: Enabled | None
|
|
1803
2581
|
BatchSize: BatchSize | None
|
|
1804
2582
|
FilterCriteria: FilterCriteria | None
|
|
@@ -1832,6 +2610,7 @@ class UpdateFunctionCodeRequest(ServiceRequest):
|
|
|
1832
2610
|
RevisionId: String | None
|
|
1833
2611
|
Architectures: ArchitecturesList | None
|
|
1834
2612
|
SourceKMSKeyArn: KMSKeyArn | None
|
|
2613
|
+
PublishTo: FunctionVersionLatestPublished | None
|
|
1835
2614
|
|
|
1836
2615
|
|
|
1837
2616
|
class UpdateFunctionConfigurationRequest(ServiceRequest):
|
|
@@ -1854,11 +2633,13 @@ class UpdateFunctionConfigurationRequest(ServiceRequest):
|
|
|
1854
2633
|
EphemeralStorage: EphemeralStorage | None
|
|
1855
2634
|
SnapStart: SnapStart | None
|
|
1856
2635
|
LoggingConfig: LoggingConfig | None
|
|
2636
|
+
CapacityProviderConfig: CapacityProviderConfig | None
|
|
2637
|
+
DurableConfig: DurableConfig | None
|
|
1857
2638
|
|
|
1858
2639
|
|
|
1859
2640
|
class UpdateFunctionEventInvokeConfigRequest(ServiceRequest):
|
|
1860
|
-
FunctionName:
|
|
1861
|
-
Qualifier:
|
|
2641
|
+
FunctionName: NamespacedFunctionName
|
|
2642
|
+
Qualifier: NumericLatestPublishedOrAliasQualifier | None
|
|
1862
2643
|
MaximumRetryAttempts: MaximumRetryAttempts | None
|
|
1863
2644
|
MaximumEventAgeInSeconds: MaximumEventAgeInSeconds | None
|
|
1864
2645
|
DestinationConfig: DestinationConfig | None
|
|
@@ -1905,14 +2686,14 @@ class LambdaApi:
|
|
|
1905
2686
|
def add_permission(
|
|
1906
2687
|
self,
|
|
1907
2688
|
context: RequestContext,
|
|
1908
|
-
function_name:
|
|
2689
|
+
function_name: NamespacedFunctionName,
|
|
1909
2690
|
statement_id: StatementId,
|
|
1910
2691
|
action: Action,
|
|
1911
2692
|
principal: Principal,
|
|
1912
2693
|
source_arn: Arn | None = None,
|
|
1913
2694
|
source_account: SourceOwner | None = None,
|
|
1914
2695
|
event_source_token: EventSourceToken | None = None,
|
|
1915
|
-
qualifier:
|
|
2696
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
1916
2697
|
revision_id: String | None = None,
|
|
1917
2698
|
principal_org_id: PrincipalOrgID | None = None,
|
|
1918
2699
|
function_url_auth_type: FunctionUrlAuthType | None = None,
|
|
@@ -1921,19 +2702,46 @@ class LambdaApi:
|
|
|
1921
2702
|
) -> AddPermissionResponse:
|
|
1922
2703
|
raise NotImplementedError
|
|
1923
2704
|
|
|
2705
|
+
@handler("CheckpointDurableExecution")
|
|
2706
|
+
def checkpoint_durable_execution(
|
|
2707
|
+
self,
|
|
2708
|
+
context: RequestContext,
|
|
2709
|
+
durable_execution_arn: DurableExecutionArn,
|
|
2710
|
+
checkpoint_token: CheckpointToken,
|
|
2711
|
+
updates: OperationUpdates | None = None,
|
|
2712
|
+
client_token: ClientToken | None = None,
|
|
2713
|
+
**kwargs,
|
|
2714
|
+
) -> CheckpointDurableExecutionResponse:
|
|
2715
|
+
raise NotImplementedError
|
|
2716
|
+
|
|
1924
2717
|
@handler("CreateAlias")
|
|
1925
2718
|
def create_alias(
|
|
1926
2719
|
self,
|
|
1927
2720
|
context: RequestContext,
|
|
1928
2721
|
function_name: FunctionName,
|
|
1929
2722
|
name: Alias,
|
|
1930
|
-
function_version:
|
|
2723
|
+
function_version: VersionWithLatestPublished,
|
|
1931
2724
|
description: Description | None = None,
|
|
1932
2725
|
routing_config: AliasRoutingConfiguration | None = None,
|
|
1933
2726
|
**kwargs,
|
|
1934
2727
|
) -> AliasConfiguration:
|
|
1935
2728
|
raise NotImplementedError
|
|
1936
2729
|
|
|
2730
|
+
@handler("CreateCapacityProvider")
|
|
2731
|
+
def create_capacity_provider(
|
|
2732
|
+
self,
|
|
2733
|
+
context: RequestContext,
|
|
2734
|
+
capacity_provider_name: CapacityProviderName,
|
|
2735
|
+
vpc_config: CapacityProviderVpcConfig,
|
|
2736
|
+
permissions_config: CapacityProviderPermissionsConfig,
|
|
2737
|
+
instance_requirements: InstanceRequirements | None = None,
|
|
2738
|
+
capacity_provider_scaling_config: CapacityProviderScalingConfig | None = None,
|
|
2739
|
+
kms_key_arn: KMSKeyArnNonEmpty | None = None,
|
|
2740
|
+
tags: Tags | None = None,
|
|
2741
|
+
**kwargs,
|
|
2742
|
+
) -> CreateCapacityProviderResponse:
|
|
2743
|
+
raise NotImplementedError
|
|
2744
|
+
|
|
1937
2745
|
@handler("CreateCodeSigningConfig")
|
|
1938
2746
|
def create_code_signing_config(
|
|
1939
2747
|
self,
|
|
@@ -1950,7 +2758,7 @@ class LambdaApi:
|
|
|
1950
2758
|
def create_event_source_mapping(
|
|
1951
2759
|
self,
|
|
1952
2760
|
context: RequestContext,
|
|
1953
|
-
function_name:
|
|
2761
|
+
function_name: NamespacedFunctionName,
|
|
1954
2762
|
event_source_arn: Arn | None = None,
|
|
1955
2763
|
enabled: Enabled | None = None,
|
|
1956
2764
|
batch_size: BatchSize | None = None,
|
|
@@ -2009,6 +2817,10 @@ class LambdaApi:
|
|
|
2009
2817
|
ephemeral_storage: EphemeralStorage | None = None,
|
|
2010
2818
|
snap_start: SnapStart | None = None,
|
|
2011
2819
|
logging_config: LoggingConfig | None = None,
|
|
2820
|
+
capacity_provider_config: CapacityProviderConfig | None = None,
|
|
2821
|
+
publish_to: FunctionVersionLatestPublished | None = None,
|
|
2822
|
+
durable_config: DurableConfig | None = None,
|
|
2823
|
+
tenancy_config: TenancyConfig | None = None,
|
|
2012
2824
|
**kwargs,
|
|
2013
2825
|
) -> FunctionConfiguration:
|
|
2014
2826
|
raise NotImplementedError
|
|
@@ -2032,6 +2844,12 @@ class LambdaApi:
|
|
|
2032
2844
|
) -> None:
|
|
2033
2845
|
raise NotImplementedError
|
|
2034
2846
|
|
|
2847
|
+
@handler("DeleteCapacityProvider")
|
|
2848
|
+
def delete_capacity_provider(
|
|
2849
|
+
self, context: RequestContext, capacity_provider_name: CapacityProviderName, **kwargs
|
|
2850
|
+
) -> DeleteCapacityProviderResponse:
|
|
2851
|
+
raise NotImplementedError
|
|
2852
|
+
|
|
2035
2853
|
@handler("DeleteCodeSigningConfig")
|
|
2036
2854
|
def delete_code_signing_config(
|
|
2037
2855
|
self, context: RequestContext, code_signing_config_arn: CodeSigningConfigArn, **kwargs
|
|
@@ -2048,15 +2866,15 @@ class LambdaApi:
|
|
|
2048
2866
|
def delete_function(
|
|
2049
2867
|
self,
|
|
2050
2868
|
context: RequestContext,
|
|
2051
|
-
function_name:
|
|
2052
|
-
qualifier:
|
|
2869
|
+
function_name: NamespacedFunctionName,
|
|
2870
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2053
2871
|
**kwargs,
|
|
2054
|
-
) ->
|
|
2872
|
+
) -> DeleteFunctionResponse:
|
|
2055
2873
|
raise NotImplementedError
|
|
2056
2874
|
|
|
2057
2875
|
@handler("DeleteFunctionCodeSigningConfig")
|
|
2058
2876
|
def delete_function_code_signing_config(
|
|
2059
|
-
self, context: RequestContext, function_name:
|
|
2877
|
+
self, context: RequestContext, function_name: NamespacedFunctionName, **kwargs
|
|
2060
2878
|
) -> None:
|
|
2061
2879
|
raise NotImplementedError
|
|
2062
2880
|
|
|
@@ -2070,8 +2888,8 @@ class LambdaApi:
|
|
|
2070
2888
|
def delete_function_event_invoke_config(
|
|
2071
2889
|
self,
|
|
2072
2890
|
context: RequestContext,
|
|
2073
|
-
function_name:
|
|
2074
|
-
qualifier:
|
|
2891
|
+
function_name: NamespacedFunctionName,
|
|
2892
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2075
2893
|
**kwargs,
|
|
2076
2894
|
) -> None:
|
|
2077
2895
|
raise NotImplementedError
|
|
@@ -2112,12 +2930,49 @@ class LambdaApi:
|
|
|
2112
2930
|
) -> AliasConfiguration:
|
|
2113
2931
|
raise NotImplementedError
|
|
2114
2932
|
|
|
2933
|
+
@handler("GetCapacityProvider")
|
|
2934
|
+
def get_capacity_provider(
|
|
2935
|
+
self, context: RequestContext, capacity_provider_name: CapacityProviderName, **kwargs
|
|
2936
|
+
) -> GetCapacityProviderResponse:
|
|
2937
|
+
raise NotImplementedError
|
|
2938
|
+
|
|
2115
2939
|
@handler("GetCodeSigningConfig")
|
|
2116
2940
|
def get_code_signing_config(
|
|
2117
2941
|
self, context: RequestContext, code_signing_config_arn: CodeSigningConfigArn, **kwargs
|
|
2118
2942
|
) -> GetCodeSigningConfigResponse:
|
|
2119
2943
|
raise NotImplementedError
|
|
2120
2944
|
|
|
2945
|
+
@handler("GetDurableExecution")
|
|
2946
|
+
def get_durable_execution(
|
|
2947
|
+
self, context: RequestContext, durable_execution_arn: DurableExecutionArn, **kwargs
|
|
2948
|
+
) -> GetDurableExecutionResponse:
|
|
2949
|
+
raise NotImplementedError
|
|
2950
|
+
|
|
2951
|
+
@handler("GetDurableExecutionHistory")
|
|
2952
|
+
def get_durable_execution_history(
|
|
2953
|
+
self,
|
|
2954
|
+
context: RequestContext,
|
|
2955
|
+
durable_execution_arn: DurableExecutionArn,
|
|
2956
|
+
include_execution_data: IncludeExecutionData | None = None,
|
|
2957
|
+
max_items: ItemCount | None = None,
|
|
2958
|
+
marker: String | None = None,
|
|
2959
|
+
reverse_order: ReverseOrder | None = None,
|
|
2960
|
+
**kwargs,
|
|
2961
|
+
) -> GetDurableExecutionHistoryResponse:
|
|
2962
|
+
raise NotImplementedError
|
|
2963
|
+
|
|
2964
|
+
@handler("GetDurableExecutionState")
|
|
2965
|
+
def get_durable_execution_state(
|
|
2966
|
+
self,
|
|
2967
|
+
context: RequestContext,
|
|
2968
|
+
durable_execution_arn: DurableExecutionArn,
|
|
2969
|
+
checkpoint_token: CheckpointToken,
|
|
2970
|
+
marker: String | None = None,
|
|
2971
|
+
max_items: ItemCount | None = None,
|
|
2972
|
+
**kwargs,
|
|
2973
|
+
) -> GetDurableExecutionStateResponse:
|
|
2974
|
+
raise NotImplementedError
|
|
2975
|
+
|
|
2121
2976
|
@handler("GetEventSourceMapping")
|
|
2122
2977
|
def get_event_source_mapping(
|
|
2123
2978
|
self, context: RequestContext, uuid: String, **kwargs
|
|
@@ -2129,14 +2984,14 @@ class LambdaApi:
|
|
|
2129
2984
|
self,
|
|
2130
2985
|
context: RequestContext,
|
|
2131
2986
|
function_name: NamespacedFunctionName,
|
|
2132
|
-
qualifier:
|
|
2987
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2133
2988
|
**kwargs,
|
|
2134
2989
|
) -> GetFunctionResponse:
|
|
2135
2990
|
raise NotImplementedError
|
|
2136
2991
|
|
|
2137
2992
|
@handler("GetFunctionCodeSigningConfig")
|
|
2138
2993
|
def get_function_code_signing_config(
|
|
2139
|
-
self, context: RequestContext, function_name:
|
|
2994
|
+
self, context: RequestContext, function_name: NamespacedFunctionName, **kwargs
|
|
2140
2995
|
) -> GetFunctionCodeSigningConfigResponse:
|
|
2141
2996
|
raise NotImplementedError
|
|
2142
2997
|
|
|
@@ -2151,7 +3006,7 @@ class LambdaApi:
|
|
|
2151
3006
|
self,
|
|
2152
3007
|
context: RequestContext,
|
|
2153
3008
|
function_name: NamespacedFunctionName,
|
|
2154
|
-
qualifier:
|
|
3009
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2155
3010
|
**kwargs,
|
|
2156
3011
|
) -> FunctionConfiguration:
|
|
2157
3012
|
raise NotImplementedError
|
|
@@ -2160,8 +3015,8 @@ class LambdaApi:
|
|
|
2160
3015
|
def get_function_event_invoke_config(
|
|
2161
3016
|
self,
|
|
2162
3017
|
context: RequestContext,
|
|
2163
|
-
function_name:
|
|
2164
|
-
qualifier:
|
|
3018
|
+
function_name: NamespacedFunctionName,
|
|
3019
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2165
3020
|
**kwargs,
|
|
2166
3021
|
) -> FunctionEventInvokeConfig:
|
|
2167
3022
|
raise NotImplementedError
|
|
@@ -2172,6 +3027,16 @@ class LambdaApi:
|
|
|
2172
3027
|
) -> GetFunctionRecursionConfigResponse:
|
|
2173
3028
|
raise NotImplementedError
|
|
2174
3029
|
|
|
3030
|
+
@handler("GetFunctionScalingConfig")
|
|
3031
|
+
def get_function_scaling_config(
|
|
3032
|
+
self,
|
|
3033
|
+
context: RequestContext,
|
|
3034
|
+
function_name: UnqualifiedFunctionName,
|
|
3035
|
+
qualifier: PublishedFunctionQualifier,
|
|
3036
|
+
**kwargs,
|
|
3037
|
+
) -> GetFunctionScalingConfigResponse:
|
|
3038
|
+
raise NotImplementedError
|
|
3039
|
+
|
|
2175
3040
|
@handler("GetFunctionUrlConfig")
|
|
2176
3041
|
def get_function_url_config(
|
|
2177
3042
|
self,
|
|
@@ -2213,7 +3078,7 @@ class LambdaApi:
|
|
|
2213
3078
|
self,
|
|
2214
3079
|
context: RequestContext,
|
|
2215
3080
|
function_name: NamespacedFunctionName,
|
|
2216
|
-
qualifier:
|
|
3081
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2217
3082
|
**kwargs,
|
|
2218
3083
|
) -> GetPolicyResponse:
|
|
2219
3084
|
raise NotImplementedError
|
|
@@ -2229,7 +3094,7 @@ class LambdaApi:
|
|
|
2229
3094
|
self,
|
|
2230
3095
|
context: RequestContext,
|
|
2231
3096
|
function_name: NamespacedFunctionName,
|
|
2232
|
-
qualifier:
|
|
3097
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2233
3098
|
**kwargs,
|
|
2234
3099
|
) -> GetRuntimeManagementConfigResponse:
|
|
2235
3100
|
raise NotImplementedError
|
|
@@ -2242,8 +3107,10 @@ class LambdaApi:
|
|
|
2242
3107
|
invocation_type: InvocationType | None = None,
|
|
2243
3108
|
log_type: LogType | None = None,
|
|
2244
3109
|
client_context: String | None = None,
|
|
3110
|
+
durable_execution_name: DurableExecutionName | None = None,
|
|
2245
3111
|
payload: IO[Blob] | None = None,
|
|
2246
|
-
qualifier:
|
|
3112
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
3113
|
+
tenant_id: TenantId | None = None,
|
|
2247
3114
|
**kwargs,
|
|
2248
3115
|
) -> InvocationResponse:
|
|
2249
3116
|
raise NotImplementedError
|
|
@@ -2266,8 +3133,9 @@ class LambdaApi:
|
|
|
2266
3133
|
invocation_type: ResponseStreamingInvocationType | None = None,
|
|
2267
3134
|
log_type: LogType | None = None,
|
|
2268
3135
|
client_context: String | None = None,
|
|
2269
|
-
qualifier:
|
|
3136
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2270
3137
|
payload: IO[Blob] | None = None,
|
|
3138
|
+
tenant_id: TenantId | None = None,
|
|
2271
3139
|
**kwargs,
|
|
2272
3140
|
) -> InvokeWithResponseStreamResponse:
|
|
2273
3141
|
raise NotImplementedError
|
|
@@ -2277,13 +3145,24 @@ class LambdaApi:
|
|
|
2277
3145
|
self,
|
|
2278
3146
|
context: RequestContext,
|
|
2279
3147
|
function_name: FunctionName,
|
|
2280
|
-
function_version:
|
|
3148
|
+
function_version: VersionWithLatestPublished | None = None,
|
|
2281
3149
|
marker: String | None = None,
|
|
2282
3150
|
max_items: MaxListItems | None = None,
|
|
2283
3151
|
**kwargs,
|
|
2284
3152
|
) -> ListAliasesResponse:
|
|
2285
3153
|
raise NotImplementedError
|
|
2286
3154
|
|
|
3155
|
+
@handler("ListCapacityProviders")
|
|
3156
|
+
def list_capacity_providers(
|
|
3157
|
+
self,
|
|
3158
|
+
context: RequestContext,
|
|
3159
|
+
state: CapacityProviderState | None = None,
|
|
3160
|
+
marker: String | None = None,
|
|
3161
|
+
max_items: MaxFiftyListItems | None = None,
|
|
3162
|
+
**kwargs,
|
|
3163
|
+
) -> ListCapacityProvidersResponse:
|
|
3164
|
+
raise NotImplementedError
|
|
3165
|
+
|
|
2287
3166
|
@handler("ListCodeSigningConfigs")
|
|
2288
3167
|
def list_code_signing_configs(
|
|
2289
3168
|
self,
|
|
@@ -2294,12 +3173,29 @@ class LambdaApi:
|
|
|
2294
3173
|
) -> ListCodeSigningConfigsResponse:
|
|
2295
3174
|
raise NotImplementedError
|
|
2296
3175
|
|
|
3176
|
+
@handler("ListDurableExecutionsByFunction")
|
|
3177
|
+
def list_durable_executions_by_function(
|
|
3178
|
+
self,
|
|
3179
|
+
context: RequestContext,
|
|
3180
|
+
function_name: NamespacedFunctionName,
|
|
3181
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
3182
|
+
durable_execution_name: DurableExecutionName | None = None,
|
|
3183
|
+
statuses: ExecutionStatusList | None = None,
|
|
3184
|
+
started_after: ExecutionTimestamp | None = None,
|
|
3185
|
+
started_before: ExecutionTimestamp | None = None,
|
|
3186
|
+
reverse_order: ReverseOrder | None = None,
|
|
3187
|
+
marker: String | None = None,
|
|
3188
|
+
max_items: ItemCount | None = None,
|
|
3189
|
+
**kwargs,
|
|
3190
|
+
) -> ListDurableExecutionsByFunctionResponse:
|
|
3191
|
+
raise NotImplementedError
|
|
3192
|
+
|
|
2297
3193
|
@handler("ListEventSourceMappings")
|
|
2298
3194
|
def list_event_source_mappings(
|
|
2299
3195
|
self,
|
|
2300
3196
|
context: RequestContext,
|
|
2301
3197
|
event_source_arn: Arn | None = None,
|
|
2302
|
-
function_name:
|
|
3198
|
+
function_name: NamespacedFunctionName | None = None,
|
|
2303
3199
|
marker: String | None = None,
|
|
2304
3200
|
max_items: MaxListItems | None = None,
|
|
2305
3201
|
**kwargs,
|
|
@@ -2310,7 +3206,7 @@ class LambdaApi:
|
|
|
2310
3206
|
def list_function_event_invoke_configs(
|
|
2311
3207
|
self,
|
|
2312
3208
|
context: RequestContext,
|
|
2313
|
-
function_name:
|
|
3209
|
+
function_name: NamespacedFunctionName,
|
|
2314
3210
|
marker: String | None = None,
|
|
2315
3211
|
max_items: MaxFunctionEventInvokeConfigListItems | None = None,
|
|
2316
3212
|
**kwargs,
|
|
@@ -2328,6 +3224,17 @@ class LambdaApi:
|
|
|
2328
3224
|
) -> ListFunctionUrlConfigsResponse:
|
|
2329
3225
|
raise NotImplementedError
|
|
2330
3226
|
|
|
3227
|
+
@handler("ListFunctionVersionsByCapacityProvider")
|
|
3228
|
+
def list_function_versions_by_capacity_provider(
|
|
3229
|
+
self,
|
|
3230
|
+
context: RequestContext,
|
|
3231
|
+
capacity_provider_name: CapacityProviderName,
|
|
3232
|
+
marker: String | None = None,
|
|
3233
|
+
max_items: MaxFiftyListItems | None = None,
|
|
3234
|
+
**kwargs,
|
|
3235
|
+
) -> ListFunctionVersionsByCapacityProviderResponse:
|
|
3236
|
+
raise NotImplementedError
|
|
3237
|
+
|
|
2331
3238
|
@handler("ListFunctions")
|
|
2332
3239
|
def list_functions(
|
|
2333
3240
|
self,
|
|
@@ -2426,6 +3333,7 @@ class LambdaApi:
|
|
|
2426
3333
|
code_sha256: String | None = None,
|
|
2427
3334
|
description: Description | None = None,
|
|
2428
3335
|
revision_id: String | None = None,
|
|
3336
|
+
publish_to: FunctionVersionLatestPublished | None = None,
|
|
2429
3337
|
**kwargs,
|
|
2430
3338
|
) -> FunctionConfiguration:
|
|
2431
3339
|
raise NotImplementedError
|
|
@@ -2435,7 +3343,7 @@ class LambdaApi:
|
|
|
2435
3343
|
self,
|
|
2436
3344
|
context: RequestContext,
|
|
2437
3345
|
code_signing_config_arn: CodeSigningConfigArn,
|
|
2438
|
-
function_name:
|
|
3346
|
+
function_name: NamespacedFunctionName,
|
|
2439
3347
|
**kwargs,
|
|
2440
3348
|
) -> PutFunctionCodeSigningConfigResponse:
|
|
2441
3349
|
raise NotImplementedError
|
|
@@ -2454,8 +3362,8 @@ class LambdaApi:
|
|
|
2454
3362
|
def put_function_event_invoke_config(
|
|
2455
3363
|
self,
|
|
2456
3364
|
context: RequestContext,
|
|
2457
|
-
function_name:
|
|
2458
|
-
qualifier:
|
|
3365
|
+
function_name: NamespacedFunctionName,
|
|
3366
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2459
3367
|
maximum_retry_attempts: MaximumRetryAttempts | None = None,
|
|
2460
3368
|
maximum_event_age_in_seconds: MaximumEventAgeInSeconds | None = None,
|
|
2461
3369
|
destination_config: DestinationConfig | None = None,
|
|
@@ -2473,6 +3381,17 @@ class LambdaApi:
|
|
|
2473
3381
|
) -> PutFunctionRecursionConfigResponse:
|
|
2474
3382
|
raise NotImplementedError
|
|
2475
3383
|
|
|
3384
|
+
@handler("PutFunctionScalingConfig")
|
|
3385
|
+
def put_function_scaling_config(
|
|
3386
|
+
self,
|
|
3387
|
+
context: RequestContext,
|
|
3388
|
+
function_name: UnqualifiedFunctionName,
|
|
3389
|
+
qualifier: PublishedFunctionQualifier,
|
|
3390
|
+
function_scaling_config: FunctionScalingConfig | None = None,
|
|
3391
|
+
**kwargs,
|
|
3392
|
+
) -> PutFunctionScalingConfigResponse:
|
|
3393
|
+
raise NotImplementedError
|
|
3394
|
+
|
|
2476
3395
|
@handler("PutProvisionedConcurrencyConfig")
|
|
2477
3396
|
def put_provisioned_concurrency_config(
|
|
2478
3397
|
self,
|
|
@@ -2488,9 +3407,9 @@ class LambdaApi:
|
|
|
2488
3407
|
def put_runtime_management_config(
|
|
2489
3408
|
self,
|
|
2490
3409
|
context: RequestContext,
|
|
2491
|
-
function_name:
|
|
3410
|
+
function_name: NamespacedFunctionName,
|
|
2492
3411
|
update_runtime_on: UpdateRuntimeOn,
|
|
2493
|
-
qualifier:
|
|
3412
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2494
3413
|
runtime_version_arn: RuntimeVersionArn | None = None,
|
|
2495
3414
|
**kwargs,
|
|
2496
3415
|
) -> PutRuntimeManagementConfigResponse:
|
|
@@ -2512,14 +3431,50 @@ class LambdaApi:
|
|
|
2512
3431
|
def remove_permission(
|
|
2513
3432
|
self,
|
|
2514
3433
|
context: RequestContext,
|
|
2515
|
-
function_name:
|
|
3434
|
+
function_name: NamespacedFunctionName,
|
|
2516
3435
|
statement_id: NamespacedStatementId,
|
|
2517
|
-
qualifier:
|
|
3436
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2518
3437
|
revision_id: String | None = None,
|
|
2519
3438
|
**kwargs,
|
|
2520
3439
|
) -> None:
|
|
2521
3440
|
raise NotImplementedError
|
|
2522
3441
|
|
|
3442
|
+
@handler("SendDurableExecutionCallbackFailure")
|
|
3443
|
+
def send_durable_execution_callback_failure(
|
|
3444
|
+
self,
|
|
3445
|
+
context: RequestContext,
|
|
3446
|
+
callback_id: CallbackId,
|
|
3447
|
+
error: ErrorObject | None = None,
|
|
3448
|
+
**kwargs,
|
|
3449
|
+
) -> SendDurableExecutionCallbackFailureResponse:
|
|
3450
|
+
raise NotImplementedError
|
|
3451
|
+
|
|
3452
|
+
@handler("SendDurableExecutionCallbackHeartbeat")
|
|
3453
|
+
def send_durable_execution_callback_heartbeat(
|
|
3454
|
+
self, context: RequestContext, callback_id: CallbackId, **kwargs
|
|
3455
|
+
) -> SendDurableExecutionCallbackHeartbeatResponse:
|
|
3456
|
+
raise NotImplementedError
|
|
3457
|
+
|
|
3458
|
+
@handler("SendDurableExecutionCallbackSuccess")
|
|
3459
|
+
def send_durable_execution_callback_success(
|
|
3460
|
+
self,
|
|
3461
|
+
context: RequestContext,
|
|
3462
|
+
callback_id: CallbackId,
|
|
3463
|
+
result: IO[BinaryOperationPayload] | None = None,
|
|
3464
|
+
**kwargs,
|
|
3465
|
+
) -> SendDurableExecutionCallbackSuccessResponse:
|
|
3466
|
+
raise NotImplementedError
|
|
3467
|
+
|
|
3468
|
+
@handler("StopDurableExecution")
|
|
3469
|
+
def stop_durable_execution(
|
|
3470
|
+
self,
|
|
3471
|
+
context: RequestContext,
|
|
3472
|
+
durable_execution_arn: DurableExecutionArn,
|
|
3473
|
+
error: ErrorObject | None = None,
|
|
3474
|
+
**kwargs,
|
|
3475
|
+
) -> StopDurableExecutionResponse:
|
|
3476
|
+
raise NotImplementedError
|
|
3477
|
+
|
|
2523
3478
|
@handler("TagResource")
|
|
2524
3479
|
def tag_resource(
|
|
2525
3480
|
self, context: RequestContext, resource: TaggableResource, tags: Tags, **kwargs
|
|
@@ -2538,7 +3493,7 @@ class LambdaApi:
|
|
|
2538
3493
|
context: RequestContext,
|
|
2539
3494
|
function_name: FunctionName,
|
|
2540
3495
|
name: Alias,
|
|
2541
|
-
function_version:
|
|
3496
|
+
function_version: VersionWithLatestPublished | None = None,
|
|
2542
3497
|
description: Description | None = None,
|
|
2543
3498
|
routing_config: AliasRoutingConfiguration | None = None,
|
|
2544
3499
|
revision_id: String | None = None,
|
|
@@ -2546,6 +3501,16 @@ class LambdaApi:
|
|
|
2546
3501
|
) -> AliasConfiguration:
|
|
2547
3502
|
raise NotImplementedError
|
|
2548
3503
|
|
|
3504
|
+
@handler("UpdateCapacityProvider")
|
|
3505
|
+
def update_capacity_provider(
|
|
3506
|
+
self,
|
|
3507
|
+
context: RequestContext,
|
|
3508
|
+
capacity_provider_name: CapacityProviderName,
|
|
3509
|
+
capacity_provider_scaling_config: CapacityProviderScalingConfig | None = None,
|
|
3510
|
+
**kwargs,
|
|
3511
|
+
) -> UpdateCapacityProviderResponse:
|
|
3512
|
+
raise NotImplementedError
|
|
3513
|
+
|
|
2549
3514
|
@handler("UpdateCodeSigningConfig")
|
|
2550
3515
|
def update_code_signing_config(
|
|
2551
3516
|
self,
|
|
@@ -2563,7 +3528,7 @@ class LambdaApi:
|
|
|
2563
3528
|
self,
|
|
2564
3529
|
context: RequestContext,
|
|
2565
3530
|
uuid: String,
|
|
2566
|
-
function_name:
|
|
3531
|
+
function_name: NamespacedFunctionName | None = None,
|
|
2567
3532
|
enabled: Enabled | None = None,
|
|
2568
3533
|
batch_size: BatchSize | None = None,
|
|
2569
3534
|
filter_criteria: FilterCriteria | None = None,
|
|
@@ -2602,6 +3567,7 @@ class LambdaApi:
|
|
|
2602
3567
|
revision_id: String | None = None,
|
|
2603
3568
|
architectures: ArchitecturesList | None = None,
|
|
2604
3569
|
source_kms_key_arn: KMSKeyArn | None = None,
|
|
3570
|
+
publish_to: FunctionVersionLatestPublished | None = None,
|
|
2605
3571
|
**kwargs,
|
|
2606
3572
|
) -> FunctionConfiguration:
|
|
2607
3573
|
raise NotImplementedError
|
|
@@ -2629,6 +3595,8 @@ class LambdaApi:
|
|
|
2629
3595
|
ephemeral_storage: EphemeralStorage | None = None,
|
|
2630
3596
|
snap_start: SnapStart | None = None,
|
|
2631
3597
|
logging_config: LoggingConfig | None = None,
|
|
3598
|
+
capacity_provider_config: CapacityProviderConfig | None = None,
|
|
3599
|
+
durable_config: DurableConfig | None = None,
|
|
2632
3600
|
**kwargs,
|
|
2633
3601
|
) -> FunctionConfiguration:
|
|
2634
3602
|
raise NotImplementedError
|
|
@@ -2637,8 +3605,8 @@ class LambdaApi:
|
|
|
2637
3605
|
def update_function_event_invoke_config(
|
|
2638
3606
|
self,
|
|
2639
3607
|
context: RequestContext,
|
|
2640
|
-
function_name:
|
|
2641
|
-
qualifier:
|
|
3608
|
+
function_name: NamespacedFunctionName,
|
|
3609
|
+
qualifier: NumericLatestPublishedOrAliasQualifier | None = None,
|
|
2642
3610
|
maximum_retry_attempts: MaximumRetryAttempts | None = None,
|
|
2643
3611
|
maximum_event_age_in_seconds: MaximumEventAgeInSeconds | None = None,
|
|
2644
3612
|
destination_config: DestinationConfig | None = None,
|