import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AcceptAttachmentCommand , AcceptAttachmentCommandInput , AcceptAttachmentCommandOutput , } from "./commands/AcceptAttachmentCommand" ; import { AssociateConnectPeerCommand , AssociateConnectPeerCommandInput , AssociateConnectPeerCommandOutput , } from "./commands/AssociateConnectPeerCommand" ; import { AssociateCustomerGatewayCommand , AssociateCustomerGatewayCommandInput , AssociateCustomerGatewayCommandOutput , } from "./commands/AssociateCustomerGatewayCommand" ; import { AssociateLinkCommand , AssociateLinkCommandInput , AssociateLinkCommandOutput , } from "./commands/AssociateLinkCommand" ; import { AssociateTransitGatewayConnectPeerCommand , AssociateTransitGatewayConnectPeerCommandInput , AssociateTransitGatewayConnectPeerCommandOutput , } from "./commands/AssociateTransitGatewayConnectPeerCommand" ; import { CreateConnectAttachmentCommand , CreateConnectAttachmentCommandInput , CreateConnectAttachmentCommandOutput , } from "./commands/CreateConnectAttachmentCommand" ; import { CreateConnectionCommand , CreateConnectionCommandInput , CreateConnectionCommandOutput , } from "./commands/CreateConnectionCommand" ; import { CreateConnectPeerCommand , CreateConnectPeerCommandInput , CreateConnectPeerCommandOutput , } from "./commands/CreateConnectPeerCommand" ; import { CreateCoreNetworkCommand , CreateCoreNetworkCommandInput , CreateCoreNetworkCommandOutput , } from "./commands/CreateCoreNetworkCommand" ; import { CreateDeviceCommand , CreateDeviceCommandInput , CreateDeviceCommandOutput , } from "./commands/CreateDeviceCommand" ; import { CreateGlobalNetworkCommand , CreateGlobalNetworkCommandInput , CreateGlobalNetworkCommandOutput , } from "./commands/CreateGlobalNetworkCommand" ; import { CreateLinkCommand , CreateLinkCommandInput , CreateLinkCommandOutput } from "./commands/CreateLinkCommand" ; import { CreateSiteCommand , CreateSiteCommandInput , CreateSiteCommandOutput } from "./commands/CreateSiteCommand" ; import { CreateSiteToSiteVpnAttachmentCommand , CreateSiteToSiteVpnAttachmentCommandInput , CreateSiteToSiteVpnAttachmentCommandOutput , } from "./commands/CreateSiteToSiteVpnAttachmentCommand" ; import { CreateVpcAttachmentCommand , CreateVpcAttachmentCommandInput , CreateVpcAttachmentCommandOutput , } from "./commands/CreateVpcAttachmentCommand" ; import { DeleteAttachmentCommand , DeleteAttachmentCommandInput , DeleteAttachmentCommandOutput , } from "./commands/DeleteAttachmentCommand" ; import { DeleteConnectionCommand , DeleteConnectionCommandInput , DeleteConnectionCommandOutput , } from "./commands/DeleteConnectionCommand" ; import { DeleteConnectPeerCommand , DeleteConnectPeerCommandInput , DeleteConnectPeerCommandOutput , } from "./commands/DeleteConnectPeerCommand" ; import { DeleteCoreNetworkCommand , DeleteCoreNetworkCommandInput , DeleteCoreNetworkCommandOutput , } from "./commands/DeleteCoreNetworkCommand" ; import { DeleteCoreNetworkPolicyVersionCommand , DeleteCoreNetworkPolicyVersionCommandInput , DeleteCoreNetworkPolicyVersionCommandOutput , } from "./commands/DeleteCoreNetworkPolicyVersionCommand" ; import { DeleteDeviceCommand , DeleteDeviceCommandInput , DeleteDeviceCommandOutput , } from "./commands/DeleteDeviceCommand" ; import { DeleteGlobalNetworkCommand , DeleteGlobalNetworkCommandInput , DeleteGlobalNetworkCommandOutput , } from "./commands/DeleteGlobalNetworkCommand" ; import { DeleteLinkCommand , DeleteLinkCommandInput , DeleteLinkCommandOutput } from "./commands/DeleteLinkCommand" ; import { DeleteResourcePolicyCommand , DeleteResourcePolicyCommandInput , DeleteResourcePolicyCommandOutput , } from "./commands/DeleteResourcePolicyCommand" ; import { DeleteSiteCommand , DeleteSiteCommandInput , DeleteSiteCommandOutput } from "./commands/DeleteSiteCommand" ; import { DeregisterTransitGatewayCommand , DeregisterTransitGatewayCommandInput , DeregisterTransitGatewayCommandOutput , } from "./commands/DeregisterTransitGatewayCommand" ; import { DescribeGlobalNetworksCommand , DescribeGlobalNetworksCommandInput , DescribeGlobalNetworksCommandOutput , } from "./commands/DescribeGlobalNetworksCommand" ; import { DisassociateConnectPeerCommand , DisassociateConnectPeerCommandInput , DisassociateConnectPeerCommandOutput , } from "./commands/DisassociateConnectPeerCommand" ; import { DisassociateCustomerGatewayCommand , DisassociateCustomerGatewayCommandInput , DisassociateCustomerGatewayCommandOutput , } from "./commands/DisassociateCustomerGatewayCommand" ; import { DisassociateLinkCommand , DisassociateLinkCommandInput , DisassociateLinkCommandOutput , } from "./commands/DisassociateLinkCommand" ; import { DisassociateTransitGatewayConnectPeerCommand , DisassociateTransitGatewayConnectPeerCommandInput , DisassociateTransitGatewayConnectPeerCommandOutput , } from "./commands/DisassociateTransitGatewayConnectPeerCommand" ; import { ExecuteCoreNetworkChangeSetCommand , ExecuteCoreNetworkChangeSetCommandInput , ExecuteCoreNetworkChangeSetCommandOutput , } from "./commands/ExecuteCoreNetworkChangeSetCommand" ; import { GetConnectAttachmentCommand , GetConnectAttachmentCommandInput , GetConnectAttachmentCommandOutput , } from "./commands/GetConnectAttachmentCommand" ; import { GetConnectionsCommand , GetConnectionsCommandInput , GetConnectionsCommandOutput , } from "./commands/GetConnectionsCommand" ; import { GetConnectPeerAssociationsCommand , GetConnectPeerAssociationsCommandInput , GetConnectPeerAssociationsCommandOutput , } from "./commands/GetConnectPeerAssociationsCommand" ; import { GetConnectPeerCommand , GetConnectPeerCommandInput , GetConnectPeerCommandOutput , } from "./commands/GetConnectPeerCommand" ; import { GetCoreNetworkChangeSetCommand , GetCoreNetworkChangeSetCommandInput , GetCoreNetworkChangeSetCommandOutput , } from "./commands/GetCoreNetworkChangeSetCommand" ; import { GetCoreNetworkCommand , GetCoreNetworkCommandInput , GetCoreNetworkCommandOutput , } from "./commands/GetCoreNetworkCommand" ; import { GetCoreNetworkPolicyCommand , GetCoreNetworkPolicyCommandInput , GetCoreNetworkPolicyCommandOutput , } from "./commands/GetCoreNetworkPolicyCommand" ; import { GetCustomerGatewayAssociationsCommand , GetCustomerGatewayAssociationsCommandInput , GetCustomerGatewayAssociationsCommandOutput , } from "./commands/GetCustomerGatewayAssociationsCommand" ; import { GetDevicesCommand , GetDevicesCommandInput , GetDevicesCommandOutput } from "./commands/GetDevicesCommand" ; import { GetLinkAssociationsCommand , GetLinkAssociationsCommandInput , GetLinkAssociationsCommandOutput , } from "./commands/GetLinkAssociationsCommand" ; import { GetLinksCommand , GetLinksCommandInput , GetLinksCommandOutput } from "./commands/GetLinksCommand" ; import { GetNetworkResourceCountsCommand , GetNetworkResourceCountsCommandInput , GetNetworkResourceCountsCommandOutput , } from "./commands/GetNetworkResourceCountsCommand" ; import { GetNetworkResourceRelationshipsCommand , GetNetworkResourceRelationshipsCommandInput , GetNetworkResourceRelationshipsCommandOutput , } from "./commands/GetNetworkResourceRelationshipsCommand" ; import { GetNetworkResourcesCommand , GetNetworkResourcesCommandInput , GetNetworkResourcesCommandOutput , } from "./commands/GetNetworkResourcesCommand" ; import { GetNetworkRoutesCommand , GetNetworkRoutesCommandInput , GetNetworkRoutesCommandOutput , } from "./commands/GetNetworkRoutesCommand" ; import { GetNetworkTelemetryCommand , GetNetworkTelemetryCommandInput , GetNetworkTelemetryCommandOutput , } from "./commands/GetNetworkTelemetryCommand" ; import { GetResourcePolicyCommand , GetResourcePolicyCommandInput , GetResourcePolicyCommandOutput , } from "./commands/GetResourcePolicyCommand" ; import { GetRouteAnalysisCommand , GetRouteAnalysisCommandInput , GetRouteAnalysisCommandOutput , } from "./commands/GetRouteAnalysisCommand" ; import { GetSitesCommand , GetSitesCommandInput , GetSitesCommandOutput } from "./commands/GetSitesCommand" ; import { GetSiteToSiteVpnAttachmentCommand , GetSiteToSiteVpnAttachmentCommandInput , GetSiteToSiteVpnAttachmentCommandOutput , } from "./commands/GetSiteToSiteVpnAttachmentCommand" ; import { GetTransitGatewayConnectPeerAssociationsCommand , GetTransitGatewayConnectPeerAssociationsCommandInput , GetTransitGatewayConnectPeerAssociationsCommandOutput , } from "./commands/GetTransitGatewayConnectPeerAssociationsCommand" ; import { GetTransitGatewayRegistrationsCommand , GetTransitGatewayRegistrationsCommandInput , GetTransitGatewayRegistrationsCommandOutput , } from "./commands/GetTransitGatewayRegistrationsCommand" ; import { GetVpcAttachmentCommand , GetVpcAttachmentCommandInput , GetVpcAttachmentCommandOutput , } from "./commands/GetVpcAttachmentCommand" ; import { ListAttachmentsCommand , ListAttachmentsCommandInput , ListAttachmentsCommandOutput , } from "./commands/ListAttachmentsCommand" ; import { ListConnectPeersCommand , ListConnectPeersCommandInput , ListConnectPeersCommandOutput , } from "./commands/ListConnectPeersCommand" ; import { ListCoreNetworkPolicyVersionsCommand , ListCoreNetworkPolicyVersionsCommandInput , ListCoreNetworkPolicyVersionsCommandOutput , } from "./commands/ListCoreNetworkPolicyVersionsCommand" ; import { ListCoreNetworksCommand , ListCoreNetworksCommandInput , ListCoreNetworksCommandOutput , } from "./commands/ListCoreNetworksCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { PutCoreNetworkPolicyCommand , PutCoreNetworkPolicyCommandInput , PutCoreNetworkPolicyCommandOutput , } from "./commands/PutCoreNetworkPolicyCommand" ; import { PutResourcePolicyCommand , PutResourcePolicyCommandInput , PutResourcePolicyCommandOutput , } from "./commands/PutResourcePolicyCommand" ; import { RegisterTransitGatewayCommand , RegisterTransitGatewayCommandInput , RegisterTransitGatewayCommandOutput , } from "./commands/RegisterTransitGatewayCommand" ; import { RejectAttachmentCommand , RejectAttachmentCommandInput , RejectAttachmentCommandOutput , } from "./commands/RejectAttachmentCommand" ; import { RestoreCoreNetworkPolicyVersionCommand , RestoreCoreNetworkPolicyVersionCommandInput , RestoreCoreNetworkPolicyVersionCommandOutput , } from "./commands/RestoreCoreNetworkPolicyVersionCommand" ; import { StartRouteAnalysisCommand , StartRouteAnalysisCommandInput , StartRouteAnalysisCommandOutput , } from "./commands/StartRouteAnalysisCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateConnectionCommand , UpdateConnectionCommandInput , UpdateConnectionCommandOutput , } from "./commands/UpdateConnectionCommand" ; import { UpdateCoreNetworkCommand , UpdateCoreNetworkCommandInput , UpdateCoreNetworkCommandOutput , } from "./commands/UpdateCoreNetworkCommand" ; import { UpdateDeviceCommand , UpdateDeviceCommandInput , UpdateDeviceCommandOutput , } from "./commands/UpdateDeviceCommand" ; import { UpdateGlobalNetworkCommand , UpdateGlobalNetworkCommandInput , UpdateGlobalNetworkCommandOutput , } from "./commands/UpdateGlobalNetworkCommand" ; import { UpdateLinkCommand , UpdateLinkCommandInput , UpdateLinkCommandOutput } from "./commands/UpdateLinkCommand" ; import { UpdateNetworkResourceMetadataCommand , UpdateNetworkResourceMetadataCommandInput , UpdateNetworkResourceMetadataCommandOutput , } from "./commands/UpdateNetworkResourceMetadataCommand" ; import { UpdateSiteCommand , UpdateSiteCommandInput , UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand" ; import { UpdateVpcAttachmentCommand , UpdateVpcAttachmentCommandInput , UpdateVpcAttachmentCommandOutput , } from "./commands/UpdateVpcAttachmentCommand" ; import { NetworkManagerClient } from "./NetworkManagerClient" ; /**
 * <p>Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your
 *             Amazon Web Services and on-premises networks that are built around transit gateways.</p>
 */ export class NetworkManager extends NetworkManagerClient { /**
     * <p>Accepts a core network attachment request. </p>
     *          <p>Once the attachment request is accepted by a core network owner, the attachment is
     *          created and connected to a core network.</p>
     */ public acceptAttachment ( args , options ? ) ; public acceptAttachment ( args , cb ) ; public acceptAttachment ( args , options , cb ) ; public acceptAttachment ( args , optionsOrCb ? , cb ? ) { const command = new AcceptAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a core network Connect peer with a device and optionally, with a link. </p>
     *          <p>If you specify a link, it must be associated with the specified device. You can only
     *          associate core network Connect peers that have been created on a core network Connect
     *          attachment on a core network. </p>
     */ public associateConnectPeer ( args , options ? ) ; public associateConnectPeer ( args , cb ) ; public associateConnectPeer ( args , options , cb ) ; public associateConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new AssociateConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a customer gateway with a device and optionally, with a link. If you
     *             specify a link, it must be associated with the specified device. </p>
     *         <p>You can only associate customer gateways that are connected to a VPN attachment on a
     *             transit gateway. The transit gateway must be registered in your global network. When
     *             you register a transit gateway, customer gateways that are connected to the transit
     *             gateway are automatically included in the global network. To list customer gateways
     *             that are connected to a transit gateway, use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html">DescribeVpnConnections</a> EC2 API and filter by
     *                 <code>transit-gateway-id</code>.</p>
     *         <p>You cannot associate a customer gateway with more than one device and link. </p>
     */ public associateCustomerGateway ( args , options ? ) ; public associateCustomerGateway ( args , cb ) ; public associateCustomerGateway ( args , options , cb ) ; public associateCustomerGateway ( args , optionsOrCb ? , cb ? ) { const command = new AssociateCustomerGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.</p>
     */ public associateLink ( args , options ? ) ; public associateLink ( args , cb ) ; public associateLink ( args , options , cb ) ; public associateLink ( args , optionsOrCb ? , cb ? ) { const command = new AssociateLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Associates a transit gateway Connect peer with a device, and optionally, with a link. If you
     *             specify a link, it must be associated with the specified device. </p>
     *         <p>You can only associate transit gateway Connect peers that have been created on a
     *             transit gateway that's registered in your global network.</p>
     *         <p>You cannot associate a transit gateway Connect peer with more than one device and link. </p>
     */ public associateTransitGatewayConnectPeer ( args , options ? ) ; public associateTransitGatewayConnectPeer ( args , cb ) ; public associateTransitGatewayConnectPeer ( args , options , cb ) ; public associateTransitGatewayConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new AssociateTransitGatewayConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a core network Connect attachment from a specified core network attachment. </p>
     *          <p>A core network Connect attachment is a GRE-based tunnel attachment that you can use to
     *          establish a connection between a core network and an appliance. A core network Connect
     *          attachment uses an existing VPC attachment as the underlying transport mechanism.</p>
     */ public createConnectAttachment ( args , options ? ) ; public createConnectAttachment ( args , cb ) ; public createConnectAttachment ( args , options , cb ) ; public createConnectAttachment ( args , optionsOrCb ? , cb ? ) { const command = new CreateConnectAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.</p>
     */ public createConnection ( args , options ? ) ; public createConnection ( args , cb ) ; public createConnection ( args , options , cb ) ; public createConnection ( args , optionsOrCb ? , cb ? ) { const command = new CreateConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a core network connect peer for a specified core network connect attachment between a core network and an appliance.
     *          The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).</p>
     */ public createConnectPeer ( args , options ? ) ; public createConnectPeer ( args , cb ) ; public createConnectPeer ( args , options , cb ) ; public createConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new CreateConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a core network as part of your global network, and optionally, with a core network policy.</p>
     */ public createCoreNetwork ( args , options ? ) ; public createCoreNetwork ( args , cb ) ; public createCoreNetwork ( args , options , cb ) ; public createCoreNetwork ( args , optionsOrCb ? , cb ? ) { const command = new CreateCoreNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new device in a global network. If you specify both a site ID and a
     *             location, the location of the site is used for visualization in the Network Manager console.</p>
     */ public createDevice ( args , options ? ) ; public createDevice ( args , cb ) ; public createDevice ( args , options , cb ) ; public createDevice ( args , optionsOrCb ? , cb ? ) { const command = new CreateDeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new, empty global network.</p>
     */ public createGlobalNetwork ( args , options ? ) ; public createGlobalNetwork ( args , cb ) ; public createGlobalNetwork ( args , options , cb ) ; public createGlobalNetwork ( args , optionsOrCb ? , cb ? ) { const command = new CreateGlobalNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new link for a specified site.</p>
     */ public createLink ( args , options ? ) ; public createLink ( args , cb ) ; public createLink ( args , options , cb ) ; public createLink ( args , optionsOrCb ? , cb ? ) { const command = new CreateLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new site in a global network.</p>
     */ public createSite ( args , options ? ) ; public createSite ( args , cb ) ; public createSite ( args , options , cb ) ; public createSite ( args , optionsOrCb ? , cb ? ) { const command = new CreateSiteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a site-to-site VPN attachment on an edge location of a core network.</p>
     */ public createSiteToSiteVpnAttachment ( args , options ? ) ; public createSiteToSiteVpnAttachment ( args , cb ) ; public createSiteToSiteVpnAttachment ( args , options , cb ) ; public createSiteToSiteVpnAttachment ( args , optionsOrCb ? , cb ? ) { const command = new CreateSiteToSiteVpnAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a VPC attachment on an edge location of a core network.</p>
     */ public createVpcAttachment ( args , options ? ) ; public createVpcAttachment ( args , cb ) ; public createVpcAttachment ( args , options , cb ) ; public createVpcAttachment ( args , optionsOrCb ? , cb ? ) { const command = new CreateVpcAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an attachment. Supports all attachment types.</p>
     */ public deleteAttachment ( args , options ? ) ; public deleteAttachment ( args , cb ) ; public deleteAttachment ( args , options , cb ) ; public deleteAttachment ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified connection in your global network.</p>
     */ public deleteConnection ( args , options ? ) ; public deleteConnection ( args , cb ) ; public deleteConnection ( args , options , cb ) ; public deleteConnection ( args , optionsOrCb ? , cb ? ) { const command = new DeleteConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a Connect peer.</p>
     */ public deleteConnectPeer ( args , options ? ) ; public deleteConnectPeer ( args , cb ) ; public deleteConnectPeer ( args , options , cb ) ; public deleteConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new DeleteConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.</p>
     */ public deleteCoreNetwork ( args , options ? ) ; public deleteCoreNetwork ( args , cb ) ; public deleteCoreNetwork ( args , options , cb ) ; public deleteCoreNetwork ( args , optionsOrCb ? , cb ? ) { const command = new DeleteCoreNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a policy version from a core network. You can't delete the current LIVE policy.</p>
     */ public deleteCoreNetworkPolicyVersion ( args , options ? ) ; public deleteCoreNetworkPolicyVersion ( args , cb ) ; public deleteCoreNetworkPolicyVersion ( args , options , cb ) ; public deleteCoreNetworkPolicyVersion ( args , optionsOrCb ? , cb ? ) { const command = new DeleteCoreNetworkPolicyVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an existing device. You must first disassociate the device from any links and
     *             customer gateways.</p>
     */ public deleteDevice ( args , options ? ) ; public deleteDevice ( args , cb ) ; public deleteDevice ( args , options , cb ) ; public deleteDevice ( args , optionsOrCb ? , cb ? ) { const command = new DeleteDeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an existing global network. You must first delete all global network objects
     *             (devices, links, and sites) and deregister all transit gateways.</p>
     */ public deleteGlobalNetwork ( args , options ? ) ; public deleteGlobalNetwork ( args , cb ) ; public deleteGlobalNetwork ( args , options , cb ) ; public deleteGlobalNetwork ( args , optionsOrCb ? , cb ? ) { const command = new DeleteGlobalNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an existing link. You must first disassociate the link from any devices and
     *             customer gateways.</p>
     */ public deleteLink ( args , options ? ) ; public deleteLink ( args , cb ) ; public deleteLink ( args , options , cb ) ; public deleteLink ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.</p>
     */ public deleteResourcePolicy ( args , options ? ) ; public deleteResourcePolicy ( args , cb ) ; public deleteResourcePolicy ( args , options , cb ) ; public deleteResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an existing site. The site cannot be associated with any device or link.</p>
     */ public deleteSite ( args , options ? ) ; public deleteSite ( args , cb ) ; public deleteSite ( args , options , cb ) ; public deleteSite ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSiteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deregisters a transit gateway from your global network. This action does not delete
     *             your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.</p>
     */ public deregisterTransitGateway ( args , options ? ) ; public deregisterTransitGateway ( args , cb ) ; public deregisterTransitGateway ( args , options , cb ) ; public deregisterTransitGateway ( args , optionsOrCb ? , cb ? ) { const command = new DeregisterTransitGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes one or more global networks. By default, all global networks are
     *             described. To describe the objects in your global network, you must use the appropriate
     *                 <code>Get*</code> action. For example, to list the transit gateways in your global
     *             network, use <a>GetTransitGatewayRegistrations</a>.</p>
     */ public describeGlobalNetworks ( args , options ? ) ; public describeGlobalNetworks ( args , cb ) ; public describeGlobalNetworks ( args , options , cb ) ; public describeGlobalNetworks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeGlobalNetworksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates a core network Connect peer from a device and a link. </p>
     */ public disassociateConnectPeer ( args , options ? ) ; public disassociateConnectPeer ( args , cb ) ; public disassociateConnectPeer ( args , options , cb ) ; public disassociateConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates a customer gateway from a device and a link.</p>
     */ public disassociateCustomerGateway ( args , options ? ) ; public disassociateCustomerGateway ( args , cb ) ; public disassociateCustomerGateway ( args , options , cb ) ; public disassociateCustomerGateway ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateCustomerGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates an existing device from a link. You must first disassociate any customer
     *             gateways that are associated with the link.</p>
     */ public disassociateLink ( args , options ? ) ; public disassociateLink ( args , cb ) ; public disassociateLink ( args , options , cb ) ; public disassociateLink ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Disassociates a transit gateway Connect peer from a device and link.</p>
     */ public disassociateTransitGatewayConnectPeer ( args , options ? ) ; public disassociateTransitGatewayConnectPeer ( args , cb ) ; public disassociateTransitGatewayConnectPeer ( args , options , cb ) ; public disassociateTransitGatewayConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateTransitGatewayConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Executes a change set on your core network. Deploys changes globally based on the policy submitted..</p>
     */ public executeCoreNetworkChangeSet ( args , options ? ) ; public executeCoreNetworkChangeSet ( args , cb ) ; public executeCoreNetworkChangeSet ( args , options , cb ) ; public executeCoreNetworkChangeSet ( args , optionsOrCb ? , cb ? ) { const command = new ExecuteCoreNetworkChangeSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a core network Connect attachment.</p>
     */ public getConnectAttachment ( args , options ? ) ; public getConnectAttachment ( args , cb ) ; public getConnectAttachment ( args , options , cb ) ; public getConnectAttachment ( args , optionsOrCb ? , cb ? ) { const command = new GetConnectAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about one or more of your connections in a global network.</p>
     */ public getConnections ( args , options ? ) ; public getConnections ( args , cb ) ; public getConnections ( args , options , cb ) ; public getConnections ( args , optionsOrCb ? , cb ? ) { const command = new GetConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a core network Connect peer.</p>
     */ public getConnectPeer ( args , options ? ) ; public getConnectPeer ( args , cb ) ; public getConnectPeer ( args , options , cb ) ; public getConnectPeer ( args , optionsOrCb ? , cb ? ) { const command = new GetConnectPeerCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a core network Connect peer associations.</p>
     */ public getConnectPeerAssociations ( args , options ? ) ; public getConnectPeerAssociations ( args , cb ) ; public getConnectPeerAssociations ( args , options , cb ) ; public getConnectPeerAssociations ( args , optionsOrCb ? , cb ? ) { const command = new GetConnectPeerAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a core network. By default it returns the LIVE policy.</p>
     */ public getCoreNetwork ( args , options ? ) ; public getCoreNetwork ( args , cb ) ; public getCoreNetwork ( args , options , cb ) ; public getCoreNetwork ( args , optionsOrCb ? , cb ? ) { const command = new GetCoreNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a change set between the LIVE core network policy and a submitted policy.</p>
     */ public getCoreNetworkChangeSet ( args , options ? ) ; public getCoreNetworkChangeSet ( args , cb ) ; public getCoreNetworkChangeSet ( args , options , cb ) ; public getCoreNetworkChangeSet ( args , optionsOrCb ? , cb ? ) { const command = new GetCoreNetworkChangeSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets details about a core network policy. You can get details about your current live policy or any previous policy version.</p>
     */ public getCoreNetworkPolicy ( args , options ? ) ; public getCoreNetworkPolicy ( args , cb ) ; public getCoreNetworkPolicy ( args , options , cb ) ; public getCoreNetworkPolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetCoreNetworkPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the association information for customer gateways that are associated with
     *             devices and links in your global network.</p>
     */ public getCustomerGatewayAssociations ( args , options ? ) ; public getCustomerGatewayAssociations ( args , cb ) ; public getCustomerGatewayAssociations ( args , options , cb ) ; public getCustomerGatewayAssociations ( args , optionsOrCb ? , cb ? ) { const command = new GetCustomerGatewayAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about one or more of your devices in a global network.</p>
     */ public getDevices ( args , options ? ) ; public getDevices ( args , cb ) ; public getDevices ( args , options , cb ) ; public getDevices ( args , optionsOrCb ? , cb ? ) { const command = new GetDevicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the link associations for a device or a link. Either the device ID or the link ID
     *             must be specified.</p>
     */ public getLinkAssociations ( args , options ? ) ; public getLinkAssociations ( args , cb ) ; public getLinkAssociations ( args , options , cb ) ; public getLinkAssociations ( args , optionsOrCb ? , cb ? ) { const command = new GetLinkAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about one or more links in a specified global network.</p>
     *         <p>If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.</p>
     */ public getLinks ( args , options ? ) ; public getLinks ( args , cb ) ; public getLinks ( args , options , cb ) ; public getLinks ( args , optionsOrCb ? , cb ? ) { const command = new GetLinksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the count of network resources, by resource type, for the specified global network.</p>
     */ public getNetworkResourceCounts ( args , options ? ) ; public getNetworkResourceCounts ( args , cb ) ; public getNetworkResourceCounts ( args , options , cb ) ; public getNetworkResourceCounts ( args , optionsOrCb ? , cb ? ) { const command = new GetNetworkResourceCountsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the network resource relationships for the specified global network.</p>
     */ public getNetworkResourceRelationships ( args , options ? ) ; public getNetworkResourceRelationships ( args , cb ) ; public getNetworkResourceRelationships ( args , options , cb ) ; public getNetworkResourceRelationships ( args , optionsOrCb ? , cb ? ) { const command = new GetNetworkResourceRelationshipsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the network resources for the specified global network.</p>
     *          <p>The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.</p>
     */ public getNetworkResources ( args , options ? ) ; public getNetworkResources ( args , cb ) ; public getNetworkResources ( args , options , cb ) ; public getNetworkResources ( args , optionsOrCb ? , cb ? ) { const command = new GetNetworkResourcesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the network routes of the specified global network.</p>
     */ public getNetworkRoutes ( args , options ? ) ; public getNetworkRoutes ( args , cb ) ; public getNetworkRoutes ( args , options , cb ) ; public getNetworkRoutes ( args , optionsOrCb ? , cb ? ) { const command = new GetNetworkRoutesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the network telemetry of the specified global network.</p>
     */ public getNetworkTelemetry ( args , options ? ) ; public getNetworkTelemetry ( args , cb ) ; public getNetworkTelemetry ( args , options , cb ) ; public getNetworkTelemetry ( args , optionsOrCb ? , cb ? ) { const command = new GetNetworkTelemetryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a resource policy.</p>
     */ public getResourcePolicy ( args , options ? ) ; public getResourcePolicy ( args , cb ) ; public getResourcePolicy ( args , options , cb ) ; public getResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the specified route analysis.</p>
     */ public getRouteAnalysis ( args , options ? ) ; public getRouteAnalysis ( args , cb ) ; public getRouteAnalysis ( args , options , cb ) ; public getRouteAnalysis ( args , optionsOrCb ? , cb ? ) { const command = new GetRouteAnalysisCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about one or more of your sites in a global network.</p>
     */ public getSites ( args , options ? ) ; public getSites ( args , cb ) ; public getSites ( args , options , cb ) ; public getSites ( args , optionsOrCb ? , cb ? ) { const command = new GetSitesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a site-to-site VPN attachment.</p>
     */ public getSiteToSiteVpnAttachment ( args , options ? ) ; public getSiteToSiteVpnAttachment ( args , cb ) ; public getSiteToSiteVpnAttachment ( args , options , cb ) ; public getSiteToSiteVpnAttachment ( args , optionsOrCb ? , cb ? ) { const command = new GetSiteToSiteVpnAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about one or more of your transit gateway Connect peer associations in a global network.</p>
     */ public getTransitGatewayConnectPeerAssociations ( args , options ? ) ; public getTransitGatewayConnectPeerAssociations ( args , cb ) ; public getTransitGatewayConnectPeerAssociations ( args , options , cb ) ; public getTransitGatewayConnectPeerAssociations ( args , optionsOrCb ? , cb ? ) { const command = new GetTransitGatewayConnectPeerAssociationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the transit gateway registrations in a specified
     *             global network.</p>
     */ public getTransitGatewayRegistrations ( args , options ? ) ; public getTransitGatewayRegistrations ( args , cb ) ; public getTransitGatewayRegistrations ( args , options , cb ) ; public getTransitGatewayRegistrations ( args , optionsOrCb ? , cb ? ) { const command = new GetTransitGatewayRegistrationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about a VPC attachment.</p>
     */ public getVpcAttachment ( args , options ? ) ; public getVpcAttachment ( args , cb ) ; public getVpcAttachment ( args , options , cb ) ; public getVpcAttachment ( args , optionsOrCb ? , cb ? ) { const command = new GetVpcAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of core network attachments.</p>
     */ public listAttachments ( args , options ? ) ; public listAttachments ( args , cb ) ; public listAttachments ( args , options , cb ) ; public listAttachments ( args , optionsOrCb ? , cb ? ) { const command = new ListAttachmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of core network Connect peers.</p>
     */ public listConnectPeers ( args , options ? ) ; public listConnectPeers ( args , cb ) ; public listConnectPeers ( args , options , cb ) ; public listConnectPeers ( args , optionsOrCb ? , cb ? ) { const command = new ListConnectPeersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of core network policy versions.</p>
     */ public listCoreNetworkPolicyVersions ( args , options ? ) ; public listCoreNetworkPolicyVersions ( args , cb ) ; public listCoreNetworkPolicyVersions ( args , options , cb ) ; public listCoreNetworkPolicyVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListCoreNetworkPolicyVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a list of owned and shared core networks.</p>
     */ public listCoreNetworks ( args , options ? ) ; public listCoreNetworks ( args , cb ) ; public listCoreNetworks ( args , options , cb ) ; public listCoreNetworks ( args , optionsOrCb ? , cb ? ) { const command = new ListCoreNetworksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags for a specified resource.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.</p>
     */ public putCoreNetworkPolicy ( args , options ? ) ; public putCoreNetworkPolicy ( args , cb ) ; public putCoreNetworkPolicy ( args , options , cb ) ; public putCoreNetworkPolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutCoreNetworkPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates or updates a resource policy.</p>
     */ public putResourcePolicy ( args , options ? ) ; public putResourcePolicy ( args , cb ) ; public putResourcePolicy ( args , options , cb ) ; public putResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Registers a transit gateway in your global network. The transit gateway can be in any
     *             Amazon Web Services Region, but it must be owned by the same Amazon Web Services account that owns
     *             the global network. You cannot register a transit gateway in more than one global network.</p>
     */ public registerTransitGateway ( args , options ? ) ; public registerTransitGateway ( args , cb ) ; public registerTransitGateway ( args , options , cb ) ; public registerTransitGateway ( args , optionsOrCb ? , cb ? ) { const command = new RegisterTransitGatewayCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Rejects a core network attachment request.</p>
     */ public rejectAttachment ( args , options ? ) ; public rejectAttachment ( args , cb ) ; public rejectAttachment ( args , options , cb ) ; public rejectAttachment ( args , optionsOrCb ? , cb ? ) { const command = new RejectAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.</p>
     */ public restoreCoreNetworkPolicyVersion ( args , options ? ) ; public restoreCoreNetworkPolicyVersion ( args , cb ) ; public restoreCoreNetworkPolicyVersion ( args , options , cb ) ; public restoreCoreNetworkPolicyVersion ( args , optionsOrCb ? , cb ? ) { const command = new RestoreCoreNetworkPolicyVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts analyzing the routing path between the specified source and destination. For more information,
     *             see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/route-analyzer.html">Route Analyzer</a>.</p>
     */ public startRouteAnalysis ( args , options ? ) ; public startRouteAnalysis ( args , cb ) ; public startRouteAnalysis ( args , options , cb ) ; public startRouteAnalysis ( args , optionsOrCb ? , cb ? ) { const command = new StartRouteAnalysisCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Tags a specified resource.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes tags from a specified resource.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the information for an existing connection. To remove information for any of the parameters,
     *             specify an empty string.</p>
     */ public updateConnection ( args , options ? ) ; public updateConnection ( args , cb ) ; public updateConnection ( args , options , cb ) ; public updateConnection ( args , optionsOrCb ? , cb ? ) { const command = new UpdateConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the description of a core network.</p>
     */ public updateCoreNetwork ( args , options ? ) ; public updateCoreNetwork ( args , cb ) ; public updateCoreNetwork ( args , options , cb ) ; public updateCoreNetwork ( args , optionsOrCb ? , cb ? ) { const command = new UpdateCoreNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the details for an existing device. To remove information for any of the
     *             parameters, specify an empty string.</p>
     */ public updateDevice ( args , options ? ) ; public updateDevice ( args , cb ) ; public updateDevice ( args , options , cb ) ; public updateDevice ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates an existing global network. To remove information for any of the parameters,
     *             specify an empty string.</p>
     */ public updateGlobalNetwork ( args , options ? ) ; public updateGlobalNetwork ( args , cb ) ; public updateGlobalNetwork ( args , options , cb ) ; public updateGlobalNetwork ( args , optionsOrCb ? , cb ? ) { const command = new UpdateGlobalNetworkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the details for an existing link. To remove information for any of the
     *             parameters, specify an empty string.</p>
     */ public updateLink ( args , options ? ) ; public updateLink ( args , cb ) ; public updateLink ( args , options , cb ) ; public updateLink ( args , optionsOrCb ? , cb ? ) { const command = new UpdateLinkCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the resource metadata for the specified global network.</p>
     */ public updateNetworkResourceMetadata ( args , options ? ) ; public updateNetworkResourceMetadata ( args , cb ) ; public updateNetworkResourceMetadata ( args , options , cb ) ; public updateNetworkResourceMetadata ( args , optionsOrCb ? , cb ? ) { const command = new UpdateNetworkResourceMetadataCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the information for an existing site. To remove information for any of the
     *             parameters, specify an empty string.</p>
     */ public updateSite ( args , options ? ) ; public updateSite ( args , cb ) ; public updateSite ( args , options , cb ) ; public updateSite ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSiteCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a VPC attachment.</p>
     */ public updateVpcAttachment ( args , options ? ) ; public updateVpcAttachment ( args , cb ) ; public updateVpcAttachment ( args , options , cb ) ; public updateVpcAttachment ( args , optionsOrCb ? , cb ? ) { const command = new UpdateVpcAttachmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }