Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Imports the specified Windows 10 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.
Synopsis
- data ImportWorkspaceImage = ImportWorkspaceImage' {}
- newImportWorkspaceImage :: Text -> WorkspaceImageIngestionProcess -> Text -> Text -> ImportWorkspaceImage
- importWorkspaceImage_applications :: Lens' ImportWorkspaceImage (Maybe (NonEmpty Application))
- importWorkspaceImage_tags :: Lens' ImportWorkspaceImage (Maybe [Tag])
- importWorkspaceImage_ec2ImageId :: Lens' ImportWorkspaceImage Text
- importWorkspaceImage_ingestionProcess :: Lens' ImportWorkspaceImage WorkspaceImageIngestionProcess
- importWorkspaceImage_imageName :: Lens' ImportWorkspaceImage Text
- importWorkspaceImage_imageDescription :: Lens' ImportWorkspaceImage Text
- data ImportWorkspaceImageResponse = ImportWorkspaceImageResponse' {
- imageId :: Maybe Text
- httpStatus :: Int
- newImportWorkspaceImageResponse :: Int -> ImportWorkspaceImageResponse
- importWorkspaceImageResponse_imageId :: Lens' ImportWorkspaceImageResponse (Maybe Text)
- importWorkspaceImageResponse_httpStatus :: Lens' ImportWorkspaceImageResponse Int
Creating a Request
data ImportWorkspaceImage Source #
See: newImportWorkspaceImage
smart constructor.
ImportWorkspaceImage' | |
|
Instances
newImportWorkspaceImage Source #
Create a value of ImportWorkspaceImage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applications:ImportWorkspaceImage'
, importWorkspaceImage_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.
$sel:tags:ImportWorkspaceImage'
, importWorkspaceImage_tags
- The tags. Each WorkSpaces resource can have a maximum of 50 tags.
$sel:ec2ImageId:ImportWorkspaceImage'
, importWorkspaceImage_ec2ImageId
- The identifier of the EC2 image.
$sel:ingestionProcess:ImportWorkspaceImage'
, importWorkspaceImage_ingestionProcess
- 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 or WorkSpaces Streaming Protocol (WSP). To use WSP, specify a
value that ends in _WSP
. To use PCoIP, specify a value that does not
end in _WSP
.
For non-GPU-enabled bundles (bundles other than Graphics or
GraphicsPro), specify BYOL_REGULAR
or BYOL_REGULAR_WSP
, depending on
the protocol.
$sel:imageName:ImportWorkspaceImage'
, importWorkspaceImage_imageName
- The name of the WorkSpace image.
$sel:imageDescription:ImportWorkspaceImage'
, importWorkspaceImage_imageDescription
- The description of the WorkSpace image.
Request Lenses
importWorkspaceImage_applications :: Lens' ImportWorkspaceImage (Maybe (NonEmpty Application)) Source #
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.
importWorkspaceImage_tags :: Lens' ImportWorkspaceImage (Maybe [Tag]) Source #
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
importWorkspaceImage_ec2ImageId :: Lens' ImportWorkspaceImage Text Source #
The identifier of the EC2 image.
importWorkspaceImage_ingestionProcess :: Lens' ImportWorkspaceImage WorkspaceImageIngestionProcess Source #
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 or WorkSpaces Streaming Protocol (WSP). To use WSP, specify a
value that ends in _WSP
. To use PCoIP, specify a value that does not
end in _WSP
.
For non-GPU-enabled bundles (bundles other than Graphics or
GraphicsPro), specify BYOL_REGULAR
or BYOL_REGULAR_WSP
, depending on
the protocol.
importWorkspaceImage_imageName :: Lens' ImportWorkspaceImage Text Source #
The name of the WorkSpace image.
importWorkspaceImage_imageDescription :: Lens' ImportWorkspaceImage Text Source #
The description of the WorkSpace image.
Destructuring the Response
data ImportWorkspaceImageResponse Source #
See: newImportWorkspaceImageResponse
smart constructor.
ImportWorkspaceImageResponse' | |
|
Instances
newImportWorkspaceImageResponse Source #
Create a value of ImportWorkspaceImageResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:imageId:ImportWorkspaceImageResponse'
, importWorkspaceImageResponse_imageId
- The identifier of the WorkSpace image.
$sel:httpStatus:ImportWorkspaceImageResponse'
, importWorkspaceImageResponse_httpStatus
- The response's http status code.
Response Lenses
importWorkspaceImageResponse_imageId :: Lens' ImportWorkspaceImageResponse (Maybe Text) Source #
The identifier of the WorkSpace image.
importWorkspaceImageResponse_httpStatus :: Lens' ImportWorkspaceImageResponse Int Source #
The response's http status code.