#[non_exhaustive]pub struct UpdateEnvironmentTemplateVersionInput { /* private fields */ }
Implementations§
source§impl UpdateEnvironmentTemplateVersionInput
impl UpdateEnvironmentTemplateVersionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEnvironmentTemplateVersion, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEnvironmentTemplateVersion, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateEnvironmentTemplateVersion
>
Examples found in repository?
src/client.rs (line 8395)
8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateEnvironmentTemplateVersion,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateEnvironmentTemplateVersionError>,
> {
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::UpdateEnvironmentTemplateVersionOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateEnvironmentTemplateVersionError>,
> {
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 UpdateEnvironmentTemplateVersionInput
.
source§impl UpdateEnvironmentTemplateVersionInput
impl UpdateEnvironmentTemplateVersionInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the environment template.
sourcepub fn major_version(&self) -> Option<&str>
pub fn major_version(&self) -> Option<&str>
To update a major version of an environment template, include major Version
.
sourcepub fn minor_version(&self) -> Option<&str>
pub fn minor_version(&self) -> Option<&str>
To update a minor version of an environment template, include minorVersion
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of environment template version to update.
sourcepub fn status(&self) -> Option<&TemplateVersionStatus>
pub fn status(&self) -> Option<&TemplateVersionStatus>
The status of the environment template minor version to update.
Trait Implementations§
source§impl Clone for UpdateEnvironmentTemplateVersionInput
impl Clone for UpdateEnvironmentTemplateVersionInput
source§fn clone(&self) -> UpdateEnvironmentTemplateVersionInput
fn clone(&self) -> UpdateEnvironmentTemplateVersionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more