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

**********************
stop_contact_streaming
**********************



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

  

  Ends message streaming on a specified contact. To restart message streaming on that contact, call the `StartContactStreaming <https://docs.aws.amazon.com/connect/latest/APIReference/API_StartContactStreaming.html>`__ API.

  

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


  **Request Syntax**
  ::

    response = client.stop_contact_streaming(
        InstanceId='string',
        ContactId='string',
        StreamingId='string'
    )
    
  :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 ContactId: string
  :param ContactId: **[REQUIRED]** 

    The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.

    

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

    The identifier of the streaming configuration enabled.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

  