import_workspace_image
async
¶
import_workspace_image(
ec2_image_id: Ec2ImageId,
ingestion_process: WorkspaceImageIngestionProcess,
image_name: WorkspaceImageName,
image_description: WorkspaceImageDescription,
*,
config_overrides: Optional[AsyncWorkSpacesClientConfig] = 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/async_work_spaces.py
3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 | |