JobRun

class JobRun

Contains information about a job run.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

This field is deprecated. Use MaxCapacity instead.

Link copied to clipboard

The job arguments associated with this run. For this job run, they replace the default arguments set in the job definition itself.

Link copied to clipboard

The number of the attempt to run this job.

Link copied to clipboard

The date and time that this job run completed.

Link copied to clipboard

This field can be set for either job runs with execution class FLEX or when Auto Scaling is enabled, and represents the total time each executor ran during the lifecycle of a job run in seconds, multiplied by a DPU factor (1 for G.1X, 2 for G.2X, or 0.25 for G.025X workers). This value may be different than the executionEngineRuntime * MaxCapacity as in the case of Auto Scaling jobs, as the number of executors running at a given time may be less than the MaxCapacity. Therefore, it is possible that the value of DPUSeconds is less than executionEngineRuntime * MaxCapacity.

Link copied to clipboard

An error message associated with this job run.

Link copied to clipboard

Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.

Link copied to clipboard

The amount of time (in seconds) that the job run consumed resources.

Link copied to clipboard

In Spark jobs, GlueVersion determines the versions of Apache Spark and Python that Glue available in a job. The Python version indicates the version supported for jobs of type Spark.

Link copied to clipboard
val id: String?

The ID of this job run.

Link copied to clipboard

A mode that describes how a job was created. Valid values are:

Link copied to clipboard

The name of the job definition being used in this run.

Link copied to clipboard

Specifies whether job run queuing is enabled for the job run.

Link copied to clipboard

The current state of the job run. For more information about the statuses of jobs that have terminated abnormally, see Glue Job Run Statuses.

Link copied to clipboard

The last time that this job run was modified.

Link copied to clipboard

The name of the log group for secure logging that can be server-side encrypted in Amazon CloudWatch using KMS. This name can be /aws-glue/jobs/, in which case the default encryption is NONE. If you add a role name and SecurityConfiguration name (in other words, /aws-glue/jobs-yourRoleName-yourSecurityConfigurationName/), then that security configuration is used to encrypt the log group.

Link copied to clipboard

This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs.

Link copied to clipboard

For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

Link copied to clipboard

Specifies configuration properties of a job run notification.

Link copied to clipboard

The number of workers of a defined workerType that are allocated when a job runs.

Link copied to clipboard

A list of predecessors to this job run.

Link copied to clipboard

The ID of the previous run of this job. For example, the JobRunId specified in the StartJobRun action.

Link copied to clipboard

The name of an Glue usage profile associated with the job run.

Link copied to clipboard

The name of the SecurityConfiguration structure to be used with this job run.

Link copied to clipboard

The date and time at which this job run was started.

Link copied to clipboard

This field holds details that pertain to the state of a job run. The field is nullable.

Link copied to clipboard
val timeout: Int?

The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. This value overrides the timeout value set in the parent job.

Link copied to clipboard

The name of the trigger that started this job run.

Link copied to clipboard

The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs.

Functions

Link copied to clipboard
inline fun copy(block: JobRun.Builder.() -> Unit = {}): JobRun
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String