@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,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
+ }
@@ -96,10 +96,10 @@ declare const UpdateNetworkConnectorCommand_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 ResourceNotFoundException} (client fault)
102
- * <p>The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.</p>
102
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
103
103
  *
104
104
  * @throws {@link ServiceException} (server fault)
105
105
  * <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
+ }
@@ -0,0 +1,133 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateRuntimeVersionRequest, UpdateRuntimeVersionResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateRuntimeVersionCommand}.
11
+ */
12
+ export interface UpdateRuntimeVersionCommandInput extends UpdateRuntimeVersionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateRuntimeVersionCommand}.
18
+ */
19
+ export interface UpdateRuntimeVersionCommandOutput extends UpdateRuntimeVersionResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateRuntimeVersionCommand_base: {
22
+ new (input: UpdateRuntimeVersionCommandInput): import("@smithy/core/client").CommandImpl<UpdateRuntimeVersionCommandInput, UpdateRuntimeVersionCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateRuntimeVersionCommandInput): import("@smithy/core/client").CommandImpl<UpdateRuntimeVersionCommandInput, UpdateRuntimeVersionCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Updates the runtime version release notes. The runtime version must be in the ACTIVE state. The runtime version image is immutable. To change the runtime contents, create a new 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, UpdateRuntimeVersionCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, UpdateRuntimeVersionCommand } = 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 = { // UpdateRuntimeVersionRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE", // required
39
+ * ReleaseNotes: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new UpdateRuntimeVersionCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // UpdateRuntimeVersionResponse
44
+ * // Name: "STRING_VALUE", // required
45
+ * // Arn: "STRING_VALUE", // required
46
+ * // ResolvedUri: "STRING_VALUE", // required
47
+ * // State: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "PENDING_DELETION", // required
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 UpdateRuntimeVersionCommandInput - {@link UpdateRuntimeVersionCommandInput}
72
+ * @returns {@link UpdateRuntimeVersionCommandOutput}
73
+ * @see {@link UpdateRuntimeVersionCommandInput} for command's `input` shape.
74
+ * @see {@link UpdateRuntimeVersionCommandOutput} 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 ResourceConflictException} (client fault)
81
+ * <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>
82
+ *
83
+ * @throws {@link ResourceNotFoundException} (client fault)
84
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
85
+ *
86
+ * @throws {@link ServiceException} (server fault)
87
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
88
+ *
89
+ * @throws {@link TooManyRequestsException} (client fault)
90
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
91
+ *
92
+ * @throws {@link LambdaCoreServiceException}
93
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
94
+ *
95
+ *
96
+ * @example Update a runtime version's release notes
97
+ * ```javascript
98
+ * // Updates the release notes of an ACTIVE runtime version.
99
+ * const input = {
100
+ * Name: "v1",
101
+ * ReleaseNotes: "Patched OpenSSL to 3.0.14",
102
+ * RuntimeName: "php8"
103
+ * };
104
+ * const command = new UpdateRuntimeVersionCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * {
108
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/version/v1",
109
+ * Created: "2026-10-01T12:00:00.000Z",
110
+ * LastModified: "2026-10-03T08:15:00.000Z",
111
+ * Name: "v1",
112
+ * ReleaseNotes: "Patched OpenSSL to 3.0.14",
113
+ * ResolvedUri: "123456789012.dkr.ecr.us-west-2.amazonaws.com/php8@sha256:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
114
+ * State: "ACTIVE"
115
+ * }
116
+ * *\/
117
+ * ```
118
+ *
119
+ * @public
120
+ */
121
+ export declare class UpdateRuntimeVersionCommand extends UpdateRuntimeVersionCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: UpdateRuntimeVersionRequest;
126
+ output: UpdateRuntimeVersionResponse;
127
+ };
128
+ sdk: {
129
+ input: UpdateRuntimeVersionCommandInput;
130
+ output: UpdateRuntimeVersionCommandOutput;
131
+ };
132
+ };
133
+ }
@@ -1,6 +1,22 @@
1
1
  export * from "./CreateNetworkConnectorCommand";
2
+ export * from "./CreateRuntimeAliasCommand";
3
+ export * from "./CreateRuntimeCommand";
4
+ export * from "./CreateRuntimeVersionCommand";
2
5
  export * from "./DeleteNetworkConnectorCommand";
6
+ export * from "./DeleteRuntimeAliasCommand";
7
+ export * from "./DeleteRuntimeCommand";
8
+ export * from "./DeleteRuntimeVersionCommand";
3
9
  export * from "./GetNetworkConnectorCommand";
10
+ export * from "./GetRuntimeAliasCommand";
11
+ export * from "./GetRuntimeCommand";
12
+ export * from "./GetRuntimeVersionCommand";
4
13
  export * from "./ListNetworkConnectorVersionsCommand";
5
14
  export * from "./ListNetworkConnectorsCommand";
15
+ export * from "./ListRuntimeAliasesCommand";
16
+ export * from "./ListRuntimeVersionsCommand";
17
+ export * from "./ListRuntimesCommand";
18
+ export * from "./RestoreRuntimeCommand";
6
19
  export * from "./UpdateNetworkConnectorCommand";
20
+ export * from "./UpdateRuntimeAliasCommand";
21
+ export * from "./UpdateRuntimeCommand";
22
+ export * from "./UpdateRuntimeVersionCommand";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <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>
2
+ * <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>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -11,6 +11,7 @@ export type { LambdaCoreExtensionConfiguration } from "./extensionConfiguration"
11
11
  export * from "./commands";
12
12
  export { Command as $Command } from "@smithy/core/client";
13
13
  export * from "./pagination";
14
+ export * from "./waiters";
14
15
  export * from "./schemas/schemas_0";
15
16
  export * from "./models/enums";
16
17
  export * from "./models/errors";