Skip to content

JobRun

Source code in docs_src/capo_emr_serverless/types/job_run.py
class JobRun(TypedDict, closed=True):
    application_id: "capo_emr_serverless.types.application_id.ApplicationId"
    """<p>The ID of the application the job is running on.</p>"""
    job_run_id: "capo_emr_serverless.types.job_run_id.JobRunId"
    """<p>The ID of the job run.</p>"""
    name: NotRequired["capo_emr_serverless.types.string256.String256"]
    """<p>The optional job run name. This doesn't have to be unique.</p>"""
    arn: "capo_emr_serverless.types.job_arn.JobArn"
    """<p>The execution role ARN of the job run.</p>"""
    created_by: (
        "capo_emr_serverless.types.request_identity_user_arn.RequestIdentityUserArn"
    )
    """<p>The user who created the job run.</p>"""
    created_at: "capo_emr_serverless.types.date.Date"
    """<p>The date and time when the job run was created.</p>"""
    updated_at: "capo_emr_serverless.types.date.Date"
    """<p>The date and time when the job run was updated.</p>"""
    execution_role: "capo_emr_serverless.types.iam_role_arn.IAMRoleArn"
    """<p>The execution role ARN of the job run.</p>"""
    execution_iam_policy: NotRequired[
        "capo_emr_serverless.types.job_run_execution_iam_policy.JobRunExecutionIamPolicy"
    ]
    state: "capo_emr_serverless.types.job_run_state.JobRunState"
    """<p>The state of the job run.</p>"""
    state_details: "capo_emr_serverless.types.string256.String256"
    """<p>The state details of the job run.</p>"""
    release_label: "capo_emr_serverless.types.release_label.ReleaseLabel"
    """<p>The Amazon EMR release associated with the application your job is running on.</p>"""
    configuration_overrides: NotRequired[
        "capo_emr_serverless.types.configuration_overrides.ConfigurationOverrides"
    ]
    """<p>The configuration settings that are used to override default configuration.</p>"""
    job_driver: "capo_emr_serverless.types.job_driver.JobDriver"
    """<p>The job driver for the job run.</p>"""
    tags: NotRequired["capo_emr_serverless.types.tag_map.TagMap"]
    """<p>The tags assigned to the job run.</p>"""
    total_resource_utilization: NotRequired[
        "capo_emr_serverless.types.total_resource_utilization.TotalResourceUtilization"
    ]
    """<p>The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.</p>"""
    network_configuration: NotRequired[
        "capo_emr_serverless.types.network_configuration.NetworkConfiguration"
    ]
    total_execution_duration_seconds: NotRequired["int"]
    """<p>The job run total execution duration in seconds. This field is only available for job runs in a <code>COMPLETED</code>, <code>FAILED</code>, or <code>CANCELLED</code> state.</p>"""
    execution_timeout_minutes: NotRequired[
        "capo_emr_serverless.types.duration.Duration"
    ]
    """<p>Returns the job run timeout value from the <code>StartJobRun</code> call. If you didn't specify a timeout, this value defaults to 720 minutes.</p> <p>For BATCH mode job runs, the maximum value is 10080 minutes (7 days) starting with Amazon EMR release 7.11.</p>"""
    billed_resource_utilization: NotRequired[
        "capo_emr_serverless.types.resource_utilization.ResourceUtilization"
    ]
    """<p>The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.</p>"""
    mode: NotRequired["capo_emr_serverless.types.job_run_mode.JobRunMode"]
    """<p>The mode of the job run.</p>"""
    retry_policy: NotRequired["capo_emr_serverless.types.retry_policy.RetryPolicy"]
    """<p>The retry policy of the job run.</p>"""
    attempt: NotRequired["capo_emr_serverless.types.attempt_number.AttemptNumber"]
    """<p>The attempt of the job run.</p>"""
    attempt_created_at: NotRequired["capo_emr_serverless.types.date.Date"]
    """<p>The date and time of when the job run attempt was created.</p>"""
    attempt_updated_at: NotRequired["capo_emr_serverless.types.date.Date"]
    """<p>The date and time of when the job run attempt was last updated.</p>"""
    started_at: NotRequired["capo_emr_serverless.types.date.Date"]
    """<p>The date and time when the job moved to the RUNNING state.</p>"""
    ended_at: NotRequired["capo_emr_serverless.types.date.Date"]
    """<p>The date and time when the job was terminated.</p>"""
    queued_duration_milliseconds: NotRequired["int"]
    """<p>The total time for a job in the QUEUED state in milliseconds.</p>"""
    image_configuration: NotRequired[
        "capo_emr_serverless.types.image_configuration.ImageConfiguration"
    ]
    worker_type_specifications: NotRequired[
        "capo_emr_serverless.types.worker_type_specification_map.WorkerTypeSpecificationMap"
    ]
    """<p>The specification applied to each worker type. Includes the JobRun-level ImageConfiguration when the applicationLevelDigestResolution is false for the application.</p>"""

