Skip to content

Delete Environment Template Version

proton_delete_environment_template_version R Documentation

Description

If no other minor versions of an environment template exist, delete a major version of the environment template if it's not the Recommended version. Delete the Recommended version of the environment template if no other major versions or minor versions of the environment template exist. A major version of an environment template is a version that's not backward compatible.

Delete a minor version of an environment template if it isn't the Recommended version. Delete a Recommended minor version of the environment template if no other minor versions of the environment template exist. A minor version of an environment template is a version that's backward compatible.

Usage

proton_delete_environment_template_version(majorVersion, minorVersion,
  templateName)

Arguments

majorVersion

[required] The environment template major version to delete.

minorVersion

[required] The environment template minor version to delete.

templateName

[required] The name of the environment template.

Value

A list with the following syntax:

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

Request syntax

svc$delete_environment_template_version(
  majorVersion = "string",
  minorVersion = "string",
  templateName = "string"
)