libZSservicesZSamazonka-workspacesZSamazonka-workspaces
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkSpaces.Types.Workspace

Description

 
Synopsis

Documentation

data Workspace Source #

Describes a WorkSpace.

See: newWorkspace smart constructor.

Constructors

Workspace' 

Fields

Instances

Instances details
Eq Workspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.Workspace

Read Workspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.Workspace

Show Workspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.Workspace

Generic Workspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.Workspace

Associated Types

type Rep Workspace :: Type -> Type #

NFData Workspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.Workspace

Methods

rnf :: Workspace -> () #

Hashable Workspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.Workspace

FromJSON Workspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.Workspace

type Rep Workspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.Workspace

type Rep Workspace = D1 ('MetaData "Workspace" "Amazonka.WorkSpaces.Types.Workspace" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "Workspace'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceState)) :*: S1 ('MetaSel ('Just "ipAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "modificationStates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ModificationState])) :*: S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bundleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "workspaceProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceProperties)) :*: S1 ('MetaSel ('Just "rootVolumeEncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "volumeEncryptionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "computerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "userVolumeEncryptionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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:directoryId:Workspace', workspace_directoryId - The identifier of the Directory Service directory for the WorkSpace.

$sel:state: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:ipAddress:Workspace', workspace_ipAddress - The IP address of the WorkSpace.

$sel:modificationStates:Workspace', workspace_modificationStates - The modification states of the WorkSpace.

$sel:userName:Workspace', workspace_userName - The user for the WorkSpace.

$sel:subnetId:Workspace', workspace_subnetId - The identifier of the subnet for the WorkSpace.

$sel:bundleId:Workspace', workspace_bundleId - The identifier of the bundle used to create the WorkSpace.

$sel:workspaceProperties:Workspace', workspace_workspaceProperties - The properties of the WorkSpace.

$sel:rootVolumeEncryptionEnabled:Workspace', workspace_rootVolumeEncryptionEnabled - Indicates whether the data stored on the root volume is encrypted.

$sel:errorCode:Workspace', workspace_errorCode - The error code that is returned if the WorkSpace cannot be created.

$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.

$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:workspaceId:Workspace', workspace_workspaceId - The identifier of the WorkSpace.

$sel:userVolumeEncryptionEnabled:Workspace', workspace_userVolumeEncryptionEnabled - Indicates whether the data stored on the user volume is encrypted.

$sel:errorMessage:Workspace', workspace_errorMessage - The text of the error message that is returned if the WorkSpace cannot be created.

workspace_directoryId :: Lens' Workspace (Maybe Text) Source #

The identifier of the Directory Service directory for the WorkSpace.

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_ipAddress :: Lens' Workspace (Maybe Text) Source #

The IP address of the WorkSpace.

workspace_modificationStates :: Lens' Workspace (Maybe [ModificationState]) Source #

The modification states of the WorkSpace.

workspace_userName :: Lens' Workspace (Maybe Text) Source #

The user for the WorkSpace.

workspace_subnetId :: Lens' Workspace (Maybe Text) Source #

The identifier of the subnet for the WorkSpace.

workspace_bundleId :: Lens' Workspace (Maybe Text) Source #

The identifier of the bundle used to create the WorkSpace.

workspace_rootVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool) Source #

Indicates whether the data stored on the root volume is encrypted.

workspace_errorCode :: Lens' Workspace (Maybe Text) Source #

The error code that is returned if the WorkSpace cannot be created.

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_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_workspaceId :: Lens' Workspace (Maybe Text) Source #

The identifier of the WorkSpace.

workspace_userVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool) Source #

Indicates whether the data stored on the user volume is encrypted.

workspace_errorMessage :: Lens' Workspace (Maybe Text) Source #

The text of the error message that is returned if the WorkSpace cannot be created.