pub struct CreateUpdatedWorkspaceImage { /* 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§
source§impl CreateUpdatedWorkspaceImage
impl CreateUpdatedWorkspaceImage
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateUpdatedWorkspaceImage, AwsResponseRetryClassifier>, SdkError<CreateUpdatedWorkspaceImageError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateUpdatedWorkspaceImage, AwsResponseRetryClassifier>, SdkError<CreateUpdatedWorkspaceImageError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateUpdatedWorkspaceImageOutput, SdkError<CreateUpdatedWorkspaceImageError>>
pub async fn send(
self
) -> Result<CreateUpdatedWorkspaceImageOutput, SdkError<CreateUpdatedWorkspaceImageError>>
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.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the new updated WorkSpace image.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the new updated WorkSpace image.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of whether updates for the WorkSpace image are available.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of whether updates for the WorkSpace image are available.
sourcepub fn source_image_id(self, input: impl Into<String>) -> Self
pub fn source_image_id(self, input: impl Into<String>) -> Self
The identifier of the source WorkSpace image.
sourcepub fn set_source_image_id(self, input: Option<String>) -> Self
pub fn set_source_image_id(self, input: Option<String>) -> Self
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§
source§impl Clone for CreateUpdatedWorkspaceImage
impl Clone for CreateUpdatedWorkspaceImage
source§fn clone(&self) -> CreateUpdatedWorkspaceImage
fn clone(&self) -> CreateUpdatedWorkspaceImage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more