:doc:`BackupGateway <../../backup-gateway>` / Client / disassociate_gateway_from_server

********************************
disassociate_gateway_from_server
********************************



.. py:method:: BackupGateway.Client.disassociate_gateway_from_server(**kwargs)

  

  Disassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DisassociateGatewayFromServer>`_  


  **Request Syntax**
  ::

    response = client.disassociate_gateway_from_server(
        GatewayArn='string'
    )
    
  :type GatewayArn: string
  :param GatewayArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the gateway to disassociate.

    

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

    
    ::

      {
          'GatewayArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **GatewayArn** *(string) --* 

        The Amazon Resource Name (ARN) of the gateway you disassociated.

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

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

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

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

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

  