Create Environment Template Version
proton_create_environment_template_version | R Documentation |
Create a new major or minor version of an environment template¶
Description¶
Create a new major or minor version of an environment template. A major version of an environment template is a version that isn't backwards compatible. A minor version of an environment template is a version that's backwards compatible within its major version.
Usage¶
proton_create_environment_template_version(clientToken, description,
majorVersion, source, tags, templateName)
Arguments¶
clientToken
When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.
description
A description of the new version of an environment template.
majorVersion
To create a new minor version of the environment template, include
major Version
.To create a new major and minor version of the environment template, exclude
major Version
.source
[required] An object that includes the template bundle S3 bucket path and name for the new version of an template.
tags
An optional list of metadata items that you can associate with the Proton environment template version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
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"
)
)