libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.DeleteSnapshot

Description

Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.

Synopsis

Creating a Request

data DeleteSnapshot Source #

See: newDeleteSnapshot smart constructor.

Constructors

DeleteSnapshot' 

Fields

Instances

Instances details
Eq DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Read DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Show DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Generic DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Associated Types

type Rep DeleteSnapshot :: Type -> Type #

NFData DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Methods

rnf :: DeleteSnapshot -> () #

Hashable DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

ToJSON DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

AWSRequest DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Associated Types

type AWSResponse DeleteSnapshot #

ToHeaders DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

ToPath DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

ToQuery DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

type Rep DeleteSnapshot Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

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

Defined in Amazonka.MemoryDb.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:snapshotName:DeleteSnapshot', deleteSnapshot_snapshotName - The name of the snapshot to delete

Request Lenses

deleteSnapshot_snapshotName :: Lens' DeleteSnapshot Text Source #

The name of the snapshot to delete

Destructuring the Response

data DeleteSnapshotResponse Source #

See: newDeleteSnapshotResponse smart constructor.

Constructors

DeleteSnapshotResponse' 

Fields

Instances

Instances details
Eq DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Read DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Show DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Generic DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Associated Types

type Rep DeleteSnapshotResponse :: Type -> Type #

NFData DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

Methods

rnf :: DeleteSnapshotResponse -> () #

type Rep DeleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteSnapshot

type Rep DeleteSnapshotResponse = D1 ('MetaData "DeleteSnapshotResponse" "Amazonka.MemoryDb.DeleteSnapshot" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DeleteSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Snapshot)) :*: 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:snapshot:DeleteSnapshotResponse', deleteSnapshotResponse_snapshot - The snapshot object that has been deleted.

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

Response Lenses

deleteSnapshotResponse_snapshot :: Lens' DeleteSnapshotResponse (Maybe Snapshot) Source #

The snapshot object that has been deleted.