Skip to content

NetworkManagerClient

Index > NetworkManager > NetworkManagerClient

Auto-generated documentation for NetworkManager type annotations stubs module mypy-boto3-networkmanager.

NetworkManagerClient

Type annotations and code completion for boto3.client("networkmanager"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_networkmanager.client import NetworkManagerClient

def get_networkmanager_client() -> NetworkManagerClient:
    return Session().client("networkmanager")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("networkmanager").exceptions structure.

Usage example
client = boto3.client("networkmanager")

try:
    do_something(client)
except (
    client.AccessDeniedException,
    client.ClientError,
    client.ConflictException,
    client.CoreNetworkPolicyException,
    client.InternalServerException,
    client.ResourceNotFoundException,
    client.ServiceQuotaExceededException,
    client.ThrottlingException,
    client.ValidationException,
) as e:
    print(e)
Type checking example
from mypy_boto3_networkmanager.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods

accept_attachment

Accepts a core network attachment request.

Type annotations and code completion for boto3.client("networkmanager").accept_attachment method. boto3 documentation

Method definition
def accept_attachment(
    self,
    *,
    AttachmentId: str,
) -> AcceptAttachmentResponseTypeDef:  # (1)
    ...
  1. See AcceptAttachmentResponseTypeDef
Usage example with kwargs
kwargs: AcceptAttachmentRequestRequestTypeDef = {  # (1)
    "AttachmentId": ...,
}

parent.accept_attachment(**kwargs)
  1. See AcceptAttachmentRequestRequestTypeDef

associate_connect_peer

Associates a core network Connect peer with a device and optionally, with a link.

Type annotations and code completion for boto3.client("networkmanager").associate_connect_peer method. boto3 documentation

Method definition
def associate_connect_peer(
    self,
    *,
    GlobalNetworkId: str,
    ConnectPeerId: str,
    DeviceId: str,
    LinkId: str = ...,
) -> AssociateConnectPeerResponseTypeDef:  # (1)
    ...
  1. See AssociateConnectPeerResponseTypeDef
Usage example with kwargs
kwargs: AssociateConnectPeerRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "ConnectPeerId": ...,
    "DeviceId": ...,
}

parent.associate_connect_peer(**kwargs)
  1. See AssociateConnectPeerRequestRequestTypeDef

associate_customer_gateway

Associates a customer gateway with a device and optionally, with a link.

Type annotations and code completion for boto3.client("networkmanager").associate_customer_gateway method. boto3 documentation

Method definition
def associate_customer_gateway(
    self,
    *,
    CustomerGatewayArn: str,
    GlobalNetworkId: str,
    DeviceId: str,
    LinkId: str = ...,
) -> AssociateCustomerGatewayResponseTypeDef:  # (1)
    ...
  1. See AssociateCustomerGatewayResponseTypeDef
Usage example with kwargs
kwargs: AssociateCustomerGatewayRequestRequestTypeDef = {  # (1)
    "CustomerGatewayArn": ...,
    "GlobalNetworkId": ...,
    "DeviceId": ...,
}

parent.associate_customer_gateway(**kwargs)
  1. See AssociateCustomerGatewayRequestRequestTypeDef

Associates a link to a device.

Type annotations and code completion for boto3.client("networkmanager").associate_link method. boto3 documentation

Method definition
def associate_link(
    self,
    *,
    GlobalNetworkId: str,
    DeviceId: str,
    LinkId: str,
) -> AssociateLinkResponseTypeDef:  # (1)
    ...
  1. See AssociateLinkResponseTypeDef
Usage example with kwargs
kwargs: AssociateLinkRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "DeviceId": ...,
    "LinkId": ...,
}

parent.associate_link(**kwargs)
  1. See AssociateLinkRequestRequestTypeDef

associate_transit_gateway_connect_peer

Associates a transit gateway Connect peer with a device, and optionally, with a link.

Type annotations and code completion for boto3.client("networkmanager").associate_transit_gateway_connect_peer method. boto3 documentation

Method definition
def associate_transit_gateway_connect_peer(
    self,
    *,
    GlobalNetworkId: str,
    TransitGatewayConnectPeerArn: str,
    DeviceId: str,
    LinkId: str = ...,
) -> AssociateTransitGatewayConnectPeerResponseTypeDef:  # (1)
    ...
  1. See AssociateTransitGatewayConnectPeerResponseTypeDef
