Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a DBSnapshot. The source DBInstance must be in "available" state.
http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBSnapshot.html
- data CreateDBSnapshot
- createDBSnapshot :: Text -> Text -> CreateDBSnapshot
- cdbs1DBInstanceIdentifier :: Lens' CreateDBSnapshot Text
- cdbs1DBSnapshotIdentifier :: Lens' CreateDBSnapshot Text
- cdbs1Tags :: Lens' CreateDBSnapshot [Tag]
- data CreateDBSnapshotResponse
- createDBSnapshotResponse :: CreateDBSnapshotResponse
- cdbsr1DBSnapshot :: Lens' CreateDBSnapshotResponse (Maybe DBSnapshot)
Request
data CreateDBSnapshot Source
Request constructor
CreateDBSnapshot
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cdbs1DBInstanceIdentifier :: Lens' CreateDBSnapshot Text Source
The DB instance identifier. This is the unique key that identifies a DB instance.
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
cdbs1DBSnapshotIdentifier :: Lens' CreateDBSnapshot Text Source
The identifier for the DB snapshot.
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'
Response
Response constructor
createDBSnapshotResponse :: CreateDBSnapshotResponse Source
CreateDBSnapshotResponse
constructor.
The fields accessible through corresponding lenses are: