@aws-sdk/client-lambda 3.940.0 → 3.943.0
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.
- package/README.md +136 -0
- package/dist-cjs/index.js +1663 -100
- package/dist-es/Lambda.js +34 -0
- package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
- package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
- package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
- package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
- package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
- package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
- package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/index.js +17 -0
- package/dist-es/models/enums.js +109 -6
- package/dist-es/models/errors.js +76 -0
- package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
- package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
- package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/schemas/schemas_0.js +1216 -95
- package/dist-types/Lambda.d.ts +120 -0
- package/dist-types/LambdaClient.d.ts +19 -2
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +38 -3
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -4
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
- package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +19 -3
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +19 -3
- package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/InvokeCommand.d.ts +11 -1
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +4 -1
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
- package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +19 -3
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +23 -3
- package/dist-types/commands/PublishVersionCommand.d.ts +19 -3
- package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
- package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
- package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
- package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +16 -3
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +34 -3
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/models/enums.d.ts +189 -14
- package/dist-types/models/errors.d.ts +89 -1
- package/dist-types/models/models_0.d.ts +3205 -1373
- package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/schemas/schemas_0.d.ts +134 -0
- package/dist-types/ts3.4/Lambda.d.ts +314 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +102 -0
- package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +8 -3
- package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/models/enums.d.ts +126 -7
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +494 -42
- package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
- package/package.json +5 -5
|
@@ -96,6 +96,17 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
96
96
|
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
97
97
|
* LogGroup: "STRING_VALUE",
|
|
98
98
|
* },
|
|
99
|
+
* CapacityProviderConfig: { // CapacityProviderConfig
|
|
100
|
+
* LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
101
|
+
* CapacityProviderArn: "STRING_VALUE", // required
|
|
102
|
+
* PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
103
|
+
* ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* DurableConfig: { // DurableConfig
|
|
107
|
+
* RetentionPeriodInDays: Number("int"),
|
|
108
|
+
* ExecutionTimeout: Number("int"),
|
|
109
|
+
* },
|
|
99
110
|
* };
|
|
100
111
|
* const command = new UpdateFunctionConfigurationCommand(input);
|
|
101
112
|
* const response = await client.send(command);
|
|
@@ -148,12 +159,12 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
148
159
|
* // SigningJobArn: "STRING_VALUE",
|
|
149
160
|
* // },
|
|
150
161
|
* // ],
|
|
151
|
-
* // State: "Pending" || "Active" || "Inactive" || "Failed",
|
|
162
|
+
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
152
163
|
* // StateReason: "STRING_VALUE",
|
|
153
|
-
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
|
|
164
|
+
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "DrainingDurableExecutions" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
154
165
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
155
166
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
156
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
|
|
167
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
157
168
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
158
169
|
* // { // FileSystemConfig
|
|
159
170
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -201,6 +212,18 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
201
212
|
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
202
213
|
* // LogGroup: "STRING_VALUE",
|
|
203
214
|
* // },
|
|
215
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
216
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
217
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
218
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
219
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
220
|
+
* // },
|
|
221
|
+
* // },
|
|
222
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
223
|
+
* // DurableConfig: { // DurableConfig
|
|
224
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
225
|
+
* // ExecutionTimeout: Number("int"),
|
|
226
|
+
* // },
|
|
204
227
|
* // TenancyConfig: { // TenancyConfig
|
|
205
228
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
206
229
|
* // },
|
|
@@ -249,6 +272,10 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
249
272
|
* ```javascript
|
|
250
273
|
* // The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named my-function.
|
|
251
274
|
* const input = {
|
|
275
|
+
* DurableConfig: {
|
|
276
|
+
* ExecutionTimeout: 3600,
|
|
277
|
+
* RetentionPeriodInDays: 45
|
|
278
|
+
* },
|
|
252
279
|
* FunctionName: "my-function",
|
|
253
280
|
* MemorySize: 256
|
|
254
281
|
* };
|
|
@@ -259,6 +286,10 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
259
286
|
* CodeSha256: "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
|
|
260
287
|
* CodeSize: 308,
|
|
261
288
|
* Description: "",
|
|
289
|
+
* DurableConfig: {
|
|
290
|
+
* ExecutionTimeout: 3600,
|
|
291
|
+
* RetentionPeriodInDays: 45
|
|
292
|
+
* },
|
|
262
293
|
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
|
263
294
|
* FunctionName: "my-function",
|
|
264
295
|
* Handler: "index.handler",
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
export * from "./AddLayerVersionPermissionCommand";
|
|
2
2
|
export * from "./AddPermissionCommand";
|
|
3
|
+
export * from "./CheckpointDurableExecutionCommand";
|
|
3
4
|
export * from "./CreateAliasCommand";
|
|
5
|
+
export * from "./CreateCapacityProviderCommand";
|
|
4
6
|
export * from "./CreateCodeSigningConfigCommand";
|
|
5
7
|
export * from "./CreateEventSourceMappingCommand";
|
|
6
8
|
export * from "./CreateFunctionCommand";
|
|
7
9
|
export * from "./CreateFunctionUrlConfigCommand";
|
|
8
10
|
export * from "./DeleteAliasCommand";
|
|
11
|
+
export * from "./DeleteCapacityProviderCommand";
|
|
9
12
|
export * from "./DeleteCodeSigningConfigCommand";
|
|
10
13
|
export * from "./DeleteEventSourceMappingCommand";
|
|
11
14
|
export * from "./DeleteFunctionCodeSigningConfigCommand";
|
|
@@ -17,7 +20,11 @@ export * from "./DeleteLayerVersionCommand";
|
|
|
17
20
|
export * from "./DeleteProvisionedConcurrencyConfigCommand";
|
|
18
21
|
export * from "./GetAccountSettingsCommand";
|
|
19
22
|
export * from "./GetAliasCommand";
|
|
23
|
+
export * from "./GetCapacityProviderCommand";
|
|
20
24
|
export * from "./GetCodeSigningConfigCommand";
|
|
25
|
+
export * from "./GetDurableExecutionCommand";
|
|
26
|
+
export * from "./GetDurableExecutionHistoryCommand";
|
|
27
|
+
export * from "./GetDurableExecutionStateCommand";
|
|
21
28
|
export * from "./GetEventSourceMappingCommand";
|
|
22
29
|
export * from "./GetFunctionCodeSigningConfigCommand";
|
|
23
30
|
export * from "./GetFunctionCommand";
|
|
@@ -25,6 +32,7 @@ export * from "./GetFunctionConcurrencyCommand";
|
|
|
25
32
|
export * from "./GetFunctionConfigurationCommand";
|
|
26
33
|
export * from "./GetFunctionEventInvokeConfigCommand";
|
|
27
34
|
export * from "./GetFunctionRecursionConfigCommand";
|
|
35
|
+
export * from "./GetFunctionScalingConfigCommand";
|
|
28
36
|
export * from "./GetFunctionUrlConfigCommand";
|
|
29
37
|
export * from "./GetLayerVersionByArnCommand";
|
|
30
38
|
export * from "./GetLayerVersionCommand";
|
|
@@ -36,10 +44,13 @@ export * from "./InvokeAsyncCommand";
|
|
|
36
44
|
export * from "./InvokeCommand";
|
|
37
45
|
export * from "./InvokeWithResponseStreamCommand";
|
|
38
46
|
export * from "./ListAliasesCommand";
|
|
47
|
+
export * from "./ListCapacityProvidersCommand";
|
|
39
48
|
export * from "./ListCodeSigningConfigsCommand";
|
|
49
|
+
export * from "./ListDurableExecutionsByFunctionCommand";
|
|
40
50
|
export * from "./ListEventSourceMappingsCommand";
|
|
41
51
|
export * from "./ListFunctionEventInvokeConfigsCommand";
|
|
42
52
|
export * from "./ListFunctionUrlConfigsCommand";
|
|
53
|
+
export * from "./ListFunctionVersionsByCapacityProviderCommand";
|
|
43
54
|
export * from "./ListFunctionsByCodeSigningConfigCommand";
|
|
44
55
|
export * from "./ListFunctionsCommand";
|
|
45
56
|
export * from "./ListLayerVersionsCommand";
|
|
@@ -53,13 +64,19 @@ export * from "./PutFunctionCodeSigningConfigCommand";
|
|
|
53
64
|
export * from "./PutFunctionConcurrencyCommand";
|
|
54
65
|
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
55
66
|
export * from "./PutFunctionRecursionConfigCommand";
|
|
67
|
+
export * from "./PutFunctionScalingConfigCommand";
|
|
56
68
|
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
57
69
|
export * from "./PutRuntimeManagementConfigCommand";
|
|
58
70
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
59
71
|
export * from "./RemovePermissionCommand";
|
|
72
|
+
export * from "./SendDurableExecutionCallbackFailureCommand";
|
|
73
|
+
export * from "./SendDurableExecutionCallbackHeartbeatCommand";
|
|
74
|
+
export * from "./SendDurableExecutionCallbackSuccessCommand";
|
|
75
|
+
export * from "./StopDurableExecutionCommand";
|
|
60
76
|
export * from "./TagResourceCommand";
|
|
61
77
|
export * from "./UntagResourceCommand";
|
|
62
78
|
export * from "./UpdateAliasCommand";
|
|
79
|
+
export * from "./UpdateCapacityProviderCommand";
|
|
63
80
|
export * from "./UpdateCodeSigningConfigCommand";
|
|
64
81
|
export * from "./UpdateEventSourceMappingCommand";
|
|
65
82
|
export * from "./UpdateFunctionCodeCommand";
|
|
@@ -91,6 +91,110 @@ export declare const Architecture: {
|
|
|
91
91
|
* @public
|
|
92
92
|
*/
|
|
93
93
|
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const CapacityProviderScalingMode: {
|
|
99
|
+
readonly Auto: "Auto";
|
|
100
|
+
readonly Manual: "Manual";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export type CapacityProviderScalingMode = (typeof CapacityProviderScalingMode)[keyof typeof CapacityProviderScalingMode];
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* @enum
|
|
109
|
+
*/
|
|
110
|
+
export declare const CapacityProviderPredefinedMetricType: {
|
|
111
|
+
readonly LambdaCapacityProviderAverageCPUUtilization: "LambdaCapacityProviderAverageCPUUtilization";
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export type CapacityProviderPredefinedMetricType = (typeof CapacityProviderPredefinedMetricType)[keyof typeof CapacityProviderPredefinedMetricType];
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
* @enum
|
|
120
|
+
*/
|
|
121
|
+
export declare const CapacityProviderState: {
|
|
122
|
+
readonly Active: "Active";
|
|
123
|
+
readonly Deleting: "Deleting";
|
|
124
|
+
readonly Failed: "Failed";
|
|
125
|
+
readonly Pending: "Pending";
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export type CapacityProviderState = (typeof CapacityProviderState)[keyof typeof CapacityProviderState];
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* @enum
|
|
134
|
+
*/
|
|
135
|
+
export declare const State: {
|
|
136
|
+
readonly Active: "Active";
|
|
137
|
+
readonly ActiveNonInvocable: "ActiveNonInvocable";
|
|
138
|
+
readonly Deactivated: "Deactivated";
|
|
139
|
+
readonly Deactivating: "Deactivating";
|
|
140
|
+
readonly Deleting: "Deleting";
|
|
141
|
+
readonly Failed: "Failed";
|
|
142
|
+
readonly Inactive: "Inactive";
|
|
143
|
+
readonly Pending: "Pending";
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export type State = (typeof State)[keyof typeof State];
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* @enum
|
|
152
|
+
*/
|
|
153
|
+
export declare const OperationAction: {
|
|
154
|
+
readonly CANCEL: "CANCEL";
|
|
155
|
+
readonly FAIL: "FAIL";
|
|
156
|
+
readonly RETRY: "RETRY";
|
|
157
|
+
readonly START: "START";
|
|
158
|
+
readonly SUCCEED: "SUCCEED";
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
export type OperationAction = (typeof OperationAction)[keyof typeof OperationAction];
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
* @enum
|
|
167
|
+
*/
|
|
168
|
+
export declare const OperationType: {
|
|
169
|
+
readonly CALLBACK: "CALLBACK";
|
|
170
|
+
readonly CHAINED_INVOKE: "CHAINED_INVOKE";
|
|
171
|
+
readonly CONTEXT: "CONTEXT";
|
|
172
|
+
readonly EXECUTION: "EXECUTION";
|
|
173
|
+
readonly STEP: "STEP";
|
|
174
|
+
readonly WAIT: "WAIT";
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* @enum
|
|
183
|
+
*/
|
|
184
|
+
export declare const OperationStatus: {
|
|
185
|
+
readonly CANCELLED: "CANCELLED";
|
|
186
|
+
readonly FAILED: "FAILED";
|
|
187
|
+
readonly PENDING: "PENDING";
|
|
188
|
+
readonly READY: "READY";
|
|
189
|
+
readonly STARTED: "STARTED";
|
|
190
|
+
readonly STOPPED: "STOPPED";
|
|
191
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
192
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
|
|
94
198
|
/**
|
|
95
199
|
* @public
|
|
96
200
|
* @enum
|
|
@@ -216,6 +320,17 @@ export declare const PackageType: {
|
|
|
216
320
|
* @public
|
|
217
321
|
*/
|
|
218
322
|
export type PackageType = (typeof PackageType)[keyof typeof PackageType];
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
* @enum
|
|
326
|
+
*/
|
|
327
|
+
export declare const FunctionVersionLatestPublished: {
|
|
328
|
+
readonly LATEST_PUBLISHED: "LATEST_PUBLISHED";
|
|
329
|
+
};
|
|
330
|
+
/**
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
export type FunctionVersionLatestPublished = (typeof FunctionVersionLatestPublished)[keyof typeof FunctionVersionLatestPublished];
|
|
219
334
|
/**
|
|
220
335
|
* @public
|
|
221
336
|
* @enum
|
|
@@ -323,15 +438,26 @@ export type LastUpdateStatus = (typeof LastUpdateStatus)[keyof typeof LastUpdate
|
|
|
323
438
|
* @enum
|
|
324
439
|
*/
|
|
325
440
|
export declare const LastUpdateStatusReasonCode: {
|
|
441
|
+
readonly CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded";
|
|
326
442
|
readonly DisabledKMSKey: "DisabledKMSKey";
|
|
443
|
+
readonly EC2RequestLimitExceeded: "EC2RequestLimitExceeded";
|
|
327
444
|
readonly EFSIOError: "EFSIOError";
|
|
328
445
|
readonly EFSMountConnectivityError: "EFSMountConnectivityError";
|
|
329
446
|
readonly EFSMountFailure: "EFSMountFailure";
|
|
330
447
|
readonly EFSMountTimeout: "EFSMountTimeout";
|
|
331
448
|
readonly EniLimitExceeded: "EniLimitExceeded";
|
|
332
449
|
readonly FunctionError: "FunctionError";
|
|
450
|
+
readonly FunctionErrorExtensionInitError: "FunctionError.ExtensionInitError";
|
|
451
|
+
readonly FunctionErrorInitResourceExhausted: "FunctionError.InitResourceExhausted";
|
|
452
|
+
readonly FunctionErrorInitTimeout: "FunctionError.InitTimeout";
|
|
453
|
+
readonly FunctionErrorInvalidEntryPoint: "FunctionError.InvalidEntryPoint";
|
|
454
|
+
readonly FunctionErrorInvalidWorkingDirectory: "FunctionError.InvalidWorkingDirectory";
|
|
455
|
+
readonly FunctionErrorPermissionDenied: "FunctionError.PermissionDenied";
|
|
456
|
+
readonly FunctionErrorRuntimeInitError: "FunctionError.RuntimeInitError";
|
|
457
|
+
readonly FunctionErrorTooManyExtensions: "FunctionError.TooManyExtensions";
|
|
333
458
|
readonly ImageAccessDenied: "ImageAccessDenied";
|
|
334
459
|
readonly ImageDeleted: "ImageDeleted";
|
|
460
|
+
readonly InsufficientCapacity: "InsufficientCapacity";
|
|
335
461
|
readonly InsufficientRolePermissions: "InsufficientRolePermissions";
|
|
336
462
|
readonly InternalError: "InternalError";
|
|
337
463
|
readonly InvalidConfiguration: "InvalidConfiguration";
|
|
@@ -344,6 +470,7 @@ export declare const LastUpdateStatusReasonCode: {
|
|
|
344
470
|
readonly KMSKeyAccessDenied: "KMSKeyAccessDenied";
|
|
345
471
|
readonly KMSKeyNotFound: "KMSKeyNotFound";
|
|
346
472
|
readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
|
|
473
|
+
readonly VcpuLimitExceeded: "VcpuLimitExceeded";
|
|
347
474
|
};
|
|
348
475
|
/**
|
|
349
476
|
* @public
|
|
@@ -361,36 +488,34 @@ export declare const SnapStartOptimizationStatus: {
|
|
|
361
488
|
* @public
|
|
362
489
|
*/
|
|
363
490
|
export type SnapStartOptimizationStatus = (typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus];
|
|
364
|
-
/**
|
|
365
|
-
* @public
|
|
366
|
-
* @enum
|
|
367
|
-
*/
|
|
368
|
-
export declare const State: {
|
|
369
|
-
readonly Active: "Active";
|
|
370
|
-
readonly Failed: "Failed";
|
|
371
|
-
readonly Inactive: "Inactive";
|
|
372
|
-
readonly Pending: "Pending";
|
|
373
|
-
};
|
|
374
|
-
/**
|
|
375
|
-
* @public
|
|
376
|
-
*/
|
|
377
|
-
export type State = (typeof State)[keyof typeof State];
|
|
378
491
|
/**
|
|
379
492
|
* @public
|
|
380
493
|
* @enum
|
|
381
494
|
*/
|
|
382
495
|
export declare const StateReasonCode: {
|
|
496
|
+
readonly CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded";
|
|
383
497
|
readonly Creating: "Creating";
|
|
384
498
|
readonly DisabledKMSKey: "DisabledKMSKey";
|
|
499
|
+
readonly DrainingDurableExecutions: "DrainingDurableExecutions";
|
|
500
|
+
readonly EC2RequestLimitExceeded: "EC2RequestLimitExceeded";
|
|
385
501
|
readonly EFSIOError: "EFSIOError";
|
|
386
502
|
readonly EFSMountConnectivityError: "EFSMountConnectivityError";
|
|
387
503
|
readonly EFSMountFailure: "EFSMountFailure";
|
|
388
504
|
readonly EFSMountTimeout: "EFSMountTimeout";
|
|
389
505
|
readonly EniLimitExceeded: "EniLimitExceeded";
|
|
390
506
|
readonly FunctionError: "FunctionError";
|
|
507
|
+
readonly FunctionErrorExtensionInitError: "FunctionError.ExtensionInitError";
|
|
508
|
+
readonly FunctionErrorInitResourceExhausted: "FunctionError.InitResourceExhausted";
|
|
509
|
+
readonly FunctionErrorInitTimeout: "FunctionError.InitTimeout";
|
|
510
|
+
readonly FunctionErrorInvalidEntryPoint: "FunctionError.InvalidEntryPoint";
|
|
511
|
+
readonly FunctionErrorInvalidWorkingDirectory: "FunctionError.InvalidWorkingDirectory";
|
|
512
|
+
readonly FunctionErrorPermissionDenied: "FunctionError.PermissionDenied";
|
|
513
|
+
readonly FunctionErrorRuntimeInitError: "FunctionError.RuntimeInitError";
|
|
514
|
+
readonly FunctionErrorTooManyExtensions: "FunctionError.TooManyExtensions";
|
|
391
515
|
readonly Idle: "Idle";
|
|
392
516
|
readonly ImageAccessDenied: "ImageAccessDenied";
|
|
393
517
|
readonly ImageDeleted: "ImageDeleted";
|
|
518
|
+
readonly InsufficientCapacity: "InsufficientCapacity";
|
|
394
519
|
readonly InsufficientRolePermissions: "InsufficientRolePermissions";
|
|
395
520
|
readonly InternalError: "InternalError";
|
|
396
521
|
readonly InvalidConfiguration: "InvalidConfiguration";
|
|
@@ -404,6 +529,7 @@ export declare const StateReasonCode: {
|
|
|
404
529
|
readonly KMSKeyNotFound: "KMSKeyNotFound";
|
|
405
530
|
readonly Restoring: "Restoring";
|
|
406
531
|
readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
|
|
532
|
+
readonly VcpuLimitExceeded: "VcpuLimitExceeded";
|
|
407
533
|
};
|
|
408
534
|
/**
|
|
409
535
|
* @public
|
|
@@ -507,3 +633,52 @@ export declare const ProvisionedConcurrencyStatusEnum: {
|
|
|
507
633
|
* @public
|
|
508
634
|
*/
|
|
509
635
|
export type ProvisionedConcurrencyStatusEnum = (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum];
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
* @enum
|
|
639
|
+
*/
|
|
640
|
+
export declare const ExecutionStatus: {
|
|
641
|
+
readonly FAILED: "FAILED";
|
|
642
|
+
readonly RUNNING: "RUNNING";
|
|
643
|
+
readonly STOPPED: "STOPPED";
|
|
644
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
645
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
646
|
+
};
|
|
647
|
+
/**
|
|
648
|
+
* @public
|
|
649
|
+
*/
|
|
650
|
+
export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
651
|
+
/**
|
|
652
|
+
* @public
|
|
653
|
+
* @enum
|
|
654
|
+
*/
|
|
655
|
+
export declare const EventType: {
|
|
656
|
+
readonly CallbackFailed: "CallbackFailed";
|
|
657
|
+
readonly CallbackStarted: "CallbackStarted";
|
|
658
|
+
readonly CallbackSucceeded: "CallbackSucceeded";
|
|
659
|
+
readonly CallbackTimedOut: "CallbackTimedOut";
|
|
660
|
+
readonly ChainedInvokeFailed: "ChainedInvokeFailed";
|
|
661
|
+
readonly ChainedInvokeStarted: "ChainedInvokeStarted";
|
|
662
|
+
readonly ChainedInvokeStopped: "ChainedInvokeStopped";
|
|
663
|
+
readonly ChainedInvokeSucceeded: "ChainedInvokeSucceeded";
|
|
664
|
+
readonly ChainedInvokeTimedOut: "ChainedInvokeTimedOut";
|
|
665
|
+
readonly ContextFailed: "ContextFailed";
|
|
666
|
+
readonly ContextStarted: "ContextStarted";
|
|
667
|
+
readonly ContextSucceeded: "ContextSucceeded";
|
|
668
|
+
readonly ExecutionFailed: "ExecutionFailed";
|
|
669
|
+
readonly ExecutionStarted: "ExecutionStarted";
|
|
670
|
+
readonly ExecutionStopped: "ExecutionStopped";
|
|
671
|
+
readonly ExecutionSucceeded: "ExecutionSucceeded";
|
|
672
|
+
readonly ExecutionTimedOut: "ExecutionTimedOut";
|
|
673
|
+
readonly InvocationCompleted: "InvocationCompleted";
|
|
674
|
+
readonly StepFailed: "StepFailed";
|
|
675
|
+
readonly StepStarted: "StepStarted";
|
|
676
|
+
readonly StepSucceeded: "StepSucceeded";
|
|
677
|
+
readonly WaitCancelled: "WaitCancelled";
|
|
678
|
+
readonly WaitStarted: "WaitStarted";
|
|
679
|
+
readonly WaitSucceeded: "WaitSucceeded";
|
|
680
|
+
};
|
|
681
|
+
/**
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
export type EventType = (typeof EventType)[keyof typeof EventType];
|
|
@@ -112,6 +112,23 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
112
112
|
*/
|
|
113
113
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
114
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* <p>The maximum number of capacity providers for your account has been exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a> </p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class CapacityProviderLimitExceededException extends __BaseException {
|
|
120
|
+
readonly name: "CapacityProviderLimitExceededException";
|
|
121
|
+
readonly $fault: "client";
|
|
122
|
+
/**
|
|
123
|
+
* <p>The exception type.</p>
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
Type?: string | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
constructor(opts: __ExceptionOptionType<CapacityProviderLimitExceededException, __BaseException>);
|
|
131
|
+
}
|
|
115
132
|
/**
|
|
116
133
|
* <p>The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.</p>
|
|
117
134
|
* @public
|
|
@@ -171,6 +188,23 @@ export declare class CodeVerificationFailedException extends __BaseException {
|
|
|
171
188
|
*/
|
|
172
189
|
constructor(opts: __ExceptionOptionType<CodeVerificationFailedException, __BaseException>);
|
|
173
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* <p>The maximum number of function versions that can be associated with a single capacity provider has been exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export declare class FunctionVersionsPerCapacityProviderLimitExceededException extends __BaseException {
|
|
196
|
+
readonly name: "FunctionVersionsPerCapacityProviderLimitExceededException";
|
|
197
|
+
readonly $fault: "client";
|
|
198
|
+
/**
|
|
199
|
+
* <p>The exception type.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
Type?: string | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* @internal
|
|
205
|
+
*/
|
|
206
|
+
constructor(opts: __ExceptionOptionType<FunctionVersionsPerCapacityProviderLimitExceededException, __BaseException>);
|
|
207
|
+
}
|
|
174
208
|
/**
|
|
175
209
|
* <p>The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.</p>
|
|
176
210
|
* @public
|
|
@@ -185,6 +219,24 @@ export declare class InvalidCodeSignatureException extends __BaseException {
|
|
|
185
219
|
*/
|
|
186
220
|
constructor(opts: __ExceptionOptionType<InvalidCodeSignatureException, __BaseException>);
|
|
187
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* <p>The durable execution with the specified name has already been started. Each durable execution name must be unique within the function. Use a different name or check the status of the existing execution.</p>
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export declare class DurableExecutionAlreadyStartedException extends __BaseException {
|
|
227
|
+
readonly name: "DurableExecutionAlreadyStartedException";
|
|
228
|
+
readonly $fault: "client";
|
|
229
|
+
/**
|
|
230
|
+
* <p>The exception type.</p>
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
Type?: string | undefined;
|
|
234
|
+
Message?: string | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* @internal
|
|
237
|
+
*/
|
|
238
|
+
constructor(opts: __ExceptionOptionType<DurableExecutionAlreadyStartedException, __BaseException>);
|
|
239
|
+
}
|
|
188
240
|
/**
|
|
189
241
|
* <p>Need additional permissions to configure VPC settings.</p>
|
|
190
242
|
* @public
|
|
@@ -427,6 +479,24 @@ export declare class KMSNotFoundException extends __BaseException {
|
|
|
427
479
|
*/
|
|
428
480
|
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
429
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
* <p>The function has no published versions available.</p>
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
export declare class NoPublishedVersionException extends __BaseException {
|
|
487
|
+
readonly name: "NoPublishedVersionException";
|
|
488
|
+
readonly $fault: "client";
|
|
489
|
+
/**
|
|
490
|
+
* <p>The exception type.</p>
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
Type?: string | undefined;
|
|
494
|
+
Message?: string | undefined;
|
|
495
|
+
/**
|
|
496
|
+
* @internal
|
|
497
|
+
*/
|
|
498
|
+
constructor(opts: __ExceptionOptionType<NoPublishedVersionException, __BaseException>);
|
|
499
|
+
}
|
|
430
500
|
/**
|
|
431
501
|
* <p>Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.</p>
|
|
432
502
|
* @public
|
|
@@ -480,7 +550,7 @@ export declare class ResourceNotReadyException extends __BaseException {
|
|
|
480
550
|
constructor(opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>);
|
|
481
551
|
}
|
|
482
552
|
/**
|
|
483
|
-
* <p>The
|
|
553
|
+
* <p>The request payload exceeded the maximum allowed size for serialized request entities.</p>
|
|
484
554
|
* @public
|
|
485
555
|
*/
|
|
486
556
|
export declare class SerializedRequestEntityTooLargeException extends __BaseException {
|
|
@@ -578,3 +648,21 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
|
|
|
578
648
|
*/
|
|
579
649
|
constructor(opts: __ExceptionOptionType<ProvisionedConcurrencyConfigNotFoundException, __BaseException>);
|
|
580
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
* <p>The callback ID token has either expired or the callback associated with the token has already been closed.</p>
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
export declare class CallbackTimeoutException extends __BaseException {
|
|
656
|
+
readonly name: "CallbackTimeoutException";
|
|
657
|
+
readonly $fault: "client";
|
|
658
|
+
/**
|
|
659
|
+
* <p>The exception type.</p>
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
Type?: string | undefined;
|
|
663
|
+
Message?: string | undefined;
|
|
664
|
+
/**
|
|
665
|
+
* @internal
|
|
666
|
+
*/
|
|
667
|
+
constructor(opts: __ExceptionOptionType<CallbackTimeoutException, __BaseException>);
|
|
668
|
+
}
|