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

Description

Deletes a directory snapshot.

Synopsis

Creating a Request

data DeleteSnapshot Source #

Contains the inputs for the DeleteSnapshot operation.

See: newDeleteSnapshot smart constructor.

Constructors

DeleteSnapshot' 

Fields

  • snapshotId :: Text

    The identifier of the directory snapshot to be deleted.

Instances

Instances details
Eq DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Read DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Show DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Generic DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Associated Types

type Rep DeleteSnapshot :: Type -> Type #

NFData DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Methods

rnf :: DeleteSnapshot -> () #

Hashable DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

ToJSON DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

AWSRequest DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Associated Types

type AWSResponse DeleteSnapshot #

ToHeaders DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

ToPath DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

ToQuery DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

type Rep DeleteSnapshot Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

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

Defined in Amazonka.DirectoryService.DeleteSnapshot

newDeleteSnapshot Source #

Create a value of DeleteSnapshot 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:snapshotId:DeleteSnapshot', deleteSnapshot_snapshotId - The identifier of the directory snapshot to be deleted.

Request Lenses

deleteSnapshot_snapshotId :: Lens' DeleteSnapshot Text Source #

The identifier of the directory snapshot to be deleted.

Destructuring the Response

data DeleteSnapshotResponse Source #

Contains the results of the DeleteSnapshot operation.

See: newDeleteSnapshotResponse smart constructor.

Constructors

DeleteSnapshotResponse' 

Fields

Instances

Instances details
Eq DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Read DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Show DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Generic DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Associated Types

type Rep DeleteSnapshotResponse :: Type -> Type #

NFData DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

Methods

rnf :: DeleteSnapshotResponse -> () #

type Rep DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DeleteSnapshot

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

newDeleteSnapshotResponse Source #

Create a value of DeleteSnapshotResponse 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:snapshotId:DeleteSnapshot', deleteSnapshotResponse_snapshotId - The identifier of the directory snapshot that was deleted.

$sel:httpStatus:DeleteSnapshotResponse', deleteSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

deleteSnapshotResponse_snapshotId :: Lens' DeleteSnapshotResponse (Maybe Text) Source #

The identifier of the directory snapshot that was deleted.