@aws-sdk/client-lambda-core 3.1167.0 → 3.1169.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 +120 -8
- package/dist-cjs/index.js +649 -18
- package/dist-es/LambdaCore.js +45 -1
- package/dist-es/commands/CreateRuntimeAliasCommand.js +4 -0
- package/dist-es/commands/CreateRuntimeCommand.js +4 -0
- package/dist-es/commands/CreateRuntimeVersionCommand.js +4 -0
- package/dist-es/commands/DeleteRuntimeAliasCommand.js +4 -0
- package/dist-es/commands/DeleteRuntimeCommand.js +4 -0
- package/dist-es/commands/DeleteRuntimeVersionCommand.js +4 -0
- package/dist-es/commands/GetRuntimeAliasCommand.js +4 -0
- package/dist-es/commands/GetRuntimeCommand.js +4 -0
- package/dist-es/commands/GetRuntimeVersionCommand.js +4 -0
- package/dist-es/commands/ListRuntimeAliasesCommand.js +4 -0
- package/dist-es/commands/ListRuntimeVersionsCommand.js +4 -0
- package/dist-es/commands/ListRuntimesCommand.js +4 -0
- package/dist-es/commands/RestoreRuntimeCommand.js +4 -0
- package/dist-es/commands/UpdateRuntimeAliasCommand.js +4 -0
- package/dist-es/commands/UpdateRuntimeCommand.js +4 -0
- package/dist-es/commands/UpdateRuntimeVersionCommand.js +4 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +36 -0
- package/dist-es/models/errors.js +17 -0
- package/dist-es/pagination/ListRuntimeAliasesPaginator.js +4 -0
- package/dist-es/pagination/ListRuntimeVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListRuntimesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +365 -16
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForRuntimeAliasActive.js +31 -0
- package/dist-es/waiters/waitForRuntimeVersionActive.js +40 -0
- package/dist-types/LambdaCore.d.ts +149 -2
- package/dist-types/LambdaCoreClient.d.ts +19 -3
- package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuntimeAliasCommand.d.ts +136 -0
- package/dist-types/commands/CreateRuntimeCommand.d.ts +133 -0
- package/dist-types/commands/CreateRuntimeVersionCommand.d.ts +156 -0
- package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRuntimeAliasCommand.d.ts +100 -0
- package/dist-types/commands/DeleteRuntimeCommand.d.ts +98 -0
- package/dist-types/commands/DeleteRuntimeVersionCommand.d.ts +100 -0
- package/dist-types/commands/GetNetworkConnectorCommand.d.ts +1 -1
- package/dist-types/commands/GetRuntimeAliasCommand.d.ts +143 -0
- package/dist-types/commands/GetRuntimeCommand.d.ts +120 -0
- package/dist-types/commands/GetRuntimeVersionCommand.d.ts +151 -0
- package/dist-types/commands/ListNetworkConnectorVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListRuntimeAliasesCommand.d.ts +140 -0
- package/dist-types/commands/ListRuntimeVersionsCommand.d.ts +132 -0
- package/dist-types/commands/ListRuntimesCommand.d.ts +126 -0
- package/dist-types/commands/RestoreRuntimeCommand.d.ts +137 -0
- package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRuntimeAliasCommand.d.ts +143 -0
- package/dist-types/commands/UpdateRuntimeCommand.d.ts +132 -0
- package/dist-types/commands/UpdateRuntimeVersionCommand.d.ts +133 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/enums.d.ts +158 -0
- package/dist-types/models/errors.d.ts +33 -2
- package/dist-types/models/models_0.d.ts +1122 -1
- package/dist-types/pagination/ListRuntimeAliasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRuntimeVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRuntimesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +55 -0
- package/dist-types/ts3.4/LambdaCore.d.ts +311 -0
- package/dist-types/ts3.4/LambdaCoreClient.d.ts +95 -2
- package/dist-types/ts3.4/commands/CreateRuntimeAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateRuntimeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateRuntimeVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteRuntimeAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteRuntimeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteRuntimeVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetRuntimeAliasCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRuntimeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRuntimeVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRuntimeAliasesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRuntimeVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRuntimesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RestoreRuntimeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRuntimeAliasCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateRuntimeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRuntimeVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +43 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +265 -0
- package/dist-types/ts3.4/pagination/ListRuntimeAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRuntimeVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRuntimesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForRuntimeAliasActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForRuntimeVersionActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForRuntimeAliasActive.d.ts +15 -0
- package/dist-types/waiters/waitForRuntimeVersionActive.d.ts +15 -0
- package/package.json +1 -1
package/dist-es/LambdaCore.js
CHANGED
|
@@ -1,25 +1,69 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { CreateNetworkConnectorCommand, } from "./commands/CreateNetworkConnectorCommand";
|
|
3
|
+
import { CreateRuntimeAliasCommand, } from "./commands/CreateRuntimeAliasCommand";
|
|
4
|
+
import { CreateRuntimeCommand, } from "./commands/CreateRuntimeCommand";
|
|
5
|
+
import { CreateRuntimeVersionCommand, } from "./commands/CreateRuntimeVersionCommand";
|
|
3
6
|
import { DeleteNetworkConnectorCommand, } from "./commands/DeleteNetworkConnectorCommand";
|
|
7
|
+
import { DeleteRuntimeAliasCommand, } from "./commands/DeleteRuntimeAliasCommand";
|
|
8
|
+
import { DeleteRuntimeCommand, } from "./commands/DeleteRuntimeCommand";
|
|
9
|
+
import { DeleteRuntimeVersionCommand, } from "./commands/DeleteRuntimeVersionCommand";
|
|
4
10
|
import { GetNetworkConnectorCommand, } from "./commands/GetNetworkConnectorCommand";
|
|
11
|
+
import { GetRuntimeAliasCommand, } from "./commands/GetRuntimeAliasCommand";
|
|
12
|
+
import { GetRuntimeCommand, } from "./commands/GetRuntimeCommand";
|
|
13
|
+
import { GetRuntimeVersionCommand, } from "./commands/GetRuntimeVersionCommand";
|
|
5
14
|
import { ListNetworkConnectorsCommand, } from "./commands/ListNetworkConnectorsCommand";
|
|
6
15
|
import { ListNetworkConnectorVersionsCommand, } from "./commands/ListNetworkConnectorVersionsCommand";
|
|
16
|
+
import { ListRuntimeAliasesCommand, } from "./commands/ListRuntimeAliasesCommand";
|
|
17
|
+
import { ListRuntimesCommand, } from "./commands/ListRuntimesCommand";
|
|
18
|
+
import { ListRuntimeVersionsCommand, } from "./commands/ListRuntimeVersionsCommand";
|
|
19
|
+
import { RestoreRuntimeCommand, } from "./commands/RestoreRuntimeCommand";
|
|
7
20
|
import { UpdateNetworkConnectorCommand, } from "./commands/UpdateNetworkConnectorCommand";
|
|
21
|
+
import { UpdateRuntimeAliasCommand, } from "./commands/UpdateRuntimeAliasCommand";
|
|
22
|
+
import { UpdateRuntimeCommand, } from "./commands/UpdateRuntimeCommand";
|
|
23
|
+
import { UpdateRuntimeVersionCommand, } from "./commands/UpdateRuntimeVersionCommand";
|
|
8
24
|
import { LambdaCoreClient } from "./LambdaCoreClient";
|
|
9
25
|
import { paginateListNetworkConnectors } from "./pagination/ListNetworkConnectorsPaginator";
|
|
10
26
|
import { paginateListNetworkConnectorVersions } from "./pagination/ListNetworkConnectorVersionsPaginator";
|
|
27
|
+
import { paginateListRuntimeAliases } from "./pagination/ListRuntimeAliasesPaginator";
|
|
28
|
+
import { paginateListRuntimes } from "./pagination/ListRuntimesPaginator";
|
|
29
|
+
import { paginateListRuntimeVersions } from "./pagination/ListRuntimeVersionsPaginator";
|
|
30
|
+
import { waitUntilRuntimeAliasActive } from "./waiters/waitForRuntimeAliasActive";
|
|
31
|
+
import { waitUntilRuntimeVersionActive } from "./waiters/waitForRuntimeVersionActive";
|
|
11
32
|
const commands = {
|
|
12
33
|
CreateNetworkConnectorCommand,
|
|
34
|
+
CreateRuntimeCommand,
|
|
35
|
+
CreateRuntimeAliasCommand,
|
|
36
|
+
CreateRuntimeVersionCommand,
|
|
13
37
|
DeleteNetworkConnectorCommand,
|
|
38
|
+
DeleteRuntimeCommand,
|
|
39
|
+
DeleteRuntimeAliasCommand,
|
|
40
|
+
DeleteRuntimeVersionCommand,
|
|
14
41
|
GetNetworkConnectorCommand,
|
|
42
|
+
GetRuntimeCommand,
|
|
43
|
+
GetRuntimeAliasCommand,
|
|
44
|
+
GetRuntimeVersionCommand,
|
|
15
45
|
ListNetworkConnectorsCommand,
|
|
16
46
|
ListNetworkConnectorVersionsCommand,
|
|
47
|
+
ListRuntimeAliasesCommand,
|
|
48
|
+
ListRuntimesCommand,
|
|
49
|
+
ListRuntimeVersionsCommand,
|
|
50
|
+
RestoreRuntimeCommand,
|
|
17
51
|
UpdateNetworkConnectorCommand,
|
|
52
|
+
UpdateRuntimeCommand,
|
|
53
|
+
UpdateRuntimeAliasCommand,
|
|
54
|
+
UpdateRuntimeVersionCommand,
|
|
18
55
|
};
|
|
19
56
|
const paginators = {
|
|
20
57
|
paginateListNetworkConnectors,
|
|
21
58
|
paginateListNetworkConnectorVersions,
|
|
59
|
+
paginateListRuntimeAliases,
|
|
60
|
+
paginateListRuntimes,
|
|
61
|
+
paginateListRuntimeVersions,
|
|
62
|
+
};
|
|
63
|
+
const waiters = {
|
|
64
|
+
waitUntilRuntimeAliasActive,
|
|
65
|
+
waitUntilRuntimeVersionActive,
|
|
22
66
|
};
|
|
23
67
|
export class LambdaCore extends LambdaCoreClient {
|
|
24
68
|
}
|
|
25
|
-
createAggregatedClient(commands, LambdaCore, { paginators });
|
|
69
|
+
createAggregatedClient(commands, LambdaCore, { paginators, waiters });
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
export * from "./CreateNetworkConnectorCommand";
|
|
2
|
+
export * from "./CreateRuntimeAliasCommand";
|
|
3
|
+
export * from "./CreateRuntimeCommand";
|
|
4
|
+
export * from "./CreateRuntimeVersionCommand";
|
|
2
5
|
export * from "./DeleteNetworkConnectorCommand";
|
|
6
|
+
export * from "./DeleteRuntimeAliasCommand";
|
|
7
|
+
export * from "./DeleteRuntimeCommand";
|
|
8
|
+
export * from "./DeleteRuntimeVersionCommand";
|
|
3
9
|
export * from "./GetNetworkConnectorCommand";
|
|
10
|
+
export * from "./GetRuntimeAliasCommand";
|
|
11
|
+
export * from "./GetRuntimeCommand";
|
|
12
|
+
export * from "./GetRuntimeVersionCommand";
|
|
4
13
|
export * from "./ListNetworkConnectorVersionsCommand";
|
|
5
14
|
export * from "./ListNetworkConnectorsCommand";
|
|
15
|
+
export * from "./ListRuntimeAliasesCommand";
|
|
16
|
+
export * from "./ListRuntimeVersionsCommand";
|
|
17
|
+
export * from "./ListRuntimesCommand";
|
|
18
|
+
export * from "./RestoreRuntimeCommand";
|
|
6
19
|
export * from "./UpdateNetworkConnectorCommand";
|
|
20
|
+
export * from "./UpdateRuntimeAliasCommand";
|
|
21
|
+
export * from "./UpdateRuntimeCommand";
|
|
22
|
+
export * from "./UpdateRuntimeVersionCommand";
|
package/dist-es/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export * from "./LambdaCore";
|
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export { Command as $Command } from "@smithy/core/client";
|
|
5
5
|
export * from "./pagination";
|
|
6
|
+
export * from "./waiters";
|
|
6
7
|
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -2,6 +2,17 @@ export const ComputeResourceType = {
|
|
|
2
2
|
MicroVm: "MicroVm",
|
|
3
3
|
WebFunction: "WebFunction",
|
|
4
4
|
};
|
|
5
|
+
export const RuntimeArchitecture = {
|
|
6
|
+
arm64: "arm64",
|
|
7
|
+
x86_64: "x86_64",
|
|
8
|
+
};
|
|
9
|
+
export const IntegrationModel = {
|
|
10
|
+
RUNTIME_API: "RuntimeAPI",
|
|
11
|
+
};
|
|
12
|
+
export const CompatibilityPolicy = {
|
|
13
|
+
NOT_SUPPORTED: "NotSupported",
|
|
14
|
+
SUPPORTED: "Supported",
|
|
15
|
+
};
|
|
5
16
|
export const NetworkProtocol = {
|
|
6
17
|
DualStack: "DualStack",
|
|
7
18
|
IPv4: "IPv4",
|
|
@@ -22,6 +33,25 @@ export const ThrottleReason = {
|
|
|
22
33
|
ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded",
|
|
23
34
|
ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded",
|
|
24
35
|
};
|
|
36
|
+
export const RuntimeReleaseState = {
|
|
37
|
+
DEPRECATED: "DEPRECATED",
|
|
38
|
+
GA: "GA",
|
|
39
|
+
PREVIEW: "PREVIEW",
|
|
40
|
+
};
|
|
41
|
+
export const RuntimeAliasState = {
|
|
42
|
+
ACTIVE: "ACTIVE",
|
|
43
|
+
CREATING: "CREATING",
|
|
44
|
+
DELETING: "DELETING",
|
|
45
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
46
|
+
UPDATING: "UPDATING",
|
|
47
|
+
};
|
|
48
|
+
export const RuntimeVersionState = {
|
|
49
|
+
ACTIVE: "ACTIVE",
|
|
50
|
+
CREATING: "CREATING",
|
|
51
|
+
DELETING: "DELETING",
|
|
52
|
+
FAILED: "FAILED",
|
|
53
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
54
|
+
};
|
|
25
55
|
export const NetworkConnectorLastUpdateStatus = {
|
|
26
56
|
Failed: "Failed",
|
|
27
57
|
InProgress: "InProgress",
|
|
@@ -47,6 +77,12 @@ export const NetworkConnectorStateReasonCode = {
|
|
|
47
77
|
SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded",
|
|
48
78
|
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
49
79
|
};
|
|
80
|
+
export const RuntimeState = {
|
|
81
|
+
ACTIVE: "ACTIVE",
|
|
82
|
+
DELETING: "DELETING",
|
|
83
|
+
FAILED: "FAILED",
|
|
84
|
+
PENDING_DELETION: "PENDING_DELETION",
|
|
85
|
+
};
|
|
50
86
|
export const NetworkConnectorType = {
|
|
51
87
|
VPC_EGRESS: "VPC_EGRESS",
|
|
52
88
|
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -80,6 +80,23 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
80
80
|
this.Reason = opts.Reason;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
84
|
+
static shapeId = "com.amazonaws.lambdacore#ServiceQuotaExceededException";
|
|
85
|
+
name = "ServiceQuotaExceededException";
|
|
86
|
+
$fault = "client";
|
|
87
|
+
Type;
|
|
88
|
+
Message;
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "ServiceQuotaExceededException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
96
|
+
this.Type = opts.Type;
|
|
97
|
+
this.Message = opts.Message;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
83
100
|
export class ResourceNotFoundException extends __BaseException {
|
|
84
101
|
static shapeId = "com.amazonaws.lambdacore#ResourceNotFoundException";
|
|
85
102
|
name = "ResourceNotFoundException";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListRuntimeAliasesCommand, } from "../commands/ListRuntimeAliasesCommand";
|
|
3
|
+
import { LambdaCoreClient } from "../LambdaCoreClient";
|
|
4
|
+
export const paginateListRuntimeAliases = createPaginator(LambdaCoreClient, ListRuntimeAliasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListRuntimeVersionsCommand, } from "../commands/ListRuntimeVersionsCommand";
|
|
3
|
+
import { LambdaCoreClient } from "../LambdaCoreClient";
|
|
4
|
+
export const paginateListRuntimeVersions = createPaginator(LambdaCoreClient, ListRuntimeVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListRuntimesCommand, } from "../commands/ListRuntimesCommand";
|
|
3
|
+
import { LambdaCoreClient } from "../LambdaCoreClient";
|
|
4
|
+
export const paginateListRuntimes = createPaginator(LambdaCoreClient, ListRuntimesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListNetworkConnectorsPaginator";
|
|
3
3
|
export * from "./ListNetworkConnectorVersionsPaginator";
|
|
4
|
+
export * from "./ListRuntimeAliasesPaginator";
|
|
5
|
+
export * from "./ListRuntimesPaginator";
|
|
6
|
+
export * from "./ListRuntimeVersionsPaginator";
|