@aws-sdk/client-lambda 3.1169.0 → 3.1171.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 +21 -0
- package/dist-cjs/index.js +157 -15
- package/dist-es/Lambda.js +6 -0
- package/dist-es/commands/DeleteDurableExecutionCommand.js +4 -0
- package/dist-es/commands/PauseDurableExecutionCommand.js +4 -0
- package/dist-es/commands/ResumeDurableExecutionCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +17 -0
- package/dist-es/schemas/schemas_0.js +108 -14
- package/dist-types/Lambda.d.ts +21 -0
- package/dist-types/LambdaClient.d.ts +5 -2
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +2 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +8 -2
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDurableExecutionCommand.d.ts +86 -0
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +1 -1
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +7 -1
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +16 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +5 -2
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +5 -2
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +2 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +5 -2
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +5 -2
- package/dist-types/commands/PauseDurableExecutionCommand.d.ts +99 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +5 -2
- package/dist-types/commands/ResumeDurableExecutionCommand.d.ts +98 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +5 -2
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +8 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +16 -0
- package/dist-types/models/models_0.d.ts +219 -8
- package/dist-types/schemas/schemas_0.d.ts +15 -0
- package/dist-types/ts3.4/Lambda.d.ts +51 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteDurableExecutionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PauseDurableExecutionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ResumeDurableExecutionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +16 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteDurableExecutionRequest, DeleteDurableExecutionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteDurableExecutionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteDurableExecutionCommandInput extends DeleteDurableExecutionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteDurableExecutionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteDurableExecutionCommandOutput extends DeleteDurableExecutionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteDurableExecutionCommand_base: {
|
|
22
|
+
new (input: DeleteDurableExecutionCommandInput): import("@smithy/core/client").CommandImpl<DeleteDurableExecutionCommandInput, DeleteDurableExecutionCommandOutput, import("..").LambdaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteDurableExecutionCommandInput): import("@smithy/core/client").CommandImpl<DeleteDurableExecutionCommandInput, DeleteDurableExecutionCommandOutput, import("..").LambdaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a completed Lambda <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable execution</a> and its data. The execution must be in a terminal state (<code>SUCCEEDED</code>, <code>FAILED</code>, <code>STOPPED</code>, or <code>TIMED_OUT</code>). Otherwise, this operation returns a <code>ResourceConflictException</code>.</p> <p>The execution has <code>DELETING</code> status until the deletion finishes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-delete.html">Deleting durable executions</a>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaClient, DeleteDurableExecutionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
+
* // const { LambdaClient, DeleteDurableExecutionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
34
|
+
* const config = {}; // type is LambdaClientConfig
|
|
35
|
+
* const client = new LambdaClient(config);
|
|
36
|
+
* const input = { // DeleteDurableExecutionRequest
|
|
37
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteDurableExecutionCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DeleteDurableExecutionResponse
|
|
42
|
+
* // DeletionRequestTimestamp: new Date("TIMESTAMP"), // required
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteDurableExecutionCommandInput - {@link DeleteDurableExecutionCommandInput}
|
|
48
|
+
* @returns {@link DeleteDurableExecutionCommandOutput}
|
|
49
|
+
* @see {@link DeleteDurableExecutionCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteDurableExecutionCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
54
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
57
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ServiceException} (server fault)
|
|
63
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
66
|
+
* <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>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link LambdaServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class DeleteDurableExecutionCommand extends DeleteDurableExecutionCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: DeleteDurableExecutionRequest;
|
|
79
|
+
output: DeleteDurableExecutionResponse;
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: DeleteDurableExecutionCommandInput;
|
|
83
|
+
output: DeleteDurableExecutionCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -69,7 +69,7 @@ declare const GetCapacityProviderCommand_base: {
|
|
|
69
69
|
* // ScalingMode: "Auto" || "Manual",
|
|
70
70
|
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
71
71
|
* // { // TargetTrackingScalingPolicy
|
|
72
|
-
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
72
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization" || "LambdaCapacityProviderAverageGPUUtilization", // required
|
|
73
73
|
* // TargetValue: Number("double"), // required
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|
|
@@ -54,7 +54,7 @@ declare const GetDurableExecutionCommand_base: {
|
|
|
54
54
|
* // ],
|
|
55
55
|
* // },
|
|
56
56
|
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
57
|
-
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED", // required
|
|
57
|
+
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED" || "DELETING" || "PAUSING" || "PAUSED", // required
|
|
58
58
|
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
59
59
|
* // Version: "STRING_VALUE",
|
|
60
60
|
* // TraceHeader: { // TraceHeader
|
|
@@ -66,6 +66,12 @@ declare const GetDurableExecutionCommand_base: {
|
|
|
66
66
|
* // RetentionPeriodInDays: Number("int"),
|
|
67
67
|
* // ExecutionTimeout: Number("int"),
|
|
68
68
|
* // },
|
|
69
|
+
* // PauseDetails: { // PauseDetails
|
|
70
|
+
* // PauseRequestTimestamp: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // Reason: "STRING_VALUE",
|
|
72
|
+
* // ExecutionTimeoutPaused: true || false, // required
|
|
73
|
+
* // },
|
|
74
|
+
* // ExpectedExecutionTimeoutTimestamp: new Date("TIMESTAMP"),
|
|
69
75
|
* // };
|
|
70
76
|
*
|
|
71
77
|
* ```
|
|
@@ -45,7 +45,7 @@ declare const GetDurableExecutionHistoryCommand_base: {
|
|
|
45
45
|
* // { // GetDurableExecutionHistoryResponse
|
|
46
46
|
* // Events: [ // Events // required
|
|
47
47
|
* // { // Event
|
|
48
|
-
* // EventType: "ExecutionStarted" || "ExecutionSucceeded" || "ExecutionFailed" || "ExecutionTimedOut" || "ExecutionStopped" || "ContextStarted" || "ContextSucceeded" || "ContextFailed" || "WaitStarted" || "WaitSucceeded" || "WaitCancelled" || "StepStarted" || "StepSucceeded" || "StepFailed" || "ChainedInvokeStarted" || "ChainedInvokeSucceeded" || "ChainedInvokeFailed" || "ChainedInvokeTimedOut" || "ChainedInvokeStopped" || "CallbackStarted" || "CallbackSucceeded" || "CallbackFailed" || "CallbackTimedOut" || "InvocationCompleted",
|
|
48
|
+
* // EventType: "ExecutionStarted" || "ExecutionSucceeded" || "ExecutionFailed" || "ExecutionTimedOut" || "ExecutionStopped" || "ContextStarted" || "ContextSucceeded" || "ContextFailed" || "WaitStarted" || "WaitSucceeded" || "WaitCancelled" || "StepStarted" || "StepSucceeded" || "StepFailed" || "ChainedInvokeStarted" || "ChainedInvokeSucceeded" || "ChainedInvokeFailed" || "ChainedInvokeTimedOut" || "ChainedInvokeStopped" || "CallbackStarted" || "CallbackSucceeded" || "CallbackFailed" || "CallbackTimedOut" || "InvocationCompleted" || "ExecutionPaused" || "ExecutionResumed",
|
|
49
49
|
* // SubType: "STRING_VALUE",
|
|
50
50
|
* // EventId: Number("int"),
|
|
51
51
|
* // Id: "STRING_VALUE",
|
|
@@ -210,6 +210,21 @@ declare const GetDurableExecutionHistoryCommand_base: {
|
|
|
210
210
|
* // RequestId: "STRING_VALUE", // required
|
|
211
211
|
* // Error: "<EventError>",
|
|
212
212
|
* // },
|
|
213
|
+
* // ExecutionPausedDetails: { // ExecutionPausedDetails
|
|
214
|
+
* // PauseRequestTimestamp: new Date("TIMESTAMP"), // required
|
|
215
|
+
* // Reason: { // EventPauseReason
|
|
216
|
+
* // Payload: "STRING_VALUE",
|
|
217
|
+
* // Truncated: true || false,
|
|
218
|
+
* // },
|
|
219
|
+
* // ExecutionTimeoutPaused: true || false, // required
|
|
220
|
+
* // },
|
|
221
|
+
* // ExecutionResumedDetails: { // ExecutionResumedDetails
|
|
222
|
+
* // ResumeRequestTimestamp: new Date("TIMESTAMP"), // required
|
|
223
|
+
* // Reason: { // EventResumeReason
|
|
224
|
+
* // Payload: "STRING_VALUE",
|
|
225
|
+
* // Truncated: true || false,
|
|
226
|
+
* // },
|
|
227
|
+
* // },
|
|
213
228
|
* // },
|
|
214
229
|
* // ],
|
|
215
230
|
* // NextMarker: "STRING_VALUE",
|
|
@@ -91,10 +91,10 @@ declare const GetFunctionCommand_base: {
|
|
|
91
91
|
* // ],
|
|
92
92
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
93
93
|
* // StateReason: "STRING_VALUE",
|
|
94
|
-
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "DependencyError",
|
|
94
|
+
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
95
95
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
96
96
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
97
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DependencyError",
|
|
97
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
98
98
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
99
99
|
* // { // FileSystemConfig
|
|
100
100
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -165,6 +165,9 @@ declare const GetFunctionCommand_base: {
|
|
|
165
165
|
* // RuntimeArn: "STRING_VALUE", // required
|
|
166
166
|
* // RuntimeAlias: "STRING_VALUE", // required
|
|
167
167
|
* // },
|
|
168
|
+
* // AcceleratorConfig: { // AcceleratorConfig
|
|
169
|
+
* // AcceleratorMemorySize: 3 || 6 || 12 || 16 || 24 || 48, // required
|
|
170
|
+
* // },
|
|
168
171
|
* // },
|
|
169
172
|
* // Code: { // FunctionCodeLocation
|
|
170
173
|
* // RepositoryType: "STRING_VALUE",
|
|
@@ -90,10 +90,10 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
90
90
|
* // ],
|
|
91
91
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
92
92
|
* // StateReason: "STRING_VALUE",
|
|
93
|
-
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "DependencyError",
|
|
93
|
+
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
94
94
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
95
95
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
96
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DependencyError",
|
|
96
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
97
97
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
98
98
|
* // { // FileSystemConfig
|
|
99
99
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -164,6 +164,9 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
164
164
|
* // RuntimeArn: "STRING_VALUE", // required
|
|
165
165
|
* // RuntimeAlias: "STRING_VALUE", // required
|
|
166
166
|
* // },
|
|
167
|
+
* // AcceleratorConfig: { // AcceleratorConfig
|
|
168
|
+
* // AcceleratorMemorySize: 3 || 6 || 12 || 16 || 24 || 48, // required
|
|
169
|
+
* // },
|
|
167
170
|
* // };
|
|
168
171
|
*
|
|
169
172
|
* ```
|
|
@@ -75,9 +75,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
75
75
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
76
76
|
*
|
|
77
77
|
*
|
|
78
|
-
* @example To
|
|
78
|
+
* @example To view a provisioned concurrency configuration
|
|
79
79
|
* ```javascript
|
|
80
|
-
* // The following example
|
|
80
|
+
* // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
81
81
|
* const input = {
|
|
82
82
|
* FunctionName: "my-function",
|
|
83
83
|
* Qualifier: "BLUE"
|
|
@@ -95,9 +95,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
95
95
|
* *\/
|
|
96
96
|
* ```
|
|
97
97
|
*
|
|
98
|
-
* @example To
|
|
98
|
+
* @example To get a provisioned concurrency configuration
|
|
99
99
|
* ```javascript
|
|
100
|
-
* // The following example
|
|
100
|
+
* // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
101
101
|
* const input = {
|
|
102
102
|
* FunctionName: "my-function",
|
|
103
103
|
* Qualifier: "BLUE"
|
|
@@ -72,7 +72,7 @@ declare const ListCapacityProvidersCommand_base: {
|
|
|
72
72
|
* // ScalingMode: "Auto" || "Manual",
|
|
73
73
|
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
74
74
|
* // { // TargetTrackingScalingPolicy
|
|
75
|
-
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
75
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization" || "LambdaCapacityProviderAverageGPUUtilization", // required
|
|
76
76
|
* // TargetValue: Number("double"), // required
|
|
77
77
|
* // },
|
|
78
78
|
* // ],
|
|
@@ -38,7 +38,7 @@ declare const ListDurableExecutionsByFunctionCommand_base: {
|
|
|
38
38
|
* Qualifier: "STRING_VALUE",
|
|
39
39
|
* DurableExecutionName: "STRING_VALUE",
|
|
40
40
|
* Statuses: [ // ExecutionStatusList
|
|
41
|
-
* "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED",
|
|
41
|
+
* "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED" || "DELETING" || "PAUSING" || "PAUSED",
|
|
42
42
|
* ],
|
|
43
43
|
* StartedAfter: new Date("TIMESTAMP"),
|
|
44
44
|
* StartedBefore: new Date("TIMESTAMP"),
|
|
@@ -54,7 +54,7 @@ declare const ListDurableExecutionsByFunctionCommand_base: {
|
|
|
54
54
|
* // DurableExecutionArn: "STRING_VALUE", // required
|
|
55
55
|
* // DurableExecutionName: "STRING_VALUE", // required
|
|
56
56
|
* // FunctionArn: "STRING_VALUE", // required
|
|
57
|
-
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED", // required
|
|
57
|
+
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED" || "DELETING" || "PAUSING" || "PAUSED", // required
|
|
58
58
|
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
59
59
|
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
60
60
|
* // KMSKeyArn: "STRING_VALUE",
|
|
@@ -95,10 +95,10 @@ declare const ListFunctionsCommand_base: {
|
|
|
95
95
|
* // ],
|
|
96
96
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
97
97
|
* // StateReason: "STRING_VALUE",
|
|
98
|
-
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "DependencyError",
|
|
98
|
+
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
99
99
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
100
100
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
101
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DependencyError",
|
|
101
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
102
102
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
103
103
|
* // { // FileSystemConfig
|
|
104
104
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -169,6 +169,9 @@ declare const ListFunctionsCommand_base: {
|
|
|
169
169
|
* // RuntimeArn: "STRING_VALUE", // required
|
|
170
170
|
* // RuntimeAlias: "STRING_VALUE", // required
|
|
171
171
|
* // },
|
|
172
|
+
* // AcceleratorConfig: { // AcceleratorConfig
|
|
173
|
+
* // AcceleratorMemorySize: 3 || 6 || 12 || 16 || 24 || 48, // required
|
|
174
|
+
* // },
|
|
172
175
|
* // },
|
|
173
176
|
* // ],
|
|
174
177
|
* // };
|
|
@@ -94,10 +94,10 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
94
94
|
* // ],
|
|
95
95
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
96
96
|
* // StateReason: "STRING_VALUE",
|
|
97
|
-
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "DependencyError",
|
|
97
|
+
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
98
98
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
99
99
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
100
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DependencyError",
|
|
100
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
101
101
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
102
102
|
* // { // FileSystemConfig
|
|
103
103
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -168,6 +168,9 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
168
168
|
* // RuntimeArn: "STRING_VALUE", // required
|
|
169
169
|
* // RuntimeAlias: "STRING_VALUE", // required
|
|
170
170
|
* // },
|
|
171
|
+
* // AcceleratorConfig: { // AcceleratorConfig
|
|
172
|
+
* // AcceleratorMemorySize: 3 || 6 || 12 || 16 || 24 || 48, // required
|
|
173
|
+
* // },
|
|
171
174
|
* // },
|
|
172
175
|
* // ],
|
|
173
176
|
* // };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { PauseDurableExecutionRequest, PauseDurableExecutionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link PauseDurableExecutionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface PauseDurableExecutionCommandInput extends PauseDurableExecutionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link PauseDurableExecutionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface PauseDurableExecutionCommandOutput extends PauseDurableExecutionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const PauseDurableExecutionCommand_base: {
|
|
22
|
+
new (input: PauseDurableExecutionCommandInput): import("@smithy/core/client").CommandImpl<PauseDurableExecutionCommandInput, PauseDurableExecutionCommandOutput, import("..").LambdaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: PauseDurableExecutionCommandInput): import("@smithy/core/client").CommandImpl<PauseDurableExecutionCommandInput, PauseDurableExecutionCommandOutput, import("..").LambdaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Pauses a running <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable execution</a>. While an execution is paused, Lambda doesn't invoke your function, but pending operations such as waits and callbacks continue to complete.</p> <p>If an invocation is in progress, the execution status changes to <code>PAUSING</code> until the invocation reaches its next checkpoint, and then changes to <code>PAUSED</code>. This operation returns a successful response while the execution status is still <code>RUNNING</code>, and the status changes when Lambda processes the request. For more information about pausing executions, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-pause-resume.html">Pausing and resuming durable executions</a>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaClient, PauseDurableExecutionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
+
* // const { LambdaClient, PauseDurableExecutionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
34
|
+
* const config = {}; // type is LambdaClientConfig
|
|
35
|
+
* const client = new LambdaClient(config);
|
|
36
|
+
* const input = { // PauseDurableExecutionRequest
|
|
37
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* Reason: "STRING_VALUE",
|
|
40
|
+
* ExecutionTimeoutPaused: true || false,
|
|
41
|
+
* };
|
|
42
|
+
* const command = new PauseDurableExecutionCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param PauseDurableExecutionCommandInput - {@link PauseDurableExecutionCommandInput}
|
|
49
|
+
* @returns {@link PauseDurableExecutionCommandOutput}
|
|
50
|
+
* @see {@link PauseDurableExecutionCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link PauseDurableExecutionCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
55
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
58
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
61
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
64
|
+
* <p>Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
67
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
70
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ServiceException} (server fault)
|
|
76
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
79
|
+
* <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>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link LambdaServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class PauseDurableExecutionCommand extends PauseDurableExecutionCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: PauseDurableExecutionRequest;
|
|
92
|
+
output: {};
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: PauseDurableExecutionCommandInput;
|
|
96
|
+
output: PauseDurableExecutionCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -93,10 +93,10 @@ declare const PublishVersionCommand_base: {
|
|
|
93
93
|
* // ],
|
|
94
94
|
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
95
95
|
* // StateReason: "STRING_VALUE",
|
|
96
|
-
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "DependencyError",
|
|
96
|
+
* // 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" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DrainingDurableExecutions" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
97
97
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
98
98
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
99
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "DependencyError",
|
|
99
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "ServiceQuotaExceededException" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl" || "IncompatibleAcceleratorInstanceTypes" || "DependencyError",
|
|
100
100
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
101
101
|
* // { // FileSystemConfig
|
|
102
102
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -167,6 +167,9 @@ declare const PublishVersionCommand_base: {
|
|
|
167
167
|
* // RuntimeArn: "STRING_VALUE", // required
|
|
168
168
|
* // RuntimeAlias: "STRING_VALUE", // required
|
|
169
169
|
* // },
|
|
170
|
+
* // AcceleratorConfig: { // AcceleratorConfig
|
|
171
|
+
* // AcceleratorMemorySize: 3 || 6 || 12 || 16 || 24 || 48, // required
|
|
172
|
+
* // },
|
|
170
173
|
* // };
|
|
171
174
|
*
|
|
172
175
|
* ```
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ResumeDurableExecutionRequest, ResumeDurableExecutionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ResumeDurableExecutionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ResumeDurableExecutionCommandInput extends ResumeDurableExecutionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ResumeDurableExecutionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ResumeDurableExecutionCommandOutput extends ResumeDurableExecutionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ResumeDurableExecutionCommand_base: {
|
|
22
|
+
new (input: ResumeDurableExecutionCommandInput): import("@smithy/core/client").CommandImpl<ResumeDurableExecutionCommandInput, ResumeDurableExecutionCommandOutput, import("..").LambdaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ResumeDurableExecutionCommandInput): import("@smithy/core/client").CommandImpl<ResumeDurableExecutionCommandInput, ResumeDurableExecutionCommandOutput, import("..").LambdaClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Resumes a paused <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable execution</a>. If the pause interrupted an invocation, or an operation completed while the execution was paused, Lambda invokes your function. Otherwise, the execution continues to wait for its pending operations.</p> <p>If the execution status is <code>PAUSING</code>, this operation cancels the pause, and the in-progress invocation continues. This operation returns a successful response while the execution status is still <code>PAUSED</code> or <code>PAUSING</code>, and the status changes to <code>RUNNING</code> when Lambda processes the request. For more information about resuming executions, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-pause-resume.html">Pausing and resuming durable executions</a>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { LambdaClient, ResumeDurableExecutionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
+
* // const { LambdaClient, ResumeDurableExecutionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
34
|
+
* const config = {}; // type is LambdaClientConfig
|
|
35
|
+
* const client = new LambdaClient(config);
|
|
36
|
+
* const input = { // ResumeDurableExecutionRequest
|
|
37
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* Reason: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ResumeDurableExecutionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param ResumeDurableExecutionCommandInput - {@link ResumeDurableExecutionCommandInput}
|
|
48
|
+
* @returns {@link ResumeDurableExecutionCommandOutput}
|
|
49
|
+
* @see {@link ResumeDurableExecutionCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link ResumeDurableExecutionCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
54
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
57
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
60
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
63
|
+
* <p>Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
66
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
69
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceException} (server fault)
|
|
75
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
78
|
+
* <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>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link LambdaServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ResumeDurableExecutionCommand extends ResumeDurableExecutionCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: ResumeDurableExecutionRequest;
|
|
91
|
+
output: {};
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: ResumeDurableExecutionCommandInput;
|
|
95
|
+
output: ResumeDurableExecutionCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -24,7 +24,7 @@ declare const StopDurableExecutionCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <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>
|
|
27
|
+
* <p>Stops a running or paused <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>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -40,7 +40,7 @@ declare const UpdateCapacityProviderCommand_base: {
|
|
|
40
40
|
* ScalingMode: "Auto" || "Manual",
|
|
41
41
|
* ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
42
42
|
* { // TargetTrackingScalingPolicy
|
|
43
|
-
* PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
43
|
+
* PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization" || "LambdaCapacityProviderAverageGPUUtilization", // required
|
|
44
44
|
* TargetValue: Number("double"), // required
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
@@ -91,7 +91,7 @@ declare const UpdateCapacityProviderCommand_base: {
|
|
|
91
91
|
* // ScalingMode: "Auto" || "Manual",
|
|
92
92
|
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
93
93
|
* // { // TargetTrackingScalingPolicy
|
|
94
|
-
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
94
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization" || "LambdaCapacityProviderAverageGPUUtilization", // required
|
|
95
95
|
* // TargetValue: Number("double"), // required
|
|
96
96
|
* // },
|
|
97
97
|
* // ],
|