@aws-sdk/client-lambda-core 3.1168.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
@@ -1,10 +1,27 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import { type WaiterResult } from "@smithy/core/client";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
3
  import { type CreateNetworkConnectorCommandInput, type CreateNetworkConnectorCommandOutput } from "./commands/CreateNetworkConnectorCommand";
4
+ import { type CreateRuntimeAliasCommandInput, type CreateRuntimeAliasCommandOutput } from "./commands/CreateRuntimeAliasCommand";
5
+ import { type CreateRuntimeCommandInput, type CreateRuntimeCommandOutput } from "./commands/CreateRuntimeCommand";
6
+ import { type CreateRuntimeVersionCommandInput, type CreateRuntimeVersionCommandOutput } from "./commands/CreateRuntimeVersionCommand";
3
7
  import { type DeleteNetworkConnectorCommandInput, type DeleteNetworkConnectorCommandOutput } from "./commands/DeleteNetworkConnectorCommand";
8
+ import { type DeleteRuntimeAliasCommandInput, type DeleteRuntimeAliasCommandOutput } from "./commands/DeleteRuntimeAliasCommand";
9
+ import { type DeleteRuntimeCommandInput, type DeleteRuntimeCommandOutput } from "./commands/DeleteRuntimeCommand";
10
+ import { type DeleteRuntimeVersionCommandInput, type DeleteRuntimeVersionCommandOutput } from "./commands/DeleteRuntimeVersionCommand";
4
11
  import { type GetNetworkConnectorCommandInput, type GetNetworkConnectorCommandOutput } from "./commands/GetNetworkConnectorCommand";
12
+ import { type GetRuntimeAliasCommandInput, type GetRuntimeAliasCommandOutput } from "./commands/GetRuntimeAliasCommand";
13
+ import { type GetRuntimeCommandInput, type GetRuntimeCommandOutput } from "./commands/GetRuntimeCommand";
14
+ import { type GetRuntimeVersionCommandInput, type GetRuntimeVersionCommandOutput } from "./commands/GetRuntimeVersionCommand";
5
15
  import { type ListNetworkConnectorsCommandInput, type ListNetworkConnectorsCommandOutput } from "./commands/ListNetworkConnectorsCommand";
6
16
  import { type ListNetworkConnectorVersionsCommandInput, type ListNetworkConnectorVersionsCommandOutput } from "./commands/ListNetworkConnectorVersionsCommand";
17
+ import { type ListRuntimeAliasesCommandInput, type ListRuntimeAliasesCommandOutput } from "./commands/ListRuntimeAliasesCommand";
18
+ import { type ListRuntimesCommandInput, type ListRuntimesCommandOutput } from "./commands/ListRuntimesCommand";
19
+ import { type ListRuntimeVersionsCommandInput, type ListRuntimeVersionsCommandOutput } from "./commands/ListRuntimeVersionsCommand";
20
+ import { type RestoreRuntimeCommandInput, type RestoreRuntimeCommandOutput } from "./commands/RestoreRuntimeCommand";
7
21
  import { type UpdateNetworkConnectorCommandInput, type UpdateNetworkConnectorCommandOutput } from "./commands/UpdateNetworkConnectorCommand";
22
+ import { type UpdateRuntimeAliasCommandInput, type UpdateRuntimeAliasCommandOutput } from "./commands/UpdateRuntimeAliasCommand";
23
+ import { type UpdateRuntimeCommandInput, type UpdateRuntimeCommandOutput } from "./commands/UpdateRuntimeCommand";
24
+ import { type UpdateRuntimeVersionCommandInput, type UpdateRuntimeVersionCommandOutput } from "./commands/UpdateRuntimeVersionCommand";
8
25
  import { LambdaCoreClient } from "./LambdaCoreClient";