Usage example with kwargs
kwargs: AssociateTransitGatewayConnectPeerRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "TransitGatewayConnectPeerArn": ...,
    "DeviceId": ...,
}

parent.associate_transit_gateway_connect_peer(**kwargs)
  1. See AssociateTransitGatewayConnectPeerRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("networkmanager").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("networkmanager").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

create_connect_attachment

Creates a core network Connect attachment from a specified core network attachment.

Type annotations and code completion for boto3.client("networkmanager").create_connect_attachment method. boto3 documentation

Method definition
def create_connect_attachment(
    self,
    *,
    CoreNetworkId: str,
    EdgeLocation: str,
    TransportAttachmentId: str,
    Options: ConnectAttachmentOptionsTypeDef,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
    ClientToken: str = ...,
) -> CreateConnectAttachmentResponseTypeDef:  # (3)
    ...
  1. See ConnectAttachmentOptionsTypeDef
  2. See TagTypeDef
  3. See CreateConnectAttachmentResponseTypeDef
Usage example with kwargs
kwargs: CreateConnectAttachmentRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "EdgeLocation": ...,
    "TransportAttachmentId": ...,
    "Options": ...,
}

parent.create_connect_attachment(**kwargs)
  1. See CreateConnectAttachmentRequestRequestTypeDef

create_connect_peer

Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.

Type annotations and code completion for boto3.client("networkmanager").create_connect_peer method. boto3 documentation

Method definition
def create_connect_peer(
    self,
    *,
    ConnectAttachmentId: str,
    PeerAddress: str,
    InsideCidrBlocks: Sequence[str],
    CoreNetworkAddress: str = ...,
    BgpOptions: BgpOptionsTypeDef = ...,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
    ClientToken: str = ...,
) -> CreateConnectPeerResponseTypeDef:  # (3)
    ...
  1. See BgpOptionsTypeDef
  2. See TagTypeDef
  3. See CreateConnectPeerResponseTypeDef
Usage example with kwargs
kwargs: CreateConnectPeerRequestRequestTypeDef = {  # (1)
    "ConnectAttachmentId": ...,
    "PeerAddress": ...,
    "InsideCidrBlocks": ...,
}

parent.create_connect_peer(**kwargs)
  1. See CreateConnectPeerRequestRequestTypeDef

create_connection

Creates a connection between two devices.

Type annotations and code completion for boto3.client("networkmanager").create_connection method. boto3 documentation

Method definition
def create_connection(
    self,
    *,
    GlobalNetworkId: str,
    DeviceId: str,
    ConnectedDeviceId: str,
    LinkId: str = ...,
    ConnectedLinkId: str = ...,
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateConnectionResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateConnectionResponseTypeDef
Usage example with kwargs
kwargs: CreateConnectionRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "DeviceId": ...,
    "ConnectedDeviceId": ...,
}

parent.create_connection(**kwargs)
  1. See CreateConnectionRequestRequestTypeDef

create_core_network

Creates a core network as part of your global network, and optionally, with a core network policy.

Type annotations and code completion for boto3.client("networkmanager").create_core_network method. boto3 documentation

Method definition
def create_core_network(
    self,
    *,
    GlobalNetworkId: str,
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
    PolicyDocument: str = ...,
    ClientToken: str = ...,
) -> CreateCoreNetworkResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateCoreNetworkResponseTypeDef
Usage example with kwargs
kwargs: CreateCoreNetworkRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.create_core_network(**kwargs)
  1. See CreateCoreNetworkRequestRequestTypeDef

create_device

Creates a new device in a global network.

Type annotations and code completion for boto3.client("networkmanager").create_device method. boto3 documentation

Method definition
def create_device(
    self,
    *,
    GlobalNetworkId: str,
    AWSLocation: AWSLocationTypeDef = ...,  # (1)
    Description: str = ...,
    Type: str = ...,
    Vendor: str = ...,
    Model: str = ...,
    SerialNumber: str = ...,
    Location: LocationTypeDef = ...,  # (2)
    SiteId: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (3)
) -> CreateDeviceResponseTypeDef:  # (4)
    ...
  1. See AWSLocationTypeDef
  2. See LocationTypeDef
  3. See TagTypeDef
  4. See CreateDeviceResponseTypeDef
