Skip to content

NetworkManagerClient

Index > NetworkManager > NetworkManagerClient

Auto-generated documentation for NetworkManager type annotations stubs module types-aiobotocore-networkmanager.

NetworkManagerClient

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

Usage example
from aioboto3.session import Session
from types_aiobotocore_networkmanager.client import NetworkManagerClient

session = Session()
async with session.client("networkmanager") as client:
    client: NetworkManagerClient

Exceptions

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

Usage example
async with session.client("networkmanager") as client:
    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 types_aiobotocore_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 session.client("networkmanager").accept_attachment method. boto3 documentation

Method definition
await 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 session.client("networkmanager").associate_connect_peer method. boto3 documentation

Method definition
await 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 session.client("networkmanager").associate_customer_gateway method. boto3 documentation

Method definition
await 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 session.client("networkmanager").associate_link method. boto3 documentation

Method definition
await 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 session.client("networkmanager").associate_transit_gateway_connect_peer method. boto3 documentation

Method definition
await 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 session.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 session.client("networkmanager").close method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_connect_attachment method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_connect_peer method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_connection method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_core_network method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_device method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_global_network method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_link method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_site method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_site_to_site_vpn_attachment method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_transit_gateway_peering method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_transit_gateway_route_table_attachment method. boto3 documentation

Method definition
await 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 session.client("networkmanager").create_vpc_attachment method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_attachment method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_connect_peer method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_connection method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_core_network method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_core_network_policy_version method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_device method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_global_network method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_link method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_peering method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_resource_policy method. boto3 documentation

Method definition
await 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 session.client("networkmanager").delete_site method. boto3 documentation

Method definition
await 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 session.client("networkmanager").deregister_transit_gateway method. boto3 documentation

Method definition
await 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 session.client("networkmanager").describe_global_networks method. boto3 documentation

Method definition
await 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 session.client("networkmanager").disassociate_connect_peer method. boto3 documentation

Method definition
await 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 session.client("networkmanager").disassociate_customer_gateway method. boto3 documentation

Method definition
await 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 session.client("networkmanager").disassociate_link method. boto3 documentation

Method definition
await 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 session.client("networkmanager").disassociate_transit_gateway_connect_peer method. boto3 documentation

Method definition
await 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 session.client("networkmanager").execute_core_network_change_set method. boto3 documentation

Method definition
await 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 session.client("networkmanager").generate_presigned_url method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_connect_attachment method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_connect_peer method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_connect_peer_associations method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_connections method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_core_network method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_core_network_change_events method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_core_network_change_set method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_core_network_policy method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_customer_gateway_associations method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_devices method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_link_associations method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_links method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_network_resource_counts method. boto3 documentation

Method definition
await 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 session.client("networkmanager").get_network_resource_relationships method. boto3 documentation

