@aws-sdk/client-networkmanager 3.127.0 → 3.131.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/CHANGELOG.md +30 -0
- package/dist-cjs/NetworkManager.js +105 -0
- package/dist-cjs/commands/CreateTransitGatewayPeeringCommand.js +36 -0
- package/dist-cjs/commands/CreateTransitGatewayRouteTableAttachmentCommand.js +36 -0
- package/dist-cjs/commands/DeletePeeringCommand.js +36 -0
- package/dist-cjs/commands/GetCoreNetworkChangeEventsCommand.js +36 -0
- package/dist-cjs/commands/GetTransitGatewayPeeringCommand.js +36 -0
- package/dist-cjs/commands/GetTransitGatewayRouteTableAttachmentCommand.js +36 -0
- package/dist-cjs/commands/ListPeeringsCommand.js +36 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +143 -5
- package/dist-cjs/pagination/GetCoreNetworkChangeEventsPaginator.js +36 -0
- package/dist-cjs/pagination/ListPeeringsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -1
- package/dist-cjs/protocols/Aws_restJson1.js +653 -20
- package/dist-es/NetworkManager.js +105 -0
- package/dist-es/commands/CreateTransitGatewayPeeringCommand.js +39 -0
- package/dist-es/commands/CreateTransitGatewayRouteTableAttachmentCommand.js +39 -0
- package/dist-es/commands/DeletePeeringCommand.js +39 -0
- package/dist-es/commands/GetCoreNetworkChangeEventsCommand.js +39 -0
- package/dist-es/commands/GetTransitGatewayPeeringCommand.js +39 -0
- package/dist-es/commands/GetTransitGatewayRouteTableAttachmentCommand.js +39 -0
- package/dist-es/commands/ListPeeringsCommand.js +39 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +99 -0
- package/dist-es/pagination/GetCoreNetworkChangeEventsPaginator.js +75 -0
- package/dist-es/pagination/ListPeeringsPaginator.js +75 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_restJson1.js +812 -1
- package/dist-types/NetworkManager.d.ts +56 -1
- package/dist-types/NetworkManagerClient.d.ts +9 -2
- package/dist-types/commands/CreateTransitGatewayPeeringCommand.d.ts +35 -0
- package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/DeletePeeringCommand.d.ts +35 -0
- package/dist-types/commands/GetCoreNetworkChangeEventsCommand.d.ts +35 -0
- package/dist-types/commands/GetCoreNetworkPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayPeeringCommand.d.ts +35 -0
- package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +35 -0
- package/dist-types/commands/ListOrganizationServiceAccessStatusCommand.d.ts +17 -0
- package/dist-types/commands/ListPeeringsCommand.d.ts +35 -0
- package/dist-types/commands/StartOrganizationServiceAccessUpdateCommand.d.ts +17 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +460 -7
- package/dist-types/pagination/GetCoreNetworkChangeEventsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPeeringsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
- package/dist-types/ts3.4/NetworkManager.d.ts +37 -0
- package/dist-types/ts3.4/NetworkManagerClient.d.ts +9 -2
- package/dist-types/ts3.4/commands/CreateTransitGatewayPeeringCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePeeringCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCoreNetworkChangeEventsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTransitGatewayPeeringCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOrganizationServiceAccessStatusCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListPeeringsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartOrganizationServiceAccessUpdateCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +266 -1
- package/dist-types/ts3.4/pagination/GetCoreNetworkChangeEventsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPeeringsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +21 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-networkmanager
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **client-networkmanager:** This release adds general availability API support for AWS Cloud WAN. ([a02b73f](https://github.com/aws/aws-sdk-js-v3/commit/a02b73f392805801a305324265c920c45f2d66a0))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-networkmanager
|
|
@@ -15,6 +15,8 @@ const CreateGlobalNetworkCommand_1 = require("./commands/CreateGlobalNetworkComm
|
|
|
15
15
|
const CreateLinkCommand_1 = require("./commands/CreateLinkCommand");
|
|
16
16
|
const CreateSiteCommand_1 = require("./commands/CreateSiteCommand");
|
|
17
17
|
const CreateSiteToSiteVpnAttachmentCommand_1 = require("./commands/CreateSiteToSiteVpnAttachmentCommand");
|
|
18
|
+
const CreateTransitGatewayPeeringCommand_1 = require("./commands/CreateTransitGatewayPeeringCommand");
|
|
19
|
+
const CreateTransitGatewayRouteTableAttachmentCommand_1 = require("./commands/CreateTransitGatewayRouteTableAttachmentCommand");
|
|
18
20
|
const CreateVpcAttachmentCommand_1 = require("./commands/CreateVpcAttachmentCommand");
|
|
19
21
|
const DeleteAttachmentCommand_1 = require("./commands/DeleteAttachmentCommand");
|
|
20
22
|
const DeleteConnectionCommand_1 = require("./commands/DeleteConnectionCommand");
|
|
@@ -24,6 +26,7 @@ const DeleteCoreNetworkPolicyVersionCommand_1 = require("./commands/DeleteCoreNe
|
|
|
24
26
|
const DeleteDeviceCommand_1 = require("./commands/DeleteDeviceCommand");
|
|
25
27
|
const DeleteGlobalNetworkCommand_1 = require("./commands/DeleteGlobalNetworkCommand");
|
|
26
28
|
const DeleteLinkCommand_1 = require("./commands/DeleteLinkCommand");
|
|
29
|
+
const DeletePeeringCommand_1 = require("./commands/DeletePeeringCommand");
|
|
27
30
|
const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand");
|
|
28
31
|
const DeleteSiteCommand_1 = require("./commands/DeleteSiteCommand");
|
|
29
32
|
const DeregisterTransitGatewayCommand_1 = require("./commands/DeregisterTransitGatewayCommand");
|
|
@@ -37,6 +40,7 @@ const GetConnectAttachmentCommand_1 = require("./commands/GetConnectAttachmentCo
|
|
|
37
40
|
const GetConnectionsCommand_1 = require("./commands/GetConnectionsCommand");
|
|
38
41
|
const GetConnectPeerAssociationsCommand_1 = require("./commands/GetConnectPeerAssociationsCommand");
|
|
39
42
|
const GetConnectPeerCommand_1 = require("./commands/GetConnectPeerCommand");
|
|
43
|
+
const GetCoreNetworkChangeEventsCommand_1 = require("./commands/GetCoreNetworkChangeEventsCommand");
|
|
40
44
|
const GetCoreNetworkChangeSetCommand_1 = require("./commands/GetCoreNetworkChangeSetCommand");
|
|
41
45
|
const GetCoreNetworkCommand_1 = require("./commands/GetCoreNetworkCommand");
|
|
42
46
|
const GetCoreNetworkPolicyCommand_1 = require("./commands/GetCoreNetworkPolicyCommand");
|
|
@@ -54,13 +58,16 @@ const GetRouteAnalysisCommand_1 = require("./commands/GetRouteAnalysisCommand");
|
|
|
54
58
|
const GetSitesCommand_1 = require("./commands/GetSitesCommand");
|
|
55
59
|
const GetSiteToSiteVpnAttachmentCommand_1 = require("./commands/GetSiteToSiteVpnAttachmentCommand");
|
|
56
60
|
const GetTransitGatewayConnectPeerAssociationsCommand_1 = require("./commands/GetTransitGatewayConnectPeerAssociationsCommand");
|
|
61
|
+
const GetTransitGatewayPeeringCommand_1 = require("./commands/GetTransitGatewayPeeringCommand");
|
|
57
62
|
const GetTransitGatewayRegistrationsCommand_1 = require("./commands/GetTransitGatewayRegistrationsCommand");
|
|
63
|
+
const GetTransitGatewayRouteTableAttachmentCommand_1 = require("./commands/GetTransitGatewayRouteTableAttachmentCommand");
|
|
58
64
|
const GetVpcAttachmentCommand_1 = require("./commands/GetVpcAttachmentCommand");
|
|
59
65
|
const ListAttachmentsCommand_1 = require("./commands/ListAttachmentsCommand");
|
|
60
66
|
const ListConnectPeersCommand_1 = require("./commands/ListConnectPeersCommand");
|
|
61
67
|
const ListCoreNetworkPolicyVersionsCommand_1 = require("./commands/ListCoreNetworkPolicyVersionsCommand");
|
|
62
68
|
const ListCoreNetworksCommand_1 = require("./commands/ListCoreNetworksCommand");
|
|
63
69
|
const ListOrganizationServiceAccessStatusCommand_1 = require("./commands/ListOrganizationServiceAccessStatusCommand");
|
|
70
|
+
const ListPeeringsCommand_1 = require("./commands/ListPeeringsCommand");
|
|
64
71
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
65
72
|
const PutCoreNetworkPolicyCommand_1 = require("./commands/PutCoreNetworkPolicyCommand");
|
|
66
73
|
const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand");
|
|
@@ -277,6 +284,34 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
277
284
|
return this.send(command, optionsOrCb);
|
|
278
285
|
}
|
|
279
286
|
}
|
|
287
|
+
createTransitGatewayPeering(args, optionsOrCb, cb) {
|
|
288
|
+
const command = new CreateTransitGatewayPeeringCommand_1.CreateTransitGatewayPeeringCommand(args);
|
|
289
|
+
if (typeof optionsOrCb === "function") {
|
|
290
|
+
this.send(command, optionsOrCb);
|
|
291
|
+
}
|
|
292
|
+
else if (typeof cb === "function") {
|
|
293
|
+
if (typeof optionsOrCb !== "object")
|
|
294
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
295
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
296
|
+
}
|
|
297
|
+
else {
|
|
298
|
+
return this.send(command, optionsOrCb);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
createTransitGatewayRouteTableAttachment(args, optionsOrCb, cb) {
|
|
302
|
+
const command = new CreateTransitGatewayRouteTableAttachmentCommand_1.CreateTransitGatewayRouteTableAttachmentCommand(args);
|
|
303
|
+
if (typeof optionsOrCb === "function") {
|
|
304
|
+
this.send(command, optionsOrCb);
|
|
305
|
+
}
|
|
306
|
+
else if (typeof cb === "function") {
|
|
307
|
+
if (typeof optionsOrCb !== "object")
|
|
308
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
309
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
return this.send(command, optionsOrCb);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
280
315
|
createVpcAttachment(args, optionsOrCb, cb) {
|
|
281
316
|
const command = new CreateVpcAttachmentCommand_1.CreateVpcAttachmentCommand(args);
|
|
282
317
|
if (typeof optionsOrCb === "function") {
|
|
@@ -403,6 +438,20 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
403
438
|
return this.send(command, optionsOrCb);
|
|
404
439
|
}
|
|
405
440
|
}
|
|
441
|
+
deletePeering(args, optionsOrCb, cb) {
|
|
442
|
+
const command = new DeletePeeringCommand_1.DeletePeeringCommand(args);
|
|
443
|
+
if (typeof optionsOrCb === "function") {
|
|
444
|
+
this.send(command, optionsOrCb);
|
|
445
|
+
}
|
|
446
|
+
else if (typeof cb === "function") {
|
|
447
|
+
if (typeof optionsOrCb !== "object")
|
|
448
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
449
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
450
|
+
}
|
|
451
|
+
else {
|
|
452
|
+
return this.send(command, optionsOrCb);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
406
455
|
deleteResourcePolicy(args, optionsOrCb, cb) {
|
|
407
456
|
const command = new DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand(args);
|
|
408
457
|
if (typeof optionsOrCb === "function") {
|
|
@@ -599,6 +648,20 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
599
648
|
return this.send(command, optionsOrCb);
|
|
600
649
|
}
|
|
601
650
|
}
|
|
651
|
+
getCoreNetworkChangeEvents(args, optionsOrCb, cb) {
|
|
652
|
+
const command = new GetCoreNetworkChangeEventsCommand_1.GetCoreNetworkChangeEventsCommand(args);
|
|
653
|
+
if (typeof optionsOrCb === "function") {
|
|
654
|
+
this.send(command, optionsOrCb);
|
|
655
|
+
}
|
|
656
|
+
else if (typeof cb === "function") {
|
|
657
|
+
if (typeof optionsOrCb !== "object")
|
|
658
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
659
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
660
|
+
}
|
|
661
|
+
else {
|
|
662
|
+
return this.send(command, optionsOrCb);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
602
665
|
getCoreNetworkChangeSet(args, optionsOrCb, cb) {
|
|
603
666
|
const command = new GetCoreNetworkChangeSetCommand_1.GetCoreNetworkChangeSetCommand(args);
|
|
604
667
|
if (typeof optionsOrCb === "function") {
|
|
@@ -823,6 +886,20 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
823
886
|
return this.send(command, optionsOrCb);
|
|
824
887
|
}
|
|
825
888
|
}
|
|
889
|
+
getTransitGatewayPeering(args, optionsOrCb, cb) {
|
|
890
|
+
const command = new GetTransitGatewayPeeringCommand_1.GetTransitGatewayPeeringCommand(args);
|
|
891
|
+
if (typeof optionsOrCb === "function") {
|
|
892
|
+
this.send(command, optionsOrCb);
|
|
893
|
+
}
|
|
894
|
+
else if (typeof cb === "function") {
|
|
895
|
+
if (typeof optionsOrCb !== "object")
|
|
896
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
897
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
898
|
+
}
|
|
899
|
+
else {
|
|
900
|
+
return this.send(command, optionsOrCb);
|
|
901
|
+
}
|
|
902
|
+
}
|
|
826
903
|
getTransitGatewayRegistrations(args, optionsOrCb, cb) {
|
|
827
904
|
const command = new GetTransitGatewayRegistrationsCommand_1.GetTransitGatewayRegistrationsCommand(args);
|
|
828
905
|
if (typeof optionsOrCb === "function") {
|
|
@@ -837,6 +914,20 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
837
914
|
return this.send(command, optionsOrCb);
|
|
838
915
|
}
|
|
839
916
|
}
|
|
917
|
+
getTransitGatewayRouteTableAttachment(args, optionsOrCb, cb) {
|
|
918
|
+
const command = new GetTransitGatewayRouteTableAttachmentCommand_1.GetTransitGatewayRouteTableAttachmentCommand(args);
|
|
919
|
+
if (typeof optionsOrCb === "function") {
|
|
920
|
+
this.send(command, optionsOrCb);
|
|
921
|
+
}
|
|
922
|
+
else if (typeof cb === "function") {
|
|
923
|
+
if (typeof optionsOrCb !== "object")
|
|
924
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
925
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
926
|
+
}
|
|
927
|
+
else {
|
|
928
|
+
return this.send(command, optionsOrCb);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
840
931
|
getVpcAttachment(args, optionsOrCb, cb) {
|
|
841
932
|
const command = new GetVpcAttachmentCommand_1.GetVpcAttachmentCommand(args);
|
|
842
933
|
if (typeof optionsOrCb === "function") {
|
|
@@ -921,6 +1012,20 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
921
1012
|
return this.send(command, optionsOrCb);
|
|
922
1013
|
}
|
|
923
1014
|
}
|
|
1015
|
+
listPeerings(args, optionsOrCb, cb) {
|
|
1016
|
+
const command = new ListPeeringsCommand_1.ListPeeringsCommand(args);
|
|
1017
|
+
if (typeof optionsOrCb === "function") {
|
|
1018
|
+
this.send(command, optionsOrCb);
|
|
1019
|
+
}
|
|
1020
|
+
else if (typeof cb === "function") {
|
|
1021
|
+
if (typeof optionsOrCb !== "object")
|
|
1022
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1023
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1024
|
+
}
|
|
1025
|
+
else {
|
|
1026
|
+
return this.send(command, optionsOrCb);
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
924
1029
|
listTagsForResource(args, optionsOrCb, cb) {
|
|
925
1030
|
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
926
1031
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateTransitGatewayPeeringCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateTransitGatewayPeeringCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "CreateTransitGatewayPeeringCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateTransitGatewayPeeringRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateTransitGatewayPeeringResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateTransitGatewayPeeringCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateTransitGatewayPeeringCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateTransitGatewayPeeringCommand = CreateTransitGatewayPeeringCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateTransitGatewayRouteTableAttachmentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateTransitGatewayRouteTableAttachmentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "CreateTransitGatewayRouteTableAttachmentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateTransitGatewayRouteTableAttachmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateTransitGatewayRouteTableAttachmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateTransitGatewayRouteTableAttachmentCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateTransitGatewayRouteTableAttachmentCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateTransitGatewayRouteTableAttachmentCommand = CreateTransitGatewayRouteTableAttachmentCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeletePeeringCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeletePeeringCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "DeletePeeringCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeletePeeringRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeletePeeringResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeletePeeringCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeletePeeringCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeletePeeringCommand = DeletePeeringCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCoreNetworkChangeEventsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetCoreNetworkChangeEventsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetCoreNetworkChangeEventsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetCoreNetworkChangeEventsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetCoreNetworkChangeEventsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetCoreNetworkChangeEventsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetCoreNetworkChangeEventsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetCoreNetworkChangeEventsCommand = GetCoreNetworkChangeEventsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTransitGatewayPeeringCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetTransitGatewayPeeringCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetTransitGatewayPeeringCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetTransitGatewayPeeringRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetTransitGatewayPeeringResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetTransitGatewayPeeringCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetTransitGatewayPeeringCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetTransitGatewayPeeringCommand = GetTransitGatewayPeeringCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTransitGatewayRouteTableAttachmentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetTransitGatewayRouteTableAttachmentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetTransitGatewayRouteTableAttachmentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetTransitGatewayRouteTableAttachmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetTransitGatewayRouteTableAttachmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetTransitGatewayRouteTableAttachmentCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetTransitGatewayRouteTableAttachmentCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetTransitGatewayRouteTableAttachmentCommand = GetTransitGatewayRouteTableAttachmentCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListPeeringsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListPeeringsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "ListPeeringsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListPeeringsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListPeeringsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListPeeringsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListPeeringsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListPeeringsCommand = ListPeeringsCommand;
|
|
@@ -15,6 +15,8 @@ tslib_1.__exportStar(require("./CreateGlobalNetworkCommand"), exports);
|
|
|
15
15
|
tslib_1.__exportStar(require("./CreateLinkCommand"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./CreateSiteCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./CreateSiteToSiteVpnAttachmentCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./CreateTransitGatewayPeeringCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./CreateTransitGatewayRouteTableAttachmentCommand"), exports);
|
|
18
20
|
tslib_1.__exportStar(require("./CreateVpcAttachmentCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./DeleteAttachmentCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./DeleteConnectPeerCommand"), exports);
|
|
@@ -24,6 +26,7 @@ tslib_1.__exportStar(require("./DeleteCoreNetworkPolicyVersionCommand"), exports
|
|
|
24
26
|
tslib_1.__exportStar(require("./DeleteDeviceCommand"), exports);
|
|
25
27
|
tslib_1.__exportStar(require("./DeleteGlobalNetworkCommand"), exports);
|
|
26
28
|
tslib_1.__exportStar(require("./DeleteLinkCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./DeletePeeringCommand"), exports);
|
|
27
30
|
tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
|
|
28
31
|
tslib_1.__exportStar(require("./DeleteSiteCommand"), exports);
|
|
29
32
|
tslib_1.__exportStar(require("./DeregisterTransitGatewayCommand"), exports);
|
|
@@ -37,6 +40,7 @@ tslib_1.__exportStar(require("./GetConnectAttachmentCommand"), exports);
|
|
|
37
40
|
tslib_1.__exportStar(require("./GetConnectPeerAssociationsCommand"), exports);
|
|
38
41
|
tslib_1.__exportStar(require("./GetConnectPeerCommand"), exports);
|
|
39
42
|
tslib_1.__exportStar(require("./GetConnectionsCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./GetCoreNetworkChangeEventsCommand"), exports);
|
|
40
44
|
tslib_1.__exportStar(require("./GetCoreNetworkChangeSetCommand"), exports);
|
|
41
45
|
tslib_1.__exportStar(require("./GetCoreNetworkCommand"), exports);
|
|
42
46
|
tslib_1.__exportStar(require("./GetCoreNetworkPolicyCommand"), exports);
|
|
@@ -54,13 +58,16 @@ tslib_1.__exportStar(require("./GetRouteAnalysisCommand"), exports);
|
|
|
54
58
|
tslib_1.__exportStar(require("./GetSiteToSiteVpnAttachmentCommand"), exports);
|
|
55
59
|
tslib_1.__exportStar(require("./GetSitesCommand"), exports);
|
|
56
60
|
tslib_1.__exportStar(require("./GetTransitGatewayConnectPeerAssociationsCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./GetTransitGatewayPeeringCommand"), exports);
|
|
57
62
|
tslib_1.__exportStar(require("./GetTransitGatewayRegistrationsCommand"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./GetTransitGatewayRouteTableAttachmentCommand"), exports);
|
|
58
64
|
tslib_1.__exportStar(require("./GetVpcAttachmentCommand"), exports);
|
|
59
65
|
tslib_1.__exportStar(require("./ListAttachmentsCommand"), exports);
|
|
60
66
|
tslib_1.__exportStar(require("./ListConnectPeersCommand"), exports);
|
|
61
67
|
tslib_1.__exportStar(require("./ListCoreNetworkPolicyVersionsCommand"), exports);
|
|
62
68
|
tslib_1.__exportStar(require("./ListCoreNetworksCommand"), exports);
|
|
63
69
|
tslib_1.__exportStar(require("./ListOrganizationServiceAccessStatusCommand"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./ListPeeringsCommand"), exports);
|
|
64
71
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
65
72
|
tslib_1.__exportStar(require("./PutCoreNetworkPolicyCommand"), exports);
|
|
66
73
|
tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
|