Skip to content

Update a major or minor version of a service template

Description

Update a major or minor version of a service template.

Usage

proton_update_service_template_version(compatibleEnvironmentTemplates,
  description, majorVersion, minorVersion, status,
  supportedComponentSources, templateName)

Arguments

  • compatibleEnvironmentTemplates

    An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.

  • description

    A description of a service template version to update.

  • majorVersion

    [required] To update a major version of a service template, include major Version.

  • minorVersion

    [required] To update a minor version of a service template, include minorVersion.

  • status

    The status of the service template minor version to update.

  • supportedComponentSources

    An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.

    A change to supportedComponentSources doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.

    For more information about components, see Proton components in the Proton User Guide.

  • 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$update_service_template_version(
  compatibleEnvironmentTemplates = list(
    list(
      majorVersion = "string",
      templateName = "string"
    )
  ),
  description = "string",
  majorVersion = "string",
  minorVersion = "string",
  status = "REGISTRATION_IN_PROGRESS"|"REGISTRATION_FAILED"|"DRAFT"|"PUBLISHED",
  supportedComponentSources = list(
    "DIRECTLY_DEFINED"
  ),
  templateName = "string"
)