amazonka-elasticache-1.2.0.1: Amazon ElastiCache SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElastiCache.DeleteSnapshot

Contents

Description

The DeleteSnapshot action deletes an existing snapshot. When you receive a successful response from this action, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this action.

See: AWS API Reference for DeleteSnapshot.

Synopsis

Creating a Request

deleteSnapshot Source

Creates a value of DeleteSnapshot with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dSnapshotName :: Lens' DeleteSnapshot Text Source

The name of the snapshot to be deleted.

Destructuring the Response

deleteSnapshotResponse Source

Creates a value of DeleteSnapshotResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dsrsStatus :: Lens' DeleteSnapshotResponse Int Source

The response status code.