@aws-sdk/client-lambda-core 3.1149.0 → 3.1151.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 (35) hide show
  1. package/README.md +8 -1
  2. package/dist-cjs/index.js +57 -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/enums.js +3 -0
  7. package/dist-es/pagination/ListNetworkConnectorVersionsPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +40 -10
  10. package/dist-types/LambdaCore.d.ts +15 -1
  11. package/dist-types/LambdaCoreClient.d.ts +4 -3
  12. package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +6 -4
  13. package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +4 -2
  14. package/dist-types/commands/GetNetworkConnectorCommand.d.ts +6 -3
  15. package/dist-types/commands/ListNetworkConnectorVersionsCommand.d.ts +99 -0
  16. package/dist-types/commands/ListNetworkConnectorsCommand.d.ts +2 -0
  17. package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +8 -3
  18. package/dist-types/commands/index.d.ts +1 -0
  19. package/dist-types/index.d.ts +1 -1
  20. package/dist-types/models/enums.d.ts +6 -0
  21. package/dist-types/models/errors.d.ts +1 -1
  22. package/dist-types/models/models_0.d.ts +157 -11
  23. package/dist-types/pagination/ListNetworkConnectorVersionsPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +1 -0
  25. package/dist-types/schemas/schemas_0.d.ts +4 -0
  26. package/dist-types/ts3.4/LambdaCore.d.ts +24 -0
  27. package/dist-types/ts3.4/LambdaCoreClient.d.ts +6 -0
  28. package/dist-types/ts3.4/commands/ListNetworkConnectorVersionsCommand.d.ts +42 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  30. package/dist-types/ts3.4/models/enums.d.ts +3 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +32 -0
  32. package/dist-types/ts3.4/pagination/ListNetworkConnectorVersionsPaginator.d.ts +11 -0
  33. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  35. package/package.json +3 -3
@@ -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,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
  /**
@@ -20,7 +20,7 @@ export declare class InvalidParameterValueException extends __BaseException {
20
20
  constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
21
21
  }
22
22
  /**
23
- * <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>
24
24
  * @public
25
25
  */
