Skip to content

CancelJobsResponse

Source code in docs_src/capo_batch/types/cancel_jobs_response.py
class CancelJobsResponse(TypedDict, closed=True):
    successful: NotRequired["capo_batch.types.string_list.StringList"]
    """<p>A list of the job IDs whose cancellation request was accepted.</p>"""
    errors: NotRequired[
        "capo_batch.types.cancel_jobs_error_detail_list.CancelJobsErrorDetailList"
    ]
    """<p>A list of <code>CancelJobsErrorDetail</code> items, one for each job that couldn't be cancelled. Each item includes the job ID along with a code and message that describe why the job wasn't cancelled.</p>"""

errors instance-attribute

errors: NotRequired[CancelJobsErrorDetailList]

A list of CancelJobsErrorDetail items, one for each job that couldn't be cancelled. Each item includes the job ID along with a code and message that describe why the job wasn't cancelled.

successful instance-attribute

successful: NotRequired[StringList]

A list of the job IDs whose cancellation request was accepted.