Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

disassociate_connect_peer

disassociate_connect_peer(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.disassociate_connect_peer(
    GlobalNetworkId='string',
    ConnectPeerId='string'
)
Parameters
  • GlobalNetworkId (string) --

    [REQUIRED]

    The ID of the global network.

  • ConnectPeerId (string) --

    [REQUIRED]

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

Return type

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.

Exceptions

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