Struct aws_sdk_appstream::input::UpdateApplicationInput
source · #[non_exhaustive]pub struct UpdateApplicationInput { /* private fields */ }
Implementations§
source§impl UpdateApplicationInput
impl UpdateApplicationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateApplication, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateApplication, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateApplication
>
Examples found in repository?
src/client.rs (line 7409)
7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateApplication,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateApplicationError>,
> {
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::UpdateApplicationOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateApplicationError>,
> {
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 UpdateApplicationInput
.
source§impl UpdateApplicationInput
impl UpdateApplicationInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the application. This name is visible to users when display name is not specified.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name of the application. This name is visible to users in the application catalog.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the application.
sourcepub fn icon_s3_location(&self) -> Option<&S3Location>
pub fn icon_s3_location(&self) -> Option<&S3Location>
The icon S3 location of the application.
sourcepub fn launch_path(&self) -> Option<&str>
pub fn launch_path(&self) -> Option<&str>
The launch path of the application.
sourcepub fn working_directory(&self) -> Option<&str>
pub fn working_directory(&self) -> Option<&str>
The working directory of the application.
sourcepub fn launch_parameters(&self) -> Option<&str>
pub fn launch_parameters(&self) -> Option<&str>
The launch parameters of the application.
sourcepub fn app_block_arn(&self) -> Option<&str>
pub fn app_block_arn(&self) -> Option<&str>
The ARN of the app block.
sourcepub fn attributes_to_delete(&self) -> Option<&[ApplicationAttribute]>
pub fn attributes_to_delete(&self) -> Option<&[ApplicationAttribute]>
The attributes to delete for an application.
Trait Implementations§
source§impl Clone for UpdateApplicationInput
impl Clone for UpdateApplicationInput
source§fn clone(&self) -> UpdateApplicationInput
fn clone(&self) -> UpdateApplicationInput
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