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 DBSnapshot. The source DBInstance must be in "available" state.
- createDBSnapshot :: Text -> Text -> CreateDBSnapshot
- data CreateDBSnapshot
- cdbsTags :: Lens' CreateDBSnapshot [Tag]
- cdbsDBSnapshotIdentifier :: Lens' CreateDBSnapshot Text
- cdbsDBInstanceIdentifier :: Lens' CreateDBSnapshot Text
- createDBSnapshotResponse :: Int -> CreateDBSnapshotResponse
- data CreateDBSnapshotResponse
- cdbsrsDBSnapshot :: Lens' CreateDBSnapshotResponse (Maybe DBSnapshot)
- cdbsrsResponseStatus :: Lens' CreateDBSnapshotResponse Int
Creating a Request
Creates a value of CreateDBSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdbsTags
- Undocumented member.cdbsDBSnapshotIdentifier
- 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
cdbsDBInstanceIdentifier
- 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
data CreateDBSnapshot Source #
See: createDBSnapshot
smart constructor.
Request Lenses
cdbsDBSnapshotIdentifier :: 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
cdbsDBInstanceIdentifier :: 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
Destructuring the Response
createDBSnapshotResponse Source #
Creates a value of CreateDBSnapshotResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdbsrsDBSnapshot
- Undocumented member.cdbsrsResponseStatus
- -- | The response status code.
data CreateDBSnapshotResponse Source #
See: createDBSnapshotResponse
smart constructor.
Response Lenses
cdbsrsDBSnapshot :: Lens' CreateDBSnapshotResponse (Maybe DBSnapshot) Source #
Undocumented member.
cdbsrsResponseStatus :: Lens' CreateDBSnapshotResponse Int Source #
- - | The response status code.