Skip to content

Lists job runs

Description

Lists job runs.

Usage

datazone_list_job_runs(domainIdentifier, jobIdentifier, status,
  sortOrder, nextToken, maxResults)

Arguments

  • domainIdentifier

    [required] The ID of the domain where you want to list job runs.

  • jobIdentifier

    [required] The ID of the job run.

  • status

    The status of a job run.

  • sortOrder

    Specifies the order in which job runs are to be sorted.

  • nextToken

    When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListJobRuns to list the next set of job runs.

  • maxResults

    The maximum number of job runs to return in a single call to ListJobRuns. When the number of job runs to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListJobRuns to list the next set of job runs.

Value

A list with the following syntax:

list(
  items = list(
    list(
      domainId = "string",
      jobId = "string",
      jobType = "LINEAGE",
      runId = "string",
      runMode = "SCHEDULED"|"ON_DEMAND",
      status = "SCHEDULED"|"IN_PROGRESS"|"SUCCESS"|"PARTIALLY_SUCCEEDED"|"FAILED"|"ABORTED"|"TIMED_OUT"|"CANCELED",
      error = list(
        message = "string"
      ),
      createdBy = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      startTime = as.POSIXct(
        "2015-01-01"
      ),
      endTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_job_runs(
  domainIdentifier = "string",
  jobIdentifier = "string",
  status = "SCHEDULED"|"IN_PROGRESS"|"SUCCESS"|"PARTIALLY_SUCCEEDED"|"FAILED"|"ABORTED"|"TIMED_OUT"|"CANCELED",
  sortOrder = "ASCENDING"|"DESCENDING",
  nextToken = "string",
  maxResults = 123
)