Skip to content

StartJobRunRequest

Source code in docs_src/capo_emr_serverless/types/start_job_run_request.py
class StartJobRunRequest(TypedDict, closed=True):
    application_id: "capo_emr_serverless.types.application_id.ApplicationId"
    """<p>The ID of the application on which to run the job.</p>"""
    client_token: "capo_emr_serverless.types.client_token.ClientToken"
    """<p>The client idempotency token of the job run to start. Its value must be unique for each request.</p>"""
    execution_role_arn: "capo_emr_serverless.types.iam_role_arn.IAMRoleArn"
    """<p>The execution role ARN for the job run.</p>"""
    execution_iam_policy: NotRequired[
        "capo_emr_serverless.types.job_run_execution_iam_policy.JobRunExecutionIamPolicy"
    ]
    """<p>You can pass an optional IAM policy. The resulting job IAM role permissions will be an intersection of this policy and the policy associated with your job execution role.</p>"""
    job_driver: NotRequired["capo_emr_serverless.types.job_driver.JobDriver"]
    """<p>The job driver for the job run.</p>"""
    configuration_overrides: NotRequired[
        "capo_emr_serverless.types.configuration_overrides.ConfigurationOverrides"
    ]
    """<p>The configuration overrides for the job run.</p>"""
    tags: NotRequired["capo_emr_serverless.types.tag_map.TagMap"]
    """<p>The tags assigned to the job run.</p>"""
    execution_timeout_minutes: NotRequired[
        "capo_emr_serverless.types.duration.Duration"
    ]
    """<p>The maximum duration, in minutes, for the job run. If the job run exceeds this duration, Amazon EMR Serverless cancels it automatically.</p> <p>For BATCH mode job runs, the maximum value is 10080 minutes (7 days) starting with Amazon EMR release 7.11. Setting a value of 0 to disable the timeout is no longer supported for BATCH mode job runs.</p>"""
    name: NotRequired["capo_emr_serverless.types.string256.String256"]
    """<p>The optional job run name. This doesn't have to be unique.</p>"""
    mode: NotRequired["capo_emr_serverless.types.job_run_mode.JobRunMode"]
    """<p>The mode of the job run when it starts.</p>"""
    retry_policy: NotRequired["capo_emr_serverless.types.retry_policy.RetryPolicy"]
    """<p>The retry policy when job run starts.</p>"""

application_id instance-attribute

application_id: ApplicationId

The ID of the application on which to run the job.

client_token instance-attribute

client_token: ClientToken

The client idempotency token of the job run to start. Its value must be unique for each request.

configuration_overrides instance-attribute

configuration_overrides: NotRequired[ConfigurationOverrides]

The configuration overrides for the job run.

execution_iam_policy instance-attribute

execution_iam_policy: NotRequired[JobRunExecutionIamPolicy]

You can pass an optional IAM policy. The resulting job IAM role permissions will be an intersection of this policy and the policy associated with your job execution role.

execution_role_arn instance-attribute

execution_role_arn: IAMRoleArn

The execution role ARN for the job run.

execution_timeout_minutes instance-attribute

execution_timeout_minutes: NotRequired[Duration]

The maximum duration, in minutes, for the job run. If the job run exceeds this duration, Amazon EMR Serverless cancels it automatically.

For BATCH mode job runs, the maximum value is 10080 minutes (7 days) starting with Amazon EMR release 7.11. Setting a value of 0 to disable the timeout is no longer supported for BATCH mode job runs.

job_driver instance-attribute

job_driver: NotRequired[JobDriver]

The job driver for the job run.

mode instance-attribute

mode: NotRequired[JobRunMode]

The mode of the job run when it starts.

name instance-attribute

name: NotRequired[String256]

The optional job run name. This doesn't have to be unique.

retry_policy instance-attribute

retry_policy: NotRequired[RetryPolicy]

The retry policy when job run starts.

tags instance-attribute

tags: NotRequired[TagMap]

The tags assigned to the job run.