Usage example with kwargs
kwargs: CreateDeviceRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.create_device(**kwargs)
  1. See CreateDeviceRequestRequestTypeDef

create_global_network

Creates a new, empty global network.

Type annotations and code completion for boto3.client("networkmanager").create_global_network method. boto3 documentation

Method definition
def create_global_network(
    self,
    *,
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateGlobalNetworkResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateGlobalNetworkResponseTypeDef
Usage example with kwargs
kwargs: CreateGlobalNetworkRequestRequestTypeDef = {  # (1)
    "Description": ...,
}

parent.create_global_network(**kwargs)
  1. See CreateGlobalNetworkRequestRequestTypeDef

Creates a new link for a specified site.

Type annotations and code completion for boto3.client("networkmanager").create_link method. boto3 documentation

Method definition
def create_link(
    self,
    *,
    GlobalNetworkId: str,
    Bandwidth: BandwidthTypeDef,  # (1)
    SiteId: str,
    Description: str = ...,
    Type: str = ...,
    Provider: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateLinkResponseTypeDef:  # (3)
    ...
  1. See BandwidthTypeDef
  2. See TagTypeDef
  3. See CreateLinkResponseTypeDef
Usage example with kwargs
kwargs: CreateLinkRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "Bandwidth": ...,
    "SiteId": ...,
}

parent.create_link(**kwargs)
  1. See CreateLinkRequestRequestTypeDef

create_site

Creates a new site in a global network.

Type annotations and code completion for boto3.client("networkmanager").create_site method. boto3 documentation

Method definition
def create_site(
    self,
    *,
    GlobalNetworkId: str,
    Description: str = ...,
    Location: LocationTypeDef = ...,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateSiteResponseTypeDef:  # (3)
    ...
  1. See LocationTypeDef
  2. See TagTypeDef
  3. See CreateSiteResponseTypeDef
Usage example with kwargs
kwargs: CreateSiteRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.create_site(**kwargs)
  1. See CreateSiteRequestRequestTypeDef

create_site_to_site_vpn_attachment

Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.

Type annotations and code completion for boto3.client("networkmanager").create_site_to_site_vpn_attachment method. boto3 documentation

Method definition
def create_site_to_site_vpn_attachment(
    self,
    *,
    CoreNetworkId: str,
    VpnConnectionArn: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
    ClientToken: str = ...,
) -> CreateSiteToSiteVpnAttachmentResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateSiteToSiteVpnAttachmentResponseTypeDef
Usage example with kwargs
kwargs: CreateSiteToSiteVpnAttachmentRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "VpnConnectionArn": ...,
}

parent.create_site_to_site_vpn_attachment(**kwargs)
  1. See CreateSiteToSiteVpnAttachmentRequestRequestTypeDef

create_transit_gateway_peering

Creates a transit gateway peering connection.

Type annotations and code completion for boto3.client("networkmanager").create_transit_gateway_peering method. boto3 documentation

Method definition
def create_transit_gateway_peering(
    self,
    *,
    CoreNetworkId: str,
    TransitGatewayArn: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
    ClientToken: str = ...,
) -> CreateTransitGatewayPeeringResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateTransitGatewayPeeringResponseTypeDef
Usage example with kwargs
kwargs: CreateTransitGatewayPeeringRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "TransitGatewayArn": ...,
}

parent.create_transit_gateway_peering(**kwargs)
  1. See CreateTransitGatewayPeeringRequestRequestTypeDef

create_transit_gateway_route_table_attachment

Creates a transit gateway route table attachment.

Type annotations and code completion for boto3.client("networkmanager").create_transit_gateway_route_table_attachment method. boto3 documentation

Method definition
def create_transit_gateway_route_table_attachment(
    self,
    *,
    PeeringId: str,
    TransitGatewayRouteTableArn: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
    ClientToken: str = ...,
) -> CreateTransitGatewayRouteTableAttachmentResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateTransitGatewayRouteTableAttachmentResponseTypeDef
Usage example with kwargs
kwargs: CreateTransitGatewayRouteTableAttachmentRequestRequestTypeDef = {  # (1)
    "PeeringId": ...,
    "TransitGatewayRouteTableArn": ...,
}

parent.create_transit_gateway_route_table_attachment(**kwargs)
  1. See CreateTransitGatewayRouteTableAttachmentRequestRequestTypeDef

create_vpc_attachment

Creates a VPC attachment on an edge location of a core network.

Type annotations and code completion for boto3.client("networkmanager").create_vpc_attachment method. boto3 documentation

Method definition
def create_vpc_attachment(
    self,
    *,
    CoreNetworkId: str,
    VpcArn: str,
    SubnetArns: Sequence[str],
    Options: VpcOptionsTypeDef = ...,  # (1)
    Tags: Sequence[TagTypeDef] = ...,  # (2)
    ClientToken: str = ...,
) -> CreateVpcAttachmentResponseTypeDef:  # (3)
    ...
  1. See VpcOptionsTypeDef
  2. See TagTypeDef
  3. See CreateVpcAttachmentResponseTypeDef
Usage example with kwargs
kwargs: CreateVpcAttachmentRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "VpcArn": ...,
    "SubnetArns": ...,
}

parent.create_vpc_attachment(**kwargs)
  1. See CreateVpcAttachmentRequestRequestTypeDef

delete_attachment

Deletes an attachment.

Type annotations and code completion for boto3.client("networkmanager").delete_attachment method. boto3 documentation

Method definition
def delete_attachment(
    self,
    *,
    AttachmentId: str,
) -> DeleteAttachmentResponseTypeDef:  # (1)
    ...
  1. See DeleteAttachmentResponseTypeDef
Usage example with kwargs
kwargs: DeleteAttachmentRequestRequestTypeDef = {  # (1)
    "AttachmentId": ...,
}

parent.delete_attachment(**kwargs)
  1. See DeleteAttachmentRequestRequestTypeDef

delete_connect_peer

Deletes a Connect peer.

Type annotations and code completion for boto3.client("networkmanager").delete_connect_peer method. boto3 documentation

Method definition
def delete_connect_peer(
    self,
    *,
    ConnectPeerId: str,
) -> DeleteConnectPeerResponseTypeDef:  # (1)
    ...
  1. See DeleteConnectPeerResponseTypeDef
Usage example with kwargs
kwargs: DeleteConnectPeerRequestRequestTypeDef = {  # (1)
    "ConnectPeerId": ...,
}

parent.delete_connect_peer(**kwargs)
  1. See DeleteConnectPeerRequestRequestTypeDef

delete_connection

Deletes the specified connection in your global network.

Type annotations and code completion for boto3.client("networkmanager").delete_connection method. boto3 documentation

Method definition
def delete_connection(
    self,
    *,
    GlobalNetworkId: str,
    ConnectionId: str,
) -> DeleteConnectionResponseTypeDef:  # (1)
    ...
  1. See DeleteConnectionResponseTypeDef
Usage example with kwargs
kwargs: DeleteConnectionRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "ConnectionId": ...,
}

parent.delete_connection(**kwargs)
  1. See DeleteConnectionRequestRequestTypeDef

delete_core_network

Deletes a core network along with all core network policies.

Type annotations and code completion for boto3.client("networkmanager").delete_core_network method. boto3 documentation

Method definition
def delete_core_network(
    self,
    *,
    CoreNetworkId: str,
) -> DeleteCoreNetworkResponseTypeDef:  # (1)
    ...
  1. See DeleteCoreNetworkResponseTypeDef
Usage example with kwargs
kwargs: DeleteCoreNetworkRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
}

parent.delete_core_network(**kwargs)
  1. See DeleteCoreNetworkRequestRequestTypeDef

delete_core_network_policy_version

Deletes a policy version from a core network.

Type annotations and code completion for boto3.client("networkmanager").delete_core_network_policy_version method. boto3 documentation

Method definition
def delete_core_network_policy_version(
    self,
    *,
    CoreNetworkId: str,
    PolicyVersionId: int,
) -> DeleteCoreNetworkPolicyVersionResponseTypeDef:  # (1)
    ...
  1. See DeleteCoreNetworkPolicyVersionResponseTypeDef
Usage example with kwargs
kwargs: DeleteCoreNetworkPolicyVersionRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "PolicyVersionId": ...,
}

parent.delete_core_network_policy_version(**kwargs)
  1. See DeleteCoreNetworkPolicyVersionRequestRequestTypeDef

delete_device

Deletes an existing device.

Type annotations and code completion for boto3.client("networkmanager").delete_device method. boto3 documentation

Method definition
def delete_device(
    self,
    *,
    GlobalNetworkId: str,
    DeviceId: str,
) -> DeleteDeviceResponseTypeDef:  # (1)
    ...
  1. See DeleteDeviceResponseTypeDef
Usage example with kwargs
kwargs: DeleteDeviceRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "DeviceId": ...,
}

parent.delete_device(**kwargs)
  1. See DeleteDeviceRequestRequestTypeDef

delete_global_network

Deletes an existing global network.

Type annotations and code completion for boto3.client("networkmanager").delete_global_network method. boto3 documentation

Method definition
def delete_global_network(
    self,
    *,
    GlobalNetworkId: str,
) -> DeleteGlobalNetworkResponseTypeDef:  # (1)
    ...
  1. See DeleteGlobalNetworkResponseTypeDef
Usage example with kwargs
kwargs: DeleteGlobalNetworkRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.delete_global_network(**kwargs)
  1. See DeleteGlobalNetworkRequestRequestTypeDef

Deletes an existing link.

Type annotations and code completion for boto3.client("networkmanager").delete_link method. boto3 documentation

Method definition
def delete_link(
    self,
    *,
    GlobalNetworkId: str,
    LinkId: str,
) -> DeleteLinkResponseTypeDef:  # (1)
    ...
  1. See DeleteLinkResponseTypeDef
Usage example with kwargs
kwargs: DeleteLinkRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "LinkId": ...,
}

parent.delete_link(**kwargs)
  1. See DeleteLinkRequestRequestTypeDef

delete_peering

Deletes an existing peering connection.

Type annotations and code completion for boto3.client("networkmanager").delete_peering method. boto3 documentation

Method definition
def delete_peering(
    self,
    *,
    PeeringId: str,
) -> DeletePeeringResponseTypeDef:  # (1)
    ...
  1. See DeletePeeringResponseTypeDef
Usage example with kwargs
kwargs: DeletePeeringRequestRequestTypeDef = {  # (1)
    "PeeringId": ...,
}

parent.delete_peering(**kwargs)
  1. See DeletePeeringRequestRequestTypeDef

delete_resource_policy

Deletes a resource policy for the specified resource.

Type annotations and code completion for boto3.client("networkmanager").delete_resource_policy method. boto3 documentation

Method definition
def delete_resource_policy(
    self,
    *,
    ResourceArn: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteResourcePolicyRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.delete_resource_policy(**kwargs)
  1. See DeleteResourcePolicyRequestRequestTypeDef

delete_site

Deletes an existing site.

Type annotations and code completion for boto3.client("networkmanager").delete_site method. boto3 documentation

Method definition
def delete_site(
    self,
    *,
    GlobalNetworkId: str,
    SiteId: str,
) -> DeleteSiteResponseTypeDef:  # (1)
    ...
  1. See DeleteSiteResponseTypeDef
Usage example with kwargs
kwargs: DeleteSiteRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "SiteId": ...,
}

parent.delete_site(**kwargs)
  1. See DeleteSiteRequestRequestTypeDef

deregister_transit_gateway

Deregisters a transit gateway from your global network.

Type annotations and code completion for boto3.client("networkmanager").deregister_transit_gateway method. boto3 documentation

Method definition
def deregister_transit_gateway(
    self,
    *,
    GlobalNetworkId: str,
    TransitGatewayArn: str,
) -> DeregisterTransitGatewayResponseTypeDef:  # (1)
    ...
  1. See DeregisterTransitGatewayResponseTypeDef
Usage example with kwargs
kwargs: DeregisterTransitGatewayRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "TransitGatewayArn": ...,
}

parent.deregister_transit_gateway(**kwargs)
  1. See DeregisterTransitGatewayRequestRequestTypeDef

describe_global_networks

