#[non_exhaustive]pub struct UpdateServiceTemplateVersionInput { /* private fields */ }
Implementations§
source§impl UpdateServiceTemplateVersionInput
impl UpdateServiceTemplateVersionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateServiceTemplateVersion, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateServiceTemplateVersion, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateServiceTemplateVersion
>
Examples found in repository?
9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateServiceTemplateVersion,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateServiceTemplateVersionError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateServiceTemplateVersionOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateServiceTemplateVersionError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateServiceTemplateVersionInput
.
source§impl UpdateServiceTemplateVersionInput
impl UpdateServiceTemplateVersionInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the service template.
sourcepub fn major_version(&self) -> Option<&str>
pub fn major_version(&self) -> Option<&str>
To update a major version of a service template, include major Version
.
sourcepub fn minor_version(&self) -> Option<&str>
pub fn minor_version(&self) -> Option<&str>
To update a minor version of a service template, include minorVersion
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of a service template version to update.
sourcepub fn status(&self) -> Option<&TemplateVersionStatus>
pub fn status(&self) -> Option<&TemplateVersionStatus>
The status of the service template minor version to update.
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 this service template version. A service instance based on this service template version can run in environments based on compatible templates.
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.
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.
Trait Implementations§
source§impl Clone for UpdateServiceTemplateVersionInput
impl Clone for UpdateServiceTemplateVersionInput
source§fn clone(&self) -> UpdateServiceTemplateVersionInput
fn clone(&self) -> UpdateServiceTemplateVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more