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

************************
stop_test_case_execution
************************



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

  

  Stops a running test execution.

  

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


  **Request Syntax**
  ::

    response = client.stop_test_case_execution(
        InstanceId='string',
        TestCaseExecutionId='string',
        TestCaseId='string',
        ClientToken='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance.

    

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

    The identifier of the test case execution to stop.

    

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

    The identifier of the test case.

    

  
  :type ClientToken: string
  :param ClientToken: 

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see `Making retries safe with idempotent APIs <https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/>`__.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

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

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

  