You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::JobRun

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information about a job run.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#allocated_capacityInteger

The number of AWS Glue data processing units (DPUs) allocated to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. 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.

Returns:

  • (Integer)

    The number of AWS Glue data processing units (DPUs) allocated to this JobRun.

#argumentsHash<String,String>

The job arguments associated with this run. These override equivalent default arguments set for the job.

You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.

For information about how to specify and consume your own job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.

For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.

Returns:

  • (Hash<String,String>)

    The job arguments associated with this run.

#attemptInteger

The number of the attempt to run this job.

Returns:

  • (Integer)

    The number of the attempt to run this job.

#completed_onTime

The date and time this job run completed.

Returns:

  • (Time)

    The date and time this job run completed.

#error_messageString

An error message associated with this job run.

Returns:

  • (String)

    An error message associated with this job run.

#idString

The ID of this job run.

Returns:

  • (String)

    The ID of this job run.

#job_nameString

The name of the job being run.

Returns:

  • (String)

    The name of the job being run.

#job_run_stateString

The current state of the job run.

Possible values:

  • STARTING
  • RUNNING
  • STOPPING
  • STOPPED
  • SUCCEEDED
  • FAILED

Returns:

  • (String)

    The current state of the job run.

#last_modified_onTime

The last time this job run was modified.

Returns:

  • (Time)

    The last time this job run was modified.

#predecessor_runsArray<Types::Predecessor>

A list of predecessors to this job run.

Returns:

#previous_run_idString

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

Returns:

  • (String)

    The ID of the previous run of this job.

#started_onTime

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

Returns:

  • (Time)

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

#trigger_nameString

The name of the trigger that started this job run.

Returns:

  • (String)

    The name of the trigger that started this job run.