amazonka-elasticache-1.6.1: Amazon ElastiCache SDK.

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

Network.AWS.ElastiCache.DeleteSnapshot

Contents

Description

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

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:

data DeleteSnapshot Source #

Represents the input of a DeleteSnapshot operation.

See: deleteSnapshot smart constructor.

Instances
Eq DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Data DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteSnapshot -> c DeleteSnapshot #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteSnapshot #

toConstr :: DeleteSnapshot -> Constr #

dataTypeOf :: DeleteSnapshot -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteSnapshot) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteSnapshot) #

gmapT :: (forall b. Data b => b -> b) -> DeleteSnapshot -> DeleteSnapshot #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteSnapshot -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteSnapshot -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteSnapshot -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteSnapshot -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteSnapshot -> m DeleteSnapshot #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteSnapshot -> m DeleteSnapshot #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteSnapshot -> m DeleteSnapshot #

Read DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Show DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Generic DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Associated Types

type Rep DeleteSnapshot :: Type -> Type #

Hashable DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

AWSRequest DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Associated Types

type Rs DeleteSnapshot :: Type #

ToHeaders DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

ToPath DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

ToQuery DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

NFData DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Methods

rnf :: DeleteSnapshot -> () #

type Rep DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

type Rep DeleteSnapshot = D1 (MetaData "DeleteSnapshot" "Network.AWS.ElastiCache.DeleteSnapshot" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" True) (C1 (MetaCons "DeleteSnapshot'" PrefixI True) (S1 (MetaSel (Just "_dSnapshotName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteSnapshot Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

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:

data DeleteSnapshotResponse Source #

See: deleteSnapshotResponse smart constructor.

Instances
Eq DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Data DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteSnapshotResponse -> c DeleteSnapshotResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteSnapshotResponse #

toConstr :: DeleteSnapshotResponse -> Constr #

dataTypeOf :: DeleteSnapshotResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteSnapshotResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteSnapshotResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteSnapshotResponse -> DeleteSnapshotResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteSnapshotResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteSnapshotResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteSnapshotResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteSnapshotResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteSnapshotResponse -> m DeleteSnapshotResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteSnapshotResponse -> m DeleteSnapshotResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteSnapshotResponse -> m DeleteSnapshotResponse #

Read DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Show DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Generic DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Associated Types

type Rep DeleteSnapshotResponse :: Type -> Type #

NFData DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

Methods

rnf :: DeleteSnapshotResponse -> () #

type Rep DeleteSnapshotResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.DeleteSnapshot

type Rep DeleteSnapshotResponse = D1 (MetaData "DeleteSnapshotResponse" "Network.AWS.ElastiCache.DeleteSnapshot" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" False) (C1 (MetaCons "DeleteSnapshotResponse'" PrefixI True) (S1 (MetaSel (Just "_dsrsSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Snapshot)) :*: S1 (MetaSel (Just "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dsrsResponseStatus :: Lens' DeleteSnapshotResponse Int Source #

  • - | The response status code.