@aws-sdk/client-lambda 3.939.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 +5 -5
package/dist-es/Lambda.js
CHANGED
|
@@ -2,11 +2,13 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
2
2
|
import { AddLayerVersionPermissionCommand, } from "./commands/AddLayerVersionPermissionCommand";
|
|
3
3
|
import { AddPermissionCommand, } from "./commands/AddPermissionCommand";
|
|
4
4
|
import { CreateAliasCommand } from "./commands/CreateAliasCommand";
|
|
5
|
+
import { CreateCapacityProviderCommand, } from "./commands/CreateCapacityProviderCommand";
|
|
5
6
|
import { CreateCodeSigningConfigCommand, } from "./commands/CreateCodeSigningConfigCommand";
|
|
6
7
|
import { CreateEventSourceMappingCommand, } from "./commands/CreateEventSourceMappingCommand";
|
|
7
8
|
import { CreateFunctionCommand, } from "./commands/CreateFunctionCommand";
|
|
8
9
|
import { CreateFunctionUrlConfigCommand, } from "./commands/CreateFunctionUrlConfigCommand";
|
|
9
10
|
import { DeleteAliasCommand } from "./commands/DeleteAliasCommand";
|
|
11
|
+
import { DeleteCapacityProviderCommand, } from "./commands/DeleteCapacityProviderCommand";
|
|
10
12
|
import { DeleteCodeSigningConfigCommand, } from "./commands/DeleteCodeSigningConfigCommand";
|
|
11
13
|
import { DeleteEventSourceMappingCommand, } from "./commands/DeleteEventSourceMappingCommand";
|
|
12
14
|
import { DeleteFunctionCodeSigningConfigCommand, } from "./commands/DeleteFunctionCodeSigningConfigCommand";
|
|
@@ -18,6 +20,7 @@ import { DeleteLayerVersionCommand, } from "./commands/DeleteLayerVersionCommand
|
|
|
18
20
|
import { DeleteProvisionedConcurrencyConfigCommand, } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
|
|
19
21
|
import { GetAccountSettingsCommand, } from "./commands/GetAccountSettingsCommand";
|
|
20
22
|
import { GetAliasCommand } from "./commands/GetAliasCommand";
|
|
23
|
+
import { GetCapacityProviderCommand, } from "./commands/GetCapacityProviderCommand";
|
|
21
24
|
import { GetCodeSigningConfigCommand, } from "./commands/GetCodeSigningConfigCommand";
|
|
22
25
|
import { GetEventSourceMappingCommand, } from "./commands/GetEventSourceMappingCommand";
|
|
23
26
|
import { GetFunctionCodeSigningConfigCommand, } from "./commands/GetFunctionCodeSigningConfigCommand";
|
|
@@ -26,6 +29,7 @@ import { GetFunctionConcurrencyCommand, } from "./commands/GetFunctionConcurrenc
|
|
|
26
29
|
import { GetFunctionConfigurationCommand, } from "./commands/GetFunctionConfigurationCommand";
|
|
27
30
|
import { GetFunctionEventInvokeConfigCommand, } from "./commands/GetFunctionEventInvokeConfigCommand";
|
|
28
31
|
import { GetFunctionRecursionConfigCommand, } from "./commands/GetFunctionRecursionConfigCommand";
|
|
32
|
+
import { GetFunctionScalingConfigCommand, } from "./commands/GetFunctionScalingConfigCommand";
|
|
29
33
|
import { GetFunctionUrlConfigCommand, } from "./commands/GetFunctionUrlConfigCommand";
|
|
30
34
|
import { GetLayerVersionByArnCommand, } from "./commands/GetLayerVersionByArnCommand";
|
|
31
35
|
import { GetLayerVersionCommand, } from "./commands/GetLayerVersionCommand";
|
|
@@ -37,12 +41,14 @@ import { InvokeAsyncCommand } from "./commands/InvokeAsyncCommand";
|
|
|
37
41
|
import { InvokeCommand } from "./commands/InvokeCommand";
|
|
38
42
|
import { InvokeWithResponseStreamCommand, } from "./commands/InvokeWithResponseStreamCommand";
|
|
39
43
|
import { ListAliasesCommand } from "./commands/ListAliasesCommand";
|
|
44
|
+
import { ListCapacityProvidersCommand, } from "./commands/ListCapacityProvidersCommand";
|
|
40
45
|
import { ListCodeSigningConfigsCommand, } from "./commands/ListCodeSigningConfigsCommand";
|
|
41
46
|
import { ListEventSourceMappingsCommand, } from "./commands/ListEventSourceMappingsCommand";
|
|
42
47
|
import { ListFunctionEventInvokeConfigsCommand, } from "./commands/ListFunctionEventInvokeConfigsCommand";
|
|
43
48
|
import { ListFunctionsByCodeSigningConfigCommand, } from "./commands/ListFunctionsByCodeSigningConfigCommand";
|
|
44
49
|
import { ListFunctionsCommand, } from "./commands/ListFunctionsCommand";
|
|
45
50
|
import { ListFunctionUrlConfigsCommand, } from "./commands/ListFunctionUrlConfigsCommand";
|
|
51
|
+
import { ListFunctionVersionsByCapacityProviderCommand, } from "./commands/ListFunctionVersionsByCapacityProviderCommand";
|
|
46
52
|
import { ListLayersCommand } from "./commands/ListLayersCommand";
|
|
47
53
|
import { ListLayerVersionsCommand, } from "./commands/ListLayerVersionsCommand";
|
|
48
54
|
import { ListProvisionedConcurrencyConfigsCommand, } from "./commands/ListProvisionedConcurrencyConfigsCommand";
|
|
@@ -54,6 +60,7 @@ import { PutFunctionCodeSigningConfigCommand, } from "./commands/PutFunctionCode
|
|
|
54
60
|
import { PutFunctionConcurrencyCommand, } from "./commands/PutFunctionConcurrencyCommand";
|
|
55
61
|
import { PutFunctionEventInvokeConfigCommand, } from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
56
62
|
import { PutFunctionRecursionConfigCommand, } from "./commands/PutFunctionRecursionConfigCommand";
|
|
63
|
+
import { PutFunctionScalingConfigCommand, } from "./commands/PutFunctionScalingConfigCommand";
|
|
57
64
|
import { PutProvisionedConcurrencyConfigCommand, } from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
58
65
|
import { PutRuntimeManagementConfigCommand, } from "./commands/PutRuntimeManagementConfigCommand";
|
|
59
66
|
import { RemoveLayerVersionPermissionCommand, } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
@@ -61,6 +68,7 @@ import { RemovePermissionCommand, } from "./commands/RemovePermissionCommand";
|
|
|
61
68
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
62
69
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
63
70
|
import { UpdateAliasCommand } from "./commands/UpdateAliasCommand";
|
|
71
|
+
import { UpdateCapacityProviderCommand, } from "./commands/UpdateCapacityProviderCommand";
|
|
64
72
|
import { UpdateCodeSigningConfigCommand, } from "./commands/UpdateCodeSigningConfigCommand";
|
|
65
73
|
import { UpdateEventSourceMappingCommand, } from "./commands/UpdateEventSourceMappingCommand";
|
|
66
74
|
import { UpdateFunctionCodeCommand, } from "./commands/UpdateFunctionCodeCommand";
|
|
@@ -72,11 +80,13 @@ const commands = {
|
|
|
72
80
|
AddLayerVersionPermissionCommand,
|
|
73
81
|
AddPermissionCommand,
|
|
74
82
|
CreateAliasCommand,
|
|
83
|
+
CreateCapacityProviderCommand,
|
|
75
84
|
CreateCodeSigningConfigCommand,
|
|
76
85
|
CreateEventSourceMappingCommand,
|
|
77
86
|
CreateFunctionCommand,
|
|
78
87
|
CreateFunctionUrlConfigCommand,
|
|
79
88
|
DeleteAliasCommand,
|
|
89
|
+
DeleteCapacityProviderCommand,
|
|
80
90
|
DeleteCodeSigningConfigCommand,
|
|
81
91
|
DeleteEventSourceMappingCommand,
|
|
82
92
|
DeleteFunctionCommand,
|
|
@@ -88,6 +98,7 @@ const commands = {
|
|
|
88
98
|
DeleteProvisionedConcurrencyConfigCommand,
|
|
89
99
|
GetAccountSettingsCommand,
|
|
90
100
|
GetAliasCommand,
|
|
101
|
+
GetCapacityProviderCommand,
|
|
91
102
|
GetCodeSigningConfigCommand,
|
|
92
103
|
GetEventSourceMappingCommand,
|
|
93
104
|
GetFunctionCommand,
|
|
@@ -96,6 +107,7 @@ const commands = {
|
|
|
96
107
|
GetFunctionConfigurationCommand,
|
|
97
108
|
GetFunctionEventInvokeConfigCommand,
|
|
98
109
|
GetFunctionRecursionConfigCommand,
|
|
110
|
+
GetFunctionScalingConfigCommand,
|
|
99
111
|
GetFunctionUrlConfigCommand,
|
|
100
112
|
GetLayerVersionCommand,
|
|
101
113
|
GetLayerVersionByArnCommand,
|
|
@@ -107,12 +119,14 @@ const commands = {
|
|
|
107
119
|
InvokeAsyncCommand,
|
|
108
120
|
InvokeWithResponseStreamCommand,
|
|
109
121
|
ListAliasesCommand,
|
|
122
|
+
ListCapacityProvidersCommand,
|
|
110
123
|
ListCodeSigningConfigsCommand,
|
|
111
124
|
ListEventSourceMappingsCommand,
|
|
112
125
|
ListFunctionEventInvokeConfigsCommand,
|
|
113
126
|
ListFunctionsCommand,
|
|
114
127
|
ListFunctionsByCodeSigningConfigCommand,
|
|
115
128
|
ListFunctionUrlConfigsCommand,
|
|
129
|
+
ListFunctionVersionsByCapacityProviderCommand,
|
|
116
130
|
ListLayersCommand,
|
|
117
131
|
ListLayerVersionsCommand,
|
|
118
132
|
ListProvisionedConcurrencyConfigsCommand,
|
|
@@ -124,6 +138,7 @@ const commands = {
|
|
|
124
138
|
PutFunctionConcurrencyCommand,
|
|
125
139
|
PutFunctionEventInvokeConfigCommand,
|
|
126
140
|
PutFunctionRecursionConfigCommand,
|
|
141
|
+
PutFunctionScalingConfigCommand,
|
|
127
142
|
PutProvisionedConcurrencyConfigCommand,
|
|
128
143
|
PutRuntimeManagementConfigCommand,
|
|
129
144
|
RemoveLayerVersionPermissionCommand,
|
|
@@ -131,6 +146,7 @@ const commands = {
|
|
|
131
146
|
TagResourceCommand,
|
|
132
147
|
UntagResourceCommand,
|
|
133
148
|
UpdateAliasCommand,
|
|
149
|
+
UpdateCapacityProviderCommand,
|
|
134
150
|
UpdateCodeSigningConfigCommand,
|
|
135
151
|
UpdateEventSourceMappingCommand,
|
|
136
152
|
UpdateFunctionCodeCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateCapacityProvider } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateCapacityProviderCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSGirApiService", "CreateCapacityProvider", {})
|
|
13
|
+
.n("LambdaClient", "CreateCapacityProviderCommand")
|
|
14
|
+
.sc(CreateCapacityProvider)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteCapacityProvider } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteCapacityProviderCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSGirApiService", "DeleteCapacityProvider", {})
|
|
13
|
+
.n("LambdaClient", "DeleteCapacityProviderCommand")
|
|
14
|
+
.sc(DeleteCapacityProvider)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetCapacityProvider } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetCapacityProviderCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSGirApiService", "GetCapacityProvider", {})
|
|
13
|
+
.n("LambdaClient", "GetCapacityProviderCommand")
|
|
14
|
+
.sc(GetCapacityProvider)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetFunctionScalingConfig } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetFunctionScalingConfigCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSGirApiService", "GetFunctionScalingConfig", {})
|
|
13
|
+
.n("LambdaClient", "GetFunctionScalingConfigCommand")
|
|
14
|
+
.sc(GetFunctionScalingConfig)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListCapacityProviders } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListCapacityProvidersCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSGirApiService", "ListCapacityProviders", {})
|
|
13
|
+
.n("LambdaClient", "ListCapacityProvidersCommand")
|
|
14
|
+
.sc(ListCapacityProviders)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListFunctionVersionsByCapacityProvider } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListFunctionVersionsByCapacityProviderCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSGirApiService", "ListFunctionVersionsByCapacityProvider", {})
|
|
13
|
+
.n("LambdaClient", "ListFunctionVersionsByCapacityProviderCommand")
|
|
14
|
+
.sc(ListFunctionVersionsByCapacityProvider)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PutFunctionScalingConfig } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PutFunctionScalingConfigCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSGirApiService", "PutFunctionScalingConfig", {})
|
|
13
|
+
.n("LambdaClient", "PutFunctionScalingConfigCommand")
|
|
14
|
+
.sc(PutFunctionScalingConfig)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateCapacityProvider } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateCapacityProviderCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSGirApiService", "UpdateCapacityProvider", {})
|
|
13
|
+
.n("LambdaClient", "UpdateCapacityProviderCommand")
|
|
14
|
+
.sc(UpdateCapacityProvider)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -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";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -35,6 +35,29 @@ export const Architecture = {
|
|
|
35
35
|
arm64: "arm64",
|
|
36
36
|
x86_64: "x86_64",
|
|
37
37
|
};
|
|
38
|
+
export const CapacityProviderScalingMode = {
|
|
39
|
+
Auto: "Auto",
|
|
40
|
+
Manual: "Manual",
|
|
41
|
+
};
|
|
42
|
+
export const CapacityProviderPredefinedMetricType = {
|
|
43
|
+
LambdaCapacityProviderAverageCPUUtilization: "LambdaCapacityProviderAverageCPUUtilization",
|
|
44
|
+
};
|
|
45
|
+
export const CapacityProviderState = {
|
|
46
|
+
Active: "Active",
|
|
47
|
+
Deleting: "Deleting",
|
|
48
|
+
Failed: "Failed",
|
|
49
|
+
Pending: "Pending",
|
|
50
|
+
};
|
|
51
|
+
export const State = {
|
|
52
|
+
Active: "Active",
|
|
53
|
+
ActiveNonInvocable: "ActiveNonInvocable",
|
|
54
|
+
Deactivated: "Deactivated",
|
|
55
|
+
Deactivating: "Deactivating",
|
|
56
|
+
Deleting: "Deleting",
|
|
57
|
+
Failed: "Failed",
|
|
58
|
+
Inactive: "Inactive",
|
|
59
|
+
Pending: "Pending",
|
|
60
|
+
};
|
|
38
61
|
export const CodeSigningPolicy = {
|
|
39
62
|
Enforce: "Enforce",
|
|
40
63
|
Warn: "Warn",
|
|
@@ -80,6 +103,9 @@ export const PackageType = {
|
|
|
80
103
|
Image: "Image",
|
|
81
104
|
Zip: "Zip",
|
|
82
105
|
};
|
|
106
|
+
export const FunctionVersionLatestPublished = {
|
|
107
|
+
LATEST_PUBLISHED: "LATEST_PUBLISHED",
|
|
108
|
+
};
|
|
83
109
|
export const Runtime = {
|
|
84
110
|
dotnet6: "dotnet6",
|
|
85
111
|
dotnet8: "dotnet8",
|
|
@@ -143,15 +169,26 @@ export const LastUpdateStatus = {
|
|
|
143
169
|
Successful: "Successful",
|
|
144
170
|
};
|
|
145
171
|
export const LastUpdateStatusReasonCode = {
|
|
172
|
+
CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded",
|
|
146
173
|
DisabledKMSKey: "DisabledKMSKey",
|
|
174
|
+
EC2RequestLimitExceeded: "EC2RequestLimitExceeded",
|
|
147
175
|
EFSIOError: "EFSIOError",
|
|
148
176
|
EFSMountConnectivityError: "EFSMountConnectivityError",
|
|
149
177
|
EFSMountFailure: "EFSMountFailure",
|
|
150
178
|
EFSMountTimeout: "EFSMountTimeout",
|
|
151
179
|
EniLimitExceeded: "EniLimitExceeded",
|
|
152
180
|
FunctionError: "FunctionError",
|
|
181
|
+
FunctionErrorExtensionInitError: "FunctionError.ExtensionInitError",
|
|
182
|
+
FunctionErrorInitResourceExhausted: "FunctionError.InitResourceExhausted",
|
|
183
|
+
FunctionErrorInitTimeout: "FunctionError.InitTimeout",
|
|
184
|
+
FunctionErrorInvalidEntryPoint: "FunctionError.InvalidEntryPoint",
|
|
185
|
+
FunctionErrorInvalidWorkingDirectory: "FunctionError.InvalidWorkingDirectory",
|
|
186
|
+
FunctionErrorPermissionDenied: "FunctionError.PermissionDenied",
|
|
187
|
+
FunctionErrorRuntimeInitError: "FunctionError.RuntimeInitError",
|
|
188
|
+
FunctionErrorTooManyExtensions: "FunctionError.TooManyExtensions",
|
|
153
189
|
ImageAccessDenied: "ImageAccessDenied",
|
|
154
190
|
ImageDeleted: "ImageDeleted",
|
|
191
|
+
InsufficientCapacity: "InsufficientCapacity",
|
|
155
192
|
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
156
193
|
InternalError: "InternalError",
|
|
157
194
|
InvalidConfiguration: "InvalidConfiguration",
|
|
@@ -164,29 +201,35 @@ export const LastUpdateStatusReasonCode = {
|
|
|
164
201
|
KMSKeyAccessDenied: "KMSKeyAccessDenied",
|
|
165
202
|
KMSKeyNotFound: "KMSKeyNotFound",
|
|
166
203
|
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
204
|
+
VcpuLimitExceeded: "VcpuLimitExceeded",
|
|
167
205
|
};
|
|
168
206
|
export const SnapStartOptimizationStatus = {
|
|
169
207
|
Off: "Off",
|
|
170
208
|
On: "On",
|
|
171
209
|
};
|
|
172
|
-
export const State = {
|
|
173
|
-
Active: "Active",
|
|
174
|
-
Failed: "Failed",
|
|
175
|
-
Inactive: "Inactive",
|
|
176
|
-
Pending: "Pending",
|
|
177
|
-
};
|
|
178
210
|
export const StateReasonCode = {
|
|
211
|
+
CapacityProviderScalingLimitExceeded: "CapacityProviderScalingLimitExceeded",
|
|
179
212
|
Creating: "Creating",
|
|
180
213
|
DisabledKMSKey: "DisabledKMSKey",
|
|
214
|
+
EC2RequestLimitExceeded: "EC2RequestLimitExceeded",
|
|
181
215
|
EFSIOError: "EFSIOError",
|
|
182
216
|
EFSMountConnectivityError: "EFSMountConnectivityError",
|
|
183
217
|
EFSMountFailure: "EFSMountFailure",
|
|
184
218
|
EFSMountTimeout: "EFSMountTimeout",
|
|
185
219
|
EniLimitExceeded: "EniLimitExceeded",
|
|
186
220
|
FunctionError: "FunctionError",
|
|
221
|
+
FunctionErrorExtensionInitError: "FunctionError.ExtensionInitError",
|
|
222
|
+
FunctionErrorInitResourceExhausted: "FunctionError.InitResourceExhausted",
|
|
223
|
+
FunctionErrorInitTimeout: "FunctionError.InitTimeout",
|
|
224
|
+
FunctionErrorInvalidEntryPoint: "FunctionError.InvalidEntryPoint",
|
|
225
|
+
FunctionErrorInvalidWorkingDirectory: "FunctionError.InvalidWorkingDirectory",
|
|
226
|
+
FunctionErrorPermissionDenied: "FunctionError.PermissionDenied",
|
|
227
|
+
FunctionErrorRuntimeInitError: "FunctionError.RuntimeInitError",
|
|
228
|
+
FunctionErrorTooManyExtensions: "FunctionError.TooManyExtensions",
|
|
187
229
|
Idle: "Idle",
|
|
188
230
|
ImageAccessDenied: "ImageAccessDenied",
|
|
189
231
|
ImageDeleted: "ImageDeleted",
|
|
232
|
+
InsufficientCapacity: "InsufficientCapacity",
|
|
190
233
|
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
191
234
|
InternalError: "InternalError",
|
|
192
235
|
InvalidConfiguration: "InvalidConfiguration",
|
|
@@ -200,6 +243,7 @@ export const StateReasonCode = {
|
|
|
200
243
|
KMSKeyNotFound: "KMSKeyNotFound",
|
|
201
244
|
Restoring: "Restoring",
|
|
202
245
|
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
246
|
+
VcpuLimitExceeded: "VcpuLimitExceeded",
|
|
203
247
|
};
|
|
204
248
|
export const InvokeMode = {
|
|
205
249
|
BUFFERED: "BUFFERED",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -105,6 +105,20 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
105
105
|
this.Reason = opts.Reason;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
+
export class CapacityProviderLimitExceededException extends __BaseException {
|
|
109
|
+
name = "CapacityProviderLimitExceededException";
|
|
110
|
+
$fault = "client";
|
|
111
|
+
Type;
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "CapacityProviderLimitExceededException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, CapacityProviderLimitExceededException.prototype);
|
|
119
|
+
this.Type = opts.Type;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
108
122
|
export class ResourceInUseException extends __BaseException {
|
|
109
123
|
name = "ResourceInUseException";
|
|
110
124
|
$fault = "client";
|
|
@@ -167,6 +181,20 @@ export class CodeVerificationFailedException extends __BaseException {
|
|
|
167
181
|
this.Message = opts.Message;
|
|
168
182
|
}
|
|
169
183
|
}
|
|
184
|
+
export class FunctionVersionsPerCapacityProviderLimitExceededException extends __BaseException {
|
|
185
|
+
name = "FunctionVersionsPerCapacityProviderLimitExceededException";
|
|
186
|
+
$fault = "client";
|
|
187
|
+
Type;
|
|
188
|
+
constructor(opts) {
|
|
189
|
+
super({
|
|
190
|
+
name: "FunctionVersionsPerCapacityProviderLimitExceededException",
|
|
191
|
+
$fault: "client",
|
|
192
|
+
...opts,
|
|
193
|
+
});
|
|
194
|
+
Object.setPrototypeOf(this, FunctionVersionsPerCapacityProviderLimitExceededException.prototype);
|
|
195
|
+
this.Type = opts.Type;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
170
198
|
export class InvalidCodeSignatureException extends __BaseException {
|
|
171
199
|
name = "InvalidCodeSignatureException";
|
|
172
200
|
$fault = "client";
|
|
@@ -455,6 +483,22 @@ export class KMSNotFoundException extends __BaseException {
|
|
|
455
483
|
this.Message = opts.Message;
|
|
456
484
|
}
|
|
457
485
|
}
|
|
486
|
+
export class NoPublishedVersionException extends __BaseException {
|
|
487
|
+
name = "NoPublishedVersionException";
|
|
488
|
+
$fault = "client";
|
|
489
|
+
Type;
|
|
490
|
+
Message;
|
|
491
|
+
constructor(opts) {
|
|
492
|
+
super({
|
|
493
|
+
name: "NoPublishedVersionException",
|
|
494
|
+
$fault: "client",
|
|
495
|
+
...opts,
|
|
496
|
+
});
|
|
497
|
+
Object.setPrototypeOf(this, NoPublishedVersionException.prototype);
|
|
498
|
+
this.Type = opts.Type;
|
|
499
|
+
this.Message = opts.Message;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
458
502
|
export class RecursiveInvocationException extends __BaseException {
|
|
459
503
|
name = "RecursiveInvocationException";
|
|
460
504
|
$fault = "client";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCapacityProvidersCommand, } from "../commands/ListCapacityProvidersCommand";
|
|
3
|
+
import { LambdaClient } from "../LambdaClient";
|
|
4
|
+
export const paginateListCapacityProviders = createPaginator(LambdaClient, ListCapacityProvidersCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListFunctionVersionsByCapacityProviderCommand, } from "../commands/ListFunctionVersionsByCapacityProviderCommand";
|
|
3
|
+
import { LambdaClient } from "../LambdaClient";
|
|
4
|
+
export const paginateListFunctionVersionsByCapacityProvider = createPaginator(LambdaClient, ListFunctionVersionsByCapacityProviderCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAliasesPaginator";
|
|
3
|
+
export * from "./ListCapacityProvidersPaginator";
|
|
3
4
|
export * from "./ListCodeSigningConfigsPaginator";
|
|
4
5
|
export * from "./ListEventSourceMappingsPaginator";
|
|
5
6
|
export * from "./ListFunctionEventInvokeConfigsPaginator";
|
|
6
7
|
export * from "./ListFunctionUrlConfigsPaginator";
|
|
8
|
+
export * from "./ListFunctionVersionsByCapacityProviderPaginator";
|
|
7
9
|
export * from "./ListFunctionsByCodeSigningConfigPaginator";
|
|
8
10
|
export * from "./ListFunctionsPaginator";
|
|
9
11
|
export * from "./ListLayerVersionsPaginator";
|