:doc:`Synthetics <../../synthetics>` / Client / disassociate_resource

*********************
disassociate_resource
*********************



.. py:method:: Synthetics.Client.disassociate_resource(**kwargs)

  

  Removes a canary from a group. You must run this operation in the Region where the canary exists.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DisassociateResource>`_  


  **Request Syntax**
  ::

    response = client.disassociate_resource(
        GroupIdentifier='string',
        ResourceArn='string'
    )
    
  :type GroupIdentifier: string
  :param GroupIdentifier: **[REQUIRED]** 

    Specifies the group. You can specify the group name, the ARN, or the group ID as the ``GroupIdentifier``.

    

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

    The ARN of the canary that you want to remove from the specified group.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Synthetics.Client.exceptions.InternalServerException`

  
  *   :py:class:`Synthetics.Client.exceptions.ValidationException`

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

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

  