pub struct ImportWorkspaceImage { /* private fields */ }
Expand description
Fluent builder constructing a request to ImportWorkspaceImage
.
Imports the specified Windows 10 Bring Your Own License (BYOL) or Windows Server 2016 BYOL image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.
Implementations§
source§impl ImportWorkspaceImage
impl ImportWorkspaceImage
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ImportWorkspaceImage, AwsResponseRetryClassifier>, SdkError<ImportWorkspaceImageError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ImportWorkspaceImage, AwsResponseRetryClassifier>, SdkError<ImportWorkspaceImageError>>
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<ImportWorkspaceImageOutput, SdkError<ImportWorkspaceImageError>>
pub async fn send(
self
) -> Result<ImportWorkspaceImageOutput, SdkError<ImportWorkspaceImageError>>
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 ec2_image_id(self, input: impl Into<String>) -> Self
pub fn ec2_image_id(self, input: impl Into<String>) -> Self
The identifier of the EC2 image.
sourcepub fn set_ec2_image_id(self, input: Option<String>) -> Self
pub fn set_ec2_image_id(self, input: Option<String>) -> Self
The identifier of the EC2 image.
sourcepub fn ingestion_process(self, input: WorkspaceImageIngestionProcess) -> Self
pub fn ingestion_process(self, input: WorkspaceImageIngestionProcess) -> Self
The ingestion process to be used when importing the image, depending on which protocol you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces Streaming Protocol (WSP), or bring your own protocol (BYOP). To use WSP, specify a value that ends in _WSP
. To use PCoIP, specify a value that does not end in _WSP
. To use BYOP, specify a value that ends in _BYOP
.
For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify BYOL_REGULAR
, BYOL_REGULAR_WSP
, or BYOL_REGULAR_BYOP
, depending on the protocol.
The BYOL_REGULAR_BYOP
and BYOL_GRAPHICS_G4DN_BYOP
values are only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use these values. For more information, see Amazon WorkSpaces Core.
sourcepub fn set_ingestion_process(
self,
input: Option<WorkspaceImageIngestionProcess>
) -> Self
pub fn set_ingestion_process(
self,
input: Option<WorkspaceImageIngestionProcess>
) -> Self
The ingestion process to be used when importing the image, depending on which protocol you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces Streaming Protocol (WSP), or bring your own protocol (BYOP). To use WSP, specify a value that ends in _WSP
. To use PCoIP, specify a value that does not end in _WSP
. To use BYOP, specify a value that ends in _BYOP
.
For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify BYOL_REGULAR
, BYOL_REGULAR_WSP
, or BYOL_REGULAR_BYOP
, depending on the protocol.
The BYOL_REGULAR_BYOP
and BYOL_GRAPHICS_G4DN_BYOP
values are only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use these values. For more information, see Amazon WorkSpaces Core.
sourcepub fn image_name(self, input: impl Into<String>) -> Self
pub fn image_name(self, input: impl Into<String>) -> Self
The name of the WorkSpace image.
sourcepub fn set_image_name(self, input: Option<String>) -> Self
pub fn set_image_name(self, input: Option<String>) -> Self
The name of the WorkSpace image.
sourcepub fn image_description(self, input: impl Into<String>) -> Self
pub fn image_description(self, input: impl Into<String>) -> Self
The description of the WorkSpace image.
sourcepub fn set_image_description(self, input: Option<String>) -> Self
pub fn set_image_description(self, input: Option<String>) -> Self
The description of the WorkSpace image.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
sourcepub fn applications(self, input: Application) -> Self
pub fn applications(self, input: Application) -> Self
Appends an item to Applications
.
To override the contents of this collection use set_applications
.
If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 BYOL images. For more information about subscribing to Office for BYOL images, see Bring Your Own Windows Desktop Licenses.
Although this parameter is an array, only one item is allowed at this time.
sourcepub fn set_applications(self, input: Option<Vec<Application>>) -> Self
pub fn set_applications(self, input: Option<Vec<Application>>) -> Self
If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 BYOL images. For more information about subscribing to Office for BYOL images, see Bring Your Own Windows Desktop Licenses.
Although this parameter is an array, only one item is allowed at this time.
Trait Implementations§
source§impl Clone for ImportWorkspaceImage
impl Clone for ImportWorkspaceImage
source§fn clone(&self) -> ImportWorkspaceImage
fn clone(&self) -> ImportWorkspaceImage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more