@@ -63,6 +63,16 @@ import {
63
63
CreateSiteToSiteVpnAttachmentCommandInput ,
64
64
CreateSiteToSiteVpnAttachmentCommandOutput ,
65
65
} from "./commands/CreateSiteToSiteVpnAttachmentCommand" ;
66
+ import {
67
+ CreateTransitGatewayPeeringCommand ,
68
+ CreateTransitGatewayPeeringCommandInput ,
69
+ CreateTransitGatewayPeeringCommandOutput ,
70
+ } from "./commands/CreateTransitGatewayPeeringCommand" ;
71
+ import {
72
+ CreateTransitGatewayRouteTableAttachmentCommand ,
73
+ CreateTransitGatewayRouteTableAttachmentCommandInput ,
74
+ CreateTransitGatewayRouteTableAttachmentCommandOutput ,
75
+ } from "./commands/CreateTransitGatewayRouteTableAttachmentCommand" ;
66
76
import {
67
77
CreateVpcAttachmentCommand ,
68
78
CreateVpcAttachmentCommandInput ,
@@ -104,6 +114,11 @@ import {
104
114
DeleteGlobalNetworkCommandOutput ,
105
115
} from "./commands/DeleteGlobalNetworkCommand" ;
106
116
import { DeleteLinkCommand , DeleteLinkCommandInput , DeleteLinkCommandOutput } from "./commands/DeleteLinkCommand" ;
117
+ import {
118
+ DeletePeeringCommand ,
119
+ DeletePeeringCommandInput ,
120
+ DeletePeeringCommandOutput ,
121
+ } from "./commands/DeletePeeringCommand" ;
107
122
import {
108
123
DeleteResourcePolicyCommand ,
109
124
DeleteResourcePolicyCommandInput ,
@@ -165,6 +180,11 @@ import {
165
180
GetConnectPeerCommandInput ,
166
181
GetConnectPeerCommandOutput ,
167
182
} from "./commands/GetConnectPeerCommand" ;
183
+ import {
184
+ GetCoreNetworkChangeEventsCommand ,
185
+ GetCoreNetworkChangeEventsCommandInput ,
186
+ GetCoreNetworkChangeEventsCommandOutput ,
187
+ } from "./commands/GetCoreNetworkChangeEventsCommand" ;
168
188
import {
169
189
GetCoreNetworkChangeSetCommand ,
170
190
GetCoreNetworkChangeSetCommandInput ,
@@ -238,11 +258,21 @@ import {
238
258
GetTransitGatewayConnectPeerAssociationsCommandInput ,
239
259
GetTransitGatewayConnectPeerAssociationsCommandOutput ,
240
260
} from "./commands/GetTransitGatewayConnectPeerAssociationsCommand" ;
261
+ import {
262
+ GetTransitGatewayPeeringCommand ,
263
+ GetTransitGatewayPeeringCommandInput ,
264
+ GetTransitGatewayPeeringCommandOutput ,
265
+ } from "./commands/GetTransitGatewayPeeringCommand" ;
241
266
import {
242
267
GetTransitGatewayRegistrationsCommand ,
243
268
GetTransitGatewayRegistrationsCommandInput ,
244
269
GetTransitGatewayRegistrationsCommandOutput ,
245
270
} from "./commands/GetTransitGatewayRegistrationsCommand" ;
271
+ import {
272
+ GetTransitGatewayRouteTableAttachmentCommand ,
273
+ GetTransitGatewayRouteTableAttachmentCommandInput ,
274
+ GetTransitGatewayRouteTableAttachmentCommandOutput ,
275
+ } from "./commands/GetTransitGatewayRouteTableAttachmentCommand" ;
246
276
import {
247
277
GetVpcAttachmentCommand ,
248
278
GetVpcAttachmentCommandInput ,
@@ -273,6 +303,11 @@ import {
273
303
ListOrganizationServiceAccessStatusCommandInput ,
274
304
ListOrganizationServiceAccessStatusCommandOutput ,
275
305
} from "./commands/ListOrganizationServiceAccessStatusCommand" ;
306
+ import {
307
+ ListPeeringsCommand ,
308
+ ListPeeringsCommandInput ,
309
+ ListPeeringsCommandOutput ,
310
+ } from "./commands/ListPeeringsCommand" ;
276
311
import {
277
312
ListTagsForResourceCommand ,
278
313
ListTagsForResourceCommandInput ,
@@ -812,6 +847,72 @@ export class NetworkManager extends NetworkManagerClient {
812
847
}
813
848
}
814
849
850
+ /**
851
+ * <p>Creates a transit gateway peering connection.</p>
852
+ */
853
+ public createTransitGatewayPeering (
854
+ args : CreateTransitGatewayPeeringCommandInput ,
855
+ options ?: __HttpHandlerOptions
856
+ ) : Promise < CreateTransitGatewayPeeringCommandOutput > ;
857
+ public createTransitGatewayPeering (
858
+ args : CreateTransitGatewayPeeringCommandInput ,
859
+ cb : ( err : any , data ?: CreateTransitGatewayPeeringCommandOutput ) => void
860
+ ) : void ;
861
+ public createTransitGatewayPeering (
862
+ args : CreateTransitGatewayPeeringCommandInput ,
863
+ options : __HttpHandlerOptions ,
864
+ cb : ( err : any , data ?: CreateTransitGatewayPeeringCommandOutput ) => void
865
+ ) : void ;
866
+ public createTransitGatewayPeering (
867
+ args : CreateTransitGatewayPeeringCommandInput ,
868
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: CreateTransitGatewayPeeringCommandOutput ) => void ) ,
869
+ cb ?: ( err : any , data ?: CreateTransitGatewayPeeringCommandOutput ) => void
870
+ ) : Promise < CreateTransitGatewayPeeringCommandOutput > | void {
871
+ const command = new CreateTransitGatewayPeeringCommand ( args ) ;
872
+ if ( typeof optionsOrCb === "function" ) {
873
+ this . send ( command , optionsOrCb ) ;
874
+ } else if ( typeof cb === "function" ) {
875
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
876
+ this . send ( command , optionsOrCb || { } , cb ) ;
877
+ } else {
878
+ return this . send ( command , optionsOrCb ) ;
879
+ }
880
+ }
881
+
882
+ /**
883
+ * <p>Creates a transit gateway route table attachment.</p>
884
+ */
885
+ public createTransitGatewayRouteTableAttachment (
886
+ args : CreateTransitGatewayRouteTableAttachmentCommandInput ,
887
+ options ?: __HttpHandlerOptions
888
+ ) : Promise < CreateTransitGatewayRouteTableAttachmentCommandOutput > ;
889
+ public createTransitGatewayRouteTableAttachment (
890
+ args : CreateTransitGatewayRouteTableAttachmentCommandInput ,
891
+ cb : ( err : any , data ?: CreateTransitGatewayRouteTableAttachmentCommandOutput ) => void
892
+ ) : void ;
893
+ public createTransitGatewayRouteTableAttachment (
894
+ args : CreateTransitGatewayRouteTableAttachmentCommandInput ,
895
+ options : __HttpHandlerOptions ,
896
+ cb : ( err : any , data ?: CreateTransitGatewayRouteTableAttachmentCommandOutput ) => void
897
+ ) : void ;
898
+ public createTransitGatewayRouteTableAttachment (
899
+ args : CreateTransitGatewayRouteTableAttachmentCommandInput ,
900
+ optionsOrCb ?:
901
+ | __HttpHandlerOptions
902
+ | ( ( err : any , data ?: CreateTransitGatewayRouteTableAttachmentCommandOutput ) => void ) ,
903
+ cb ?: ( err : any , data ?: CreateTransitGatewayRouteTableAttachmentCommandOutput ) => void
904
+ ) : Promise < CreateTransitGatewayRouteTableAttachmentCommandOutput > | void {
905
+ const command = new CreateTransitGatewayRouteTableAttachmentCommand ( args ) ;
906
+ if ( typeof optionsOrCb === "function" ) {
907
+ this . send ( command , optionsOrCb ) ;
908
+ } else if ( typeof cb === "function" ) {
909
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
910
+ this . send ( command , optionsOrCb || { } , cb ) ;
911
+ } else {
912
+ return this . send ( command , optionsOrCb ) ;
913
+ }
914
+ }
915
+
815
916
/**
816
917
* <p>Creates a VPC attachment on an edge location of a core network.</p>
817
918
*/
@@ -1094,6 +1195,38 @@ export class NetworkManager extends NetworkManagerClient {
1094
1195
}
1095
1196
}
1096
1197
1198
+ /**
1199
+ * <p>Deletes an existing peering connection.</p>
1200
+ */
1201
+ public deletePeering (
1202
+ args : DeletePeeringCommandInput ,
1203
+ options ?: __HttpHandlerOptions
1204
+ ) : Promise < DeletePeeringCommandOutput > ;
1205
+ public deletePeering (
1206
+ args : DeletePeeringCommandInput ,
1207
+ cb : ( err : any , data ?: DeletePeeringCommandOutput ) => void
1208
+ ) : void ;
1209
+ public deletePeering (
1210
+ args : DeletePeeringCommandInput ,
1211
+ options : __HttpHandlerOptions ,
1212
+ cb : ( err : any , data ?: DeletePeeringCommandOutput ) => void
1213
+ ) : void ;
1214
+ public deletePeering (
1215
+ args : DeletePeeringCommandInput ,
1216
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: DeletePeeringCommandOutput ) => void ) ,
1217
+ cb ?: ( err : any , data ?: DeletePeeringCommandOutput ) => void
1218
+ ) : Promise < DeletePeeringCommandOutput > | void {
1219
+ const command = new DeletePeeringCommand ( args ) ;
1220
+ if ( typeof optionsOrCb === "function" ) {
1221
+ this . send ( command , optionsOrCb ) ;
1222
+ } else if ( typeof cb === "function" ) {
1223
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1224
+ this . send ( command , optionsOrCb || { } , cb ) ;
1225
+ } else {
1226
+ return this . send ( command , optionsOrCb ) ;
1227
+ }
1228
+ }
1229
+
1097
1230
/**
1098
1231
* <p>Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.</p>
1099
1232
*/
@@ -1543,6 +1676,38 @@ export class NetworkManager extends NetworkManagerClient {
1543
1676
}
1544
1677
}
1545
1678
1679
+ /**
1680
+ * <p>Returns information about a core network change event.</p>
1681
+ */
1682
+ public getCoreNetworkChangeEvents (
1683
+ args : GetCoreNetworkChangeEventsCommandInput ,
1684
+ options ?: __HttpHandlerOptions
1685
+ ) : Promise < GetCoreNetworkChangeEventsCommandOutput > ;
1686
+ public getCoreNetworkChangeEvents (
1687
+ args : GetCoreNetworkChangeEventsCommandInput ,
1688
+ cb : ( err : any , data ?: GetCoreNetworkChangeEventsCommandOutput ) => void
1689
+ ) : void ;
1690
+ public getCoreNetworkChangeEvents (
1691
+ args : GetCoreNetworkChangeEventsCommandInput ,
1692
+ options : __HttpHandlerOptions ,
1693
+ cb : ( err : any , data ?: GetCoreNetworkChangeEventsCommandOutput ) => void
1694
+ ) : void ;
1695
+ public getCoreNetworkChangeEvents (
1696
+ args : GetCoreNetworkChangeEventsCommandInput ,
1697
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetCoreNetworkChangeEventsCommandOutput ) => void ) ,
1698
+ cb ?: ( err : any , data ?: GetCoreNetworkChangeEventsCommandOutput ) => void
1699
+ ) : Promise < GetCoreNetworkChangeEventsCommandOutput > | void {
1700
+ const command = new GetCoreNetworkChangeEventsCommand ( args ) ;
1701
+ if ( typeof optionsOrCb === "function" ) {
1702
+ this . send ( command , optionsOrCb ) ;
1703
+ } else if ( typeof cb === "function" ) {
1704
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1705
+ this . send ( command , optionsOrCb || { } , cb ) ;
1706
+ } else {
1707
+ return this . send ( command , optionsOrCb ) ;
1708
+ }
1709
+ }
1710
+
1546
1711
/**
1547
1712
* <p>Returns a change set between the LIVE core network policy and a submitted policy.</p>
1548
1713
*/
@@ -1576,7 +1741,7 @@ export class NetworkManager extends NetworkManagerClient {
1576
1741
}
1577
1742
1578
1743
/**
1579
- * <p>Gets details about a core network policy. You can get details about your current live policy or any previous policy version.</p>
1744
+ * <p>Returns details about a core network policy. You can get details about your current live policy or any previous policy version.</p>
1580
1745
*/
1581
1746
public getCoreNetworkPolicy (
1582
1747
args : GetCoreNetworkPolicyCommandInput ,
@@ -2043,6 +2208,38 @@ export class NetworkManager extends NetworkManagerClient {
2043
2208
}
2044
2209
}
2045
2210
2211
+ /**
2212
+ * <p>Returns information about a transit gateway peer.</p>
2213
+ */
2214
+ public getTransitGatewayPeering (
2215
+ args : GetTransitGatewayPeeringCommandInput ,
2216
+ options ?: __HttpHandlerOptions
2217
+ ) : Promise < GetTransitGatewayPeeringCommandOutput > ;
2218
+ public getTransitGatewayPeering (
2219
+ args : GetTransitGatewayPeeringCommandInput ,
2220
+ cb : ( err : any , data ?: GetTransitGatewayPeeringCommandOutput ) => void
2221
+ ) : void ;
2222
+ public getTransitGatewayPeering (
2223
+ args : GetTransitGatewayPeeringCommandInput ,
2224
+ options : __HttpHandlerOptions ,
2225
+ cb : ( err : any , data ?: GetTransitGatewayPeeringCommandOutput ) => void
2226
+ ) : void ;
2227
+ public getTransitGatewayPeering (
2228
+ args : GetTransitGatewayPeeringCommandInput ,
2229
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetTransitGatewayPeeringCommandOutput ) => void ) ,
2230
+ cb ?: ( err : any , data ?: GetTransitGatewayPeeringCommandOutput ) => void
2231
+ ) : Promise < GetTransitGatewayPeeringCommandOutput > | void {
2232
+ const command = new GetTransitGatewayPeeringCommand ( args ) ;
2233
+ if ( typeof optionsOrCb === "function" ) {
2234
+ this . send ( command , optionsOrCb ) ;
2235
+ } else if ( typeof cb === "function" ) {
2236
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
2237
+ this . send ( command , optionsOrCb || { } , cb ) ;
2238
+ } else {
2239
+ return this . send ( command , optionsOrCb ) ;
2240
+ }
2241
+ }
2242
+
2046
2243
/**
2047
2244
* <p>Gets information about the transit gateway registrations in a specified
2048
2245
* global network.</p>
@@ -2076,6 +2273,40 @@ export class NetworkManager extends NetworkManagerClient {
2076
2273
}
2077
2274
}
2078
2275
2276
+ /**
2277
+ * <p>Returns information about a transit gateway route table attachment.</p>
2278
+ */
2279
+ public getTransitGatewayRouteTableAttachment (
2280
+ args : GetTransitGatewayRouteTableAttachmentCommandInput ,
2281
+ options ?: __HttpHandlerOptions
2282
+ ) : Promise < GetTransitGatewayRouteTableAttachmentCommandOutput > ;
2283
+ public getTransitGatewayRouteTableAttachment (
2284
+ args : GetTransitGatewayRouteTableAttachmentCommandInput ,
2285
+ cb : ( err : any , data ?: GetTransitGatewayRouteTableAttachmentCommandOutput ) => void
2286
+ ) : void ;
2287
+ public getTransitGatewayRouteTableAttachment (
2288
+ args : GetTransitGatewayRouteTableAttachmentCommandInput ,
2289
+ options : __HttpHandlerOptions ,
2290
+ cb : ( err : any , data ?: GetTransitGatewayRouteTableAttachmentCommandOutput ) => void
2291
+ ) : void ;
2292
+ public getTransitGatewayRouteTableAttachment (
2293
+ args : GetTransitGatewayRouteTableAttachmentCommandInput ,
2294
+ optionsOrCb ?:
2295
+ | __HttpHandlerOptions
2296
+ | ( ( err : any , data ?: GetTransitGatewayRouteTableAttachmentCommandOutput ) => void ) ,
2297
+ cb ?: ( err : any , data ?: GetTransitGatewayRouteTableAttachmentCommandOutput ) => void
2298
+ ) : Promise < GetTransitGatewayRouteTableAttachmentCommandOutput > | void {
2299
+ const command = new GetTransitGatewayRouteTableAttachmentCommand ( args ) ;
2300
+ if ( typeof optionsOrCb === "function" ) {
2301
+ this . send ( command , optionsOrCb ) ;
2302
+ } else if ( typeof cb === "function" ) {
2303
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
2304
+ this . send ( command , optionsOrCb || { } , cb ) ;
2305
+ } else {
2306
+ return this . send ( command , optionsOrCb ) ;
2307
+ }
2308
+ }
2309
+
2079
2310
/**
2080
2311
* <p>Returns information about a VPC attachment.</p>
2081
2312
*/
@@ -2236,6 +2467,9 @@ export class NetworkManager extends NetworkManagerClient {
2236
2467
}
2237
2468
}
2238
2469
2470
+ /**
2471
+ * <p>Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.</p>
2472
+ */
2239
2473
public listOrganizationServiceAccessStatus (
2240
2474
args : ListOrganizationServiceAccessStatusCommandInput ,
2241
2475
options ?: __HttpHandlerOptions
@@ -2265,6 +2499,35 @@ export class NetworkManager extends NetworkManagerClient {
2265
2499
}
2266
2500
}
2267
2501
2502
+ /**
2503
+ * <p>Lists the peerings for a core network.</p>
2504
+ */
2505
+ public listPeerings (
2506
+ args : ListPeeringsCommandInput ,
2507
+ options ?: __HttpHandlerOptions
2508
+ ) : Promise < ListPeeringsCommandOutput > ;
2509
+ public listPeerings ( args : ListPeeringsCommandInput , cb : ( err : any , data ?: ListPeeringsCommandOutput ) => void ) : void ;
2510
+ public listPeerings (
2511
+ args : ListPeeringsCommandInput ,
2512
+ options : __HttpHandlerOptions ,
2513
+ cb : ( err : any , data ?: ListPeeringsCommandOutput ) => void
2514
+ ) : void ;
2515
+ public listPeerings (
2516
+ args : ListPeeringsCommandInput ,
2517
+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: ListPeeringsCommandOutput ) => void ) ,
2518
+ cb ?: ( err : any , data ?: ListPeeringsCommandOutput ) => void
2519
+ ) : Promise < ListPeeringsCommandOutput > | void {
2520
+ const command = new ListPeeringsCommand ( args ) ;
2521
+ if ( typeof optionsOrCb === "function" ) {
2522
+ this . send ( command , optionsOrCb ) ;
2523
+ } else if ( typeof cb === "function" ) {
2524
+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
2525
+ this . send ( command , optionsOrCb || { } , cb ) ;
2526
+ } else {
2527
+ return this . send ( command , optionsOrCb ) ;
2528
+ }
2529
+ }
2530
+
2268
2531
/**
2269
2532
* <p>Lists the tags for a specified resource.</p>
2270
2533
*/
@@ -2459,6 +2722,9 @@ export class NetworkManager extends NetworkManagerClient {
2459
2722
}
2460
2723
}
2461
2724
2725
+ /**
2726
+ * <p>Enables for the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization. </p>
2727
+ */
2462
2728
public startOrganizationServiceAccessUpdate (
2463
2729
args : StartOrganizationServiceAccessUpdateCommandInput ,
2464
2730
options ?: __HttpHandlerOptions
0 commit comments