Skip to content

Get Job Runs

glue_get_job_runs R Documentation

Retrieves metadata for all runs of a given job definition

Description

Retrieves metadata for all runs of a given job definition.

Usage

glue_get_job_runs(JobName, NextToken, MaxResults)

Arguments

JobName

[required] The name of the job definition for which to retrieve all job runs.

NextToken

A continuation token, if this is a continuation call.

MaxResults

The maximum size of the response.

Value

A list with the following syntax:

list(
  JobRuns = list(
    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"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_job_runs(
  JobName = "string",
  NextToken = "string",
  MaxResults = 123
)