Skip to content

Lists job templates based on a set of parameters

Description

Lists job templates based on a set of parameters. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

Usage

emrcontainers_list_job_templates(createdAfter, createdBefore,
  maxResults, nextToken)

Arguments

  • createdAfter

    The date and time after which the job templates were created.

  • createdBefore

    The date and time before which the job templates were created.

  • maxResults

    The maximum number of job templates that can be listed.

  • nextToken

    The token for the next set of job templates to return.

Value

A list with the following syntax:

list(
  templates = list(
    list(
      name = "string",
      id = "string",
      arn = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      createdBy = "string",
      tags = list(
        "string"
      ),
      jobTemplateData = list(
        executionRoleArn = "string",
        releaseLabel = "string",
        configurationOverrides = list(
          applicationConfiguration = list(
            list(
              classification = "string",
              properties = list(
                "string"
              ),
              configurations = list()
            )
          ),
          monitoringConfiguration = list(
            persistentAppUI = "string",
            cloudWatchMonitoringConfiguration = list(
              logGroupName = "string",
              logStreamNamePrefix = "string"
            ),
            s3MonitoringConfiguration = list(
              logUri = "string"
            )
          )
        ),
        jobDriver = list(
          sparkSubmitJobDriver = list(
            entryPoint = "string",
            entryPointArguments = list(
              "string"
            ),
            sparkSubmitParameters = "string"
          ),
          sparkSqlJobDriver = list(
            entryPoint = "string",
            sparkSqlParameters = "string"
          )
        ),
        parameterConfiguration = list(
          list(
            type = "NUMBER"|"STRING",
            defaultValue = "string"
          )
        ),
        jobTags = list(
          "string"
        )
      ),
      kmsKeyArn = "string",
      decryptionError = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_job_templates(
  createdAfter = as.POSIXct(
    "2015-01-01"
  ),
  createdBefore = as.POSIXct(
    "2015-01-01"
  ),
  maxResults = 123,
  nextToken = "string"
)