:doc:`Connect <../../connect>` / Client / disassociate_flow

*****************
disassociate_flow
*****************



.. py:method:: Connect.Client.disassociate_flow(**kwargs)

  

  Disassociates a connect resource from a flow.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateFlow>`_  


  **Request Syntax**
  ::

    response = client.disassociate_flow(
        InstanceId='string',
        ResourceId='string',
        ResourceType='SMS_PHONE_NUMBER'|'INBOUND_EMAIL'|'OUTBOUND_EMAIL'|'ANALYTICS_CONNECTOR'|'WHATSAPP_MESSAGING_PHONE_NUMBER'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

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

    The identifier of the resource.

     

    
    * Amazon Web Services End User Messaging SMS phone number ARN when using ``SMS_PHONE_NUMBER``
     
    * Amazon Web Services End User Messaging Social phone number ARN when using ``WHATSAPP_MESSAGING_PHONE_NUMBER``
    

    

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

    A valid resource type.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

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

  