Struct aws_sdk_workspaces::operation::create_updated_workspace_image::builders::CreateUpdatedWorkspaceImageFluentBuilder
source · pub struct CreateUpdatedWorkspaceImageFluentBuilder { /* 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 Server 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 CreateUpdatedWorkspaceImageFluentBuilder
impl CreateUpdatedWorkspaceImageFluentBuilder
sourcepub fn as_input(&self) -> &CreateUpdatedWorkspaceImageInputBuilder
pub fn as_input(&self) -> &CreateUpdatedWorkspaceImageInputBuilder
Access the CreateUpdatedWorkspaceImage as a reference.
sourcepub async fn send(
self
) -> Result<CreateUpdatedWorkspaceImageOutput, SdkError<CreateUpdatedWorkspaceImageError, HttpResponse>>
pub async fn send( self ) -> Result<CreateUpdatedWorkspaceImageOutput, SdkError<CreateUpdatedWorkspaceImageError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateUpdatedWorkspaceImageOutput, CreateUpdatedWorkspaceImageError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateUpdatedWorkspaceImageOutput, CreateUpdatedWorkspaceImageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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.
sourcepub fn get_source_image_id(&self) -> &Option<String>
pub fn get_source_image_id(&self) -> &Option<String>
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
.
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 CreateUpdatedWorkspaceImageFluentBuilder
impl Clone for CreateUpdatedWorkspaceImageFluentBuilder
source§fn clone(&self) -> CreateUpdatedWorkspaceImageFluentBuilder
fn clone(&self) -> CreateUpdatedWorkspaceImageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateUpdatedWorkspaceImageFluentBuilder
impl !RefUnwindSafe for CreateUpdatedWorkspaceImageFluentBuilder
impl Send for CreateUpdatedWorkspaceImageFluentBuilder
impl Sync for CreateUpdatedWorkspaceImageFluentBuilder
impl Unpin for CreateUpdatedWorkspaceImageFluentBuilder
impl !UnwindSafe for CreateUpdatedWorkspaceImageFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more