@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.
Files changed (99) hide show
  1. package/README.md +120 -8
  2. package/dist-cjs/index.js +649 -18
  3. package/dist-es/LambdaCore.js +45 -1
  4. package/dist-es/commands/CreateRuntimeAliasCommand.js +4 -0
  5. package/dist-es/commands/CreateRuntimeCommand.js +4 -0
  6. package/dist-es/commands/CreateRuntimeVersionCommand.js +4 -0
  7. package/dist-es/commands/DeleteRuntimeAliasCommand.js +4 -0
  8. package/dist-es/commands/DeleteRuntimeCommand.js +4 -0
  9. package/dist-es/commands/DeleteRuntimeVersionCommand.js +4 -0
  10. package/dist-es/commands/GetRuntimeAliasCommand.js +4 -0
  11. package/dist-es/commands/GetRuntimeCommand.js +4 -0
  12. package/dist-es/commands/GetRuntimeVersionCommand.js +4 -0
  13. package/dist-es/commands/ListRuntimeAliasesCommand.js +4 -0
  14. package/dist-es/commands/ListRuntimeVersionsCommand.js +4 -0
  15. package/dist-es/commands/ListRuntimesCommand.js +4 -0
  16. package/dist-es/commands/RestoreRuntimeCommand.js +4 -0
  17. package/dist-es/commands/UpdateRuntimeAliasCommand.js +4 -0
  18. package/dist-es/commands/UpdateRuntimeCommand.js +4 -0
  19. package/dist-es/commands/UpdateRuntimeVersionCommand.js +4 -0
  20. package/dist-es/commands/index.js +16 -0
  21. package/dist-es/index.js +1 -0
  22. package/dist-es/models/enums.js +36 -0
  23. package/dist-es/models/errors.js +17 -0
  24. package/dist-es/pagination/ListRuntimeAliasesPaginator.js +4 -0
  25. package/dist-es/pagination/ListRuntimeVersionsPaginator.js +4 -0
  26. package/dist-es/pagination/ListRuntimesPaginator.js +4 -0
  27. package/dist-es/pagination/index.js +3 -0
  28. package/dist-es/schemas/schemas_0.js +365 -16
  29. package/dist-es/waiters/index.js +2 -0
  30. package/dist-es/waiters/waitForRuntimeAliasActive.js +31 -0
  31. package/dist-es/waiters/waitForRuntimeVersionActive.js +40 -0
  32. package/dist-types/LambdaCore.d.ts +149 -2
  33. package/dist-types/LambdaCoreClient.d.ts +19 -3
  34. package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateRuntimeAliasCommand.d.ts +136 -0
  36. package/dist-types/commands/CreateRuntimeCommand.d.ts +133 -0
  37. package/dist-types/commands/CreateRuntimeVersionCommand.d.ts +156 -0
  38. package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +2 -2
  39. package/dist-types/commands/DeleteRuntimeAliasCommand.d.ts +100 -0
  40. package/dist-types/commands/DeleteRuntimeCommand.d.ts +98 -0
  41. package/dist-types/commands/DeleteRuntimeVersionCommand.d.ts +100 -0
  42. package/dist-types/commands/GetNetworkConnectorCommand.d.ts +1 -1
  43. package/dist-types/commands/GetRuntimeAliasCommand.d.ts +143 -0
  44. package/dist-types/commands/GetRuntimeCommand.d.ts +120 -0
  45. package/dist-types/commands/GetRuntimeVersionCommand.d.ts +151 -0
  46. package/dist-types/commands/ListNetworkConnectorVersionsCommand.d.ts +1 -1
  47. package/dist-types/commands/ListRuntimeAliasesCommand.d.ts +140 -0
  48. package/dist-types/commands/ListRuntimeVersionsCommand.d.ts +132 -0
  49. package/dist-types/commands/ListRuntimesCommand.d.ts +126 -0
  50. package/dist-types/commands/RestoreRuntimeCommand.d.ts +137 -0
  51. package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +2 -2
  52. package/dist-types/commands/UpdateRuntimeAliasCommand.d.ts +143 -0
  53. package/dist-types/commands/UpdateRuntimeCommand.d.ts +132 -0
  54. package/dist-types/commands/UpdateRuntimeVersionCommand.d.ts +133 -0
  55. package/dist-types/commands/index.d.ts +16 -0
  56. package/dist-types/index.d.ts +2 -1
  57. package/dist-types/models/enums.d.ts +158 -0
  58. package/dist-types/models/errors.d.ts +33 -2
  59. package/dist-types/models/models_0.d.ts +1122 -1
  60. package/dist-types/pagination/ListRuntimeAliasesPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListRuntimeVersionsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListRuntimesPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +3 -0
  64. package/dist-types/schemas/schemas_0.d.ts +55 -0
  65. package/dist-types/ts3.4/LambdaCore.d.ts +311 -0
  66. package/dist-types/ts3.4/LambdaCoreClient.d.ts +95 -2
  67. package/dist-types/ts3.4/commands/CreateRuntimeAliasCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/CreateRuntimeCommand.d.ts +38 -0
  69. package/dist-types/ts3.4/commands/CreateRuntimeVersionCommand.d.ts +39 -0
  70. package/dist-types/ts3.4/commands/DeleteRuntimeAliasCommand.d.ts +39 -0
  71. package/dist-types/ts3.4/commands/DeleteRuntimeCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/DeleteRuntimeVersionCommand.d.ts +39 -0
  73. package/dist-types/ts3.4/commands/GetRuntimeAliasCommand.d.ts +38 -0
  74. package/dist-types/ts3.4/commands/GetRuntimeCommand.d.ts +38 -0
  75. package/dist-types/ts3.4/commands/GetRuntimeVersionCommand.d.ts +39 -0
  76. package/dist-types/ts3.4/commands/ListRuntimeAliasesCommand.d.ts +39 -0
  77. package/dist-types/ts3.4/commands/ListRuntimeVersionsCommand.d.ts +39 -0
  78. package/dist-types/ts3.4/commands/ListRuntimesCommand.d.ts +38 -0
  79. package/dist-types/ts3.4/commands/RestoreRuntimeCommand.d.ts +38 -0
  80. package/dist-types/ts3.4/commands/UpdateRuntimeAliasCommand.d.ts +39 -0
  81. package/dist-types/ts3.4/commands/UpdateRuntimeCommand.d.ts +38 -0
  82. package/dist-types/ts3.4/commands/UpdateRuntimeVersionCommand.d.ts +39 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/enums.d.ts +43 -0
  86. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +265 -0
  88. package/dist-types/ts3.4/pagination/ListRuntimeAliasesPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/ListRuntimeVersionsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListRuntimesPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  92. package/dist-types/ts3.4/schemas/schemas_0.d.ts +55 -0
  93. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  94. package/dist-types/ts3.4/waiters/waitForRuntimeAliasActive.d.ts +15 -0
  95. package/dist-types/ts3.4/waiters/waitForRuntimeVersionActive.d.ts +15 -0
  96. package/dist-types/waiters/index.d.ts +2 -0
  97. package/dist-types/waiters/waitForRuntimeAliasActive.d.ts +15 -0
  98. package/dist-types/waiters/waitForRuntimeVersionActive.d.ts +15 -0
  99. package/package.json +1 -1
