@@ -63,6 +63,16 @@ import {
6363 CreateSiteToSiteVpnAttachmentCommandInput ,
6464 CreateSiteToSiteVpnAttachmentCommandOutput ,
6565} 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" ;
6676import {
6777 CreateVpcAttachmentCommand ,
6878 CreateVpcAttachmentCommandInput ,
@@ -104,6 +114,11 @@ import {
104114 DeleteGlobalNetworkCommandOutput ,
105115} from "./commands/DeleteGlobalNetworkCommand" ;
106116import { DeleteLinkCommand , DeleteLinkCommandInput , DeleteLinkCommandOutput } from "./commands/DeleteLinkCommand" ;
117+ import {
118+ DeletePeeringCommand ,
119+ DeletePeeringCommandInput ,
120+ DeletePeeringCommandOutput ,
121+ } from "./commands/DeletePeeringCommand" ;
107122import {
108123 DeleteResourcePolicyCommand ,
109124 DeleteResourcePolicyCommandInput ,
@@ -165,6 +180,11 @@ import {
165180 GetConnectPeerCommandInput ,
166181 GetConnectPeerCommandOutput ,
167182} from "./commands/GetConnectPeerCommand" ;
183+ import {
184+ GetCoreNetworkChangeEventsCommand ,
185+ GetCoreNetworkChangeEventsCommandInput ,
186+ GetCoreNetworkChangeEventsCommandOutput ,
187+ } from "./commands/GetCoreNetworkChangeEventsCommand" ;
168188import {
169189 GetCoreNetworkChangeSetCommand ,
170190 GetCoreNetworkChangeSetCommandInput ,
@@ -238,11 +258,21 @@ import {
238258 GetTransitGatewayConnectPeerAssociationsCommandInput ,
239259 GetTransitGatewayConnectPeerAssociationsCommandOutput ,
240260} from "./commands/GetTransitGatewayConnectPeerAssociationsCommand" ;
261+ import {
262+ GetTransitGatewayPeeringCommand ,
263+ GetTransitGatewayPeeringCommandInput ,
264+ GetTransitGatewayPeeringCommandOutput ,
265+ } from "./commands/GetTransitGatewayPeeringCommand" ;
241266import {
242267 GetTransitGatewayRegistrationsCommand ,
243268 GetTransitGatewayRegistrationsCommandInput ,
244269 GetTransitGatewayRegistrationsCommandOutput ,
245270} from "./commands/GetTransitGatewayRegistrationsCommand" ;
271+ import {
272+ GetTransitGatewayRouteTableAttachmentCommand ,
273+ GetTransitGatewayRouteTableAttachmentCommandInput ,
274+ GetTransitGatewayRouteTableAttachmentCommandOutput ,
275+ } from "./commands/GetTransitGatewayRouteTableAttachmentCommand" ;
246276import {
247277 GetVpcAttachmentCommand ,
248278 GetVpcAttachmentCommandInput ,
@@ -273,6 +303,11 @@ import {
273303 ListOrganizationServiceAccessStatusCommandInput ,
274304 ListOrganizationServiceAccessStatusCommandOutput ,
275305} from "./commands/ListOrganizationServiceAccessStatusCommand" ;
306+ import {
307+ ListPeeringsCommand ,
308+ ListPeeringsCommandInput ,
309+ ListPeeringsCommandOutput ,
310+ } from "./commands/ListPeeringsCommand" ;
276311import {
277312 ListTagsForResourceCommand ,
278313 ListTagsForResourceCommandInput ,
@@ -812,6 +847,72 @@ export class NetworkManager extends NetworkManagerClient {
812847 }
813848 }
814849
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+
815916 /**
816917 * <p>Creates a VPC attachment on an edge location of a core network.</p>
817918 */
@@ -1094,6 +1195,38 @@ export class NetworkManager extends NetworkManagerClient {
10941195 }
10951196 }
10961197
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+
10971230 /**
10981231 * <p>Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.</p>
10991232 */
@@ -1543,6 +1676,38 @@ export class NetworkManager extends NetworkManagerClient {
15431676 }
15441677 }
15451678
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+
15461711 /**
15471712 * <p>Returns a change set between the LIVE core network policy and a submitted policy.</p>
15481713 */
@@ -1576,7 +1741,7 @@ export class NetworkManager extends NetworkManagerClient {
15761741 }
15771742
15781743 /**
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>
15801745 */
15811746 public getCoreNetworkPolicy (
15821747 args : GetCoreNetworkPolicyCommandInput ,
@@ -2043,6 +2208,38 @@ export class NetworkManager extends NetworkManagerClient {
20432208 }
20442209 }
20452210
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+
20462243 /**
20472244 * <p>Gets information about the transit gateway registrations in a specified
20482245 * global network.</p>
@@ -2076,6 +2273,40 @@ export class NetworkManager extends NetworkManagerClient {
20762273 }
20772274 }
20782275
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+
20792310 /**
20802311 * <p>Returns information about a VPC attachment.</p>
20812312 */
@@ -2236,6 +2467,9 @@ export class NetworkManager extends NetworkManagerClient {
22362467 }
22372468 }
22382469
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+ */
22392473 public listOrganizationServiceAccessStatus (
22402474 args : ListOrganizationServiceAccessStatusCommandInput ,
22412475 options ?: __HttpHandlerOptions
@@ -2265,6 +2499,35 @@ export class NetworkManager extends NetworkManagerClient {
22652499 }
22662500 }
22672501
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+
22682531 /**
22692532 * <p>Lists the tags for a specified resource.</p>
22702533 */
@@ -2459,6 +2722,9 @@ export class NetworkManager extends NetworkManagerClient {
24592722 }
24602723 }
24612724
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+ */
24622728 public startOrganizationServiceAccessUpdate (
24632729 args : StartOrganizationServiceAccessUpdateCommandInput ,
24642730 options ?: __HttpHandlerOptions
0 commit comments