Skip to content

Get Job Run

glue_get_job_run R Documentation

Retrieves the metadata for a given job run

Description

Retrieves the metadata for a given job run. Job run history is accessible for 90 days for your workflow and job run.

Usage

glue_get_job_run(JobName, RunId, PredecessorsIncluded)

Arguments

JobName

[required] Name of the job definition being run.

RunId

[required] The ID of the job run.

PredecessorsIncluded

True if a list of predecessor runs should be returned.

Value

A list with the following syntax:

list(
  JobRun = list(
    Id = "string",
    Attempt = 123,
    PreviousRunId = "string",
    TriggerName = "string",
    JobName = "string",
    JobMode = "SCRIPT"|"VISUAL"|"NOTEBOOK",
    JobRunQueuingEnabled = TRUE|FALSE,
    StartedOn = as.POSIXct(
      "2015-01-01"
    ),
    LastModifiedOn = as.POSIXct(
      "2015-01-01"
    ),
    CompletedOn = as.POSIXct(
      "2015-01-01"
    ),
    JobRunState = "STARTING"|"RUNNING"|"STOPPING"|"STOPPED"|"SUCCEEDED"|"FAILED"|"TIMEOUT"|"ERROR"|"WAITING"|"EXPIRED",
    Arguments = list(
      "string"
    ),
    ErrorMessage = "string",
    PredecessorRuns = list(
      list(
        JobName = "string",
        RunId = "string"
      )
    ),
    AllocatedCapacity = 123,
    ExecutionTime = 123,
    Timeout = 123,
    MaxCapacity = 123.0,
    WorkerType = "Standard"|"G.1X"|"G.2X"|"G.025X"|"G.4X"|"G.8X"|"Z.2X",
    NumberOfWorkers = 123,
    SecurityConfiguration = "string",
    LogGroupName = "string",
    NotificationProperty = list(
      NotifyDelayAfter = 123
    ),
    GlueVersion = "string",
    DPUSeconds = 123.0,
    ExecutionClass = "FLEX"|"STANDARD",
    MaintenanceWindow = "string",
    ProfileName = "string",
    StateDetail = "string"
  )
)

Request syntax

svc$get_job_run(
  JobName = "string",
  RunId = "string",
  PredecessorsIncluded = TRUE|FALSE
)