import_workspace_image
¶
import_workspace_image(
ec2_image_id: Ec2ImageId,
ingestion_process: WorkspaceImageIngestionProcess,
image_name: WorkspaceImageName,
image_description: WorkspaceImageDescription,
*,
config_overrides: Optional[WorkSpacesClientConfig] = None,
tags: Optional[TagList] = None,
applications: Optional[ApplicationList] = None,
) -> ImportWorkspaceImageResult
Imports the specified Windows 10 or 11 Bring Your Own License (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.
Parameters:
-
ec2_image_id(Ec2ImageId) –The identifier of the EC2 image.
-
ingestion_process(WorkspaceImageIngestionProcess) –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, WSP, or bring your own protocol (BYOP). To use DCV, 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, orBYOL_REGULAR_BYOP, depending on the protocol.The
BYOL_REGULAR_BYOPandBYOL_GRAPHICS_G4DN_BYOPvalues 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. -
image_name(WorkspaceImageName) –The name of the WorkSpace image.
-
image_description(WorkspaceImageDescription) –The description of the WorkSpace image.
-
tags(Optional[TagList], default:None) –The tags. Each WorkSpaces resource can have a maximum of 50 tags.
-
applications(Optional[ApplicationList], default:None) –If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 and 11 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.
-
During the image import process, non-GPU DCV (formerly WSP) WorkSpaces with Windows 11 support only
Microsoft_Office_2019. GPU DCV (formerly WSP) WorkSpaces with Windows 11 do not support Office installation.
-
Raises:
-
AccessDeniedException–The user is not authorized to access a resource.
-
InvalidParameterValuesException–One or more parameter values are not valid.
-
OperationNotSupportedException–This operation is not supported.
-
ResourceAlreadyExistsException–The specified resource already exists.
-
ResourceLimitExceededException–Your resource limits have been exceeded.
-
ResourceNotFoundException–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workspaces/_services/work_spaces.py
6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 | |