@aws-sdk/client-lambda-core 3.1148.0 → 3.1150.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 (40) hide show
  1. package/README.md +8 -1
  2. package/dist-cjs/index.js +64 -11
  3. package/dist-es/LambdaCore.js +4 -0
  4. package/dist-es/commands/ListNetworkConnectorVersionsCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/LambdaCoreServiceException.js +1 -0
  7. package/dist-es/models/enums.js +3 -0
  8. package/dist-es/models/errors.js +6 -0
  9. package/dist-es/pagination/ListNetworkConnectorVersionsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +40 -10
  12. package/dist-types/LambdaCore.d.ts +15 -1
  13. package/dist-types/LambdaCoreClient.d.ts +4 -3
  14. package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +6 -4
  15. package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +4 -2
  16. package/dist-types/commands/GetNetworkConnectorCommand.d.ts +6 -3
  17. package/dist-types/commands/ListNetworkConnectorVersionsCommand.d.ts +99 -0
  18. package/dist-types/commands/ListNetworkConnectorsCommand.d.ts +2 -0
  19. package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +8 -3
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/index.d.ts +1 -1
  22. package/dist-types/models/LambdaCoreServiceException.d.ts +1 -0
  23. package/dist-types/models/enums.d.ts +6 -0
  24. package/dist-types/models/errors.d.ts +7 -1
  25. package/dist-types/models/models_0.d.ts +157 -11
  26. package/dist-types/pagination/ListNetworkConnectorVersionsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +4 -0
  29. package/dist-types/ts3.4/LambdaCore.d.ts +24 -0
  30. package/dist-types/ts3.4/LambdaCoreClient.d.ts +6 -0
  31. package/dist-types/ts3.4/commands/ListNetworkConnectorVersionsCommand.d.ts +42 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/LambdaCoreServiceException.d.ts +1 -0
  34. package/dist-types/ts3.4/models/enums.d.ts +3 -0
  35. package/dist-types/ts3.4/models/errors.d.ts +6 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +32 -0
  37. package/dist-types/ts3.4/pagination/ListNetworkConnectorVersionsPaginator.d.ts +11 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  40. package/package.json +4 -4
@@ -24,7 +24,7 @@ declare const CreateNetworkConnectorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Creates a network connector that enables Lambda compute resources to route outbound traffic through your Amazon VPC. The network connector provisions elastic network interfaces (ENIs) in the subnets you specify, providing a managed network path to private resources such as databases, caches, and internal APIs.</p> <p>This operation is asynchronous. The network connector starts in <code>PENDING</code> state while ENIs are provisioned in your VPC (provisioning typically takes up to 10 minutes). Use <code>GetNetworkConnector</code> to poll the connector state until it reaches <code>ACTIVE</code>. Once active, you can attach the connector to Lambda MicroVMs at run time using the <code>egressNetworkConnectors</code> parameter on <code>RunMicroVm</code>.</p> <p>This operation is idempotent when you provide a <code>ClientToken</code> — if you retry a request that completed successfully using the same client token, the operation returns the existing connector without creating a duplicate.</p>
27
+ * <p>Creates a network connector that enables Lambda compute resources to route outbound traffic through your Amazon VPC. The network connector provisions elastic network interfaces (ENIs) in the subnets you specify, providing a managed network path to private resources such as databases, caches, and internal APIs.</p> <p>This operation is asynchronous. The network connector starts in <code>PENDING</code> state while ENIs are provisioned in your VPC (provisioning typically takes up to 10 minutes). Use <code>GetNetworkConnector</code> to poll the connector state until it reaches <code>ACTIVE</code>. Once active, you can attach the connector to supported Lambda compute resources — such as MicroVMs and WebFunctions — at run time. For how to attach a connector, see the documentation for the specific compute type.</p> <p>This operation is idempotent when you provide a <code>ClientToken</code> — if you retry a request that completed successfully using the same client token, the operation returns the existing connector without creating a duplicate.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -45,7 +45,7 @@ declare const CreateNetworkConnectorCommand_base: {
45
45
  * ],
46
46
  * NetworkProtocol: "IPv4" || "DualStack",
47
47
  * AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
48
- * "MicroVm",
48
+ * "MicroVm" || "WebFunction",
49
49
  * ],
50
50
  * },
51
51
  * },
