@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,156 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateRuntimeVersionRequest, CreateRuntimeVersionResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateRuntimeVersionCommand}.
11
+ */
12
+ export interface CreateRuntimeVersionCommandInput extends CreateRuntimeVersionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateRuntimeVersionCommand}.
18
+ */
19
+ export interface CreateRuntimeVersionCommandOutput extends CreateRuntimeVersionResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateRuntimeVersionCommand_base: {
22
+ new (input: CreateRuntimeVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateRuntimeVersionCommandInput, CreateRuntimeVersionCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateRuntimeVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateRuntimeVersionCommandInput, CreateRuntimeVersionCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Creates a new runtime version. A runtime version defines the function execution environment by referencing a container image. Runtime versions are immutable. To update the runtime, create a new runtime version and migrate functions by updating the runtime aliases to point to the 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, CreateRuntimeVersionCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, CreateRuntimeVersionCommand } = 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 = { // CreateRuntimeVersionRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * ImageUri: "STRING_VALUE", // required
39
+ * Name: "STRING_VALUE", // required
40
+ * ReleaseNotes: "STRING_VALUE",
41
+ * DryRun: true || false,
42
+ * };
43
+ * const command = new CreateRuntimeVersionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // CreateRuntimeVersionResponse
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // ResolvedUri: "STRING_VALUE", // required
49
+ * // State: "CREATING" || "ACTIVE" || "FAILED" || "DELETING" || "PENDING_DELETION", // required
50
+ * // ReleaseNotes: "STRING_VALUE",
51
+ * // Platforms: [ // PlatformList
52
+ * // { // Platform
53
+ * // Architecture: "STRING_VALUE", // required
54
+ * // Os: "STRING_VALUE", // required
55
+ * // Digest: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // Compatibility: { // Compatibility
59
+ * // IntegrationModels: [ // IntegrationModelList
60
+ * // "RuntimeAPI",
61
+ * // ],
62
+ * // Architectures: [ // RuntimeArchitectureList
63
+ * // "x86_64" || "arm64",
64
+ * // ],
65
+ * // ManagedInstances: "Supported" || "NotSupported",
66
+ * // },
67
+ * // Created: "STRING_VALUE", // required
68
+ * // LastModified: "STRING_VALUE", // required
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param CreateRuntimeVersionCommandInput - {@link CreateRuntimeVersionCommandInput}
74
+ * @returns {@link CreateRuntimeVersionCommandOutput}
75
+ * @see {@link CreateRuntimeVersionCommandInput} for command's `input` shape.
76
+ * @see {@link CreateRuntimeVersionCommandOutput} for command's `response` shape.
77
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
78
+ *
79
+ * @throws {@link InvalidParameterValueException} (client fault)
80
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
81
+ *
82
+ * @throws {@link ResourceConflictException} (client fault)
83
+ * <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>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
87
+ *
88
+ * @throws {@link ServiceException} (server fault)
89
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
90
+ *
91
+ * @throws {@link ServiceQuotaExceededException} (client fault)
92
+ * <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>
93
+ *
94
+ * @throws {@link TooManyRequestsException} (client fault)
95
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
96
+ *
97
+ * @throws {@link LambdaCoreServiceException}
98
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
99
+ *
100
+ *
101
+ * @example Create a runtime version
102
+ * ```javascript
103
+ * // Creates a new runtime version from a container image.
104
+ * const input = {
105
+ * ImageUri: "123456789012.dkr.ecr.us-west-2.amazonaws.com/php8:latest",
106
+ * Name: "v1",
107
+ * ReleaseNotes: "Initial release",
108
+ * RuntimeName: "php8"
109
+ * };
110
+ * const command = new CreateRuntimeVersionCommand(input);
111
+ * const response = await client.send(command);
112
+ * /* response is
113
+ * {
114
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/version/v1",
115
+ * Compatibility: {
116
+ * Architectures: [
117
+ * "arm64",
118
+ * "x86_64"
119
+ * ],
120
+ * IntegrationModels: [
121
+ * "RuntimeAPI"
122
+ * ],
123
+ * ManagedInstances: "Supported"
124
+ * },
125
+ * Created: "2026-10-01T12:00:00.000Z",
126
+ * LastModified: "2026-10-01T12:00:00.000Z",
127
+ * Name: "v1",
128
+ * Platforms: [
129
+ * {
130
+ * Architecture: "arm64",
131
+ * Digest: "sha256:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
132
+ * Os: "linux"
133
+ * }
134
+ * ],
135
+ * ReleaseNotes: "Initial release",
136
+ * ResolvedUri: "123456789012.dkr.ecr.us-west-2.amazonaws.com/php8@sha256:1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b",
137
+ * State: "CREATING"
138
+ * }
139
+ * *\/
140
+ * ```
141
+ *
142
+ * @public
143
+ */
144
+ export declare class CreateRuntimeVersionCommand extends CreateRuntimeVersionCommand_base {
145
+ /** @internal type navigation helper, not in runtime. */
146
+ protected static __types: {
147
+ api: {
148
+ input: CreateRuntimeVersionRequest;
149
+ output: CreateRuntimeVersionResponse;
150
+ };
151
+ sdk: {
152
+ input: CreateRuntimeVersionCommandInput;
153
+ output: CreateRuntimeVersionCommandOutput;
154
+ };
155
+ };
156
+ }
@@ -56,6 +56,9 @@ declare const DeleteNetworkConnectorCommand_base: {
56
56
  * // AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
57
57
  * // "MicroVm" || "WebFunction",
58
58
  * // ],
59
+ * // ElasticIpConfiguration: { // ElasticIpConfiguration
60
+ * // Type: "None" || "ServiceManaged", // required
61
+ * // },
59
62
  * // },
60
63
  * // },
61
64
  * // OperatorRole: "STRING_VALUE",
@@ -74,10 +77,10 @@ declare const DeleteNetworkConnectorCommand_base: {
74
77
  * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
75
78
  *
76
79
  * @throws {@link ResourceConflictException} (client fault)
77
- * <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>
80
+ * <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>
78
81
  *
79
82
  * @throws {@link ResourceNotFoundException} (client fault)
80
- * <p>The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.</p>
83
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
81
84
  *
82
85
  * @throws {@link ServiceException} (server fault)
83
86
  * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
@@ -0,0 +1,100 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteRuntimeAliasRequest, DeleteRuntimeAliasResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteRuntimeAliasCommand}.
11
+ */
12
+ export interface DeleteRuntimeAliasCommandInput extends DeleteRuntimeAliasRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteRuntimeAliasCommand}.
18
+ */
19
+ export interface DeleteRuntimeAliasCommandOutput extends DeleteRuntimeAliasResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteRuntimeAliasCommand_base: {
22
+ new (input: DeleteRuntimeAliasCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuntimeAliasCommandInput, DeleteRuntimeAliasCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteRuntimeAliasCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuntimeAliasCommandInput, DeleteRuntimeAliasCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Schedules a runtime alias to be deleted. Runtime aliases scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Function invokes fail for functions using runtime aliases that are deleted or pending deletion.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, DeleteRuntimeAliasCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, DeleteRuntimeAliasCommand } = 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 = { // DeleteRuntimeAliasRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE", // required
39
+ * RecoveryWindowInDays: Number("int"),
40
+ * };
41
+ * const command = new DeleteRuntimeAliasCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteRuntimeAliasCommandInput - {@link DeleteRuntimeAliasCommandInput}
48
+ * @returns {@link DeleteRuntimeAliasCommandOutput}
49
+ * @see {@link DeleteRuntimeAliasCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteRuntimeAliasCommandOutput} for command's `response` shape.
51
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
52
+ *
53
+ * @throws {@link InvalidParameterValueException} (client fault)
54
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
55
+ *
56
+ * @throws {@link ResourceConflictException} (client fault)
57
+ * <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>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
61
+ *
62
+ * @throws {@link ServiceException} (server fault)
63
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
64
+ *
65
+ * @throws {@link TooManyRequestsException} (client fault)
66
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
67
+ *
68
+ * @throws {@link LambdaCoreServiceException}
69
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
70
+ *
71
+ *
72
+ * @example Delete a runtime alias
73
+ * ```javascript
74
+ * // Schedules a runtime alias to be deleted.
75
+ * const input = {
76
+ * Name: "latest",
77
+ * RuntimeName: "php8"
78
+ * };
79
+ * const command = new DeleteRuntimeAliasCommand(input);
80
+ * const response = await client.send(command);
81
+ * /* response is
82
+ * { /* empty *\/ }
83
+ * *\/
84
+ * ```
85
+ *
86
+ * @public
87
+ */
88
+ export declare class DeleteRuntimeAliasCommand extends DeleteRuntimeAliasCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: DeleteRuntimeAliasRequest;
93
+ output: {};
94
+ };
95
+ sdk: {
96
+ input: DeleteRuntimeAliasCommandInput;
97
+ output: DeleteRuntimeAliasCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,98 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteRuntimeRequest, DeleteRuntimeResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteRuntimeCommand}.
11
+ */
12
+ export interface DeleteRuntimeCommandInput extends DeleteRuntimeRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteRuntimeCommand}.
18
+ */
19
+ export interface DeleteRuntimeCommandOutput extends DeleteRuntimeResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteRuntimeCommand_base: {
22
+ new (input: DeleteRuntimeCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuntimeCommandInput, DeleteRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteRuntimeCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuntimeCommandInput, DeleteRuntimeCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Schedules a customer-managed runtime to be deleted. Runtimes scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Runtime versions and aliases must be deleted or scheduled for deletion before deleting the runtime. Function invokes fail for functions using runtime versions or aliases that are deleted or pending deletion.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, DeleteRuntimeCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, DeleteRuntimeCommand } = 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 = { // DeleteRuntimeRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * RecoveryWindowInDays: Number("int"),
39
+ * };
40
+ * const command = new DeleteRuntimeCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteRuntimeCommandInput - {@link DeleteRuntimeCommandInput}
47
+ * @returns {@link DeleteRuntimeCommandOutput}
48
+ * @see {@link DeleteRuntimeCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteRuntimeCommandOutput} for command's `response` shape.
50
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
51
+ *
52
+ * @throws {@link InvalidParameterValueException} (client fault)
53
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
54
+ *
55
+ * @throws {@link ResourceConflictException} (client fault)
56
+ * <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>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
60
+ *
61
+ * @throws {@link ServiceException} (server fault)
62
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
63
+ *
64
+ * @throws {@link TooManyRequestsException} (client fault)
65
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
66
+ *
67
+ * @throws {@link LambdaCoreServiceException}
68
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
69
+ *
70
+ *
71
+ * @example Delete a runtime
72
+ * ```javascript
73
+ * // Schedules a customer-managed runtime to be deleted.
74
+ * const input = {
75
+ * RuntimeName: "php8"
76
+ * };
77
+ * const command = new DeleteRuntimeCommand(input);
78
+ * const response = await client.send(command);
79
+ * /* response is
80
+ * { /* empty *\/ }
81
+ * *\/
82
+ * ```
83
+ *
84
+ * @public
85
+ */
86
+ export declare class DeleteRuntimeCommand extends DeleteRuntimeCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: DeleteRuntimeRequest;
91
+ output: {};
92
+ };
93
+ sdk: {
94
+ input: DeleteRuntimeCommandInput;
95
+ output: DeleteRuntimeCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,100 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteRuntimeVersionRequest, DeleteRuntimeVersionResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteRuntimeVersionCommand}.
11
+ */
12
+ export interface DeleteRuntimeVersionCommandInput extends DeleteRuntimeVersionRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteRuntimeVersionCommand}.
18
+ */
19
+ export interface DeleteRuntimeVersionCommandOutput extends DeleteRuntimeVersionResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteRuntimeVersionCommand_base: {
22
+ new (input: DeleteRuntimeVersionCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuntimeVersionCommandInput, DeleteRuntimeVersionCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteRuntimeVersionCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuntimeVersionCommandInput, DeleteRuntimeVersionCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Schedules a runtime version to be deleted. Runtime versions scheduled for deletion enter the PENDING_DELETION state and can be restored during the scheduled deletion window. Function invokes fail for functions using a runtime version that is deleted or pending deletion.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, DeleteRuntimeVersionCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, DeleteRuntimeVersionCommand } = 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 = { // DeleteRuntimeVersionRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE", // required
39
+ * RecoveryWindowInDays: Number("int"),
40
+ * };
41
+ * const command = new DeleteRuntimeVersionCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeleteRuntimeVersionCommandInput - {@link DeleteRuntimeVersionCommandInput}
48
+ * @returns {@link DeleteRuntimeVersionCommandOutput}
49
+ * @see {@link DeleteRuntimeVersionCommandInput} for command's `input` shape.
50
+ * @see {@link DeleteRuntimeVersionCommandOutput} for command's `response` shape.
51
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
52
+ *
53
+ * @throws {@link InvalidParameterValueException} (client fault)
54
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
55
+ *
56
+ * @throws {@link ResourceConflictException} (client fault)
57
+ * <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>
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
61
+ *
62
+ * @throws {@link ServiceException} (server fault)
63
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
64
+ *
65
+ * @throws {@link TooManyRequestsException} (client fault)
66
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
67
+ *
68
+ * @throws {@link LambdaCoreServiceException}
69
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
70
+ *
71
+ *
72
+ * @example Delete a runtime version
73
+ * ```javascript
74
+ * // Schedules a runtime version to be deleted.
75
+ * const input = {
76
+ * Name: "v1",
77
+ * RuntimeName: "php8"
78
+ * };
79
+ * const command = new DeleteRuntimeVersionCommand(input);
80
+ * const response = await client.send(command);
81
+ * /* response is
82
+ * { /* empty *\/ }
83
+ * *\/
84
+ * ```
85
+ *
86
+ * @public
87
+ */
88
+ export declare class DeleteRuntimeVersionCommand extends DeleteRuntimeVersionCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: DeleteRuntimeVersionRequest;
93
+ output: {};
94
+ };
95
+ sdk: {
96
+ input: DeleteRuntimeVersionCommandInput;
97
+ output: DeleteRuntimeVersionCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -58,15 +58,18 @@ declare const GetNetworkConnectorCommand_base: {
58
58
  * // AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
59
59
  * // "MicroVm" || "WebFunction",
60
60
  * // ],
61
+ * // ElasticIpConfiguration: { // ElasticIpConfiguration
62
+ * // Type: "None" || "ServiceManaged", // required
63
+ * // },
61
64
  * // },
62
65
  * // },
63
66
  * // OperatorRole: "STRING_VALUE",
64
67
  * // State: "PENDING" || "ACTIVE" || "INACTIVE" || "FAILED" || "DELETING" || "DELETE_FAILED",
65
68
  * // StateReason: "STRING_VALUE",
66
- * // StateReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InvalidSecurityGroup" || "InvalidSubnet" || "SecurityGroupsPerInterfaceLimitExceeded" || "SubnetOutOfIPAddresses",
69
+ * // StateReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InternetGatewayNotAttached" || "InvalidSecurityGroup" || "InvalidSubnet" || "SecurityGroupsPerInterfaceLimitExceeded" || "SubnetOutOfIPAddresses",
67
70
  * // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
68
71
  * // LastUpdateStatusReason: "STRING_VALUE",
69
- * // LastUpdateStatusReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InvalidSecurityGroup" || "InvalidSubnet" || "SecurityGroupsPerInterfaceLimitExceeded" || "SubnetOutOfIPAddresses",
72
+ * // LastUpdateStatusReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InternetGatewayNotAttached" || "InvalidSecurityGroup" || "InvalidSubnet" || "SecurityGroupsPerInterfaceLimitExceeded" || "SubnetOutOfIPAddresses",
70
73
  * // LastModified: new Date("TIMESTAMP"),
71
74
  * // };
72
75
  *
@@ -82,7 +85,7 @@ declare const GetNetworkConnectorCommand_base: {
82
85
  * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
83
86
  *
84
87
  * @throws {@link ResourceNotFoundException} (client fault)
85
- * <p>The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.</p>
88
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
86
89
  *
87
90
  * @throws {@link ServiceException} (server fault)
88
91
  * <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 { GetRuntimeAliasRequest, GetRuntimeAliasResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetRuntimeAliasCommand}.
11
+ */
12
+ export interface GetRuntimeAliasCommandInput extends GetRuntimeAliasRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetRuntimeAliasCommand}.
18
+ */
19
+ export interface GetRuntimeAliasCommandOutput extends GetRuntimeAliasResponse, __MetadataBearer {
20
+ }
21
+ declare const GetRuntimeAliasCommand_base: {
22
+ new (input: GetRuntimeAliasCommandInput): import("@smithy/core/client").CommandImpl<GetRuntimeAliasCommandInput, GetRuntimeAliasCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetRuntimeAliasCommandInput): import("@smithy/core/client").CommandImpl<GetRuntimeAliasCommandInput, GetRuntimeAliasCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Retrieves the configuration, state, and metadata of a 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, GetRuntimeAliasCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, GetRuntimeAliasCommand } = 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 = { // GetRuntimeAliasRequest
37
+ * RuntimeName: "STRING_VALUE", // required
38
+ * Name: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetRuntimeAliasCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetRuntimeAliasResponse
43
+ * // Name: "STRING_VALUE", // required
44
+ * // Arn: "STRING_VALUE", // required
45
+ * // RuntimeVersion: "STRING_VALUE", // required
46
+ * // RuntimeVersionArn: "STRING_VALUE", // required
47
+ * // State: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "PENDING_DELETION", // required
48
+ * // PendingDeletionAt: "STRING_VALUE",
49
+ * // Description: "STRING_VALUE",
50
+ * // Compatibility: { // Compatibility
51
+ * // IntegrationModels: [ // IntegrationModelList
52
+ * // "RuntimeAPI",
53
+ * // ],
54
+ * // Architectures: [ // RuntimeArchitectureList
55
+ * // "x86_64" || "arm64",
56
+ * // ],
57
+ * // ManagedInstances: "Supported" || "NotSupported",
58
+ * // },
59
+ * // ReleaseLifecycle: { // RuntimeReleaseLifecycle
60
+ * // ReleaseState: "PREVIEW" || "GA" || "DEPRECATED",
61
+ * // DeprecationDate: "STRING_VALUE",
62
+ * // FunctionCreateBlockDate: "STRING_VALUE",
63
+ * // FunctionUpdateBlockDate: "STRING_VALUE",
64
+ * // },
65
+ * // Created: "STRING_VALUE", // required
66
+ * // LastModified: "STRING_VALUE", // required
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param GetRuntimeAliasCommandInput - {@link GetRuntimeAliasCommandInput}
72
+ * @returns {@link GetRuntimeAliasCommandOutput}
73
+ * @see {@link GetRuntimeAliasCommandInput} for command's `input` shape.
74
+ * @see {@link GetRuntimeAliasCommandOutput} for command's `response` shape.
75
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
76
+ *
77
+ * @throws {@link InvalidParameterValueException} (client fault)
78
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The specified resource does not exist. Verify the identifier and Region.</p>
82
+ *
83
+ * @throws {@link ServiceException} (server fault)
84
+ * <p>An internal service error occurred. Retry the request with exponential backoff.</p>
85
+ *
86
+ * @throws {@link TooManyRequestsException} (client fault)
87
+ * <p>The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.</p>
88
+ *
89
+ * @throws {@link LambdaCoreServiceException}
90
+ * <p>Base exception class for all service exceptions from LambdaCore service.</p>
91
+ *
92
+ *
93
+ * @example Get a runtime alias
94
+ * ```javascript
95
+ * // Retrieves an alias, including the version it currently points at and its compatibility matrix.
96
+ * const input = {
97
+ * Name: "latest",
98
+ * RuntimeName: "php8"
99
+ * };
100
+ * const command = new GetRuntimeAliasCommand(input);
101
+ * const response = await client.send(command);
102
+ * /* response is
103
+ * {
104
+ * Arn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/alias/latest",
105
+ * Compatibility: {
106
+ * Architectures: [
107
+ * "arm64",
108
+ * "x86_64"
109
+ * ],
110
+ * IntegrationModels: [
111
+ * "RuntimeAPI"
112
+ * ],
113
+ * ManagedInstances: "Supported"
114
+ * },
115
+ * Created: "2026-10-01T12:00:00.000Z",
116
+ * Description: "Points at the newest published version",
117
+ * LastModified: "2026-10-02T09:30:00.000Z",
118
+ * Name: "latest",
119
+ * ReleaseLifecycle: {
120
+ * ReleaseState: "GA"
121
+ * },
122
+ * RuntimeVersion: "v1",
123
+ * RuntimeVersionArn: "arn:aws:lambda:us-west-2:123456789012:runtime/php8/version/v1",
124
+ * State: "ACTIVE"
125
+ * }
126
+ * *\/
127
+ * ```
128
+ *
129
+ * @public
130
+ */
131
+ export declare class GetRuntimeAliasCommand extends GetRuntimeAliasCommand_base {
132
+ /** @internal type navigation helper, not in runtime. */
133
+ protected static __types: {
134
+ api: {
135
+ input: GetRuntimeAliasRequest;
136
+ output: GetRuntimeAliasResponse;
137
+ };
138
+ sdk: {
139
+ input: GetRuntimeAliasCommandInput;
140
+ output: GetRuntimeAliasCommandOutput;
141
+ };
142
+ };
143
+ }