Safe Haskell | None |
---|---|
Language | Haskell2010 |
The CopySnapshot action makes a copy of an existing snapshot.
http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CopySnapshot.html
- data CopySnapshot
- copySnapshot :: Text -> Text -> CopySnapshot
- csSourceSnapshotName :: Lens' CopySnapshot Text
- csTargetSnapshotName :: Lens' CopySnapshot Text
- data CopySnapshotResponse
- copySnapshotResponse :: CopySnapshotResponse
- csrSnapshot :: Lens' CopySnapshotResponse (Maybe Snapshot)
Request
data CopySnapshot Source
Eq CopySnapshot | |
Ord CopySnapshot | |
Read CopySnapshot | |
Show CopySnapshot | |
AWSRequest CopySnapshot | |
ToQuery CopySnapshot | |
ToPath CopySnapshot | |
ToHeaders CopySnapshot | |
type Sv CopySnapshot = ElastiCache | |
type Rs CopySnapshot = CopySnapshotResponse |
Request constructor
:: Text | |
-> Text | |
-> CopySnapshot |
CopySnapshot
constructor.
The fields accessible through corresponding lenses are:
csSourceSnapshotName
::
Text
csTargetSnapshotName
::
Text
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.
Response
Response constructor
copySnapshotResponse :: CopySnapshotResponse Source
CopySnapshotResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
csrSnapshot :: Lens' CopySnapshotResponse (Maybe Snapshot) Source