libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
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.CloudDirectory.Types.Directory

Description

 
Synopsis

Documentation

data Directory Source #

Directory structure that includes the directory name and directory ARN.

See: newDirectory smart constructor.

Constructors

Directory' 

Fields

Instances

Instances details
Eq Directory Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Directory

Read Directory Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Directory

Show Directory Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Directory

Generic Directory Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Directory

Associated Types

type Rep Directory :: Type -> Type #

NFData Directory Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Directory

Methods

rnf :: Directory -> () #

Hashable Directory Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Directory

FromJSON Directory Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Directory

type Rep Directory Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.Directory

type Rep Directory = D1 ('MetaData "Directory" "Amazonka.CloudDirectory.Types.Directory" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "Directory'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DirectoryState))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newDirectory :: Directory Source #

Create a value of Directory 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:directoryArn:Directory', directory_directoryArn - The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.

$sel:state:Directory', directory_state - The state of the directory. Can be either Enabled, Disabled, or Deleted.

$sel:name:Directory', directory_name - The name of the directory.

$sel:creationDateTime:Directory', directory_creationDateTime - The date and time when the directory was created.

directory_directoryArn :: Lens' Directory (Maybe Text) Source #

The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.

directory_state :: Lens' Directory (Maybe DirectoryState) Source #

The state of the directory. Can be either Enabled, Disabled, or Deleted.

directory_name :: Lens' Directory (Maybe Text) Source #

The name of the directory.

directory_creationDateTime :: Lens' Directory (Maybe UTCTime) Source #

The date and time when the directory was created.