Method definition
await def get_network_resource_relationships(
    self,
    *,
    GlobalNetworkId: str,
    CoreNetworkId: str = ...,
    RegisteredGatewayArn: str = ...,
    AwsRegion: str = ...,
    AccountId: str = ...,
    ResourceType: str = ...,
    ResourceArn: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetNetworkResourceRelationshipsResponseTypeDef:  # (1)
    ...
  1. See GetNetworkResourceRelationshipsResponseTypeDef
Usage example with kwargs
kwargs: GetNetworkResourceRelationshipsRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_network_resource_relationships(**kwargs)
  1. See GetNetworkResourceRelationshipsRequestRequestTypeDef

get_network_resources

Describes the network resources for the specified global network.

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

Method definition
await def get_network_resources(
    self,
    *,
    GlobalNetworkId: str,
    CoreNetworkId: str = ...,
    RegisteredGatewayArn: str = ...,
    AwsRegion: str = ...,
    AccountId: str = ...,
    ResourceType: str = ...,
    ResourceArn: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetNetworkResourcesResponseTypeDef:  # (1)
    ...
  1. See GetNetworkResourcesResponseTypeDef
Usage example with kwargs
kwargs: GetNetworkResourcesRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_network_resources(**kwargs)
  1. See GetNetworkResourcesRequestRequestTypeDef

get_network_routes

Gets the network routes of the specified global network.

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

Method definition
await def get_network_routes(
    self,
    *,
    GlobalNetworkId: str,
    RouteTableIdentifier: RouteTableIdentifierTypeDef,  # (1)
    ExactCidrMatches: Sequence[str] = ...,
    LongestPrefixMatches: Sequence[str] = ...,
    SubnetOfMatches: Sequence[str] = ...,
    SupernetOfMatches: Sequence[str] = ...,
    PrefixListIds: Sequence[str] = ...,
    States: Sequence[RouteStateType] = ...,  # (2)
    Types: Sequence[RouteTypeType] = ...,  # (3)
    DestinationFilters: Mapping[str, Sequence[str]] = ...,
) -> GetNetworkRoutesResponseTypeDef:  # (4)
    ...
  1. See RouteTableIdentifierTypeDef
  2. See RouteStateType
  3. See RouteTypeType
  4. See GetNetworkRoutesResponseTypeDef
Usage example with kwargs
kwargs: GetNetworkRoutesRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "RouteTableIdentifier": ...,
}

parent.get_network_routes(**kwargs)
  1. See GetNetworkRoutesRequestRequestTypeDef

get_network_telemetry

Gets the network telemetry of the specified global network.

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

Method definition
await def get_network_telemetry(
    self,
    *,
    GlobalNetworkId: str,
    CoreNetworkId: str = ...,
    RegisteredGatewayArn: str = ...,
    AwsRegion: str = ...,
    AccountId: str = ...,
    ResourceType: str = ...,
    ResourceArn: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetNetworkTelemetryResponseTypeDef:  # (1)
    ...
  1. See GetNetworkTelemetryResponseTypeDef
Usage example with kwargs
kwargs: GetNetworkTelemetryRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_network_telemetry(**kwargs)
  1. See GetNetworkTelemetryRequestRequestTypeDef

get_resource_policy

Returns information about a resource policy.

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

Method definition
await def get_resource_policy(
    self,
    *,
    ResourceArn: str,
) -> GetResourcePolicyResponseTypeDef:  # (1)
    ...
  1. See GetResourcePolicyResponseTypeDef
Usage example with kwargs
kwargs: GetResourcePolicyRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.get_resource_policy(**kwargs)
  1. See GetResourcePolicyRequestRequestTypeDef

get_route_analysis

Gets information about the specified route analysis.

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

Method definition
await def get_route_analysis(
    self,
    *,
    GlobalNetworkId: str,
    RouteAnalysisId: str,
) -> GetRouteAnalysisResponseTypeDef:  # (1)
    ...
  1. See GetRouteAnalysisResponseTypeDef
Usage example with kwargs
kwargs: GetRouteAnalysisRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "RouteAnalysisId": ...,
}

parent.get_route_analysis(**kwargs)
  1. See GetRouteAnalysisRequestRequestTypeDef

get_site_to_site_vpn_attachment

Returns information about a site-to-site VPN attachment.

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

Method definition
await def get_site_to_site_vpn_attachment(
    self,
    *,
    AttachmentId: str,
) -> GetSiteToSiteVpnAttachmentResponseTypeDef:  # (1)
    ...
  1. See GetSiteToSiteVpnAttachmentResponseTypeDef
Usage example with kwargs
kwargs: GetSiteToSiteVpnAttachmentRequestRequestTypeDef = {  # (1)
    "AttachmentId": ...,
}

parent.get_site_to_site_vpn_attachment(**kwargs)
  1. See GetSiteToSiteVpnAttachmentRequestRequestTypeDef

get_sites

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

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

Method definition
await def get_sites(
    self,
    *,
    GlobalNetworkId: str,
    SiteIds: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetSitesResponseTypeDef:  # (1)
    ...
  1. See GetSitesResponseTypeDef
Usage example with kwargs
kwargs: GetSitesRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_sites(**kwargs)
  1. See GetSitesRequestRequestTypeDef

get_transit_gateway_connect_peer_associations

Gets information about one or more of your transit gateway Connect peer associations in a global network.

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

Method definition
await def get_transit_gateway_connect_peer_associations(
    self,
    *,
    GlobalNetworkId: str,
    TransitGatewayConnectPeerArns: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetTransitGatewayConnectPeerAssociationsResponseTypeDef:  # (1)
    ...
  1. See GetTransitGatewayConnectPeerAssociationsResponseTypeDef
Usage example with kwargs
kwargs: GetTransitGatewayConnectPeerAssociationsRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_transit_gateway_connect_peer_associations(**kwargs)
  1. See GetTransitGatewayConnectPeerAssociationsRequestRequestTypeDef

get_transit_gateway_peering

Returns information about a transit gateway peer.

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

Method definition
await def get_transit_gateway_peering(
    self,
    *,
    PeeringId: str,
) -> GetTransitGatewayPeeringResponseTypeDef:  # (1)
    ...
  1. See GetTransitGatewayPeeringResponseTypeDef
Usage example with kwargs
kwargs: GetTransitGatewayPeeringRequestRequestTypeDef = {  # (1)
    "PeeringId": ...,
}

parent.get_transit_gateway_peering(**kwargs)
  1. See GetTransitGatewayPeeringRequestRequestTypeDef

get_transit_gateway_registrations

Gets information about the transit gateway registrations in a specified global network.

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

Method definition
await def get_transit_gateway_registrations(
    self,
    *,
    GlobalNetworkId: str,
    TransitGatewayArns: Sequence[str] = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetTransitGatewayRegistrationsResponseTypeDef:  # (1)
    ...
  1. See GetTransitGatewayRegistrationsResponseTypeDef
Usage example with kwargs
kwargs: GetTransitGatewayRegistrationsRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.get_transit_gateway_registrations(**kwargs)
  1. See GetTransitGatewayRegistrationsRequestRequestTypeDef

get_transit_gateway_route_table_attachment

Returns information about a transit gateway route table attachment.

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

Method definition
await def get_transit_gateway_route_table_attachment(
    self,
    *,
    AttachmentId: str,
) -> GetTransitGatewayRouteTableAttachmentResponseTypeDef:  # (1)
    ...
  1. See GetTransitGatewayRouteTableAttachmentResponseTypeDef
Usage example with kwargs
kwargs: GetTransitGatewayRouteTableAttachmentRequestRequestTypeDef = {  # (1)
    "AttachmentId": ...,
}

parent.get_transit_gateway_route_table_attachment(**kwargs)
  1. See GetTransitGatewayRouteTableAttachmentRequestRequestTypeDef

get_vpc_attachment

Returns information about a VPC attachment.

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

Method definition
await def get_vpc_attachment(
    self,
    *,
    AttachmentId: str,
) -> GetVpcAttachmentResponseTypeDef:  # (1)
    ...
  1. See GetVpcAttachmentResponseTypeDef
Usage example with kwargs
kwargs: GetVpcAttachmentRequestRequestTypeDef = {  # (1)
    "AttachmentId": ...,
}

parent.get_vpc_attachment(**kwargs)
  1. See GetVpcAttachmentRequestRequestTypeDef

list_attachments

Returns a list of core network attachments.

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

Method definition
await def list_attachments(
    self,
    *,
    CoreNetworkId: str = ...,
    AttachmentType: AttachmentTypeType = ...,  # (1)
    EdgeLocation: str = ...,
    State: AttachmentStateType = ...,  # (2)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListAttachmentsResponseTypeDef:  # (3)
    ...
  1. See AttachmentTypeType
  2. See AttachmentStateType
  3. See ListAttachmentsResponseTypeDef
Usage example with kwargs
kwargs: ListAttachmentsRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
}

parent.list_attachments(**kwargs)
  1. See ListAttachmentsRequestRequestTypeDef

list_connect_peers

Returns a list of core network Connect peers.

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

Method definition
await def list_connect_peers(
    self,
    *,
    CoreNetworkId: str = ...,
    ConnectAttachmentId: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListConnectPeersResponseTypeDef:  # (1)
    ...
  1. See ListConnectPeersResponseTypeDef
Usage example with kwargs
kwargs: ListConnectPeersRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
}

parent.list_connect_peers(**kwargs)
  1. See ListConnectPeersRequestRequestTypeDef

list_core_network_policy_versions

Returns a list of core network policy versions.

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

Method definition
await def list_core_network_policy_versions(
    self,
    *,
    CoreNetworkId: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListCoreNetworkPolicyVersionsResponseTypeDef:  # (1)
    ...
  1. See ListCoreNetworkPolicyVersionsResponseTypeDef
Usage example with kwargs
kwargs: ListCoreNetworkPolicyVersionsRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
}

parent.list_core_network_policy_versions(**kwargs)
  1. See ListCoreNetworkPolicyVersionsRequestRequestTypeDef

list_core_networks

Returns a list of owned and shared core networks.

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

Method definition
await def list_core_networks(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListCoreNetworksResponseTypeDef:  # (1)
    ...
  1. See ListCoreNetworksResponseTypeDef
Usage example with kwargs
kwargs: ListCoreNetworksRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_core_networks(**kwargs)
  1. See ListCoreNetworksRequestRequestTypeDef

list_organization_service_access_status

Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.

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

Method definition
await def list_organization_service_access_status(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListOrganizationServiceAccessStatusResponseTypeDef:  # (1)
    ...
  1. See ListOrganizationServiceAccessStatusResponseTypeDef
Usage example with kwargs
kwargs: ListOrganizationServiceAccessStatusRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_organization_service_access_status(**kwargs)
  1. See ListOrganizationServiceAccessStatusRequestRequestTypeDef

list_peerings

Lists the peerings for a core network.

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

Method definition
await def list_peerings(
    self,
    *,
    CoreNetworkId: str = ...,
    PeeringType: PeeringTypeType = ...,  # (1)
    EdgeLocation: str = ...,
    State: PeeringStateType = ...,  # (2)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListPeeringsResponseTypeDef:  # (3)
    ...
  1. See PeeringTypeType
  2. See PeeringStateType
  3. See ListPeeringsResponseTypeDef
Usage example with kwargs
kwargs: ListPeeringsRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
}

parent.list_peerings(**kwargs)
  1. See ListPeeringsRequestRequestTypeDef

list_tags_for_resource

Lists the tags for a specified resource.

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

Method definition
await def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

put_core_network_policy

Creates a new, immutable version of a core network policy.

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

Method definition
await def put_core_network_policy(
    self,
    *,
    CoreNetworkId: str,
    PolicyDocument: str,
    Description: str = ...,
    LatestVersionId: int = ...,
    ClientToken: str = ...,
) -> PutCoreNetworkPolicyResponseTypeDef:  # (1)
    ...
  1. See PutCoreNetworkPolicyResponseTypeDef
Usage example with kwargs
kwargs: PutCoreNetworkPolicyRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "PolicyDocument": ...,
}

parent.put_core_network_policy(**kwargs)
  1. See PutCoreNetworkPolicyRequestRequestTypeDef

put_resource_policy

Creates or updates a resource policy.

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

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

parent.put_resource_policy(**kwargs)
  1. See PutResourcePolicyRequestRequestTypeDef

register_transit_gateway

Registers a transit gateway in your global network.

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

Method definition
await def register_transit_gateway(
    self,
    *,
    GlobalNetworkId: str,
    TransitGatewayArn: str,
) -> RegisterTransitGatewayResponseTypeDef:  # (1)
    ...
  1. See RegisterTransitGatewayResponseTypeDef
Usage example with kwargs
kwargs: RegisterTransitGatewayRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "TransitGatewayArn": ...,
}

parent.register_transit_gateway(**kwargs)
  1. See RegisterTransitGatewayRequestRequestTypeDef

reject_attachment

Rejects a core network attachment request.

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

Method definition
await def reject_attachment(
    self,
    *,
    AttachmentId: str,
) -> RejectAttachmentResponseTypeDef:  # (1)
    ...
  1. See RejectAttachmentResponseTypeDef
Usage example with kwargs
kwargs: RejectAttachmentRequestRequestTypeDef = {  # (1)
    "AttachmentId": ...,
}

parent.reject_attachment(**kwargs)
  1. See RejectAttachmentRequestRequestTypeDef

restore_core_network_policy_version

Restores a previous policy version as a new, immutable version of a core network policy.

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

Method definition
await def restore_core_network_policy_version(
    self,
    *,
    CoreNetworkId: str,
    PolicyVersionId: int,
) -> RestoreCoreNetworkPolicyVersionResponseTypeDef:  # (1)
    ...
  1. See RestoreCoreNetworkPolicyVersionResponseTypeDef
Usage example with kwargs
kwargs: RestoreCoreNetworkPolicyVersionRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
    "PolicyVersionId": ...,
}

parent.restore_core_network_policy_version(**kwargs)
  1. See RestoreCoreNetworkPolicyVersionRequestRequestTypeDef

start_organization_service_access_update

Enables for the Network Manager service for an Amazon Web Services Organization.

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

Method definition
await def start_organization_service_access_update(
    self,
    *,
    Action: str,
) -> StartOrganizationServiceAccessUpdateResponseTypeDef:  # (1)
    ...
  1. See StartOrganizationServiceAccessUpdateResponseTypeDef
Usage example with kwargs
kwargs: StartOrganizationServiceAccessUpdateRequestRequestTypeDef = {  # (1)
    "Action": ...,
}

parent.start_organization_service_access_update(**kwargs)
  1. See StartOrganizationServiceAccessUpdateRequestRequestTypeDef

start_route_analysis

Starts analyzing the routing path between the specified source and destination.

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

Method definition
await def start_route_analysis(
    self,
    *,
    GlobalNetworkId: str,
    Source: RouteAnalysisEndpointOptionsSpecificationTypeDef,  # (1)
    Destination: RouteAnalysisEndpointOptionsSpecificationTypeDef,  # (1)
    IncludeReturnPath: bool = ...,
    UseMiddleboxes: bool = ...,
) -> StartRouteAnalysisResponseTypeDef:  # (3)
    ...
  1. See RouteAnalysisEndpointOptionsSpecificationTypeDef
  2. See RouteAnalysisEndpointOptionsSpecificationTypeDef
  3. See StartRouteAnalysisResponseTypeDef
Usage example with kwargs
kwargs: StartRouteAnalysisRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "Source": ...,
    "Destination": ...,
}

parent.start_route_analysis(**kwargs)
  1. See StartRouteAnalysisRequestRequestTypeDef

tag_resource

Tags a specified resource.

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

Method definition
await def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource

Removes tags from a specified resource.

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

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

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_connection

Updates the information for an existing connection.

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

Method definition
await def update_connection(
    self,
    *,
    GlobalNetworkId: str,
    ConnectionId: str,
    LinkId: str = ...,
    ConnectedLinkId: str = ...,
    Description: str = ...,
) -> UpdateConnectionResponseTypeDef:  # (1)
    ...
  1. See UpdateConnectionResponseTypeDef
Usage example with kwargs
kwargs: UpdateConnectionRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "ConnectionId": ...,
}

parent.update_connection(**kwargs)
  1. See UpdateConnectionRequestRequestTypeDef

update_core_network

Updates the description of a core network.

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

Method definition
await def update_core_network(
    self,
    *,
    CoreNetworkId: str,
    Description: str = ...,
) -> UpdateCoreNetworkResponseTypeDef:  # (1)
    ...
  1. See UpdateCoreNetworkResponseTypeDef
Usage example with kwargs
kwargs: UpdateCoreNetworkRequestRequestTypeDef = {  # (1)
    "CoreNetworkId": ...,
}

parent.update_core_network(**kwargs)
  1. See UpdateCoreNetworkRequestRequestTypeDef

update_device

Updates the details for an existing device.

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

Method definition
await def update_device(
    self,
    *,
    GlobalNetworkId: str,
    DeviceId: str,
    AWSLocation: AWSLocationTypeDef = ...,  # (1)
    Description: str = ...,
    Type: str = ...,
    Vendor: str = ...,
    Model: str = ...,
    SerialNumber: str = ...,
    Location: LocationTypeDef = ...,  # (2)
    SiteId: str = ...,
) -> UpdateDeviceResponseTypeDef:  # (3)
    ...
  1. See AWSLocationTypeDef
  2. See LocationTypeDef
  3. See UpdateDeviceResponseTypeDef
Usage example with kwargs
kwargs: UpdateDeviceRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "DeviceId": ...,
}

