amazonka-elasticache-1.4.2: Amazon ElastiCache SDK.

Copyright(c) 2013-2016 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.CopySnapshot

Contents

Description

The CopySnapshot action makes a copy of an existing snapshot.

Synopsis

Creating a Request

copySnapshot Source #

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

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

data CopySnapshot Source #

Represents the input of a CopySnapshotMessage action.

See: copySnapshot smart constructor.

Instances

Eq CopySnapshot Source # 
Data CopySnapshot Source # 

Methods

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

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

toConstr :: CopySnapshot -> Constr #

dataTypeOf :: CopySnapshot -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CopySnapshot Source # 
Show CopySnapshot Source # 
Generic CopySnapshot Source # 

Associated Types

type Rep CopySnapshot :: * -> * #

Hashable CopySnapshot Source # 
NFData CopySnapshot Source # 

Methods

rnf :: CopySnapshot -> () #

AWSRequest CopySnapshot Source # 
ToPath CopySnapshot Source # 
ToHeaders CopySnapshot Source # 
ToQuery CopySnapshot Source # 
type Rep CopySnapshot Source # 
type Rep CopySnapshot = D1 (MetaData "CopySnapshot" "Network.AWS.ElastiCache.CopySnapshot" "amazonka-elasticache-1.4.2-Jpl6F5jrZ35HzhDeLVi6T" False) (C1 (MetaCons "CopySnapshot'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csSourceSnapshotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_csTargetSnapshotName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CopySnapshot Source # 

Request Lenses

csSourceSnapshotName :: Lens' CopySnapshot Text Source #

The name of an existing snapshot from which to copy.

csTargetSnapshotName :: Lens' CopySnapshot Text Source #

A name for the copied snapshot.

Destructuring the Response

copySnapshotResponse Source #

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

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

data CopySnapshotResponse Source #

See: copySnapshotResponse smart constructor.

Instances

Eq CopySnapshotResponse Source # 
Data CopySnapshotResponse Source # 

Methods

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

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

toConstr :: CopySnapshotResponse -> Constr #

dataTypeOf :: CopySnapshotResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CopySnapshotResponse Source # 
Show CopySnapshotResponse Source # 
Generic CopySnapshotResponse Source # 
NFData CopySnapshotResponse Source # 

Methods

rnf :: CopySnapshotResponse -> () #

type Rep CopySnapshotResponse Source # 
type Rep CopySnapshotResponse = D1 (MetaData "CopySnapshotResponse" "Network.AWS.ElastiCache.CopySnapshot" "amazonka-elasticache-1.4.2-Jpl6F5jrZ35HzhDeLVi6T" False) (C1 (MetaCons "CopySnapshotResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_csrsSnapshot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Snapshot))) (S1 (MetaSel (Just Symbol "_csrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses