Struct aws_sdk_appstream::client::fluent_builders::CreateAppBlock
source · [−]pub struct CreateAppBlock<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateAppBlock.
Creates an app block.
App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.
This is only supported for Elastic fleets.
Implementations
impl<C, M, R> CreateAppBlock<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateAppBlock<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateAppBlockOutput, SdkError<CreateAppBlockError>> where
R::Policy: SmithyRetryPolicy<CreateAppBlockInputOperationOutputAlias, CreateAppBlockOutput, CreateAppBlockError, CreateAppBlockInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateAppBlockOutput, SdkError<CreateAppBlockError>> where
R::Policy: SmithyRetryPolicy<CreateAppBlockInputOperationOutputAlias, CreateAppBlockOutput, CreateAppBlockError, CreateAppBlockInputOperationRetryAlias>,
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 description of the app block.
The description of the app block.
The display name of the app block. This is not displayed to the user.
The display name of the app block. This is not displayed to the user.
The source S3 location of the app block.
The source S3 location of the app block.
The setup script details of the app block.
The setup script details of the app block.
Adds a key-value pair to Tags.
To override the contents of this collection use set_tags.
The tags assigned to the app block.
The tags assigned to the app block.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateAppBlock<C, M, R>
impl<C, M, R> Send for CreateAppBlock<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateAppBlock<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateAppBlock<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateAppBlock<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