NetworkManager

Table of Contents

Client

class NetworkManager.Client

A low-level client representing AWS Network Manager (NetworkManager)

Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your Amazon Web Services and on-premises networks that are built around transit gateways.

import boto3

client = boto3.client('networkmanager')

These are the available methods:

associate_customer_gateway(**kwargs)

Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate customer gateways that are connected to a VPN attachment on a transit gateway. The transit gateway must be registered in your global network. When you register a transit gateway, customer gateways that are connected to the transit gateway are automatically included in the global network. To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id .

You cannot associate a customer gateway with more than one device and link.

See also: AWS API Documentation

Request Syntax

response = client.associate_customer_gateway(
    CustomerGatewayArn='string',
    GlobalNetworkId='string',
    DeviceId='string',
    LinkId='string'
)
Parameters
  • CustomerGatewayArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the customer gateway.

  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceId (string) --

    [REQUIRED]

    The ID of the device.

  • LinkId (string) -- The ID of the link.
Return type

dict

Returns

Response Syntax

{
    'CustomerGatewayAssociation': {
        'CustomerGatewayArn': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'LinkId': 'string',
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • CustomerGatewayAssociation (dict) --

      The customer gateway association.

      • CustomerGatewayArn (string) --

        The Amazon Resource Name (ARN) of the customer gateway.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the device.

      • LinkId (string) --

        The ID of the link.

      • State (string) --

        The association state.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException

Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.

See also: AWS API Documentation

Request Syntax

response = client.associate_link(
    GlobalNetworkId='string',
    DeviceId='string',
    LinkId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceId (string) --

    [REQUIRED]

    The ID of the device.

  • LinkId (string) --

    [REQUIRED]

    The ID of the link.

Return type

dict

Returns

Response Syntax

{
    'LinkAssociation': {
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'LinkId': 'string',
        'LinkAssociationState': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • LinkAssociation (dict) --

      The link association.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The device ID for the link association.

      • LinkId (string) --

        The ID of the link.

      • LinkAssociationState (string) --

        The state of the association.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
associate_transit_gateway_connect_peer(**kwargs)

Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.

You cannot associate a transit gateway Connect peer with more than one device and link.

See also: AWS API Documentation

Request Syntax

response = client.associate_transit_gateway_connect_peer(
    GlobalNetworkId='string',
    TransitGatewayConnectPeerArn='string',
    DeviceId='string',
    LinkId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • TransitGatewayConnectPeerArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the Connect peer.

  • DeviceId (string) --

    [REQUIRED]

    The ID of the device.

  • LinkId (string) -- The ID of the link.
Return type

dict

Returns

Response Syntax

{
    'TransitGatewayConnectPeerAssociation': {
        'TransitGatewayConnectPeerArn': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'LinkId': 'string',
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • TransitGatewayConnectPeerAssociation (dict) --

      The transit gateway Connect peer association.

      • TransitGatewayConnectPeerArn (string) --

        The Amazon Resource Name (ARN) of the transit gateway Connect peer.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the device.

      • LinkId (string) --

        The ID of the link.

      • State (string) --

        The state of the association.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
can_paginate(operation_name)

Check if an operation can be paginated.

Parameters
operation_name (string) -- The operation name. This is the same name as the method name on the client. For example, if the method name is create_foo, and you'd normally invoke the operation as client.create_foo(**kwargs), if the create_foo operation can be paginated, you can use the call client.get_paginator("create_foo").
Returns
True if the operation can be paginated, False otherwise.
create_connection(**kwargs)

Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.

See also: AWS API Documentation

Request Syntax

response = client.create_connection(
    GlobalNetworkId='string',
    DeviceId='string',
    ConnectedDeviceId='string',
    LinkId='string',
    ConnectedLinkId='string',
    Description='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceId (string) --

    [REQUIRED]

    The ID of the first device in the connection.

  • ConnectedDeviceId (string) --

    [REQUIRED]

    The ID of the second device in the connection.

  • LinkId (string) -- The ID of the link for the first device.
  • ConnectedLinkId (string) -- The ID of the link for the second device.
  • Description (string) --

    A description of the connection.

    Length Constraints: Maximum length of 256 characters.

  • Tags (list) --

    The tags to apply to the resource during creation.

    • (dict) --

      Describes a tag.

      • Key (string) --

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value (string) --

        The tag value.

        Constraints: Maximum length of 256 characters.

Return type

dict

Returns

Response Syntax

{
    'Connection': {
        'ConnectionId': 'string',
        'ConnectionArn': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'ConnectedDeviceId': 'string',
        'LinkId': 'string',
        'ConnectedLinkId': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Connection (dict) --

      Information about the connection.

      • ConnectionId (string) --

        The ID of the connection.

      • ConnectionArn (string) --

        The Amazon Resource Name (ARN) of the connection.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the first device in the connection.

      • ConnectedDeviceId (string) --

        The ID of the second device in the connection.

      • LinkId (string) --

        The ID of the link for the first device in the connection.

      • ConnectedLinkId (string) --

        The ID of the link for the second device in the connection.

      • Description (string) --

        The description of the connection.

      • CreatedAt (datetime) --

        The date and time that the connection was created.

      • State (string) --

        The state of the connection.

      • Tags (list) --

        The tags for the connection.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
create_device(**kwargs)

Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

See also: AWS API Documentation

Request Syntax

response = client.create_device(
    GlobalNetworkId='string',
    AWSLocation={
        'Zone': 'string',
        'SubnetArn': 'string'
    },
    Description='string',
    Type='string',
    Vendor='string',
    Model='string',
    SerialNumber='string',
    Location={
        'Address': 'string',
        'Latitude': 'string',
        'Longitude': 'string'
    },
    SiteId='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • AWSLocation (dict) --

    The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

    • Zone (string) --

      The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

    • SubnetArn (string) --

      The Amazon Resource Name (ARN) of the subnet that the device is located in.

  • Description (string) --

    A description of the device.

    Constraints: Maximum length of 256 characters.

  • Type (string) -- The type of the device.
  • Vendor (string) --

    The vendor of the device.

    Constraints: Maximum length of 128 characters.

  • Model (string) --

    The model of the device.

    Constraints: Maximum length of 128 characters.

  • SerialNumber (string) --

    The serial number of the device.

    Constraints: Maximum length of 128 characters.

  • Location (dict) --

    The location of the device.

    • Address (string) --

      The physical address.

    • Latitude (string) --

      The latitude.

    • Longitude (string) --

      The longitude.

  • SiteId (string) -- The ID of the site.
  • Tags (list) --

    The tags to apply to the resource during creation.

    • (dict) --

      Describes a tag.

      • Key (string) --

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value (string) --

        The tag value.

        Constraints: Maximum length of 256 characters.

Return type

dict

Returns

Response Syntax

{
    'Device': {
        'DeviceId': 'string',
        'DeviceArn': 'string',
        'GlobalNetworkId': 'string',
        'AWSLocation': {
            'Zone': 'string',
            'SubnetArn': 'string'
        },
        'Description': 'string',
        'Type': 'string',
        'Vendor': 'string',
        'Model': 'string',
        'SerialNumber': 'string',
        'Location': {
            'Address': 'string',
            'Latitude': 'string',
            'Longitude': 'string'
        },
        'SiteId': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Device (dict) --

      Information about the device.

      • DeviceId (string) --

        The ID of the device.

      • DeviceArn (string) --

        The Amazon Resource Name (ARN) of the device.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • AWSLocation (dict) --

        The Amazon Web Services location of the device.

        • Zone (string) --

          The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

        • SubnetArn (string) --

          The Amazon Resource Name (ARN) of the subnet that the device is located in.

      • Description (string) --

        The description of the device.

      • Type (string) --

        The device type.

      • Vendor (string) --

        The device vendor.

      • Model (string) --

        The device model.

      • SerialNumber (string) --

        The device serial number.

      • Location (dict) --

        The site location.

        • Address (string) --

          The physical address.

        • Latitude (string) --

          The latitude.

        • Longitude (string) --

          The longitude.

      • SiteId (string) --

        The site ID.

      • CreatedAt (datetime) --

        The date and time that the site was created.

      • State (string) --

        The device state.

      • Tags (list) --

        The tags for the device.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
create_global_network(**kwargs)

Creates a new, empty global network.

See also: AWS API Documentation

Request Syntax

response = client.create_global_network(
    Description='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • Description (string) --

    A description of the global network.

    Constraints: Maximum length of 256 characters.

  • Tags (list) --

    The tags to apply to the resource during creation.

    • (dict) --

      Describes a tag.

      • Key (string) --

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value (string) --

        The tag value.

        Constraints: Maximum length of 256 characters.

Return type

dict

Returns

Response Syntax

{
    'GlobalNetwork': {
        'GlobalNetworkId': 'string',
        'GlobalNetworkArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • GlobalNetwork (dict) --

      Information about the global network object.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • GlobalNetworkArn (string) --

        The Amazon Resource Name (ARN) of the global network.

      • Description (string) --

        The description of the global network.

      • CreatedAt (datetime) --

        The date and time that the global network was created.

      • State (string) --

        The state of the global network.

      • Tags (list) --

        The tags for the global network.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException

Creates a new link for a specified site.

See also: AWS API Documentation

Request Syntax

response = client.create_link(
    GlobalNetworkId='string',
    Description='string',
    Type='string',
    Bandwidth={
        'UploadSpeed': 123,
        'DownloadSpeed': 123
    },
    Provider='string',
    SiteId='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • Description (string) --

    A description of the link.

    Constraints: Maximum length of 256 characters.

  • Type (string) --

    The type of the link.

    Constraints: Maximum length of 128 characters. Cannot include the following characters: | ^

  • Bandwidth (dict) --

    [REQUIRED]

    The upload speed and download speed in Mbps.

    • UploadSpeed (integer) --

      Upload speed in Mbps.

    • DownloadSpeed (integer) --

      Download speed in Mbps.

  • Provider (string) --

    The provider of the link.

    Constraints: Maximum length of 128 characters. Cannot include the following characters: | ^

  • SiteId (string) --

    [REQUIRED]

    The ID of the site.

  • Tags (list) --

    The tags to apply to the resource during creation.

    • (dict) --

      Describes a tag.

      • Key (string) --

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value (string) --

        The tag value.

        Constraints: Maximum length of 256 characters.

Return type

dict

Returns

Response Syntax

{
    'Link': {
        'LinkId': 'string',
        'LinkArn': 'string',
        'GlobalNetworkId': 'string',
        'SiteId': 'string',
        'Description': 'string',
        'Type': 'string',
        'Bandwidth': {
            'UploadSpeed': 123,
            'DownloadSpeed': 123
        },
        'Provider': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Link (dict) --

      Information about the link.

      • LinkId (string) --

        The ID of the link.

      • LinkArn (string) --

        The Amazon Resource Name (ARN) of the link.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • SiteId (string) --

        The ID of the site.

      • Description (string) --

        The description of the link.

      • Type (string) --

        The type of the link.

      • Bandwidth (dict) --

        The bandwidth for the link.

        • UploadSpeed (integer) --

          Upload speed in Mbps.

        • DownloadSpeed (integer) --

          Download speed in Mbps.

      • Provider (string) --

        The provider of the link.

      • CreatedAt (datetime) --

        The date and time that the link was created.

      • State (string) --

        The state of the link.

      • Tags (list) --

        The tags for the link.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
create_site(**kwargs)

Creates a new site in a global network.

See also: AWS API Documentation

Request Syntax

response = client.create_site(
    GlobalNetworkId='string',
    Description='string',
    Location={
        'Address': 'string',
        'Latitude': 'string',
        'Longitude': 'string'
    },
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • Description (string) --

    A description of your site.

    Constraints: Maximum length of 256 characters.

  • Location (dict) --

    The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

    • Address : The physical address of the site.
    • Latitude : The latitude of the site.
    • Longitude : The longitude of the site.
    • Address (string) --

      The physical address.

    • Latitude (string) --

      The latitude.

    • Longitude (string) --

      The longitude.

  • Tags (list) --

    The tags to apply to the resource during creation.

    • (dict) --

      Describes a tag.

      • Key (string) --

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value (string) --

        The tag value.

        Constraints: Maximum length of 256 characters.

Return type

dict

Returns

Response Syntax

{
    'Site': {
        'SiteId': 'string',
        'SiteArn': 'string',
        'GlobalNetworkId': 'string',
        'Description': 'string',
        'Location': {
            'Address': 'string',
            'Latitude': 'string',
            'Longitude': 'string'
        },
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Site (dict) --

      Information about the site.

      • SiteId (string) --

        The ID of the site.

      • SiteArn (string) --

        The Amazon Resource Name (ARN) of the site.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • Description (string) --

        The description of the site.

      • Location (dict) --

        The location of the site.

        • Address (string) --

          The physical address.

        • Latitude (string) --

          The latitude.

        • Longitude (string) --

          The longitude.

      • CreatedAt (datetime) --

        The date and time that the site was created.

      • State (string) --

        The state of the site.

      • Tags (list) --

        The tags for the site.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
delete_connection(**kwargs)

Deletes the specified connection in your global network.

See also: AWS API Documentation

Request Syntax

response = client.delete_connection(
    GlobalNetworkId='string',
    ConnectionId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ConnectionId (string) --

    [REQUIRED]

    The ID of the connection.

Return type

dict

Returns

Response Syntax

{
    'Connection': {
        'ConnectionId': 'string',
        'ConnectionArn': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'ConnectedDeviceId': 'string',
        'LinkId': 'string',
        'ConnectedLinkId': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Connection (dict) --

      Information about the connection.

      • ConnectionId (string) --

        The ID of the connection.

      • ConnectionArn (string) --

        The Amazon Resource Name (ARN) of the connection.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the first device in the connection.

      • ConnectedDeviceId (string) --

        The ID of the second device in the connection.

      • LinkId (string) --

        The ID of the link for the first device in the connection.

      • ConnectedLinkId (string) --

        The ID of the link for the second device in the connection.

      • Description (string) --

        The description of the connection.

      • CreatedAt (datetime) --

        The date and time that the connection was created.

      • State (string) --

        The state of the connection.

      • Tags (list) --

        The tags for the connection.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
delete_device(**kwargs)

Deletes an existing device. You must first disassociate the device from any links and customer gateways.

See also: AWS API Documentation

Request Syntax

response = client.delete_device(
    GlobalNetworkId='string',
    DeviceId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceId (string) --

    [REQUIRED]

    The ID of the device.

Return type

dict

Returns

Response Syntax

{
    'Device': {
        'DeviceId': 'string',
        'DeviceArn': 'string',
        'GlobalNetworkId': 'string',
        'AWSLocation': {
            'Zone': 'string',
            'SubnetArn': 'string'
        },
        'Description': 'string',
        'Type': 'string',
        'Vendor': 'string',
        'Model': 'string',
        'SerialNumber': 'string',
        'Location': {
            'Address': 'string',
            'Latitude': 'string',
            'Longitude': 'string'
        },
        'SiteId': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Device (dict) --

      Information about the device.

      • DeviceId (string) --

        The ID of the device.

      • DeviceArn (string) --

        The Amazon Resource Name (ARN) of the device.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • AWSLocation (dict) --

        The Amazon Web Services location of the device.

        • Zone (string) --

          The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

        • SubnetArn (string) --

          The Amazon Resource Name (ARN) of the subnet that the device is located in.

      • Description (string) --

        The description of the device.

      • Type (string) --

        The device type.

      • Vendor (string) --

        The device vendor.

      • Model (string) --

        The device model.

      • SerialNumber (string) --

        The device serial number.

      • Location (dict) --

        The site location.

        • Address (string) --

          The physical address.

        • Latitude (string) --

          The latitude.

        • Longitude (string) --

          The longitude.

      • SiteId (string) --

        The site ID.

      • CreatedAt (datetime) --

        The date and time that the site was created.

      • State (string) --

        The device state.

      • Tags (list) --

        The tags for the device.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
delete_global_network(**kwargs)

Deletes an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.

See also: AWS API Documentation

Request Syntax

response = client.delete_global_network(
    GlobalNetworkId='string'
)
Parameters
GlobalNetworkId (string) --

[REQUIRED]

The ID of the global network.

Return type
dict
Returns
Response Syntax
{
    'GlobalNetwork': {
        'GlobalNetworkId': 'string',
        'GlobalNetworkArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --
    • GlobalNetwork (dict) --

      Information about the global network.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • GlobalNetworkArn (string) --

        The Amazon Resource Name (ARN) of the global network.

      • Description (string) --

        The description of the global network.

      • CreatedAt (datetime) --

        The date and time that the global network was created.

      • State (string) --

        The state of the global network.

      • Tags (list) --

        The tags for the global network.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException

Deletes an existing link. You must first disassociate the link from any devices and customer gateways.

See also: AWS API Documentation

Request Syntax

response = client.delete_link(
    GlobalNetworkId='string',
    LinkId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • LinkId (string) --

    [REQUIRED]

    The ID of the link.

Return type

dict

Returns

Response Syntax

{
    'Link': {
        'LinkId': 'string',
        'LinkArn': 'string',
        'GlobalNetworkId': 'string',
        'SiteId': 'string',
        'Description': 'string',
        'Type': 'string',
        'Bandwidth': {
            'UploadSpeed': 123,
            'DownloadSpeed': 123
        },
        'Provider': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Link (dict) --

      Information about the link.

      • LinkId (string) --

        The ID of the link.

      • LinkArn (string) --

        The Amazon Resource Name (ARN) of the link.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • SiteId (string) --

        The ID of the site.

      • Description (string) --

        The description of the link.

      • Type (string) --

        The type of the link.

      • Bandwidth (dict) --

        The bandwidth for the link.

        • UploadSpeed (integer) --

          Upload speed in Mbps.

        • DownloadSpeed (integer) --

          Download speed in Mbps.

      • Provider (string) --

        The provider of the link.

      • CreatedAt (datetime) --

        The date and time that the link was created.

      • State (string) --

        The state of the link.

      • Tags (list) --

        The tags for the link.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
delete_site(**kwargs)

Deletes an existing site. The site cannot be associated with any device or link.

See also: AWS API Documentation

Request Syntax

response = client.delete_site(
    GlobalNetworkId='string',
    SiteId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • SiteId (string) --

    [REQUIRED]

    The ID of the site.

Return type

dict

Returns

Response Syntax

{
    'Site': {
        'SiteId': 'string',
        'SiteArn': 'string',
        'GlobalNetworkId': 'string',
        'Description': 'string',
        'Location': {
            'Address': 'string',
            'Latitude': 'string',
            'Longitude': 'string'
        },
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Site (dict) --

      Information about the site.

      • SiteId (string) --

        The ID of the site.

      • SiteArn (string) --

        The Amazon Resource Name (ARN) of the site.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • Description (string) --

        The description of the site.

      • Location (dict) --

        The location of the site.

        • Address (string) --

          The physical address.

        • Latitude (string) --

          The latitude.

        • Longitude (string) --

          The longitude.

      • CreatedAt (datetime) --

        The date and time that the site was created.

      • State (string) --

        The state of the site.

      • Tags (list) --

        The tags for the site.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
deregister_transit_gateway(**kwargs)

Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.

See also: AWS API Documentation

Request Syntax

response = client.deregister_transit_gateway(
    GlobalNetworkId='string',
    TransitGatewayArn='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • TransitGatewayArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the transit gateway.

Return type

dict

Returns

Response Syntax

{
    'TransitGatewayRegistration': {
        'GlobalNetworkId': 'string',
        'TransitGatewayArn': 'string',
        'State': {
            'Code': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'|'FAILED',
            'Message': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • TransitGatewayRegistration (dict) --

      The transit gateway registration information.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • TransitGatewayArn (string) --

        The Amazon Resource Name (ARN) of the transit gateway.

      • State (dict) --

        The state of the transit gateway registration.

        • Code (string) --

          The code for the state reason.

        • Message (string) --

          The message for the state reason.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
describe_global_networks(**kwargs)

Describes one or more global networks. By default, all global networks are described. To describe the objects in your global network, you must use the appropriate Get* action. For example, to list the transit gateways in your global network, use GetTransitGatewayRegistrations .

See also: AWS API Documentation

Request Syntax

response = client.describe_global_networks(
    GlobalNetworkIds=[
        'string',
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkIds (list) --

    The IDs of one or more global networks. The maximum is 10.

    • (string) --
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'GlobalNetworks': [
        {
            'GlobalNetworkId': 'string',
            'GlobalNetworkArn': 'string',
            'Description': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • GlobalNetworks (list) --

      Information about the global networks.

      • (dict) --

        Describes a global network.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • GlobalNetworkArn (string) --

          The Amazon Resource Name (ARN) of the global network.

        • Description (string) --

          The description of the global network.

        • CreatedAt (datetime) --

          The date and time that the global network was created.

        • State (string) --

          The state of the global network.

        • Tags (list) --

          The tags for the global network.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
disassociate_customer_gateway(**kwargs)

Disassociates a customer gateway from a device and a link.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_customer_gateway(
    GlobalNetworkId='string',
    CustomerGatewayArn='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • CustomerGatewayArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the customer gateway.

Return type

dict

Returns

Response Syntax

{
    'CustomerGatewayAssociation': {
        'CustomerGatewayArn': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'LinkId': 'string',
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • CustomerGatewayAssociation (dict) --

      Information about the customer gateway association.

      • CustomerGatewayArn (string) --

        The Amazon Resource Name (ARN) of the customer gateway.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the device.

      • LinkId (string) --

        The ID of the link.

      • State (string) --

        The association state.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException

Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_link(
    GlobalNetworkId='string',
    DeviceId='string',
    LinkId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceId (string) --

    [REQUIRED]

    The ID of the device.

  • LinkId (string) --

    [REQUIRED]

    The ID of the link.

Return type

dict

Returns

Response Syntax

{
    'LinkAssociation': {
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'LinkId': 'string',
        'LinkAssociationState': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • LinkAssociation (dict) --

      Information about the link association.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The device ID for the link association.

      • LinkId (string) --

        The ID of the link.

      • LinkAssociationState (string) --

        The state of the association.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
disassociate_transit_gateway_connect_peer(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.disassociate_transit_gateway_connect_peer(
    GlobalNetworkId='string',
    TransitGatewayConnectPeerArn='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • TransitGatewayConnectPeerArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the transit gateway Connect peer.

Return type

dict

Returns

Response Syntax

{
    'TransitGatewayConnectPeerAssociation': {
        'TransitGatewayConnectPeerArn': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'LinkId': 'string',
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • TransitGatewayConnectPeerAssociation (dict) --

      The transit gateway Connect peer association.

      • TransitGatewayConnectPeerArn (string) --

        The Amazon Resource Name (ARN) of the transit gateway Connect peer.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the device.

      • LinkId (string) --

        The ID of the link.

      • State (string) --

        The state of the association.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_connections(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.get_connections(
    GlobalNetworkId='string',
    ConnectionIds=[
        'string',
    ],
    DeviceId='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ConnectionIds (list) --

    One or more connection IDs.

    • (string) --
  • DeviceId (string) -- The ID of the device.
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'Connections': [
        {
            'ConnectionId': 'string',
            'ConnectionArn': 'string',
            'GlobalNetworkId': 'string',
            'DeviceId': 'string',
            'ConnectedDeviceId': 'string',
            'LinkId': 'string',
            'ConnectedLinkId': 'string',
            'Description': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Connections (list) --

      Information about the connections.

      • (dict) --

        Describes a connection.

        • ConnectionId (string) --

          The ID of the connection.

        • ConnectionArn (string) --

          The Amazon Resource Name (ARN) of the connection.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The ID of the first device in the connection.

        • ConnectedDeviceId (string) --

          The ID of the second device in the connection.

        • LinkId (string) --

          The ID of the link for the first device in the connection.

        • ConnectedLinkId (string) --

          The ID of the link for the second device in the connection.

        • Description (string) --

          The description of the connection.

        • CreatedAt (datetime) --

          The date and time that the connection was created.

        • State (string) --

          The state of the connection.

        • Tags (list) --

          The tags for the connection.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

    • NextToken (string) --

      The token to use for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_customer_gateway_associations(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.get_customer_gateway_associations(
    GlobalNetworkId='string',
    CustomerGatewayArns=[
        'string',
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • CustomerGatewayArns (list) --

    One or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.

    • (string) --
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'CustomerGatewayAssociations': [
        {
            'CustomerGatewayArn': 'string',
            'GlobalNetworkId': 'string',
            'DeviceId': 'string',
            'LinkId': 'string',
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • CustomerGatewayAssociations (list) --

      The customer gateway associations.

      • (dict) --

        Describes the association between a customer gateway, a device, and a link.

        • CustomerGatewayArn (string) --

          The Amazon Resource Name (ARN) of the customer gateway.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The ID of the device.

        • LinkId (string) --

          The ID of the link.

        • State (string) --

          The association state.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_devices(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.get_devices(
    GlobalNetworkId='string',
    DeviceIds=[
        'string',
    ],
    SiteId='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceIds (list) --

    One or more device IDs. The maximum is 10.

    • (string) --
  • SiteId (string) -- The ID of the site.
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'Devices': [
        {
            'DeviceId': 'string',
            'DeviceArn': 'string',
            'GlobalNetworkId': 'string',
            'AWSLocation': {
                'Zone': 'string',
                'SubnetArn': 'string'
            },
            'Description': 'string',
            'Type': 'string',
            'Vendor': 'string',
            'Model': 'string',
            'SerialNumber': 'string',
            'Location': {
                'Address': 'string',
                'Latitude': 'string',
                'Longitude': 'string'
            },
            'SiteId': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Devices (list) --

      The devices.

      • (dict) --

        Describes a device.

        • DeviceId (string) --

          The ID of the device.

        • DeviceArn (string) --

          The Amazon Resource Name (ARN) of the device.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • AWSLocation (dict) --

          The Amazon Web Services location of the device.

          • Zone (string) --

            The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

          • SubnetArn (string) --

            The Amazon Resource Name (ARN) of the subnet that the device is located in.

        • Description (string) --

          The description of the device.

        • Type (string) --

          The device type.

        • Vendor (string) --

          The device vendor.

        • Model (string) --

          The device model.

        • SerialNumber (string) --

          The device serial number.

        • Location (dict) --

          The site location.

          • Address (string) --

            The physical address.

          • Latitude (string) --

            The latitude.

          • Longitude (string) --

            The longitude.

        • SiteId (string) --

          The site ID.

        • CreatedAt (datetime) --

          The date and time that the site was created.

        • State (string) --

          The device state.

        • Tags (list) --

          The tags for the device.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException

Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.

See also: AWS API Documentation

Request Syntax

response = client.get_link_associations(
    GlobalNetworkId='string',
    DeviceId='string',
    LinkId='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceId (string) -- The ID of the device.
  • LinkId (string) -- The ID of the link.
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'LinkAssociations': [
        {
            'GlobalNetworkId': 'string',
            'DeviceId': 'string',
            'LinkId': 'string',
            'LinkAssociationState': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • LinkAssociations (list) --

      The link associations.

      • (dict) --

        Describes the association between a device and a link.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The device ID for the link association.

        • LinkId (string) --

          The ID of the link.

        • LinkAssociationState (string) --

          The state of the association.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException

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

If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.

See also: AWS API Documentation

Request Syntax

response = client.get_links(
    GlobalNetworkId='string',
    LinkIds=[
        'string',
    ],
    SiteId='string',
    Type='string',
    Provider='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • LinkIds (list) --

    One or more link IDs. The maximum is 10.

    • (string) --
  • SiteId (string) -- The ID of the site.
  • Type (string) -- The link type.
  • Provider (string) -- The link provider.
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'Links': [
        {
            'LinkId': 'string',
            'LinkArn': 'string',
            'GlobalNetworkId': 'string',
            'SiteId': 'string',
            'Description': 'string',
            'Type': 'string',
            'Bandwidth': {
                'UploadSpeed': 123,
                'DownloadSpeed': 123
            },
            'Provider': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Links (list) --

      The links.

      • (dict) --

        Describes a link.

        • LinkId (string) --

          The ID of the link.

        • LinkArn (string) --

          The Amazon Resource Name (ARN) of the link.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • SiteId (string) --

          The ID of the site.

        • Description (string) --

          The description of the link.

        • Type (string) --

          The type of the link.

        • Bandwidth (dict) --

          The bandwidth for the link.

          • UploadSpeed (integer) --

            Upload speed in Mbps.

          • DownloadSpeed (integer) --

            Download speed in Mbps.

        • Provider (string) --

          The provider of the link.

        • CreatedAt (datetime) --

          The date and time that the link was created.

        • State (string) --

          The state of the link.

        • Tags (list) --

          The tags for the link.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_network_resource_counts(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.get_network_resource_counts(
    GlobalNetworkId='string',
    ResourceType='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ResourceType (string) --

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon
    • dx-gateway
    • dx-vif

    The following are the supported resource types for Network Manager:

    • connection
    • device
    • link
    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway
    • transit-gateway
    • transit-gateway-attachment
    • transit-gateway-connect-peer
    • transit-gateway-route-table
    • vpn-connection
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'NetworkResourceCounts': [
        {
            'ResourceType': 'string',
            'Count': 123
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • NetworkResourceCounts (list) --

      The count of resources.

      • (dict) --

        Describes a resource count.

        • ResourceType (string) --

          The resource type.

        • Count (integer) --

          The resource count.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_network_resource_relationships(**kwargs)

Gets the network resource relationships for the specified global network.

See also: AWS API Documentation

Request Syntax

response = client.get_network_resource_relationships(
    GlobalNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • RegisteredGatewayArn (string) -- The ARN of the registered gateway.
  • AwsRegion (string) -- The Amazon Web Services Region.
  • AccountId (string) -- The Amazon Web Services account ID.
  • ResourceType (string) --

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon
    • dx-gateway
    • dx-vif

    The following are the supported resource types for Network Manager:

    • connection
    • device
    • link
    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway
    • transit-gateway
    • transit-gateway-attachment
    • transit-gateway-connect-peer
    • transit-gateway-route-table
    • vpn-connection
  • ResourceArn (string) -- The ARN of the gateway.
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'Relationships': [
        {
            'From': 'string',
            'To': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Relationships (list) --

      The resource relationships.

      • (dict) --

        Describes a resource relationship.

        • From (string) --

          The ARN of the resource.

        • To (string) --

          The ARN of the resource.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_network_resources(**kwargs)

Describes the network resources for the specified global network.

The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.

See also: AWS API Documentation

Request Syntax

response = client.get_network_resources(
    GlobalNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • RegisteredGatewayArn (string) -- The ARN of the gateway.
  • AwsRegion (string) -- The Amazon Web Services Region.
  • AccountId (string) -- The Amazon Web Services account ID.
  • ResourceType (string) --

    The resource type.

    The following are the supported resource types for Direct Connect:

    The following are the supported resource types for Network Manager:

    • connection - The definition model is Connection .
    • device - The definition model is Device .
    • link - The definition model is Link .
    • site - The definition model is Site .

    The following are the supported resource types for Amazon VPC:

  • ResourceArn (string) -- The ARN of the resource.
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'NetworkResources': [
        {
            'RegisteredGatewayArn': 'string',
            'AwsRegion': 'string',
            'AccountId': 'string',
            'ResourceType': 'string',
            'ResourceId': 'string',
            'ResourceArn': 'string',
            'Definition': 'string',
            'DefinitionTimestamp': datetime(2015, 1, 1),
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'Metadata': {
                'string': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • NetworkResources (list) --

      The network resources.

      • (dict) --

        Describes a network resource.

        • RegisteredGatewayArn (string) --

          The ARN of the gateway.

        • AwsRegion (string) --

          The Amazon Web Services Region.

        • AccountId (string) --

          The Amazon Web Services account ID.

        • ResourceType (string) --

          The resource type.

          The following are the supported resource types for Direct Connect:

          • dxcon
          • dx-gateway
          • dx-vif

          The following are the supported resource types for Network Manager:

          • connection
          • device
          • link
          • site

          The following are the supported resource types for Amazon VPC:

          • customer-gateway
          • transit-gateway
          • transit-gateway-attachment
          • transit-gateway-connect-peer
          • transit-gateway-route-table
          • vpn-connection
        • ResourceId (string) --

          The ID of the resource.

        • ResourceArn (string) --

          The ARN of the resource.

        • Definition (string) --

          Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

        • DefinitionTimestamp (datetime) --

          The time that the resource definition was retrieved.

        • Tags (list) --

          The tags.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

        • Metadata (dict) --

          The resource metadata.

          • (string) --
            • (string) --
    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_network_routes(**kwargs)

Gets the network routes of the specified global network.

See also: AWS API Documentation

Request Syntax

response = client.get_network_routes(
    GlobalNetworkId='string',
    RouteTableIdentifier={
        'TransitGatewayRouteTableArn': 'string'
    },
    ExactCidrMatches=[
        'string',
    ],
    LongestPrefixMatches=[
        'string',
    ],
    SubnetOfMatches=[
        'string',
    ],
    SupernetOfMatches=[
        'string',
    ],
    PrefixListIds=[
        'string',
    ],
    States=[
        'ACTIVE'|'BLACKHOLE',
    ],
    Types=[
        'PROPAGATED'|'STATIC',
    ],
    DestinationFilters={
        'string': [
            'string',
        ]
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • RouteTableIdentifier (dict) --

    [REQUIRED]

    The ID of the route table.

    • TransitGatewayRouteTableArn (string) --

      The ARN of the transit gateway route table.

  • ExactCidrMatches (list) --

    An exact CIDR block.

    • (string) --
  • LongestPrefixMatches (list) --

    The most specific route that matches the traffic (longest prefix match).

    • (string) --
  • SubnetOfMatches (list) --

    The routes with a subnet that match the specified CIDR filter.

    • (string) --
  • SupernetOfMatches (list) --

    The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.

    • (string) --
  • PrefixListIds (list) --

    The IDs of the prefix lists.

    • (string) --
  • States (list) --

    The route states.

    • (string) --
  • Types (list) --

    The route types.

    • (string) --
  • DestinationFilters (dict) --

    Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.

    • (string) --
      • (list) --
        • (string) --
Return type

dict

Returns

Response Syntax

{
    'RouteTableArn': 'string',
    'RouteTableType': 'TRANSIT_GATEWAY_ROUTE_TABLE',
    'RouteTableTimestamp': datetime(2015, 1, 1),
    'NetworkRoutes': [
        {
            'DestinationCidrBlock': 'string',
            'Destinations': [
                {
                    'TransitGatewayAttachmentId': 'string',
                    'ResourceType': 'string',
                    'ResourceId': 'string'
                },
            ],
            'PrefixListId': 'string',
            'State': 'ACTIVE'|'BLACKHOLE',
            'Type': 'PROPAGATED'|'STATIC'
        },
    ]
}

Response Structure

  • (dict) --

    • RouteTableArn (string) --

      The ARN of the route table.

    • RouteTableType (string) --

      The route table type.

    • RouteTableTimestamp (datetime) --

      The route table creation time.

    • NetworkRoutes (list) --

      The network routes.

      • (dict) --

        Describes a network route.

        • DestinationCidrBlock (string) --

          A unique identifier for the route, such as a CIDR block.

        • Destinations (list) --

          The destinations.

          • (dict) --

            Describes the destination of a network route.

            • TransitGatewayAttachmentId (string) --

              The ID of the transit gateway attachment.

            • ResourceType (string) --

              The resource type.

            • ResourceId (string) --

              The ID of the resource.

        • PrefixListId (string) --

          The ID of the prefix list.

        • State (string) --

          The route state. The possible values are active and blackhole .

        • Type (string) --

          The route type. The possible values are propagated and static .

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_network_telemetry(**kwargs)

Gets the network telemetry of the specified global network.

See also: AWS API Documentation

Request Syntax

response = client.get_network_telemetry(
    GlobalNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • RegisteredGatewayArn (string) -- The ARN of the gateway.
  • AwsRegion (string) -- The Amazon Web Services Region.
  • AccountId (string) -- The Amazon Web Services account ID.
  • ResourceType (string) --

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon
    • dx-gateway
    • dx-vif

    The following are the supported resource types for Network Manager:

    • connection
    • device
    • link
    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway
    • transit-gateway
    • transit-gateway-attachment
    • transit-gateway-connect-peer
    • transit-gateway-route-table
    • vpn-connection
  • ResourceArn (string) -- The ARN of the resource.
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'NetworkTelemetry': [
        {
            'RegisteredGatewayArn': 'string',
            'AwsRegion': 'string',
            'AccountId': 'string',
            'ResourceType': 'string',
            'ResourceId': 'string',
            'ResourceArn': 'string',
            'Address': 'string',
            'Health': {
                'Type': 'BGP'|'IPSEC',
                'Status': 'UP'|'DOWN',
                'Timestamp': datetime(2015, 1, 1)
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • NetworkTelemetry (list) --

      The network telemetry.

      • (dict) --

        Describes the telemetry information for a resource.

        • RegisteredGatewayArn (string) --

          The ARN of the gateway.

        • AwsRegion (string) --

          The Amazon Web Services Region.

        • AccountId (string) --

          The Amazon Web Services account ID.

        • ResourceType (string) --

          The resource type.

        • ResourceId (string) --

          The ID of the resource.

        • ResourceArn (string) --

          The ARN of the resource.

        • Address (string) --

          The address.

        • Health (dict) --

          The connection health.

          • Type (string) --

            The connection type.

          • Status (string) --

            The connection status.

          • Timestamp (datetime) --

            The time the status was last updated.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_paginator(operation_name)

Create a paginator for an operation.

Parameters
operation_name (string) -- The operation name. This is the same name as the method name on the client. For example, if the method name is create_foo, and you'd normally invoke the operation as client.create_foo(**kwargs), if the create_foo operation can be paginated, you can use the call client.get_paginator("create_foo").
Raises OperationNotPageableError
Raised if the operation is not pageable. You can use the client.can_paginate method to check if an operation is pageable.
Return type
L{botocore.paginate.Paginator}
Returns
A paginator object.
get_route_analysis(**kwargs)

Gets information about the specified route analysis.

See also: AWS API Documentation

Request Syntax

response = client.get_route_analysis(
    GlobalNetworkId='string',
    RouteAnalysisId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • RouteAnalysisId (string) --

    [REQUIRED]

    The ID of the route analysis.

Return type

dict

Returns

Response Syntax

{
    'RouteAnalysis': {
        'GlobalNetworkId': 'string',
        'OwnerAccountId': 'string',
        'RouteAnalysisId': 'string',
        'StartTimestamp': datetime(2015, 1, 1),
        'Status': 'RUNNING'|'COMPLETED'|'FAILED',
        'Source': {
            'TransitGatewayAttachmentArn': 'string',
            'TransitGatewayArn': 'string',
            'IpAddress': 'string'
        },
        'Destination': {
            'TransitGatewayAttachmentArn': 'string',
            'TransitGatewayArn': 'string',
            'IpAddress': 'string'
        },
        'IncludeReturnPath': True|False,
        'UseMiddleboxes': True|False,
        'ForwardPath': {
            'CompletionStatus': {
                'ResultCode': 'CONNECTED'|'NOT_CONNECTED',
                'ReasonCode': 'TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND'|'TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY'|'CYCLIC_PATH_DETECTED'|'TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND'|'ROUTE_NOT_FOUND'|'BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND'|'INACTIVE_ROUTE_FOR_DESTINATION_FOUND'|'TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH'|'MAX_HOPS_EXCEEDED'|'POSSIBLE_MIDDLEBOX'|'NO_DESTINATION_ARN_PROVIDED',
                'ReasonContext': {
                    'string': 'string'
                }
            },
            'Path': [
                {
                    'Sequence': 123,
                    'Resource': {
                        'RegisteredGatewayArn': 'string',
                        'ResourceArn': 'string',
                        'ResourceType': 'string',
                        'Definition': 'string',
                        'NameTag': 'string',
                        'IsMiddlebox': True|False
                    },
                    'DestinationCidrBlock': 'string'
                },
            ]
        },
        'ReturnPath': {
            'CompletionStatus': {
                'ResultCode': 'CONNECTED'|'NOT_CONNECTED',
                'ReasonCode': 'TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND'|'TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY'|'CYCLIC_PATH_DETECTED'|'TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND'|'ROUTE_NOT_FOUND'|'BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND'|'INACTIVE_ROUTE_FOR_DESTINATION_FOUND'|'TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH'|'MAX_HOPS_EXCEEDED'|'POSSIBLE_MIDDLEBOX'|'NO_DESTINATION_ARN_PROVIDED',
                'ReasonContext': {
                    'string': 'string'
                }
            },
            'Path': [
                {
                    'Sequence': 123,
                    'Resource': {
                        'RegisteredGatewayArn': 'string',
                        'ResourceArn': 'string',
                        'ResourceType': 'string',
                        'Definition': 'string',
                        'NameTag': 'string',
                        'IsMiddlebox': True|False
                    },
                    'DestinationCidrBlock': 'string'
                },
            ]
        }
    }
}

Response Structure

  • (dict) --

    • RouteAnalysis (dict) --

      The route analysis.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • OwnerAccountId (string) --

        The ID of the AWS account that created the route analysis.

      • RouteAnalysisId (string) --

        The ID of the route analysis.

      • StartTimestamp (datetime) --

        The time that the analysis started.

      • Status (string) --

        The status of the route analysis.

      • Source (dict) --

        The source.

        • TransitGatewayAttachmentArn (string) --

          The ARN of the transit gateway attachment.

        • TransitGatewayArn (string) --

          The ARN of the transit gateway.

        • IpAddress (string) --

          The IP address.

      • Destination (dict) --

        The destination.

        • TransitGatewayAttachmentArn (string) --

          The ARN of the transit gateway attachment.

        • TransitGatewayArn (string) --

          The ARN of the transit gateway.

        • IpAddress (string) --

          The IP address.

      • IncludeReturnPath (boolean) --

        Indicates whether to analyze the return path. The return path is not analyzed if the forward path analysis does not succeed.

      • UseMiddleboxes (boolean) --

        Indicates whether to include the location of middlebox appliances in the route analysis.

      • ForwardPath (dict) --

        The forward path.

        • CompletionStatus (dict) --

          The status of the analysis at completion.

          • ResultCode (string) --

            The result of the analysis. If the status is NOT_CONNECTED , check the reason code.

          • ReasonCode (string) --

            The reason code. Available only if a connection is not found.

            • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.
            • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
            • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.
            • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
            • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
            • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
            • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
            • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
            • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.
          • ReasonContext (dict) --

            Additional information about the path. Available only if a connection is not found.

            • (string) --
              • (string) --
        • Path (list) --

          The route analysis path.

          • (dict) --

            Describes a path component.

            • Sequence (integer) --

              The sequence number in the path. The destination is 0.

            • Resource (dict) --

              The resource.

              • RegisteredGatewayArn (string) --

                The ARN of the gateway.

              • ResourceArn (string) --

                The ARN of the resource.

              • ResourceType (string) --

                The resource type.

              • Definition (string) --

                Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

              • NameTag (string) --

                The value for the Name tag.

              • IsMiddlebox (boolean) --

                Indicates whether this is a middlebox appliance.

            • DestinationCidrBlock (string) --

              The destination CIDR block in the route table.

      • ReturnPath (dict) --

        The return path.

        • CompletionStatus (dict) --

          The status of the analysis at completion.

          • ResultCode (string) --

            The result of the analysis. If the status is NOT_CONNECTED , check the reason code.

          • ReasonCode (string) --

            The reason code. Available only if a connection is not found.

            • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.
            • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
            • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.
            • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
            • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
            • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
            • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
            • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
            • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.
          • ReasonContext (dict) --

            Additional information about the path. Available only if a connection is not found.

            • (string) --
              • (string) --
        • Path (list) --

          The route analysis path.

          • (dict) --

            Describes a path component.

            • Sequence (integer) --

              The sequence number in the path. The destination is 0.

            • Resource (dict) --

              The resource.

              • RegisteredGatewayArn (string) --

                The ARN of the gateway.

              • ResourceArn (string) --

                The ARN of the resource.

              • ResourceType (string) --

                The resource type.

              • Definition (string) --

                Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

              • NameTag (string) --

                The value for the Name tag.

              • IsMiddlebox (boolean) --

                Indicates whether this is a middlebox appliance.

            • DestinationCidrBlock (string) --

              The destination CIDR block in the route table.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_sites(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.get_sites(
    GlobalNetworkId='string',
    SiteIds=[
        'string',
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • SiteIds (list) --

    One or more site IDs. The maximum is 10.

    • (string) --
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'Sites': [
        {
            'SiteId': 'string',
            'SiteArn': 'string',
            'GlobalNetworkId': 'string',
            'Description': 'string',
            'Location': {
                'Address': 'string',
                'Latitude': 'string',
                'Longitude': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Sites (list) --

      The sites.

      • (dict) --

        Describes a site.

        • SiteId (string) --

          The ID of the site.

        • SiteArn (string) --

          The Amazon Resource Name (ARN) of the site.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • Description (string) --

          The description of the site.

        • Location (dict) --

          The location of the site.

          • Address (string) --

            The physical address.

          • Latitude (string) --

            The latitude.

          • Longitude (string) --

            The longitude.

        • CreatedAt (datetime) --

          The date and time that the site was created.

        • State (string) --

          The state of the site.

        • Tags (list) --

          The tags for the site.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_transit_gateway_connect_peer_associations(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.get_transit_gateway_connect_peer_associations(
    GlobalNetworkId='string',
    TransitGatewayConnectPeerArns=[
        'string',
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • TransitGatewayConnectPeerArns (list) --

    One or more transit gateway Connect peer Amazon Resource Names (ARNs).

    • (string) --
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'TransitGatewayConnectPeerAssociations': [
        {
            'TransitGatewayConnectPeerArn': 'string',
            'GlobalNetworkId': 'string',
            'DeviceId': 'string',
            'LinkId': 'string',
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • TransitGatewayConnectPeerAssociations (list) --

      Information about the transit gateway Connect peer associations.

      • (dict) --

        Describes a transit gateway Connect peer association.

        • TransitGatewayConnectPeerArn (string) --

          The Amazon Resource Name (ARN) of the transit gateway Connect peer.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The ID of the device.

        • LinkId (string) --

          The ID of the link.

        • State (string) --

          The state of the association.

    • NextToken (string) --

      The token to use for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_transit_gateway_registrations(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.get_transit_gateway_registrations(
    GlobalNetworkId='string',
    TransitGatewayArns=[
        'string',
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • TransitGatewayArns (list) --

    The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.

    • (string) --
  • MaxResults (integer) -- The maximum number of results to return.
  • NextToken (string) -- The token for the next page of results.
Return type

dict

Returns

Response Syntax

{
    'TransitGatewayRegistrations': [
        {
            'GlobalNetworkId': 'string',
            'TransitGatewayArn': 'string',
            'State': {
                'Code': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'|'FAILED',
                'Message': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • TransitGatewayRegistrations (list) --

      The transit gateway registrations.

      • (dict) --

        Describes the registration of a transit gateway to a global network.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • TransitGatewayArn (string) --

          The Amazon Resource Name (ARN) of the transit gateway.

        • State (dict) --

          The state of the transit gateway registration.

          • Code (string) --

            The code for the state reason.

          • Message (string) --

            The message for the state reason.

    • NextToken (string) --

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
get_waiter(waiter_name)

Returns an object that can wait for some condition.

Parameters
waiter_name (str) -- The name of the waiter to get. See the waiters section of the service docs for a list of available waiters.
Returns
The specified waiter object.
Return type
botocore.waiter.Waiter
list_tags_for_resource(**kwargs)

Lists the tags for a specified resource.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters
ResourceArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the resource.

Return type
dict
Returns
Response Syntax
{
    'TagList': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) --
    • TagList (list) --

      The list of tags.

      • (dict) --

        Describes a tag.

        • Key (string) --

          The tag key.

          Constraints: Maximum length of 128 characters.

        • Value (string) --

          The tag value.

          Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
register_transit_gateway(**kwargs)

Registers a transit gateway in your global network. The transit gateway can be in any Amazon Web Services Region, but it must be owned by the same Amazon Web Services account that owns the global network. You cannot register a transit gateway in more than one global network.

See also: AWS API Documentation

Request Syntax

response = client.register_transit_gateway(
    GlobalNetworkId='string',
    TransitGatewayArn='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • TransitGatewayArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the transit gateway.

Return type

dict

Returns

Response Syntax

{
    'TransitGatewayRegistration': {
        'GlobalNetworkId': 'string',
        'TransitGatewayArn': 'string',
        'State': {
            'Code': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'|'FAILED',
            'Message': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • TransitGatewayRegistration (dict) --

      Information about the transit gateway registration.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • TransitGatewayArn (string) --

        The Amazon Resource Name (ARN) of the transit gateway.

      • State (dict) --

        The state of the transit gateway registration.

        • Code (string) --

          The code for the state reason.

        • Message (string) --

          The message for the state reason.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
start_route_analysis(**kwargs)

Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer .

See also: AWS API Documentation

Request Syntax

response = client.start_route_analysis(
    GlobalNetworkId='string',
    Source={
        'TransitGatewayAttachmentArn': 'string',
        'IpAddress': 'string'
    },
    Destination={
        'TransitGatewayAttachmentArn': 'string',
        'IpAddress': 'string'
    },
    IncludeReturnPath=True|False,
    UseMiddleboxes=True|False
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • Source (dict) --

    [REQUIRED]

    The source from which traffic originates.

    • TransitGatewayAttachmentArn (string) --

      The ARN of the transit gateway attachment.

    • IpAddress (string) --

      The IP address.

  • Destination (dict) --

    [REQUIRED]

    The destination.

    • TransitGatewayAttachmentArn (string) --

      The ARN of the transit gateway attachment.

    • IpAddress (string) --

      The IP address.

  • IncludeReturnPath (boolean) -- Indicates whether to analyze the return path. The default is false .
  • UseMiddleboxes (boolean) -- Indicates whether to include the location of middlebox appliances in the route analysis. The default is false .
Return type

dict

Returns

Response Syntax

{
    'RouteAnalysis': {
        'GlobalNetworkId': 'string',
        'OwnerAccountId': 'string',
        'RouteAnalysisId': 'string',
        'StartTimestamp': datetime(2015, 1, 1),
        'Status': 'RUNNING'|'COMPLETED'|'FAILED',
        'Source': {
            'TransitGatewayAttachmentArn': 'string',
            'TransitGatewayArn': 'string',
            'IpAddress': 'string'
        },
        'Destination': {
            'TransitGatewayAttachmentArn': 'string',
            'TransitGatewayArn': 'string',
            'IpAddress': 'string'
        },
        'IncludeReturnPath': True|False,
        'UseMiddleboxes': True|False,
        'ForwardPath': {
            'CompletionStatus': {
                'ResultCode': 'CONNECTED'|'NOT_CONNECTED',
                'ReasonCode': 'TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND'|'TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY'|'CYCLIC_PATH_DETECTED'|'TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND'|'ROUTE_NOT_FOUND'|'BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND'|'INACTIVE_ROUTE_FOR_DESTINATION_FOUND'|'TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH'|'MAX_HOPS_EXCEEDED'|'POSSIBLE_MIDDLEBOX'|'NO_DESTINATION_ARN_PROVIDED',
                'ReasonContext': {
                    'string': 'string'
                }
            },
            'Path': [
                {
                    'Sequence': 123,
                    'Resource': {
                        'RegisteredGatewayArn': 'string',
                        'ResourceArn': 'string',
                        'ResourceType': 'string',
                        'Definition': 'string',
                        'NameTag': 'string',
                        'IsMiddlebox': True|False
                    },
                    'DestinationCidrBlock': 'string'
                },
            ]
        },
        'ReturnPath': {
            'CompletionStatus': {
                'ResultCode': 'CONNECTED'|'NOT_CONNECTED',
                'ReasonCode': 'TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND'|'TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY'|'CYCLIC_PATH_DETECTED'|'TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND'|'ROUTE_NOT_FOUND'|'BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND'|'INACTIVE_ROUTE_FOR_DESTINATION_FOUND'|'TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH'|'MAX_HOPS_EXCEEDED'|'POSSIBLE_MIDDLEBOX'|'NO_DESTINATION_ARN_PROVIDED',
                'ReasonContext': {
                    'string': 'string'
                }
            },
            'Path': [
                {
                    'Sequence': 123,
                    'Resource': {
                        'RegisteredGatewayArn': 'string',
                        'ResourceArn': 'string',
                        'ResourceType': 'string',
                        'Definition': 'string',
                        'NameTag': 'string',
                        'IsMiddlebox': True|False
                    },
                    'DestinationCidrBlock': 'string'
                },
            ]
        }
    }
}

Response Structure

  • (dict) --

    • RouteAnalysis (dict) --

      The route analysis.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • OwnerAccountId (string) --

        The ID of the AWS account that created the route analysis.

      • RouteAnalysisId (string) --

        The ID of the route analysis.

      • StartTimestamp (datetime) --

        The time that the analysis started.

      • Status (string) --

        The status of the route analysis.

      • Source (dict) --

        The source.

        • TransitGatewayAttachmentArn (string) --

          The ARN of the transit gateway attachment.

        • TransitGatewayArn (string) --

          The ARN of the transit gateway.

        • IpAddress (string) --

          The IP address.

      • Destination (dict) --

        The destination.

        • TransitGatewayAttachmentArn (string) --

          The ARN of the transit gateway attachment.

        • TransitGatewayArn (string) --

          The ARN of the transit gateway.

        • IpAddress (string) --

          The IP address.

      • IncludeReturnPath (boolean) --

        Indicates whether to analyze the return path. The return path is not analyzed if the forward path analysis does not succeed.

      • UseMiddleboxes (boolean) --

        Indicates whether to include the location of middlebox appliances in the route analysis.

      • ForwardPath (dict) --

        The forward path.

        • CompletionStatus (dict) --

          The status of the analysis at completion.

          • ResultCode (string) --

            The result of the analysis. If the status is NOT_CONNECTED , check the reason code.

          • ReasonCode (string) --

            The reason code. Available only if a connection is not found.

            • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.
            • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
            • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.
            • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
            • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
            • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
            • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
            • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
            • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.
          • ReasonContext (dict) --

            Additional information about the path. Available only if a connection is not found.

            • (string) --
              • (string) --
        • Path (list) --

          The route analysis path.

          • (dict) --

            Describes a path component.

            • Sequence (integer) --

              The sequence number in the path. The destination is 0.

            • Resource (dict) --

              The resource.

              • RegisteredGatewayArn (string) --

                The ARN of the gateway.

              • ResourceArn (string) --

                The ARN of the resource.

              • ResourceType (string) --

                The resource type.

              • Definition (string) --

                Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

              • NameTag (string) --

                The value for the Name tag.

              • IsMiddlebox (boolean) --

                Indicates whether this is a middlebox appliance.

            • DestinationCidrBlock (string) --

              The destination CIDR block in the route table.

      • ReturnPath (dict) --

        The return path.

        • CompletionStatus (dict) --

          The status of the analysis at completion.

          • ResultCode (string) --

            The result of the analysis. If the status is NOT_CONNECTED , check the reason code.

          • ReasonCode (string) --

            The reason code. Available only if a connection is not found.

            • BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND - Found a black hole route with the destination CIDR block.
            • CYCLIC_PATH_DETECTED - Found the same resource multiple times while traversing the path.
            • INACTIVE_ROUTE_FOR_DESTINATION_FOUND - Found an inactive route with the destination CIDR block.
            • MAX_HOPS_EXCEEDED - Analysis exceeded 64 hops without finding the destination.
            • ROUTE_NOT_FOUND - Cannot find a route table with the destination CIDR block.
            • TGW_ATTACH_ARN_NO_MATCH - Found an attachment, but not with the correct destination ARN.
            • TGW_ATTACH_NOT_FOUND - Cannot find an attachment.
            • TGW_ATTACH_NOT_IN_TGW - Found an attachment, but not to the correct transit gateway.
            • TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND - The state of the route table association is not associated.
          • ReasonContext (dict) --

            Additional information about the path. Available only if a connection is not found.

            • (string) --
              • (string) --
        • Path (list) --

          The route analysis path.

          • (dict) --

            Describes a path component.

            • Sequence (integer) --

              The sequence number in the path. The destination is 0.

            • Resource (dict) --

              The resource.

              • RegisteredGatewayArn (string) --

                The ARN of the gateway.

              • ResourceArn (string) --

                The ARN of the resource.

              • ResourceType (string) --

                The resource type.

              • Definition (string) --

                Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

              • NameTag (string) --

                The value for the Name tag.

              • IsMiddlebox (boolean) --

                Indicates whether this is a middlebox appliance.

            • DestinationCidrBlock (string) --

              The destination CIDR block in the route table.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
tag_resource(**kwargs)

Tags a specified resource.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    ResourceArn='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • ResourceArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource.

  • Tags (list) --

    [REQUIRED]

    The tags to apply to the specified resource.

    • (dict) --

      Describes a tag.

      • Key (string) --

        The tag key.

        Constraints: Maximum length of 128 characters.

      • Value (string) --

        The tag value.

        Constraints: Maximum length of 256 characters.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
untag_resource(**kwargs)

Removes tags from a specified resource.

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    ResourceArn='string',
    TagKeys=[
        'string',
    ]
)
Parameters
  • ResourceArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource.

  • TagKeys (list) --

    [REQUIRED]

    The tag keys to remove from the specified resource.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
update_connection(**kwargs)

Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.

See also: AWS API Documentation

Request Syntax

response = client.update_connection(
    GlobalNetworkId='string',
    ConnectionId='string',
    LinkId='string',
    ConnectedLinkId='string',
    Description='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ConnectionId (string) --

    [REQUIRED]

    The ID of the connection.

  • LinkId (string) -- The ID of the link for the first device in the connection.
  • ConnectedLinkId (string) -- The ID of the link for the second device in the connection.
  • Description (string) --

    A description of the connection.

    Length Constraints: Maximum length of 256 characters.

Return type

dict

Returns

Response Syntax

{
    'Connection': {
        'ConnectionId': 'string',
        'ConnectionArn': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'ConnectedDeviceId': 'string',
        'LinkId': 'string',
        'ConnectedLinkId': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Connection (dict) --

      Information about the connection.

      • ConnectionId (string) --

        The ID of the connection.

      • ConnectionArn (string) --

        The Amazon Resource Name (ARN) of the connection.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the first device in the connection.

      • ConnectedDeviceId (string) --

        The ID of the second device in the connection.

      • LinkId (string) --

        The ID of the link for the first device in the connection.

      • ConnectedLinkId (string) --

        The ID of the link for the second device in the connection.

      • Description (string) --

        The description of the connection.

      • CreatedAt (datetime) --

        The date and time that the connection was created.

      • State (string) --

        The state of the connection.

      • Tags (list) --

        The tags for the connection.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
update_device(**kwargs)

Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.

See also: AWS API Documentation

Request Syntax

response = client.update_device(
    GlobalNetworkId='string',
    DeviceId='string',
    AWSLocation={
        'Zone': 'string',
        'SubnetArn': 'string'
    },
    Description='string',
    Type='string',
    Vendor='string',
    Model='string',
    SerialNumber='string',
    Location={
        'Address': 'string',
        'Latitude': 'string',
        'Longitude': 'string'
    },
    SiteId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceId (string) --

    [REQUIRED]

    The ID of the device.

  • AWSLocation (dict) --

    The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

    • Zone (string) --

      The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

    • SubnetArn (string) --

      The Amazon Resource Name (ARN) of the subnet that the device is located in.

  • Description (string) --

    A description of the device.

    Constraints: Maximum length of 256 characters.

  • Type (string) -- The type of the device.
  • Vendor (string) --

    The vendor of the device.

    Constraints: Maximum length of 128 characters.

  • Model (string) --

    The model of the device.

    Constraints: Maximum length of 128 characters.

  • SerialNumber (string) --

    The serial number of the device.

    Constraints: Maximum length of 128 characters.

  • Location (dict) --

    Describes a location.

    • Address (string) --

      The physical address.

    • Latitude (string) --

      The latitude.

    • Longitude (string) --

      The longitude.

  • SiteId (string) -- The ID of the site.
Return type

dict

Returns

Response Syntax

{
    'Device': {
        'DeviceId': 'string',
        'DeviceArn': 'string',
        'GlobalNetworkId': 'string',
        'AWSLocation': {
            'Zone': 'string',
            'SubnetArn': 'string'
        },
        'Description': 'string',
        'Type': 'string',
        'Vendor': 'string',
        'Model': 'string',
        'SerialNumber': 'string',
        'Location': {
            'Address': 'string',
            'Latitude': 'string',
            'Longitude': 'string'
        },
        'SiteId': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Device (dict) --

      Information about the device.

      • DeviceId (string) --

        The ID of the device.

      • DeviceArn (string) --

        The Amazon Resource Name (ARN) of the device.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • AWSLocation (dict) --

        The Amazon Web Services location of the device.

        • Zone (string) --

          The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

        • SubnetArn (string) --

          The Amazon Resource Name (ARN) of the subnet that the device is located in.

      • Description (string) --

        The description of the device.

      • Type (string) --

        The device type.

      • Vendor (string) --

        The device vendor.

      • Model (string) --

        The device model.

      • SerialNumber (string) --

        The device serial number.

      • Location (dict) --

        The site location.

        • Address (string) --

          The physical address.

        • Latitude (string) --

          The latitude.

        • Longitude (string) --

          The longitude.

      • SiteId (string) --

        The site ID.

      • CreatedAt (datetime) --

        The date and time that the site was created.

      • State (string) --

        The device state.

      • Tags (list) --

        The tags for the device.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
update_global_network(**kwargs)

Updates an existing global network. To remove information for any of the parameters, specify an empty string.

See also: AWS API Documentation

Request Syntax

response = client.update_global_network(
    GlobalNetworkId='string',
    Description='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of your global network.

  • Description (string) --

    A description of the global network.

    Constraints: Maximum length of 256 characters.

Return type

dict

Returns

Response Syntax

{
    'GlobalNetwork': {
        'GlobalNetworkId': 'string',
        'GlobalNetworkArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • GlobalNetwork (dict) --

      Information about the global network object.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • GlobalNetworkArn (string) --

        The Amazon Resource Name (ARN) of the global network.

      • Description (string) --

        The description of the global network.

      • CreatedAt (datetime) --

        The date and time that the global network was created.

      • State (string) --

        The state of the global network.

      • Tags (list) --

        The tags for the global network.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException

Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.

See also: AWS API Documentation

Request Syntax

response = client.update_link(
    GlobalNetworkId='string',
    LinkId='string',
    Description='string',
    Type='string',
    Bandwidth={
        'UploadSpeed': 123,
        'DownloadSpeed': 123
    },
    Provider='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • LinkId (string) --

    [REQUIRED]

    The ID of the link.

  • Description (string) --

    A description of the link.

    Constraints: Maximum length of 256 characters.

  • Type (string) --

    The type of the link.

    Constraints: Maximum length of 128 characters.

  • Bandwidth (dict) --

    The upload and download speed in Mbps.

    • UploadSpeed (integer) --

      Upload speed in Mbps.

    • DownloadSpeed (integer) --

      Download speed in Mbps.

  • Provider (string) --

    The provider of the link.

    Constraints: Maximum length of 128 characters.

Return type

dict

Returns

Response Syntax

{
    'Link': {
        'LinkId': 'string',
        'LinkArn': 'string',
        'GlobalNetworkId': 'string',
        'SiteId': 'string',
        'Description': 'string',
        'Type': 'string',
        'Bandwidth': {
            'UploadSpeed': 123,
            'DownloadSpeed': 123
        },
        'Provider': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Link (dict) --

      Information about the link.

      • LinkId (string) --

        The ID of the link.

      • LinkArn (string) --

        The Amazon Resource Name (ARN) of the link.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • SiteId (string) --

        The ID of the site.

      • Description (string) --

        The description of the link.

      • Type (string) --

        The type of the link.

      • Bandwidth (dict) --

        The bandwidth for the link.

        • UploadSpeed (integer) --

          Upload speed in Mbps.

        • DownloadSpeed (integer) --

          Download speed in Mbps.

      • Provider (string) --

        The provider of the link.

      • CreatedAt (datetime) --

        The date and time that the link was created.

      • State (string) --

        The state of the link.

      • Tags (list) --

        The tags for the link.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.ServiceQuotaExceededException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
update_network_resource_metadata(**kwargs)

Updates the resource metadata for the specified global network.

See also: AWS API Documentation

Request Syntax

response = client.update_network_resource_metadata(
    GlobalNetworkId='string',
    ResourceArn='string',
    Metadata={
        'string': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ResourceArn (string) --

    [REQUIRED]

    The ARN of the resource.

  • Metadata (dict) --

    [REQUIRED]

    The resource metadata.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'ResourceArn': 'string',
    'Metadata': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • ResourceArn (string) --

      The ARN of the resource.

    • Metadata (dict) --

      The updated resource metadata.

      • (string) --
        • (string) --

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException
update_site(**kwargs)

Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.

See also: AWS API Documentation

Request Syntax

response = client.update_site(
    GlobalNetworkId='string',
    SiteId='string',
    Description='string',
    Location={
        'Address': 'string',
        'Latitude': 'string',
        'Longitude': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • SiteId (string) --

    [REQUIRED]

    The ID of your site.

  • Description (string) --

    A description of your site.

    Constraints: Maximum length of 256 characters.

  • Location (dict) --

    The site location:

    • Address : The physical address of the site.
    • Latitude : The latitude of the site.
    • Longitude : The longitude of the site.
    • Address (string) --

      The physical address.

    • Latitude (string) --

      The latitude.

    • Longitude (string) --

      The longitude.

Return type

dict

Returns

Response Syntax

{
    'Site': {
        'SiteId': 'string',
        'SiteArn': 'string',
        'GlobalNetworkId': 'string',
        'Description': 'string',
        'Location': {
            'Address': 'string',
            'Latitude': 'string',
            'Longitude': 'string'
        },
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • Site (dict) --

      Information about the site.

      • SiteId (string) --

        The ID of the site.

      • SiteArn (string) --

        The Amazon Resource Name (ARN) of the site.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • Description (string) --

        The description of the site.

      • Location (dict) --

        The location of the site.

        • Address (string) --

          The physical address.

        • Latitude (string) --

          The latitude.

        • Longitude (string) --

          The longitude.

      • CreatedAt (datetime) --

        The date and time that the site was created.

      • State (string) --

        The state of the site.

      • Tags (list) --

        The tags for the site.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The tag key.

            Constraints: Maximum length of 128 characters.

          • Value (string) --

            The tag value.

            Constraints: Maximum length of 256 characters.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException
  • NetworkManager.Client.exceptions.AccessDeniedException
  • NetworkManager.Client.exceptions.ResourceNotFoundException
  • NetworkManager.Client.exceptions.ConflictException
  • NetworkManager.Client.exceptions.ThrottlingException
  • NetworkManager.Client.exceptions.InternalServerException

Paginators

The available paginators are:

class NetworkManager.Paginator.DescribeGlobalNetworks
paginator = client.get_paginator('describe_global_networks')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.describe_global_networks().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkIds=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkIds (list) --

    The IDs of one or more global networks. The maximum is 10.

    • (string) --
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'GlobalNetworks': [
        {
            'GlobalNetworkId': 'string',
            'GlobalNetworkArn': 'string',
            'Description': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],

}

Response Structure

  • (dict) --

    • GlobalNetworks (list) --

      Information about the global networks.

      • (dict) --

        Describes a global network.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • GlobalNetworkArn (string) --

          The Amazon Resource Name (ARN) of the global network.

        • Description (string) --

          The description of the global network.

        • CreatedAt (datetime) --

          The date and time that the global network was created.

        • State (string) --

          The state of the global network.

        • Tags (list) --

          The tags for the global network.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

class NetworkManager.Paginator.GetConnections
paginator = client.get_paginator('get_connections')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_connections().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    ConnectionIds=[
        'string',
    ],
    DeviceId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ConnectionIds (list) --

    One or more connection IDs.

    • (string) --
  • DeviceId (string) -- The ID of the device.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'Connections': [
        {
            'ConnectionId': 'string',
            'ConnectionArn': 'string',
            'GlobalNetworkId': 'string',
            'DeviceId': 'string',
            'ConnectedDeviceId': 'string',
            'LinkId': 'string',
            'ConnectedLinkId': 'string',
            'Description': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],

}

Response Structure

  • (dict) --

    • Connections (list) --

      Information about the connections.

      • (dict) --

        Describes a connection.

        • ConnectionId (string) --

          The ID of the connection.

        • ConnectionArn (string) --

          The Amazon Resource Name (ARN) of the connection.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The ID of the first device in the connection.

        • ConnectedDeviceId (string) --

          The ID of the second device in the connection.

        • LinkId (string) --

          The ID of the link for the first device in the connection.

        • ConnectedLinkId (string) --

          The ID of the link for the second device in the connection.

        • Description (string) --

          The description of the connection.

        • CreatedAt (datetime) --

          The date and time that the connection was created.

        • State (string) --

          The state of the connection.

        • Tags (list) --

          The tags for the connection.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

class NetworkManager.Paginator.GetCustomerGatewayAssociations
paginator = client.get_paginator('get_customer_gateway_associations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_customer_gateway_associations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    CustomerGatewayArns=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • CustomerGatewayArns (list) --

    One or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.

    • (string) --
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'CustomerGatewayAssociations': [
        {
            'CustomerGatewayArn': 'string',
            'GlobalNetworkId': 'string',
            'DeviceId': 'string',
            'LinkId': 'string',
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
        },
    ],

}

Response Structure

  • (dict) --

    • CustomerGatewayAssociations (list) --

      The customer gateway associations.

      • (dict) --

        Describes the association between a customer gateway, a device, and a link.

        • CustomerGatewayArn (string) --

          The Amazon Resource Name (ARN) of the customer gateway.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The ID of the device.

        • LinkId (string) --

          The ID of the link.

        • State (string) --

          The association state.

class NetworkManager.Paginator.GetDevices
paginator = client.get_paginator('get_devices')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_devices().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    DeviceIds=[
        'string',
    ],
    SiteId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceIds (list) --

    One or more device IDs. The maximum is 10.

    • (string) --
  • SiteId (string) -- The ID of the site.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'Devices': [
        {
            'DeviceId': 'string',
            'DeviceArn': 'string',
            'GlobalNetworkId': 'string',
            'AWSLocation': {
                'Zone': 'string',
                'SubnetArn': 'string'
            },
            'Description': 'string',
            'Type': 'string',
            'Vendor': 'string',
            'Model': 'string',
            'SerialNumber': 'string',
            'Location': {
                'Address': 'string',
                'Latitude': 'string',
                'Longitude': 'string'
            },
            'SiteId': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],

}

Response Structure

  • (dict) --

    • Devices (list) --

      The devices.

      • (dict) --

        Describes a device.

        • DeviceId (string) --

          The ID of the device.

        • DeviceArn (string) --

          The Amazon Resource Name (ARN) of the device.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • AWSLocation (dict) --

          The Amazon Web Services location of the device.

          • Zone (string) --

            The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

          • SubnetArn (string) --

            The Amazon Resource Name (ARN) of the subnet that the device is located in.

        • Description (string) --

          The description of the device.

        • Type (string) --

          The device type.

        • Vendor (string) --

          The device vendor.

        • Model (string) --

          The device model.

        • SerialNumber (string) --

          The device serial number.

        • Location (dict) --

          The site location.

          • Address (string) --

            The physical address.

          • Latitude (string) --

            The latitude.

          • Longitude (string) --

            The longitude.

        • SiteId (string) --

          The site ID.

        • CreatedAt (datetime) --

          The date and time that the site was created.

        • State (string) --

          The device state.

        • Tags (list) --

          The tags for the device.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

class NetworkManager.Paginator.GetLinkAssociations
paginator = client.get_paginator('get_link_associations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_link_associations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    DeviceId='string',
    LinkId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • DeviceId (string) -- The ID of the device.
  • LinkId (string) -- The ID of the link.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'LinkAssociations': [
        {
            'GlobalNetworkId': 'string',
            'DeviceId': 'string',
            'LinkId': 'string',
            'LinkAssociationState': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
        },
    ],

}

Response Structure

  • (dict) --

    • LinkAssociations (list) --

      The link associations.

      • (dict) --

        Describes the association between a device and a link.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The device ID for the link association.

        • LinkId (string) --

          The ID of the link.

        • LinkAssociationState (string) --

          The state of the association.

paginator = client.get_paginator('get_links')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_links().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    LinkIds=[
        'string',
    ],
    SiteId='string',
    Type='string',
    Provider='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • LinkIds (list) --

    One or more link IDs. The maximum is 10.

    • (string) --
  • SiteId (string) -- The ID of the site.
  • Type (string) -- The link type.
  • Provider (string) -- The link provider.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'Links': [
        {
            'LinkId': 'string',
            'LinkArn': 'string',
            'GlobalNetworkId': 'string',
            'SiteId': 'string',
            'Description': 'string',
            'Type': 'string',
            'Bandwidth': {
                'UploadSpeed': 123,
                'DownloadSpeed': 123
            },
            'Provider': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],

}

Response Structure

  • (dict) --

    • Links (list) --

      The links.

      • (dict) --

        Describes a link.

        • LinkId (string) --

          The ID of the link.

        • LinkArn (string) --

          The Amazon Resource Name (ARN) of the link.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • SiteId (string) --

          The ID of the site.

        • Description (string) --

          The description of the link.

        • Type (string) --

          The type of the link.

        • Bandwidth (dict) --

          The bandwidth for the link.

          • UploadSpeed (integer) --

            Upload speed in Mbps.

          • DownloadSpeed (integer) --

            Download speed in Mbps.

        • Provider (string) --

          The provider of the link.

        • CreatedAt (datetime) --

          The date and time that the link was created.

        • State (string) --

          The state of the link.

        • Tags (list) --

          The tags for the link.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

class NetworkManager.Paginator.GetNetworkResourceCounts
paginator = client.get_paginator('get_network_resource_counts')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_network_resource_counts().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    ResourceType='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ResourceType (string) --

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon
    • dx-gateway
    • dx-vif

    The following are the supported resource types for Network Manager:

    • connection
    • device
    • link
    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway
    • transit-gateway
    • transit-gateway-attachment
    • transit-gateway-connect-peer
    • transit-gateway-route-table
    • vpn-connection
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'NetworkResourceCounts': [
        {
            'ResourceType': 'string',
            'Count': 123
        },
    ],

}

Response Structure

  • (dict) --

    • NetworkResourceCounts (list) --

      The count of resources.

      • (dict) --

        Describes a resource count.

        • ResourceType (string) --

          The resource type.

        • Count (integer) --

          The resource count.

class NetworkManager.Paginator.GetNetworkResourceRelationships
paginator = client.get_paginator('get_network_resource_relationships')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_network_resource_relationships().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • RegisteredGatewayArn (string) -- The ARN of the registered gateway.
  • AwsRegion (string) -- The Amazon Web Services Region.
  • AccountId (string) -- The Amazon Web Services account ID.
  • ResourceType (string) --

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon
    • dx-gateway
    • dx-vif

    The following are the supported resource types for Network Manager:

    • connection
    • device
    • link
    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway
    • transit-gateway
    • transit-gateway-attachment
    • transit-gateway-connect-peer
    • transit-gateway-route-table
    • vpn-connection
  • ResourceArn (string) -- The ARN of the gateway.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'Relationships': [
        {
            'From': 'string',
            'To': 'string'
        },
    ],

}

Response Structure

  • (dict) --

    • Relationships (list) --

      The resource relationships.

      • (dict) --

        Describes a resource relationship.

        • From (string) --

          The ARN of the resource.

        • To (string) --

          The ARN of the resource.

class NetworkManager.Paginator.GetNetworkResources
paginator = client.get_paginator('get_network_resources')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_network_resources().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • RegisteredGatewayArn (string) -- The ARN of the gateway.
  • AwsRegion (string) -- The Amazon Web Services Region.
  • AccountId (string) -- The Amazon Web Services account ID.
  • ResourceType (string) --

    The resource type.

    The following are the supported resource types for Direct Connect:

    The following are the supported resource types for Network Manager:

    • connection - The definition model is Connection .
    • device - The definition model is Device .
    • link - The definition model is Link .
    • site - The definition model is Site .

    The following are the supported resource types for Amazon VPC:

  • ResourceArn (string) -- The ARN of the resource.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'NetworkResources': [
        {
            'RegisteredGatewayArn': 'string',
            'AwsRegion': 'string',
            'AccountId': 'string',
            'ResourceType': 'string',
            'ResourceId': 'string',
            'ResourceArn': 'string',
            'Definition': 'string',
            'DefinitionTimestamp': datetime(2015, 1, 1),
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'Metadata': {
                'string': 'string'
            }
        },
    ],

}

Response Structure

  • (dict) --

    • NetworkResources (list) --

      The network resources.

      • (dict) --

        Describes a network resource.

        • RegisteredGatewayArn (string) --

          The ARN of the gateway.

        • AwsRegion (string) --

          The Amazon Web Services Region.

        • AccountId (string) --

          The Amazon Web Services account ID.

        • ResourceType (string) --

          The resource type.

          The following are the supported resource types for Direct Connect:

          • dxcon
          • dx-gateway
          • dx-vif

          The following are the supported resource types for Network Manager:

          • connection
          • device
          • link
          • site

          The following are the supported resource types for Amazon VPC:

          • customer-gateway
          • transit-gateway
          • transit-gateway-attachment
          • transit-gateway-connect-peer
          • transit-gateway-route-table
          • vpn-connection
        • ResourceId (string) --

          The ID of the resource.

        • ResourceArn (string) --

          The ARN of the resource.

        • Definition (string) --

          Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

        • DefinitionTimestamp (datetime) --

          The time that the resource definition was retrieved.

        • Tags (list) --

          The tags.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

        • Metadata (dict) --

          The resource metadata.

          • (string) --
            • (string) --

class NetworkManager.Paginator.GetNetworkTelemetry
paginator = client.get_paginator('get_network_telemetry')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_network_telemetry().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • RegisteredGatewayArn (string) -- The ARN of the gateway.
  • AwsRegion (string) -- The Amazon Web Services Region.
  • AccountId (string) -- The Amazon Web Services account ID.
  • ResourceType (string) --

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon
    • dx-gateway
    • dx-vif

    The following are the supported resource types for Network Manager:

    • connection
    • device
    • link
    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway
    • transit-gateway
    • transit-gateway-attachment
    • transit-gateway-connect-peer
    • transit-gateway-route-table
    • vpn-connection
  • ResourceArn (string) -- The ARN of the resource.
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'NetworkTelemetry': [
        {
            'RegisteredGatewayArn': 'string',
            'AwsRegion': 'string',
            'AccountId': 'string',
            'ResourceType': 'string',
            'ResourceId': 'string',
            'ResourceArn': 'string',
            'Address': 'string',
            'Health': {
                'Type': 'BGP'|'IPSEC',
                'Status': 'UP'|'DOWN',
                'Timestamp': datetime(2015, 1, 1)
            }
        },
    ],

}

Response Structure

  • (dict) --

    • NetworkTelemetry (list) --

      The network telemetry.

      • (dict) --

        Describes the telemetry information for a resource.

        • RegisteredGatewayArn (string) --

          The ARN of the gateway.

        • AwsRegion (string) --

          The Amazon Web Services Region.

        • AccountId (string) --

          The Amazon Web Services account ID.

        • ResourceType (string) --

          The resource type.

        • ResourceId (string) --

          The ID of the resource.

        • ResourceArn (string) --

          The ARN of the resource.

        • Address (string) --

          The address.

        • Health (dict) --

          The connection health.

          • Type (string) --

            The connection type.

          • Status (string) --

            The connection status.

          • Timestamp (datetime) --

            The time the status was last updated.

class NetworkManager.Paginator.GetSites
paginator = client.get_paginator('get_sites')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_sites().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    SiteIds=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • SiteIds (list) --

    One or more site IDs. The maximum is 10.

    • (string) --
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'Sites': [
        {
            'SiteId': 'string',
            'SiteArn': 'string',
            'GlobalNetworkId': 'string',
            'Description': 'string',
            'Location': {
                'Address': 'string',
                'Latitude': 'string',
                'Longitude': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],

}

Response Structure

  • (dict) --

    • Sites (list) --

      The sites.

      • (dict) --

        Describes a site.

        • SiteId (string) --

          The ID of the site.

        • SiteArn (string) --

          The Amazon Resource Name (ARN) of the site.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • Description (string) --

          The description of the site.

        • Location (dict) --

          The location of the site.

          • Address (string) --

            The physical address.

          • Latitude (string) --

            The latitude.

          • Longitude (string) --

            The longitude.

        • CreatedAt (datetime) --

          The date and time that the site was created.

        • State (string) --

          The state of the site.

        • Tags (list) --

          The tags for the site.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The tag key.

              Constraints: Maximum length of 128 characters.

            • Value (string) --

              The tag value.

              Constraints: Maximum length of 256 characters.

class NetworkManager.Paginator.GetTransitGatewayConnectPeerAssociations
paginator = client.get_paginator('get_transit_gateway_connect_peer_associations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_transit_gateway_connect_peer_associations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    TransitGatewayConnectPeerArns=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • TransitGatewayConnectPeerArns (list) --

    One or more transit gateway Connect peer Amazon Resource Names (ARNs).

    • (string) --
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'TransitGatewayConnectPeerAssociations': [
        {
            'TransitGatewayConnectPeerArn': 'string',
            'GlobalNetworkId': 'string',
            'DeviceId': 'string',
            'LinkId': 'string',
            'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
        },
    ],

}

Response Structure

  • (dict) --

    • TransitGatewayConnectPeerAssociations (list) --

      Information about the transit gateway Connect peer associations.

      • (dict) --

        Describes a transit gateway Connect peer association.

        • TransitGatewayConnectPeerArn (string) --

          The Amazon Resource Name (ARN) of the transit gateway Connect peer.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The ID of the device.

        • LinkId (string) --

          The ID of the link.

        • State (string) --

          The state of the association.

class NetworkManager.Paginator.GetTransitGatewayRegistrations
paginator = client.get_paginator('get_transit_gateway_registrations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkManager.Client.get_transit_gateway_registrations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    GlobalNetworkId='string',
    TransitGatewayArns=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • TransitGatewayArns (list) --

    The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.

    • (string) --
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'TransitGatewayRegistrations': [
        {
            'GlobalNetworkId': 'string',
            'TransitGatewayArn': 'string',
            'State': {
                'Code': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'|'FAILED',
                'Message': 'string'
            }
        },
    ],

}

Response Structure

  • (dict) --

    • TransitGatewayRegistrations (list) --

      The transit gateway registrations.

      • (dict) --

        Describes the registration of a transit gateway to a global network.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • TransitGatewayArn (string) --

          The Amazon Resource Name (ARN) of the transit gateway.

        • State (dict) --

          The state of the transit gateway registration.

          • Code (string) --

            The code for the state reason.

          • Message (string) --

            The message for the state reason.