9
26
  /**
10
27
  * @public
@@ -19,18 +36,72 @@ export interface LambdaCore {
19
36
  createNetworkConnector(args: CreateNetworkConnectorCommandInput, options?: LambdaCoreRequestOptions): Promise<CreateNetworkConnectorCommandOutput>;
20
37
  createNetworkConnector(args: CreateNetworkConnectorCommandInput, cb: (err: any, data?: CreateNetworkConnectorCommandOutput) => void): void;
21
38
  createNetworkConnector(args: CreateNetworkConnectorCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: CreateNetworkConnectorCommandOutput) => void): void;
39
+ /**
40
+ * @see {@link CreateRuntimeCommand}
41
+ */
42
+ createRuntime(args: CreateRuntimeCommandInput, options?: LambdaCoreRequestOptions): Promise<CreateRuntimeCommandOutput>;
43
+ createRuntime(args: CreateRuntimeCommandInput, cb: (err: any, data?: CreateRuntimeCommandOutput) => void): void;
44
+ createRuntime(args: CreateRuntimeCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: CreateRuntimeCommandOutput) => void): void;
45
+ /**
46
+ * @see {@link CreateRuntimeAliasCommand}
47
+ */
48
+ createRuntimeAlias(args: CreateRuntimeAliasCommandInput, options?: LambdaCoreRequestOptions): Promise<CreateRuntimeAliasCommandOutput>;
49
+ createRuntimeAlias(args: CreateRuntimeAliasCommandInput, cb: (err: any, data?: CreateRuntimeAliasCommandOutput) => void): void;
50
+ createRuntimeAlias(args: CreateRuntimeAliasCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: CreateRuntimeAliasCommandOutput) => void): void;
51
+ /**
52
+ * @see {@link CreateRuntimeVersionCommand}
53
+ */
54
+ createRuntimeVersion(args: CreateRuntimeVersionCommandInput, options?: LambdaCoreRequestOptions): Promise<CreateRuntimeVersionCommandOutput>;
55
+ createRuntimeVersion(args: CreateRuntimeVersionCommandInput, cb: (err: any, data?: CreateRuntimeVersionCommandOutput) => void): void;
56
+ createRuntimeVersion(args: CreateRuntimeVersionCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: CreateRuntimeVersionCommandOutput) => void): void;
22
57
  /**
23
58
  * @see {@link DeleteNetworkConnectorCommand}
24
59
  */
25
60
  deleteNetworkConnector(args: DeleteNetworkConnectorCommandInput, options?: LambdaCoreRequestOptions): Promise<DeleteNetworkConnectorCommandOutput>;
26
61
  deleteNetworkConnector(args: DeleteNetworkConnectorCommandInput, cb: (err: any, data?: DeleteNetworkConnectorCommandOutput) => void): void;
27
62
  deleteNetworkConnector(args: DeleteNetworkConnectorCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: DeleteNetworkConnectorCommandOutput) => void): void;
63
+ /**
64
+ * @see {@link DeleteRuntimeCommand}
65
+ */
66
+ deleteRuntime(args: DeleteRuntimeCommandInput, options?: LambdaCoreRequestOptions): Promise<DeleteRuntimeCommandOutput>;
67
+ deleteRuntime(args: DeleteRuntimeCommandInput, cb: (err: any, data?: DeleteRuntimeCommandOutput) => void): void;
68
+ deleteRuntime(args: DeleteRuntimeCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: DeleteRuntimeCommandOutput) => void): void;
69
+ /**
70
+ * @see {@link DeleteRuntimeAliasCommand}
71
+ */
72
+ deleteRuntimeAlias(args: DeleteRuntimeAliasCommandInput, options?: LambdaCoreRequestOptions): Promise<DeleteRuntimeAliasCommandOutput>;
73
+ deleteRuntimeAlias(args: DeleteRuntimeAliasCommandInput, cb: (err: any, data?: DeleteRuntimeAliasCommandOutput) => void): void;
74
+ deleteRuntimeAlias(args: DeleteRuntimeAliasCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: DeleteRuntimeAliasCommandOutput) => void): void;
75
+ /**
76
+ * @see {@link DeleteRuntimeVersionCommand}
77
+ */
78
+ deleteRuntimeVersion(args: DeleteRuntimeVersionCommandInput, options?: LambdaCoreRequestOptions): Promise<DeleteRuntimeVersionCommandOutput>;
79
+ deleteRuntimeVersion(args: DeleteRuntimeVersionCommandInput, cb: (err: any, data?: DeleteRuntimeVersionCommandOutput) => void): void;
80
+ deleteRuntimeVersion(args: DeleteRuntimeVersionCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: DeleteRuntimeVersionCommandOutput) => void): void;
28
81
  /**
29
82
  * @see {@link GetNetworkConnectorCommand}
30
83
  */
31
84
  getNetworkConnector(args: GetNetworkConnectorCommandInput, options?: LambdaCoreRequestOptions): Promise<GetNetworkConnectorCommandOutput>;
32
85
  getNetworkConnector(args: GetNetworkConnectorCommandInput, cb: (err: any, data?: GetNetworkConnectorCommandOutput) => void): void;
33
86
  getNetworkConnector(args: GetNetworkConnectorCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: GetNetworkConnectorCommandOutput) => void): void;