@@ -0,0 +1,120 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetRuntimeRequest, GetRuntimeResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetRuntimeCommand}.
11
+ */
12
+ export interface GetRuntimeCommandInput extends GetRuntimeRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetRuntimeCommand}.
18
+ */
19
+ export interface GetRuntimeCommandOutput extends GetRuntimeResponse, __MetadataBearer {
20
+ }
21
+ declare const GetRuntimeCommand_base: {
22
+ new (input: GetRuntimeCommandInput): import("@smithy/core/client").CommandImpl<GetRuntimeCommandInput, GetRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRuntimeCommandInput): import("@smithy/core/client").CommandImpl<GetRuntimeCommandInput, GetRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieves the configuration and metadata of a runtime.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, GetRuntimeCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, GetRuntimeCommand } = require("@aws-sdk/client-lambda-core"); // CommonJS import
33
+ * // import type { LambdaCoreClientConfig } from "@aws-sdk/client-lambda-core";
34
+ * const config = {}; // type is LambdaCoreClientConfig
35
+ * const client = new LambdaCoreClient(config);
36
+ * const input = { // GetRuntimeRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetRuntimeCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetRuntimeResponse
42
+ * // Arn: "STRING_VALUE", // required
43
+ * // Name: "STRING_VALUE", // required
44
+ * // Description: "STRING_VALUE",
45
+ * // LicenseInfo: "STRING_VALUE",
46
+ * // ReleaseLifecycle: { // RuntimeReleaseLifecycle
47
+ * // ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
48
+ * // DeprecationDate: "STRING_VALUE",
49
+ * // FunctionCreateBlockDate: "STRING_VALUE",
50
+ * // FunctionUpdateBlockDate: "STRING_VALUE",
51
+ * // },
52
+ * // State: "ACTIVE" || "PENDING_DELETION" || "DELETING" || "FAILED",
53
+ * // PendingDeletionAt: "STRING_VALUE",
54
+ * // Created: "STRING_VALUE", // required
55
+ * // LastModified: "STRING_VALUE", // required
56
+ * // Id: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetRuntimeCommandInput - {@link GetRuntimeCommandInput}
62
+ * @returns {@link GetRuntimeCommandOutput}
63
+ * @see {@link GetRuntimeCommandInput} for command's `input` shape.
64
+ * @see {@link GetRuntimeCommandOutput} for command's `response` shape.
65
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
66
+ *
67
+ * @throws {@link InvalidParameterValueException} (client fault)
68
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
72
+ *
73
+ * @throws {@link ServiceException} (server fault)
74
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
75
+ *
76
+ * @throws {@link TooManyRequestsException} (client fault)
77
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
78
+ *
79
+ * @throws {@link LambdaCoreServiceException}
80
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
81
+ *
82
+ *
83
+ * @example Get a runtime
84
+ * ```javascript
85
+ * // Retrieves the metadata for a runtime by name.
86
+ * const input = {
87
+ * RuntimeName: "php8"
88
+ * };
89
+ * const command = new GetRuntimeCommand(input);
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * {
93
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8",
94
+ * Created: "2026-10-01T12:00:00.000Z",
95
+ * Description: "PHP 8 custom runtime",
96
+ * LastModified: "2026-10-02T09:30:00.000Z",
97
+ * LicenseInfo: "MIT",
98
+ * Name: "php8",
99
+ * ReleaseLifecycle: {
100
+ * ReleaseState: "GA"
101
+ * }
102
+ * }
103
+ * *\/
104
+ * ```
105
+ *
106
+ * @public
107
+ */
108
+ export declare class GetRuntimeCommand extends GetRuntimeCommand_base {
109
+ /** @internal type navigation helper, not in runtime. */
110
+ protected static __types: {
111
+ api: {
112
+ input: GetRuntimeRequest;
113
+ output: GetRuntimeResponse;
114
+ };
115
+ sdk: {
116
+ input: GetRuntimeCommandInput;
117
+ output: GetRuntimeCommandOutput;
118
+ };
119
+ };
120
+ }
@@ -0,0 +1,151 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetRuntimeVersionRequest, GetRuntimeVersionResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetRuntimeVersionCommand}.
11
+ */
12
+ export interface GetRuntimeVersionCommandInput extends GetRuntimeVersionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetRuntimeVersionCommand}.
18
+ */
19
+ export interface GetRuntimeVersionCommandOutput extends GetRuntimeVersionResponse, __MetadataBearer {
20
+ }
21
+ declare const GetRuntimeVersionCommand_base: {
22
+ new (input: GetRuntimeVersionCommandInput): import("@smithy/core/client").CommandImpl<GetRuntimeVersionCommandInput, GetRuntimeVersionCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRuntimeVersionCommandInput): import("@smithy/core/client").CommandImpl<GetRuntimeVersionCommandInput, GetRuntimeVersionCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieves the configuration, state, and metadata of a runtime version.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, GetRuntimeVersionCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, GetRuntimeVersionCommand } = require("@aws-sdk/client-lambda-core"); // CommonJS import
33
+ * // import type { LambdaCoreClientConfig } from "@aws-sdk/client-lambda-core";
34
+ * const config = {}; // type is LambdaCoreClientConfig
35
+ * const client = new LambdaCoreClient(config);
36
+ * const input = { // GetRuntimeVersionRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetRuntimeVersionCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetRuntimeVersionResponse
43
+ * // Name: "STRING_VALUE", // required
44
+ * // Arn: "STRING_VALUE", // required
45
+ * // ResolvedUri: "STRING_VALUE", // required
46
+ * // State: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "PENDING_DELETION", // required
47
+ * // PendingDeletionAt: "STRING_VALUE",
48
+ * // ReleaseNotes: "STRING_VALUE",
49
+ * // Platforms: [ // PlatformList
50
+ * // { // Platform
51
+ * // Architecture: "STRING_VALUE", // required
52
+ * // Os: "STRING_VALUE", // required
53
+ * // Digest: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // Compatibility: { // Compatibility
57
+ * // IntegrationModels: [ // IntegrationModelList
58
+ * // "RuntimeAPI",
59
+ * // ],
60
+ * // Architectures: [ // RuntimeArchitectureList
61
+ * // "x86_64" || "arm64",
62
+ * // ],
63
+ * // ManagedInstances: "Supported" || "NotSupported",
64
+ * // },
65
+ * // Created: "STRING_VALUE", // required
66
+ * // LastModified: "STRING_VALUE", // required
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param GetRuntimeVersionCommandInput - {@link GetRuntimeVersionCommandInput}
72
+ * @returns {@link GetRuntimeVersionCommandOutput}
73
+ * @see {@link GetRuntimeVersionCommandInput} for command's `input` shape.
74
+ * @see {@link GetRuntimeVersionCommandOutput} for command's `response` shape.
75
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
76
+ *
77
+ * @throws {@link InvalidParameterValueException} (client fault)
78
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
82
+ *
83
+ * @throws {@link ServiceException} (server fault)
84
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
85
+ *
86
+ * @throws {@link TooManyRequestsException} (client fault)
87
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
88
+ *
89
+ * @throws {@link LambdaCoreServiceException}
90
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
91
+ *
92
+ *
93
+ * @example Get a runtime version
94
+ * ```javascript
95
+ * // Retrieves a runtime version, including its resolved image URI, per-architecture platforms, and compatibility matrix.
96
+ * const input = {
97
+ * Name: "v1",
98
+ * RuntimeName: "php8"
99
+ * };
100
+ * const command = new GetRuntimeVersionCommand(input);
101
+ * const response = await client.send(command);
102
+ * /* response is
103
+ * {
104
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/version/v1",
105
+ * Compatibility: {
106
+ * Architectures: [
107
+ * "arm64",
108
+ * "x86_64"
109
+ * ],
110
+ * IntegrationModels: [
111
+ * "RuntimeAPI"
112
+ * ],
113
+ * ManagedInstances: "Supported"
114
+ * },
115
+ * Created: "2026-10-01T12:00:00.000Z",
116
+ * LastModified: "2026-10-01T12:00:00.000Z",
117
+ * Name: "v1",
118
+ * Platforms: [
119
+ * {
120
+ * Architecture: "arm64",
121
+ * Digest: "sha256:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
122
+ * Os: "linux"
123
+ * },
124
+ * {
125
+ * Architecture: "x86_64",
126
+ * Digest: "sha256:2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c",
127
+ * Os: "linux"
128
+ * }
129
+ * ],
130
+ * ReleaseNotes: "Initial release",
131
+ * ResolvedUri: "123456789012.dkr.ecr.us-west-2.amazonaws.com/php8@sha256:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
132
+ * State: "ACTIVE"
133
+ * }
134
+ * *\/
135
+ * ```
136
+ *
137
+ * @public
138
+ */
139
+ export declare class GetRuntimeVersionCommand extends GetRuntimeVersionCommand_base {
140
+ /** @internal type navigation helper, not in runtime. */
141
+ protected static __types: {
142
+ api: {
143
+ input: GetRuntimeVersionRequest;
144
+ output: GetRuntimeVersionResponse;
145
+ };
146
+ sdk: {
147
+ input: GetRuntimeVersionCommandInput;
148
+ output: GetRuntimeVersionCommandOutput;
149
+ };
150
+ };
151
+ }
@@ -70,7 +70,7 @@ declare const ListNetworkConnectorVersionsCommand_base: {
70
70
  * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
71
71
  *
72
72
  * @throws {@link ResourceNotFoundException} (client fault)
73
- * <p>The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.</p>
73
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
74
74
  *
75
75
  * @throws {@link ServiceException} (server fault)
76
76
  * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
@@ -0,0 +1,140 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListRuntimeAliasesRequest, ListRuntimeAliasesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListRuntimeAliasesCommand}.
11
+ */
12
+ export interface ListRuntimeAliasesCommandInput extends ListRuntimeAliasesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListRuntimeAliasesCommand}.
18
+ */
19
+ export interface ListRuntimeAliasesCommandOutput extends ListRuntimeAliasesResponse, __MetadataBearer {
20
+ }
21
+ declare const ListRuntimeAliasesCommand_base: {
22
+ new (input: ListRuntimeAliasesCommandInput): import("@smithy/core/client").CommandImpl<ListRuntimeAliasesCommandInput, ListRuntimeAliasesCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListRuntimeAliasesCommandInput): import("@smithy/core/client").CommandImpl<ListRuntimeAliasesCommandInput, ListRuntimeAliasesCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Returns a paginated list of aliases for the specified runtime.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, ListRuntimeAliasesCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, ListRuntimeAliasesCommand } = require("@aws-sdk/client-lambda-core"); // CommonJS import
33
+ * // import type { LambdaCoreClientConfig } from "@aws-sdk/client-lambda-core";
34
+ * const config = {}; // type is LambdaCoreClientConfig
35
+ * const client = new LambdaCoreClient(config);
36
+ * const input = { // ListRuntimeAliasesRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * NextToken: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * };
41
+ * const command = new ListRuntimeAliasesCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListRuntimeAliasesResponse
44
+ * // Items: [ // RuntimeAliasList // required
45
+ * // { // RuntimeAliasInfo
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // RuntimeVersion: "STRING_VALUE", // required
49
+ * // RuntimeVersionArn: "STRING_VALUE", // required
50
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "PENDING_DELETION", // required
51
+ * // PendingDeletionAt: "STRING_VALUE",
52
+ * // Description: "STRING_VALUE",
53
+ * // Compatibility: { // Compatibility
54
+ * // IntegrationModels: [ // IntegrationModelList
55
+ * // "RuntimeAPI",
56
+ * // ],
57
+ * // Architectures: [ // RuntimeArchitectureList
58
+ * // "x86_64" || "arm64",
59
+ * // ],
60
+ * // ManagedInstances: "Supported" || "NotSupported",
61
+ * // },
62
+ * // ReleaseLifecycle: { // RuntimeReleaseLifecycle
63
+ * // ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
64
+ * // DeprecationDate: "STRING_VALUE",
65
+ * // FunctionCreateBlockDate: "STRING_VALUE",
66
+ * // FunctionUpdateBlockDate: "STRING_VALUE",
67
+ * // },
68
+ * // Created: "STRING_VALUE", // required
69
+ * // LastModified: "STRING_VALUE", // required
70
+ * // },
71
+ * // ],
72
+ * // NextToken: "STRING_VALUE",
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param ListRuntimeAliasesCommandInput - {@link ListRuntimeAliasesCommandInput}
78
+ * @returns {@link ListRuntimeAliasesCommandOutput}
79
+ * @see {@link ListRuntimeAliasesCommandInput} for command's `input` shape.
80
+ * @see {@link ListRuntimeAliasesCommandOutput} for command's `response` shape.
81
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
82
+ *
83
+ * @throws {@link InvalidParameterValueException} (client fault)
84
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
88
+ *
89
+ * @throws {@link ServiceException} (server fault)
90
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
91
+ *
92
+ * @throws {@link TooManyRequestsException} (client fault)
93
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
94
+ *
95
+ * @throws {@link LambdaCoreServiceException}
96
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
97
+ *
98
+ *
99
+ * @example List runtime aliases
100
+ * ```javascript
101
+ * // Lists the aliases defined on a runtime.
102
+ * const input = {
103
+ * MaxResults: 10,
104
+ * RuntimeName: "php8"
105
+ * };
106
+ * const command = new ListRuntimeAliasesCommand(input);
107
+ * const response = await client.send(command);
108
+ * /* response is
109
+ * {
110
+ * Items: [
111
+ * {
112
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/alias/latest",
113
+ * Created: "2026-10-01T12:00:00.000Z",
114
+ * Description: "Points at the newest published version",
115
+ * LastModified: "2026-10-02T09:30:00.000Z",
116
+ * Name: "latest",
117
+ * RuntimeVersion: "v1",
118
+ * RuntimeVersionArn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/version/v1",
119
+ * State: "ACTIVE"
120
+ * }
121
+ * ]
122
+ * }
123
+ * *\/
124
+ * ```
125
+ *
126
+ * @public
127
+ */
128
+ export declare class ListRuntimeAliasesCommand extends ListRuntimeAliasesCommand_base {
129
+ /** @internal type navigation helper, not in runtime. */
130
+ protected static __types: {
131
+ api: {
132
+ input: ListRuntimeAliasesRequest;
133
+ output: ListRuntimeAliasesResponse;
134
+ };
135
+ sdk: {
136
+ input: ListRuntimeAliasesCommandInput;
137
+ output: ListRuntimeAliasesCommandOutput;
138
+ };
139
+ };
140
+ }
@@ -0,0 +1,132 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListRuntimeVersionsRequest, ListRuntimeVersionsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListRuntimeVersionsCommand}.
11
+ */
12
+ export interface ListRuntimeVersionsCommandInput extends ListRuntimeVersionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListRuntimeVersionsCommand}.
18
+ */
19
+ export interface ListRuntimeVersionsCommandOutput extends ListRuntimeVersionsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListRuntimeVersionsCommand_base: {
22
+ new (input: ListRuntimeVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListRuntimeVersionsCommandInput, ListRuntimeVersionsCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListRuntimeVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListRuntimeVersionsCommandInput, ListRuntimeVersionsCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Returns a paginated list of versions for the specified runtime.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, ListRuntimeVersionsCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, ListRuntimeVersionsCommand } = require("@aws-sdk/client-lambda-core"); // CommonJS import
33
+ * // import type { LambdaCoreClientConfig } from "@aws-sdk/client-lambda-core";
34
+ * const config = {}; // type is LambdaCoreClientConfig
35
+ * const client = new LambdaCoreClient(config);
36
+ * const input = { // ListRuntimeVersionsRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * NextToken: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * };
41
+ * const command = new ListRuntimeVersionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListRuntimeVersionsResponse
44
+ * // Items: [ // RuntimeVersionList // required
45
+ * // { // RuntimeVersionInfo
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // ResolvedUri: "STRING_VALUE", // required
49
+ * // State: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "PENDING_DELETION", // required
50
+ * // PendingDeletionAt: "STRING_VALUE",
51
+ * // ReleaseNotes: "STRING_VALUE",
52
+ * // Compatibility: { // Compatibility
53
+ * // IntegrationModels: [ // IntegrationModelList
54
+ * // "RuntimeAPI",
55
+ * // ],
56
+ * // Architectures: [ // RuntimeArchitectureList
57
+ * // "x86_64" || "arm64",
58
+ * // ],
59
+ * // ManagedInstances: "Supported" || "NotSupported",
60
+ * // },
61
+ * // Created: "STRING_VALUE", // required
62
+ * // LastModified: "STRING_VALUE", // required
63
+ * // },
64
+ * // ],
65
+ * // NextToken: "STRING_VALUE",
66
+ * // };
67
+ *
68
+ * ```
69
+ *
70
+ * @param ListRuntimeVersionsCommandInput - {@link ListRuntimeVersionsCommandInput}
71
+ * @returns {@link ListRuntimeVersionsCommandOutput}
72
+ * @see {@link ListRuntimeVersionsCommandInput} for command's `input` shape.
73
+ * @see {@link ListRuntimeVersionsCommandOutput} for command's `response` shape.
74
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
75
+ *
76
+ * @throws {@link InvalidParameterValueException} (client fault)
77
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
81
+ *
82
+ * @throws {@link ServiceException} (server fault)
83
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
84
+ *
85
+ * @throws {@link TooManyRequestsException} (client fault)
86
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
87
+ *
88
+ * @throws {@link LambdaCoreServiceException}
89
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
90
+ *
91
+ *
92
+ * @example List runtime versions
93
+ * ```javascript
94
+ * // Lists the versions published for a runtime.
95
+ * const input = {
96
+ * MaxResults: 10,
97
+ * RuntimeName: "php8"
98
+ * };
99
+ * const command = new ListRuntimeVersionsCommand(input);
100
+ * const response = await client.send(command);
101
+ * /* response is
102
+ * {
103
+ * Items: [
104
+ * {
105
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/version/v1",
106
+ * Created: "2026-10-01T12:00:00.000Z",
107
+ * LastModified: "2026-10-01T12:00:00.000Z",
108
+ * Name: "v1",
109
+ * ReleaseNotes: "Initial release",
110
+ * ResolvedUri: "123456789012.dkr.ecr.us-west-2.amazonaws.com/php8@sha256:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
111
+ * State: "ACTIVE"
112
+ * }
113
+ * ]
114
+ * }
115
+ * *\/
116
+ * ```
117
+ *
118
+ * @public
119
+ */
120
+ export declare class ListRuntimeVersionsCommand extends ListRuntimeVersionsCommand_base {
121
+ /** @internal type navigation helper, not in runtime. */
122
+ protected static __types: {
123
+ api: {
124
+ input: ListRuntimeVersionsRequest;
125
+ output: ListRuntimeVersionsResponse;
126
+ };
127
+ sdk: {
128
+ input: ListRuntimeVersionsCommandInput;
129
+ output: ListRuntimeVersionsCommandOutput;
130
+ };
131
+ };
132
+ }
@@ -0,0 +1,126 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListRuntimesRequest, ListRuntimesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListRuntimesCommand}.
11
+ */
12
+ export interface ListRuntimesCommandInput extends ListRuntimesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListRuntimesCommand}.
18
+ */
19
+ export interface ListRuntimesCommandOutput extends ListRuntimesResponse, __MetadataBearer {
20
+ }
21
+ declare const ListRuntimesCommand_base: {
22
+ new (input: ListRuntimesCommandInput): import("@smithy/core/client").CommandImpl<ListRuntimesCommandInput, ListRuntimesCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListRuntimesCommandInput]): import("@smithy/core/client").CommandImpl<ListRuntimesCommandInput, ListRuntimesCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Returns a paginated list of runtimes in your account for the current Region.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, ListRuntimesCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, ListRuntimesCommand } = require("@aws-sdk/client-lambda-core"); // CommonJS import
33
+ * // import type { LambdaCoreClientConfig } from "@aws-sdk/client-lambda-core";
34
+ * const config = {}; // type is LambdaCoreClientConfig
35
+ * const client = new LambdaCoreClient(config);
36
+ * const input = { // ListRuntimesRequest
37
+ * NextToken: "STRING_VALUE",
38
+ * MaxResults: Number("int"),
39
+ * };
40
+ * const command = new ListRuntimesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListRuntimesResponse
43
+ * // NextToken: "STRING_VALUE",
44
+ * // Items: [ // RuntimeList // required
45
+ * // { // RuntimeInfo
46
+ * // Arn: "STRING_VALUE", // required
47
+ * // Name: "STRING_VALUE", // required
48
+ * // Description: "STRING_VALUE",
49
+ * // LicenseInfo: "STRING_VALUE",
50
+ * // ReleaseLifecycle: { // RuntimeReleaseLifecycle
51
+ * // ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
52
+ * // DeprecationDate: "STRING_VALUE",
53
+ * // FunctionCreateBlockDate: "STRING_VALUE",
54
+ * // FunctionUpdateBlockDate: "STRING_VALUE",
55
+ * // },
56
+ * // State: "ACTIVE" || "PENDING_DELETION" || "DELETING" || "FAILED",
57
+ * // PendingDeletionAt: "STRING_VALUE",
58
+ * // Created: "STRING_VALUE", // required
59
+ * // LastModified: "STRING_VALUE", // required
60
+ * // },
61
+ * // ],
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListRuntimesCommandInput - {@link ListRuntimesCommandInput}
67
+ * @returns {@link ListRuntimesCommandOutput}
68
+ * @see {@link ListRuntimesCommandInput} for command's `input` shape.
69
+ * @see {@link ListRuntimesCommandOutput} for command's `response` shape.
70
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
71
+ *
72
+ * @throws {@link InvalidParameterValueException} (client fault)
73
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
74
+ *
75
+ * @throws {@link ServiceException} (server fault)
76
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
77
+ *
78
+ * @throws {@link TooManyRequestsException} (client fault)
79
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
80
+ *
81
+ * @throws {@link LambdaCoreServiceException}
82
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
83
+ *
84
+ *
85
+ * @example List runtimes
86
+ * ```javascript
87
+ * // Lists the runtimes in the account and region.
88
+ * const input = {
89
+ * MaxResults: 10
90
+ * };
91
+ * const command = new ListRuntimesCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * {
95
+ * Items: [
96
+ * {
97
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8",
98
+ * Created: "2026-10-01T12:00:00.000Z",
99
+ * Description: "PHP 8 custom runtime",
100
+ * LastModified: "2026-10-02T09:30:00.000Z",
101
+ * LicenseInfo: "MIT",
102
+ * Name: "php8",
103
+ * ReleaseLifecycle: {
104
+ * ReleaseState: "GA"
105
+ * }
106
+ * }
107
+ * ]
108
+ * }
109
+ * *\/
110
+ * ```
111
+ *
112
+ * @public
113
+ */
114
+ export declare class ListRuntimesCommand extends ListRuntimesCommand_base {
115
+ /** @internal type navigation helper, not in runtime. */
116
+ protected static __types: {
117
+ api: {
118
+ input: ListRuntimesRequest;
119
+ output: ListRuntimesResponse;
120
+ };
121
+ sdk: {
122
+ input: ListRuntimesCommandInput;
123
+ output: ListRuntimesCommandOutput;
124
+ };
125
+ };
126
+ }