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

Description

Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.

Synopsis

Creating a Request

data EnableDirectory Source #

See: newEnableDirectory smart constructor.

Constructors

EnableDirectory' 

Fields

Instances

Instances details
Eq EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Read EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Show EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Generic EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Associated Types

type Rep EnableDirectory :: Type -> Type #

NFData EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Methods

rnf :: EnableDirectory -> () #

Hashable EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

ToJSON EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

AWSRequest EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Associated Types

type AWSResponse EnableDirectory #

ToHeaders EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

ToPath EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

ToQuery EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

type Rep EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

type Rep EnableDirectory = D1 ('MetaData "EnableDirectory" "Amazonka.CloudDirectory.EnableDirectory" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "EnableDirectory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

newEnableDirectory Source #

Create a value of EnableDirectory 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:EnableDirectory', enableDirectory_directoryArn - The ARN of the directory to enable.

Request Lenses

enableDirectory_directoryArn :: Lens' EnableDirectory Text Source #

The ARN of the directory to enable.

Destructuring the Response

data EnableDirectoryResponse Source #

See: newEnableDirectoryResponse smart constructor.

Constructors

EnableDirectoryResponse' 

Fields

Instances

Instances details
Eq EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Read EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Show EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Generic EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Associated Types

type Rep EnableDirectoryResponse :: Type -> Type #

NFData EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Methods

rnf :: EnableDirectoryResponse -> () #

type Rep EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

type Rep EnableDirectoryResponse = D1 ('MetaData "EnableDirectoryResponse" "Amazonka.CloudDirectory.EnableDirectory" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "EnableDirectoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEnableDirectoryResponse Source #

Create a value of EnableDirectoryResponse 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:httpStatus:EnableDirectoryResponse', enableDirectoryResponse_httpStatus - The response's http status code.

$sel:directoryArn:EnableDirectory', enableDirectoryResponse_directoryArn - The ARN of the enabled directory.

Response Lenses