Describes one or more global networks.

Type annotations and code completion for boto3.client("networkmanager").describe_global_networks method. boto3 documentation

Method definition
def describe_global_networks(
    self,
    *,
    GlobalNetworkIds: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> DescribeGlobalNetworksResponseTypeDef:  # (1)
    ...
  1. See DescribeGlobalNetworksResponseTypeDef
Usage example with kwargs
kwargs: DescribeGlobalNetworksRequestRequestTypeDef = {  # (1)
    "GlobalNetworkIds": ...,
}

parent.describe_global_networks(**kwargs)
  1. See DescribeGlobalNetworksRequestRequestTypeDef

disassociate_connect_peer

Disassociates a core network Connect peer from a device and a link.

Type annotations and code completion for boto3.client("networkmanager").disassociate_connect_peer method. boto3 documentation

Method definition
def disassociate_connect_peer(
    self,
    *,
    GlobalNetworkId: str,
    ConnectPeerId: str,
) -> DisassociateConnectPeerResponseTypeDef:  # (1)
    ...
  1. See DisassociateConnectPeerResponseTypeDef
Usage example with kwargs
kwargs: DisassociateConnectPeerRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "ConnectPeerId": ...,
}

parent.disassociate_connect_peer(**kwargs)
  1. See DisassociateConnectPeerRequestRequestTypeDef

disassociate_customer_gateway

Disassociates a customer gateway from a device and a link.

Type annotations and code completion for boto3.client("networkmanager").disassociate_customer_gateway method. boto3 documentation

Method definition
def disassociate_customer_gateway(
    self,
    *,
    GlobalNetworkId: str,
    CustomerGatewayArn: str,
) -> DisassociateCustomerGatewayResponseTypeDef:  # (1)
    ...
  1. See DisassociateCustomerGatewayResponseTypeDef
Usage example with kwargs
kwargs: DisassociateCustomerGatewayRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "CustomerGatewayArn": ...,
}

parent.disassociate_customer_gateway(**kwargs)
  1. See DisassociateCustomerGatewayRequestRequestTypeDef

Disassociates an existing device from a link.

Type annotations and code completion for boto3.client("networkmanager").disassociate_link method. boto3 documentation

Method definition
def disassociate_link(
    self,
    *,
    GlobalNetworkId: str,
    DeviceId: str,
    LinkId: str,
) -> DisassociateLinkResponseTypeDef:  # (1)
    ...
  1. See DisassociateLinkResponseTypeDef
Usage example with kwargs
kwargs: DisassociateLinkRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "DeviceId": ...,
    "LinkId": ...,
}

parent.disassociate_link(**kwargs)
  1. See DisassociateLinkRequestRequestTypeDef

disassociate_transit_gateway_connect_peer

Disassociates a transit gateway Connect peer from a device and link.

Type annotations and code completion for boto3.client("networkmanager").disassociate_transit_gateway_connect_peer method. boto3 documentation

Method definition
def disassociate_transit_gateway_connect_peer(
    self,
    *,
    GlobalNetworkId: str,
    TransitGatewayConnectPeerArn: str,
) -> DisassociateTransitGatewayConnectPeerResponseTypeDef:  # (1)
    ...
  1. See DisassociateTransitGatewayConnectPeerResponseTypeDef
Usage example with kwargs
kwargs: DisassociateTransitGatewayConnectPeerRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "TransitGatewayConnectPeerArn": ...,
}

parent.disassociate_transit_gateway_connect_peer(**kwargs)
  1. See DisassociateTransitGatewayConnectPeerRequestRequestTypeDef

execute_core_network_change_set

Executes a change set on your core network.

Type annotations and code completion for boto3.client("networkmanager").execute_core_network_change_set method. boto3 documentation

Method definition
def execute_core_network_change_set(
    self,
    *,
    CoreNetworkId: str,
    PolicyVersionId: int,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: ExecuteCoreNetworkChangeSetRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "PolicyVersionId": ...,
}

parent.execute_core_network_change_set(**kwargs)
  1. See ExecuteCoreNetworkChangeSetRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("networkmanager").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_connect_attachment

Returns information about a core network Connect attachment.

Type annotations and code completion for boto3.client("networkmanager").get_connect_attachment method. boto3 documentation

