Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.
For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
Synopsis
- 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:
ddbcFinalDBSnapshotIdentifier
- The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshot
is set tofalse
. Constraints: * Must be 1 to 255 letters, numbers, or hyphens. * First character must be a letter * Cannot end with a hyphen or contain two consecutive hyphensddbcSkipFinalSnapshot
- Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. Iftrue
is specified, no DB cluster snapshot is created. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted. Default:false
ddbcDBClusterIdentifier
- The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive. Constraints: * Must match an existing DBClusterIdentifier.
data DeleteDBCluster Source #
See: deleteDBCluster
smart constructor.
Instances
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
. Constraints: * Must be 1 to 255 letters, numbers, or hyphens. * 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. 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 match an existing DBClusterIdentifier.
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:
ddbcrsDBCluster
- Undocumented member.ddbcrsResponseStatus
- -- | The response status code.
data DeleteDBClusterResponse Source #
See: deleteDBClusterResponse
smart constructor.
Instances
Response Lenses
ddbcrsDBCluster :: Lens' DeleteDBClusterResponse (Maybe DBCluster) Source #
Undocumented member.
ddbcrsResponseStatus :: Lens' DeleteDBClusterResponse Int Source #
- - | The response status code.