Struct aws_sdk_proton::operation::create_environment_template_version::CreateEnvironmentTemplateVersionInput
source · #[non_exhaustive]pub struct CreateEnvironmentTemplateVersionInput {
pub client_token: Option<String>,
pub template_name: Option<String>,
pub description: Option<String>,
pub major_version: Option<String>,
pub source: Option<TemplateVersionSourceInput>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_token: Option<String>
When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.
template_name: Option<String>
The name of the environment template.
description: Option<String>
A description of the new version of an environment template.
major_version: Option<String>
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: Option<TemplateVersionSourceInput>
An object that includes the template bundle S3 bucket path and name for the new version of an template.
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.
Implementations§
source§impl CreateEnvironmentTemplateVersionInput
impl CreateEnvironmentTemplateVersionInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
When included, if two identical requests are made with the same client token, Proton returns the environment template version that the first request created.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the environment template.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the new version of an environment template.
sourcepub fn major_version(&self) -> Option<&str>
pub fn major_version(&self) -> Option<&str>
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
.
sourcepub fn source(&self) -> Option<&TemplateVersionSourceInput>
pub fn source(&self) -> Option<&TemplateVersionSourceInput>
An object that includes the template bundle S3 bucket path and name for the new version of an template.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateEnvironmentTemplateVersionInput
impl CreateEnvironmentTemplateVersionInput
sourcepub fn builder() -> CreateEnvironmentTemplateVersionInputBuilder
pub fn builder() -> CreateEnvironmentTemplateVersionInputBuilder
Creates a new builder-style object to manufacture CreateEnvironmentTemplateVersionInput
.
Trait Implementations§
source§impl Clone for CreateEnvironmentTemplateVersionInput
impl Clone for CreateEnvironmentTemplateVersionInput
source§fn clone(&self) -> CreateEnvironmentTemplateVersionInput
fn clone(&self) -> CreateEnvironmentTemplateVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateEnvironmentTemplateVersionInput
impl PartialEq for CreateEnvironmentTemplateVersionInput
source§fn eq(&self, other: &CreateEnvironmentTemplateVersionInput) -> bool
fn eq(&self, other: &CreateEnvironmentTemplateVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.