application_id instance-attribute

application_id: ApplicationId

The ID of the application the job is running on.

arn instance-attribute

arn: JobArn

The execution role ARN of the job run.

attempt instance-attribute

attempt: NotRequired[AttemptNumber]

The attempt of the job run.

attempt_created_at instance-attribute

attempt_created_at: NotRequired[Date]

The date and time of when the job run attempt was created.

attempt_updated_at instance-attribute

attempt_updated_at: NotRequired[Date]

The date and time of when the job run attempt was last updated.

billed_resource_utilization instance-attribute

billed_resource_utilization: NotRequired[ResourceUtilization]

The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.

configuration_overrides instance-attribute

configuration_overrides: NotRequired[ConfigurationOverrides]

The configuration settings that are used to override default configuration.

created_at instance-attribute

created_at: Date

The date and time when the job run was created.

created_by instance-attribute

The user who created the job run.

ended_at instance-attribute

ended_at: NotRequired[Date]

The date and time when the job was terminated.

execution_iam_policy instance-attribute

execution_iam_policy: NotRequired[JobRunExecutionIamPolicy]

execution_role instance-attribute

execution_role: IAMRoleArn

The execution role ARN of the job run.

execution_timeout_minutes instance-attribute

execution_timeout_minutes: NotRequired[Duration]

Returns the job run timeout value from the StartJobRun call. If you didn't specify a timeout, this value defaults to 720 minutes.

For BATCH mode job runs, the maximum value is 10080 minutes (7 days) starting with Amazon EMR release 7.11.

image_configuration instance-attribute

image_configuration: NotRequired[ImageConfiguration]

job_driver instance-attribute

job_driver: JobDriver

The job driver for the job run.

job_run_id instance-attribute

job_run_id: JobRunId

The ID of the job run.

mode instance-attribute

mode: NotRequired[JobRunMode]

The mode of the job run.

name instance-attribute

name: NotRequired[String256]

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

network_configuration instance-attribute

network_configuration: NotRequired[NetworkConfiguration]

queued_duration_milliseconds instance-attribute

queued_duration_milliseconds: NotRequired[int]

The total time for a job in the QUEUED state in milliseconds.

release_label instance-attribute

release_label: ReleaseLabel

The Amazon EMR release associated with the application your job is running on.

retry_policy instance-attribute

retry_policy: NotRequired[RetryPolicy]

The retry policy of the job run.

started_at instance-attribute

started_at: NotRequired[Date]

The date and time when the job moved to the RUNNING state.

state instance-attribute

state: JobRunState

The state of the job run.

state_details instance-attribute

state_details: String256

The state details of the job run.

tags instance-attribute

tags: NotRequired[TagMap]

The tags assigned to the job run.

total_execution_duration_seconds instance-attribute

total_execution_duration_seconds: NotRequired[int]

The job run total execution duration in seconds. This field is only available for job runs in a COMPLETED, FAILED, or CANCELLED state.

total_resource_utilization instance-attribute

total_resource_utilization: NotRequired[TotalResourceUtilization]

The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.

updated_at instance-attribute

updated_at: Date

The date and time when the job run was updated.

worker_type_specifications instance-attribute

worker_type_specifications: NotRequired[WorkerTypeSpecificationMap]

The specification applied to each worker type. Includes the JobRun-level ImageConfiguration when the applicationLevelDigestResolution is false for the application.