87
+ /**
88
+ * @see {@link GetRuntimeCommand}
89
+ */
90
+ getRuntime(args: GetRuntimeCommandInput, options?: LambdaCoreRequestOptions): Promise<GetRuntimeCommandOutput>;
91
+ getRuntime(args: GetRuntimeCommandInput, cb: (err: any, data?: GetRuntimeCommandOutput) => void): void;
92
+ getRuntime(args: GetRuntimeCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: GetRuntimeCommandOutput) => void): void;
93
+ /**
94
+ * @see {@link GetRuntimeAliasCommand}
95
+ */
96
+ getRuntimeAlias(args: GetRuntimeAliasCommandInput, options?: LambdaCoreRequestOptions): Promise<GetRuntimeAliasCommandOutput>;
97
+ getRuntimeAlias(args: GetRuntimeAliasCommandInput, cb: (err: any, data?: GetRuntimeAliasCommandOutput) => void): void;
98
+ getRuntimeAlias(args: GetRuntimeAliasCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: GetRuntimeAliasCommandOutput) => void): void;
99
+ /**
100
+ * @see {@link GetRuntimeVersionCommand}
101
+ */
102
+ getRuntimeVersion(args: GetRuntimeVersionCommandInput, options?: LambdaCoreRequestOptions): Promise<GetRuntimeVersionCommandOutput>;
103
+ getRuntimeVersion(args: GetRuntimeVersionCommandInput, cb: (err: any, data?: GetRuntimeVersionCommandOutput) => void): void;
104
+ getRuntimeVersion(args: GetRuntimeVersionCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: GetRuntimeVersionCommandOutput) => void): void;
34
105
  /**
35
106
  * @see {@link ListNetworkConnectorsCommand}
36
107
  */
@@ -44,12 +115,55 @@ export interface LambdaCore {
44
115
  listNetworkConnectorVersions(args: ListNetworkConnectorVersionsCommandInput, options?: LambdaCoreRequestOptions): Promise<ListNetworkConnectorVersionsCommandOutput>;
45
116
  listNetworkConnectorVersions(args: ListNetworkConnectorVersionsCommandInput, cb: (err: any, data?: ListNetworkConnectorVersionsCommandOutput) => void): void;
46
117
  listNetworkConnectorVersions(args: ListNetworkConnectorVersionsCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: ListNetworkConnectorVersionsCommandOutput) => void): void;
118
+ /**
119
+ * @see {@link ListRuntimeAliasesCommand}
120
+ */
121
+ listRuntimeAliases(args: ListRuntimeAliasesCommandInput, options?: LambdaCoreRequestOptions): Promise<ListRuntimeAliasesCommandOutput>;
122
+ listRuntimeAliases(args: ListRuntimeAliasesCommandInput, cb: (err: any, data?: ListRuntimeAliasesCommandOutput) => void): void;
123
+ listRuntimeAliases(args: ListRuntimeAliasesCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: ListRuntimeAliasesCommandOutput) => void): void;
124
+ /**
125
+ * @see {@link ListRuntimesCommand}
126
+ */
127
+ listRuntimes(): Promise<ListRuntimesCommandOutput>;
128
+ listRuntimes(args: ListRuntimesCommandInput, options?: LambdaCoreRequestOptions): Promise<ListRuntimesCommandOutput>;
129
+ listRuntimes(args: ListRuntimesCommandInput, cb: (err: any, data?: ListRuntimesCommandOutput) => void): void;
130
+ listRuntimes(args: ListRuntimesCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: ListRuntimesCommandOutput) => void): void;
131
+ /**
132
+ * @see {@link ListRuntimeVersionsCommand}
133
+ */
134
+ listRuntimeVersions(args: ListRuntimeVersionsCommandInput, options?: LambdaCoreRequestOptions): Promise<ListRuntimeVersionsCommandOutput>;
135
+ listRuntimeVersions(args: ListRuntimeVersionsCommandInput, cb: (err: any, data?: ListRuntimeVersionsCommandOutput) => void): void;
136
+ listRuntimeVersions(args: ListRuntimeVersionsCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: ListRuntimeVersionsCommandOutput) => void): void;
137
+ /**
138
+ * @see {@link RestoreRuntimeCommand}
139
+ */
140
+ restoreRuntime(args: RestoreRuntimeCommandInput, options?: LambdaCoreRequestOptions): Promise<RestoreRuntimeCommandOutput>;
141
+ restoreRuntime(args: RestoreRuntimeCommandInput, cb: (err: any, data?: RestoreRuntimeCommandOutput) => void): void;
142
+ restoreRuntime(args: RestoreRuntimeCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: RestoreRuntimeCommandOutput) => void): void;
47
143
  /**
48
144
  * @see {@link UpdateNetworkConnectorCommand}
49
145
  */
50
146
  updateNetworkConnector(args: UpdateNetworkConnectorCommandInput, options?: LambdaCoreRequestOptions): Promise<UpdateNetworkConnectorCommandOutput>;
51
147
  updateNetworkConnector(args: UpdateNetworkConnectorCommandInput, cb: (err: any, data?: UpdateNetworkConnectorCommandOutput) => void): void;
52
148
  updateNetworkConnector(args: UpdateNetworkConnectorCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: UpdateNetworkConnectorCommandOutput) => void): void;
