Struct aws_sdk_appstream::client::fluent_builders::CreateApplication
source · [−]pub struct CreateApplication<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateApplication.
Creates an application.
Applications are an Amazon AppStream 2.0 resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch.
This is only supported for Elastic fleets.
Implementations
impl<C, M, R> CreateApplication<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateApplication<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError>> where
R::Policy: SmithyRetryPolicy<CreateApplicationInputOperationOutputAlias, CreateApplicationOutput, CreateApplicationError, CreateApplicationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError>> where
R::Policy: SmithyRetryPolicy<CreateApplicationInputOperationOutputAlias, CreateApplicationOutput, CreateApplicationError, CreateApplicationInputOperationRetryAlias>,
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, which can be set when configuring the client.
The name of the application. This name is visible to users when display name is not specified.
The name of the application. This name is visible to users when display name is not specified.
The display name of the application. This name is visible to users in the application catalog.
The display name of the application. This name is visible to users in the application catalog.
The description of the application.
The description of the application.
The location in S3 of the application icon.
The location in S3 of the application icon.
The launch path of the application.
The launch path of the application.
The working directory of the application.
The working directory of the application.
The launch parameters of the application.
The launch parameters of the application.
Appends an item to Platforms.
To override the contents of this collection use set_platforms.
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
Appends an item to InstanceFamilies.
To override the contents of this collection use set_instance_families.
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
The app block ARN to which the application should be associated
The app block ARN to which the application should be associated
Adds a key-value pair to Tags.
To override the contents of this collection use set_tags.
The tags assigned to the application.
The tags assigned to the application.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateApplication<C, M, R>
impl<C, M, R> Send for CreateApplication<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateApplication<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateApplication<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateApplication<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more