Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . glue ]



Retrieves the metadata for a given job run.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


--job-name <value>
--run-id <value>
[--predecessors-included | --no-predecessors-included]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--job-name (string)

Name of the job being run.

--run-id (string)

The ID of the job run.

--predecessors-included | --no-predecessors-included (boolean)

True if a list of predecessor runs should be returned.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


JobRun -> (structure)

The requested job-run metadata.

Id -> (string)

The ID of this job run.

Attempt -> (integer)

The number of the attempt to run this job.

PreviousRunId -> (string)

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

TriggerName -> (string)

The name of the trigger that started this job run.

JobName -> (string)

The name of the job being run.

StartedOn -> (timestamp)

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

LastModifiedOn -> (timestamp)

The last time this job run was modified.

CompletedOn -> (timestamp)

The date and time this job run completed.

JobRunState -> (string)

The current state of the job run.

Arguments -> (map)

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.

key -> (string)

value -> (string)

ErrorMessage -> (string)

An error message associated with this job run.

PredecessorRuns -> (list)

A list of predecessors to this job run.


A job run that was used in the predicate of a conditional trigger that triggered this job run.

JobName -> (string)

The name of the predecessor job.

RunId -> (string)

The job-run ID of the predecessor job run.

AllocatedCapacity -> (integer)

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 .