Skip to content

List Environment Template Versions

proton_list_environment_template_versions R Documentation

List major or minor versions of an environment template with detail data

Description

List major or minor versions of an environment template with detail data.

Usage

proton_list_environment_template_versions(majorVersion, maxResults,
  nextToken, templateName)

Arguments

majorVersion

To view a list of minor of versions under a major version of an environment template, include ⁠major Version⁠.

To view a list of major versions of an environment template, exclude ⁠major Version⁠.

maxResults

The maximum number of major or minor versions of an environment template to list.

nextToken

A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.

templateName

[required] The name of the environment template.

Value

A list with the following syntax:

list(
  nextToken = "string",
  templateVersions = list(
    list(
      arn = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      description = "string",
      lastModifiedAt = as.POSIXct(
        "2015-01-01"
      ),
      majorVersion = "string",
      minorVersion = "string",
      recommendedMinorVersion = "string",
      status = "REGISTRATION_IN_PROGRESS"|"REGISTRATION_FAILED"|"DRAFT"|"PUBLISHED",
      statusMessage = "string",
      templateName = "string"
    )
  )
)

Request syntax

svc$list_environment_template_versions(
  majorVersion = "string",
  maxResults = 123,
  nextToken = "string",
  templateName = "string"
)