libZSservicesZSamazonka-dsZSamazonka-ds
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.DirectoryService.DeleteDirectory

Description

Deletes an Directory Service directory.

Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.

Synopsis

Creating a Request

data DeleteDirectory Source #

Contains the inputs for the DeleteDirectory operation.

See: newDeleteDirectory smart constructor.

Constructors

DeleteDirectory' 

Fields

Instances

Instances details
Eq DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Read DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Show DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Generic DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Associated Types

type Rep DeleteDirectory :: Type -> Type #

NFData DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Methods

rnf :: DeleteDirectory -> () #

Hashable DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

ToJSON DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

AWSRequest DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Associated Types

type AWSResponse DeleteDirectory #

ToHeaders DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

ToPath DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

ToQuery DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

type Rep DeleteDirectory Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

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

Defined in Amazonka.DirectoryService.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:directoryId:DeleteDirectory', deleteDirectory_directoryId - The identifier of the directory to delete.

Request Lenses

deleteDirectory_directoryId :: Lens' DeleteDirectory Text Source #

The identifier of the directory to delete.

Destructuring the Response

data DeleteDirectoryResponse Source #

Contains the results of the DeleteDirectory operation.

See: newDeleteDirectoryResponse smart constructor.

Constructors

DeleteDirectoryResponse' 

Fields

Instances

Instances details
Eq DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Read DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Show DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Generic DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Associated Types

type Rep DeleteDirectoryResponse :: Type -> Type #

NFData DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

Methods

rnf :: DeleteDirectoryResponse -> () #

type Rep DeleteDirectoryResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteDirectory

type Rep DeleteDirectoryResponse = D1 ('MetaData "DeleteDirectoryResponse" "Amazonka.DirectoryService.DeleteDirectory" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "DeleteDirectoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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:directoryId:DeleteDirectory', deleteDirectoryResponse_directoryId - The directory identifier.

$sel:httpStatus:DeleteDirectoryResponse', deleteDirectoryResponse_httpStatus - The response's http status code.

Response Lenses