26
26
  export declare class NetworkConnectorLimitExceededException extends __BaseException {
@@ -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
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListNetworkConnectorVersionsCommandInput, ListNetworkConnectorVersionsCommandOutput } from "../commands/ListNetworkConnectorVersionsCommand";
3
+ import type { LambdaCorePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListNetworkConnectorVersions: (config: LambdaCorePaginationConfiguration, input: ListNetworkConnectorVersionsCommandInput, ...rest: any[]) => Paginator<ListNetworkConnectorVersionsCommandOutput>;
@@ -1,2 +1,3 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListNetworkConnectorsPaginator";
3
+ export * from "./ListNetworkConnectorVersionsPaginator";
@@ -21,7 +21,10 @@ export declare var GetNetworkConnectorRequest$: StaticStructureSchema;
21
21
  export declare var GetNetworkConnectorResponse$: StaticStructureSchema;
22
22
  export declare var ListNetworkConnectorsRequest$: StaticStructureSchema;
23
23
  export declare var ListNetworkConnectorsResponse$: StaticStructureSchema;
24
+ export declare var ListNetworkConnectorVersionsRequest$: StaticStructureSchema;
25
+ export declare var ListNetworkConnectorVersionsResponse$: StaticStructureSchema;
24
26
  export declare var NetworkConnectorSummary$: StaticStructureSchema;
27
+ export declare var NetworkConnectorVersionSummary$: StaticStructureSchema;
25
28
  export declare var NetworkConnectorVpcEgressConfiguration$: StaticStructureSchema;
26
29
  export declare var UpdateNetworkConnectorRequest$: StaticStructureSchema;
27
30
  export declare var UpdateNetworkConnectorResponse$: StaticStructureSchema;
@@ -30,4 +33,5 @@ export declare var CreateNetworkConnector$: StaticOperationSchema;
30
33
  export declare var DeleteNetworkConnector$: StaticOperationSchema;
31
34
  export declare var GetNetworkConnector$: StaticOperationSchema;
32
35
  export declare var ListNetworkConnectors$: StaticOperationSchema;
36
+ export declare var ListNetworkConnectorVersions$: StaticOperationSchema;
33
37
  export declare var UpdateNetworkConnector$: StaticOperationSchema;
@@ -20,6 +20,10 @@ import {
20
20
  ListNetworkConnectorsCommandInput,
21
21
  ListNetworkConnectorsCommandOutput,
22
22
  } from "./commands/ListNetworkConnectorsCommand";
23
+ import {
24
+ ListNetworkConnectorVersionsCommandInput,
25
+ ListNetworkConnectorVersionsCommandOutput,
26
+ } from "./commands/ListNetworkConnectorVersionsCommand";
23
27
  import {
24
28
  UpdateNetworkConnectorCommandInput,
25
29
  UpdateNetworkConnectorCommandOutput,
@@ -82,6 +86,19 @@ export interface LambdaCore {
82
86
  options: LambdaCoreRequestOptions,
83
87
  cb: (err: any, data?: ListNetworkConnectorsCommandOutput) => void,
84
88
  ): void;
89
+ listNetworkConnectorVersions(
90
+ args: ListNetworkConnectorVersionsCommandInput,
91
+ options?: LambdaCoreRequestOptions,
92
+ ): Promise<ListNetworkConnectorVersionsCommandOutput>;
93
+ listNetworkConnectorVersions(
94
+ args: ListNetworkConnectorVersionsCommandInput,
95
+ cb: (err: any, data?: ListNetworkConnectorVersionsCommandOutput) => void,
96
+ ): void;
97
+ listNetworkConnectorVersions(
98
+ args: ListNetworkConnectorVersionsCommandInput,
99
+ options: LambdaCoreRequestOptions,
100
+ cb: (err: any, data?: ListNetworkConnectorVersionsCommandOutput) => void,
101
+ ): void;
85
102
  updateNetworkConnector(
86
103
  args: UpdateNetworkConnectorCommandInput,
87
104
  options?: LambdaCoreRequestOptions,
@@ -102,5 +119,12 @@ export interface LambdaCore {
102
119
  Exclude<keyof PaginationConfiguration, "client">
103
120
  >,
104
121
  ): Paginator<ListNetworkConnectorsCommandOutput>;
122
+ paginateListNetworkConnectorVersions(
123
+ args: ListNetworkConnectorVersionsCommandInput,
124
+ paginationConfig?: Pick<
125
+ PaginationConfiguration,
126
+ Exclude<keyof PaginationConfiguration, "client">
127
+ >,
128
+ ): Paginator<ListNetworkConnectorVersionsCommandOutput>;
105
129
  }
106
130
  export declare class LambdaCore extends LambdaCoreClient implements LambdaCore {}
@@ -49,6 +49,10 @@ import {
49
49
  ListNetworkConnectorsCommandInput,
50
50
  ListNetworkConnectorsCommandOutput,
51
51
  } from "./commands/ListNetworkConnectorsCommand";
52
+ import {
53
+ ListNetworkConnectorVersionsCommandInput,
54
+ ListNetworkConnectorVersionsCommandOutput,
55
+ } from "./commands/ListNetworkConnectorVersionsCommand";
52
56
  import {
53
57
  UpdateNetworkConnectorCommandInput,
54
58
  UpdateNetworkConnectorCommandOutput,
@@ -64,12 +68,14 @@ export type ServiceInputTypes =
64
68
  | CreateNetworkConnectorCommandInput
65
69
  | DeleteNetworkConnectorCommandInput
66
70
  | GetNetworkConnectorCommandInput
71
+ | ListNetworkConnectorVersionsCommandInput
67
72
  | ListNetworkConnectorsCommandInput
68
73
  | UpdateNetworkConnectorCommandInput;
69
74
  export type ServiceOutputTypes =
70
75
  | CreateNetworkConnectorCommandOutput
71
76
  | DeleteNetworkConnectorCommandOutput
72
77
  | GetNetworkConnectorCommandOutput
78
+ | ListNetworkConnectorVersionsCommandOutput
73
79
  | ListNetworkConnectorsCommandOutput
74
80
  | UpdateNetworkConnectorCommandOutput;
75
81
  export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListNetworkConnectorVersionsRequest,
4
+ ListNetworkConnectorVersionsResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListNetworkConnectorVersionsCommandInput extends ListNetworkConnectorVersionsRequest {}
8
+ export interface ListNetworkConnectorVersionsCommandOutput
9
+ extends ListNetworkConnectorVersionsResponse, __MetadataBearer {}
10
+ declare const ListNetworkConnectorVersionsCommand_base: {
11
+ new (
12
+ input: ListNetworkConnectorVersionsCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListNetworkConnectorVersionsCommandInput,
15
+ ListNetworkConnectorVersionsCommandOutput,
16
+ import("..").LambdaCoreClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: ListNetworkConnectorVersionsCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListNetworkConnectorVersionsCommandInput,
24
+ ListNetworkConnectorVersionsCommandOutput,
25
+ import("..").LambdaCoreClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListNetworkConnectorVersionsCommand extends ListNetworkConnectorVersionsCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListNetworkConnectorVersionsRequest;
35
+ output: ListNetworkConnectorVersionsResponse;
36
+ };
37
+ sdk: {
38
+ input: ListNetworkConnectorVersionsCommandInput;
39
+ output: ListNetworkConnectorVersionsCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -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";