Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The CreateSnapshot action creates a copy of an entire cache cluster at a specific moment in time.
See: AWS API Reference for CreateSnapshot.
- createSnapshot :: Text -> Text -> CreateSnapshot
- data CreateSnapshot
- csCacheClusterId :: Lens' CreateSnapshot Text
- csSnapshotName :: Lens' CreateSnapshot Text
- createSnapshotResponse :: Int -> CreateSnapshotResponse
- data CreateSnapshotResponse
- crersSnapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot)
- crersStatus :: Lens' CreateSnapshotResponse Int
Creating a Request
Creates a value of CreateSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateSnapshot Source
Represents the input of a CreateSnapshot action.
See: createSnapshot
smart constructor.
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.
Destructuring the Response
Creates a value of CreateSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateSnapshotResponse Source
See: createSnapshotResponse
smart constructor.
Response Lenses
crersSnapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot) Source
Undocumented member.
crersStatus :: Lens' CreateSnapshotResponse Int Source
The response status code.