Bedrock / Client / batch_delete_evaluation_job
batch_delete_evaluation_job#
- Bedrock.Client.batch_delete_evaluation_job(**kwargs)#
Creates a batch deletion job. A model evaluation job can only be deleted if it has following status
FAILED
,COMPLETED
, andSTOPPED
. You can request up to 25 model evaluation jobs be deleted in a single request.See also: AWS API Documentation
Request Syntax
response = client.batch_delete_evaluation_job( jobIdentifiers=[ 'string', ] )
- Parameters:
jobIdentifiers (list) –
[REQUIRED]
An array of model evaluation job ARNs to be deleted.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'errors': [ { 'jobIdentifier': 'string', 'code': 'string', 'message': 'string' }, ], 'evaluationJobs': [ { 'jobIdentifier': 'string', 'jobStatus': 'InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped'|'Deleting' }, ] }
Response Structure
(dict) –
errors (list) –
A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.
(dict) –
A JSON array that provides the status of the model evaluation jobs being deleted.
jobIdentifier (string) –
The ARN of the model evaluation job being deleted.
code (string) –
A HTTP status code of the model evaluation job being deleted.
message (string) –
A status message about the model evaluation job deletion.
evaluationJobs (list) –
The list of model evaluation jobs to be deleted.
(dict) –
An array of model evaluation jobs to be deleted, and their associated statuses.
jobIdentifier (string) –
The ARN of model evaluation job to be deleted.
jobStatus (string) –
The status of the job’s deletion.
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