Skip to content

Delete Service Template Version

proton_delete_service_template_version R Documentation

Description

If no other minor versions of a service template exist, delete a major version of the service template if it's not the Recommended version. Delete the Recommended version of the service template if no other major versions or minor versions of the service template exist. A major version of a service template is a version that isn't backwards compatible.

Delete a minor version of a service template if it's not the Recommended version. Delete a Recommended minor version of the service template if no other minor versions of the service template exist. A minor version of a service template is a version that's backwards compatible.

Usage

proton_delete_service_template_version(majorVersion, minorVersion,
  templateName)

Arguments

majorVersion

[required] The service template major version to delete.

minorVersion

[required] The service template minor version to delete.

templateName

[required] The name of the service template.

Value

A list with the following syntax:

list(
  serviceTemplateVersion = list(
    arn = "string",
    compatibleEnvironmentTemplates = list(
      list(
        majorVersion = "string",
        templateName = "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",
    supportedComponentSources = list(
      "DIRECTLY_DEFINED"
    ),
    templateName = "string"
  )
)

Request syntax

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