@aws-sdk/client-lambda 3.942.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 +72 -0
- package/dist-cjs/index.js +1037 -83
- package/dist-es/Lambda.js +18 -0
- package/dist-es/commands/CheckpointDurableExecutionCommand.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/ListDurableExecutionsByFunctionCommand.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/index.js +9 -0
- package/dist-es/models/enums.js +59 -0
- package/dist-es/models/errors.js +32 -0
- package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
- package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
- package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +806 -84
- package/dist-types/Lambda.d.ts +63 -0
- package/dist-types/LambdaClient.d.ts +11 -2
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +17 -1
- 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 +9 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +9 -1
- package/dist-types/commands/InvokeCommand.d.ts +7 -0
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +9 -1
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +13 -1
- package/dist-types/commands/PublishVersionCommand.d.ts +5 -1
- 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/UpdateFunctionCodeCommand.d.ts +5 -1
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +17 -1
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +99 -0
- package/dist-types/models/errors.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +1510 -173
- package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
- package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +90 -0
- package/dist-types/ts3.4/Lambda.d.ts +171 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.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/ListDurableExecutionsByFunctionCommand.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/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +67 -0
- package/dist-types/ts3.4/models/errors.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +322 -0
- 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/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -0
- package/package.json +5 -5
|
@@ -98,7 +98,7 @@ declare const ListFunctionsCommand_base: {
|
|
|
98
98
|
* // ],
|
|
99
99
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
100
100
|
* // StateReason: "STRING_VALUE",
|
|
101
|
-
* // 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" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
101
|
+
* // 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",
|
|
102
102
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
103
103
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
104
104
|
* // 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,6 +157,10 @@ declare const ListFunctionsCommand_base: {
|
|
|
157
157
|
* // },
|
|
158
158
|
* // },
|
|
159
159
|
* // ConfigSha256: "STRING_VALUE",
|
|
160
|
+
* // DurableConfig: { // DurableConfig
|
|
161
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
162
|
+
* // ExecutionTimeout: Number("int"),
|
|
163
|
+
* // },
|
|
160
164
|
* // TenancyConfig: { // TenancyConfig
|
|
161
165
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
162
166
|
* // },
|
|
@@ -216,6 +220,10 @@ declare const ListFunctionsCommand_base: {
|
|
|
216
220
|
* CodeSha256: "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",
|
|
217
221
|
* CodeSize: 266,
|
|
218
222
|
* Description: "",
|
|
223
|
+
* DurableConfig: {
|
|
224
|
+
* ExecutionTimeout: 31622400,
|
|
225
|
+
* RetentionPeriodInDays: 30
|
|
226
|
+
* },
|
|
219
227
|
* FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
|
220
228
|
* FunctionName: "my-function",
|
|
221
229
|
* Handler: "index.handler",
|
|
@@ -97,7 +97,7 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
97
97
|
* // ],
|
|
98
98
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
99
99
|
* // StateReason: "STRING_VALUE",
|
|
100
|
-
* // 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" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
100
|
+
* // 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",
|
|
101
101
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
102
102
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
103
103
|
* // 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",
|
|
@@ -156,6 +156,10 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
156
156
|
* // },
|
|
157
157
|
* // },
|
|
158
158
|
* // ConfigSha256: "STRING_VALUE",
|
|
159
|
+
* // DurableConfig: { // DurableConfig
|
|
160
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
161
|
+
* // ExecutionTimeout: Number("int"),
|
|
162
|
+
* // },
|
|
159
163
|
* // TenancyConfig: { // TenancyConfig
|
|
160
164
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
161
165
|
* // },
|
|
@@ -202,6 +206,10 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
202
206
|
* CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
|
|
203
207
|
* CodeSize: 5797206,
|
|
204
208
|
* Description: "Process image objects from Amazon S3.",
|
|
209
|
+
* DurableConfig: {
|
|
210
|
+
* ExecutionTimeout: 31622400,
|
|
211
|
+
* RetentionPeriodInDays: 30
|
|
212
|
+
* },
|
|
205
213
|
* Environment: {
|
|
206
214
|
* Variables: {
|
|
207
215
|
* BUCKET: "my-bucket-1xpuxmplzrlbh",
|
|
@@ -227,6 +235,10 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
227
235
|
* CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
|
|
228
236
|
* CodeSize: 5797206,
|
|
229
237
|
* Description: "Process image objects from Amazon S3.",
|
|
238
|
+
* DurableConfig: {
|
|
239
|
+
* ExecutionTimeout: 31622400,
|
|
240
|
+
* RetentionPeriodInDays: 30
|
|
241
|
+
* },
|
|
230
242
|
* Environment: {
|
|
231
243
|
* Variables: {
|
|
232
244
|
* BUCKET: "my-bucket-1xpuxmplzrlbh",
|
|
@@ -96,7 +96,7 @@ declare const PublishVersionCommand_base: {
|
|
|
96
96
|
* // ],
|
|
97
97
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
98
98
|
* // StateReason: "STRING_VALUE",
|
|
99
|
-
* // 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" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
99
|
+
* // 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",
|
|
100
100
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
101
101
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
102
102
|
* // 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",
|
|
@@ -155,6 +155,10 @@ declare const PublishVersionCommand_base: {
|
|
|
155
155
|
* // },
|
|
156
156
|
* // },
|
|
157
157
|
* // ConfigSha256: "STRING_VALUE",
|
|
158
|
+
* // DurableConfig: { // DurableConfig
|
|
159
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
160
|
+
* // ExecutionTimeout: Number("int"),
|
|
161
|
+
* // },
|
|
158
162
|
* // TenancyConfig: { // TenancyConfig
|
|
159
163
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
160
164
|
* // },
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { SendDurableExecutionCallbackFailureRequest, SendDurableExecutionCallbackFailureResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendDurableExecutionCallbackFailureCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendDurableExecutionCallbackFailureCommandInput extends SendDurableExecutionCallbackFailureRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendDurableExecutionCallbackFailureCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendDurableExecutionCallbackFailureCommandOutput extends SendDurableExecutionCallbackFailureResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendDurableExecutionCallbackFailureCommand_base: {
|
|
25
|
+
new (input: SendDurableExecutionCallbackFailureCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackFailureCommandInput, SendDurableExecutionCallbackFailureCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendDurableExecutionCallbackFailureCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackFailureCommandInput, SendDurableExecutionCallbackFailureCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation successfully.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, SendDurableExecutionCallbackFailureCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, SendDurableExecutionCallbackFailureCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // SendDurableExecutionCallbackFailureRequest
|
|
40
|
+
* CallbackId: "STRING_VALUE", // required
|
|
41
|
+
* Error: { // ErrorObject
|
|
42
|
+
* ErrorMessage: "STRING_VALUE",
|
|
43
|
+
* ErrorType: "STRING_VALUE",
|
|
44
|
+
* ErrorData: "STRING_VALUE",
|
|
45
|
+
* StackTrace: [ // StackTraceEntries
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new SendDurableExecutionCallbackFailureCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param SendDurableExecutionCallbackFailureCommandInput - {@link SendDurableExecutionCallbackFailureCommandInput}
|
|
57
|
+
* @returns {@link SendDurableExecutionCallbackFailureCommandOutput}
|
|
58
|
+
* @see {@link SendDurableExecutionCallbackFailureCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link SendDurableExecutionCallbackFailureCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link CallbackTimeoutException} (client fault)
|
|
63
|
+
* <p>The callback ID token has either expired or the callback associated with the token has already been closed.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
66
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServiceException} (server fault)
|
|
69
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
72
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link LambdaServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class SendDurableExecutionCallbackFailureCommand extends SendDurableExecutionCallbackFailureCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: SendDurableExecutionCallbackFailureRequest;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: SendDurableExecutionCallbackFailureCommandInput;
|
|
89
|
+
output: SendDurableExecutionCallbackFailureCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { SendDurableExecutionCallbackHeartbeatRequest, SendDurableExecutionCallbackHeartbeatResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SendDurableExecutionCallbackHeartbeatCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendDurableExecutionCallbackHeartbeatCommandInput extends SendDurableExecutionCallbackHeartbeatRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendDurableExecutionCallbackHeartbeatCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendDurableExecutionCallbackHeartbeatCommandOutput extends SendDurableExecutionCallbackHeartbeatResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendDurableExecutionCallbackHeartbeatCommand_base: {
|
|
25
|
+
new (input: SendDurableExecutionCallbackHeartbeatCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackHeartbeatCommandInput, SendDurableExecutionCallbackHeartbeatCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendDurableExecutionCallbackHeartbeatCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackHeartbeatCommandInput, SendDurableExecutionCallbackHeartbeatCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sends a heartbeat signal for a long-running callback operation to prevent timeout. Use this API to extend the callback timeout period while the external operation is still in progress.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, SendDurableExecutionCallbackHeartbeatCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, SendDurableExecutionCallbackHeartbeatCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // SendDurableExecutionCallbackHeartbeatRequest
|
|
40
|
+
* CallbackId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new SendDurableExecutionCallbackHeartbeatCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param SendDurableExecutionCallbackHeartbeatCommandInput - {@link SendDurableExecutionCallbackHeartbeatCommandInput}
|
|
49
|
+
* @returns {@link SendDurableExecutionCallbackHeartbeatCommandOutput}
|
|
50
|
+
* @see {@link SendDurableExecutionCallbackHeartbeatCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link SendDurableExecutionCallbackHeartbeatCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link CallbackTimeoutException} (client fault)
|
|
55
|
+
* <p>The callback ID token has either expired or the callback associated with the token has already been closed.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
58
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ServiceException} (server fault)
|
|
61
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
64
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link LambdaServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class SendDurableExecutionCallbackHeartbeatCommand extends SendDurableExecutionCallbackHeartbeatCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: SendDurableExecutionCallbackHeartbeatRequest;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: SendDurableExecutionCallbackHeartbeatCommandInput;
|
|
81
|
+
output: SendDurableExecutionCallbackHeartbeatCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { SendDurableExecutionCallbackSuccessRequest, SendDurableExecutionCallbackSuccessResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type SendDurableExecutionCallbackSuccessCommandInputType = Omit<SendDurableExecutionCallbackSuccessRequest, "Result"> & {
|
|
14
|
+
Result?: BlobPayloadInputTypes;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The input for {@link SendDurableExecutionCallbackSuccessCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface SendDurableExecutionCallbackSuccessCommandInput extends SendDurableExecutionCallbackSuccessCommandInputType {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* The output of {@link SendDurableExecutionCallbackSuccessCommand}.
|
|
27
|
+
*/
|
|
28
|
+
export interface SendDurableExecutionCallbackSuccessCommandOutput extends SendDurableExecutionCallbackSuccessResponse, __MetadataBearer {
|
|
29
|
+
}
|
|
30
|
+
declare const SendDurableExecutionCallbackSuccessCommand_base: {
|
|
31
|
+
new (input: SendDurableExecutionCallbackSuccessCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackSuccessCommandInput, SendDurableExecutionCallbackSuccessCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
32
|
+
new (input: SendDurableExecutionCallbackSuccessCommandInput): import("@smithy/smithy-client").CommandImpl<SendDurableExecutionCallbackSuccessCommandInput, SendDurableExecutionCallbackSuccessCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
33
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* <p>Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { LambdaClient, SendDurableExecutionCallbackSuccessCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
41
|
+
* // const { LambdaClient, SendDurableExecutionCallbackSuccessCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
42
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
43
|
+
* const config = {}; // type is LambdaClientConfig
|
|
44
|
+
* const client = new LambdaClient(config);
|
|
45
|
+
* const input = { // SendDurableExecutionCallbackSuccessRequest
|
|
46
|
+
* CallbackId: "STRING_VALUE", // required
|
|
47
|
+
* Result: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
48
|
+
* };
|
|
49
|
+
* const command = new SendDurableExecutionCallbackSuccessCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // {};
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param SendDurableExecutionCallbackSuccessCommandInput - {@link SendDurableExecutionCallbackSuccessCommandInput}
|
|
56
|
+
* @returns {@link SendDurableExecutionCallbackSuccessCommandOutput}
|
|
57
|
+
* @see {@link SendDurableExecutionCallbackSuccessCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link SendDurableExecutionCallbackSuccessCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link CallbackTimeoutException} (client fault)
|
|
62
|
+
* <p>The callback ID token has either expired or the callback associated with the token has already been closed.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
65
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceException} (server fault)
|
|
68
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
71
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link LambdaServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class SendDurableExecutionCallbackSuccessCommand extends SendDurableExecutionCallbackSuccessCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: SendDurableExecutionCallbackSuccessRequest;
|
|
84
|
+
output: {};
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: SendDurableExecutionCallbackSuccessCommandInput;
|
|
88
|
+
output: SendDurableExecutionCallbackSuccessCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { StopDurableExecutionRequest, StopDurableExecutionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StopDurableExecutionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopDurableExecutionCommandInput extends StopDurableExecutionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopDurableExecutionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopDurableExecutionCommandOutput extends StopDurableExecutionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopDurableExecutionCommand_base: {
|
|
25
|
+
new (input: StopDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<StopDurableExecutionCommandInput, StopDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StopDurableExecutionCommandInput): import("@smithy/smithy-client").CommandImpl<StopDurableExecutionCommandInput, StopDurableExecutionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Stops a running <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable execution</a>. The execution transitions to STOPPED status and cannot be resumed. Any in-progress operations are terminated.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, StopDurableExecutionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, StopDurableExecutionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // StopDurableExecutionRequest
|
|
40
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
41
|
+
* Error: { // ErrorObject
|
|
42
|
+
* ErrorMessage: "STRING_VALUE",
|
|
43
|
+
* ErrorType: "STRING_VALUE",
|
|
44
|
+
* ErrorData: "STRING_VALUE",
|
|
45
|
+
* StackTrace: [ // StackTraceEntries
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new StopDurableExecutionCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // StopDurableExecutionResponse
|
|
53
|
+
* // StopTimestamp: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param StopDurableExecutionCommandInput - {@link StopDurableExecutionCommandInput}
|
|
59
|
+
* @returns {@link StopDurableExecutionCommandOutput}
|
|
60
|
+
* @see {@link StopDurableExecutionCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link StopDurableExecutionCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
65
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceException} (server fault)
|
|
71
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
74
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link LambdaServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class StopDurableExecutionCommand extends StopDurableExecutionCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: StopDurableExecutionRequest;
|
|
87
|
+
output: StopDurableExecutionResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: StopDurableExecutionCommandInput;
|
|
91
|
+
output: StopDurableExecutionCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -105,7 +105,7 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
105
105
|
* // ],
|
|
106
106
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
107
107
|
* // StateReason: "STRING_VALUE",
|
|
108
|
-
* // 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" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
108
|
+
* // 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",
|
|
109
109
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
110
110
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
111
111
|
* // 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",
|
|
@@ -164,6 +164,10 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
164
164
|
* // },
|
|
165
165
|
* // },
|
|
166
166
|
* // ConfigSha256: "STRING_VALUE",
|
|
167
|
+
* // DurableConfig: { // DurableConfig
|
|
168
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
169
|
+
* // ExecutionTimeout: Number("int"),
|
|
170
|
+
* // },
|
|
167
171
|
* // TenancyConfig: { // TenancyConfig
|
|
168
172
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
169
173
|
* // },
|
|
@@ -103,6 +103,10 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
103
103
|
* ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
104
104
|
* },
|
|
105
105
|
* },
|
|
106
|
+
* DurableConfig: { // DurableConfig
|
|
107
|
+
* RetentionPeriodInDays: Number("int"),
|
|
108
|
+
* ExecutionTimeout: Number("int"),
|
|
109
|
+
* },
|
|
106
110
|
* };
|
|
107
111
|
* const command = new UpdateFunctionConfigurationCommand(input);
|
|
108
112
|
* const response = await client.send(command);
|
|
@@ -157,7 +161,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
157
161
|
* // ],
|
|
158
162
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
159
163
|
* // StateReason: "STRING_VALUE",
|
|
160
|
-
* // 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" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
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",
|
|
161
165
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
162
166
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
163
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",
|
|
@@ -216,6 +220,10 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
216
220
|
* // },
|
|
217
221
|
* // },
|
|
218
222
|
* // ConfigSha256: "STRING_VALUE",
|
|
223
|
+
* // DurableConfig: { // DurableConfig
|
|
224
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
225
|
+
* // ExecutionTimeout: Number("int"),
|
|
226
|
+
* // },
|
|
219
227
|
* // TenancyConfig: { // TenancyConfig
|
|
220
228
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
221
229
|
* // },
|
|
@@ -264,6 +272,10 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
264
272
|
* ```javascript
|
|
265
273
|
* // The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named my-function.
|
|
266
274
|
* const input = {
|
|
275
|
+
* DurableConfig: {
|
|
276
|
+
* ExecutionTimeout: 3600,
|
|
277
|
+
* RetentionPeriodInDays: 45
|
|
278
|
+
* },
|
|
267
279
|
* FunctionName: "my-function",
|
|
268
280
|
* MemorySize: 256
|
|
269
281
|
* };
|
|
@@ -274,6 +286,10 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
274
286
|
* CodeSha256: "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
|
|
275
287
|
* CodeSize: 308,
|
|
276
288
|
* Description: "",
|
|
289
|
+
* DurableConfig: {
|
|
290
|
+
* ExecutionTimeout: 3600,
|
|
291
|
+
* RetentionPeriodInDays: 45
|
|
292
|
+
* },
|
|
277
293
|
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
|
278
294
|
* FunctionName: "my-function",
|
|
279
295
|
* Handler: "index.handler",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AddLayerVersionPermissionCommand";
|
|
2
2
|
export * from "./AddPermissionCommand";
|
|
3
|
+
export * from "./CheckpointDurableExecutionCommand";
|
|
3
4
|
export * from "./CreateAliasCommand";
|
|
4
5
|
export * from "./CreateCapacityProviderCommand";
|
|
5
6
|
export * from "./CreateCodeSigningConfigCommand";
|
|
@@ -21,6 +22,9 @@ export * from "./GetAccountSettingsCommand";
|
|
|
21
22
|
export * from "./GetAliasCommand";
|
|
22
23
|
export * from "./GetCapacityProviderCommand";
|
|
23
24
|
export * from "./GetCodeSigningConfigCommand";
|
|
25
|
+
export * from "./GetDurableExecutionCommand";
|
|
26
|
+
export * from "./GetDurableExecutionHistoryCommand";
|
|
27
|
+
export * from "./GetDurableExecutionStateCommand";
|
|
24
28
|
export * from "./GetEventSourceMappingCommand";
|
|
25
29
|
export * from "./GetFunctionCodeSigningConfigCommand";
|
|
26
30
|
export * from "./GetFunctionCommand";
|
|
@@ -42,6 +46,7 @@ export * from "./InvokeWithResponseStreamCommand";
|
|
|
42
46
|
export * from "./ListAliasesCommand";
|
|
43
47
|
export * from "./ListCapacityProvidersCommand";
|
|
44
48
|
export * from "./ListCodeSigningConfigsCommand";
|
|
49
|
+
export * from "./ListDurableExecutionsByFunctionCommand";
|
|
45
50
|
export * from "./ListEventSourceMappingsCommand";
|
|
46
51
|
export * from "./ListFunctionEventInvokeConfigsCommand";
|
|
47
52
|
export * from "./ListFunctionUrlConfigsCommand";
|
|
@@ -64,6 +69,10 @@ export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
|
64
69
|
export * from "./PutRuntimeManagementConfigCommand";
|
|
65
70
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
66
71
|
export * from "./RemovePermissionCommand";
|
|
72
|
+
export * from "./SendDurableExecutionCallbackFailureCommand";
|
|
73
|
+
export * from "./SendDurableExecutionCallbackHeartbeatCommand";
|
|
74
|
+
export * from "./SendDurableExecutionCallbackSuccessCommand";
|
|
75
|
+
export * from "./StopDurableExecutionCommand";
|
|
67
76
|
export * from "./TagResourceCommand";
|
|
68
77
|
export * from "./UntagResourceCommand";
|
|
69
78
|
export * from "./UpdateAliasCommand";
|