Skip to content

TerminateJobsErrorDetail

Source code in docs_src/capo_batch/types/terminate_jobs_error_detail.py
class TerminateJobsErrorDetail(TypedDict, closed=True):
    job: NotRequired["capo_batch.types.string.String"]
    """<p>The Batch job ID of the job that couldn't be terminated.</p>"""
    code: NotRequired["capo_batch.types.string.String"]
    """<p>An error code that identifies the reason the job couldn't be terminated. Valid values are:</p> <ul> <li> <p> <code>ValidationException</code> – A job identifier in the request is malformed or isn't valid.</p> </li> <li> <p> <code>ClientException</code> – The request failed because of a client error.</p> </li> <li> <p> <code>ThrottlingException</code> – The request was throttled. Retry the request.</p> </li> <li> <p> <code>ServerException</code> – An internal error occurred. Retry the request.</p> </li> <li> <p> <code>AccessDenied</code> – The caller isn't authorized to perform the action on the specified job.</p> </li> </ul>"""
    message: NotRequired["capo_batch.types.string.String"]
    """<p>A message that describes the reason the job couldn't be terminated.</p>"""

code instance-attribute

code: NotRequired[String]

An error code that identifies the reason the job couldn't be terminated. Valid values are:

  • ValidationException – A job identifier in the request is malformed or isn't valid.

  • ClientException – The request failed because of a client error.

  • ThrottlingException – The request was throttled. Retry the request.

  • ServerException – An internal error occurred. Retry the request.

  • AccessDenied – The caller isn't authorized to perform the action on the specified job.

job instance-attribute

job: NotRequired[String]

The Batch job ID of the job that couldn't be terminated.

message instance-attribute

message: NotRequired[String]

A message that describes the reason the job couldn't be terminated.