Delete batch evaluation
Delete a batch evaluation job and its associated metadata. The job must be in a terminal state (COMPLETED, FAILED, or STOPPED) before it can be deleted.
Deleting a batch evaluation removes the job record from ListBatchEvaluations. It does not delete per-session evaluation results that were written to CloudWatch Logs.
Code samples
Example
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
|
|
String |
Yes |
The batch evaluation ID to delete. Passed as a path parameter. |
Response
| Field | Type | Description |
|---|---|---|
|
|
String |
The batch evaluation ID. |
|
|
String |
ARN of the batch evaluation. |
|
|
String |
Final status of the deleted job. |
Errors
| Error | HTTP status | Description |
|---|---|---|
|
|
404 |
No batch evaluation found with the specified ID. |
|
|
409 |
The batch evaluation is still running. Stop it first, then delete. |
|
|
400 |
Invalid batch evaluation ID format. |
|
|
403 |
Insufficient permissions. |
|
|
429 |
Request rate exceeded. |
|
|
500 |
Service-side error. |