pub struct CreateUpdatedWorkspaceImage<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateUpdatedWorkspaceImage
.
Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.
To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.
-
Only Windows 10, Windows Sever 2016, and Windows Server 2019 WorkSpace images can be programmatically updated at this time.
-
Microsoft Windows updates and other application updates are not included in the update process.
-
The source WorkSpace image is not deleted. You can delete the source image after you've verified your new updated image and created a new bundle.
Implementations
impl<C, M, R> CreateUpdatedWorkspaceImage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateUpdatedWorkspaceImage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateUpdatedWorkspaceImageOutput, SdkError<CreateUpdatedWorkspaceImageError>> where
R::Policy: SmithyRetryPolicy<CreateUpdatedWorkspaceImageInputOperationOutputAlias, CreateUpdatedWorkspaceImageOutput, CreateUpdatedWorkspaceImageError, CreateUpdatedWorkspaceImageInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateUpdatedWorkspaceImageOutput, SdkError<CreateUpdatedWorkspaceImageError>> where
R::Policy: SmithyRetryPolicy<CreateUpdatedWorkspaceImageInputOperationOutputAlias, CreateUpdatedWorkspaceImageOutput, CreateUpdatedWorkspaceImageError, CreateUpdatedWorkspaceImageInputOperationRetryAlias>,
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 new updated WorkSpace image.
The name of the new updated WorkSpace image.
A description of whether updates for the WorkSpace image are available.
A description of whether updates for the WorkSpace image are available.
The identifier of the source WorkSpace image.
The identifier of the source WorkSpace image.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags that you want to add to the new updated WorkSpace image.
To add tags at the same time when you're creating the updated image, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags
.
The tags that you want to add to the new updated WorkSpace image.
To add tags at the same time when you're creating the updated image, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateUpdatedWorkspaceImage<C, M, R>
impl<C, M, R> Send for CreateUpdatedWorkspaceImage<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateUpdatedWorkspaceImage<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateUpdatedWorkspaceImage<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateUpdatedWorkspaceImage<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