Bedrock / Client / stop_model_invocation_job

stop_model_invocation_job#

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.

See also: AWS API Documentation

Request Syntax

response = client.stop_model_invocation_job(
    jobIdentifier='string'
)
Parameters:

jobIdentifier (string) –

[REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Bedrock.Client.exceptions.ResourceNotFoundException

  • Bedrock.Client.exceptions.AccessDeniedException

  • Bedrock.Client.exceptions.ValidationException

  • Bedrock.Client.exceptions.ConflictException

  • Bedrock.Client.exceptions.InternalServerException

  • Bedrock.Client.exceptions.ThrottlingException