149
+ /**
150
+ * @see {@link UpdateRuntimeCommand}
151
+ */
152
+ updateRuntime(args: UpdateRuntimeCommandInput, options?: LambdaCoreRequestOptions): Promise<UpdateRuntimeCommandOutput>;
153
+ updateRuntime(args: UpdateRuntimeCommandInput, cb: (err: any, data?: UpdateRuntimeCommandOutput) => void): void;
154
+ updateRuntime(args: UpdateRuntimeCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: UpdateRuntimeCommandOutput) => void): void;
155
+ /**
156
+ * @see {@link UpdateRuntimeAliasCommand}
157
+ */
158
+ updateRuntimeAlias(args: UpdateRuntimeAliasCommandInput, options?: LambdaCoreRequestOptions): Promise<UpdateRuntimeAliasCommandOutput>;
159
+ updateRuntimeAlias(args: UpdateRuntimeAliasCommandInput, cb: (err: any, data?: UpdateRuntimeAliasCommandOutput) => void): void;
160
+ updateRuntimeAlias(args: UpdateRuntimeAliasCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: UpdateRuntimeAliasCommandOutput) => void): void;
161
+ /**
162
+ * @see {@link UpdateRuntimeVersionCommand}
163
+ */
164
+ updateRuntimeVersion(args: UpdateRuntimeVersionCommandInput, options?: LambdaCoreRequestOptions): Promise<UpdateRuntimeVersionCommandOutput>;
165
+ updateRuntimeVersion(args: UpdateRuntimeVersionCommandInput, cb: (err: any, data?: UpdateRuntimeVersionCommandOutput) => void): void;
166
+ updateRuntimeVersion(args: UpdateRuntimeVersionCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: UpdateRuntimeVersionCommandOutput) => void): void;
53
167
  /**
54
168
  * @see {@link ListNetworkConnectorsCommand}
55
169
  * @param args - command input.
@@ -64,9 +178,42 @@ export interface LambdaCore {
64
178
  * @returns AsyncIterable of {@link ListNetworkConnectorVersionsCommandOutput}.
65
179
  */
