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

Description

Disables the specified directory. Disabled directories cannot be read or written to. Only enabled directories can be disabled. Disabled directories may be reenabled.

Synopsis

Creating a Request

data DisableDirectory Source #

See: newDisableDirectory smart constructor.

Constructors

DisableDirectory' 

Fields

Instances

Instances details
Eq DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Read DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Show DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Generic DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Associated Types

type Rep DisableDirectory :: Type -> Type #

NFData DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Methods

rnf :: DisableDirectory -> () #

Hashable DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

ToJSON DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

AWSRequest DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Associated Types

type AWSResponse DisableDirectory #

ToHeaders DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

ToPath DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

ToQuery DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

type Rep DisableDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

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

Defined in Amazonka.CloudDirectory.DisableDirectory

newDisableDirectory Source #

Create a value of DisableDirectory 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:DisableDirectory', disableDirectory_directoryArn - The ARN of the directory to disable.

Request Lenses

disableDirectory_directoryArn :: Lens' DisableDirectory Text Source #

The ARN of the directory to disable.

Destructuring the Response

data DisableDirectoryResponse Source #

See: newDisableDirectoryResponse smart constructor.

Constructors

DisableDirectoryResponse' 

Fields

Instances

Instances details
Eq DisableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Read DisableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Show DisableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Generic DisableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

Associated Types

type Rep DisableDirectoryResponse :: Type -> Type #

NFData DisableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

type Rep DisableDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DisableDirectory

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

newDisableDirectoryResponse Source #

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

$sel:directoryArn:DisableDirectory', disableDirectoryResponse_directoryArn - The ARN of the directory that has been disabled.

Response Lenses

disableDirectoryResponse_directoryArn :: Lens' DisableDirectoryResponse Text Source #

The ARN of the directory that has been disabled.