| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkSpaces.Types.Workspace
Description
Synopsis
- data Workspace = Workspace' {
- bundleId :: Maybe Text
- computerName :: Maybe Text
- directoryId :: Maybe Text
- errorCode :: Maybe Text
- errorMessage :: Maybe Text
- ipAddress :: Maybe Text
- modificationStates :: Maybe [ModificationState]
- relatedWorkspaces :: Maybe [RelatedWorkspaceProperties]
- rootVolumeEncryptionEnabled :: Maybe Bool
- state :: Maybe WorkspaceState
- subnetId :: Maybe Text
- userName :: Maybe Text
- userVolumeEncryptionEnabled :: Maybe Bool
- volumeEncryptionKey :: Maybe Text
- workspaceId :: Maybe Text
- workspaceProperties :: Maybe WorkspaceProperties
- newWorkspace :: Workspace
- workspace_bundleId :: Lens' Workspace (Maybe Text)
- workspace_computerName :: Lens' Workspace (Maybe Text)
- workspace_directoryId :: Lens' Workspace (Maybe Text)
- workspace_errorCode :: Lens' Workspace (Maybe Text)
- workspace_errorMessage :: Lens' Workspace (Maybe Text)
- workspace_ipAddress :: Lens' Workspace (Maybe Text)
- workspace_modificationStates :: Lens' Workspace (Maybe [ModificationState])
- workspace_relatedWorkspaces :: Lens' Workspace (Maybe [RelatedWorkspaceProperties])
- workspace_rootVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool)
- workspace_state :: Lens' Workspace (Maybe WorkspaceState)
- workspace_subnetId :: Lens' Workspace (Maybe Text)
- workspace_userName :: Lens' Workspace (Maybe Text)
- workspace_userVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool)
- workspace_volumeEncryptionKey :: Lens' Workspace (Maybe Text)
- workspace_workspaceId :: Lens' Workspace (Maybe Text)
- workspace_workspaceProperties :: Lens' Workspace (Maybe WorkspaceProperties)
Documentation
Describes a WorkSpace.
See: newWorkspace smart constructor.
Constructors
| Workspace' | |
Fields
| |
Instances
newWorkspace :: Workspace Source #
Create a value of Workspace 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:bundleId:Workspace', workspace_bundleId - The identifier of the bundle used to create the WorkSpace.
$sel:computerName:Workspace', workspace_computerName - The name of the WorkSpace, as seen by the operating system. The format
of this name varies. For more information, see
Launch a WorkSpace.
$sel:directoryId:Workspace', workspace_directoryId - The identifier of the Directory Service directory for the WorkSpace.
$sel:errorCode:Workspace', workspace_errorCode - The error code that is returned if the WorkSpace cannot be created.
$sel:errorMessage:Workspace', workspace_errorMessage - The text of the error message that is returned if the WorkSpace cannot
be created.
$sel:ipAddress:Workspace', workspace_ipAddress - The IP address of the WorkSpace.
$sel:modificationStates:Workspace', workspace_modificationStates - The modification states of the WorkSpace.
$sel:relatedWorkspaces:Workspace', workspace_relatedWorkspaces - The Standby WorkSpace or Primary WorkSpace related to the specified
WorkSpace.
$sel:rootVolumeEncryptionEnabled:Workspace', workspace_rootVolumeEncryptionEnabled - Indicates whether the data stored on the root volume is encrypted.
Workspace, workspace_state - The operational state of the WorkSpace.
After a WorkSpace is terminated, the TERMINATED state is returned only
briefly before the WorkSpace directory metadata is cleaned up, so this
state is rarely returned. To confirm that a WorkSpace is terminated,
check for the WorkSpace ID by using
DescribeWorkSpaces.
If the WorkSpace ID isn't returned, then the WorkSpace has been
successfully terminated.
$sel:subnetId:Workspace', workspace_subnetId - The identifier of the subnet for the WorkSpace.
$sel:userName:Workspace', workspace_userName - The user for the WorkSpace.
$sel:userVolumeEncryptionEnabled:Workspace', workspace_userVolumeEncryptionEnabled - Indicates whether the data stored on the user volume is encrypted.
$sel:volumeEncryptionKey:Workspace', workspace_volumeEncryptionKey - The symmetric KMS key used to encrypt data stored on your WorkSpace.
Amazon WorkSpaces does not support asymmetric KMS keys.
Workspace, workspace_workspaceId - The identifier of the WorkSpace.
$sel:workspaceProperties:Workspace', workspace_workspaceProperties - The properties of the WorkSpace.
workspace_bundleId :: Lens' Workspace (Maybe Text) Source #
The identifier of the bundle used to create the WorkSpace.
workspace_computerName :: Lens' Workspace (Maybe Text) Source #
The name of the WorkSpace, as seen by the operating system. The format of this name varies. For more information, see Launch a WorkSpace.
workspace_directoryId :: Lens' Workspace (Maybe Text) Source #
The identifier of the Directory Service directory for the WorkSpace.
workspace_errorCode :: Lens' Workspace (Maybe Text) Source #
The error code that is returned if the WorkSpace cannot be created.
workspace_errorMessage :: Lens' Workspace (Maybe Text) Source #
The text of the error message that is returned if the WorkSpace cannot be created.
workspace_modificationStates :: Lens' Workspace (Maybe [ModificationState]) Source #
The modification states of the WorkSpace.
workspace_relatedWorkspaces :: Lens' Workspace (Maybe [RelatedWorkspaceProperties]) Source #
The Standby WorkSpace or Primary WorkSpace related to the specified WorkSpace.
workspace_rootVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool) Source #
Indicates whether the data stored on the root volume is encrypted.
workspace_state :: Lens' Workspace (Maybe WorkspaceState) Source #
The operational state of the WorkSpace.
After a WorkSpace is terminated, the TERMINATED state is returned only
briefly before the WorkSpace directory metadata is cleaned up, so this
state is rarely returned. To confirm that a WorkSpace is terminated,
check for the WorkSpace ID by using
DescribeWorkSpaces.
If the WorkSpace ID isn't returned, then the WorkSpace has been
successfully terminated.
workspace_subnetId :: Lens' Workspace (Maybe Text) Source #
The identifier of the subnet for the WorkSpace.
workspace_userVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool) Source #
Indicates whether the data stored on the user volume is encrypted.
workspace_volumeEncryptionKey :: Lens' Workspace (Maybe Text) Source #
The symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
workspace_workspaceProperties :: Lens' Workspace (Maybe WorkspaceProperties) Source #
The properties of the WorkSpace.