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 |
Creates a manual snapshot of the specified cluster. The cluster must be
in the available
state.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.
- createClusterSnapshot :: Text -> Text -> CreateClusterSnapshot
- data CreateClusterSnapshot
- ccsTags :: Lens' CreateClusterSnapshot [Tag]
- ccsSnapshotIdentifier :: Lens' CreateClusterSnapshot Text
- ccsClusterIdentifier :: Lens' CreateClusterSnapshot Text
- createClusterSnapshotResponse :: Int -> CreateClusterSnapshotResponse
- data CreateClusterSnapshotResponse
- crersSnapshot :: Lens' CreateClusterSnapshotResponse (Maybe Snapshot)
- crersResponseStatus :: Lens' CreateClusterSnapshotResponse Int
Creating a Request
createClusterSnapshot Source #
Creates a value of CreateClusterSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateClusterSnapshot Source #
See: createClusterSnapshot
smart constructor.
Request Lenses
ccsSnapshotIdentifier :: Lens' CreateClusterSnapshot Text Source #
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.
Constraints:
- Cannot be null, empty, or blank
- Must contain from 1 to 255 alphanumeric characters or hyphens
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
Example: 'my-snapshot-id'
ccsClusterIdentifier :: Lens' CreateClusterSnapshot Text Source #
The cluster identifier for which you want a snapshot.
Destructuring the Response
createClusterSnapshotResponse Source #
Creates a value of CreateClusterSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateClusterSnapshotResponse Source #
See: createClusterSnapshotResponse
smart constructor.
Response Lenses
crersSnapshot :: Lens' CreateClusterSnapshotResponse (Maybe Snapshot) Source #
Undocumented member.
crersResponseStatus :: Lens' CreateClusterSnapshotResponse Int Source #
The response status code.