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

*****************************
disassociate_customer_gateway
*****************************



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

  

  Disassociates a customer gateway from a device and a link.

  

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


  **Request Syntax**
  ::

    response = client.disassociate_customer_gateway(
        GlobalNetworkId='string',
        CustomerGatewayArn='string'
    )
    
  :type GlobalNetworkId: string
  :param GlobalNetworkId: **[REQUIRED]** 

    The ID of the global network.

    

  
  :type CustomerGatewayArn: string
  :param CustomerGatewayArn: **[REQUIRED]** 

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

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

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

    

    - *(dict) --* 
      

      - **CustomerGatewayAssociation** *(dict) --* 

        Information about the customer gateway association.

        
        

        - **CustomerGatewayArn** *(string) --* 

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

          
        

        - **GlobalNetworkId** *(string) --* 

          The ID of the global network.

          
        

        - **DeviceId** *(string) --* 

          The ID of the device.

          
        

        - **LinkId** *(string) --* 

          The ID of the link.

          
        

        - **State** *(string) --* 

          The association state.

          
    
  
  **Exceptions**
  
  *   :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`

  