amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RDS.DeleteDBClusterSnapshot

Description

Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated.

The DB cluster snapshot must be in the available state to be deleted.

For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.

For more information on Multi-AZ DB clusters, see Multi-AZ deployments with two readable standby DB instances in the Amazon RDS User Guide.

Synopsis

Creating a Request

data DeleteDBClusterSnapshot Source #

See: newDeleteDBClusterSnapshot smart constructor.

Constructors

DeleteDBClusterSnapshot' 

Fields

  • dbClusterSnapshotIdentifier :: Text

    The identifier of the DB cluster snapshot to delete.

    Constraints: Must be the name of an existing DB cluster snapshot in the available state.

Instances

Instances details
ToHeaders DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

ToPath DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

ToQuery DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

AWSRequest DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

Generic DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

Associated Types

type Rep DeleteDBClusterSnapshot :: Type -> Type #

Read DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

Show DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

NFData DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

Methods

rnf :: DeleteDBClusterSnapshot -> () #

Eq DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

Hashable DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

type AWSResponse DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

type Rep DeleteDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

type Rep DeleteDBClusterSnapshot = D1 ('MetaData "DeleteDBClusterSnapshot" "Amazonka.RDS.DeleteDBClusterSnapshot" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DeleteDBClusterSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbClusterSnapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteDBClusterSnapshot Source #

Create a value of DeleteDBClusterSnapshot with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DeleteDBClusterSnapshot, deleteDBClusterSnapshot_dbClusterSnapshotIdentifier - The identifier of the DB cluster snapshot to delete.

Constraints: Must be the name of an existing DB cluster snapshot in the available state.

Request Lenses

deleteDBClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' DeleteDBClusterSnapshot Text Source #

The identifier of the DB cluster snapshot to delete.

Constraints: Must be the name of an existing DB cluster snapshot in the available state.

Destructuring the Response

data DeleteDBClusterSnapshotResponse Source #

See: newDeleteDBClusterSnapshotResponse smart constructor.

Constructors

DeleteDBClusterSnapshotResponse' 

Fields

Instances

Instances details
Generic DeleteDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

Associated Types

type Rep DeleteDBClusterSnapshotResponse :: Type -> Type #

Read DeleteDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

Show DeleteDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

NFData DeleteDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

Eq DeleteDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

type Rep DeleteDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBClusterSnapshot

type Rep DeleteDBClusterSnapshotResponse = D1 ('MetaData "DeleteDBClusterSnapshotResponse" "Amazonka.RDS.DeleteDBClusterSnapshot" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DeleteDBClusterSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbClusterSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBClusterSnapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteDBClusterSnapshotResponse Source #

Create a value of DeleteDBClusterSnapshotResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dbClusterSnapshot:DeleteDBClusterSnapshotResponse', deleteDBClusterSnapshotResponse_dbClusterSnapshot - Undocumented member.

$sel:httpStatus:DeleteDBClusterSnapshotResponse', deleteDBClusterSnapshotResponse_httpStatus - The response's http status code.

Response Lenses