Method definition
def get_connect_attachment(
    self,
    *,
    AttachmentId: str,
) -> GetConnectAttachmentResponseTypeDef:  # (1)
    ...
  1. See GetConnectAttachmentResponseTypeDef
Usage example with kwargs
kwargs: GetConnectAttachmentRequestRequestTypeDef = {  # (1)
    "AttachmentId": ...,
}

parent.get_connect_attachment(**kwargs)
  1. See GetConnectAttachmentRequestRequestTypeDef

get_connect_peer

Returns information about a core network Connect peer.

Type annotations and code completion for boto3.client("networkmanager").get_connect_peer method. boto3 documentation

Method definition
def get_connect_peer(
    self,
    *,
    ConnectPeerId: str,
) -> GetConnectPeerResponseTypeDef:  # (1)
    ...
  1. See GetConnectPeerResponseTypeDef
Usage example with kwargs
kwargs: GetConnectPeerRequestRequestTypeDef = {  # (1)
    "ConnectPeerId": ...,
}

parent.get_connect_peer(**kwargs)
  1. See GetConnectPeerRequestRequestTypeDef

get_connect_peer_associations

Returns information about a core network Connect peer associations.

Type annotations and code completion for boto3.client("networkmanager").get_connect_peer_associations method. boto3 documentation

Method definition
def get_connect_peer_associations(
    self,
    *,
    GlobalNetworkId: str,
    ConnectPeerIds: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetConnectPeerAssociationsResponseTypeDef:  # (1)
    ...
  1. See GetConnectPeerAssociationsResponseTypeDef
Usage example with kwargs
kwargs: GetConnectPeerAssociationsRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_connect_peer_associations(**kwargs)
  1. See GetConnectPeerAssociationsRequestRequestTypeDef

get_connections

Gets information about one or more of your connections in a global network.

Type annotations and code completion for boto3.client("networkmanager").get_connections method. boto3 documentation

Method definition
def get_connections(
    self,
    *,
    GlobalNetworkId: str,
    ConnectionIds: Sequence[str] = ...,
    DeviceId: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetConnectionsResponseTypeDef:  # (1)
    ...
  1. See GetConnectionsResponseTypeDef
Usage example with kwargs
kwargs: GetConnectionsRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_connections(**kwargs)
  1. See GetConnectionsRequestRequestTypeDef

get_core_network

Returns information about the LIVE policy for a core network.

Type annotations and code completion for boto3.client("networkmanager").get_core_network method. boto3 documentation

Method definition
def get_core_network(
    self,
    *,
    CoreNetworkId: str,
) -> GetCoreNetworkResponseTypeDef:  # (1)
    ...
  1. See GetCoreNetworkResponseTypeDef
Usage example with kwargs
kwargs: GetCoreNetworkRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
}

parent.get_core_network(**kwargs)
  1. See GetCoreNetworkRequestRequestTypeDef

get_core_network_change_events

Returns information about a core network change event.

Type annotations and code completion for boto3.client("networkmanager").get_core_network_change_events method. boto3 documentation

Method definition
def get_core_network_change_events(
    self,
    *,
    CoreNetworkId: str,
    PolicyVersionId: int,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetCoreNetworkChangeEventsResponseTypeDef:  # (1)
    ...
  1. See GetCoreNetworkChangeEventsResponseTypeDef
Usage example with kwargs
kwargs: GetCoreNetworkChangeEventsRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "PolicyVersionId": ...,
}

parent.get_core_network_change_events(**kwargs)
  1. See GetCoreNetworkChangeEventsRequestRequestTypeDef

get_core_network_change_set

Returns a change set between the LIVE core network policy and a submitted policy.

Type annotations and code completion for boto3.client("networkmanager").get_core_network_change_set method. boto3 documentation

Method definition
def get_core_network_change_set(
    self,
    *,
    CoreNetworkId: str,
    PolicyVersionId: int,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetCoreNetworkChangeSetResponseTypeDef:  # (1)
    ...
  1. See GetCoreNetworkChangeSetResponseTypeDef
Usage example with kwargs
kwargs: GetCoreNetworkChangeSetRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "PolicyVersionId": ...,
}

parent.get_core_network_change_set(**kwargs)
  1. See GetCoreNetworkChangeSetRequestRequestTypeDef

get_core_network_policy

Returns details about a core network policy.

Type annotations and code completion for boto3.client("networkmanager").get_core_network_policy method. boto3 documentation

Method definition
def get_core_network_policy(
    self,
    *,
    CoreNetworkId: str,
    PolicyVersionId: int = ...,
    Alias: CoreNetworkPolicyAliasType = ...,  # (1)
) -> GetCoreNetworkPolicyResponseTypeDef:  # (2)
    ...
  1. See CoreNetworkPolicyAliasType
  2. See GetCoreNetworkPolicyResponseTypeDef
Usage example with kwargs
kwargs: GetCoreNetworkPolicyRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
}

