Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Stop a model evaluation job in Amazon Bedrock
You can stop a model evaluation job that is currently processing using the AWS Management Console, AWS CLI, or a supported AWS SDK.
The following examples show you how to stop a model evaluation job using the AWS Management Console, AWS CLI, and SDK for Python
- Amazon Bedrock console
-
- SDK for Python
-
The following example shows you how to stop a model evaluation job using the SDK for Python
import boto3
client = boto3.client('bedrock')
response = client.stop_evaluation_job(
## The ARN of the model evaluation job you want to stop.
jobIdentifier='arn:aws:bedrock:us-west-2:444455556666:evaluation-job/fxaqujhttcza'
)
print(response)
- AWS CLI
-
In the AWS CLI, you can use the help command to see which
parameters are required, and which parameters are optional when
specifying add-something in the AWS CLI.
aws bedrock create-evaluation-job help
The following example shows you how to stop a model evaluation job using the AWS CLI
aws bedrock stop-evaluation-job --job-identifier arn:aws:bedrock:us-west-2:444455556666:evaluation-job/fxaqujhttcza