Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.AWS.ElastiCache.CreateSnapshot
Description
The CreateSnapshot action creates a copy of an entire cache cluster at a specific moment in time.
http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateSnapshot.html
- data CreateSnapshot
- createSnapshot :: Text -> Text -> CreateSnapshot
- csCacheClusterId :: Lens' CreateSnapshot Text
- csSnapshotName :: Lens' CreateSnapshot Text
- data CreateSnapshotResponse
- createSnapshotResponse :: CreateSnapshotResponse
- csr1Snapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot)
Request
data CreateSnapshot Source
Instances
Eq CreateSnapshot | |
Ord CreateSnapshot | |
Read CreateSnapshot | |
Show CreateSnapshot | |
AWSRequest CreateSnapshot | |
ToQuery CreateSnapshot | |
ToPath CreateSnapshot | |
ToHeaders CreateSnapshot | |
type Sv CreateSnapshot = ElastiCache | |
type Rs CreateSnapshot = CreateSnapshotResponse |
Request constructor
Arguments
:: Text | |
-> Text | |
-> CreateSnapshot |
CreateSnapshot
constructor.
The fields accessible through corresponding lenses are:
csCacheClusterId
::
Text
csSnapshotName
::
Text
Request lenses
csCacheClusterId :: Lens' CreateSnapshot Text Source
The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
csSnapshotName :: Lens' CreateSnapshot Text Source
A name for the snapshot being created.
Response
Response constructor
createSnapshotResponse :: CreateSnapshotResponse Source
CreateSnapshotResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
csr1Snapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot) Source