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 |
The DeleteDBCluster action deletes a previously provisioned DB cluster. A successful response from the web service indicates the request was received correctly. When you delete a DB cluster, all automated backups for that DB cluster are deleted and cannot be recovered. Manual DB cluster snapshots of the DB cluster to be deleted are not deleted.
For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
See: AWS API Reference for DeleteDBCluster.
- deleteDBCluster :: Text -> DeleteDBCluster
- data DeleteDBCluster
- ddbcFinalDBSnapshotIdentifier :: Lens' DeleteDBCluster (Maybe Text)
- ddbcSkipFinalSnapshot :: Lens' DeleteDBCluster (Maybe Bool)
- ddbcDBClusterIdentifier :: Lens' DeleteDBCluster Text
- deleteDBClusterResponse :: Int -> DeleteDBClusterResponse
- data DeleteDBClusterResponse
- ddbcrsDBCluster :: Lens' DeleteDBClusterResponse (Maybe DBCluster)
- ddbcrsResponseStatus :: Lens' DeleteDBClusterResponse Int
Creating a Request
Creates a value of DeleteDBCluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDBCluster Source
See: deleteDBCluster
smart constructor.
Request Lenses
ddbcFinalDBSnapshotIdentifier :: Lens' DeleteDBCluster (Maybe Text) Source
The DB cluster snapshot identifier of the new DB cluster snapshot
created when SkipFinalSnapshot
is set to false
.
Specifying this parameter and also setting the SkipFinalShapshot
parameter to true results in an error.
Constraints:
- Must be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
ddbcSkipFinalSnapshot :: Lens' DeleteDBCluster (Maybe Bool) Source
Determines whether a final DB cluster snapshot is created before the DB
cluster is deleted. If true
is specified, no DB cluster snapshot is
created. If false
is specified, a DB cluster snapshot is created
before the DB cluster is deleted.
You must specify a FinalDBSnapshotIdentifier
parameter if
SkipFinalSnapshot
is false
.
Default: false
ddbcDBClusterIdentifier :: Lens' DeleteDBCluster Text Source
The DB cluster identifier for the DB cluster to be deleted. This parameter isn't 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
Destructuring the Response
deleteDBClusterResponse Source
Creates a value of DeleteDBClusterResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteDBClusterResponse Source
See: deleteDBClusterResponse
smart constructor.
Response Lenses
ddbcrsDBCluster :: Lens' DeleteDBClusterResponse (Maybe DBCluster) Source
Undocumented member.
ddbcrsResponseStatus :: Lens' DeleteDBClusterResponse Int Source
The response status code.