Skip to content

Bedrock  >  Operations  >  batch_delete_evaluation_job

batch_delete_evaluation_job

Operation

batch_delete_evaluation_job async

batch_delete_evaluation_job(input: BatchDeleteEvaluationJobInput, plugins: list[Plugin] | None = None) -> BatchDeleteEvaluationJobOutput

Deletes a batch of evaluation jobs. An evaluation job can only be deleted if it has following status FAILED, COMPLETED, and STOPPED. You can request up to 25 model evaluation jobs be deleted in a single request.

Parameters:

Name Type Description Default
input BatchDeleteEvaluationJobInput

An instance of BatchDeleteEvaluationJobInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
BatchDeleteEvaluationJobOutput

An instance of BatchDeleteEvaluationJobOutput.

Input

BatchDeleteEvaluationJobInput dataclass

Dataclass for BatchDeleteEvaluationJobInput structure.

Attributes

job_identifiers class-attribute instance-attribute
job_identifiers: list[str] | None = None

A list of one or more evaluation job Amazon Resource Names (ARNs) you want to delete.

Output

BatchDeleteEvaluationJobOutput dataclass

Dataclass for BatchDeleteEvaluationJobOutput structure.

Attributes

errors instance-attribute

A JSON object containing the HTTP status codes and the ARNs of evaluation jobs that failed to be deleted.

evaluation_jobs instance-attribute
evaluation_jobs: list[BatchDeleteEvaluationJobItem]

The list of evaluation jobs for deletion.