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 RedshiftSnapshots in the Amazon Redshift Cluster Management Guide.
http://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSnapshot.html
- data CreateClusterSnapshot
- createClusterSnapshot :: Text -> Text -> CreateClusterSnapshot
- ccsClusterIdentifier :: Lens' CreateClusterSnapshot Text
- ccsSnapshotIdentifier :: Lens' CreateClusterSnapshot Text
- ccsTags :: Lens' CreateClusterSnapshot [Tag]
- data CreateClusterSnapshotResponse
- createClusterSnapshotResponse :: CreateClusterSnapshotResponse
- ccsr1Snapshot :: Lens' CreateClusterSnapshotResponse (Maybe Snapshot)
Request
data CreateClusterSnapshot Source
Eq CreateClusterSnapshot | |
Read CreateClusterSnapshot | |
Show CreateClusterSnapshot | |
AWSRequest CreateClusterSnapshot | |
ToQuery CreateClusterSnapshot | |
ToPath CreateClusterSnapshot | |
ToHeaders CreateClusterSnapshot | |
type Sv CreateClusterSnapshot = Redshift | |
type Rs CreateClusterSnapshot = CreateClusterSnapshotResponse |
Request constructor
:: Text | |
-> Text | |
-> CreateClusterSnapshot |
CreateClusterSnapshot
constructor.
The fields accessible through corresponding lenses are:
ccsClusterIdentifier
::
Text
ccsSnapshotIdentifier
::
Text
ccsTags
::
[Tag
]
Request lenses
ccsClusterIdentifier :: Lens' CreateClusterSnapshot Text Source
The cluster identifier for which you want a snapshot.
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'
ccsTags :: Lens' CreateClusterSnapshot [Tag] Source
A list of tag instances.
Response
Response constructor
createClusterSnapshotResponse :: CreateClusterSnapshotResponse Source
CreateClusterSnapshotResponse
constructor.
The fields accessible through corresponding lenses are: