@aws-sdk/client-lambda-core 3.1168.0 → 3.1170.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 +665 -20
  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 +42 -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 +373 -18
  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 +7 -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 +5 -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 +6 -3
  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 +2 -2
  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 +8 -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 +178 -0
  58. package/dist-types/models/errors.d.ts +33 -2
  59. package/dist-types/models/models_0.d.ts +1138 -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 +56 -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 +50 -0
  86. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +270 -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 +56 -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,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
+ }
@@ -0,0 +1,137 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { RestoreRuntimeRequest, RestoreRuntimeResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link RestoreRuntimeCommand}.
11
+ */
12
+ export interface RestoreRuntimeCommandInput extends RestoreRuntimeRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link RestoreRuntimeCommand}.
18
+ */
19
+ export interface RestoreRuntimeCommandOutput extends RestoreRuntimeResponse, __MetadataBearer {
20
+ }
21
+ declare const RestoreRuntimeCommand_base: {
22
+ new (input: RestoreRuntimeCommandInput): import("@smithy/core/client").CommandImpl<RestoreRuntimeCommandInput, RestoreRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: RestoreRuntimeCommandInput): import("@smithy/core/client").CommandImpl<RestoreRuntimeCommandInput, RestoreRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Cancels a pending scheduled deletion, returning the resource to the ACTIVE state. Scope is
28
+ * determined by the RuntimeName path parameter plus an optional, mutually exclusive RuntimeVersion
29
+ * or RuntimeAlias query parameter: with neither, the runtime itself is restored; with RuntimeVersion,
30
+ * the named runtime version; with RuntimeAlias, the named runtime alias. Restoring a resource that is
31
+ * already ACTIVE is a no-op success. Restore only works while the target is PENDING_DELETION; once the
32
+ * scheduled deletion has begun executing (DELETING) or has completed, the call fails.
33
+ *
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { LambdaCoreClient, RestoreRuntimeCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
38
+ * // const { LambdaCoreClient, RestoreRuntimeCommand } = require("@aws-sdk/client-lambda-core"); // CommonJS import
39
+ * // import type { LambdaCoreClientConfig } from "@aws-sdk/client-lambda-core";
40
+ * const config = {}; // type is LambdaCoreClientConfig
41
+ * const client = new LambdaCoreClient(config);
42
+ * const input = { // RestoreRuntimeRequest
43
+ * RuntimeName: "STRING_VALUE", // required
44
+ * RuntimeVersion: "STRING_VALUE",
45
+ * RuntimeAlias: "STRING_VALUE",
46
+ * };
47
+ * const command = new RestoreRuntimeCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // RestoreRuntimeResponse
50
+ * // RuntimeName: "STRING_VALUE", // required
51
+ * // RuntimeVersion: "STRING_VALUE",
52
+ * // RuntimeAlias: "STRING_VALUE",
53
+ * // Arn: "STRING_VALUE", // required
54
+ * // State: "ACTIVE" || "PENDING_DELETION" || "DELETING" || "FAILED", // required
55
+ * // LastModified: "STRING_VALUE", // required
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param RestoreRuntimeCommandInput - {@link RestoreRuntimeCommandInput}
61
+ * @returns {@link RestoreRuntimeCommandOutput}
62
+ * @see {@link RestoreRuntimeCommandInput} for command's `input` shape.
63
+ * @see {@link RestoreRuntimeCommandOutput} for command's `response` shape.
64
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
65
+ *
66
+ * @throws {@link InvalidParameterValueException} (client fault)
67
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
68
+ *
69
+ * @throws {@link ResourceConflictException} (client fault)
70
+ * <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>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource does not exist. Verify the identifier and Region.</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 Restore a runtime alias that is scheduled for deletion
86
+ * ```javascript
87
+ * // Cancels a pending deletion for an alias, returning it to ACTIVE.
88
+ * const input = {
89
+ * RuntimeAlias: "release",
90
+ * RuntimeName: "php8"
91
+ * };
92
+ * const command = new RestoreRuntimeCommand(input);
93
+ * const response = await client.send(command);
94
+ * /* response is
95
+ * {
96
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/alias/release",
97
+ * LastModified: "2026-10-02T19:40:00.000Z",
98
+ * RuntimeAlias: "release",
99
+ * RuntimeName: "php8",
100
+ * State: "ACTIVE"
101
+ * }
102
+ * *\/
103
+ * ```
104
+ *
105
+ * @example Restore a customer-managed runtime that is scheduled for deletion
106
+ * ```javascript
107
+ * // Cancels a pending deletion for the runtime, returning it to ACTIVE.
108
+ * const input = {
109
+ * RuntimeName: "php8"
110
+ * };
111
+ * const command = new RestoreRuntimeCommand(input);
112
+ * const response = await client.send(command);
113
+ * /* response is
114
+ * {
115
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8",
116
+ * LastModified: "2026-10-02T19:41:00.000Z",
117
+ * RuntimeName: "php8",
118
+ * State: "ACTIVE"
119
+ * }
120
+ * *\/
121
+ * ```
122
+ *
123
+ * @public
124
+ */
125
+ export declare class RestoreRuntimeCommand extends RestoreRuntimeCommand_base {
126
+ /** @internal type navigation helper, not in runtime. */
127
+ protected static __types: {
128
+ api: {
129
+ input: RestoreRuntimeRequest;
130
+ output: RestoreRuntimeResponse;
131
+ };
132
+ sdk: {
133
+ input: RestoreRuntimeCommandInput;
134
+ output: RestoreRuntimeCommandOutput;
135
+ };
136
+ };
137
+ }
@@ -47,6 +47,9 @@ declare const UpdateNetworkConnectorCommand_base: {
47
47
  * AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
48
48
  * "MicroVm" || "WebFunction",
49
49
  * ],
50
+ * ElasticIpConfiguration: { // ElasticIpConfiguration
51
+ * Type: "None" || "ServiceManaged", // required
52
+ * },
50
53
  * },
51
54
  * },
52
55
  * OperatorRole: "STRING_VALUE",
@@ -73,6 +76,9 @@ declare const UpdateNetworkConnectorCommand_base: {
73
76
  * // AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
74
77
  * // "MicroVm" || "WebFunction",
75
78
  * // ],
79
+ * // ElasticIpConfiguration: { // ElasticIpConfiguration
80
+ * // Type: "None" || "ServiceManaged", // required
81
+ * // },
76
82
  * // },
77
83
  * // },
78
84
  * // State: "PENDING" || "ACTIVE" || "INACTIVE" || "FAILED" || "DELETING" || "DELETE_FAILED",
@@ -96,10 +102,10 @@ declare const UpdateNetworkConnectorCommand_base: {
96
102
  * <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
103
  *
98
104
  * @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>
105
+ * <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
106
  *
101
107
  * @throws {@link ResourceNotFoundException} (client fault)
102
- * <p>The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.</p>
108
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
103
109
  *
104
110
  * @throws {@link ServiceException} (server fault)
105
111
  * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
@@ -0,0 +1,143 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateRuntimeAliasRequest, UpdateRuntimeAliasResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateRuntimeAliasCommand}.
11
+ */
12
+ export interface UpdateRuntimeAliasCommandInput extends UpdateRuntimeAliasRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateRuntimeAliasCommand}.
18
+ */
19
+ export interface UpdateRuntimeAliasCommandOutput extends UpdateRuntimeAliasResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateRuntimeAliasCommand_base: {
22
+ new (input: UpdateRuntimeAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateRuntimeAliasCommandInput, UpdateRuntimeAliasCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateRuntimeAliasCommandInput): import("@smithy/core/client").CommandImpl<UpdateRuntimeAliasCommandInput, UpdateRuntimeAliasCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates an existing runtime alias to point to a different runtime version or to change its description or lifecycle information.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, UpdateRuntimeAliasCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, UpdateRuntimeAliasCommand } = 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 = { // UpdateRuntimeAliasRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE", // required
39
+ * RuntimeVersion: "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 UpdateRuntimeAliasCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // UpdateRuntimeAliasResponse
51
+ * // RuntimeName: "STRING_VALUE", // required
52
+ * // Name: "STRING_VALUE", // required
53
+ * // Arn: "STRING_VALUE", // required
54
+ * // RuntimeVersion: "STRING_VALUE", // required
55
+ * // RuntimeVersionArn: "STRING_VALUE", // required
56
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "PENDING_DELETION", // required
57
+ * // Description: "STRING_VALUE",
58
+ * // Compatibility: { // Compatibility
59
+ * // IntegrationModels: [ // IntegrationModelList
60
+ * // "RuntimeAPI",
61
+ * // ],
62
+ * // Architectures: [ // RuntimeArchitectureList
63
+ * // "x86_64" || "arm64",
64
+ * // ],
65
+ * // ManagedInstances: "Supported" || "NotSupported",
66
+ * // },
67
+ * // ReleaseLifecycle: { // RuntimeReleaseLifecycle
68
+ * // ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
69
+ * // DeprecationDate: "STRING_VALUE",
70
+ * // FunctionCreateBlockDate: "STRING_VALUE",
71
+ * // FunctionUpdateBlockDate: "STRING_VALUE",
72
+ * // },
73
+ * // Created: "STRING_VALUE", // required
74
+ * // LastModified: "STRING_VALUE", // required
75
+ * // };
76
+ *
77
+ * ```
78
+ *
79
+ * @param UpdateRuntimeAliasCommandInput - {@link UpdateRuntimeAliasCommandInput}
80
+ * @returns {@link UpdateRuntimeAliasCommandOutput}
81
+ * @see {@link UpdateRuntimeAliasCommandInput} for command's `input` shape.
82
+ * @see {@link UpdateRuntimeAliasCommandOutput} for command's `response` shape.
83
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
84
+ *
85
+ * @throws {@link InvalidParameterValueException} (client fault)
86
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
87
+ *
88
+ * @throws {@link ResourceConflictException} (client fault)
89
+ * <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>
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
93
+ *
94
+ * @throws {@link ServiceException} (server fault)
95
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
96
+ *
97
+ * @throws {@link TooManyRequestsException} (client fault)
98
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
99
+ *
100
+ * @throws {@link LambdaCoreServiceException}
101
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
102
+ *
103
+ *
104
+ * @example Update a runtime alias
105
+ * ```javascript
106
+ * // Repoints an alias at a different runtime version.
107
+ * const input = {
108
+ * Name: "latest",
109
+ * RuntimeName: "php8",
110
+ * RuntimeVersion: "v2"
111
+ * };
112
+ * const command = new UpdateRuntimeAliasCommand(input);
113
+ * const response = await client.send(command);
114
+ * /* response is
115
+ * {
116
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/alias/latest",
117
+ * Created: "2026-10-01T12:00:00.000Z",
118
+ * Description: "Points at the newest published version",
119
+ * LastModified: "2026-10-03T08:15:00.000Z",
120
+ * Name: "latest",
121
+ * RuntimeName: "php8",
122
+ * RuntimeVersion: "v2",
123
+ * RuntimeVersionArn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/version/v2",
124
+ * State: "UPDATING"
125
+ * }
126
+ * *\/
127
+ * ```
128
+ *
129
+ * @public
130
+ */
131
+ export declare class UpdateRuntimeAliasCommand extends UpdateRuntimeAliasCommand_base {
132
+ /** @internal type navigation helper, not in runtime. */
133
+ protected static __types: {
134
+ api: {
135
+ input: UpdateRuntimeAliasRequest;
136
+ output: UpdateRuntimeAliasResponse;
137
+ };
138
+ sdk: {
139
+ input: UpdateRuntimeAliasCommandInput;
140
+ output: UpdateRuntimeAliasCommandOutput;
141
+ };
142
+ };
143
+ }
@@ -0,0 +1,132 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateRuntimeRequest, UpdateRuntimeResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateRuntimeCommand}.
11
+ */
12
+ export interface UpdateRuntimeCommandInput extends UpdateRuntimeRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateRuntimeCommand}.
18
+ */
19
+ export interface UpdateRuntimeCommandOutput extends UpdateRuntimeResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateRuntimeCommand_base: {
22
+ new (input: UpdateRuntimeCommandInput): import("@smithy/core/client").CommandImpl<UpdateRuntimeCommandInput, UpdateRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateRuntimeCommandInput): import("@smithy/core/client").CommandImpl<UpdateRuntimeCommandInput, UpdateRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates the properties of an existing customer-managed runtime, such as its description, license information, or lifecycle information.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, UpdateRuntimeCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, UpdateRuntimeCommand } = 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 = { // UpdateRuntimeRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * Description: "STRING_VALUE",
39
+ * LicenseInfo: "STRING_VALUE",
40
+ * ReleaseLifecycle: { // RuntimeReleaseLifecycle
41
+ * ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
42
+ * DeprecationDate: "STRING_VALUE",
43
+ * FunctionCreateBlockDate: "STRING_VALUE",
44
+ * FunctionUpdateBlockDate: "STRING_VALUE",
45
+ * },
46
+ * };
47
+ * const command = new UpdateRuntimeCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateRuntimeResponse
50
+ * // Arn: "STRING_VALUE", // required
51
+ * // Name: "STRING_VALUE", // required
52
+ * // Description: "STRING_VALUE",
53
+ * // LicenseInfo: "STRING_VALUE",
54
+ * // ReleaseLifecycle: { // RuntimeReleaseLifecycle
55
+ * // ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
56
+ * // DeprecationDate: "STRING_VALUE",
57
+ * // FunctionCreateBlockDate: "STRING_VALUE",
58
+ * // FunctionUpdateBlockDate: "STRING_VALUE",
59
+ * // },
60
+ * // Created: "STRING_VALUE", // required
61
+ * // LastModified: "STRING_VALUE", // required
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param UpdateRuntimeCommandInput - {@link UpdateRuntimeCommandInput}
67
+ * @returns {@link UpdateRuntimeCommandOutput}
68
+ * @see {@link UpdateRuntimeCommandInput} for command's `input` shape.
69
+ * @see {@link UpdateRuntimeCommandOutput} 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 ResourceConflictException} (client fault)
76
+ * <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>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>The specified resource does not exist. Verify the identifier and Region.</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 TooManyRequestsException} (client fault)
85
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
86
+ *
87
+ * @throws {@link LambdaCoreServiceException}
88
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
89
+ *
90
+ *
91
+ * @example Update a runtime
92
+ * ```javascript
93
+ * // Updates a runtime's description and declares it generally available.
94
+ * const input = {
95
+ * Description: "PHP 8 custom runtime (updated)",
96
+ * ReleaseLifecycle: {
97
+ * ReleaseState: "GA"
98
+ * },
99
+ * RuntimeName: "php8"
100
+ * };
101
+ * const command = new UpdateRuntimeCommand(input);
102
+ * const response = await client.send(command);
103
+ * /* response is
104
+ * {
105
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8",
106
+ * Created: "2026-10-01T12:00:00.000Z",
107
+ * Description: "PHP 8 custom runtime (updated)",
108
+ * LastModified: "2026-10-02T09:30:00.000Z",
109
+ * LicenseInfo: "MIT",
110
+ * Name: "php8",
111
+ * ReleaseLifecycle: {
112
+ * ReleaseState: "GA"
113
+ * }
114
+ * }
115
+ * *\/
116
+ * ```
117
+ *
118
+ * @public
119
+ */
120
+ export declare class UpdateRuntimeCommand extends UpdateRuntimeCommand_base {
121
+ /** @internal type navigation helper, not in runtime. */
122
+ protected static __types: {
123
+ api: {
124
+ input: UpdateRuntimeRequest;
125
+ output: UpdateRuntimeResponse;
126
+ };
127
+ sdk: {
128
+ input: UpdateRuntimeCommandInput;
129
+ output: UpdateRuntimeCommandOutput;
130
+ };
131
+ };
132
+ }