batch_delete_evaluation_job¶
Operation¶
batch_delete_evaluation_job
¶
batch_delete_evaluation_job(request: BatchDeleteEvaluationJobInput | BatchDeleteEvaluationJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[BatchDeleteEvaluationJobInputDict]) -> 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 |
|---|---|---|---|
request
|
BatchDeleteEvaluationJobInput | BatchDeleteEvaluationJobInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[BatchDeleteEvaluationJobInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
BatchDeleteEvaluationJobOutput
|
An instance of |
batch_delete_evaluation_job
async
¶
batch_delete_evaluation_job(request: BatchDeleteEvaluationJobInput | BatchDeleteEvaluationJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[BatchDeleteEvaluationJobInputDict]) -> 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 |
|---|---|---|---|
request
|
BatchDeleteEvaluationJobInput | BatchDeleteEvaluationJobInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[BatchDeleteEvaluationJobInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
BatchDeleteEvaluationJobOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
BatchDeleteEvaluationJobInput
dataclass
¶
Output¶
BatchDeleteEvaluationJobOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for BatchDeleteEvaluationJobOutput structure.
Attributes¶
errors
instance-attribute
¶
errors: list[BatchDeleteEvaluationJobError]
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.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.