parent.update_device(**kwargs)
  1. See UpdateDeviceRequestRequestTypeDef

update_global_network

Updates an existing global network.

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

Method definition
await def update_global_network(
    self,
    *,
    GlobalNetworkId: str,
    Description: str = ...,
) -> UpdateGlobalNetworkResponseTypeDef:  # (1)
    ...
  1. See UpdateGlobalNetworkResponseTypeDef
Usage example with kwargs
kwargs: UpdateGlobalNetworkRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
}

parent.update_global_network(**kwargs)
  1. See UpdateGlobalNetworkRequestRequestTypeDef

Updates the details for an existing link.

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

Method definition
await def update_link(
    self,
    *,
    GlobalNetworkId: str,
    LinkId: str,
    Description: str = ...,
    Type: str = ...,
    Bandwidth: BandwidthTypeDef = ...,  # (1)
    Provider: str = ...,
) -> UpdateLinkResponseTypeDef:  # (2)
    ...
  1. See BandwidthTypeDef
  2. See UpdateLinkResponseTypeDef
Usage example with kwargs
kwargs: UpdateLinkRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "LinkId": ...,
}

parent.update_link(**kwargs)
  1. See UpdateLinkRequestRequestTypeDef

update_network_resource_metadata

Updates the resource metadata for the specified global network.

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

