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

*****************************
stop_contact_media_processing
*****************************



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

  

  Stops in-flight message processing for an ongoing chat session.

  

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


  **Request Syntax**
  ::

    response = client.stop_contact_media_processing(
        InstanceId='string',
        ContactId='string'
    )
    
  :type InstanceId: string
  :param InstanceId: 

    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: 

    The identifier of the contact.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

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

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

  