@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.
- package/README.md +8 -1
- package/dist-cjs/index.js +57 -11
- package/dist-es/LambdaCore.js +4 -0
- package/dist-es/commands/ListNetworkConnectorVersionsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +3 -0
- package/dist-es/pagination/ListNetworkConnectorVersionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +40 -10
- package/dist-types/LambdaCore.d.ts +15 -1
- package/dist-types/LambdaCoreClient.d.ts +4 -3
- package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +6 -4
- package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +4 -2
- package/dist-types/commands/GetNetworkConnectorCommand.d.ts +6 -3
- package/dist-types/commands/ListNetworkConnectorVersionsCommand.d.ts +99 -0
- package/dist-types/commands/ListNetworkConnectorsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +8 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +6 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +157 -11
- package/dist-types/pagination/ListNetworkConnectorVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/LambdaCore.d.ts +24 -0
- package/dist-types/ts3.4/LambdaCoreClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListNetworkConnectorVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/pagination/ListNetworkConnectorVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript LambdaCore Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>AWS Lambda Core is a set of APIs for managing shared infrastructure resources used by
|
|
9
|
+
<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>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
|
@@ -209,6 +209,13 @@ ListNetworkConnectors
|
|
|
209
209
|
</details>
|
|
210
210
|
<details>
|
|
211
211
|
<summary>
|
|
212
|
+
ListNetworkConnectorVersions
|
|
213
|
+
</summary>
|
|
214
|
+
|
|
215
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda-core/command/ListNetworkConnectorVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda-core/Interface/ListNetworkConnectorVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda-core/Interface/ListNetworkConnectorVersionsCommandOutput/)
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
212
219
|
UpdateNetworkConnector
|
|
213
220
|
</summary>
|
|
214
221
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1150.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -258,9 +258,14 @@ const _LM = "LastModified";
|
|
|
258
258
|
const _LNC = "ListNetworkConnectors";
|
|
259
259
|
const _LNCR = "ListNetworkConnectorsRequest";
|
|
260
260
|
const _LNCRi = "ListNetworkConnectorsResponse";
|
|
261
|
+
const _LNCV = "ListNetworkConnectorVersions";
|
|
262
|
+
const _LNCVR = "ListNetworkConnectorVersionsRequest";
|
|
263
|
+
const _LNCVRi = "ListNetworkConnectorVersionsResponse";
|
|
261
264
|
const _LUS = "LastUpdateStatus";
|
|
262
265
|
const _LUSR = "LastUpdateStatusReason";
|
|
263
266
|
const _LUSRC = "LastUpdateStatusReasonCode";
|
|
267
|
+
const _LV = "LatestVersion";
|
|
268
|
+
const _LVA = "LatestVersionArn";
|
|
264
269
|
const _M = "Message";
|
|
265
270
|
const _MI = "MaxItems";
|
|
266
271
|
const _Ma = "Marker";
|
|
@@ -270,7 +275,10 @@ const _NCC = "NetworkConnectorConfiguration";
|
|
|
270
275
|
const _NCL = "NetworkConnectorsList";
|
|
271
276
|
const _NCLEE = "NetworkConnectorLimitExceededException";
|
|
272
277
|
const _NCS = "NetworkConnectorSummary";
|
|
278
|
+
const _NCV = "NetworkConnectorVersions";
|
|
273
279
|
const _NCVEC = "NetworkConnectorVpcEgressConfiguration";
|
|
280
|
+
const _NCVL = "NetworkConnectorVersionsList";
|
|
281
|
+
const _NCVS = "NetworkConnectorVersionSummary";
|
|
274
282
|
const _NM = "NextMarker";
|
|
275
283
|
const _NP = "NetworkProtocol";
|
|
276
284
|
const _OR = "OperatorRole";
|
|
@@ -291,6 +299,7 @@ const _UNC = "UpdateNetworkConnector";
|
|
|
291
299
|
const _UNCR = "UpdateNetworkConnectorRequest";
|
|
292
300
|
const _UNCRp = "UpdateNetworkConnectorResponse";
|
|
293
301
|
const _V = "Version";
|
|
302
|
+
const _VA = "VersionArn";
|
|
294
303
|
const _VEC = "VpcEgressConfiguration";
|
|
295
304
|
const _c = "client";
|
|
296
305
|
const _e = "error";
|
|
@@ -354,8 +363,8 @@ var CreateNetworkConnectorRequest$ = [3, n0, _CNCR,
|
|
|
354
363
|
];
|
|
355
364
|
var CreateNetworkConnectorResponse$ = [3, n0, _CNCRr,
|
|
356
365
|
0,
|
|
357
|
-
[_A, _N, _I, _C, _OR, _S],
|
|
358
|
-
[0, 0, 0, () => NetworkConnectorConfiguration$, 0, 0], 3
|
|
366
|
+
[_A, _N, _I, _VA, _V, _C, _OR, _S],
|
|
367
|
+
[0, 0, 0, 0, 1, () => NetworkConnectorConfiguration$, 0, 0], 3
|
|
359
368
|
];
|
|
360
369
|
var DeleteNetworkConnectorRequest$ = [3, n0, _DNCR,
|
|
361
370
|
0,
|
|
@@ -364,8 +373,8 @@ var DeleteNetworkConnectorRequest$ = [3, n0, _DNCR,
|
|
|
364
373
|
];
|
|
365
374
|
var DeleteNetworkConnectorResponse$ = [3, n0, _DNCRe,
|
|
366
375
|
0,
|
|
367
|
-
[_A, _N, _I, _C, _OR, _S],
|
|
368
|
-
[0, 0, 0, () => NetworkConnectorConfiguration$, 0, 0], 3
|
|
376
|
+
[_A, _N, _I, _VA, _V, _C, _OR, _S],
|
|
377
|
+
[0, 0, 0, 0, 1, () => NetworkConnectorConfiguration$, 0, 0], 3
|
|
369
378
|
];
|
|
370
379
|
var GetNetworkConnectorRequest$ = [3, n0, _GNCR,
|
|
371
380
|
0,
|
|
@@ -374,8 +383,8 @@ var GetNetworkConnectorRequest$ = [3, n0, _GNCR,
|
|
|
374
383
|
];
|
|
375
384
|
var GetNetworkConnectorResponse$ = [3, n0, _GNCRe,
|
|
376
385
|
0,
|
|
377
|
-
[_A, _N, _I, _V, _C, _OR, _S, _SR, _SRC, _LUS, _LUSR, _LUSRC, _LM],
|
|
378
|
-
[0, 0, 0, 1, () => NetworkConnectorConfiguration$, 0, 0, 0, 0, 0, 0, 0, 5], 3
|
|
386
|
+
[_A, _N, _I, _VA, _V, _LVA, _LV, _C, _OR, _S, _SR, _SRC, _LUS, _LUSR, _LUSRC, _LM],
|
|
387
|
+
[0, 0, 0, 0, 1, 0, 1, () => NetworkConnectorConfiguration$, 0, 0, 0, 0, 0, 0, 0, 5], 3
|
|
379
388
|
];
|
|
380
389
|
var ListNetworkConnectorsRequest$ = [3, n0, _LNCR,
|
|
381
390
|
0,
|
|
@@ -387,10 +396,25 @@ var ListNetworkConnectorsResponse$ = [3, n0, _LNCRi,
|
|
|
387
396
|
[_NC, _NM],
|
|
388
397
|
[() => NetworkConnectorsList, 0], 1
|
|
389
398
|
];
|
|
399
|
+
var ListNetworkConnectorVersionsRequest$ = [3, n0, _LNCVR,
|
|
400
|
+
0,
|
|
401
|
+
[_Id, _S, _Ma, _MI],
|
|
402
|
+
[[0, 1], [0, { [_hQ]: _S }], [0, { [_hQ]: _Ma }], [1, { [_hQ]: _MI }]], 1
|
|
403
|
+
];
|
|
404
|
+
var ListNetworkConnectorVersionsResponse$ = [3, n0, _LNCVRi,
|
|
405
|
+
0,
|
|
406
|
+
[_NCV, _NM],
|
|
407
|
+
[() => NetworkConnectorVersionsList, 0], 1
|
|
408
|
+
];
|
|
390
409
|
var NetworkConnectorSummary$ = [3, n0, _NCS,
|
|
391
410
|
0,
|
|
392
|
-
[_A, _N, _I, _T, _S, _LM],
|
|
393
|
-
[0, 0, 0, 0, 0, 5], 4
|
|
411
|
+
[_A, _N, _I, _T, _S, _LM, _LVA, _LV],
|
|
412
|
+
[0, 0, 0, 0, 0, 5, 0, 1], 4
|
|
413
|
+
];
|
|
414
|
+
var NetworkConnectorVersionSummary$ = [3, n0, _NCVS,
|
|
415
|
+
0,
|
|
416
|
+
[_A, _VA, _N, _I, _V, _S, _SR, _SRC, _LM],
|
|
417
|
+
[0, 0, 0, 0, 1, 0, 0, 0, 5], 6
|
|
394
418
|
];
|
|
395
419
|
var NetworkConnectorVpcEgressConfiguration$ = [3, n0, _NCVEC,
|
|
396
420
|
0,
|
|
@@ -404,12 +428,15 @@ var UpdateNetworkConnectorRequest$ = [3, n0, _UNCR,
|
|
|
404
428
|
];
|
|
405
429
|
var UpdateNetworkConnectorResponse$ = [3, n0, _UNCRp,
|
|
406
430
|
0,
|
|
407
|
-
[_A, _N, _I, _OR, _C, _S, _LUS, _LUSR, _LM],
|
|
408
|
-
[0, 0, 0, 0, () => NetworkConnectorConfiguration$, 0, 0, 0, 5], 3
|
|
431
|
+
[_A, _N, _I, _VA, _V, _OR, _C, _S, _LUS, _LUSR, _LM],
|
|
432
|
+
[0, 0, 0, 0, 1, 0, () => NetworkConnectorConfiguration$, 0, 0, 0, 5], 3
|
|
409
433
|
];
|
|
410
434
|
var NetworkConnectorsList = [1, n0, _NCL,
|
|
411
435
|
0, () => NetworkConnectorSummary$
|
|
412
436
|
];
|
|
437
|
+
var NetworkConnectorVersionsList = [1, n0, _NCVL,
|
|
438
|
+
0, () => NetworkConnectorVersionSummary$
|
|
439
|
+
];
|
|
413
440
|
var NetworkConnectorConfiguration$ = [4, n0, _NCC,
|
|
414
441
|
0,
|
|
415
442
|
[_VEC],
|
|
@@ -427,6 +454,9 @@ var GetNetworkConnector$ = [9, n0, _GNC,
|
|
|
427
454
|
var ListNetworkConnectors$ = [9, n0, _LNC,
|
|
428
455
|
{ [_h]: ["GET", "/2026-04-04/network-connectors", 200] }, () => ListNetworkConnectorsRequest$, () => ListNetworkConnectorsResponse$
|
|
429
456
|
];
|
|
457
|
+
var ListNetworkConnectorVersions$ = [9, n0, _LNCV,
|
|
458
|
+
{ [_h]: ["GET", "/2026-04-04/network-connectors/{Identifier}/versions", 200] }, () => ListNetworkConnectorVersionsRequest$, () => ListNetworkConnectorVersionsResponse$
|
|
459
|
+
];
|
|
430
460
|
var UpdateNetworkConnector$ = [9, n0, _UNC,
|
|
431
461
|
{ [_h]: ["PUT", "/2026-04-04/network-connectors/{Identifier}", 202] }, () => UpdateNetworkConnectorRequest$, () => UpdateNetworkConnectorResponse$
|
|
432
462
|
];
|
|
@@ -593,20 +623,27 @@ class GetNetworkConnectorCommand extends command(_ep0, _mw0, "GetNetworkConnecto
|
|
|
593
623
|
class ListNetworkConnectorsCommand extends command(_ep0, _mw0, "ListNetworkConnectors", ListNetworkConnectors$) {
|
|
594
624
|
}
|
|
595
625
|
|
|
626
|
+
class ListNetworkConnectorVersionsCommand extends command(_ep0, _mw0, "ListNetworkConnectorVersions", ListNetworkConnectorVersions$) {
|
|
627
|
+
}
|
|
628
|
+
|
|
596
629
|
class UpdateNetworkConnectorCommand extends command(_ep0, _mw0, "UpdateNetworkConnector", UpdateNetworkConnector$) {
|
|
597
630
|
}
|
|
598
631
|
|
|
599
632
|
const paginateListNetworkConnectors = createPaginator(LambdaCoreClient, ListNetworkConnectorsCommand, "Marker", "NextMarker", "MaxItems");
|
|
600
633
|
|
|
634
|
+
const paginateListNetworkConnectorVersions = createPaginator(LambdaCoreClient, ListNetworkConnectorVersionsCommand, "Marker", "NextMarker", "MaxItems");
|
|
635
|
+
|
|
601
636
|
const commands = {
|
|
602
637
|
CreateNetworkConnectorCommand,
|
|
603
638
|
DeleteNetworkConnectorCommand,
|
|
604
639
|
GetNetworkConnectorCommand,
|
|
605
640
|
ListNetworkConnectorsCommand,
|
|
641
|
+
ListNetworkConnectorVersionsCommand,
|
|
606
642
|
UpdateNetworkConnectorCommand,
|
|
607
643
|
};
|
|
608
644
|
const paginators = {
|
|
609
645
|
paginateListNetworkConnectors,
|
|
646
|
+
paginateListNetworkConnectorVersions,
|
|
610
647
|
};
|
|
611
648
|
class LambdaCore extends LambdaCoreClient {
|
|
612
649
|
}
|
|
@@ -614,6 +651,7 @@ createAggregatedClient(commands, LambdaCore, { paginators });
|
|
|
614
651
|
|
|
615
652
|
const ComputeResourceType = {
|
|
616
653
|
MicroVm: "MicroVm",
|
|
654
|
+
WebFunction: "WebFunction",
|
|
617
655
|
};
|
|
618
656
|
const NetworkProtocol = {
|
|
619
657
|
DualStack: "DualStack",
|
|
@@ -647,6 +685,7 @@ const NetworkConnectorLastUpdateStatusReasonCode = {
|
|
|
647
685
|
InternalError: "InternalError",
|
|
648
686
|
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
649
687
|
InvalidSubnet: "InvalidSubnet",
|
|
688
|
+
SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded",
|
|
650
689
|
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
651
690
|
};
|
|
652
691
|
const NetworkConnectorStateReasonCode = {
|
|
@@ -656,6 +695,7 @@ const NetworkConnectorStateReasonCode = {
|
|
|
656
695
|
InternalError: "InternalError",
|
|
657
696
|
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
658
697
|
InvalidSubnet: "InvalidSubnet",
|
|
698
|
+
SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded",
|
|
659
699
|
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
660
700
|
};
|
|
661
701
|
const NetworkConnectorType = {
|
|
@@ -681,6 +721,10 @@ exports.LambdaCore = LambdaCore;
|
|
|
681
721
|
exports.LambdaCoreClient = LambdaCoreClient;
|
|
682
722
|
exports.LambdaCoreServiceException = LambdaCoreServiceException;
|
|
683
723
|
exports.LambdaCoreServiceException$ = LambdaCoreServiceException$;
|
|
724
|
+
exports.ListNetworkConnectorVersions$ = ListNetworkConnectorVersions$;
|
|
725
|
+
exports.ListNetworkConnectorVersionsCommand = ListNetworkConnectorVersionsCommand;
|
|
726
|
+
exports.ListNetworkConnectorVersionsRequest$ = ListNetworkConnectorVersionsRequest$;
|
|
727
|
+
exports.ListNetworkConnectorVersionsResponse$ = ListNetworkConnectorVersionsResponse$;
|
|
684
728
|
exports.ListNetworkConnectors$ = ListNetworkConnectors$;
|
|
685
729
|
exports.ListNetworkConnectorsCommand = ListNetworkConnectorsCommand;
|
|
686
730
|
exports.ListNetworkConnectorsRequest$ = ListNetworkConnectorsRequest$;
|
|
@@ -694,6 +738,7 @@ exports.NetworkConnectorState = NetworkConnectorState;
|
|
|
694
738
|
exports.NetworkConnectorStateReasonCode = NetworkConnectorStateReasonCode;
|
|
695
739
|
exports.NetworkConnectorSummary$ = NetworkConnectorSummary$;
|
|
696
740
|
exports.NetworkConnectorType = NetworkConnectorType;
|
|
741
|
+
exports.NetworkConnectorVersionSummary$ = NetworkConnectorVersionSummary$;
|
|
697
742
|
exports.NetworkConnectorVpcEgressConfiguration$ = NetworkConnectorVpcEgressConfiguration$;
|
|
698
743
|
exports.NetworkProtocol = NetworkProtocol;
|
|
699
744
|
exports.ResourceConflictException = ResourceConflictException;
|
|
@@ -710,4 +755,5 @@ exports.UpdateNetworkConnectorCommand = UpdateNetworkConnectorCommand;
|
|
|
710
755
|
exports.UpdateNetworkConnectorRequest$ = UpdateNetworkConnectorRequest$;
|
|
711
756
|
exports.UpdateNetworkConnectorResponse$ = UpdateNetworkConnectorResponse$;
|
|
712
757
|
exports.errorTypeRegistries = errorTypeRegistries;
|
|
758
|
+
exports.paginateListNetworkConnectorVersions = paginateListNetworkConnectorVersions;
|
|
713
759
|
exports.paginateListNetworkConnectors = paginateListNetworkConnectors;
|
package/dist-es/LambdaCore.js
CHANGED
|
@@ -3,18 +3,22 @@ import { CreateNetworkConnectorCommand, } from "./commands/CreateNetworkConnecto
|
|
|
3
3
|
import { DeleteNetworkConnectorCommand, } from "./commands/DeleteNetworkConnectorCommand";
|
|
4
4
|
import { GetNetworkConnectorCommand, } from "./commands/GetNetworkConnectorCommand";
|
|
5
5
|
import { ListNetworkConnectorsCommand, } from "./commands/ListNetworkConnectorsCommand";
|
|
6
|
+
import { ListNetworkConnectorVersionsCommand, } from "./commands/ListNetworkConnectorVersionsCommand";
|
|
6
7
|
import { UpdateNetworkConnectorCommand, } from "./commands/UpdateNetworkConnectorCommand";
|
|
7
8
|
import { LambdaCoreClient } from "./LambdaCoreClient";
|
|
8
9
|
import { paginateListNetworkConnectors } from "./pagination/ListNetworkConnectorsPaginator";
|
|
10
|
+
import { paginateListNetworkConnectorVersions } from "./pagination/ListNetworkConnectorVersionsPaginator";
|
|
9
11
|
const commands = {
|
|
10
12
|
CreateNetworkConnectorCommand,
|
|
11
13
|
DeleteNetworkConnectorCommand,
|
|
12
14
|
GetNetworkConnectorCommand,
|
|
13
15
|
ListNetworkConnectorsCommand,
|
|
16
|
+
ListNetworkConnectorVersionsCommand,
|
|
14
17
|
UpdateNetworkConnectorCommand,
|
|
15
18
|
};
|
|
16
19
|
const paginators = {
|
|
17
20
|
paginateListNetworkConnectors,
|
|
21
|
+
paginateListNetworkConnectorVersions,
|
|
18
22
|
};
|
|
19
23
|
export class LambdaCore extends LambdaCoreClient {
|
|
20
24
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListNetworkConnectorVersions$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListNetworkConnectorVersionsCommand extends command(_ep0, _mw0, "ListNetworkConnectorVersions", ListNetworkConnectorVersions$) {
|
|
4
|
+
}
|
|
@@ -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";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export const ComputeResourceType = {
|
|
2
2
|
MicroVm: "MicroVm",
|
|
3
|
+
WebFunction: "WebFunction",
|
|
3
4
|
};
|
|
4
5
|
export const NetworkProtocol = {
|
|
5
6
|
DualStack: "DualStack",
|
|
@@ -33,6 +34,7 @@ export const NetworkConnectorLastUpdateStatusReasonCode = {
|
|
|
33
34
|
InternalError: "InternalError",
|
|
34
35
|
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
35
36
|
InvalidSubnet: "InvalidSubnet",
|
|
37
|
+
SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded",
|
|
36
38
|
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
37
39
|
};
|
|
38
40
|
export const NetworkConnectorStateReasonCode = {
|
|
@@ -42,6 +44,7 @@ export const NetworkConnectorStateReasonCode = {
|
|
|
42
44
|
InternalError: "InternalError",
|
|
43
45
|
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
44
46
|
InvalidSubnet: "InvalidSubnet",
|
|
47
|
+
SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded",
|
|
45
48
|
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
46
49
|
};
|
|
47
50
|
export const NetworkConnectorType = {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListNetworkConnectorVersionsCommand, } from "../commands/ListNetworkConnectorVersionsCommand";
|
|
3
|
+
import { LambdaCoreClient } from "../LambdaCoreClient";
|
|
4
|
+
export const paginateListNetworkConnectorVersions = createPaginator(LambdaCoreClient, ListNetworkConnectorVersionsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -18,9 +18,14 @@ const _LM = "LastModified";
|
|
|
18
18
|
const _LNC = "ListNetworkConnectors";
|
|
19
19
|
const _LNCR = "ListNetworkConnectorsRequest";
|
|
20
20
|
const _LNCRi = "ListNetworkConnectorsResponse";
|
|
21
|
+
const _LNCV = "ListNetworkConnectorVersions";
|
|
22
|
+
const _LNCVR = "ListNetworkConnectorVersionsRequest";
|
|
23
|
+
const _LNCVRi = "ListNetworkConnectorVersionsResponse";
|
|
21
24
|
const _LUS = "LastUpdateStatus";
|
|
22
25
|
const _LUSR = "LastUpdateStatusReason";
|
|
23
26
|
const _LUSRC = "LastUpdateStatusReasonCode";
|
|
27
|
+
const _LV = "LatestVersion";
|
|
28
|
+
const _LVA = "LatestVersionArn";
|
|
24
29
|
const _M = "Message";
|
|
25
30
|
const _MI = "MaxItems";
|
|
26
31
|
const _Ma = "Marker";
|
|
@@ -30,7 +35,10 @@ const _NCC = "NetworkConnectorConfiguration";
|
|
|
30
35
|
const _NCL = "NetworkConnectorsList";
|
|
31
36
|
const _NCLEE = "NetworkConnectorLimitExceededException";
|
|
32
37
|
const _NCS = "NetworkConnectorSummary";
|
|
38
|
+
const _NCV = "NetworkConnectorVersions";
|
|
33
39
|
const _NCVEC = "NetworkConnectorVpcEgressConfiguration";
|
|
40
|
+
const _NCVL = "NetworkConnectorVersionsList";
|
|
41
|
+
const _NCVS = "NetworkConnectorVersionSummary";
|
|
34
42
|
const _NM = "NextMarker";
|
|
35
43
|
const _NP = "NetworkProtocol";
|
|
36
44
|
const _OR = "OperatorRole";
|
|
@@ -51,6 +59,7 @@ const _UNC = "UpdateNetworkConnector";
|
|
|
51
59
|
const _UNCR = "UpdateNetworkConnectorRequest";
|
|
52
60
|
const _UNCRp = "UpdateNetworkConnectorResponse";
|
|
53
61
|
const _V = "Version";
|
|
62
|
+
const _VA = "VersionArn";
|
|
54
63
|
const _VEC = "VpcEgressConfiguration";
|
|
55
64
|
const _c = "client";
|
|
56
65
|
const _e = "error";
|
|
@@ -117,8 +126,8 @@ export var CreateNetworkConnectorRequest$ = [3, n0, _CNCR,
|
|
|
117
126
|
];
|
|
118
127
|
export var CreateNetworkConnectorResponse$ = [3, n0, _CNCRr,
|
|
119
128
|
0,
|
|
120
|
-
[_A, _N, _I, _C, _OR, _S],
|
|
121
|
-
[0, 0, 0, () => NetworkConnectorConfiguration$, 0, 0], 3
|
|
129
|
+
[_A, _N, _I, _VA, _V, _C, _OR, _S],
|
|
130
|
+
[0, 0, 0, 0, 1, () => NetworkConnectorConfiguration$, 0, 0], 3
|
|
122
131
|
];
|
|
123
132
|
export var DeleteNetworkConnectorRequest$ = [3, n0, _DNCR,
|
|
124
133
|
0,
|
|
@@ -127,8 +136,8 @@ export var DeleteNetworkConnectorRequest$ = [3, n0, _DNCR,
|
|
|
127
136
|
];
|
|
128
137
|
export var DeleteNetworkConnectorResponse$ = [3, n0, _DNCRe,
|
|
129
138
|
0,
|
|
130
|
-
[_A, _N, _I, _C, _OR, _S],
|
|
131
|
-
[0, 0, 0, () => NetworkConnectorConfiguration$, 0, 0], 3
|
|
139
|
+
[_A, _N, _I, _VA, _V, _C, _OR, _S],
|
|
140
|
+
[0, 0, 0, 0, 1, () => NetworkConnectorConfiguration$, 0, 0], 3
|
|
132
141
|
];
|
|
133
142
|
export var GetNetworkConnectorRequest$ = [3, n0, _GNCR,
|
|
134
143
|
0,
|
|
@@ -137,8 +146,8 @@ export var GetNetworkConnectorRequest$ = [3, n0, _GNCR,
|
|
|
137
146
|
];
|
|
138
147
|
export var GetNetworkConnectorResponse$ = [3, n0, _GNCRe,
|
|
139
148
|
0,
|
|
140
|
-
[_A, _N, _I, _V, _C, _OR, _S, _SR, _SRC, _LUS, _LUSR, _LUSRC, _LM],
|
|
141
|
-
[0, 0, 0, 1, () => NetworkConnectorConfiguration$, 0, 0, 0, 0, 0, 0, 0, 5], 3
|
|
149
|
+
[_A, _N, _I, _VA, _V, _LVA, _LV, _C, _OR, _S, _SR, _SRC, _LUS, _LUSR, _LUSRC, _LM],
|
|
150
|
+
[0, 0, 0, 0, 1, 0, 1, () => NetworkConnectorConfiguration$, 0, 0, 0, 0, 0, 0, 0, 5], 3
|
|
142
151
|
];
|
|
143
152
|
export var ListNetworkConnectorsRequest$ = [3, n0, _LNCR,
|
|
144
153
|
0,
|
|
@@ -150,10 +159,25 @@ export var ListNetworkConnectorsResponse$ = [3, n0, _LNCRi,
|
|
|
150
159
|
[_NC, _NM],
|
|
151
160
|
[() => NetworkConnectorsList, 0], 1
|
|
152
161
|
];
|
|
162
|
+
export var ListNetworkConnectorVersionsRequest$ = [3, n0, _LNCVR,
|
|
163
|
+
0,
|
|
164
|
+
[_Id, _S, _Ma, _MI],
|
|
165
|
+
[[0, 1], [0, { [_hQ]: _S }], [0, { [_hQ]: _Ma }], [1, { [_hQ]: _MI }]], 1
|
|
166
|
+
];
|
|
167
|
+
export var ListNetworkConnectorVersionsResponse$ = [3, n0, _LNCVRi,
|
|
168
|
+
0,
|
|
169
|
+
[_NCV, _NM],
|
|
170
|
+
[() => NetworkConnectorVersionsList, 0], 1
|
|
171
|
+
];
|
|
153
172
|
export var NetworkConnectorSummary$ = [3, n0, _NCS,
|
|
154
173
|
0,
|
|
155
|
-
[_A, _N, _I, _T, _S, _LM],
|
|
156
|
-
[0, 0, 0, 0, 0, 5], 4
|
|
174
|
+
[_A, _N, _I, _T, _S, _LM, _LVA, _LV],
|
|
175
|
+
[0, 0, 0, 0, 0, 5, 0, 1], 4
|
|
176
|
+
];
|
|
177
|
+
export var NetworkConnectorVersionSummary$ = [3, n0, _NCVS,
|
|
178
|
+
0,
|
|
179
|
+
[_A, _VA, _N, _I, _V, _S, _SR, _SRC, _LM],
|
|
180
|
+
[0, 0, 0, 0, 1, 0, 0, 0, 5], 6
|
|
157
181
|
];
|
|
158
182
|
export var NetworkConnectorVpcEgressConfiguration$ = [3, n0, _NCVEC,
|
|
159
183
|
0,
|
|
@@ -167,8 +191,8 @@ export var UpdateNetworkConnectorRequest$ = [3, n0, _UNCR,
|
|
|
167
191
|
];
|
|
168
192
|
export var UpdateNetworkConnectorResponse$ = [3, n0, _UNCRp,
|
|
169
193
|
0,
|
|
170
|
-
[_A, _N, _I, _OR, _C, _S, _LUS, _LUSR, _LM],
|
|
171
|
-
[0, 0, 0, 0, () => NetworkConnectorConfiguration$, 0, 0, 0, 5], 3
|
|
194
|
+
[_A, _N, _I, _VA, _V, _OR, _C, _S, _LUS, _LUSR, _LM],
|
|
195
|
+
[0, 0, 0, 0, 1, 0, () => NetworkConnectorConfiguration$, 0, 0, 0, 5], 3
|
|
172
196
|
];
|
|
173
197
|
var AssociatedComputeResourceTypesList = 64 | 0;
|
|
174
198
|
var NetworkConnectorSecurityGroupIds = 64 | 0;
|
|
@@ -176,6 +200,9 @@ var NetworkConnectorsList = [1, n0, _NCL,
|
|
|
176
200
|
0, () => NetworkConnectorSummary$
|
|
177
201
|
];
|
|
178
202
|
var NetworkConnectorSubnetIds = 64 | 0;
|
|
203
|
+
var NetworkConnectorVersionsList = [1, n0, _NCVL,
|
|
204
|
+
0, () => NetworkConnectorVersionSummary$
|
|
205
|
+
];
|
|
179
206
|
var NetworkConnectorTags = 128 | 0;
|
|
180
207
|
export var NetworkConnectorConfiguration$ = [4, n0, _NCC,
|
|
181
208
|
0,
|
|
@@ -194,6 +221,9 @@ export var GetNetworkConnector$ = [9, n0, _GNC,
|
|
|
194
221
|
export var ListNetworkConnectors$ = [9, n0, _LNC,
|
|
195
222
|
{ [_h]: ["GET", "/2026-04-04/network-connectors", 200] }, () => ListNetworkConnectorsRequest$, () => ListNetworkConnectorsResponse$
|
|
196
223
|
];
|
|
224
|
+
export var ListNetworkConnectorVersions$ = [9, n0, _LNCV,
|
|
225
|
+
{ [_h]: ["GET", "/2026-04-04/network-connectors/{Identifier}/versions", 200] }, () => ListNetworkConnectorVersionsRequest$, () => ListNetworkConnectorVersionsResponse$
|
|
226
|
+
];
|
|
197
227
|
export var UpdateNetworkConnector$ = [9, n0, _UNC,
|
|
198
228
|
{ [_h]: ["PUT", "/2026-04-04/network-connectors/{Identifier}", 202] }, () => UpdateNetworkConnectorRequest$, () => UpdateNetworkConnectorResponse$
|
|
199
229
|
];
|
|
@@ -3,6 +3,7 @@ import { type CreateNetworkConnectorCommandInput, type CreateNetworkConnectorCom
|
|
|
3
3
|
import { type DeleteNetworkConnectorCommandInput, type DeleteNetworkConnectorCommandOutput } from "./commands/DeleteNetworkConnectorCommand";
|
|
4
4
|
import { type GetNetworkConnectorCommandInput, type GetNetworkConnectorCommandOutput } from "./commands/GetNetworkConnectorCommand";
|
|
5
5
|
import { type ListNetworkConnectorsCommandInput, type ListNetworkConnectorsCommandOutput } from "./commands/ListNetworkConnectorsCommand";
|
|
6
|
+
import { type ListNetworkConnectorVersionsCommandInput, type ListNetworkConnectorVersionsCommandOutput } from "./commands/ListNetworkConnectorVersionsCommand";
|
|
6
7
|
import { type UpdateNetworkConnectorCommandInput, type UpdateNetworkConnectorCommandOutput } from "./commands/UpdateNetworkConnectorCommand";
|
|
7
8
|
import { LambdaCoreClient } from "./LambdaCoreClient";
|
|
8
9
|
/**
|
|
@@ -37,6 +38,12 @@ export interface LambdaCore {
|
|
|
37
38
|
listNetworkConnectors(args: ListNetworkConnectorsCommandInput, options?: LambdaCoreRequestOptions): Promise<ListNetworkConnectorsCommandOutput>;
|
|
38
39
|
listNetworkConnectors(args: ListNetworkConnectorsCommandInput, cb: (err: any, data?: ListNetworkConnectorsCommandOutput) => void): void;
|
|
39
40
|
listNetworkConnectors(args: ListNetworkConnectorsCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: ListNetworkConnectorsCommandOutput) => void): void;
|
|
41
|
+
/**
|
|
42
|
+
* @see {@link ListNetworkConnectorVersionsCommand}
|
|
43
|
+
*/
|
|
44
|
+
listNetworkConnectorVersions(args: ListNetworkConnectorVersionsCommandInput, options?: LambdaCoreRequestOptions): Promise<ListNetworkConnectorVersionsCommandOutput>;
|
|
45
|
+
listNetworkConnectorVersions(args: ListNetworkConnectorVersionsCommandInput, cb: (err: any, data?: ListNetworkConnectorVersionsCommandOutput) => void): void;
|
|
46
|
+
listNetworkConnectorVersions(args: ListNetworkConnectorVersionsCommandInput, options: LambdaCoreRequestOptions, cb: (err: any, data?: ListNetworkConnectorVersionsCommandOutput) => void): void;
|
|
40
47
|
/**
|
|
41
48
|
* @see {@link UpdateNetworkConnectorCommand}
|
|
42
49
|
*/
|
|
@@ -50,9 +57,16 @@ export interface LambdaCore {
|
|
|
50
57
|
* @returns AsyncIterable of {@link ListNetworkConnectorsCommandOutput}.
|
|
51
58
|
*/
|
|
52
59
|
paginateListNetworkConnectors(args?: ListNetworkConnectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListNetworkConnectorsCommandOutput>;
|
|
60
|
+
/**
|
|
61
|
+
* @see {@link ListNetworkConnectorVersionsCommand}
|
|
62
|
+
* @param args - command input.
|
|
63
|
+
* @param paginationConfig - optional pagination config.
|
|
64
|
+
* @returns AsyncIterable of {@link ListNetworkConnectorVersionsCommandOutput}.
|
|
65
|
+
*/
|
|
66
|
+
paginateListNetworkConnectorVersions(args: ListNetworkConnectorVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListNetworkConnectorVersionsCommandOutput>;
|
|
53
67
|
}
|
|
54
68
|
/**
|
|
55
|
-
* <p>AWS Lambda Core is a set of APIs for managing shared infrastructure resources used by
|
|
69
|
+
* <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>
|
|
56
70
|
* @public
|
|
57
71
|
*/
|
|
58
72
|
export declare class LambdaCore extends LambdaCoreClient implements LambdaCore {
|
|
@@ -10,6 +10,7 @@ import type { CreateNetworkConnectorCommandInput, CreateNetworkConnectorCommandO
|
|
|
10
10
|
import type { DeleteNetworkConnectorCommandInput, DeleteNetworkConnectorCommandOutput } from "./commands/DeleteNetworkConnectorCommand";
|
|
11
11
|
import type { GetNetworkConnectorCommandInput, GetNetworkConnectorCommandOutput } from "./commands/GetNetworkConnectorCommand";
|
|
12
12
|
import type { ListNetworkConnectorsCommandInput, ListNetworkConnectorsCommandOutput } from "./commands/ListNetworkConnectorsCommand";
|
|
13
|
+
import type { ListNetworkConnectorVersionsCommandInput, ListNetworkConnectorVersionsCommandOutput } from "./commands/ListNetworkConnectorVersionsCommand";
|
|
13
14
|
import type { UpdateNetworkConnectorCommandInput, UpdateNetworkConnectorCommandOutput } from "./commands/UpdateNetworkConnectorCommand";
|
|
14
15
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
15
16
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -17,11 +18,11 @@ export { __Client };
|
|
|
17
18
|
/**
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
|
-
export type ServiceInputTypes = CreateNetworkConnectorCommandInput | DeleteNetworkConnectorCommandInput | GetNetworkConnectorCommandInput | ListNetworkConnectorsCommandInput | UpdateNetworkConnectorCommandInput;
|
|
21
|
+
export type ServiceInputTypes = CreateNetworkConnectorCommandInput | DeleteNetworkConnectorCommandInput | GetNetworkConnectorCommandInput | ListNetworkConnectorVersionsCommandInput | ListNetworkConnectorsCommandInput | UpdateNetworkConnectorCommandInput;
|
|
21
22
|
/**
|
|
22
23
|
* @public
|
|
23
24
|
*/
|
|
24
|
-
export type ServiceOutputTypes = CreateNetworkConnectorCommandOutput | DeleteNetworkConnectorCommandOutput | GetNetworkConnectorCommandOutput | ListNetworkConnectorsCommandOutput | UpdateNetworkConnectorCommandOutput;
|
|
25
|
+
export type ServiceOutputTypes = CreateNetworkConnectorCommandOutput | DeleteNetworkConnectorCommandOutput | GetNetworkConnectorCommandOutput | ListNetworkConnectorVersionsCommandOutput | ListNetworkConnectorsCommandOutput | UpdateNetworkConnectorCommandOutput;
|
|
25
26
|
/**
|
|
26
27
|
* @public
|
|
27
28
|
*/
|
|
@@ -173,7 +174,7 @@ export type LambdaCoreClientResolvedConfigType = __SmithyResolvedConfiguration<_
|
|
|
173
174
|
export interface LambdaCoreClientResolvedConfig extends LambdaCoreClientResolvedConfigType {
|
|
174
175
|
}
|
|
175
176
|
/**
|
|
176
|
-
* <p>AWS Lambda Core is a set of APIs for managing shared infrastructure resources used by
|
|
177
|
+
* <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>
|
|
177
178
|
* @public
|
|
178
179
|
*/
|
|
179
180
|
export declare class LambdaCoreClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaCoreClientResolvedConfig> {
|
|
@@ -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
|
|
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.
|
|
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
|
|
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
|
*
|