:doc:`Bedrock <../../bedrock>` / Client / stop_model_invocation_job

*************************
stop_model_invocation_job
*************************



.. py:method:: Bedrock.Client.stop_model_invocation_job(**kwargs)

  

  Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see `Stop a batch inference job <https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-stop.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/StopModelInvocationJob>`_  


  **Request Syntax**
  ::

    response = client.stop_model_invocation_job(
        jobIdentifier='string'
    )
    
  :type jobIdentifier: string
  :param jobIdentifier: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the batch inference job to stop.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.ResourceNotFoundException`

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

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

  
  *   :py:class:`Bedrock.Client.exceptions.ConflictException`

  
  *   :py:class:`Bedrock.Client.exceptions.InternalServerException`

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

  