amazonka-rds-1.2.0.1: Amazon Relational Database Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.RDS.DeleteDBCluster

Contents

Description

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.

Synopsis

Creating a Request

deleteDBCluster :: DeleteDBCluster Source

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:

Request Lenses

ddbcDBClusterIdentifier :: Lens' DeleteDBCluster (Maybe 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

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

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:

Response Lenses