Module Smaws_Client_WorkSpaces.ImportWorkspaceImage

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.import_workspace_image_request -> (Types.import_workspace_image_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.import_workspace_image_request -> (Types.import_workspace_image_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAlreadyExistsException of Types.resource_already_exists_exception | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result