@aws-sdk/client-lambda 3.940.0 → 3.943.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +136 -0
- package/dist-cjs/index.js +1663 -100
- package/dist-es/Lambda.js +34 -0
- package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
- package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
- package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
- package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
- package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
- package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
- package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/index.js +17 -0
- package/dist-es/models/enums.js +109 -6
- package/dist-es/models/errors.js +76 -0
- package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
- package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
- package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/schemas/schemas_0.js +1216 -95
- package/dist-types/Lambda.d.ts +120 -0
- package/dist-types/LambdaClient.d.ts +19 -2
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +38 -3
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -4
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
- package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +19 -3
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +19 -3
- package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/InvokeCommand.d.ts +11 -1
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +4 -1
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
- package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +19 -3
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +23 -3
- package/dist-types/commands/PublishVersionCommand.d.ts +19 -3
- package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
- package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
- package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
- package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +16 -3
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +34 -3
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/models/enums.d.ts +189 -14
- package/dist-types/models/errors.d.ts +89 -1
- package/dist-types/models/models_0.d.ts +3205 -1373
- package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/schemas/schemas_0.d.ts +134 -0
- package/dist-types/ts3.4/Lambda.d.ts +314 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +102 -0
- package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +8 -3
- package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/models/enums.d.ts +126 -7
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +494 -42
- package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
- package/package.json +5 -5
|
@@ -54,6 +54,7 @@ declare const InvokeCommand_base: {
|
|
|
54
54
|
* InvocationType: "Event" || "RequestResponse" || "DryRun",
|
|
55
55
|
* LogType: "None" || "Tail",
|
|
56
56
|
* ClientContext: "STRING_VALUE",
|
|
57
|
+
* DurableExecutionName: "STRING_VALUE",
|
|
57
58
|
* Payload: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
58
59
|
* Qualifier: "STRING_VALUE",
|
|
59
60
|
* TenantId: "STRING_VALUE",
|
|
@@ -66,6 +67,7 @@ declare const InvokeCommand_base: {
|
|
|
66
67
|
* // LogResult: "STRING_VALUE",
|
|
67
68
|
* // Payload: new Uint8Array(),
|
|
68
69
|
* // ExecutedVersion: "STRING_VALUE",
|
|
70
|
+
* // DurableExecutionArn: "STRING_VALUE",
|
|
69
71
|
* // };
|
|
70
72
|
*
|
|
71
73
|
* ```
|
|
@@ -76,6 +78,9 @@ declare const InvokeCommand_base: {
|
|
|
76
78
|
* @see {@link InvokeCommandOutput} for command's `response` shape.
|
|
77
79
|
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
78
80
|
*
|
|
81
|
+
* @throws {@link DurableExecutionAlreadyStartedException} (client fault)
|
|
82
|
+
* <p>The durable execution with the specified name has already been started. Each durable execution name must be unique within the function. Use a different name or check the status of the existing execution.</p>
|
|
83
|
+
*
|
|
79
84
|
* @throws {@link EC2AccessDeniedException} (server fault)
|
|
80
85
|
* <p>Need additional permissions to configure VPC settings.</p>
|
|
81
86
|
*
|
|
@@ -130,6 +135,9 @@ declare const InvokeCommand_base: {
|
|
|
130
135
|
* @throws {@link KMSNotFoundException} (server fault)
|
|
131
136
|
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
132
137
|
*
|
|
138
|
+
* @throws {@link NoPublishedVersionException} (client fault)
|
|
139
|
+
* <p>The function has no published versions available.</p>
|
|
140
|
+
*
|
|
133
141
|
* @throws {@link RecursiveInvocationException} (client fault)
|
|
134
142
|
* <p>Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.</p>
|
|
135
143
|
*
|
|
@@ -146,7 +154,7 @@ declare const InvokeCommand_base: {
|
|
|
146
154
|
* <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.</p>
|
|
147
155
|
*
|
|
148
156
|
* @throws {@link SerializedRequestEntityTooLargeException} (client fault)
|
|
149
|
-
* <p>The
|
|
157
|
+
* <p>The request payload exceeded the maximum allowed size for serialized request entities.</p>
|
|
150
158
|
*
|
|
151
159
|
* @throws {@link ServiceException} (server fault)
|
|
152
160
|
* <p>The Lambda service encountered an internal error.</p>
|
|
@@ -177,7 +185,9 @@ declare const InvokeCommand_base: {
|
|
|
177
185
|
* ```javascript
|
|
178
186
|
* // The following example invokes version 1 of a function named my-function with an empty event payload.
|
|
179
187
|
* const input = {
|
|
188
|
+
* DurableExecutionName: "myExecution",
|
|
180
189
|
* FunctionName: "my-function",
|
|
190
|
+
* InvocationType: "Event",
|
|
181
191
|
* Payload: "{}",
|
|
182
192
|
* Qualifier: "1"
|
|
183
193
|
* };
|
|
@@ -131,6 +131,9 @@ declare const InvokeWithResponseStreamCommand_base: {
|
|
|
131
131
|
* @throws {@link KMSNotFoundException} (server fault)
|
|
132
132
|
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
133
133
|
*
|
|
134
|
+
* @throws {@link NoPublishedVersionException} (client fault)
|
|
135
|
+
* <p>The function has no published versions available.</p>
|
|
136
|
+
*
|
|
134
137
|
* @throws {@link RecursiveInvocationException} (client fault)
|
|
135
138
|
* <p>Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.</p>
|
|
136
139
|
*
|
|
@@ -147,7 +150,7 @@ declare const InvokeWithResponseStreamCommand_base: {
|
|
|
147
150
|
* <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.</p>
|
|
148
151
|
*
|
|
149
152
|
* @throws {@link SerializedRequestEntityTooLargeException} (client fault)
|
|
150
|
-
* <p>The
|
|
153
|
+
* <p>The request payload exceeded the maximum allowed size for serialized request entities.</p>
|
|
151
154
|
*
|
|
152
155
|
* @throws {@link ServiceException} (server fault)
|
|
153
156
|
* <p>The Lambda service encountered an internal error.</p>
|
|
@@ -0,0 +1,125 @@
|
|
|
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 { ListCapacityProvidersRequest, ListCapacityProvidersResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListCapacityProvidersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListCapacityProvidersCommandInput extends ListCapacityProvidersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListCapacityProvidersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListCapacityProvidersCommandOutput extends ListCapacityProvidersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListCapacityProvidersCommand_base: {
|
|
25
|
+
new (input: ListCapacityProvidersCommandInput): import("@smithy/smithy-client").CommandImpl<ListCapacityProvidersCommandInput, ListCapacityProvidersCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListCapacityProvidersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCapacityProvidersCommandInput, ListCapacityProvidersCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of capacity providers in your account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, ListCapacityProvidersCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, ListCapacityProvidersCommand } = 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 = { // ListCapacityProvidersRequest
|
|
40
|
+
* State: "Pending" || "Active" || "Failed" || "Deleting",
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListCapacityProvidersCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListCapacityProvidersResponse
|
|
47
|
+
* // CapacityProviders: [ // CapacityProvidersList // required
|
|
48
|
+
* // { // CapacityProvider
|
|
49
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
50
|
+
* // State: "Pending" || "Active" || "Failed" || "Deleting", // required
|
|
51
|
+
* // VpcConfig: { // CapacityProviderVpcConfig
|
|
52
|
+
* // SubnetIds: [ // CapacityProviderSubnetIds // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // SecurityGroupIds: [ // CapacityProviderSecurityGroupIds // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // PermissionsConfig: { // CapacityProviderPermissionsConfig
|
|
60
|
+
* // CapacityProviderOperatorRoleArn: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // InstanceRequirements: { // InstanceRequirements
|
|
63
|
+
* // Architectures: [ // ArchitecturesList
|
|
64
|
+
* // "x86_64" || "arm64",
|
|
65
|
+
* // ],
|
|
66
|
+
* // AllowedInstanceTypes: [ // InstanceTypeSet
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // ExcludedInstanceTypes: [
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // CapacityProviderScalingConfig: { // CapacityProviderScalingConfig
|
|
74
|
+
* // MaxVCpuCount: Number("int"),
|
|
75
|
+
* // ScalingMode: "Auto" || "Manual",
|
|
76
|
+
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
77
|
+
* // { // TargetTrackingScalingPolicy
|
|
78
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
79
|
+
* // TargetValue: Number("double"), // required
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
84
|
+
* // LastModified: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // NextMarker: "STRING_VALUE",
|
|
88
|
+
* // };
|
|
89
|
+
*
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* @param ListCapacityProvidersCommandInput - {@link ListCapacityProvidersCommandInput}
|
|
93
|
+
* @returns {@link ListCapacityProvidersCommandOutput}
|
|
94
|
+
* @see {@link ListCapacityProvidersCommandInput} for command's `input` shape.
|
|
95
|
+
* @see {@link ListCapacityProvidersCommandOutput} for command's `response` shape.
|
|
96
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
99
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ServiceException} (server fault)
|
|
102
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
105
|
+
* <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>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link LambdaServiceException}
|
|
108
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class ListCapacityProvidersCommand extends ListCapacityProvidersCommand_base {
|
|
114
|
+
/** @internal type navigation helper, not in runtime. */
|
|
115
|
+
protected static __types: {
|
|
116
|
+
api: {
|
|
117
|
+
input: ListCapacityProvidersRequest;
|
|
118
|
+
output: ListCapacityProvidersResponse;
|
|
119
|
+
};
|
|
120
|
+
sdk: {
|
|
121
|
+
input: ListCapacityProvidersCommandInput;
|
|
122
|
+
output: ListCapacityProvidersCommandOutput;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { ListDurableExecutionsByFunctionRequest, ListDurableExecutionsByFunctionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDurableExecutionsByFunctionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDurableExecutionsByFunctionCommandInput extends ListDurableExecutionsByFunctionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDurableExecutionsByFunctionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDurableExecutionsByFunctionCommandOutput extends ListDurableExecutionsByFunctionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDurableExecutionsByFunctionCommand_base: {
|
|
25
|
+
new (input: ListDurableExecutionsByFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<ListDurableExecutionsByFunctionCommandInput, ListDurableExecutionsByFunctionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListDurableExecutionsByFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<ListDurableExecutionsByFunctionCommandInput, ListDurableExecutionsByFunctionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable executions</a> for a specified Lambda function. You can filter the results by execution name, status, and start time range. This API supports pagination for large result sets.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, ListDurableExecutionsByFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, ListDurableExecutionsByFunctionCommand } = 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 = { // ListDurableExecutionsByFunctionRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Qualifier: "STRING_VALUE",
|
|
42
|
+
* DurableExecutionName: "STRING_VALUE",
|
|
43
|
+
* Statuses: [ // ExecutionStatusList
|
|
44
|
+
* "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED",
|
|
45
|
+
* ],
|
|
46
|
+
* StartedAfter: new Date("TIMESTAMP"),
|
|
47
|
+
* StartedBefore: new Date("TIMESTAMP"),
|
|
48
|
+
* ReverseOrder: true || false,
|
|
49
|
+
* Marker: "STRING_VALUE",
|
|
50
|
+
* MaxItems: Number("int"),
|
|
51
|
+
* };
|
|
52
|
+
* const command = new ListDurableExecutionsByFunctionCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // ListDurableExecutionsByFunctionResponse
|
|
55
|
+
* // DurableExecutions: [ // DurableExecutions
|
|
56
|
+
* // { // Execution
|
|
57
|
+
* // DurableExecutionArn: "STRING_VALUE", // required
|
|
58
|
+
* // DurableExecutionName: "STRING_VALUE", // required
|
|
59
|
+
* // FunctionArn: "STRING_VALUE", // required
|
|
60
|
+
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED", // required
|
|
61
|
+
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // NextMarker: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListDurableExecutionsByFunctionCommandInput - {@link ListDurableExecutionsByFunctionCommandInput}
|
|
71
|
+
* @returns {@link ListDurableExecutionsByFunctionCommandOutput}
|
|
72
|
+
* @see {@link ListDurableExecutionsByFunctionCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListDurableExecutionsByFunctionCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
77
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServiceException} (server fault)
|
|
83
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
86
|
+
* <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>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link LambdaServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListDurableExecutionsByFunctionCommand extends ListDurableExecutionsByFunctionCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: ListDurableExecutionsByFunctionRequest;
|
|
99
|
+
output: ListDurableExecutionsByFunctionResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: ListDurableExecutionsByFunctionCommandInput;
|
|
103
|
+
output: ListDurableExecutionsByFunctionCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { ListFunctionVersionsByCapacityProviderRequest, ListFunctionVersionsByCapacityProviderResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListFunctionVersionsByCapacityProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListFunctionVersionsByCapacityProviderCommandInput extends ListFunctionVersionsByCapacityProviderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListFunctionVersionsByCapacityProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListFunctionVersionsByCapacityProviderCommandOutput extends ListFunctionVersionsByCapacityProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListFunctionVersionsByCapacityProviderCommand_base: {
|
|
25
|
+
new (input: ListFunctionVersionsByCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<ListFunctionVersionsByCapacityProviderCommandInput, ListFunctionVersionsByCapacityProviderCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListFunctionVersionsByCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<ListFunctionVersionsByCapacityProviderCommandInput, ListFunctionVersionsByCapacityProviderCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of function versions that are configured to use a specific capacity provider.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, ListFunctionVersionsByCapacityProviderCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, ListFunctionVersionsByCapacityProviderCommand } = 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 = { // ListFunctionVersionsByCapacityProviderRequest
|
|
40
|
+
* CapacityProviderName: "STRING_VALUE", // required
|
|
41
|
+
* Marker: "STRING_VALUE",
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListFunctionVersionsByCapacityProviderCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListFunctionVersionsByCapacityProviderResponse
|
|
47
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
48
|
+
* // FunctionVersions: [ // FunctionVersionsByCapacityProviderList // required
|
|
49
|
+
* // { // FunctionVersionsByCapacityProviderListItem
|
|
50
|
+
* // FunctionArn: "STRING_VALUE", // required
|
|
51
|
+
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // NextMarker: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListFunctionVersionsByCapacityProviderCommandInput - {@link ListFunctionVersionsByCapacityProviderCommandInput}
|
|
60
|
+
* @returns {@link ListFunctionVersionsByCapacityProviderCommandOutput}
|
|
61
|
+
* @see {@link ListFunctionVersionsByCapacityProviderCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListFunctionVersionsByCapacityProviderCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
66
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ServiceException} (server fault)
|
|
72
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link LambdaServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListFunctionVersionsByCapacityProviderCommand extends ListFunctionVersionsByCapacityProviderCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: ListFunctionVersionsByCapacityProviderRequest;
|
|
88
|
+
output: ListFunctionVersionsByCapacityProviderResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: ListFunctionVersionsByCapacityProviderCommandInput;
|
|
92
|
+
output: ListFunctionVersionsByCapacityProviderCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -96,12 +96,12 @@ declare const ListFunctionsCommand_base: {
|
|
|
96
96
|
* // SigningJobArn: "STRING_VALUE",
|
|
97
97
|
* // },
|
|
98
98
|
* // ],
|
|
99
|
-
* // State: "Pending" || "Active" || "Inactive" || "Failed",
|
|
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",
|
|
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
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
|
|
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",
|
|
105
105
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
106
106
|
* // { // FileSystemConfig
|
|
107
107
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -149,6 +149,18 @@ declare const ListFunctionsCommand_base: {
|
|
|
149
149
|
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
150
150
|
* // LogGroup: "STRING_VALUE",
|
|
151
151
|
* // },
|
|
152
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
153
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
154
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
155
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
156
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
157
|
+
* // },
|
|
158
|
+
* // },
|
|
159
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
160
|
+
* // DurableConfig: { // DurableConfig
|
|
161
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
162
|
+
* // ExecutionTimeout: Number("int"),
|
|
163
|
+
* // },
|
|
152
164
|
* // TenancyConfig: { // TenancyConfig
|
|
153
165
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
154
166
|
* // },
|
|
@@ -208,6 +220,10 @@ declare const ListFunctionsCommand_base: {
|
|
|
208
220
|
* CodeSha256: "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",
|
|
209
221
|
* CodeSize: 266,
|
|
210
222
|
* Description: "",
|
|
223
|
+
* DurableConfig: {
|
|
224
|
+
* ExecutionTimeout: 31622400,
|
|
225
|
+
* RetentionPeriodInDays: 30
|
|
226
|
+
* },
|
|
211
227
|
* FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
|
212
228
|
* FunctionName: "my-function",
|
|
213
229
|
* Handler: "index.handler",
|
|
@@ -95,12 +95,12 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
95
95
|
* // SigningJobArn: "STRING_VALUE",
|
|
96
96
|
* // },
|
|
97
97
|
* // ],
|
|
98
|
-
* // State: "Pending" || "Active" || "Inactive" || "Failed",
|
|
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",
|
|
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
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
|
|
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",
|
|
104
104
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
105
105
|
* // { // FileSystemConfig
|
|
106
106
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -148,6 +148,18 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
148
148
|
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
149
149
|
* // LogGroup: "STRING_VALUE",
|
|
150
150
|
* // },
|
|
151
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
152
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
153
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
154
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
155
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
156
|
+
* // },
|
|
157
|
+
* // },
|
|
158
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
159
|
+
* // DurableConfig: { // DurableConfig
|
|
160
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
161
|
+
* // ExecutionTimeout: Number("int"),
|
|
162
|
+
* // },
|
|
151
163
|
* // TenancyConfig: { // TenancyConfig
|
|
152
164
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
153
165
|
* // },
|
|
@@ -194,6 +206,10 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
194
206
|
* CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
|
|
195
207
|
* CodeSize: 5797206,
|
|
196
208
|
* Description: "Process image objects from Amazon S3.",
|
|
209
|
+
* DurableConfig: {
|
|
210
|
+
* ExecutionTimeout: 31622400,
|
|
211
|
+
* RetentionPeriodInDays: 30
|
|
212
|
+
* },
|
|
197
213
|
* Environment: {
|
|
198
214
|
* Variables: {
|
|
199
215
|
* BUCKET: "my-bucket-1xpuxmplzrlbh",
|
|
@@ -219,6 +235,10 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
219
235
|
* CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
|
|
220
236
|
* CodeSize: 5797206,
|
|
221
237
|
* Description: "Process image objects from Amazon S3.",
|
|
238
|
+
* DurableConfig: {
|
|
239
|
+
* ExecutionTimeout: 31622400,
|
|
240
|
+
* RetentionPeriodInDays: 30
|
|
241
|
+
* },
|
|
222
242
|
* Environment: {
|
|
223
243
|
* Variables: {
|
|
224
244
|
* BUCKET: "my-bucket-1xpuxmplzrlbh",
|
|
@@ -41,6 +41,7 @@ declare const PublishVersionCommand_base: {
|
|
|
41
41
|
* CodeSha256: "STRING_VALUE",
|
|
42
42
|
* Description: "STRING_VALUE",
|
|
43
43
|
* RevisionId: "STRING_VALUE",
|
|
44
|
+
* PublishTo: "LATEST_PUBLISHED",
|
|
44
45
|
* };
|
|
45
46
|
* const command = new PublishVersionCommand(input);
|
|
46
47
|
* const response = await client.send(command);
|
|
@@ -93,12 +94,12 @@ declare const PublishVersionCommand_base: {
|
|
|
93
94
|
* // SigningJobArn: "STRING_VALUE",
|
|
94
95
|
* // },
|
|
95
96
|
* // ],
|
|
96
|
-
* // State: "Pending" || "Active" || "Inactive" || "Failed",
|
|
97
|
+
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
97
98
|
* // 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",
|
|
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",
|
|
99
100
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
100
101
|
* // 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",
|
|
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",
|
|
102
103
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
103
104
|
* // { // FileSystemConfig
|
|
104
105
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -146,6 +147,18 @@ declare const PublishVersionCommand_base: {
|
|
|
146
147
|
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
147
148
|
* // LogGroup: "STRING_VALUE",
|
|
148
149
|
* // },
|
|
150
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
151
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
152
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
153
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
154
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
158
|
+
* // DurableConfig: { // DurableConfig
|
|
159
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
160
|
+
* // ExecutionTimeout: Number("int"),
|
|
161
|
+
* // },
|
|
149
162
|
* // TenancyConfig: { // TenancyConfig
|
|
150
163
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
151
164
|
* // },
|
|
@@ -162,6 +175,9 @@ declare const PublishVersionCommand_base: {
|
|
|
162
175
|
* @throws {@link CodeStorageExceededException} (client fault)
|
|
163
176
|
* <p>Your Amazon Web Services account has exceeded its maximum total code size. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
164
177
|
*
|
|
178
|
+
* @throws {@link FunctionVersionsPerCapacityProviderLimitExceededException} (client fault)
|
|
179
|
+
* <p>The maximum number of function versions that can be associated with a single capacity provider has been exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
180
|
+
*
|
|
165
181
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
166
182
|
* <p>One of the parameters in the request is not valid.</p>
|
|
167
183
|
*
|