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 |
Synopsis
- data WorkspaceImage = WorkspaceImage' {
- state :: Maybe WorkspaceImageState
- ownerAccountId :: Maybe Text
- operatingSystem :: Maybe OperatingSystem
- created :: Maybe POSIX
- requiredTenancy :: Maybe WorkspaceImageRequiredTenancy
- name :: Maybe Text
- updates :: Maybe UpdateResult
- imageId :: Maybe Text
- errorCode :: Maybe Text
- errorMessage :: Maybe Text
- description :: Maybe Text
- newWorkspaceImage :: WorkspaceImage
- workspaceImage_state :: Lens' WorkspaceImage (Maybe WorkspaceImageState)
- workspaceImage_ownerAccountId :: Lens' WorkspaceImage (Maybe Text)
- workspaceImage_operatingSystem :: Lens' WorkspaceImage (Maybe OperatingSystem)
- workspaceImage_created :: Lens' WorkspaceImage (Maybe UTCTime)
- workspaceImage_requiredTenancy :: Lens' WorkspaceImage (Maybe WorkspaceImageRequiredTenancy)
- workspaceImage_name :: Lens' WorkspaceImage (Maybe Text)
- workspaceImage_updates :: Lens' WorkspaceImage (Maybe UpdateResult)
- workspaceImage_imageId :: Lens' WorkspaceImage (Maybe Text)
- workspaceImage_errorCode :: Lens' WorkspaceImage (Maybe Text)
- workspaceImage_errorMessage :: Lens' WorkspaceImage (Maybe Text)
- workspaceImage_description :: Lens' WorkspaceImage (Maybe Text)
Documentation
data WorkspaceImage Source #
Describes a WorkSpace image.
See: newWorkspaceImage
smart constructor.
WorkspaceImage' | |
|
Instances
newWorkspaceImage :: WorkspaceImage Source #
Create a value of WorkspaceImage
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:state:WorkspaceImage'
, workspaceImage_state
- The status of the image.
$sel:ownerAccountId:WorkspaceImage'
, workspaceImage_ownerAccountId
- The identifier of the Amazon Web Services account that owns the image.
$sel:operatingSystem:WorkspaceImage'
, workspaceImage_operatingSystem
- The operating system that the image is running.
$sel:created:WorkspaceImage'
, workspaceImage_created
- The date when the image was created. If the image has been shared, the
Amazon Web Services account that the image has been shared with sees the
original creation date of the image.
$sel:requiredTenancy:WorkspaceImage'
, workspaceImage_requiredTenancy
- Specifies whether the image is running on dedicated hardware. When Bring
Your Own License (BYOL) is enabled, this value is set to DEDICATED
.
For more information, see
Bring Your Own Windows Desktop Images.
$sel:name:WorkspaceImage'
, workspaceImage_name
- The name of the image.
$sel:updates:WorkspaceImage'
, workspaceImage_updates
- The updates (if any) that are available for the specified image.
$sel:imageId:WorkspaceImage'
, workspaceImage_imageId
- The identifier of the image.
$sel:errorCode:WorkspaceImage'
, workspaceImage_errorCode
- The error code that is returned for the image.
$sel:errorMessage:WorkspaceImage'
, workspaceImage_errorMessage
- The text of the error message that is returned for the image.
$sel:description:WorkspaceImage'
, workspaceImage_description
- The description of the image.
workspaceImage_state :: Lens' WorkspaceImage (Maybe WorkspaceImageState) Source #
The status of the image.
workspaceImage_ownerAccountId :: Lens' WorkspaceImage (Maybe Text) Source #
The identifier of the Amazon Web Services account that owns the image.
workspaceImage_operatingSystem :: Lens' WorkspaceImage (Maybe OperatingSystem) Source #
The operating system that the image is running.
workspaceImage_created :: Lens' WorkspaceImage (Maybe UTCTime) Source #
The date when the image was created. If the image has been shared, the Amazon Web Services account that the image has been shared with sees the original creation date of the image.
workspaceImage_requiredTenancy :: Lens' WorkspaceImage (Maybe WorkspaceImageRequiredTenancy) Source #
Specifies whether the image is running on dedicated hardware. When Bring
Your Own License (BYOL) is enabled, this value is set to DEDICATED
.
For more information, see
Bring Your Own Windows Desktop Images.
workspaceImage_name :: Lens' WorkspaceImage (Maybe Text) Source #
The name of the image.
workspaceImage_updates :: Lens' WorkspaceImage (Maybe UpdateResult) Source #
The updates (if any) that are available for the specified image.
workspaceImage_imageId :: Lens' WorkspaceImage (Maybe Text) Source #
The identifier of the image.
workspaceImage_errorCode :: Lens' WorkspaceImage (Maybe Text) Source #
The error code that is returned for the image.
workspaceImage_errorMessage :: Lens' WorkspaceImage (Maybe Text) Source #
The text of the error message that is returned for the image.
workspaceImage_description :: Lens' WorkspaceImage (Maybe Text) Source #
The description of the image.