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

Description

Deletes a directory. Only disabled directories can be deleted. A deleted directory cannot be undone. Exercise extreme caution when deleting directories.

Synopsis

Creating a Request

data DeleteDirectory Source #

See: newDeleteDirectory smart constructor.

Constructors

DeleteDirectory' 

Fields

Instances

Instances details
Eq DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Read DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Show DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Generic DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Associated Types

type Rep DeleteDirectory :: Type -> Type #

NFData DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Methods

rnf :: DeleteDirectory -> () #

Hashable DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

ToJSON DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

AWSRequest DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Associated Types

type AWSResponse DeleteDirectory #

ToHeaders DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

ToPath DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

ToQuery DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

type Rep DeleteDirectory Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

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

Defined in Amazonka.CloudDirectory.DeleteDirectory

newDeleteDirectory Source #

Create a value of DeleteDirectory 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:DeleteDirectory', deleteDirectory_directoryArn - The ARN of the directory to delete.

Request Lenses

deleteDirectory_directoryArn :: Lens' DeleteDirectory Text Source #

The ARN of the directory to delete.

Destructuring the Response

data DeleteDirectoryResponse Source #

See: newDeleteDirectoryResponse smart constructor.

Constructors

DeleteDirectoryResponse' 

Fields

Instances

Instances details
Eq DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Read DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Show DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Generic DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Associated Types

type Rep DeleteDirectoryResponse :: Type -> Type #

NFData DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

Methods

rnf :: DeleteDirectoryResponse -> () #

type Rep DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.DeleteDirectory

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

newDeleteDirectoryResponse Source #

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

$sel:directoryArn:DeleteDirectory', deleteDirectoryResponse_directoryArn - The ARN of the deleted directory.

Response Lenses