:doc:`CleanRoomsML <../../cleanroomsml>` / Client / cancel_trained_model_inference_job

**********************************
cancel_trained_model_inference_job
**********************************



.. py:method:: CleanRoomsML.Client.cancel_trained_model_inference_job(**kwargs)

  

  Submits a request to cancel a trained model inference job.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/CancelTrainedModelInferenceJob>`_  


  **Request Syntax**
  ::

    response = client.cancel_trained_model_inference_job(
        membershipIdentifier='string',
        trainedModelInferenceJobArn='string'
    )
    
  :type membershipIdentifier: string
  :param membershipIdentifier: **[REQUIRED]** 

    The membership ID of the trained model inference job that you want to cancel.

    

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

    The Amazon Resource Name (ARN) of the trained model inference job that you want to cancel.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`CleanRoomsML.Client.exceptions.ConflictException`

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

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

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

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

  