@aws-sdk/client-networkmanager 3.118.1 → 3.128.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 +1221 -659
- 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 +1395 -655
- 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 +26 -26
|
@@ -13,6 +13,8 @@ import { CreateGlobalNetworkCommand, } from "./commands/CreateGlobalNetworkComma
|
|
|
13
13
|
import { CreateLinkCommand } from "./commands/CreateLinkCommand";
|
|
14
14
|
import { CreateSiteCommand } from "./commands/CreateSiteCommand";
|
|
15
15
|
import { CreateSiteToSiteVpnAttachmentCommand, } from "./commands/CreateSiteToSiteVpnAttachmentCommand";
|
|
16
|
+
import { CreateTransitGatewayPeeringCommand, } from "./commands/CreateTransitGatewayPeeringCommand";
|
|
17
|
+
import { CreateTransitGatewayRouteTableAttachmentCommand, } from "./commands/CreateTransitGatewayRouteTableAttachmentCommand";
|
|
16
18
|
import { CreateVpcAttachmentCommand, } from "./commands/CreateVpcAttachmentCommand";
|
|
17
19
|
import { DeleteAttachmentCommand, } from "./commands/DeleteAttachmentCommand";
|
|
18
20
|
import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
|
|
@@ -22,6 +24,7 @@ import { DeleteCoreNetworkPolicyVersionCommand, } from "./commands/DeleteCoreNet
|
|
|
22
24
|
import { DeleteDeviceCommand, } from "./commands/DeleteDeviceCommand";
|
|
23
25
|
import { DeleteGlobalNetworkCommand, } from "./commands/DeleteGlobalNetworkCommand";
|
|
24
26
|
import { DeleteLinkCommand } from "./commands/DeleteLinkCommand";
|
|
27
|
+
import { DeletePeeringCommand, } from "./commands/DeletePeeringCommand";
|
|
25
28
|
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
26
29
|
import { DeleteSiteCommand } from "./commands/DeleteSiteCommand";
|
|
27
30
|
import { DeregisterTransitGatewayCommand, } from "./commands/DeregisterTransitGatewayCommand";
|
|
@@ -35,6 +38,7 @@ import { GetConnectAttachmentCommand, } from "./commands/GetConnectAttachmentCom
|
|
|
35
38
|
import { GetConnectionsCommand, } from "./commands/GetConnectionsCommand";
|
|
36
39
|
import { GetConnectPeerAssociationsCommand, } from "./commands/GetConnectPeerAssociationsCommand";
|
|
37
40
|
import { GetConnectPeerCommand, } from "./commands/GetConnectPeerCommand";
|
|
41
|
+
import { GetCoreNetworkChangeEventsCommand, } from "./commands/GetCoreNetworkChangeEventsCommand";
|
|
38
42
|
import { GetCoreNetworkChangeSetCommand, } from "./commands/GetCoreNetworkChangeSetCommand";
|
|
39
43
|
import { GetCoreNetworkCommand, } from "./commands/GetCoreNetworkCommand";
|
|
40
44
|
import { GetCoreNetworkPolicyCommand, } from "./commands/GetCoreNetworkPolicyCommand";
|
|
@@ -52,13 +56,16 @@ import { GetRouteAnalysisCommand, } from "./commands/GetRouteAnalysisCommand";
|
|
|
52
56
|
import { GetSitesCommand } from "./commands/GetSitesCommand";
|
|
53
57
|
import { GetSiteToSiteVpnAttachmentCommand, } from "./commands/GetSiteToSiteVpnAttachmentCommand";
|
|
54
58
|
import { GetTransitGatewayConnectPeerAssociationsCommand, } from "./commands/GetTransitGatewayConnectPeerAssociationsCommand";
|
|
59
|
+
import { GetTransitGatewayPeeringCommand, } from "./commands/GetTransitGatewayPeeringCommand";
|
|
55
60
|
import { GetTransitGatewayRegistrationsCommand, } from "./commands/GetTransitGatewayRegistrationsCommand";
|
|
61
|
+
import { GetTransitGatewayRouteTableAttachmentCommand, } from "./commands/GetTransitGatewayRouteTableAttachmentCommand";
|
|
56
62
|
import { GetVpcAttachmentCommand, } from "./commands/GetVpcAttachmentCommand";
|
|
57
63
|
import { ListAttachmentsCommand, } from "./commands/ListAttachmentsCommand";
|
|
58
64
|
import { ListConnectPeersCommand, } from "./commands/ListConnectPeersCommand";
|
|
59
65
|
import { ListCoreNetworkPolicyVersionsCommand, } from "./commands/ListCoreNetworkPolicyVersionsCommand";
|
|
60
66
|
import { ListCoreNetworksCommand, } from "./commands/ListCoreNetworksCommand";
|
|
61
67
|
import { ListOrganizationServiceAccessStatusCommand, } from "./commands/ListOrganizationServiceAccessStatusCommand";
|
|
68
|
+
import { ListPeeringsCommand, } from "./commands/ListPeeringsCommand";
|
|
62
69
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
63
70
|
import { PutCoreNetworkPolicyCommand, } from "./commands/PutCoreNetworkPolicyCommand";
|
|
64
71
|
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
@@ -279,6 +286,34 @@ var NetworkManager = (function (_super) {
|
|
|
279
286
|
return this.send(command, optionsOrCb);
|
|
280
287
|
}
|
|
281
288
|
};
|
|
289
|
+
NetworkManager.prototype.createTransitGatewayPeering = function (args, optionsOrCb, cb) {
|
|
290
|
+
var command = new CreateTransitGatewayPeeringCommand(args);
|
|
291
|
+
if (typeof optionsOrCb === "function") {
|
|
292
|
+
this.send(command, optionsOrCb);
|
|
293
|
+
}
|
|
294
|
+
else if (typeof cb === "function") {
|
|
295
|
+
if (typeof optionsOrCb !== "object")
|
|
296
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
297
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
298
|
+
}
|
|
299
|
+
else {
|
|
300
|
+
return this.send(command, optionsOrCb);
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
NetworkManager.prototype.createTransitGatewayRouteTableAttachment = function (args, optionsOrCb, cb) {
|
|
304
|
+
var command = new CreateTransitGatewayRouteTableAttachmentCommand(args);
|
|
305
|
+
if (typeof optionsOrCb === "function") {
|
|
306
|
+
this.send(command, optionsOrCb);
|
|
307
|
+
}
|
|
308
|
+
else if (typeof cb === "function") {
|
|
309
|
+
if (typeof optionsOrCb !== "object")
|
|
310
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
311
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
312
|
+
}
|
|
313
|
+
else {
|
|
314
|
+
return this.send(command, optionsOrCb);
|
|
315
|
+
}
|
|
316
|
+
};
|
|
282
317
|
NetworkManager.prototype.createVpcAttachment = function (args, optionsOrCb, cb) {
|
|
283
318
|
var command = new CreateVpcAttachmentCommand(args);
|
|
284
319
|
if (typeof optionsOrCb === "function") {
|
|
@@ -405,6 +440,20 @@ var NetworkManager = (function (_super) {
|
|
|
405
440
|
return this.send(command, optionsOrCb);
|
|
406
441
|
}
|
|
407
442
|
};
|
|
443
|
+
NetworkManager.prototype.deletePeering = function (args, optionsOrCb, cb) {
|
|
444
|
+
var command = new DeletePeeringCommand(args);
|
|
445
|
+
if (typeof optionsOrCb === "function") {
|
|
446
|
+
this.send(command, optionsOrCb);
|
|
447
|
+
}
|
|
448
|
+
else if (typeof cb === "function") {
|
|
449
|
+
if (typeof optionsOrCb !== "object")
|
|
450
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
451
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
452
|
+
}
|
|
453
|
+
else {
|
|
454
|
+
return this.send(command, optionsOrCb);
|
|
455
|
+
}
|
|
456
|
+
};
|
|
408
457
|
NetworkManager.prototype.deleteResourcePolicy = function (args, optionsOrCb, cb) {
|
|
409
458
|
var command = new DeleteResourcePolicyCommand(args);
|
|
410
459
|
if (typeof optionsOrCb === "function") {
|
|
@@ -601,6 +650,20 @@ var NetworkManager = (function (_super) {
|
|
|
601
650
|
return this.send(command, optionsOrCb);
|
|
602
651
|
}
|
|
603
652
|
};
|
|
653
|
+
NetworkManager.prototype.getCoreNetworkChangeEvents = function (args, optionsOrCb, cb) {
|
|
654
|
+
var command = new GetCoreNetworkChangeEventsCommand(args);
|
|
655
|
+
if (typeof optionsOrCb === "function") {
|
|
656
|
+
this.send(command, optionsOrCb);
|
|
657
|
+
}
|
|
658
|
+
else if (typeof cb === "function") {
|
|
659
|
+
if (typeof optionsOrCb !== "object")
|
|
660
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
661
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
662
|
+
}
|
|
663
|
+
else {
|
|
664
|
+
return this.send(command, optionsOrCb);
|
|
665
|
+
}
|
|
666
|
+
};
|
|
604
667
|
NetworkManager.prototype.getCoreNetworkChangeSet = function (args, optionsOrCb, cb) {
|
|
605
668
|
var command = new GetCoreNetworkChangeSetCommand(args);
|
|
606
669
|
if (typeof optionsOrCb === "function") {
|
|
@@ -825,6 +888,20 @@ var NetworkManager = (function (_super) {
|
|
|
825
888
|
return this.send(command, optionsOrCb);
|
|
826
889
|
}
|
|
827
890
|
};
|
|
891
|
+
NetworkManager.prototype.getTransitGatewayPeering = function (args, optionsOrCb, cb) {
|
|
892
|
+
var command = new GetTransitGatewayPeeringCommand(args);
|
|
893
|
+
if (typeof optionsOrCb === "function") {
|
|
894
|
+
this.send(command, optionsOrCb);
|
|
895
|
+
}
|
|
896
|
+
else if (typeof cb === "function") {
|
|
897
|
+
if (typeof optionsOrCb !== "object")
|
|
898
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
899
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
900
|
+
}
|
|
901
|
+
else {
|
|
902
|
+
return this.send(command, optionsOrCb);
|
|
903
|
+
}
|
|
904
|
+
};
|
|
828
905
|
NetworkManager.prototype.getTransitGatewayRegistrations = function (args, optionsOrCb, cb) {
|
|
829
906
|
var command = new GetTransitGatewayRegistrationsCommand(args);
|
|
830
907
|
if (typeof optionsOrCb === "function") {
|
|
@@ -839,6 +916,20 @@ var NetworkManager = (function (_super) {
|
|
|
839
916
|
return this.send(command, optionsOrCb);
|
|
840
917
|
}
|
|
841
918
|
};
|
|
919
|
+
NetworkManager.prototype.getTransitGatewayRouteTableAttachment = function (args, optionsOrCb, cb) {
|
|
920
|
+
var command = new GetTransitGatewayRouteTableAttachmentCommand(args);
|
|
921
|
+
if (typeof optionsOrCb === "function") {
|
|
922
|
+
this.send(command, optionsOrCb);
|
|
923
|
+
}
|
|
924
|
+
else if (typeof cb === "function") {
|
|
925
|
+
if (typeof optionsOrCb !== "object")
|
|
926
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
927
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
928
|
+
}
|
|
929
|
+
else {
|
|
930
|
+
return this.send(command, optionsOrCb);
|
|
931
|
+
}
|
|
932
|
+
};
|
|
842
933
|
NetworkManager.prototype.getVpcAttachment = function (args, optionsOrCb, cb) {
|
|
843
934
|
var command = new GetVpcAttachmentCommand(args);
|
|
844
935
|
if (typeof optionsOrCb === "function") {
|
|
@@ -923,6 +1014,20 @@ var NetworkManager = (function (_super) {
|
|
|
923
1014
|
return this.send(command, optionsOrCb);
|
|
924
1015
|
}
|
|
925
1016
|
};
|
|
1017
|
+
NetworkManager.prototype.listPeerings = function (args, optionsOrCb, cb) {
|
|
1018
|
+
var command = new ListPeeringsCommand(args);
|
|
1019
|
+
if (typeof optionsOrCb === "function") {
|
|
1020
|
+
this.send(command, optionsOrCb);
|
|
1021
|
+
}
|
|
1022
|
+
else if (typeof cb === "function") {
|
|
1023
|
+
if (typeof optionsOrCb !== "object")
|
|
1024
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1025
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1026
|
+
}
|
|
1027
|
+
else {
|
|
1028
|
+
return this.send(command, optionsOrCb);
|
|
1029
|
+
}
|
|
1030
|
+
};
|
|
926
1031
|
NetworkManager.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
927
1032
|
var command = new ListTagsForResourceCommand(args);
|
|
928
1033
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateTransitGatewayPeeringRequest, CreateTransitGatewayPeeringResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateTransitGatewayPeeringCommand, serializeAws_restJson1CreateTransitGatewayPeeringCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateTransitGatewayPeeringCommand = (function (_super) {
|
|
7
|
+
__extends(CreateTransitGatewayPeeringCommand, _super);
|
|
8
|
+
function CreateTransitGatewayPeeringCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateTransitGatewayPeeringCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "CreateTransitGatewayPeeringCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateTransitGatewayPeeringRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateTransitGatewayPeeringResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateTransitGatewayPeeringCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateTransitGatewayPeeringCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateTransitGatewayPeeringCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateTransitGatewayPeeringCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateTransitGatewayPeeringCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateTransitGatewayPeeringCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateTransitGatewayRouteTableAttachmentRequest, CreateTransitGatewayRouteTableAttachmentResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateTransitGatewayRouteTableAttachmentCommand, serializeAws_restJson1CreateTransitGatewayRouteTableAttachmentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateTransitGatewayRouteTableAttachmentCommand = (function (_super) {
|
|
7
|
+
__extends(CreateTransitGatewayRouteTableAttachmentCommand, _super);
|
|
8
|
+
function CreateTransitGatewayRouteTableAttachmentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateTransitGatewayRouteTableAttachmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "CreateTransitGatewayRouteTableAttachmentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateTransitGatewayRouteTableAttachmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateTransitGatewayRouteTableAttachmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateTransitGatewayRouteTableAttachmentCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateTransitGatewayRouteTableAttachmentCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateTransitGatewayRouteTableAttachmentCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateTransitGatewayRouteTableAttachmentCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateTransitGatewayRouteTableAttachmentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateTransitGatewayRouteTableAttachmentCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeletePeeringRequest, DeletePeeringResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeletePeeringCommand, serializeAws_restJson1DeletePeeringCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeletePeeringCommand = (function (_super) {
|
|
7
|
+
__extends(DeletePeeringCommand, _super);
|
|
8
|
+
function DeletePeeringCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeletePeeringCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "DeletePeeringCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeletePeeringRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeletePeeringResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeletePeeringCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeletePeeringCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeletePeeringCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeletePeeringCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeletePeeringCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeletePeeringCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetCoreNetworkChangeEventsRequest, GetCoreNetworkChangeEventsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetCoreNetworkChangeEventsCommand, serializeAws_restJson1GetCoreNetworkChangeEventsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetCoreNetworkChangeEventsCommand = (function (_super) {
|
|
7
|
+
__extends(GetCoreNetworkChangeEventsCommand, _super);
|
|
8
|
+
function GetCoreNetworkChangeEventsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetCoreNetworkChangeEventsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "GetCoreNetworkChangeEventsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetCoreNetworkChangeEventsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetCoreNetworkChangeEventsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetCoreNetworkChangeEventsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetCoreNetworkChangeEventsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetCoreNetworkChangeEventsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetCoreNetworkChangeEventsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetCoreNetworkChangeEventsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetCoreNetworkChangeEventsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetTransitGatewayPeeringRequest, GetTransitGatewayPeeringResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetTransitGatewayPeeringCommand, serializeAws_restJson1GetTransitGatewayPeeringCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetTransitGatewayPeeringCommand = (function (_super) {
|
|
7
|
+
__extends(GetTransitGatewayPeeringCommand, _super);
|
|
8
|
+
function GetTransitGatewayPeeringCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetTransitGatewayPeeringCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "GetTransitGatewayPeeringCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetTransitGatewayPeeringRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetTransitGatewayPeeringResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetTransitGatewayPeeringCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetTransitGatewayPeeringCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetTransitGatewayPeeringCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetTransitGatewayPeeringCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetTransitGatewayPeeringCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTransitGatewayPeeringCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetTransitGatewayRouteTableAttachmentRequest, GetTransitGatewayRouteTableAttachmentResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetTransitGatewayRouteTableAttachmentCommand, serializeAws_restJson1GetTransitGatewayRouteTableAttachmentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetTransitGatewayRouteTableAttachmentCommand = (function (_super) {
|
|
7
|
+
__extends(GetTransitGatewayRouteTableAttachmentCommand, _super);
|
|
8
|
+
function GetTransitGatewayRouteTableAttachmentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetTransitGatewayRouteTableAttachmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "GetTransitGatewayRouteTableAttachmentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetTransitGatewayRouteTableAttachmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetTransitGatewayRouteTableAttachmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetTransitGatewayRouteTableAttachmentCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetTransitGatewayRouteTableAttachmentCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetTransitGatewayRouteTableAttachmentCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetTransitGatewayRouteTableAttachmentCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetTransitGatewayRouteTableAttachmentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTransitGatewayRouteTableAttachmentCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListPeeringsRequest, ListPeeringsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListPeeringsCommand, serializeAws_restJson1ListPeeringsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListPeeringsCommand = (function (_super) {
|
|
7
|
+
__extends(ListPeeringsCommand, _super);
|
|
8
|
+
function ListPeeringsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListPeeringsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "ListPeeringsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListPeeringsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListPeeringsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPeeringsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListPeeringsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListPeeringsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListPeeringsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListPeeringsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPeeringsCommand };
|
|
@@ -12,6 +12,8 @@ export * from "./CreateGlobalNetworkCommand";
|
|
|
12
12
|
export * from "./CreateLinkCommand";
|
|
13
13
|
export * from "./CreateSiteCommand";
|
|
14
14
|
export * from "./CreateSiteToSiteVpnAttachmentCommand";
|
|
15
|
+
export * from "./CreateTransitGatewayPeeringCommand";
|
|
16
|
+
export * from "./CreateTransitGatewayRouteTableAttachmentCommand";
|
|
15
17
|
export * from "./CreateVpcAttachmentCommand";
|
|
16
18
|
export * from "./DeleteAttachmentCommand";
|
|
17
19
|
export * from "./DeleteConnectPeerCommand";
|
|
@@ -21,6 +23,7 @@ export * from "./DeleteCoreNetworkPolicyVersionCommand";
|
|
|
21
23
|
export * from "./DeleteDeviceCommand";
|
|
22
24
|
export * from "./DeleteGlobalNetworkCommand";
|
|
23
25
|
export * from "./DeleteLinkCommand";
|
|
26
|
+
export * from "./DeletePeeringCommand";
|
|
24
27
|
export * from "./DeleteResourcePolicyCommand";
|
|
25
28
|
export * from "./DeleteSiteCommand";
|
|
26
29
|
export * from "./DeregisterTransitGatewayCommand";
|
|
@@ -34,6 +37,7 @@ export * from "./GetConnectAttachmentCommand";
|
|
|
34
37
|
export * from "./GetConnectPeerAssociationsCommand";
|
|
35
38
|
export * from "./GetConnectPeerCommand";
|
|
36
39
|
export * from "./GetConnectionsCommand";
|
|
40
|
+
export * from "./GetCoreNetworkChangeEventsCommand";
|
|
37
41
|
export * from "./GetCoreNetworkChangeSetCommand";
|
|
38
42
|
export * from "./GetCoreNetworkCommand";
|
|
39
43
|
export * from "./GetCoreNetworkPolicyCommand";
|
|
@@ -51,13 +55,16 @@ export * from "./GetRouteAnalysisCommand";
|
|
|
51
55
|
export * from "./GetSiteToSiteVpnAttachmentCommand";
|
|
52
56
|
export * from "./GetSitesCommand";
|
|
53
57
|
export * from "./GetTransitGatewayConnectPeerAssociationsCommand";
|
|
58
|
+
export * from "./GetTransitGatewayPeeringCommand";
|
|
54
59
|
export * from "./GetTransitGatewayRegistrationsCommand";
|
|
60
|
+
export * from "./GetTransitGatewayRouteTableAttachmentCommand";
|
|
55
61
|
export * from "./GetVpcAttachmentCommand";
|
|
56
62
|
export * from "./ListAttachmentsCommand";
|
|
57
63
|
export * from "./ListConnectPeersCommand";
|
|
58
64
|
export * from "./ListCoreNetworkPolicyVersionsCommand";
|
|
59
65
|
export * from "./ListCoreNetworksCommand";
|
|
60
66
|
export * from "./ListOrganizationServiceAccessStatusCommand";
|
|
67
|
+
export * from "./ListPeeringsCommand";
|
|
61
68
|
export * from "./ListTagsForResourceCommand";
|
|
62
69
|
export * from "./PutCoreNetworkPolicyCommand";
|
|
63
70
|
export * from "./PutResourcePolicyCommand";
|