batchDeleteEvaluationJob
abstract suspend fun batchDeleteEvaluationJob(input: BatchDeleteEvaluationJobRequest): BatchDeleteEvaluationJobResponse
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.
Samples
fun main() {
//sampleStart
// The following example shows a request to delete two model evaluation jobs, where one of the jobs is
// not found.
val resp = bedrockClient.batchDeleteEvaluationJob {
jobIdentifiers = listOf<String>(
"arn:aws:bedrock:us-east-2:123456789012:evaluation-job/12rnxmplqv0v",
"arn:aws:bedrock:us-east-2:123456789012:evaluation-job/rispxmpl12rn"
)
}
//sampleEnd
}