Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a copy of an entire 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
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 cluster. The snapshot is created from this 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.
Request Lenses
csCacheClusterId :: Lens' CreateSnapshot (Maybe Text) Source #
The identifier of an existing cluster. The snapshot is created from this 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 #
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.