| Copyright | (c) 2013-2016 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 |
Network.AWS.ElastiCache.CreateSnapshot
Description
Creates a copy of an entire cache cluster or replication group at a specific moment in time.
- createSnapshot :: Text -> CreateSnapshot
- data CreateSnapshot
- csCacheClusterId :: Lens' CreateSnapshot (Maybe Text)
- csReplicationGroupId :: Lens' CreateSnapshot (Maybe Text)
- csSnapshotName :: Lens' CreateSnapshot Text
- createSnapshotResponse :: Int -> CreateSnapshotResponse
- data CreateSnapshotResponse
- crersSnapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot)
- crersResponseStatus :: Lens' CreateSnapshotResponse Int
Creating a Request
Arguments
| :: Text | |
| -> CreateSnapshot |
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:
csCacheClusterId- The identifier of an existing cache cluster. The snapshot is created from this cache cluster.csReplicationGroupId- The identifier of an existing replication group. The snapshot is created from this replication group.csSnapshotName- A name for the snapshot being created.
data CreateSnapshot Source #
Represents the input of a CreateSnapshot operation.
See: createSnapshot smart constructor.
Instances
Request Lenses
csCacheClusterId :: Lens' CreateSnapshot (Maybe Text) Source #
The identifier of an existing cache cluster. The snapshot is created from this cache cluster.
csReplicationGroupId :: Lens' CreateSnapshot (Maybe Text) Source #
The identifier of an existing replication group. The snapshot is created from this replication group.
csSnapshotName :: Lens' CreateSnapshot Text Source #
A name for the snapshot being created.
Destructuring the Response
createSnapshotResponse Source #
Arguments
| :: Int | |
| -> CreateSnapshotResponse |
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:
crersSnapshot- Undocumented member.crersResponseStatus- -- | The response status code.
data CreateSnapshotResponse Source #
See: createSnapshotResponse smart constructor.
Response Lenses
crersSnapshot :: Lens' CreateSnapshotResponse (Maybe Snapshot) Source #
Undocumented member.
crersResponseStatus :: Lens' CreateSnapshotResponse Int Source #
- - | The response status code.