#[non_exhaustive]pub struct UpdateEnvironmentTemplateInput { /* private fields */ }
Implementations§
source§impl UpdateEnvironmentTemplateInput
impl UpdateEnvironmentTemplateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEnvironmentTemplate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEnvironmentTemplate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateEnvironmentTemplate
>
Examples found in repository?
src/client.rs (line 8302)
8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateEnvironmentTemplate,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateEnvironmentTemplateError>,
> {
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::UpdateEnvironmentTemplateOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateEnvironmentTemplateError>,
> {
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 UpdateEnvironmentTemplateInput
.
source§impl UpdateEnvironmentTemplateInput
impl UpdateEnvironmentTemplateInput
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The name of the environment template to update as displayed in the developer interface.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the environment template update.
Trait Implementations§
source§impl Clone for UpdateEnvironmentTemplateInput
impl Clone for UpdateEnvironmentTemplateInput
source§fn clone(&self) -> UpdateEnvironmentTemplateInput
fn clone(&self) -> UpdateEnvironmentTemplateInput
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