amazonka-clouddirectory-2.0: Amazon CloudDirectory SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.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

AWSRequest EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Associated Types

type AWSResponse EnableDirectory #

Generic EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Associated Types

type Rep EnableDirectory :: Type -> Type #

Read EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Show EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

NFData EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Methods

rnf :: EnableDirectory -> () #

Eq EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Hashable EnableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

type AWSResponse 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" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "EnableDirectory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Associated Types

type Rep EnableDirectoryResponse :: Type -> Type #

Read EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Show EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

NFData EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

Methods

rnf :: EnableDirectoryResponse -> () #

Eq EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

type Rep EnableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.EnableDirectory

type Rep EnableDirectoryResponse = D1 ('MetaData "EnableDirectoryResponse" "Amazonka.CloudDirectory.EnableDirectory" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" '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.

EnableDirectory, enableDirectoryResponse_directoryArn - The ARN of the enabled directory.

Response Lenses