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

Description

 
Synopsis

Documentation

data WorkspaceDirectory Source #

Describes a directory that is used with Amazon WorkSpaces.

See: newWorkspaceDirectory smart constructor.

Constructors

WorkspaceDirectory' 

Fields

Instances

Instances details
Eq WorkspaceDirectory Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.WorkspaceDirectory

Read WorkspaceDirectory Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.WorkspaceDirectory

Show WorkspaceDirectory Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.WorkspaceDirectory

Generic WorkspaceDirectory Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.WorkspaceDirectory

Associated Types

type Rep WorkspaceDirectory :: Type -> Type #

NFData WorkspaceDirectory Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.WorkspaceDirectory

Methods

rnf :: WorkspaceDirectory -> () #

Hashable WorkspaceDirectory Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.WorkspaceDirectory

FromJSON WorkspaceDirectory Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.WorkspaceDirectory

type Rep WorkspaceDirectory Source # 
Instance details

Defined in Amazonka.WorkSpaces.Types.WorkspaceDirectory

type Rep WorkspaceDirectory = D1 ('MetaData "WorkspaceDirectory" "Amazonka.WorkSpaces.Types.WorkspaceDirectory" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "WorkspaceDirectory'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "registrationCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamRoleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceDirectoryState)))) :*: ((S1 ('MetaSel ('Just "customerUserName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "ipGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "alias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "workspaceSecurityGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "directoryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceDirectoryType))) :*: (S1 ('MetaSel ('Just "tenancy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Tenancy)) :*: S1 ('MetaSel ('Just "workspaceCreationProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DefaultWorkspaceCreationProperties)))) :*: ((S1 ('MetaSel ('Just "dnsIpAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "workspaceAccessProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceAccessProperties))) :*: (S1 ('MetaSel ('Just "directoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "selfservicePermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelfservicePermissions)))))))

newWorkspaceDirectory :: WorkspaceDirectory Source #

Create a value of WorkspaceDirectory 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:registrationCode:WorkspaceDirectory', workspaceDirectory_registrationCode - The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.

$sel:iamRoleId:WorkspaceDirectory', workspaceDirectory_iamRoleId - The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.

$sel:directoryId:WorkspaceDirectory', workspaceDirectory_directoryId - The directory identifier.

$sel:state:WorkspaceDirectory', workspaceDirectory_state - The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.

$sel:customerUserName:WorkspaceDirectory', workspaceDirectory_customerUserName - The user name for the service account.

$sel:subnetIds:WorkspaceDirectory', workspaceDirectory_subnetIds - The identifiers of the subnets used with the directory.

$sel:ipGroupIds:WorkspaceDirectory', workspaceDirectory_ipGroupIds - The identifiers of the IP access control groups associated with the directory.

$sel:alias:WorkspaceDirectory', workspaceDirectory_alias - The directory alias.

$sel:workspaceSecurityGroupId:WorkspaceDirectory', workspaceDirectory_workspaceSecurityGroupId - The identifier of the security group that is assigned to new WorkSpaces.

$sel:directoryType:WorkspaceDirectory', workspaceDirectory_directoryType - The directory type.

$sel:tenancy:WorkspaceDirectory', workspaceDirectory_tenancy - Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.

$sel:workspaceCreationProperties:WorkspaceDirectory', workspaceDirectory_workspaceCreationProperties - The default creation properties for all WorkSpaces in the directory.

$sel:dnsIpAddresses:WorkspaceDirectory', workspaceDirectory_dnsIpAddresses - The IP addresses of the DNS servers for the directory.

$sel:workspaceAccessProperties:WorkspaceDirectory', workspaceDirectory_workspaceAccessProperties - The devices and operating systems that users can use to access WorkSpaces.

$sel:directoryName:WorkspaceDirectory', workspaceDirectory_directoryName - The name of the directory.

$sel:selfservicePermissions:WorkspaceDirectory', workspaceDirectory_selfservicePermissions - The default self-service permissions for WorkSpaces in the directory.

workspaceDirectory_registrationCode :: Lens' WorkspaceDirectory (Maybe Text) Source #

The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.

workspaceDirectory_iamRoleId :: Lens' WorkspaceDirectory (Maybe Text) Source #

The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.

workspaceDirectory_state :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState) Source #

The state of the directory's registration with Amazon WorkSpaces. After a directory is deregistered, the DEREGISTERED state is returned very briefly before the directory metadata is cleaned up, so this state is rarely returned. To confirm that a directory is deregistered, check for the directory ID by using DescribeWorkspaceDirectories. If the directory ID isn't returned, then the directory has been successfully deregistered.

workspaceDirectory_subnetIds :: Lens' WorkspaceDirectory (Maybe [Text]) Source #

The identifiers of the subnets used with the directory.

workspaceDirectory_ipGroupIds :: Lens' WorkspaceDirectory (Maybe [Text]) Source #

The identifiers of the IP access control groups associated with the directory.

workspaceDirectory_workspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text) Source #

The identifier of the security group that is assigned to new WorkSpaces.

workspaceDirectory_tenancy :: Lens' WorkspaceDirectory (Maybe Tenancy) Source #

Specifies whether the directory is dedicated or shared. To use Bring Your Own License (BYOL), this value must be set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images.

workspaceDirectory_workspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties) Source #

The default creation properties for all WorkSpaces in the directory.

workspaceDirectory_dnsIpAddresses :: Lens' WorkspaceDirectory (Maybe [Text]) Source #

The IP addresses of the DNS servers for the directory.

workspaceDirectory_workspaceAccessProperties :: Lens' WorkspaceDirectory (Maybe WorkspaceAccessProperties) Source #

The devices and operating systems that users can use to access WorkSpaces.

workspaceDirectory_selfservicePermissions :: Lens' WorkspaceDirectory (Maybe SelfservicePermissions) Source #

The default self-service permissions for WorkSpaces in the directory.