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 |
Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
See: AWS API Reference for CreateDBClusterSnapshot.
- createDBClusterSnapshot :: Text -> Text -> CreateDBClusterSnapshot
- data CreateDBClusterSnapshot
- cdcsTags :: Lens' CreateDBClusterSnapshot [Tag]
- cdcsDBClusterSnapshotIdentifier :: Lens' CreateDBClusterSnapshot Text
- cdcsDBClusterIdentifier :: Lens' CreateDBClusterSnapshot Text
- createDBClusterSnapshotResponse :: Int -> CreateDBClusterSnapshotResponse
- data CreateDBClusterSnapshotResponse
- cdbcsrsDBClusterSnapshot :: Lens' CreateDBClusterSnapshotResponse (Maybe DBClusterSnapshot)
- cdbcsrsStatus :: Lens' CreateDBClusterSnapshotResponse Int
Creating a Request
createDBClusterSnapshot Source
Creates a value of CreateDBClusterSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDBClusterSnapshot Source
See: createDBClusterSnapshot
smart constructor.
Request Lenses
cdcsTags :: Lens' CreateDBClusterSnapshot [Tag] Source
The tags to be assigned to the DB cluster snapshot.
cdcsDBClusterSnapshotIdentifier :: Lens' CreateDBClusterSnapshot Text Source
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example: 'my-cluster1-snapshot1'
cdcsDBClusterIdentifier :: Lens' CreateDBClusterSnapshot Text Source
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example: 'my-cluster1'
Destructuring the Response
createDBClusterSnapshotResponse Source
Creates a value of CreateDBClusterSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDBClusterSnapshotResponse Source
See: createDBClusterSnapshotResponse
smart constructor.
Response Lenses
cdbcsrsDBClusterSnapshot :: Lens' CreateDBClusterSnapshotResponse (Maybe DBClusterSnapshot) Source
Undocumented member.
cdbcsrsStatus :: Lens' CreateDBClusterSnapshotResponse Int Source
The response status code.