Lists job runs based on a set of parameters¶
Description¶
Lists job runs based on a set of parameters. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
Usage¶
emrcontainers_list_job_runs(virtualClusterId, createdBefore,
createdAfter, name, states, maxResults, nextToken)
Arguments¶
-
virtualClusterId[required] The ID of the virtual cluster for which to list the job run.
-
createdBeforeThe date and time before which the job runs were submitted.
-
createdAfterThe date and time after which the job runs were submitted.
-
nameThe name of the job run.
-
statesThe states of the job run.
-
maxResultsThe maximum number of job runs that can be listed.
-
nextTokenThe token for the next set of job runs to return.
Value¶
A list with the following syntax:
list(
jobRuns = list(
list(
id = "string",
name = "string",
virtualClusterId = "string",
arn = "string",
state = "PENDING"|"SUBMITTED"|"RUNNING"|"FAILED"|"CANCELLED"|"CANCEL_PENDING"|"COMPLETED",
clientToken = "string",
executionRoleArn = "string",
releaseLabel = "string",
configurationOverrides = list(
applicationConfiguration = list(
list(
classification = "string",
properties = list(
"string"
),
configurations = list()
)
),
monitoringConfiguration = list(
managedLogs = list(
allowAWSToRetainLogs = "ENABLED"|"DISABLED",
encryptionKeyArn = "string"
),
persistentAppUI = "ENABLED"|"DISABLED",
cloudWatchMonitoringConfiguration = list(
logGroupName = "string",
logStreamNamePrefix = "string"
),
s3MonitoringConfiguration = list(
logUri = "string",
encryptionKeyArn = "string"
),
containerLogRotationConfiguration = list(
rotationSize = "string",
maxFilesToKeep = 123
)
)
),
jobDriver = list(
sparkSubmitJobDriver = list(
entryPoint = "string",
entryPointArguments = list(
"string"
),
sparkSubmitParameters = "string"
),
sparkSqlJobDriver = list(
entryPoint = "string",
sparkSqlParameters = "string"
)
),
createdAt = as.POSIXct(
"2015-01-01"
),
createdBy = "string",
finishedAt = as.POSIXct(
"2015-01-01"
),
stateDetails = "string",
failureReason = "INTERNAL_ERROR"|"USER_ERROR"|"VALIDATION_ERROR"|"CLUSTER_UNAVAILABLE",
tags = list(
"string"
),
retryPolicyConfiguration = list(
maxAttempts = 123
),
retryPolicyExecution = list(
currentAttemptCount = 123
)
)
),
nextToken = "string"
)