66
180
  paginateListNetworkConnectorVersions(args: ListNetworkConnectorVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListNetworkConnectorVersionsCommandOutput>;
181
+ /**
182
+ * @see {@link ListRuntimeAliasesCommand}
183
+ * @param args - command input.
184
+ * @param paginationConfig - optional pagination config.
185
+ * @returns AsyncIterable of {@link ListRuntimeAliasesCommandOutput}.
186
+ */
187
+ paginateListRuntimeAliases(args: ListRuntimeAliasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRuntimeAliasesCommandOutput>;
188
+ /**
189
+ * @see {@link ListRuntimesCommand}
190
+ * @param args - command input.
191
+ * @param paginationConfig - optional pagination config.
192
+ * @returns AsyncIterable of {@link ListRuntimesCommandOutput}.
193
+ */
194
+ paginateListRuntimes(args?: ListRuntimesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRuntimesCommandOutput>;
195
+ /**
196
+ * @see {@link ListRuntimeVersionsCommand}
197
+ * @param args - command input.
198
+ * @param paginationConfig - optional pagination config.
199
+ * @returns AsyncIterable of {@link ListRuntimeVersionsCommandOutput}.
200
+ */
201
+ paginateListRuntimeVersions(args: ListRuntimeVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRuntimeVersionsCommandOutput>;
202
+ /**
203
+ * @see {@link GetRuntimeAliasCommand}
204
+ * @param args - command input.
205
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
206
+ */
207
+ waitUntilRuntimeAliasActive(args: GetRuntimeAliasCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaCore>, "client">): Promise<WaiterResult<GetRuntimeAliasCommandOutput>>;
208
+ /**
209
+ * @see {@link GetRuntimeVersionCommand}
210
+ * @param args - command input.
211
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
212
+ */
213
+ waitUntilRuntimeVersionActive(args: GetRuntimeVersionCommandInput, waiterConfig: number | Omit<WaiterConfiguration<LambdaCore>, "client">): Promise<WaiterResult<GetRuntimeVersionCommandOutput>>;
67
214
  }
68
215
  /**
69
- * <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>AWS Lambda Core is a set of APIs for managing shared infrastructure resources used by Lambda. The Lambda Core API provides operations for creating and managing network connectors that enable Lambda compute resources to access resources in your Amazon Virtual Private Cloud (Amazon VPC).</p> <p>Network connectors provision elastic network interfaces (ENIs) in your VPC subnets, providing a managed network path from Lambda compute environments to private resources such as Amazon RDS databases, Amazon ElastiCache clusters, and internal APIs. You create a network connector once and attach it to one or more Lambda compute resources at run time.</p> <p>The <i>Lambda Core API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response.</p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas</a> in the <i>Amazon Web Services General Reference.</i> </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i> </p>
216
+ * <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda Core is a set of APIs for managing shared infrastructure resources used by Lambda. The Lambda Core API provides operations for:</p> <ol> <li> <p>Creating and managing network connectors that enable Lambda MicroVMs and Lambda Web Functions to access resources in your Amazon Virtual Private Cloud (Amazon VPC).</p> </li> <li> <p>Creating customer-managed runtimes which can be used with Lambda Event Functions.</p> </li> </ol> <p>Network connectors provision elastic network interfaces (ENIs) in your VPC subnets, providing a managed network path from Lambda compute environments to private resources such as Amazon RDS databases, Amazon ElastiCache clusters, and internal APIs. You create a network connector once and attach it to one or more Lambda MicroVMs or Lambda Web Functions at run time.</p> <p>A customer-managed runtime is a Lambda runtime that you create and manage as a standalone resource. Lambda Event Functions can use your customer-managed runtime instead of using one of the built-in Lambda-managed runtimes. Customer-managed runtimes enable you to create customized runtimes for your workloads, and give you control over runtime updates and the deprecation lifecycle.</p> <p>The <i>Lambda Core API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response.</p> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas</a> in the <i>Amazon Web Services General Reference.</i> </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i> </p>
70
217
  * @public
71
218
  */
72
219
  export declare class LambdaCore extends LambdaCoreClient implements LambdaCore {
@@ -7,22 +7,38 @@ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/re
7
7
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
8
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
9
  import type { CreateNetworkConnectorCommandInput, CreateNetworkConnectorCommandOutput } from "./commands/CreateNetworkConnectorCommand";
10
+ import type { CreateRuntimeAliasCommandInput, CreateRuntimeAliasCommandOutput } from "./commands/CreateRuntimeAliasCommand";
11
+ import type { CreateRuntimeCommandInput, CreateRuntimeCommandOutput } from "./commands/CreateRuntimeCommand";
12
+ import type { CreateRuntimeVersionCommandInput, CreateRuntimeVersionCommandOutput } from "./commands/CreateRuntimeVersionCommand";
10
13
  import type { DeleteNetworkConnectorCommandInput, DeleteNetworkConnectorCommandOutput } from "./commands/DeleteNetworkConnectorCommand";
14
+ import type { DeleteRuntimeAliasCommandInput, DeleteRuntimeAliasCommandOutput } from "./commands/DeleteRuntimeAliasCommand";
15
+ import type { DeleteRuntimeCommandInput, DeleteRuntimeCommandOutput } from "./commands/DeleteRuntimeCommand";
16
+ import type { DeleteRuntimeVersionCommandInput, DeleteRuntimeVersionCommandOutput } from "./commands/DeleteRuntimeVersionCommand";
11
17
  import type { GetNetworkConnectorCommandInput, GetNetworkConnectorCommandOutput } from "./commands/GetNetworkConnectorCommand";
18
+ import type { GetRuntimeAliasCommandInput, GetRuntimeAliasCommandOutput } from "./commands/GetRuntimeAliasCommand";
19
+ import type { GetRuntimeCommandInput, GetRuntimeCommandOutput } from "./commands/GetRuntimeCommand";
20
+ import type { GetRuntimeVersionCommandInput, GetRuntimeVersionCommandOutput } from "./commands/GetRuntimeVersionCommand";
12
21
  import type { ListNetworkConnectorsCommandInput, ListNetworkConnectorsCommandOutput } from "./commands/ListNetworkConnectorsCommand";
13
22
  import type { ListNetworkConnectorVersionsCommandInput, ListNetworkConnectorVersionsCommandOutput } from "./commands/ListNetworkConnectorVersionsCommand";
23
+ import type { ListRuntimeAliasesCommandInput, ListRuntimeAliasesCommandOutput } from "./commands/ListRuntimeAliasesCommand";
24
+ import type { ListRuntimesCommandInput, ListRuntimesCommandOutput } from "./commands/ListRuntimesCommand";
25
+ import type { ListRuntimeVersionsCommandInput, ListRuntimeVersionsCommandOutput } from "./commands/ListRuntimeVersionsCommand";
26
+ import type { RestoreRuntimeCommandInput, RestoreRuntimeCommandOutput } from "./commands/RestoreRuntimeCommand";
14
27
  import type { UpdateNetworkConnectorCommandInput, UpdateNetworkConnectorCommandOutput } from "./commands/UpdateNetworkConnectorCommand";
28
+ import type { UpdateRuntimeAliasCommandInput, UpdateRuntimeAliasCommandOutput } from "./commands/UpdateRuntimeAliasCommand";
29
+ import type { UpdateRuntimeCommandInput, UpdateRuntimeCommandOutput } from "./commands/UpdateRuntimeCommand";
30
+ import type { UpdateRuntimeVersionCommandInput, UpdateRuntimeVersionCommandOutput } from "./commands/UpdateRuntimeVersionCommand";
15
31
  import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
16
32
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
17
33
  export { __Client };
18
34
  /**
19
35
  * @public
20
36
  */
21
- export type ServiceInputTypes = CreateNetworkConnectorCommandInput | DeleteNetworkConnectorCommandInput | GetNetworkConnectorCommandInput | ListNetworkConnectorVersionsCommandInput | ListNetworkConnectorsCommandInput | UpdateNetworkConnectorCommandInput;
37
+ export type ServiceInputTypes = CreateNetworkConnectorCommandInput | CreateRuntimeAliasCommandInput | CreateRuntimeCommandInput | CreateRuntimeVersionCommandInput | DeleteNetworkConnectorCommandInput | DeleteRuntimeAliasCommandInput | DeleteRuntimeCommandInput | DeleteRuntimeVersionCommandInput | GetNetworkConnectorCommandInput | GetRuntimeAliasCommandInput | GetRuntimeCommandInput | GetRuntimeVersionCommandInput | ListNetworkConnectorVersionsCommandInput | ListNetworkConnectorsCommandInput | ListRuntimeAliasesCommandInput | ListRuntimeVersionsCommandInput | ListRuntimesCommandInput | RestoreRuntimeCommandInput | UpdateNetworkConnectorCommandInput | UpdateRuntimeAliasCommandInput | UpdateRuntimeCommandInput | UpdateRuntimeVersionCommandInput;
22
38
  /**
23
39
  * @public
24
40
  */
25
- export type ServiceOutputTypes = CreateNetworkConnectorCommandOutput | DeleteNetworkConnectorCommandOutput | GetNetworkConnectorCommandOutput | ListNetworkConnectorVersionsCommandOutput | ListNetworkConnectorsCommandOutput | UpdateNetworkConnectorCommandOutput;
41
+ export type ServiceOutputTypes = CreateNetworkConnectorCommandOutput | CreateRuntimeAliasCommandOutput | CreateRuntimeCommandOutput | CreateRuntimeVersionCommandOutput | DeleteNetworkConnectorCommandOutput | DeleteRuntimeAliasCommandOutput | DeleteRuntimeCommandOutput | DeleteRuntimeVersionCommandOutput | GetNetworkConnectorCommandOutput | GetRuntimeAliasCommandOutput | GetRuntimeCommandOutput | GetRuntimeVersionCommandOutput | ListNetworkConnectorVersionsCommandOutput | ListNetworkConnectorsCommandOutput | ListRuntimeAliasesCommandOutput | ListRuntimeVersionsCommandOutput | ListRuntimesCommandOutput | RestoreRuntimeCommandOutput | UpdateNetworkConnectorCommandOutput | UpdateRuntimeAliasCommandOutput | UpdateRuntimeCommandOutput | UpdateRuntimeVersionCommandOutput;
26
42
  /**
27
43
  * @public
28
44
  */
@@ -175,7 +191,7 @@ export type LambdaCoreClientResolvedConfigType = __SmithyResolvedConfiguration<_
175
191
  export interface LambdaCoreClientResolvedConfig extends LambdaCoreClientResolvedConfigType {
176
192
  }
177
193
  /**
178
- * <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>AWS Lambda Core is a set of APIs for managing shared infrastructure resources used by Lambda. The Lambda Core API provides operations for creating and managing network connectors that enable Lambda compute resources to access resources in your Amazon Virtual Private Cloud (Amazon VPC).</p> <p>Network connectors provision elastic network interfaces (ENIs) in your VPC subnets, providing a managed network path from Lambda compute environments to private resources such as Amazon RDS databases, Amazon ElastiCache clusters, and internal APIs. You create a network connector once and attach it to one or more Lambda compute resources at run time.</p> <p>The <i>Lambda Core API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response.</p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas</a> in the <i>Amazon Web Services General Reference.</i> </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i> </p>
194
+ * <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda Core is a set of APIs for managing shared infrastructure resources used by Lambda. The Lambda Core API provides operations for:</p> <ol> <li> <p>Creating and managing network connectors that enable Lambda MicroVMs and Lambda Web Functions to access resources in your Amazon Virtual Private Cloud (Amazon VPC).</p> </li> <li> <p>Creating customer-managed runtimes which can be used with Lambda Event Functions.</p> </li> </ol> <p>Network connectors provision elastic network interfaces (ENIs) in your VPC subnets, providing a managed network path from Lambda compute environments to private resources such as Amazon RDS databases, Amazon ElastiCache clusters, and internal APIs. You create a network connector once and attach it to one or more Lambda MicroVMs or Lambda Web Functions at run time.</p> <p>A customer-managed runtime is a Lambda runtime that you create and manage as a standalone resource. Lambda Event Functions can use your customer-managed runtime instead of using one of the built-in Lambda-managed runtimes. Customer-managed runtimes enable you to create customized runtimes for your workloads, and give you control over runtime updates and the deprecation lifecycle.</p> <p>The <i>Lambda Core API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response.</p> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas</a> in the <i>Amazon Web Services General Reference.</i> </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i> </p>
179
195
  * @public
180
196
  */
181
197
  export declare class LambdaCoreClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaCoreClientResolvedConfig> {
@@ -96,7 +96,7 @@ declare const CreateNetworkConnectorCommand_base: {
96
96
  * <p>The request would exceed a network connector limit. For <code>CreateNetworkConnector</code>, the account has reached the maximum number of network connectors allowed. For <code>UpdateNetworkConnector</code>, the connector has reached the maximum number of versions allowed.</p>
97
97
  *
98
98
  * @throws {@link ResourceConflictException} (client fault)
99
- * <p>The request could not be completed due to a conflict with the current state of the resource. For example, attempting to update a connector that is not in <code>ACTIVE</code> state.</p>
99
+ * <p>The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.</p>
100
100
  *
101
101
  * @throws {@link ServiceException} (server fault)
102
102
  * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
@@ -0,0 +1,136 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateRuntimeAliasRequest, CreateRuntimeAliasResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateRuntimeAliasCommand}.
11
+ */
12
+ export interface CreateRuntimeAliasCommandInput extends CreateRuntimeAliasRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateRuntimeAliasCommand}.
18
+ */
19
+ export interface CreateRuntimeAliasCommandOutput extends CreateRuntimeAliasResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateRuntimeAliasCommand_base: {
22
+ new (input: CreateRuntimeAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateRuntimeAliasCommandInput, CreateRuntimeAliasCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateRuntimeAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateRuntimeAliasCommandInput, CreateRuntimeAliasCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Creates a new customer-managed runtime alias. The alias is a named pointer to a runtime version. Functions consume the customer-managed runtime through the runtime alias.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, CreateRuntimeAliasCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, CreateRuntimeAliasCommand } = 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 = { // CreateRuntimeAliasRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * RuntimeVersion: "STRING_VALUE", // required
39
+ * Name: "STRING_VALUE", // required
40
+ * Description: "STRING_VALUE",
41
+ * ReleaseLifecycle: { // RuntimeReleaseLifecycle
42
+ * ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
43
+ * DeprecationDate: "STRING_VALUE",
44
+ * FunctionCreateBlockDate: "STRING_VALUE",
45
+ * FunctionUpdateBlockDate: "STRING_VALUE",
46
+ * },
47
+ * };
48
+ * const command = new CreateRuntimeAliasCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateRuntimeAliasResponse
51
+ * // Name: "STRING_VALUE", // required
52
+ * // Arn: "STRING_VALUE", // required
53
+ * // RuntimeVersion: "STRING_VALUE", // required
54
+ * // RuntimeVersionArn: "STRING_VALUE", // required
55
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "PENDING_DELETION", // required
56
+ * // Description: "STRING_VALUE",
57
+ * // ReleaseLifecycle: { // RuntimeReleaseLifecycle
58
+ * // ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
59
+ * // DeprecationDate: "STRING_VALUE",
60
+ * // FunctionCreateBlockDate: "STRING_VALUE",
61
+ * // FunctionUpdateBlockDate: "STRING_VALUE",
62
+ * // },
63
+ * // Created: "STRING_VALUE", // required
64
+ * // LastModified: "STRING_VALUE", // required
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param CreateRuntimeAliasCommandInput - {@link CreateRuntimeAliasCommandInput}
70
+ * @returns {@link CreateRuntimeAliasCommandOutput}
71
+ * @see {@link CreateRuntimeAliasCommandInput} for command's `input` shape.
72
+ * @see {@link CreateRuntimeAliasCommandOutput} for command's `response` shape.
73
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
74
+ *
75
+ * @throws {@link InvalidParameterValueException} (client fault)
76
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
77
+ *
78
+ * @throws {@link ResourceConflictException} (client fault)
79
+ * <p>The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
83
+ *
84
+ * @throws {@link ServiceException} (server fault)
85
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
86
+ *
87
+ * @throws {@link ServiceQuotaExceededException} (client fault)
88
+ * <p>The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.</p>
89
+ *
90
+ * @throws {@link TooManyRequestsException} (client fault)
91
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
92
+ *
93
+ * @throws {@link LambdaCoreServiceException}
94
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
95
+ *
96
+ *
97
+ * @example Create a runtime alias
98
+ * ```javascript
99
+ * // Creates an alias that points at a published runtime version.
100
+ * const input = {
101
+ * Description: "Points at the newest published version",
102
+ * Name: "latest",
103
+ * RuntimeName: "php8",
104
+ * RuntimeVersion: "v1"
105
+ * };
106
+ * const command = new CreateRuntimeAliasCommand(input);
107
+ * const response = await client.send(command);
108
+ * /* response is
109
+ * {
110
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/alias/latest",
111
+ * Created: "2026-10-01T12:00:00.000Z",
112
+ * Description: "Points at the newest published version",
113
+ * LastModified: "2026-10-01T12:00:00.000Z",
114
+ * Name: "latest",
115
+ * RuntimeVersion: "v1",
116
+ * RuntimeVersionArn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/version/v1",
117
+ * State: "CREATING"
118
+ * }
119
+ * *\/
120
+ * ```
121
+ *
122
+ * @public
123
+ */
124
+ export declare class CreateRuntimeAliasCommand extends CreateRuntimeAliasCommand_base {
125
+ /** @internal type navigation helper, not in runtime. */
126
+ protected static __types: {
127
+ api: {
128
+ input: CreateRuntimeAliasRequest;
129
+ output: CreateRuntimeAliasResponse;
130
+ };
131
+ sdk: {
132
+ input: CreateRuntimeAliasCommandInput;
133
+ output: CreateRuntimeAliasCommandOutput;
134
+ };
135
+ };
136
+ }
@@ -0,0 +1,133 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateRuntimeRequest, CreateRuntimeResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateRuntimeCommand}.
11
+ */
12
+ export interface CreateRuntimeCommandInput extends CreateRuntimeRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateRuntimeCommand}.
18
+ */
19
+ export interface CreateRuntimeCommandOutput extends CreateRuntimeResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateRuntimeCommand_base: {
22
+ new (input: CreateRuntimeCommandInput): import("@smithy/core/client").CommandImpl<CreateRuntimeCommandInput, CreateRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateRuntimeCommandInput): import("@smithy/core/client").CommandImpl<CreateRuntimeCommandInput, CreateRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Creates a customer-managed runtime, a resource providing a centrally managed execution environment for your Lambda functions. The runtime resource is the parent of the runtime version and runtime alias child resources.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, CreateRuntimeCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, CreateRuntimeCommand } = 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 = { // CreateRuntimeRequest
37
+ * Name: "STRING_VALUE", // required
38
+ * Tags: { // TagMap
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * Description: "STRING_VALUE",
42
+ * LicenseInfo: "STRING_VALUE",
43
+ * ReleaseLifecycle: { // RuntimeReleaseLifecycle
44
+ * ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
45
+ * DeprecationDate: "STRING_VALUE",
46
+ * FunctionCreateBlockDate: "STRING_VALUE",
47
+ * FunctionUpdateBlockDate: "STRING_VALUE",
48
+ * },
49
+ * };
50
+ * const command = new CreateRuntimeCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // CreateRuntimeResponse
53
+ * // Arn: "STRING_VALUE", // required
54
+ * // Name: "STRING_VALUE", // required
55
+ * // Description: "STRING_VALUE",
56
+ * // LicenseInfo: "STRING_VALUE",
57
+ * // ReleaseLifecycle: { // RuntimeReleaseLifecycle
58
+ * // ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
59
+ * // DeprecationDate: "STRING_VALUE",
60
+ * // FunctionCreateBlockDate: "STRING_VALUE",
61
+ * // FunctionUpdateBlockDate: "STRING_VALUE",
62
+ * // },
63
+ * // Created: "STRING_VALUE", // required
64
+ * // LastModified: "STRING_VALUE", // required
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param CreateRuntimeCommandInput - {@link CreateRuntimeCommandInput}
70
+ * @returns {@link CreateRuntimeCommandOutput}
71
+ * @see {@link CreateRuntimeCommandInput} for command's `input` shape.
72
+ * @see {@link CreateRuntimeCommandOutput} for command's `response` shape.
73
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
74
+ *
75
+ * @throws {@link InvalidParameterValueException} (client fault)
76
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
77
+ *
78
+ * @throws {@link ResourceConflictException} (client fault)
79
+ * <p>The request could not be completed due to a conflict with the current state of the resource. For example, attempting to modify a resource that is not in a state that permits the operation.</p>
80
+ *
81
+ * @throws {@link ServiceException} (server fault)
82
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
83
+ *
84
+ * @throws {@link ServiceQuotaExceededException} (client fault)
85
+ * <p>The request would exceed a service quota for your account. Request a quota increase or reduce the number of resources in use, then retry the request.</p>
86
+ *
87
+ * @throws {@link TooManyRequestsException} (client fault)
88
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
89
+ *
90
+ * @throws {@link LambdaCoreServiceException}
91
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
92
+ *
93
+ *
94
+ * @example Create a runtime
95
+ * ```javascript
96
+ * // Creates a customer-managed runtime resource.
97
+ * const input = {
98
+ * Description: "PHP 8 custom runtime",
99
+ * LicenseInfo: "MIT",
100
+ * Name: "php8",
101
+ * Tags: {
102
+ * team: "runtimes"
103
+ * }
104
+ * };
105
+ * const command = new CreateRuntimeCommand(input);
106
+ * const response = await client.send(command);
107
+ * /* response is
108
+ * {
109
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8",
110
+ * Created: "2026-10-01T12:00:00.000Z",
111
+ * Description: "PHP 8 custom runtime",
112
+ * LastModified: "2026-10-01T12:00:00.000Z",
113
+ * LicenseInfo: "MIT",
114
+ * Name: "php8"
115
+ * }
116
+ * *\/
117
+ * ```
118
+ *
119
+ * @public
120
+ */
121
+ export declare class CreateRuntimeCommand extends CreateRuntimeCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: CreateRuntimeRequest;
126
+ output: CreateRuntimeResponse;
127
+ };
128
+ sdk: {
129
+ input: CreateRuntimeCommandInput;
130
+ output: CreateRuntimeCommandOutput;
131
+ };
132
+ };
133
+ }