:doc:`NetworkManager <../../networkmanager>` / Client / disassociate_connect_peer

*************************
disassociate_connect_peer
*************************



.. py:method:: NetworkManager.Client.disassociate_connect_peer(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateConnectPeer>`_  


  **Request Syntax**
  ::

    response = 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.

          
    
  
  **Exceptions**
  
  *   :py:class:`NetworkManager.Client.exceptions.ValidationException`

  
  *   :py:class:`NetworkManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ConflictException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NetworkManager.Client.exceptions.InternalServerException`

  