Struct aws_sdk_appstream::input::CreateApplicationInput
source · #[non_exhaustive]pub struct CreateApplicationInput { /* private fields */ }
Implementations§
source§impl CreateApplicationInput
impl CreateApplicationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateApplication, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateApplication, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateApplication
>
Examples found in repository?
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateApplication,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateApplicationError>,
> {
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::CreateApplicationOutput,
aws_smithy_http::result::SdkError<crate::error::CreateApplicationError>,
> {
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 CreateApplicationInput
.
source§impl CreateApplicationInput
impl CreateApplicationInput
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 location in S3 of the application icon.
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 platforms(&self) -> Option<&[PlatformType]>
pub fn platforms(&self) -> Option<&[PlatformType]>
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
sourcepub fn instance_families(&self) -> Option<&[String]>
pub fn instance_families(&self) -> Option<&[String]>
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
sourcepub fn app_block_arn(&self) -> Option<&str>
pub fn app_block_arn(&self) -> Option<&str>
The app block ARN to which the application should be associated
The tags assigned to the application.
Trait Implementations§
source§impl Clone for CreateApplicationInput
impl Clone for CreateApplicationInput
source§fn clone(&self) -> CreateApplicationInput
fn clone(&self) -> CreateApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more