Method definition
await def update_network_resource_metadata(
    self,
    *,
    GlobalNetworkId: str,
    ResourceArn: str,
    Metadata: Mapping[str, str],
) -> UpdateNetworkResourceMetadataResponseTypeDef:  # (1)
    ...
  1. See UpdateNetworkResourceMetadataResponseTypeDef
Usage example with kwargs
kwargs: UpdateNetworkResourceMetadataRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "ResourceArn": ...,
    "Metadata": ...,
}

parent.update_network_resource_metadata(**kwargs)
  1. See UpdateNetworkResourceMetadataRequestRequestTypeDef

update_site

Updates the information for an existing site.

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

Method definition
await def update_site(
    self,
    *,
    GlobalNetworkId: str,
    SiteId: str,
    Description: str = ...,
    Location: LocationTypeDef = ...,  # (1)
) -> UpdateSiteResponseTypeDef:  # (2)
    ...
  1. See LocationTypeDef
  2. See UpdateSiteResponseTypeDef
Usage example with kwargs
kwargs: UpdateSiteRequestRequestTypeDef = {  # (1)
    "GlobalNetworkId": ...,
    "SiteId": ...,
}

parent.update_site(**kwargs)
  1. See UpdateSiteRequestRequestTypeDef

update_vpc_attachment

Updates a VPC attachment.

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

Method definition
await def update_vpc_attachment(
    self,
    *,
    AttachmentId: str,
    AddSubnetArns: Sequence[str] = ...,
    RemoveSubnetArns: Sequence[str] = ...,
    Options: VpcOptionsTypeDef = ...,  # (1)
) -> UpdateVpcAttachmentResponseTypeDef:  # (2)
    ...
  1. See VpcOptionsTypeDef
  2. See UpdateVpcAttachmentResponseTypeDef
Usage example with kwargs
kwargs: UpdateVpcAttachmentRequestRequestTypeDef = {  # (1)
    "AttachmentId": ...,
}

parent.update_vpc_attachment(**kwargs)
  1. See UpdateVpcAttachmentRequestRequestTypeDef

__aenter__

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

Method definition
await def __aenter__(
    self,
) -> NetworkManagerClient:
    ...

__aexit__

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

Method definition
await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator

Type annotations and code completion for session.client("networkmanager").get_paginator method with overloads.