JobRun class

Contains information about a job run.

Constructors

JobRun({int? allocatedCapacity, Map<String, String>? arguments, int? attempt, DateTime? completedOn, String? errorMessage, int? executionTime, String? glueVersion, String? id, String? jobName, JobRunState? jobRunState, DateTime? lastModifiedOn, String? logGroupName, double? maxCapacity, NotificationProperty? notificationProperty, int? numberOfWorkers, List<Predecessor>? predecessorRuns, String? previousRunId, String? securityConfiguration, DateTime? startedOn, int? timeout, String? triggerName, WorkerType? workerType})
JobRun.fromJson(Map<String, dynamic> json)
factory

Properties

allocatedCapacity int?
This field is deprecated. Use MaxCapacity instead.
final
arguments Map<String, String>?
The job arguments associated with this run. For this job run, they replace the default arguments set in the job definition itself.
final
attempt int?
The number of the attempt to run this job.
final
completedOn DateTime?
The date and time that this job run completed.
final
errorMessage String?
An error message associated with this job run.
final
executionTime int?
The amount of time (in seconds) that the job run consumed resources.
final
glueVersion String?
Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of this job run.
final
jobName String?
The name of the job definition being used in this run.
final
jobRunState JobRunState?
The current state of the job run. For more information about the statuses of jobs that have terminated abnormally, see AWS Glue Job Run Statuses.
final
lastModifiedOn DateTime?
The last time that this job run was modified.
final
logGroupName String?
The name of the log group for secure logging that can be server-side encrypted in Amazon CloudWatch using AWS 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.
final
maxCapacity double?
The number of AWS 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 AWS Glue pricing page.
final
notificationProperty NotificationProperty?
Specifies configuration properties of a job run notification.
final
numberOfWorkers int?
The number of workers of a defined workerType that are allocated when a job runs.
final
predecessorRuns List<Predecessor>?
A list of predecessors to this job run.
final
previousRunId String?
The ID of the previous run of this job. For example, the JobRunId specified in the StartJobRun action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityConfiguration String?
The name of the SecurityConfiguration structure to be used with this job run.
final
startedOn DateTime?
The date and time at which this job run was started.
final
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. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
final
triggerName String?
The name of the trigger that started this job run.
final
workerType WorkerType?
The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited