@aws-sdk/client-lambda 3.940.0 → 3.942.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 +64 -0
- package/dist-cjs/index.js +630 -21
- package/dist-es/Lambda.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/GetFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
- package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
- package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/enums.js +50 -6
- package/dist-es/models/errors.js +44 -0
- package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +415 -16
- package/dist-types/Lambda.d.ts +57 -0
- package/dist-types/LambdaClient.d.ts +10 -2
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +22 -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/GetFunctionCommand.d.ts +11 -3
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +11 -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 +4 -1
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +4 -1
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
- package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +11 -3
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +11 -3
- package/dist-types/commands/PublishVersionCommand.d.ts +15 -3
- package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +12 -3
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +18 -3
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +90 -14
- package/dist-types/models/errors.d.ts +53 -1
- package/dist-types/models/models_0.d.ts +642 -147
- package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +44 -0
- package/dist-types/ts3.4/Lambda.d.ts +143 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +48 -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/GetFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.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/UpdateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +59 -7
- package/dist-types/ts3.4/models/errors.d.ts +31 -0
- package/dist-types/ts3.4/models/models_0.d.ts +172 -42
- package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +44 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
-
import { DeleteFunctionRequest } from "../models/models_0";
|
|
4
|
+
import { DeleteFunctionRequest, DeleteFunctionResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -19,7 +19,7 @@ export interface DeleteFunctionCommandInput extends DeleteFunctionRequest {
|
|
|
19
19
|
*
|
|
20
20
|
* The output of {@link DeleteFunctionCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface DeleteFunctionCommandOutput extends __MetadataBearer {
|
|
22
|
+
export interface DeleteFunctionCommandOutput extends DeleteFunctionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteFunctionCommand_base: {
|
|
25
25
|
new (input: DeleteFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteFunctionCommandInput, DeleteFunctionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
@@ -42,7 +42,9 @@ declare const DeleteFunctionCommand_base: {
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new DeleteFunctionCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
-
* // {
|
|
45
|
+
* // { // DeleteFunctionResponse
|
|
46
|
+
* // StatusCode: Number("int"),
|
|
47
|
+
* // };
|
|
46
48
|
*
|
|
47
49
|
* ```
|
|
48
50
|
*
|
|
@@ -92,7 +94,7 @@ export declare class DeleteFunctionCommand extends DeleteFunctionCommand_base {
|
|
|
92
94
|
protected static __types: {
|
|
93
95
|
api: {
|
|
94
96
|
input: DeleteFunctionRequest;
|
|
95
|
-
output:
|
|
97
|
+
output: DeleteFunctionResponse;
|
|
96
98
|
};
|
|
97
99
|
sdk: {
|
|
98
100
|
input: DeleteFunctionCommandInput;
|
|
@@ -0,0 +1,123 @@
|
|
|
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 { GetCapacityProviderRequest, GetCapacityProviderResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetCapacityProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetCapacityProviderCommandInput extends GetCapacityProviderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetCapacityProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCapacityProviderCommandOutput extends GetCapacityProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetCapacityProviderCommand_base: {
|
|
25
|
+
new (input: GetCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<GetCapacityProviderCommandInput, GetCapacityProviderCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<GetCapacityProviderCommandInput, GetCapacityProviderCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a specific capacity provider, including its configuration, state, and associated resources.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, GetCapacityProviderCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, GetCapacityProviderCommand } = 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 = { // GetCapacityProviderRequest
|
|
40
|
+
* CapacityProviderName: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetCapacityProviderCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetCapacityProviderResponse
|
|
45
|
+
* // CapacityProvider: { // CapacityProvider
|
|
46
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
47
|
+
* // State: "Pending" || "Active" || "Failed" || "Deleting", // required
|
|
48
|
+
* // VpcConfig: { // CapacityProviderVpcConfig
|
|
49
|
+
* // SubnetIds: [ // CapacityProviderSubnetIds // required
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // SecurityGroupIds: [ // CapacityProviderSecurityGroupIds // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // PermissionsConfig: { // CapacityProviderPermissionsConfig
|
|
57
|
+
* // CapacityProviderOperatorRoleArn: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // InstanceRequirements: { // InstanceRequirements
|
|
60
|
+
* // Architectures: [ // ArchitecturesList
|
|
61
|
+
* // "x86_64" || "arm64",
|
|
62
|
+
* // ],
|
|
63
|
+
* // AllowedInstanceTypes: [ // InstanceTypeSet
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // ExcludedInstanceTypes: [
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // CapacityProviderScalingConfig: { // CapacityProviderScalingConfig
|
|
71
|
+
* // MaxVCpuCount: Number("int"),
|
|
72
|
+
* // ScalingMode: "Auto" || "Manual",
|
|
73
|
+
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
74
|
+
* // { // TargetTrackingScalingPolicy
|
|
75
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
76
|
+
* // TargetValue: Number("double"), // required
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
81
|
+
* // LastModified: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @param GetCapacityProviderCommandInput - {@link GetCapacityProviderCommandInput}
|
|
88
|
+
* @returns {@link GetCapacityProviderCommandOutput}
|
|
89
|
+
* @see {@link GetCapacityProviderCommandInput} for command's `input` shape.
|
|
90
|
+
* @see {@link GetCapacityProviderCommandOutput} for command's `response` shape.
|
|
91
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
94
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
97
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ServiceException} (server fault)
|
|
100
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
103
|
+
* <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>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link LambdaServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class GetCapacityProviderCommand extends GetCapacityProviderCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: GetCapacityProviderRequest;
|
|
116
|
+
output: GetCapacityProviderResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: GetCapacityProviderCommandInput;
|
|
120
|
+
output: GetCapacityProviderCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -92,12 +92,12 @@ declare const GetFunctionCommand_base: {
|
|
|
92
92
|
* // SigningJobArn: "STRING_VALUE",
|
|
93
93
|
* // },
|
|
94
94
|
* // ],
|
|
95
|
-
* // State: "Pending" || "Active" || "Inactive" || "Failed",
|
|
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",
|
|
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" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
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",
|
|
100
|
+
* // 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",
|
|
101
101
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
102
102
|
* // { // FileSystemConfig
|
|
103
103
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -145,6 +145,14 @@ declare const GetFunctionCommand_base: {
|
|
|
145
145
|
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
146
146
|
* // LogGroup: "STRING_VALUE",
|
|
147
147
|
* // },
|
|
148
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
149
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
150
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
151
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
152
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
153
|
+
* // },
|
|
154
|
+
* // },
|
|
155
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
148
156
|
* // TenancyConfig: { // TenancyConfig
|
|
149
157
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
150
158
|
* // },
|
|
@@ -91,12 +91,12 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
91
91
|
* // SigningJobArn: "STRING_VALUE",
|
|
92
92
|
* // },
|
|
93
93
|
* // ],
|
|
94
|
-
* // State: "Pending" || "Active" || "Inactive" || "Failed",
|
|
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",
|
|
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" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
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",
|
|
99
|
+
* // 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",
|
|
100
100
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
101
101
|
* // { // FileSystemConfig
|
|
102
102
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -144,6 +144,14 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
144
144
|
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
145
145
|
* // LogGroup: "STRING_VALUE",
|
|
146
146
|
* // },
|
|
147
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
148
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
149
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
150
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
151
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
147
155
|
* // TenancyConfig: { // TenancyConfig
|
|
148
156
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
149
157
|
* // },
|
|
@@ -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 { GetFunctionScalingConfigRequest, GetFunctionScalingConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetFunctionScalingConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetFunctionScalingConfigCommandInput extends GetFunctionScalingConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetFunctionScalingConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetFunctionScalingConfigCommandOutput extends GetFunctionScalingConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetFunctionScalingConfigCommand_base: {
|
|
25
|
+
new (input: GetFunctionScalingConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetFunctionScalingConfigCommandInput, GetFunctionScalingConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetFunctionScalingConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetFunctionScalingConfigCommandInput, GetFunctionScalingConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the scaling configuration for a Lambda Managed Instances function.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, GetFunctionScalingConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, GetFunctionScalingConfigCommand } = 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 = { // GetFunctionScalingConfigRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Qualifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetFunctionScalingConfigCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetFunctionScalingConfigResponse
|
|
46
|
+
* // FunctionArn: "STRING_VALUE",
|
|
47
|
+
* // AppliedFunctionScalingConfig: { // FunctionScalingConfig
|
|
48
|
+
* // MinExecutionEnvironments: Number("int"),
|
|
49
|
+
* // MaxExecutionEnvironments: Number("int"),
|
|
50
|
+
* // },
|
|
51
|
+
* // RequestedFunctionScalingConfig: {
|
|
52
|
+
* // MinExecutionEnvironments: Number("int"),
|
|
53
|
+
* // MaxExecutionEnvironments: Number("int"),
|
|
54
|
+
* // },
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param GetFunctionScalingConfigCommandInput - {@link GetFunctionScalingConfigCommandInput}
|
|
60
|
+
* @returns {@link GetFunctionScalingConfigCommandOutput}
|
|
61
|
+
* @see {@link GetFunctionScalingConfigCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link GetFunctionScalingConfigCommandOutput} 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 GetFunctionScalingConfigCommand extends GetFunctionScalingConfigCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: GetFunctionScalingConfigRequest;
|
|
88
|
+
output: GetFunctionScalingConfigResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: GetFunctionScalingConfigCommandInput;
|
|
92
|
+
output: GetFunctionScalingConfigCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -78,9 +78,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
78
78
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
79
79
|
*
|
|
80
80
|
*
|
|
81
|
-
* @example To
|
|
81
|
+
* @example To view a provisioned concurrency configuration
|
|
82
82
|
* ```javascript
|
|
83
|
-
* // The following example
|
|
83
|
+
* // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
84
84
|
* const input = {
|
|
85
85
|
* FunctionName: "my-function",
|
|
86
86
|
* Qualifier: "BLUE"
|
|
@@ -98,9 +98,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
98
98
|
* *\/
|
|
99
99
|
* ```
|
|
100
100
|
*
|
|
101
|
-
* @example To
|
|
101
|
+
* @example To get a provisioned concurrency configuration
|
|
102
102
|
* ```javascript
|
|
103
|
-
* // The following example
|
|
103
|
+
* // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
104
104
|
* const input = {
|
|
105
105
|
* FunctionName: "my-function",
|
|
106
106
|
* Qualifier: "BLUE"
|
|
@@ -130,6 +130,9 @@ declare const InvokeCommand_base: {
|
|
|
130
130
|
* @throws {@link KMSNotFoundException} (server fault)
|
|
131
131
|
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
132
132
|
*
|
|
133
|
+
* @throws {@link NoPublishedVersionException} (client fault)
|
|
134
|
+
* <p>The function has no published versions available.</p>
|
|
135
|
+
*
|
|
133
136
|
* @throws {@link RecursiveInvocationException} (client fault)
|
|
134
137
|
* <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
138
|
*
|
|
@@ -146,7 +149,7 @@ declare const InvokeCommand_base: {
|
|
|
146
149
|
* <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
150
|
*
|
|
148
151
|
* @throws {@link SerializedRequestEntityTooLargeException} (client fault)
|
|
149
|
-
* <p>The
|
|
152
|
+
* <p>The request payload exceeded the maximum allowed size for serialized request entities.</p>
|
|
150
153
|
*
|
|
151
154
|
* @throws {@link ServiceException} (server fault)
|
|
152
155
|
* <p>The Lambda service encountered an internal error.</p>
|
|
@@ -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,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
|
+
}
|