AWS Network Manager

2021/12/02 - AWS Network Manager - 33 new4 updated api methods

Changes  This release adds API support for AWS Cloud WAN.

CreateConnectPeer (new) Link ¶

Creates a core network connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

See also: AWS API Documentation

Request Syntax

client.create_connect_peer(
    ConnectAttachmentId='string',
    CoreNetworkAddress='string',
    PeerAddress='string',
    BgpOptions={
        'PeerAsn': 123
    },
    InsideCidrBlocks=[
        'string',
    ],
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    ClientToken='string'
)
type ConnectAttachmentId:

string

param ConnectAttachmentId:

[REQUIRED]

The ID of the connection attachment.

type CoreNetworkAddress:

string

param CoreNetworkAddress:

A Connect peer core network address.

type PeerAddress:

string

param PeerAddress:

[REQUIRED]

The Connect peer address.

type BgpOptions:

dict

param BgpOptions:

The Connect peer BGP options.

  • PeerAsn (integer) --

    The Peer ASN of the BGP.

type InsideCidrBlocks:

list

param InsideCidrBlocks:

[REQUIRED]

The inside IP addresses used for BGP peering.

  • (string) --

type Tags:

list

param Tags:

The tags associated with the peer request.

  • (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.

type ClientToken:

string

param ClientToken:

The client token associated with the request.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'ConnectPeer': {
        'CoreNetworkId': 'string',
        'ConnectAttachmentId': 'string',
        'ConnectPeerId': 'string',
        'EdgeLocation': 'string',
        'State': 'CREATING'|'FAILED'|'AVAILABLE'|'DELETING',
        'CreatedAt': datetime(2015, 1, 1),
        'Configuration': {
            'CoreNetworkAddress': 'string',
            'PeerAddress': 'string',
            'InsideCidrBlocks': [
                'string',
            ],
            'Protocol': 'GRE',
            'BgpConfigurations': [
                {
                    'CoreNetworkAsn': 123,
                    'PeerAsn': 123,
                    'CoreNetworkAddress': 'string',
                    'PeerAddress': 'string'
                },
            ]
        },
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • ConnectPeer (dict) --

      The response to the request.

      • CoreNetworkId (string) --

        The ID of a core network.

      • ConnectAttachmentId (string) --

        The ID of the attachment to connect.

      • ConnectPeerId (string) --

        The ID of the Connect peer.

      • EdgeLocation (string) --

        The Connect peer Regions where edges are located.

      • State (string) --

        The state of the Connect peer.

      • CreatedAt (datetime) --

        The timestamp when the Connect peer was created.

      • Configuration (dict) --

        The configuration of the Connect peer.

        • CoreNetworkAddress (string) --

          The IP address of a core network.

        • PeerAddress (string) --

          The IP address of the Connect peer.

        • InsideCidrBlocks (list) --

          The inside IP addresses used for a Connect peer configuration.

          • (string) --

        • Protocol (string) --

          The protocol used for a Connect peer configuration.

        • BgpConfigurations (list) --

          The Connect peer BGP configurations.

          • (dict) --

            Describes a core network BGP configuration.

            • CoreNetworkAsn (integer) --

              The ASN of the Coret Network.

            • PeerAsn (integer) --

              The ASN of the Connect peer.

            • CoreNetworkAddress (string) --

              The address of a core network.

            • PeerAddress (string) --

              The address of a core network Connect peer.

      • Tags (list) --

        The tags associated with the Connect peer.

        • (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.

ListConnectPeers (new) Link ¶

Returns a list of core network Connect peers.

See also: AWS API Documentation

Request Syntax

client.list_connect_peers(
    CoreNetworkId='string',
    ConnectAttachmentId='string',
    MaxResults=123,
    NextToken='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

The ID of a core network.

type ConnectAttachmentId:

string

param ConnectAttachmentId:

The ID of the attachment.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'ConnectPeers': [
        {
            'CoreNetworkId': 'string',
            'ConnectAttachmentId': 'string',
            'ConnectPeerId': 'string',
            'EdgeLocation': 'string',
            'ConnectPeerState': 'CREATING'|'FAILED'|'AVAILABLE'|'DELETING',
            'CreatedAt': datetime(2015, 1, 1),
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ConnectPeers (list) --

      Describes the Connect peers.

      • (dict) --

        Summary description of a Connect peer.

        • CoreNetworkId (string) --

          The ID of a core network.

        • ConnectAttachmentId (string) --

          The ID of a Connect peer attachment.

        • ConnectPeerId (string) --

          The ID of a Connect peer.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ConnectPeerState (string) --

          The state of a Connect peer.

        • CreatedAt (datetime) --

          The timestamp when a Connect peer was created.

        • Tags (list) --

          The tags associated with a Connect peer summary.

          • (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.

ListCoreNetworks (new) Link ¶

Returns a list of owned and shared core networks.

See also: AWS API Documentation

Request Syntax

client.list_core_networks(
    MaxResults=123,
    NextToken='string'
)
type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetworks': [
        {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'GlobalNetworkId': 'string',
            'OwnerAccountId': 'string',
            'State': 'CREATING'|'UPDATING'|'AVAILABLE'|'DELETING',
            'Description': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • CoreNetworks (list) --

      Describes the list of core networks.

      • (dict) --

        Returns summary information about a core network.

        • CoreNetworkId (string) --

          The ID of a core network.

        • CoreNetworkArn (string) --

          a core network ARN.

        • GlobalNetworkId (string) --

          The global network ID.

        • OwnerAccountId (string) --

          The ID of the account owner.

        • State (string) --

          The state of a core network.

        • Description (string) --

          The description of a core network.

        • Tags (list) --

          The key-value tags associated with a core network summary.

          • (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.

GetVpcAttachment (new) Link ¶

Returns information about a VPC attachment.

See also: AWS API Documentation

Request Syntax

client.get_vpc_attachment(
    AttachmentId='string'
)
type AttachmentId:

string

param AttachmentId:

[REQUIRED]

The ID of the attachment.

rtype:

dict

returns:

Response Syntax

{
    'VpcAttachment': {
        'Attachment': {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'AttachmentId': 'string',
            'OwnerAccountId': 'string',
            'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
            'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
            'EdgeLocation': 'string',
            'ResourceArn': 'string',
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'ProposedSegmentChange': {
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ],
                'AttachmentPolicyRuleNumber': 123,
                'SegmentName': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
        'SubnetArns': [
            'string',
        ],
        'Options': {
            'Ipv6Support': True|False
        }
    }
}

Response Structure

  • (dict) --

    • VpcAttachment (dict) --

      Returns details about a VPC attachment.

      • Attachment (dict) --

        Provides details about the VPC attachment.

        • CoreNetworkId (string) --

          A core network ID.

        • CoreNetworkArn (string) --

          The ARN of a core network.

        • AttachmentId (string) --

          The ID of the attachment.

        • OwnerAccountId (string) --

          The ID of the attachment account owner.

        • AttachmentType (string) --

          The type of attachment.

        • State (string) --

          The state of the attachment.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ResourceArn (string) --

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber (integer) --

          The policy rule number associated with the attachment.

        • SegmentName (string) --

          The name of the segment attachment.

        • Tags (list) --

          The tags associated with the attachment.

          • (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.

        • ProposedSegmentChange (dict) --

          The attachment to move from one segment to another.

          • Tags (list) --

            The key-value tags that changed for the segment.

            • (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.

          • AttachmentPolicyRuleNumber (integer) --

            The rule number in the policy document that applies to this change.

          • SegmentName (string) --

            The name of the segment to change.

        • CreatedAt (datetime) --

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) --

          The timestamp when the attachment was last updated.

      • SubnetArns (list) --

        The subnet ARNs.

        • (string) --

      • Options (dict) --

        Provides details about the VPC attachment.

        • Ipv6Support (boolean) --

          Indicates whether IPv6 is supported.

GetCoreNetworkPolicy (new) Link ¶

Gets details about a core network policy. You can get details about your current live policy or any previous policy version.

See also: AWS API Documentation

Request Syntax

client.get_core_network_policy(
    CoreNetworkId='string',
    PolicyVersionId=123,
    Alias='LIVE'|'LATEST'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network.

type PolicyVersionId:

integer

param PolicyVersionId:

The ID of a core network policy version.

type Alias:

string

param Alias:

The alias of a core network policy

rtype:

dict

returns:

Response Syntax

{
    'CoreNetworkPolicy': {
        'CoreNetworkId': 'string',
        'PolicyVersionId': 123,
        'Alias': 'LIVE'|'LATEST',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'ChangeSetState': 'PENDING_GENERATION'|'FAILED_GENERATION'|'READY_TO_EXECUTE'|'EXECUTING'|'EXECUTION_SUCCEEDED'|'OUT_OF_DATE',
        'PolicyErrors': [
            {
                'ErrorCode': 'string',
                'Message': 'string',
                'Path': 'string'
            },
        ],
        'PolicyDocument': 'string'
    }
}

Response Structure

  • (dict) --

    • CoreNetworkPolicy (dict) --

      The details about a core network policy.

      • CoreNetworkId (string) --

        The ID of a core network.

      • PolicyVersionId (integer) --

        The ID of the policy version.

      • Alias (string) --

        Whether a core network policy is the current LIVE policy or the most recently submitted policy.

      • Description (string) --

        The description of a core network policy.

      • CreatedAt (datetime) --

        The timestamp when a core network policy was created.

      • ChangeSetState (string) --

        The state of a core network policy.

      • PolicyErrors (list) --

        Describes any errors in a core network policy.

        • (dict) --

          Provides details about an error in a core network policy.

          • ErrorCode (string) --

            The error code associated with a core network policy error.

          • Message (string) --

            The message associated with a core network policy error code.

          • Path (string) --

            The JSON path where the error was discovered in the policy document.

      • PolicyDocument (string) --

        Describes a core network policy.

CreateVpcAttachment (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_vpc_attachment(
    CoreNetworkId='string',
    VpcArn='string',
    SubnetArns=[
        'string',
    ],
    Options={
        'Ipv6Support': True|False
    },
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    ClientToken='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network for the VPC attachment.

type VpcArn:

string

param VpcArn:

[REQUIRED]

The ARN of the VPC.

type SubnetArns:

list

param SubnetArns:

[REQUIRED]

The subnet ARN of the VPC attachment.

  • (string) --

type Options:

dict

param Options:

Options for the VPC attachment.

  • Ipv6Support (boolean) --

    Indicates whether IPv6 is supported.

type Tags:

list

param Tags:

The key-value tags associated with the request.

  • (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.

type ClientToken:

string

param ClientToken:

The client token associated with the request.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'VpcAttachment': {
        'Attachment': {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'AttachmentId': 'string',
            'OwnerAccountId': 'string',
            'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
            'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
            'EdgeLocation': 'string',
            'ResourceArn': 'string',
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'ProposedSegmentChange': {
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ],
                'AttachmentPolicyRuleNumber': 123,
                'SegmentName': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
        'SubnetArns': [
            'string',
        ],
        'Options': {
            'Ipv6Support': True|False
        }
    }
}

Response Structure

  • (dict) --

    • VpcAttachment (dict) --

      Provides details about the VPC attachment.

      • Attachment (dict) --

        Provides details about the VPC attachment.

        • CoreNetworkId (string) --

          A core network ID.

        • CoreNetworkArn (string) --

          The ARN of a core network.

        • AttachmentId (string) --

          The ID of the attachment.

        • OwnerAccountId (string) --

          The ID of the attachment account owner.

        • AttachmentType (string) --

          The type of attachment.

        • State (string) --

          The state of the attachment.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ResourceArn (string) --

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber (integer) --

          The policy rule number associated with the attachment.

        • SegmentName (string) --

          The name of the segment attachment.

        • Tags (list) --

          The tags associated with the attachment.

          • (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.

        • ProposedSegmentChange (dict) --

          The attachment to move from one segment to another.

          • Tags (list) --

            The key-value tags that changed for the segment.

            • (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.

          • AttachmentPolicyRuleNumber (integer) --

            The rule number in the policy document that applies to this change.

          • SegmentName (string) --

            The name of the segment to change.

        • CreatedAt (datetime) --

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) --

          The timestamp when the attachment was last updated.

      • SubnetArns (list) --

        The subnet ARNs.

        • (string) --

      • Options (dict) --

        Provides details about the VPC attachment.

        • Ipv6Support (boolean) --

          Indicates whether IPv6 is supported.

DeleteConnectPeer (new) Link ¶

Deletes a Connect peer.

See also: AWS API Documentation

Request Syntax

client.delete_connect_peer(
    ConnectPeerId='string'
)
type ConnectPeerId:

string

param ConnectPeerId:

[REQUIRED]

The ID of the deleted Connect peer.

rtype:

dict

returns:

Response Syntax

{
    'ConnectPeer': {
        'CoreNetworkId': 'string',
        'ConnectAttachmentId': 'string',
        'ConnectPeerId': 'string',
        'EdgeLocation': 'string',
        'State': 'CREATING'|'FAILED'|'AVAILABLE'|'DELETING',
        'CreatedAt': datetime(2015, 1, 1),
        'Configuration': {
            'CoreNetworkAddress': 'string',
            'PeerAddress': 'string',
            'InsideCidrBlocks': [
                'string',
            ],
            'Protocol': 'GRE',
            'BgpConfigurations': [
                {
                    'CoreNetworkAsn': 123,
                    'PeerAsn': 123,
                    'CoreNetworkAddress': 'string',
                    'PeerAddress': 'string'
                },
            ]
        },
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • ConnectPeer (dict) --

      Information about the deleted Connect peer.

      • CoreNetworkId (string) --

        The ID of a core network.

      • ConnectAttachmentId (string) --

        The ID of the attachment to connect.

      • ConnectPeerId (string) --

        The ID of the Connect peer.

      • EdgeLocation (string) --

        The Connect peer Regions where edges are located.

      • State (string) --

        The state of the Connect peer.

      • CreatedAt (datetime) --

        The timestamp when the Connect peer was created.

      • Configuration (dict) --

        The configuration of the Connect peer.

        • CoreNetworkAddress (string) --

          The IP address of a core network.

        • PeerAddress (string) --

          The IP address of the Connect peer.

        • InsideCidrBlocks (list) --

          The inside IP addresses used for a Connect peer configuration.

          • (string) --

        • Protocol (string) --

          The protocol used for a Connect peer configuration.

        • BgpConfigurations (list) --

          The Connect peer BGP configurations.

          • (dict) --

            Describes a core network BGP configuration.

            • CoreNetworkAsn (integer) --

              The ASN of the Coret Network.

            • PeerAsn (integer) --

              The ASN of the Connect peer.

            • CoreNetworkAddress (string) --

              The address of a core network.

            • PeerAddress (string) --

              The address of a core network Connect peer.

      • Tags (list) --

        The tags associated with the Connect peer.

        • (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.

GetConnectPeerAssociations (new) Link ¶

Returns information about a core network Connect peer associations.

See also: AWS API Documentation

Request Syntax

client.get_connect_peer_associations(
    GlobalNetworkId='string',
    ConnectPeerIds=[
        'string',
    ],
    MaxResults=123,
    NextToken='string'
)
type GlobalNetworkId:

string

param GlobalNetworkId:

[REQUIRED]

The ID of the global network.

type ConnectPeerIds:

list

param ConnectPeerIds:

The IDs of the Connect peers.

  • (string) --

type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

dict

returns:

Response Syntax

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

Response Structure

  • (dict) --

    • ConnectPeerAssociations (list) --

      Displays a list of Connect peer associations.

      • (dict) --

        Describes a core network Connect peer association.

        • ConnectPeerId (string) --

          The ID of the Connect peer.

        • GlobalNetworkId (string) --

          The ID of the global network.

        • DeviceId (string) --

          The ID of the device to connect to.

        • LinkId (string) --

          The ID of the link.

        • State (string) --

          The state of the Connect peer association.

    • NextToken (string) --

      The token for the next page of results.

RestoreCoreNetworkPolicyVersion (new) Link ¶

Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.

See also: AWS API Documentation

Request Syntax

client.restore_core_network_policy_version(
    CoreNetworkId='string',
    PolicyVersionId=123
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network.

type PolicyVersionId:

integer

param PolicyVersionId:

[REQUIRED]

The ID of the policy version to restore.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetworkPolicy': {
        'CoreNetworkId': 'string',
        'PolicyVersionId': 123,
        'Alias': 'LIVE'|'LATEST',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'ChangeSetState': 'PENDING_GENERATION'|'FAILED_GENERATION'|'READY_TO_EXECUTE'|'EXECUTING'|'EXECUTION_SUCCEEDED'|'OUT_OF_DATE',
        'PolicyErrors': [
            {
                'ErrorCode': 'string',
                'Message': 'string',
                'Path': 'string'
            },
        ],
        'PolicyDocument': 'string'
    }
}

Response Structure

  • (dict) --

    • CoreNetworkPolicy (dict) --

      Describes the restored core network policy.

      • CoreNetworkId (string) --

        The ID of a core network.

      • PolicyVersionId (integer) --

        The ID of the policy version.

      • Alias (string) --

        Whether a core network policy is the current LIVE policy or the most recently submitted policy.

      • Description (string) --

        The description of a core network policy.

      • CreatedAt (datetime) --

        The timestamp when a core network policy was created.

      • ChangeSetState (string) --

        The state of a core network policy.

      • PolicyErrors (list) --

        Describes any errors in a core network policy.

        • (dict) --

          Provides details about an error in a core network policy.

          • ErrorCode (string) --

            The error code associated with a core network policy error.

          • Message (string) --

            The message associated with a core network policy error code.

          • Path (string) --

            The JSON path where the error was discovered in the policy document.

      • PolicyDocument (string) --

        Describes a core network policy.

GetCoreNetworkChangeSet (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.get_core_network_change_set(
    CoreNetworkId='string',
    PolicyVersionId=123,
    MaxResults=123,
    NextToken='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network.

type PolicyVersionId:

integer

param PolicyVersionId:

[REQUIRED]

The ID of the policy version.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetworkChanges': [
        {
            'Type': 'CORE_NETWORK_SEGMENT'|'CORE_NETWORK_EDGE'|'ATTACHMENT_MAPPING'|'ATTACHMENT_ROUTE_PROPAGATION'|'ATTACHMENT_ROUTE_STATIC',
            'Action': 'ADD'|'MODIFY'|'REMOVE',
            'Identifier': 'string',
            'PreviousValues': {
                'SegmentName': 'string',
                'EdgeLocations': [
                    'string',
                ],
                'Asn': 123,
                'Cidr': 'string',
                'DestinationIdentifier': 'string',
                'InsideCidrBlocks': [
                    'string',
                ],
                'SharedSegments': [
                    'string',
                ]
            },
            'NewValues': {
                'SegmentName': 'string',
                'EdgeLocations': [
                    'string',
                ],
                'Asn': 123,
                'Cidr': 'string',
                'DestinationIdentifier': 'string',
                'InsideCidrBlocks': [
                    'string',
                ],
                'SharedSegments': [
                    'string',
                ]
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • CoreNetworkChanges (list) --

      Describes a core network changes.

      • (dict) --

        Details describing a core network change.

        • Type (string) --

          The type of change.

        • Action (string) --

          The action to take for a core network.

        • Identifier (string) --

          The resource identifier.

        • PreviousValues (dict) --

          The previous values for a core network.

          • SegmentName (string) --

            The names of the segments in a core network.

          • EdgeLocations (list) --

            The Regions where edges are located in a core network.

            • (string) --

          • Asn (integer) --

            The ASN of a core network.

          • Cidr (string) --

            The IP addresses used for a core network.

          • DestinationIdentifier (string) --

            The ID of the destination.

          • InsideCidrBlocks (list) --

            The inside IP addresses used for core network change values.

            • (string) --

          • SharedSegments (list) --

            The shared segments for a core network change value.

            • (string) --

        • NewValues (dict) --

          The new value for a core network

          • SegmentName (string) --

            The names of the segments in a core network.

          • EdgeLocations (list) --

            The Regions where edges are located in a core network.

            • (string) --

          • Asn (integer) --

            The ASN of a core network.

          • Cidr (string) --

            The IP addresses used for a core network.

          • DestinationIdentifier (string) --

            The ID of the destination.

          • InsideCidrBlocks (list) --

            The inside IP addresses used for core network change values.

            • (string) --

          • SharedSegments (list) --

            The shared segments for a core network change value.

            • (string) --

    • NextToken (string) --

      The token for the next page of results.

CreateConnectAttachment (new) Link ¶

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

A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.

See also: AWS API Documentation

Request Syntax

client.create_connect_attachment(
    CoreNetworkId='string',
    EdgeLocation='string',
    TransportAttachmentId='string',
    Options={
        'Protocol': 'GRE'
    },
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    ClientToken='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network where you want to create the attachment.

type EdgeLocation:

string

param EdgeLocation:

[REQUIRED]

The Region where the edge is located.

type TransportAttachmentId:

string

param TransportAttachmentId:

[REQUIRED]

The ID of the attachment between the two connections.

type Options:

dict

param Options:

[REQUIRED]

Options for creating an attachment.

  • Protocol (string) --

    The protocol used for the attachment connection.

type Tags:

list

param Tags:

The list of key-value tags associated with the request.

  • (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.

type ClientToken:

string

param ClientToken:

The client token associated with the request.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'ConnectAttachment': {
        'Attachment': {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'AttachmentId': 'string',
            'OwnerAccountId': 'string',
            'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
            'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
            'EdgeLocation': 'string',
            'ResourceArn': 'string',
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'ProposedSegmentChange': {
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ],
                'AttachmentPolicyRuleNumber': 123,
                'SegmentName': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
        'TransportAttachmentId': 'string',
        'Options': {
            'Protocol': 'GRE'
        }
    }
}

Response Structure

  • (dict) --

    • ConnectAttachment (dict) --

      The response to a Connect attachment request.

      • Attachment (dict) --

        The attachment details.

        • CoreNetworkId (string) --

          A core network ID.

        • CoreNetworkArn (string) --

          The ARN of a core network.

        • AttachmentId (string) --

          The ID of the attachment.

        • OwnerAccountId (string) --

          The ID of the attachment account owner.

        • AttachmentType (string) --

          The type of attachment.

        • State (string) --

          The state of the attachment.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ResourceArn (string) --

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber (integer) --

          The policy rule number associated with the attachment.

        • SegmentName (string) --

          The name of the segment attachment.

        • Tags (list) --

          The tags associated with the attachment.

          • (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.

        • ProposedSegmentChange (dict) --

          The attachment to move from one segment to another.

          • Tags (list) --

            The key-value tags that changed for the segment.

            • (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.

          • AttachmentPolicyRuleNumber (integer) --

            The rule number in the policy document that applies to this change.

          • SegmentName (string) --

            The name of the segment to change.

        • CreatedAt (datetime) --

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) --

          The timestamp when the attachment was last updated.

      • TransportAttachmentId (string) --

        The ID of the transport attachment.

      • Options (dict) --

        Options for connecting an attachment.

        • Protocol (string) --

          The protocol used for the attachment connection.

GetSiteToSiteVpnAttachment (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.get_site_to_site_vpn_attachment(
    AttachmentId='string'
)
type AttachmentId:

string

param AttachmentId:

[REQUIRED]

The ID of the attachment.

rtype:

dict

returns:

Response Syntax

{
    'SiteToSiteVpnAttachment': {
        'Attachment': {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'AttachmentId': 'string',
            'OwnerAccountId': 'string',
            'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
            'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
            'EdgeLocation': 'string',
            'ResourceArn': 'string',
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'ProposedSegmentChange': {
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ],
                'AttachmentPolicyRuleNumber': 123,
                'SegmentName': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
        'VpnConnectionArn': 'string'
    }
}

Response Structure

  • (dict) --

    • SiteToSiteVpnAttachment (dict) --

      Describes the site-to-site attachment.

      • Attachment (dict) --

        Provides details about a site-to-site VPN attachment.

        • CoreNetworkId (string) --

          A core network ID.

        • CoreNetworkArn (string) --

          The ARN of a core network.

        • AttachmentId (string) --

          The ID of the attachment.

        • OwnerAccountId (string) --

          The ID of the attachment account owner.

        • AttachmentType (string) --

          The type of attachment.

        • State (string) --

          The state of the attachment.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ResourceArn (string) --

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber (integer) --

          The policy rule number associated with the attachment.

        • SegmentName (string) --

          The name of the segment attachment.

        • Tags (list) --

          The tags associated with the attachment.

          • (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.

        • ProposedSegmentChange (dict) --

          The attachment to move from one segment to another.

          • Tags (list) --

            The key-value tags that changed for the segment.

            • (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.

          • AttachmentPolicyRuleNumber (integer) --

            The rule number in the policy document that applies to this change.

          • SegmentName (string) --

            The name of the segment to change.

        • CreatedAt (datetime) --

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) --

          The timestamp when the attachment was last updated.

      • VpnConnectionArn (string) --

        The ARN of the site-to-site VPN attachment.

DeleteCoreNetwork (new) Link ¶

Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.

See also: AWS API Documentation

Request Syntax

client.delete_core_network(
    CoreNetworkId='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The network ID of the deleted core network.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetwork': {
        'GlobalNetworkId': 'string',
        'CoreNetworkId': 'string',
        'CoreNetworkArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'CREATING'|'UPDATING'|'AVAILABLE'|'DELETING',
        'Segments': [
            {
                'Name': 'string',
                'EdgeLocations': [
                    'string',
                ],
                'SharedSegments': [
                    'string',
                ]
            },
        ],
        'Edges': [
            {
                'EdgeLocation': 'string',
                'Asn': 123,
                'InsideCidrBlocks': [
                    'string',
                ]
            },
        ],
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • CoreNetwork (dict) --

      Information about the deleted core network.

      • GlobalNetworkId (string) --

        The ID of the global network that your core network is a part of.

      • CoreNetworkId (string) --

        The ID of a core network.

      • CoreNetworkArn (string) --

        The ARN of a core network.

      • Description (string) --

        The description of a core network.

      • CreatedAt (datetime) --

        The timestamp when a core network was created.

      • State (string) --

        The current state of a core network.

      • Segments (list) --

        The segments within a core network.

        • (dict) --

          Describes a core network segment, which are dedicated routes. Only attachments within this segment can communicate with each other.

          • Name (string) --

            The name of a core network segment.

          • EdgeLocations (list) --

            The Regions where the edges are located.

            • (string) --

          • SharedSegments (list) --

            The shared segments of a core network.

            • (string) --

      • Edges (list) --

        The edges within a core network.

        • (dict) --

          Describes a core network edge.

          • EdgeLocation (string) --

            The Region where a core network edge is located.

          • Asn (integer) --

            The ASN of a core network edge.

          • InsideCidrBlocks (list) --

            The inside IP addresses used for core network edges.

            • (string) --

      • Tags (list) --

        The tags associated with a core 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.

ListAttachments (new) Link ¶

Returns a list of core network attachments.

See also: AWS API Documentation

Request Syntax

client.list_attachments(
    CoreNetworkId='string',
    AttachmentType='CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
    EdgeLocation='string',
    State='REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
    MaxResults=123,
    NextToken='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

The ID of a core network.

type AttachmentType:

string

param AttachmentType:

The type of attachment.

type EdgeLocation:

string

param EdgeLocation:

The Region where the edge is located.

type State:

string

param State:

The state of the attachment.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'Attachments': [
        {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'AttachmentId': 'string',
            'OwnerAccountId': 'string',
            'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
            'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
            'EdgeLocation': 'string',
            'ResourceArn': 'string',
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'ProposedSegmentChange': {
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ],
                'AttachmentPolicyRuleNumber': 123,
                'SegmentName': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Attachments (list) --

      Describes the list of attachments.

      • (dict) --

        Describes a core network attachment.

        • CoreNetworkId (string) --

          A core network ID.

        • CoreNetworkArn (string) --

          The ARN of a core network.

        • AttachmentId (string) --

          The ID of the attachment.

        • OwnerAccountId (string) --

          The ID of the attachment account owner.

        • AttachmentType (string) --

          The type of attachment.

        • State (string) --

          The state of the attachment.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ResourceArn (string) --

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber (integer) --

          The policy rule number associated with the attachment.

        • SegmentName (string) --

          The name of the segment attachment.

        • Tags (list) --

          The tags associated with the attachment.

          • (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.

        • ProposedSegmentChange (dict) --

          The attachment to move from one segment to another.

          • Tags (list) --

            The key-value tags that changed for the segment.

            • (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.

          • AttachmentPolicyRuleNumber (integer) --

            The rule number in the policy document that applies to this change.

          • SegmentName (string) --

            The name of the segment to change.

        • CreatedAt (datetime) --

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) --

          The timestamp when the attachment was last updated.

    • NextToken (string) --

      The token for the next page of results.

GetResourcePolicy (new) Link ¶

Returns information about a resource policy.

See also: AWS API Documentation

Request Syntax

client.get_resource_policy(
    ResourceArn='string'
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the resource.

rtype:

dict

returns:

Response Syntax

{
    'PolicyDocument': 'string'
}

Response Structure

  • (dict) --

    • PolicyDocument (string) --

      The resource policy document.

RejectAttachment (new) Link ¶

Rejects a core network attachment request.

See also: AWS API Documentation

Request Syntax

client.reject_attachment(
    AttachmentId='string'
)
type AttachmentId:

string

param AttachmentId:

[REQUIRED]

The ID of the attachment.

rtype:

dict

returns:

Response Syntax

{
    'Attachment': {
        'CoreNetworkId': 'string',
        'CoreNetworkArn': 'string',
        'AttachmentId': 'string',
        'OwnerAccountId': 'string',
        'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
        'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
        'EdgeLocation': 'string',
        'ResourceArn': 'string',
        'AttachmentPolicyRuleNumber': 123,
        'SegmentName': 'string',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ],
        'ProposedSegmentChange': {
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string'
        },
        'CreatedAt': datetime(2015, 1, 1),
        'UpdatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --

    • Attachment (dict) --

      Describes the rejected attachment request.

      • CoreNetworkId (string) --

        A core network ID.

      • CoreNetworkArn (string) --

        The ARN of a core network.

      • AttachmentId (string) --

        The ID of the attachment.

      • OwnerAccountId (string) --

        The ID of the attachment account owner.

      • AttachmentType (string) --

        The type of attachment.

      • State (string) --

        The state of the attachment.

      • EdgeLocation (string) --

        The Region where the edge is located.

      • ResourceArn (string) --

        The attachment resource ARN.

      • AttachmentPolicyRuleNumber (integer) --

        The policy rule number associated with the attachment.

      • SegmentName (string) --

        The name of the segment attachment.

      • Tags (list) --

        The tags associated with the attachment.

        • (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.

      • ProposedSegmentChange (dict) --

        The attachment to move from one segment to another.

        • Tags (list) --

          The key-value tags that changed for the segment.

          • (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.

        • AttachmentPolicyRuleNumber (integer) --

          The rule number in the policy document that applies to this change.

        • SegmentName (string) --

          The name of the segment to change.

      • CreatedAt (datetime) --

        The timestamp when the attachment was created.

      • UpdatedAt (datetime) --

        The timestamp when the attachment was last updated.

CreateCoreNetwork (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_core_network(
    GlobalNetworkId='string',
    Description='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    PolicyDocument='string',
    ClientToken='string'
)
type GlobalNetworkId:

string

param GlobalNetworkId:

[REQUIRED]

The ID of the global network that a core network will be a part of.

type Description:

string

param Description:

The description of a core network.

type Tags:

list

param Tags:

Key-value tags associated with a core network request.

  • (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.

type PolicyDocument:

string

param PolicyDocument:

The policy document for creating a core network.

type ClientToken:

string

param ClientToken:

The client token associated with a core network request.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetwork': {
        'GlobalNetworkId': 'string',
        'CoreNetworkId': 'string',
        'CoreNetworkArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'CREATING'|'UPDATING'|'AVAILABLE'|'DELETING',
        'Segments': [
            {
                'Name': 'string',
                'EdgeLocations': [
                    'string',
                ],
                'SharedSegments': [
                    'string',
                ]
            },
        ],
        'Edges': [
            {
                'EdgeLocation': 'string',
                'Asn': 123,
                'InsideCidrBlocks': [
                    'string',
                ]
            },
        ],
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • CoreNetwork (dict) --

      Returns details about a core network.

      • GlobalNetworkId (string) --

        The ID of the global network that your core network is a part of.

      • CoreNetworkId (string) --

        The ID of a core network.

      • CoreNetworkArn (string) --

        The ARN of a core network.

      • Description (string) --

        The description of a core network.

      • CreatedAt (datetime) --

        The timestamp when a core network was created.

      • State (string) --

        The current state of a core network.

      • Segments (list) --

        The segments within a core network.

        • (dict) --

          Describes a core network segment, which are dedicated routes. Only attachments within this segment can communicate with each other.

          • Name (string) --

            The name of a core network segment.

          • EdgeLocations (list) --

            The Regions where the edges are located.

            • (string) --

          • SharedSegments (list) --

            The shared segments of a core network.

            • (string) --

      • Edges (list) --

        The edges within a core network.

        • (dict) --

          Describes a core network edge.

          • EdgeLocation (string) --

            The Region where a core network edge is located.

          • Asn (integer) --

            The ASN of a core network edge.

          • InsideCidrBlocks (list) --

            The inside IP addresses used for core network edges.

            • (string) --

      • Tags (list) --

        The tags associated with a core 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.

DeleteCoreNetworkPolicyVersion (new) Link ¶

Deletes a policy version from a core network. You can't delete the current LIVE policy.

See also: AWS API Documentation

Request Syntax

client.delete_core_network_policy_version(
    CoreNetworkId='string',
    PolicyVersionId=123
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network for the deleted policy.

type PolicyVersionId:

integer

param PolicyVersionId:

[REQUIRED]

The version ID of the deleted policy.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetworkPolicy': {
        'CoreNetworkId': 'string',
        'PolicyVersionId': 123,
        'Alias': 'LIVE'|'LATEST',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'ChangeSetState': 'PENDING_GENERATION'|'FAILED_GENERATION'|'READY_TO_EXECUTE'|'EXECUTING'|'EXECUTION_SUCCEEDED'|'OUT_OF_DATE',
        'PolicyErrors': [
            {
                'ErrorCode': 'string',
                'Message': 'string',
                'Path': 'string'
            },
        ],
        'PolicyDocument': 'string'
    }
}

Response Structure

  • (dict) --

    • CoreNetworkPolicy (dict) --

      Returns information about the deleted policy version.

      • CoreNetworkId (string) --

        The ID of a core network.

      • PolicyVersionId (integer) --

        The ID of the policy version.

      • Alias (string) --

        Whether a core network policy is the current LIVE policy or the most recently submitted policy.

      • Description (string) --

        The description of a core network policy.

      • CreatedAt (datetime) --

        The timestamp when a core network policy was created.

      • ChangeSetState (string) --

        The state of a core network policy.

      • PolicyErrors (list) --

        Describes any errors in a core network policy.

        • (dict) --

          Provides details about an error in a core network policy.

          • ErrorCode (string) --

            The error code associated with a core network policy error.

          • Message (string) --

            The message associated with a core network policy error code.

          • Path (string) --

            The JSON path where the error was discovered in the policy document.

      • PolicyDocument (string) --

        Describes a core network policy.

DeleteResourcePolicy (new) Link ¶

Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.

See also: AWS API Documentation

Request Syntax

client.delete_resource_policy(
    ResourceArn='string'
)
type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the policy to delete.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

PutResourcePolicy (new) Link ¶

Creates or updates a resource policy.

See also: AWS API Documentation

Request Syntax

client.put_resource_policy(
    PolicyDocument='string',
    ResourceArn='string'
)
type PolicyDocument:

string

param PolicyDocument:

[REQUIRED]

The JSON resource policy document.

type ResourceArn:

string

param ResourceArn:

[REQUIRED]

The ARN of the resource policy.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

UpdateVpcAttachment (new) Link ¶

Updates a VPC attachment.

See also: AWS API Documentation

Request Syntax

client.update_vpc_attachment(
    AttachmentId='string',
    AddSubnetArns=[
        'string',
    ],
    RemoveSubnetArns=[
        'string',
    ],
    Options={
        'Ipv6Support': True|False
    }
)
type AttachmentId:

string

param AttachmentId:

[REQUIRED]

The ID of the attachment.

type AddSubnetArns:

list

param AddSubnetArns:

Adds a subnet ARN to the VPC attachment.

  • (string) --

type RemoveSubnetArns:

list

param RemoveSubnetArns:

Removes a subnet ARN from the attachment.

  • (string) --

type Options:

dict

param Options:

Additional options for updating the VPC attachment.

  • Ipv6Support (boolean) --

    Indicates whether IPv6 is supported.

rtype:

dict

returns:

Response Syntax

{
    'VpcAttachment': {
        'Attachment': {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'AttachmentId': 'string',
            'OwnerAccountId': 'string',
            'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
            'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
            'EdgeLocation': 'string',
            'ResourceArn': 'string',
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'ProposedSegmentChange': {
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ],
                'AttachmentPolicyRuleNumber': 123,
                'SegmentName': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
        'SubnetArns': [
            'string',
        ],
        'Options': {
            'Ipv6Support': True|False
        }
    }
}

Response Structure

  • (dict) --

    • VpcAttachment (dict) --

      Describes the updated VPC attachment.

      • Attachment (dict) --

        Provides details about the VPC attachment.

        • CoreNetworkId (string) --

          A core network ID.

        • CoreNetworkArn (string) --

          The ARN of a core network.

        • AttachmentId (string) --

          The ID of the attachment.

        • OwnerAccountId (string) --

          The ID of the attachment account owner.

        • AttachmentType (string) --

          The type of attachment.

        • State (string) --

          The state of the attachment.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ResourceArn (string) --

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber (integer) --

          The policy rule number associated with the attachment.

        • SegmentName (string) --

          The name of the segment attachment.

        • Tags (list) --

          The tags associated with the attachment.

          • (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.

        • ProposedSegmentChange (dict) --

          The attachment to move from one segment to another.

          • Tags (list) --

            The key-value tags that changed for the segment.

            • (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.

          • AttachmentPolicyRuleNumber (integer) --

            The rule number in the policy document that applies to this change.

          • SegmentName (string) --

            The name of the segment to change.

        • CreatedAt (datetime) --

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) --

          The timestamp when the attachment was last updated.

      • SubnetArns (list) --

        The subnet ARNs.

        • (string) --

      • Options (dict) --

        Provides details about the VPC attachment.

        • Ipv6Support (boolean) --

          Indicates whether IPv6 is supported.

ExecuteCoreNetworkChangeSet (new) Link ¶

Executes a change set on your core network. Deploys changes globally based on the policy submitted..

See also: AWS API Documentation

Request Syntax

client.execute_core_network_change_set(
    CoreNetworkId='string',
    PolicyVersionId=123
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network.

type PolicyVersionId:

integer

param PolicyVersionId:

[REQUIRED]

The ID of the policy version.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

GetConnectPeer (new) Link ¶

Returns information about a core network Connect peer.

See also: AWS API Documentation

Request Syntax

client.get_connect_peer(
    ConnectPeerId='string'
)
type ConnectPeerId:

string

param ConnectPeerId:

[REQUIRED]

The ID of the Connect peer.

rtype:

dict

returns:

Response Syntax

{
    'ConnectPeer': {
        'CoreNetworkId': 'string',
        'ConnectAttachmentId': 'string',
        'ConnectPeerId': 'string',
        'EdgeLocation': 'string',
        'State': 'CREATING'|'FAILED'|'AVAILABLE'|'DELETING',
        'CreatedAt': datetime(2015, 1, 1),
        'Configuration': {
            'CoreNetworkAddress': 'string',
            'PeerAddress': 'string',
            'InsideCidrBlocks': [
                'string',
            ],
            'Protocol': 'GRE',
            'BgpConfigurations': [
                {
                    'CoreNetworkAsn': 123,
                    'PeerAsn': 123,
                    'CoreNetworkAddress': 'string',
                    'PeerAddress': 'string'
                },
            ]
        },
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • ConnectPeer (dict) --

      Returns information about a core network Connect peer.

      • CoreNetworkId (string) --

        The ID of a core network.

      • ConnectAttachmentId (string) --

        The ID of the attachment to connect.

      • ConnectPeerId (string) --

        The ID of the Connect peer.

      • EdgeLocation (string) --

        The Connect peer Regions where edges are located.

      • State (string) --

        The state of the Connect peer.

      • CreatedAt (datetime) --

        The timestamp when the Connect peer was created.

      • Configuration (dict) --

        The configuration of the Connect peer.

        • CoreNetworkAddress (string) --

          The IP address of a core network.

        • PeerAddress (string) --

          The IP address of the Connect peer.

        • InsideCidrBlocks (list) --

          The inside IP addresses used for a Connect peer configuration.

          • (string) --

        • Protocol (string) --

          The protocol used for a Connect peer configuration.

        • BgpConfigurations (list) --

          The Connect peer BGP configurations.

          • (dict) --

            Describes a core network BGP configuration.

            • CoreNetworkAsn (integer) --

              The ASN of the Coret Network.

            • PeerAsn (integer) --

              The ASN of the Connect peer.

            • CoreNetworkAddress (string) --

              The address of a core network.

            • PeerAddress (string) --

              The address of a core network Connect peer.

      • Tags (list) --

        The tags associated with the Connect peer.

        • (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.

DeleteAttachment (new) Link ¶

Deletes an attachment. Supports all attachment types.

See also: AWS API Documentation

Request Syntax

client.delete_attachment(
    AttachmentId='string'
)
type AttachmentId:

string

param AttachmentId:

[REQUIRED]

The ID of the attachment to delete.

rtype:

dict

returns:

Response Syntax

{
    'Attachment': {
        'CoreNetworkId': 'string',
        'CoreNetworkArn': 'string',
        'AttachmentId': 'string',
        'OwnerAccountId': 'string',
        'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
        'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
        'EdgeLocation': 'string',
        'ResourceArn': 'string',
        'AttachmentPolicyRuleNumber': 123,
        'SegmentName': 'string',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ],
        'ProposedSegmentChange': {
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string'
        },
        'CreatedAt': datetime(2015, 1, 1),
        'UpdatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --

    • Attachment (dict) --

      Information about the deleted attachment.

      • CoreNetworkId (string) --

        A core network ID.

      • CoreNetworkArn (string) --

        The ARN of a core network.

      • AttachmentId (string) --

        The ID of the attachment.

      • OwnerAccountId (string) --

        The ID of the attachment account owner.

      • AttachmentType (string) --

        The type of attachment.

      • State (string) --

        The state of the attachment.

      • EdgeLocation (string) --

        The Region where the edge is located.

      • ResourceArn (string) --

        The attachment resource ARN.

      • AttachmentPolicyRuleNumber (integer) --

        The policy rule number associated with the attachment.

      • SegmentName (string) --

        The name of the segment attachment.

      • Tags (list) --

        The tags associated with the attachment.

        • (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.

      • ProposedSegmentChange (dict) --

        The attachment to move from one segment to another.

        • Tags (list) --

          The key-value tags that changed for the segment.

          • (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.

        • AttachmentPolicyRuleNumber (integer) --

          The rule number in the policy document that applies to this change.

        • SegmentName (string) --

          The name of the segment to change.

      • CreatedAt (datetime) --

        The timestamp when the attachment was created.

      • UpdatedAt (datetime) --

        The timestamp when the attachment was last updated.

DisassociateConnectPeer (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.disassociate_connect_peer(
    GlobalNetworkId='string',
    ConnectPeerId='string'
)
type GlobalNetworkId:

string

param GlobalNetworkId:

[REQUIRED]

The ID of the global network.

type ConnectPeerId:

string

param ConnectPeerId:

[REQUIRED]

The ID of the Connect peer to disassociate from a device.

rtype:

dict

returns:

Response Syntax

{
    'ConnectPeerAssociation': {
        'ConnectPeerId': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'LinkId': 'string',
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • ConnectPeerAssociation (dict) --

      Describes the Connect peer association.

      • ConnectPeerId (string) --

        The ID of the Connect peer.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the device to connect to.

      • LinkId (string) --

        The ID of the link.

      • State (string) --

        The state of the Connect peer association.

PutCoreNetworkPolicy (new) Link ¶

Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.

See also: AWS API Documentation

Request Syntax

client.put_core_network_policy(
    CoreNetworkId='string',
    PolicyDocument='string',
    Description='string',
    LatestVersionId=123,
    ClientToken='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network.

type PolicyDocument:

string

param PolicyDocument:

[REQUIRED]

The policy document.

type Description:

string

param Description:

a core network policy description.

type LatestVersionId:

integer

param LatestVersionId:

The ID of a core network policy.

type ClientToken:

string

param ClientToken:

The client token associated with the request.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetworkPolicy': {
        'CoreNetworkId': 'string',
        'PolicyVersionId': 123,
        'Alias': 'LIVE'|'LATEST',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'ChangeSetState': 'PENDING_GENERATION'|'FAILED_GENERATION'|'READY_TO_EXECUTE'|'EXECUTING'|'EXECUTION_SUCCEEDED'|'OUT_OF_DATE',
        'PolicyErrors': [
            {
                'ErrorCode': 'string',
                'Message': 'string',
                'Path': 'string'
            },
        ],
        'PolicyDocument': 'string'
    }
}

Response Structure

  • (dict) --

    • CoreNetworkPolicy (dict) --

      Describes the changed core network policy.

      • CoreNetworkId (string) --

        The ID of a core network.

      • PolicyVersionId (integer) --

        The ID of the policy version.

      • Alias (string) --

        Whether a core network policy is the current LIVE policy or the most recently submitted policy.

      • Description (string) --

        The description of a core network policy.

      • CreatedAt (datetime) --

        The timestamp when a core network policy was created.

      • ChangeSetState (string) --

        The state of a core network policy.

      • PolicyErrors (list) --

        Describes any errors in a core network policy.

        • (dict) --

          Provides details about an error in a core network policy.

          • ErrorCode (string) --

            The error code associated with a core network policy error.

          • Message (string) --

            The message associated with a core network policy error code.

          • Path (string) --

            The JSON path where the error was discovered in the policy document.

      • PolicyDocument (string) --

        Describes a core network policy.

AcceptAttachment (new) Link ¶

Accepts a core network attachment request.

Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.

See also: AWS API Documentation

Request Syntax

client.accept_attachment(
    AttachmentId='string'
)
type AttachmentId:

string

param AttachmentId:

[REQUIRED]

The ID of the attachment.

rtype:

dict

returns:

Response Syntax

{
    'Attachment': {
        'CoreNetworkId': 'string',
        'CoreNetworkArn': 'string',
        'AttachmentId': 'string',
        'OwnerAccountId': 'string',
        'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
        'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
        'EdgeLocation': 'string',
        'ResourceArn': 'string',
        'AttachmentPolicyRuleNumber': 123,
        'SegmentName': 'string',
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ],
        'ProposedSegmentChange': {
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string'
        },
        'CreatedAt': datetime(2015, 1, 1),
        'UpdatedAt': datetime(2015, 1, 1)
    }
}

Response Structure

  • (dict) --

    • Attachment (dict) --

      The response to the attachment request.

      • CoreNetworkId (string) --

        A core network ID.

      • CoreNetworkArn (string) --

        The ARN of a core network.

      • AttachmentId (string) --

        The ID of the attachment.

      • OwnerAccountId (string) --

        The ID of the attachment account owner.

      • AttachmentType (string) --

        The type of attachment.

      • State (string) --

        The state of the attachment.

      • EdgeLocation (string) --

        The Region where the edge is located.

      • ResourceArn (string) --

        The attachment resource ARN.

      • AttachmentPolicyRuleNumber (integer) --

        The policy rule number associated with the attachment.

      • SegmentName (string) --

        The name of the segment attachment.

      • Tags (list) --

        The tags associated with the attachment.

        • (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.

      • ProposedSegmentChange (dict) --

        The attachment to move from one segment to another.

        • Tags (list) --

          The key-value tags that changed for the segment.

          • (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.

        • AttachmentPolicyRuleNumber (integer) --

          The rule number in the policy document that applies to this change.

        • SegmentName (string) --

          The name of the segment to change.

      • CreatedAt (datetime) --

        The timestamp when the attachment was created.

      • UpdatedAt (datetime) --

        The timestamp when the attachment was last updated.

AssociateConnectPeer (new) Link ¶

Associates a core network 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 core network Connect peers that have been created on a core network Connect attachment on a core network.

See also: AWS API Documentation

Request Syntax

client.associate_connect_peer(
    GlobalNetworkId='string',
    ConnectPeerId='string',
    DeviceId='string',
    LinkId='string'
)
type GlobalNetworkId:

string

param GlobalNetworkId:

[REQUIRED]

The ID of your global network.

type ConnectPeerId:

string

param ConnectPeerId:

[REQUIRED]

The ID of the Connect peer.

type DeviceId:

string

param DeviceId:

[REQUIRED]

The ID of the device.

type LinkId:

string

param LinkId:

The ID of the link.

rtype:

dict

returns:

Response Syntax

{
    'ConnectPeerAssociation': {
        'ConnectPeerId': 'string',
        'GlobalNetworkId': 'string',
        'DeviceId': 'string',
        'LinkId': 'string',
        'State': 'PENDING'|'AVAILABLE'|'DELETING'|'DELETED'
    }
}

Response Structure

  • (dict) --

    • ConnectPeerAssociation (dict) --

      The response to the Connect peer request.

      • ConnectPeerId (string) --

        The ID of the Connect peer.

      • GlobalNetworkId (string) --

        The ID of the global network.

      • DeviceId (string) --

        The ID of the device to connect to.

      • LinkId (string) --

        The ID of the link.

      • State (string) --

        The state of the Connect peer association.

ListCoreNetworkPolicyVersions (new) Link ¶

Returns a list of core network policy versions.

See also: AWS API Documentation

Request Syntax

client.list_core_network_policy_versions(
    CoreNetworkId='string',
    MaxResults=123,
    NextToken='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetworkPolicyVersions': [
        {
            'CoreNetworkId': 'string',
            'PolicyVersionId': 123,
            'Alias': 'LIVE'|'LATEST',
            'Description': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'ChangeSetState': 'PENDING_GENERATION'|'FAILED_GENERATION'|'READY_TO_EXECUTE'|'EXECUTING'|'EXECUTION_SUCCEEDED'|'OUT_OF_DATE'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • CoreNetworkPolicyVersions (list) --

      Describes core network policy versions.

      • (dict) --

        Describes a core network policy version.

        • CoreNetworkId (string) --

          The ID of a core network.

        • PolicyVersionId (integer) --

          The ID of the policy version.

        • Alias (string) --

          Whether a core network policy is the current policy or the most recently submitted policy.

        • Description (string) --

          The description of a core network policy version.

        • CreatedAt (datetime) --

          The timestamp when a core network policy version was created.

        • ChangeSetState (string) --

          The status of the policy version change set.

    • NextToken (string) --

      The token for the next page of results.

UpdateCoreNetwork (new) Link ¶

Updates the description of a core network.

See also: AWS API Documentation

Request Syntax

client.update_core_network(
    CoreNetworkId='string',
    Description='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network.

type Description:

string

param Description:

The description of the update.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetwork': {
        'GlobalNetworkId': 'string',
        'CoreNetworkId': 'string',
        'CoreNetworkArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'CREATING'|'UPDATING'|'AVAILABLE'|'DELETING',
        'Segments': [
            {
                'Name': 'string',
                'EdgeLocations': [
                    'string',
                ],
                'SharedSegments': [
                    'string',
                ]
            },
        ],
        'Edges': [
            {
                'EdgeLocation': 'string',
                'Asn': 123,
                'InsideCidrBlocks': [
                    'string',
                ]
            },
        ],
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • CoreNetwork (dict) --

      Returns information about a core network update.

      • GlobalNetworkId (string) --

        The ID of the global network that your core network is a part of.

      • CoreNetworkId (string) --

        The ID of a core network.

      • CoreNetworkArn (string) --

        The ARN of a core network.

      • Description (string) --

        The description of a core network.

      • CreatedAt (datetime) --

        The timestamp when a core network was created.

      • State (string) --

        The current state of a core network.

      • Segments (list) --

        The segments within a core network.

        • (dict) --

          Describes a core network segment, which are dedicated routes. Only attachments within this segment can communicate with each other.

          • Name (string) --

            The name of a core network segment.

          • EdgeLocations (list) --

            The Regions where the edges are located.

            • (string) --

          • SharedSegments (list) --

            The shared segments of a core network.

            • (string) --

      • Edges (list) --

        The edges within a core network.

        • (dict) --

          Describes a core network edge.

          • EdgeLocation (string) --

            The Region where a core network edge is located.

          • Asn (integer) --

            The ASN of a core network edge.

          • InsideCidrBlocks (list) --

            The inside IP addresses used for core network edges.

            • (string) --

      • Tags (list) --

        The tags associated with a core 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.

GetConnectAttachment (new) Link ¶

Returns information about a core network Connect attachment.

See also: AWS API Documentation

Request Syntax

client.get_connect_attachment(
    AttachmentId='string'
)
type AttachmentId:

string

param AttachmentId:

[REQUIRED]

The ID of the attachment.

rtype:

dict

returns:

Response Syntax

{
    'ConnectAttachment': {
        'Attachment': {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'AttachmentId': 'string',
            'OwnerAccountId': 'string',
            'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
            'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
            'EdgeLocation': 'string',
            'ResourceArn': 'string',
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'ProposedSegmentChange': {
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ],
                'AttachmentPolicyRuleNumber': 123,
                'SegmentName': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
        'TransportAttachmentId': 'string',
        'Options': {
            'Protocol': 'GRE'
        }
    }
}

Response Structure

  • (dict) --

    • ConnectAttachment (dict) --

      Details about the Connect attachment.

      • Attachment (dict) --

        The attachment details.

        • CoreNetworkId (string) --

          A core network ID.

        • CoreNetworkArn (string) --

          The ARN of a core network.

        • AttachmentId (string) --

          The ID of the attachment.

        • OwnerAccountId (string) --

          The ID of the attachment account owner.

        • AttachmentType (string) --

          The type of attachment.

        • State (string) --

          The state of the attachment.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ResourceArn (string) --

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber (integer) --

          The policy rule number associated with the attachment.

        • SegmentName (string) --

          The name of the segment attachment.

        • Tags (list) --

          The tags associated with the attachment.

          • (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.

        • ProposedSegmentChange (dict) --

          The attachment to move from one segment to another.

          • Tags (list) --

            The key-value tags that changed for the segment.

            • (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.

          • AttachmentPolicyRuleNumber (integer) --

            The rule number in the policy document that applies to this change.

          • SegmentName (string) --

            The name of the segment to change.

        • CreatedAt (datetime) --

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) --

          The timestamp when the attachment was last updated.

      • TransportAttachmentId (string) --

        The ID of the transport attachment.

      • Options (dict) --

        Options for connecting an attachment.

        • Protocol (string) --

          The protocol used for the attachment connection.

GetCoreNetwork (new) Link ¶

Returns information about a core network. By default it returns the LIVE policy.

See also: AWS API Documentation

Request Syntax

client.get_core_network(
    CoreNetworkId='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network.

rtype:

dict

returns:

Response Syntax

{
    'CoreNetwork': {
        'GlobalNetworkId': 'string',
        'CoreNetworkId': 'string',
        'CoreNetworkArn': 'string',
        'Description': 'string',
        'CreatedAt': datetime(2015, 1, 1),
        'State': 'CREATING'|'UPDATING'|'AVAILABLE'|'DELETING',
        'Segments': [
            {
                'Name': 'string',
                'EdgeLocations': [
                    'string',
                ],
                'SharedSegments': [
                    'string',
                ]
            },
        ],
        'Edges': [
            {
                'EdgeLocation': 'string',
                'Asn': 123,
                'InsideCidrBlocks': [
                    'string',
                ]
            },
        ],
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • CoreNetwork (dict) --

      Details about a core network.

      • GlobalNetworkId (string) --

        The ID of the global network that your core network is a part of.

      • CoreNetworkId (string) --

        The ID of a core network.

      • CoreNetworkArn (string) --

        The ARN of a core network.

      • Description (string) --

        The description of a core network.

      • CreatedAt (datetime) --

        The timestamp when a core network was created.

      • State (string) --

        The current state of a core network.

      • Segments (list) --

        The segments within a core network.

        • (dict) --

          Describes a core network segment, which are dedicated routes. Only attachments within this segment can communicate with each other.

          • Name (string) --

            The name of a core network segment.

          • EdgeLocations (list) --

            The Regions where the edges are located.

            • (string) --

          • SharedSegments (list) --

            The shared segments of a core network.

            • (string) --

      • Edges (list) --

        The edges within a core network.

        • (dict) --

          Describes a core network edge.

          • EdgeLocation (string) --

            The Region where a core network edge is located.

          • Asn (integer) --

            The ASN of a core network edge.

          • InsideCidrBlocks (list) --

            The inside IP addresses used for core network edges.

            • (string) --

      • Tags (list) --

        The tags associated with a core 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.

CreateSiteToSiteVpnAttachment (new) Link ¶

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

See also: AWS API Documentation

Request Syntax

client.create_site_to_site_vpn_attachment(
    CoreNetworkId='string',
    VpnConnectionArn='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    ClientToken='string'
)
type CoreNetworkId:

string

param CoreNetworkId:

[REQUIRED]

The ID of a core network where you're creating a site-to-site VPN attachment.

type VpnConnectionArn:

string

param VpnConnectionArn:

[REQUIRED]

The ARN identifying the VPN attachment.

type Tags:

list

param Tags:

The tags associated with the request.

  • (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.

type ClientToken:

string

param ClientToken:

The client token associated with the request.

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'SiteToSiteVpnAttachment': {
        'Attachment': {
            'CoreNetworkId': 'string',
            'CoreNetworkArn': 'string',
            'AttachmentId': 'string',
            'OwnerAccountId': 'string',
            'AttachmentType': 'CONNECT'|'SITE_TO_SITE_VPN'|'VPC',
            'State': 'REJECTED'|'PENDING_ATTACHMENT_ACCEPTANCE'|'CREATING'|'FAILED'|'AVAILABLE'|'UPDATING'|'PENDING_NETWORK_UPDATE'|'PENDING_TAG_ACCEPTANCE'|'DELETING',
            'EdgeLocation': 'string',
            'ResourceArn': 'string',
            'AttachmentPolicyRuleNumber': 123,
            'SegmentName': 'string',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'ProposedSegmentChange': {
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ],
                'AttachmentPolicyRuleNumber': 123,
                'SegmentName': 'string'
            },
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1)
        },
        'VpnConnectionArn': 'string'
    }
}

Response Structure

  • (dict) --

    • SiteToSiteVpnAttachment (dict) --

      Details about a site-to-site VPN attachment.

      • Attachment (dict) --

        Provides details about a site-to-site VPN attachment.

        • CoreNetworkId (string) --

          A core network ID.

        • CoreNetworkArn (string) --

          The ARN of a core network.

        • AttachmentId (string) --

          The ID of the attachment.

        • OwnerAccountId (string) --

          The ID of the attachment account owner.

        • AttachmentType (string) --

          The type of attachment.

        • State (string) --

          The state of the attachment.

        • EdgeLocation (string) --

          The Region where the edge is located.

        • ResourceArn (string) --

          The attachment resource ARN.

        • AttachmentPolicyRuleNumber (integer) --

          The policy rule number associated with the attachment.

        • SegmentName (string) --

          The name of the segment attachment.

        • Tags (list) --

          The tags associated with the attachment.

          • (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.

        • ProposedSegmentChange (dict) --

          The attachment to move from one segment to another.

          • Tags (list) --

            The key-value tags that changed for the segment.

            • (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.

          • AttachmentPolicyRuleNumber (integer) --

            The rule number in the policy document that applies to this change.

          • SegmentName (string) --

            The name of the segment to change.

        • CreatedAt (datetime) --

          The timestamp when the attachment was created.

        • UpdatedAt (datetime) --

          The timestamp when the attachment was last updated.

      • VpnConnectionArn (string) --

        The ARN of the site-to-site VPN attachment.

GetNetworkResourceRelationships (updated) Link ¶
Changes (request)
{'CoreNetworkId': 'string'}

Gets the network resource relationships for the specified global network.

See also: AWS API Documentation

Request Syntax

client.get_network_resource_relationships(
    GlobalNetworkId='string',
    CoreNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    MaxResults=123,
    NextToken='string'
)
type GlobalNetworkId:

string

param GlobalNetworkId:

[REQUIRED]

The ID of the global network.

type CoreNetworkId:

string

param CoreNetworkId:

The ID of a core network.

type RegisteredGatewayArn:

string

param RegisteredGatewayArn:

The ARN of the registered gateway.

type AwsRegion:

string

param AwsRegion:

The Amazon Web Services Region.

type AccountId:

string

param AccountId:

The Amazon Web Services account ID.

type ResourceType:

string

param ResourceType:

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

type ResourceArn:

string

param ResourceArn:

The ARN of the gateway.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

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.

GetNetworkResources (updated) Link ¶
Changes (request, response)
Request
{'CoreNetworkId': 'string'}
Response
{'NetworkResources': {'CoreNetworkId': 'string'}}

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

client.get_network_resources(
    GlobalNetworkId='string',
    CoreNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    MaxResults=123,
    NextToken='string'
)
type GlobalNetworkId:

string

param GlobalNetworkId:

[REQUIRED]

The ID of the global network.

type CoreNetworkId:

string

param CoreNetworkId:

The ID of a core network.

type RegisteredGatewayArn:

string

param RegisteredGatewayArn:

The ARN of the gateway.

type AwsRegion:

string

param AwsRegion:

The Amazon Web Services Region.

type AccountId:

string

param AccountId:

The Amazon Web Services account ID.

type ResourceType:

string

param ResourceType:

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:

type ResourceArn:

string

param ResourceArn:

The ARN of the resource.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'NetworkResources': [
        {
            'RegisteredGatewayArn': 'string',
            'CoreNetworkId': '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.

        • CoreNetworkId (string) --

          a core network ID.

        • 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.

GetNetworkRoutes (updated) Link ¶
Changes (request, response)
Request
{'RouteTableIdentifier': {'CoreNetworkSegmentEdge': {'CoreNetworkId': 'string',
                                                     'EdgeLocation': 'string',
                                                     'SegmentName': 'string'}}}
Response
{'CoreNetworkSegmentEdge': {'CoreNetworkId': 'string',
                            'EdgeLocation': 'string',
                            'SegmentName': 'string'},
 'NetworkRoutes': {'Destinations': {'CoreNetworkAttachmentId': 'string',
                                    'EdgeLocation': 'string',
                                    'SegmentName': 'string'}},
 'RouteTableType': {'CORE_NETWORK_SEGMENT'}}

Gets the network routes of the specified global network.

See also: AWS API Documentation

Request Syntax

client.get_network_routes(
    GlobalNetworkId='string',
    RouteTableIdentifier={
        'TransitGatewayRouteTableArn': 'string',
        'CoreNetworkSegmentEdge': {
            'CoreNetworkId': 'string',
            'SegmentName': 'string',
            'EdgeLocation': 'string'
        }
    },
    ExactCidrMatches=[
        'string',
    ],
    LongestPrefixMatches=[
        'string',
    ],
    SubnetOfMatches=[
        'string',
    ],
    SupernetOfMatches=[
        'string',
    ],
    PrefixListIds=[
        'string',
    ],
    States=[
        'ACTIVE'|'BLACKHOLE',
    ],
    Types=[
        'PROPAGATED'|'STATIC',
    ],
    DestinationFilters={
        'string': [
            'string',
        ]
    }
)
type GlobalNetworkId:

string

param GlobalNetworkId:

[REQUIRED]

The ID of the global network.

type RouteTableIdentifier:

dict

param RouteTableIdentifier:

[REQUIRED]

The ID of the route table.

  • TransitGatewayRouteTableArn (string) --

    The ARN of the transit gateway route table.

  • CoreNetworkSegmentEdge (dict) --

    The segment edge in a core network.

    • CoreNetworkId (string) --

      The ID of a core network.

    • SegmentName (string) --

      The name of the segment edge.

    • EdgeLocation (string) --

      The Region where the segment edge is located.

type ExactCidrMatches:

list

param ExactCidrMatches:

An exact CIDR block.

  • (string) --

type LongestPrefixMatches:

list

param LongestPrefixMatches:

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

  • (string) --

type SubnetOfMatches:

list

param SubnetOfMatches:

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

  • (string) --

type SupernetOfMatches:

list

param SupernetOfMatches:

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) --

type PrefixListIds:

list

param PrefixListIds:

The IDs of the prefix lists.

  • (string) --

type States:

list

param States:

The route states.

  • (string) --

type Types:

list

param Types:

The route types.

  • (string) --

type DestinationFilters:

dict

param DestinationFilters:

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

  • (string) --

    • (list) --

      • (string) --

rtype:

dict

returns:

Response Syntax

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

Response Structure

  • (dict) --

    • RouteTableArn (string) --

      The ARN of the route table.

    • CoreNetworkSegmentEdge (dict) --

      Describes a core network segment edge.

      • CoreNetworkId (string) --

        The ID of a core network.

      • SegmentName (string) --

        The name of the segment edge.

      • EdgeLocation (string) --

        The Region where the segment edge is located.

    • 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.

            • CoreNetworkAttachmentId (string) --

              The ID of a core network attachment.

            • TransitGatewayAttachmentId (string) --

              The ID of the transit gateway attachment.

            • SegmentName (string) --

              The name of the segment.

            • EdgeLocation (string) --

              The edge location for the network destination.

            • 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.

GetNetworkTelemetry (updated) Link ¶
Changes (request, response)
Request
{'CoreNetworkId': 'string'}
Response
{'NetworkTelemetry': {'CoreNetworkId': 'string'}}

Gets the network telemetry of the specified global network.

See also: AWS API Documentation

Request Syntax

client.get_network_telemetry(
    GlobalNetworkId='string',
    CoreNetworkId='string',
    RegisteredGatewayArn='string',
    AwsRegion='string',
    AccountId='string',
    ResourceType='string',
    ResourceArn='string',
    MaxResults=123,
    NextToken='string'
)
type GlobalNetworkId:

string

param GlobalNetworkId:

[REQUIRED]

The ID of the global network.

type CoreNetworkId:

string

param CoreNetworkId:

The ID of a core network.

type RegisteredGatewayArn:

string

param RegisteredGatewayArn:

The ARN of the gateway.

type AwsRegion:

string

param AwsRegion:

The Amazon Web Services Region.

type AccountId:

string

param AccountId:

The Amazon Web Services account ID.

type ResourceType:

string

param ResourceType:

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

type ResourceArn:

string

param ResourceArn:

The ARN of the resource.

type MaxResults:

integer

param MaxResults:

The maximum number of results to return.

type NextToken:

string

param NextToken:

The token for the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'NetworkTelemetry': [
        {
            'RegisteredGatewayArn': 'string',
            'CoreNetworkId': '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.

        • CoreNetworkId (string) --

          The ID of a core network.

        • 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.