@@ -61,6 +61,8 @@ declare const CreateNetworkConnectorCommand_base: {
61
61
  * // Arn: "STRING_VALUE", // required
62
62
  * // Name: "STRING_VALUE", // required
63
63
  * // Id: "STRING_VALUE", // required
64
+ * // VersionArn: "STRING_VALUE",
65
+ * // Version: Number("long"),
64
66
  * // Configuration: { // NetworkConnectorConfiguration Union: only one key present
65
67
  * // VpcEgressConfiguration: { // NetworkConnectorVpcEgressConfiguration
66
68
  * // SubnetIds: [ // NetworkConnectorSubnetIds
@@ -71,7 +73,7 @@ declare const CreateNetworkConnectorCommand_base: {
71
73
  * // ],
72
74
  * // NetworkProtocol: "IPv4" || "DualStack",
73
75
  * // AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
74
- * // "MicroVm",
76
+ * // "MicroVm" || "WebFunction",
75
77
  * // ],
76
78
  * // },
77
79
  * // },
@@ -91,7 +93,7 @@ declare const CreateNetworkConnectorCommand_base: {
91
93
  * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
92
94
  *
93
95
  * @throws {@link NetworkConnectorLimitExceededException} (client fault)
94
- * <p>The account has reached the maximum number of network connectors allowed. Delete unused connectors or request a limit increase through Service Quotas.</p>
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>
95
97
  *
96
98
  * @throws {@link ResourceConflictException} (client fault)
97
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>
@@ -24,7 +24,7 @@ declare const DeleteNetworkConnectorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Initiates deletion of a network connector. The connector transitions to <code>DELETING</code> state while elastic network interfaces are cleaned up asynchronously. After deletion completes, subsequent calls to <code>GetNetworkConnector</code> return <code>ResourceNotFoundException</code>.</p> <p>This operation is idempotent — calling delete on a connector that is already deleting or has been deleted succeeds without error. You can delete connectors in <code>ACTIVE</code> or <code>FAILED</code> states. Before deleting a connector, ensure that no Lambda MicroVMs are using it, as they will lose VPC egress connectivity immediately.</p>
27
+ * <p>Initiates deletion of a network connector. The connector transitions to <code>DELETING</code> state while elastic network interfaces are cleaned up asynchronously. After deletion completes, subsequent calls to <code>GetNetworkConnector</code> return <code>ResourceNotFoundException</code>.</p> <p>This operation is idempotent — calling delete on a connector that is already deleting or has been deleted succeeds without error. You can delete connectors in <code>ACTIVE</code> or <code>FAILED</code> states. Before deleting a connector, ensure that no Lambda compute resources are using it, as they will lose VPC egress connectivity immediately.</p> <p>Deleting with an unqualified identifier removes the connector and all of its versions. To remove a single historical version, supply its version-qualified ARN; the connector and its remaining versions are unaffected. You can't delete the latest version on its own — delete the connector to remove it.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -42,6 +42,8 @@ declare const DeleteNetworkConnectorCommand_base: {
42
42
  * // Arn: "STRING_VALUE", // required
43
43
  * // Name: "STRING_VALUE", // required
44
44
  * // Id: "STRING_VALUE", // required
45
+ * // VersionArn: "STRING_VALUE",
46
+ * // Version: Number("long"),
45
47
  * // Configuration: { // NetworkConnectorConfiguration Union: only one key present
46
48
  * // VpcEgressConfiguration: { // NetworkConnectorVpcEgressConfiguration
47
49
  * // SubnetIds: [ // NetworkConnectorSubnetIds
@@ -52,7 +54,7 @@ declare const DeleteNetworkConnectorCommand_base: {
52
54
  * // ],
53
55
  * // NetworkProtocol: "IPv4" || "DualStack",
54
56
  * // AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
55
- * // "MicroVm",
57
+ * // "MicroVm" || "WebFunction",
56
58
  * // ],
57
59
  * // },
58
60
  * // },
@@ -42,7 +42,10 @@ declare const GetNetworkConnectorCommand_base: {
42
42
  * // Arn: "STRING_VALUE", // required
43
43
  * // Name: "STRING_VALUE", // required
44
44
  * // Id: "STRING_VALUE", // required
45
+ * // VersionArn: "STRING_VALUE",
45
46
  * // Version: Number("long"),
47
+ * // LatestVersionArn: "STRING_VALUE",
48
+ * // LatestVersion: Number("long"),
46
49
  * // Configuration: { // NetworkConnectorConfiguration Union: only one key present
47
50
  * // VpcEgressConfiguration: { // NetworkConnectorVpcEgressConfiguration
48
51
  * // SubnetIds: [ // NetworkConnectorSubnetIds
@@ -53,17 +56,17 @@ declare const GetNetworkConnectorCommand_base: {
53
56
  * // ],
54
57
  * // NetworkProtocol: "IPv4" || "DualStack",
55
58
  * // AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
56
- * // "MicroVm",
59
+ * // "MicroVm" || "WebFunction",
57
60
  * // ],
58
61
  * // },
59
62
  * // },
60
63
  * // OperatorRole: "STRING_VALUE",
61
64
  * // State: "PENDING" || "ACTIVE" || "INACTIVE" || "FAILED" || "DELETING" || "DELETE_FAILED",
62
65
  * // StateReason: "STRING_VALUE",
63
- * // StateReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InvalidSecurityGroup" || "InvalidSubnet" || "SubnetOutOfIPAddresses",
66
+ * // StateReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InvalidSecurityGroup" || "InvalidSubnet" || "SecurityGroupsPerInterfaceLimitExceeded" || "SubnetOutOfIPAddresses",
64
67
  * // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
65
68
  * // LastUpdateStatusReason: "STRING_VALUE",
66
- * // LastUpdateStatusReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InvalidSecurityGroup" || "InvalidSubnet" || "SubnetOutOfIPAddresses",
69
+ * // LastUpdateStatusReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InvalidSecurityGroup" || "InvalidSubnet" || "SecurityGroupsPerInterfaceLimitExceeded" || "SubnetOutOfIPAddresses",
67
70
  * // LastModified: new Date("TIMESTAMP"),
68
71
  * // };
69
72
  *
@@ -0,0 +1,99 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListNetworkConnectorVersionsRequest, ListNetworkConnectorVersionsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListNetworkConnectorVersionsCommand}.
11
+ */
12
+ export interface ListNetworkConnectorVersionsCommandInput extends ListNetworkConnectorVersionsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListNetworkConnectorVersionsCommand}.
18
+ */
19
+ export interface ListNetworkConnectorVersionsCommandOutput extends ListNetworkConnectorVersionsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListNetworkConnectorVersionsCommand_base: {
22
+ new (input: ListNetworkConnectorVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListNetworkConnectorVersionsCommandInput, ListNetworkConnectorVersionsCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListNetworkConnectorVersionsCommandInput): import("@smithy/core/client").CommandImpl<ListNetworkConnectorVersionsCommandInput, ListNetworkConnectorVersionsCommandOutput, import("..").LambdaCoreClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a paginated list of the versions of a network connector. Each configuration update creates a new immutable version; this operation lists those versions for the connector you specify. You can optionally filter results by version state. Use the <code>Marker</code> parameter from a previous response to retrieve the next page of results.</p> <p>Each item in the response includes the version-qualified ARN, version number, current state, and last modified timestamp for that version. To retrieve the current (latest) configuration of the connector, use <code>GetNetworkConnector</code>; to inspect a specific version, call <code>GetNetworkConnector</code> with a version-qualified identifier.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { LambdaCoreClient, ListNetworkConnectorVersionsCommand } from "@aws-sdk/client-lambda-core"; // ES Modules import
32
+ * // const { LambdaCoreClient, ListNetworkConnectorVersionsCommand } = 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 = { // ListNetworkConnectorVersionsRequest
37
+ * Identifier: "STRING_VALUE", // required
38
+ * State: "PENDING" || "ACTIVE" || "INACTIVE" || "FAILED" || "DELETING" || "DELETE_FAILED",
39
+ * Marker: "STRING_VALUE",
40
+ * MaxItems: Number("int"),
41
+ * };
42
+ * const command = new ListNetworkConnectorVersionsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListNetworkConnectorVersionsResponse
45
+ * // NetworkConnectorVersions: [ // NetworkConnectorVersionsList // required
46
+ * // { // NetworkConnectorVersionSummary
47
+ * // Arn: "STRING_VALUE", // required
48
+ * // VersionArn: "STRING_VALUE", // required
49
+ * // Name: "STRING_VALUE", // required
50
+ * // Id: "STRING_VALUE", // required
51
+ * // Version: Number("long"), // required
52
+ * // State: "PENDING" || "ACTIVE" || "INACTIVE" || "FAILED" || "DELETING" || "DELETE_FAILED", // required
53
+ * // StateReason: "STRING_VALUE",
54
+ * // StateReasonCode: "DisallowedByVpcEncryptionControl" || "Ec2RequestLimitExceeded" || "InsufficientRolePermissions" || "InternalError" || "InvalidSecurityGroup" || "InvalidSubnet" || "SecurityGroupsPerInterfaceLimitExceeded" || "SubnetOutOfIPAddresses",
55
+ * // LastModified: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // NextMarker: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListNetworkConnectorVersionsCommandInput - {@link ListNetworkConnectorVersionsCommandInput}
64
+ * @returns {@link ListNetworkConnectorVersionsCommandOutput}
65
+ * @see {@link ListNetworkConnectorVersionsCommandInput} for command's `input` shape.
66
+ * @see {@link ListNetworkConnectorVersionsCommandOutput} for command's `response` shape.
67
+ * @see {@link LambdaCoreClientResolvedConfig | config} for LambdaCoreClient's `config` shape.
68
+ *
69
+ * @throws {@link InvalidParameterValueException} (client fault)
70
+ * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.</p>
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
+ * @public
86
+ */
87
+ export declare class ListNetworkConnectorVersionsCommand extends ListNetworkConnectorVersionsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListNetworkConnectorVersionsRequest;
92
+ output: ListNetworkConnectorVersionsResponse;
93
+ };
94
+ sdk: {
95
+ input: ListNetworkConnectorVersionsCommandInput;
96
+ output: ListNetworkConnectorVersionsCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -49,6 +49,8 @@ declare const ListNetworkConnectorsCommand_base: {
49
49
  * // Type: "VPC_EGRESS", // required
50
50
  * // State: "PENDING" || "ACTIVE" || "INACTIVE" || "FAILED" || "DELETING" || "DELETE_FAILED",
51
51
  * // LastModified: new Date("TIMESTAMP"),
52
+ * // LatestVersionArn: "STRING_VALUE",
53
+ * // LatestVersion: Number("long"),
52
54
  * // },
53
55
  * // ],
54
56
  * // NextMarker: "STRING_VALUE",
@@ -24,7 +24,7 @@ declare const UpdateNetworkConnectorCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Updates the VPC configuration or operator role of an existing network connector. You can modify the subnet IDs, security group IDs, network protocol, or operator role. The connector must be in <code>ACTIVE</code> state to accept updates.</p> <p>This operation is asynchronous. The connector remains in <code>ACTIVE</code> state during the update — existing workloads that reference this connector are not disrupted. Use <code>GetNetworkConnector</code> to monitor the <code>LastUpdateStatus</code> field, which transitions through <code>InProgress</code> to <code>Successful</code> or <code>Failed</code>. If the update fails, the <code>LastUpdateStatusReasonCode</code> field provides a specific error code for troubleshooting. This operation is idempotent when you provide a <code>ClientToken</code>.</p>
27
+ * <p>Updates the VPC configuration or operator role of an existing network connector. You can modify the subnet IDs, security group IDs, network protocol, or operator role. The connector must be in <code>ACTIVE</code> state to accept updates.</p> <p>This operation is asynchronous. The connector remains in <code>ACTIVE</code> state during the update — existing workloads that reference this connector are not disrupted. Use <code>GetNetworkConnector</code> to monitor the <code>LastUpdateStatus</code> field, which transitions through <code>InProgress</code> to <code>Successful</code> or <code>Failed</code>. If the update fails, the <code>LastUpdateStatusReasonCode</code> field provides a specific error code for troubleshooting. This operation is idempotent when you provide a <code>ClientToken</code>.</p> <p>Each successful configuration change creates a new immutable version. A connector can have a limited number of versions; once that limit is reached, further updates fail with <code>NetworkConnectorLimitExceededException</code> until you delete older versions.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -45,7 +45,7 @@ declare const UpdateNetworkConnectorCommand_base: {
45
45
  * ],
46
46
  * NetworkProtocol: "IPv4" || "DualStack",
47
47
  * AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
48
- * "MicroVm",
48
+ * "MicroVm" || "WebFunction",
49
49
  * ],
50
50
  * },
51
51
  * },
@@ -58,6 +58,8 @@ declare const UpdateNetworkConnectorCommand_base: {
58
58
  * // Arn: "STRING_VALUE", // required
59
59
  * // Name: "STRING_VALUE", // required
60
60
  * // Id: "STRING_VALUE", // required
61
+ * // VersionArn: "STRING_VALUE",
62
+ * // Version: Number("long"),
61
63
  * // OperatorRole: "STRING_VALUE",
62
64
  * // Configuration: { // NetworkConnectorConfiguration Union: only one key present
63
65
  * // VpcEgressConfiguration: { // NetworkConnectorVpcEgressConfiguration
@@ -69,7 +71,7 @@ declare const UpdateNetworkConnectorCommand_base: {
69
71
  * // ],
70
72
  * // NetworkProtocol: "IPv4" || "DualStack",
71
73
  * // AssociatedComputeResourceTypes: [ // AssociatedComputeResourceTypesList
72
- * // "MicroVm",
74
+ * // "MicroVm" || "WebFunction",
73
75
  * // ],
74
76
  * // },
75
77
  * // },
@@ -90,6 +92,9 @@ declare const UpdateNetworkConnectorCommand_base: {
90
92
  * @throws {@link InvalidParameterValueException} (client fault)
91
93
  * <p>One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.</p>
92
94
  *
95
+ * @throws {@link NetworkConnectorLimitExceededException} (client fault)
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
+ *
93
98
  * @throws {@link ResourceConflictException} (client fault)
94
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>
95
100
  *
@@ -1,5 +1,6 @@
1
1
  export * from "./CreateNetworkConnectorCommand";
2
2
  export * from "./DeleteNetworkConnectorCommand";
3
3
  export * from "./GetNetworkConnectorCommand";
4
+ export * from "./ListNetworkConnectorVersionsCommand";
4
5
  export * from "./ListNetworkConnectorsCommand";
5
6
  export * from "./UpdateNetworkConnectorCommand";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <p>AWS Lambda Core is a set of APIs for managing shared infrastructure resources used by AWS Lambda. The Lambda Core API provides operations for creating and managing network connectors that enable Lambda MicroVMs 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 MicroVMs at run time.</p>
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>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from LambdaCore service.
8
8
  */
9
9
  export declare class LambdaCoreServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,10 @@ export declare const ComputeResourceType: {
7
7
  * MicroVm compute resource type
8
8
  */
9
9
  readonly MicroVm: "MicroVm";
10
+ /**
11
+ * WebFunction compute resource type
12
+ */
13
+ readonly WebFunction: "WebFunction";
10
14
  };
11
15
  /**
12
16
  * @public
@@ -104,6 +108,7 @@ export declare const NetworkConnectorLastUpdateStatusReasonCode: {
104
108
  readonly InternalError: "InternalError";
105
109
  readonly InvalidSecurityGroup: "InvalidSecurityGroup";
106
110
  readonly InvalidSubnet: "InvalidSubnet";
111
+ readonly SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded";
107
112
  readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
108
113
  };
109
114
  /**
@@ -121,6 +126,7 @@ export declare const NetworkConnectorStateReasonCode: {
121
126
  readonly InternalError: "InternalError";
122
127
  readonly InvalidSecurityGroup: "InvalidSecurityGroup";
123
128
  readonly InvalidSubnet: "InvalidSubnet";
129
+ readonly SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded";
124
130
  readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
125
131
  };
126
132
  /**
@@ -6,6 +6,7 @@ import { LambdaCoreServiceException as __BaseException } from "./LambdaCoreServi
6
6
  * @public
7
7
  */
8
8
  export declare class InvalidParameterValueException extends __BaseException {
9
+ static readonly shapeId: string;
9
10
  readonly name: "InvalidParameterValueException";
10
11
  readonly $fault: "client";
11
12
  /**
@@ -19,10 +20,11 @@ export declare class InvalidParameterValueException extends __BaseException {
19
20
  constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
20
21
  }
21
22
  /**
22
- * <p>The account has reached the maximum number of network connectors allowed. Delete unused connectors or request a limit increase through Service Quotas.</p>
23
+ * <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>
23
24
  * @public
24
25
  */
25
26
  export declare class NetworkConnectorLimitExceededException extends __BaseException {
27
+ static readonly shapeId: string;
26
28
  readonly name: "NetworkConnectorLimitExceededException";
27
29
  readonly $fault: "client";
28
30
  /**
@@ -40,6 +42,7 @@ export declare class NetworkConnectorLimitExceededException extends __BaseExcept
40
42
  * @public
41
43
  */
42
44
  export declare class ResourceConflictException extends __BaseException {
45
+ static readonly shapeId: string;
43
46
  readonly name: "ResourceConflictException";
44
47
  readonly $fault: "client";
45
48
  /**
@@ -57,6 +60,7 @@ export declare class ResourceConflictException extends __BaseException {
57
60
  * @public
58
61
  */
59
62
  export declare class ServiceException extends __BaseException {
63
+ static readonly shapeId: string;
60
64
  readonly name: "ServiceException";
61
65
  readonly $fault: "server";
62
66
  /**
@@ -75,6 +79,7 @@ export declare class ServiceException extends __BaseException {
75
79
  * @public
76
80
  */
77
81
  export declare class TooManyRequestsException extends __BaseException {
82
+ static readonly shapeId: string;
78
83
  readonly name: "TooManyRequestsException";
79
84
  readonly $fault: "client";
80
85
  /**
@@ -102,6 +107,7 @@ export declare class TooManyRequestsException extends __BaseException {
102
107
  * @public
103
108
  */
104
109
  export declare class ResourceNotFoundException extends __BaseException {
110
+ static readonly shapeId: string;
105
111
  readonly name: "ResourceNotFoundException";
106
112
  readonly $fault: "client";
107
113
  /**
@@ -10,7 +10,7 @@ export interface NetworkConnectorVpcEgressConfiguration {
10
10
  */
11
11
  SubnetIds?: string[] | undefined;
12
12
  /**
13
- * <p>The IDs of the VPC security groups to attach to the ENIs. Specify 0 to 5 security groups. All security groups must be in the same VPC as the subnets.</p>
13
+ * <p>The IDs of the VPC security groups to attach to the ENIs. All security groups must be in the same VPC as the subnets.</p>
14
14
  * @public
15
15
  */
16
16
  SecurityGroupIds?: string[] | undefined;
@@ -20,7 +20,7 @@ export interface NetworkConnectorVpcEgressConfiguration {
20
20
  */
21
21
  NetworkProtocol?: NetworkProtocol | undefined;
22
22
  /**
23
- * <p>The types of Lambda compute resources that can use this connector. Currently, only <code>MicroVm</code> is supported.</p>
23
+ * <p>The types of Lambda compute resources that can use this connector. Valid values are <code>MicroVm</code> and <code>WebFunction</code>. Specify exactly one value.</p>
24
24
  * @public
25
25
  */
26
26
  AssociatedComputeResourceTypes?: ComputeResourceType[] | undefined;
@@ -103,10 +103,20 @@ export interface CreateNetworkConnectorResponse {
103
103
  */
104
104
  Name: string | undefined;
105
105
  /**
106
- * The unique identifier for a network connector, assigned by the service at creation time
106
+ * <p>The unique identifier of the network connector.</p>
107
107
  * @public
108
108
  */
109
109
  Id: string | undefined;
110
+ /**
111
+ * <p>The qualified ARN of the connector version created by this request, including the immutable version suffix.</p>
112
+ * @public
113
+ */
114
+ VersionArn?: string | undefined;
115
+ /**
116
+ * <p>The version number assigned to the connector. A newly created connector starts at version 1.</p>
117
+ * @public
118
+ */
119
+ Version?: number | undefined;
110
120
  /**
111
121
  * <p>The network configuration of the connector, including VPC subnets and security groups.</p>
112
122
  * @public
@@ -128,7 +138,7 @@ export interface CreateNetworkConnectorResponse {
128
138
  */
129
139
  export interface DeleteNetworkConnectorRequest {
130
140
  /**
131
- * A flexible identifier that accepts a network connector ID, name, or ARN
141
+ * <p>The identifier of the network connector to delete. Provide an unqualified ARN (or an ID or name) to delete the entire connector and all of its versions, or a version-qualified ARN — one that includes the immutable version suffix — to delete a specific historical version. You can't delete the latest version with a version-qualified identifier; delete the connector instead.</p>
132
142
  * @public
133
143
  */
134
144
  Identifier: string | undefined;
@@ -148,10 +158,20 @@ export interface DeleteNetworkConnectorResponse {
148
158
  */
149
159
  Name: string | undefined;
150
160
  /**
151
- * The unique identifier for a network connector, assigned by the service at creation time
161
+ * <p>The unique identifier of the network connector.</p>
152
162
  * @public
153
163
  */
154
164
  Id: string | undefined;
165
+ /**
166
+ * <p>The qualified ARN of the connector version affected by this request, including the immutable version suffix.</p>
167
+ * @public
168
+ */
169
+ VersionArn?: string | undefined;
170
+ /**
171
+ * <p>The version number of the connector version affected by this request.</p>
172
+ * @public
173
+ */
174
+ Version?: number | undefined;
155
175
  /**
156
176
  * <p>The network configuration of the connector, including VPC subnets and security groups.</p>
157
177
  * @public
@@ -173,7 +193,7 @@ export interface DeleteNetworkConnectorResponse {
173
193
  */
174
194
  export interface GetNetworkConnectorRequest {
175
195
  /**
176
- * A flexible identifier that accepts a network connector ID, name, or ARN
196
+ * <p>The identifier of the network connector to retrieve. You can specify the connector ID, name, or ARN. Provide an unqualified ARN (or an ID or name) to retrieve the connector's latest version, or a version-qualified ARN — one that includes the immutable version suffix — to retrieve a specific historical version.</p>
177
197
  * @public
178
198
  */
179
199
  Identifier: string | undefined;
@@ -193,15 +213,30 @@ export interface GetNetworkConnectorResponse {
193
213
  */
194
214
  Name: string | undefined;
195
215
  /**
196
- * The unique identifier for a network connector, assigned by the service at creation time
216
+ * <p>The unique identifier of the network connector.</p>
197
217
  * @public
198
218
  */
199
219
  Id: string | undefined;
200
220
  /**
201
- * <p>The version number of the connector configuration, incremented on each update.</p>
221
+ * <p>The qualified ARN of the specific connector version returned by this request, including the immutable version suffix. This is populated only when you supply a version-qualified identifier. On a standard (unqualified) request, this field is not populated; the connector's latest active version is returned instead through the <code>LatestVersionArn</code> and <code>LatestVersion</code> fields described below.</p>
222
+ * @public
223
+ */
224
+ VersionArn?: string | undefined;
225
+ /**
226
+ * <p>The version number of the network connector. On a standard (unqualified) request, this is the connector's current version; each configuration update increments it. When you supply a version-qualified identifier, this is the specific version you requested.</p>
202
227
  * @public
203
228
  */
204
229
  Version?: number | undefined;
230
+ /**
231
+ * <p>The qualified ARN of the connector's latest active version, including the immutable version suffix. This field is returned only on a standard (unqualified) request; when you supply a version-qualified identifier it is not returned, and <code>VersionArn</code> is returned instead.</p>
232
+ * @public
233
+ */
234
+ LatestVersionArn?: string | undefined;
235
+ /**
236
+ * <p>The version number of the connector's latest active version. Each configuration update creates a new immutable version; this attribute exposes the most recent one. This field is returned only on a standard (unqualified) request.</p>
237
+ * @public
238
+ */
239
+ LatestVersion?: number | undefined;
205
240
  /**
206
241
  * <p>The network configuration of the connector, including VPC subnets and security groups.</p>
207
242
  * @public
@@ -284,7 +319,7 @@ export interface NetworkConnectorSummary {
284
319
  */
285
320
  Name: string | undefined;
286
321
  /**
287
- * The unique identifier for a network connector, assigned by the service at creation time
322
+ * <p>The unique identifier of the network connector.</p>
288
323
  * @public
289
324
  */
290
325
  Id: string | undefined;
@@ -303,6 +338,16 @@ export interface NetworkConnectorSummary {
303
338
  * @public
304
339
  */
305
340
  LastModified?: Date | undefined;
341
+ /**
342
+ * <p>The qualified ARN of the connector's latest version, including the immutable version suffix.</p>
343
+ * @public
344
+ */
345
+ LatestVersionArn?: string | undefined;
346
+ /**
347
+ * <p>The version number of the connector's latest version. Each configuration update creates a new immutable version; this attribute exposes the most recent one.</p>
348
+ * @public
349
+ */
350
+ LatestVersion?: number | undefined;
306
351
  }
307
352
  /**
308
353
  * @public
@@ -319,12 +364,103 @@ export interface ListNetworkConnectorsResponse {
319
364
  */
320
365
  NextMarker?: string | undefined;
321
366
  }
367
+ /**
368
+ * @public
369
+ */
370
+ export interface ListNetworkConnectorVersionsRequest {
371
+ /**
372
+ * <p>The identifier of the network connector whose versions you want to list. You can specify the connector ID, name, or full ARN. Specify an unqualified identifier — this operation lists all versions of the connector, not a specific version.</p>
373
+ * @public
374
+ */
375
+ Identifier: string | undefined;
376
+ /**
377
+ * <p>Optional filter to return only versions in the specified state (for example, <code>ACTIVE</code> or <code>FAILED</code>).</p>
378
+ * @public
379
+ */
380
+ State?: NetworkConnectorState | undefined;
381
+ /**
382
+ * <p>The pagination token from a previous <code>ListNetworkConnectorVersions</code> response. Use this value to retrieve the next page of results.</p>
383
+ * @public
384
+ */
385
+ Marker?: string | undefined;
386
+ /**
387
+ * <p>The maximum number of versions to return per page. Valid range: 1 to 100.</p>
388
+ * @public
389
+ */
390
+ MaxItems?: number | undefined;
391
+ }
392
+ /**
393
+ * <p>Summary information about a single version of a network connector returned by <code>ListNetworkConnectorVersions</code>. Each configuration update creates a new immutable version; this shape describes one such version. To retrieve the full configuration of a version, call <code>GetNetworkConnector</code> with a version-qualified identifier.</p>
394
+ * @public
395
+ */
396
+ export interface NetworkConnectorVersionSummary {
397
+ /**
398
+ * <p>The unqualified ARN of the network connector that this version belongs to.</p>
399
+ * @public
400
+ */
401
+ Arn: string | undefined;
402
+ /**
403
+ * <p>The qualified ARN of this connector version, including the immutable version suffix.</p>
404
+ * @public
405
+ */
406
+ VersionArn: string | undefined;
407
+ /**
408
+ * <p>The name of the network connector.</p>
409
+ * @public
410
+ */
411
+ Name: string | undefined;
412
+ /**
413
+ * <p>The unique identifier of the network connector.</p>
414
+ * @public
415
+ */
416
+ Id: string | undefined;
417
+ /**
418
+ * <p>The version number of this connector version.</p>
419
+ * @public
420
+ */
421
+ Version: number | undefined;
422
+ /**
423
+ * <p>The current state of this connector version.</p>
424
+ * @public
425
+ */
426
+ State: NetworkConnectorState | undefined;
427
+ /**
428
+ * <p>A human-readable explanation of the current state, populated when the state is <code>FAILED</code>.</p>
429
+ * @public
430
+ */
431
+ StateReason?: string | undefined;
432
+ /**
433
+ * <p>A machine-readable code indicating the reason for the current state. Use this for programmatic error handling.</p>
434
+ * @public
435
+ */
436
+ StateReasonCode?: NetworkConnectorStateReasonCode | undefined;
437
+ /**
438
+ * <p>The date and time when this connector version was last modified.</p>
439
+ * @public
440
+ */
441
+ LastModified?: Date | undefined;
442
+ }
443
+ /**
444
+ * @public
445
+ */
446
+ export interface ListNetworkConnectorVersionsResponse {
447
+ /**
448
+ * <p>A list of connector version summaries for the current page of results.</p>
449
+ * @public
450
+ */
451
+ NetworkConnectorVersions: NetworkConnectorVersionSummary[] | undefined;
452
+ /**
453
+ * <p>The pagination token to include in a subsequent request to retrieve the next page. This value is null when there are no more results.</p>
454
+ * @public
455
+ */
456
+ NextMarker?: string | undefined;
457
+ }
322
458
  /**
323
459
  * @public
324
460
  */
325
461
  export interface UpdateNetworkConnectorRequest {
326
462
  /**
327
- * A flexible identifier that accepts a network connector ID, name, or ARN
463
+ * <p>The identifier of the network connector to update. You can specify the connector ID, name, or full ARN.</p>
328
464
  * @public
329
465
  */
330
466
  Identifier: string | undefined;
@@ -359,10 +495,20 @@ export interface UpdateNetworkConnectorResponse {
359
495
  */
360
496
  Name: string | undefined;
361
497
  /**
362
- * The unique identifier for a network connector, assigned by the service at creation time
498
+ * <p>The unique identifier of the network connector.</p>
363
499
  * @public
364
500
  */
365
501
  Id: string | undefined;
502
+ /**
503
+ * <p>The qualified ARN of the connector version resulting from this update, including the immutable version suffix.</p>
504
+ * @public
505
+ */
506
+ VersionArn?: string | undefined;
507
+ /**
508
+ * <p>The version number of the connector version resulting from this update. A configuration change creates a new, incremented version; a no-op update returns the current version number.</p>
509
+ * @public
510
+ */
511
+ Version?: number | undefined;
366
512
  /**
367
513
  * <p>The ARN of the IAM role that Lambda uses to manage the underlying ENI resources for this connector.</p>
368
514
  * @public