@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
|
@@ -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" || "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,14 @@ 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",
|
|
152
160
|
* // TenancyConfig: { // TenancyConfig
|
|
153
161
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
154
162
|
* // },
|
|
@@ -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" || "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,14 @@ 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",
|
|
151
159
|
* // TenancyConfig: { // TenancyConfig
|
|
152
160
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
153
161
|
* // },
|
|
@@ -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" || "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,14 @@ 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",
|
|
149
158
|
* // TenancyConfig: { // TenancyConfig
|
|
150
159
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
151
160
|
* // },
|
|
@@ -162,6 +171,9 @@ declare const PublishVersionCommand_base: {
|
|
|
162
171
|
* @throws {@link CodeStorageExceededException} (client fault)
|
|
163
172
|
* <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
173
|
*
|
|
174
|
+
* @throws {@link FunctionVersionsPerCapacityProviderLimitExceededException} (client fault)
|
|
175
|
+
* <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>
|
|
176
|
+
*
|
|
165
177
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
166
178
|
* <p>One of the parameters in the request is not valid.</p>
|
|
167
179
|
*
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import { PutFunctionScalingConfigRequest, PutFunctionScalingConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutFunctionScalingConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutFunctionScalingConfigCommandInput extends PutFunctionScalingConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutFunctionScalingConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutFunctionScalingConfigCommandOutput extends PutFunctionScalingConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutFunctionScalingConfigCommand_base: {
|
|
25
|
+
new (input: PutFunctionScalingConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionScalingConfigCommandInput, PutFunctionScalingConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutFunctionScalingConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionScalingConfigCommandInput, PutFunctionScalingConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sets the scaling configuration for a Lambda Managed Instances function. The scaling configuration defines the minimum and maximum number of execution environments that can be provisioned for the function, allowing you to control scaling behavior and resource allocation.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, PutFunctionScalingConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, PutFunctionScalingConfigCommand } = 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 = { // PutFunctionScalingConfigRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Qualifier: "STRING_VALUE", // required
|
|
42
|
+
* FunctionScalingConfig: { // FunctionScalingConfig
|
|
43
|
+
* MinExecutionEnvironments: Number("int"),
|
|
44
|
+
* MaxExecutionEnvironments: Number("int"),
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new PutFunctionScalingConfigCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // PutFunctionScalingConfigResponse
|
|
50
|
+
* // FunctionState: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param PutFunctionScalingConfigCommandInput - {@link PutFunctionScalingConfigCommandInput}
|
|
56
|
+
* @returns {@link PutFunctionScalingConfigCommandOutput}
|
|
57
|
+
* @see {@link PutFunctionScalingConfigCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link PutFunctionScalingConfigCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
62
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
65
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceException} (server fault)
|
|
71
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
74
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link LambdaServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class PutFunctionScalingConfigCommand extends PutFunctionScalingConfigCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: PutFunctionScalingConfigRequest;
|
|
87
|
+
output: PutFunctionScalingConfigResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: PutFunctionScalingConfigCommandInput;
|
|
91
|
+
output: PutFunctionScalingConfigCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
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 { UpdateCapacityProviderRequest, UpdateCapacityProviderResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateCapacityProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateCapacityProviderCommandInput extends UpdateCapacityProviderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateCapacityProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCapacityProviderCommandOutput extends UpdateCapacityProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateCapacityProviderCommand_base: {
|
|
25
|
+
new (input: UpdateCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration of an existing 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, UpdateCapacityProviderCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, UpdateCapacityProviderCommand } = 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 = { // UpdateCapacityProviderRequest
|
|
40
|
+
* CapacityProviderName: "STRING_VALUE", // required
|
|
41
|
+
* CapacityProviderScalingConfig: { // CapacityProviderScalingConfig
|
|
42
|
+
* MaxVCpuCount: Number("int"),
|
|
43
|
+
* ScalingMode: "Auto" || "Manual",
|
|
44
|
+
* ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
45
|
+
* { // TargetTrackingScalingPolicy
|
|
46
|
+
* PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
47
|
+
* TargetValue: Number("double"), // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
52
|
+
* const command = new UpdateCapacityProviderCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // UpdateCapacityProviderResponse
|
|
55
|
+
* // CapacityProvider: { // CapacityProvider
|
|
56
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
57
|
+
* // State: "Pending" || "Active" || "Failed" || "Deleting", // required
|
|
58
|
+
* // VpcConfig: { // CapacityProviderVpcConfig
|
|
59
|
+
* // SubnetIds: [ // CapacityProviderSubnetIds // required
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // SecurityGroupIds: [ // CapacityProviderSecurityGroupIds // required
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // PermissionsConfig: { // CapacityProviderPermissionsConfig
|
|
67
|
+
* // CapacityProviderOperatorRoleArn: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // InstanceRequirements: { // InstanceRequirements
|
|
70
|
+
* // Architectures: [ // ArchitecturesList
|
|
71
|
+
* // "x86_64" || "arm64",
|
|
72
|
+
* // ],
|
|
73
|
+
* // AllowedInstanceTypes: [ // InstanceTypeSet
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // ExcludedInstanceTypes: [
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // CapacityProviderScalingConfig: { // CapacityProviderScalingConfig
|
|
81
|
+
* // MaxVCpuCount: Number("int"),
|
|
82
|
+
* // ScalingMode: "Auto" || "Manual",
|
|
83
|
+
* // ScalingPolicies: [ // CapacityProviderScalingPoliciesList
|
|
84
|
+
* // { // TargetTrackingScalingPolicy
|
|
85
|
+
* // PredefinedMetricType: "LambdaCapacityProviderAverageCPUUtilization", // required
|
|
86
|
+
* // TargetValue: Number("double"), // required
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
90
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
91
|
+
* // LastModified: "STRING_VALUE",
|
|
92
|
+
* // },
|
|
93
|
+
* // };
|
|
94
|
+
*
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* @param UpdateCapacityProviderCommandInput - {@link UpdateCapacityProviderCommandInput}
|
|
98
|
+
* @returns {@link UpdateCapacityProviderCommandOutput}
|
|
99
|
+
* @see {@link UpdateCapacityProviderCommandInput} for command's `input` shape.
|
|
100
|
+
* @see {@link UpdateCapacityProviderCommandOutput} for command's `response` shape.
|
|
101
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
104
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
107
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
110
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ServiceException} (server fault)
|
|
113
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
116
|
+
* <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>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link LambdaServiceException}
|
|
119
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
120
|
+
*
|
|
121
|
+
*
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export declare class UpdateCapacityProviderCommand extends UpdateCapacityProviderCommand_base {
|
|
125
|
+
/** @internal type navigation helper, not in runtime. */
|
|
126
|
+
protected static __types: {
|
|
127
|
+
api: {
|
|
128
|
+
input: UpdateCapacityProviderRequest;
|
|
129
|
+
output: UpdateCapacityProviderResponse;
|
|
130
|
+
};
|
|
131
|
+
sdk: {
|
|
132
|
+
input: UpdateCapacityProviderCommandInput;
|
|
133
|
+
output: UpdateCapacityProviderCommandOutput;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
}
|
|
@@ -50,6 +50,7 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
50
50
|
* "x86_64" || "arm64",
|
|
51
51
|
* ],
|
|
52
52
|
* SourceKMSKeyArn: "STRING_VALUE",
|
|
53
|
+
* PublishTo: "LATEST_PUBLISHED",
|
|
53
54
|
* };
|
|
54
55
|
* const command = new UpdateFunctionCodeCommand(input);
|
|
55
56
|
* const response = await client.send(command);
|
|
@@ -102,12 +103,12 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
102
103
|
* // SigningJobArn: "STRING_VALUE",
|
|
103
104
|
* // },
|
|
104
105
|
* // ],
|
|
105
|
-
* // State: "Pending" || "Active" || "Inactive" || "Failed",
|
|
106
|
+
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
106
107
|
* // StateReason: "STRING_VALUE",
|
|
107
|
-
* // 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",
|
|
108
|
+
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
108
109
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
109
110
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
110
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
|
|
111
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
111
112
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
112
113
|
* // { // FileSystemConfig
|
|
113
114
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -155,6 +156,14 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
155
156
|
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
156
157
|
* // LogGroup: "STRING_VALUE",
|
|
157
158
|
* // },
|
|
159
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
160
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
161
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
162
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
163
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
164
|
+
* // },
|
|
165
|
+
* // },
|
|
166
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
158
167
|
* // TenancyConfig: { // TenancyConfig
|
|
159
168
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
160
169
|
* // },
|
|
@@ -96,6 +96,13 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
96
96
|
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
97
97
|
* LogGroup: "STRING_VALUE",
|
|
98
98
|
* },
|
|
99
|
+
* CapacityProviderConfig: { // CapacityProviderConfig
|
|
100
|
+
* LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
101
|
+
* CapacityProviderArn: "STRING_VALUE", // required
|
|
102
|
+
* PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
103
|
+
* ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
99
106
|
* };
|
|
100
107
|
* const command = new UpdateFunctionConfigurationCommand(input);
|
|
101
108
|
* const response = await client.send(command);
|
|
@@ -148,12 +155,12 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
148
155
|
* // SigningJobArn: "STRING_VALUE",
|
|
149
156
|
* // },
|
|
150
157
|
* // ],
|
|
151
|
-
* // State: "Pending" || "Active" || "Inactive" || "Failed",
|
|
158
|
+
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
152
159
|
* // StateReason: "STRING_VALUE",
|
|
153
|
-
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
|
|
160
|
+
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
154
161
|
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
155
162
|
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
156
|
-
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
|
|
163
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted",
|
|
157
164
|
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
158
165
|
* // { // FileSystemConfig
|
|
159
166
|
* // Arn: "STRING_VALUE", // required
|
|
@@ -201,6 +208,14 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
201
208
|
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
202
209
|
* // LogGroup: "STRING_VALUE",
|
|
203
210
|
* // },
|
|
211
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
212
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
213
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
214
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
215
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
216
|
+
* // },
|
|
217
|
+
* // },
|
|
218
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
204
219
|
* // TenancyConfig: { // TenancyConfig
|
|
205
220
|
* // TenantIsolationMode: "PER_TENANT", // required
|
|
206
221
|
* // },
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from "./AddLayerVersionPermissionCommand";
|
|
2
2
|
export * from "./AddPermissionCommand";
|
|
3
3
|
export * from "./CreateAliasCommand";
|
|
4
|
+
export * from "./CreateCapacityProviderCommand";
|
|
4
5
|
export * from "./CreateCodeSigningConfigCommand";
|
|
5
6
|
export * from "./CreateEventSourceMappingCommand";
|
|
6
7
|
export * from "./CreateFunctionCommand";
|
|
7
8
|
export * from "./CreateFunctionUrlConfigCommand";
|
|
8
9
|
export * from "./DeleteAliasCommand";
|
|
10
|
+
export * from "./DeleteCapacityProviderCommand";
|
|
9
11
|
export * from "./DeleteCodeSigningConfigCommand";
|
|
10
12
|
export * from "./DeleteEventSourceMappingCommand";
|
|
11
13
|
export * from "./DeleteFunctionCodeSigningConfigCommand";
|
|
@@ -17,6 +19,7 @@ export * from "./DeleteLayerVersionCommand";
|
|
|
17
19
|
export * from "./DeleteProvisionedConcurrencyConfigCommand";
|
|
18
20
|
export * from "./GetAccountSettingsCommand";
|
|
19
21
|
export * from "./GetAliasCommand";
|
|
22
|
+
export * from "./GetCapacityProviderCommand";
|
|
20
23
|
export * from "./GetCodeSigningConfigCommand";
|
|
21
24
|
export * from "./GetEventSourceMappingCommand";
|
|
22
25
|
export * from "./GetFunctionCodeSigningConfigCommand";
|
|
@@ -25,6 +28,7 @@ export * from "./GetFunctionConcurrencyCommand";
|
|
|
25
28
|
export * from "./GetFunctionConfigurationCommand";
|
|
26
29
|
export * from "./GetFunctionEventInvokeConfigCommand";
|
|
27
30
|
export * from "./GetFunctionRecursionConfigCommand";
|
|
31
|
+
export * from "./GetFunctionScalingConfigCommand";
|
|
28
32
|
export * from "./GetFunctionUrlConfigCommand";
|
|
29
33
|
export * from "./GetLayerVersionByArnCommand";
|
|
30
34
|
export * from "./GetLayerVersionCommand";
|
|
@@ -36,10 +40,12 @@ export * from "./InvokeAsyncCommand";
|
|
|
36
40
|
export * from "./InvokeCommand";
|
|
37
41
|
export * from "./InvokeWithResponseStreamCommand";
|
|
38
42
|
export * from "./ListAliasesCommand";
|
|
43
|
+
export * from "./ListCapacityProvidersCommand";
|
|
39
44
|
export * from "./ListCodeSigningConfigsCommand";
|
|
40
45
|
export * from "./ListEventSourceMappingsCommand";
|
|
41
46
|
export * from "./ListFunctionEventInvokeConfigsCommand";
|
|
42
47
|
export * from "./ListFunctionUrlConfigsCommand";
|
|
48
|
+
export * from "./ListFunctionVersionsByCapacityProviderCommand";
|
|
43
49
|
export * from "./ListFunctionsByCodeSigningConfigCommand";
|
|
44
50
|
export * from "./ListFunctionsCommand";
|
|
45
51
|
export * from "./ListLayerVersionsCommand";
|
|
@@ -53,6 +59,7 @@ export * from "./PutFunctionCodeSigningConfigCommand";
|
|
|
53
59
|
export * from "./PutFunctionConcurrencyCommand";
|
|
54
60
|
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
55
61
|
export * from "./PutFunctionRecursionConfigCommand";
|
|
62
|
+
export * from "./PutFunctionScalingConfigCommand";
|
|
56
63
|
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
57
64
|
export * from "./PutRuntimeManagementConfigCommand";
|
|
58
65
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
@@ -60,6 +67,7 @@ export * from "./RemovePermissionCommand";
|
|
|
60
67
|
export * from "./TagResourceCommand";
|
|
61
68
|
export * from "./UntagResourceCommand";
|
|
62
69
|
export * from "./UpdateAliasCommand";
|
|
70
|
+
export * from "./UpdateCapacityProviderCommand";
|
|
63
71
|
export * from "./UpdateCodeSigningConfigCommand";
|
|
64
72
|
export * from "./UpdateEventSourceMappingCommand";
|
|
65
73
|
export * from "./UpdateFunctionCodeCommand";
|