List Job Runs
emrserverless_list_job_runs | R Documentation |
Lists job runs based on a set of parameters¶
Description¶
Lists job runs based on a set of parameters.
Usage¶
emrserverless_list_job_runs(applicationId, nextToken, maxResults,
createdAtAfter, createdAtBefore, states, mode)
Arguments¶
applicationId
[required] The ID of the application for which to list the job run.
nextToken
The token for the next set of job run results.
maxResults
The maximum number of job runs that can be listed.
createdAtAfter
The lower bound of the option to filter by creation date and time.
createdAtBefore
The upper bound of the option to filter by creation date and time.
states
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
mode
The mode of the job runs to list.
Value¶
A list with the following syntax:
list(
jobRuns = list(
list(
applicationId = "string",
id = "string",
name = "string",
mode = "BATCH"|"STREAMING",
arn = "string",
createdBy = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
updatedAt = as.POSIXct(
"2015-01-01"
),
executionRole = "string",
state = "SUBMITTED"|"PENDING"|"SCHEDULED"|"RUNNING"|"SUCCESS"|"FAILED"|"CANCELLING"|"CANCELLED",
stateDetails = "string",
releaseLabel = "string",
type = "string",
attempt = 123,
attemptCreatedAt = as.POSIXct(
"2015-01-01"
),
attemptUpdatedAt = as.POSIXct(
"2015-01-01"
)
)
),
nextToken = "string"
)
Request syntax¶
svc$list_job_runs(
applicationId = "string",
nextToken = "string",
maxResults = 123,
createdAtAfter = as.POSIXct(
"2015-01-01"
),
createdAtBefore = as.POSIXct(
"2015-01-01"
),
states = list(
"SUBMITTED"|"PENDING"|"SCHEDULED"|"RUNNING"|"SUCCESS"|"FAILED"|"CANCELLING"|"CANCELLED"
),
mode = "BATCH"|"STREAMING"
)