#[non_exhaustive]pub struct CreateServiceTemplateVersionInput { /* private fields */ }
Implementations
sourceimpl CreateServiceTemplateVersionInput
impl CreateServiceTemplateVersionInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateServiceTemplateVersion, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateServiceTemplateVersion, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateServiceTemplateVersion
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateServiceTemplateVersionInput
.
sourceimpl CreateServiceTemplateVersionInput
impl CreateServiceTemplateVersionInput
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 service 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 service template.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the new version of a service template.
sourcepub fn major_version(&self) -> Option<&str>
pub fn major_version(&self) -> Option<&str>
To create a new minor version of the service template, include a major Version
.
To create a new major and minor version of the service 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 a service template.
sourcepub fn compatible_environment_templates(
&self
) -> Option<&[CompatibleEnvironmentTemplateInput]>
pub fn compatible_environment_templates(
&self
) -> Option<&[CompatibleEnvironmentTemplateInput]>
An array of environment template objects that are compatible with the new service template version. A service instance based on this service template version can run in environments based on compatible templates.
An optional list of metadata items that you can associate with the Proton service template version. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
sourcepub fn supported_component_sources(
&self
) -> Option<&[ServiceTemplateSupportedComponentSourceType]>
pub fn supported_component_sources(
&self
) -> Option<&[ServiceTemplateSupportedComponentSourceType]>
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
Trait Implementations
sourceimpl Clone for CreateServiceTemplateVersionInput
impl Clone for CreateServiceTemplateVersionInput
sourcefn clone(&self) -> CreateServiceTemplateVersionInput
fn clone(&self) -> CreateServiceTemplateVersionInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more