parent.get_core_network_policy(**kwargs)
  1. See GetCoreNetworkPolicyRequestRequestTypeDef

get_customer_gateway_associations

Gets the association information for customer gateways that are associated with devices and links in your global network.

Type annotations and code completion for boto3.client("networkmanager").get_customer_gateway_associations method. boto3 documentation

Method definition
def get_customer_gateway_associations(
    self,
    *,
    GlobalNetworkId: str,
    CustomerGatewayArns: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetCustomerGatewayAssociationsResponseTypeDef:  # (1)
    ...
  1. See GetCustomerGatewayAssociationsResponseTypeDef
Usage example with kwargs
kwargs: GetCustomerGatewayAssociationsRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_customer_gateway_associations(**kwargs)
  1. See GetCustomerGatewayAssociationsRequestRequestTypeDef

get_devices

Gets information about one or more of your devices in a global network.

Type annotations and code completion for boto3.client("networkmanager").get_devices method. boto3 documentation

Method definition
def get_devices(
    self,
    *,
    GlobalNetworkId: str,
    DeviceIds: Sequence[str] = ...,
    SiteId: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetDevicesResponseTypeDef:  # (1)
    ...
  1. See GetDevicesResponseTypeDef
Usage example with kwargs
kwargs: GetDevicesRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_devices(**kwargs)
  1. See GetDevicesRequestRequestTypeDef

Gets the link associations for a device or a link.

Type annotations and code completion for boto3.client("networkmanager").get_link_associations method. boto3 documentation

Method definition
def get_link_associations(
    self,
    *,
    GlobalNetworkId: str,
    DeviceId: str = ...,
    LinkId: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetLinkAssociationsResponseTypeDef:  # (1)
    ...
  1. See GetLinkAssociationsResponseTypeDef
Usage example with kwargs
kwargs: GetLinkAssociationsRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_link_associations(**kwargs)
  1. See GetLinkAssociationsRequestRequestTypeDef

Gets information about one or more links in a specified global network.

Type annotations and code completion for boto3.client("networkmanager").get_links method. boto3 documentation

Method definition
def get_links(
    self,
    *,
    GlobalNetworkId: str,
    LinkIds: Sequence[str] = ...,
    SiteId: str = ...,
    Type: str = ...,
    Provider: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetLinksResponseTypeDef:  # (1)
    ...
  1. See GetLinksResponseTypeDef
Usage example with kwargs
kwargs: GetLinksRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_links(**kwargs)
  1. See GetLinksRequestRequestTypeDef

get_network_resource_counts

Gets the count of network resources, by resource type, for the specified global network.

Type annotations and code completion for boto3.client("networkmanager").get_network_resource_counts method. boto3 documentation

Method definition
def get_network_resource_counts(
    self,
    *,
    GlobalNetworkId: str,
    ResourceType: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetNetworkResourceCountsResponseTypeDef:  # (1)
    ...
  1. See GetNetworkResourceCountsResponseTypeDef
Usage example with kwargs
kwargs: GetNetworkResourceCountsRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_network_resource_counts(**kwargs)
  1. See GetNetworkResourceCountsRequestRequestTypeDef

get_network_resource_relationships

Gets the network resource relationships for the specified global network.

Type annotations and code completion for boto3.client("networkmanager").get_network_resource_relationships method. boto3 documentation

Method definition
def get_network_resource_relationships(
    self,
    *,
    GlobalNetworkId: str,
    CoreNetworkId: str = ...,