Skip to content

CancelJobRunRequest

Source code in docs_src/capo_emr_serverless/types/cancel_job_run_request.py
class CancelJobRunRequest(TypedDict, closed=True):
    application_id: "capo_emr_serverless.types.application_id.ApplicationId"
    """<p>The ID of the application on which the job run will be canceled.</p>"""
    job_run_id: "capo_emr_serverless.types.job_run_id.JobRunId"
    """<p>The ID of the job run to cancel.</p>"""
    shutdown_grace_period_in_seconds: NotRequired[
        "capo_emr_serverless.types.shutdown_grace_period_in_seconds.ShutdownGracePeriodInSeconds"
    ]
    """<p>The duration in seconds to wait before forcefully terminating the job after cancellation is requested.</p>"""

application_id instance-attribute

application_id: ApplicationId

The ID of the application on which the job run will be canceled.

job_run_id instance-attribute

job_run_id: JobRunId

The ID of the job run to cancel.

shutdown_grace_period_in_seconds instance-attribute

shutdown_grace_period_in_seconds: NotRequired[ShutdownGracePeriodInSeconds]

The duration in seconds to wait before forcefully terminating the job after cancellation is requested.