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

Amazonka.RDS.DeleteDBSnapshot

Description

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

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

Synopsis

Creating a Request

data DeleteDBSnapshot Source #

See: newDeleteDBSnapshot smart constructor.

Constructors

DeleteDBSnapshot' 

Fields

  • dbSnapshotIdentifier :: Text

    The DB snapshot identifier.

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

Instances

Instances details
Eq DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Read DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Show DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Generic DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Associated Types

type Rep DeleteDBSnapshot :: Type -> Type #

NFData DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Methods

rnf :: DeleteDBSnapshot -> () #

Hashable DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

AWSRequest DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Associated Types

type AWSResponse DeleteDBSnapshot #

ToHeaders DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

ToPath DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

ToQuery DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

type Rep DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

type Rep DeleteDBSnapshot = D1 ('MetaData "DeleteDBSnapshot" "Amazonka.RDS.DeleteDBSnapshot" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DeleteDBSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSnapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

newDeleteDBSnapshot Source #

Create a value of DeleteDBSnapshot 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:dbSnapshotIdentifier:DeleteDBSnapshot', deleteDBSnapshot_dbSnapshotIdentifier - The DB snapshot identifier.

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

Request Lenses

deleteDBSnapshot_dbSnapshotIdentifier :: Lens' DeleteDBSnapshot Text Source #

The DB snapshot identifier.

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

Destructuring the Response

data DeleteDBSnapshotResponse Source #

See: newDeleteDBSnapshotResponse smart constructor.

Constructors

DeleteDBSnapshotResponse' 

Fields

Instances

Instances details
Eq DeleteDBSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Read DeleteDBSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Show DeleteDBSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Generic DeleteDBSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

Associated Types

type Rep DeleteDBSnapshotResponse :: Type -> Type #

NFData DeleteDBSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

type Rep DeleteDBSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.DeleteDBSnapshot

type Rep DeleteDBSnapshotResponse = D1 ('MetaData "DeleteDBSnapshotResponse" "Amazonka.RDS.DeleteDBSnapshot" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DeleteDBSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBSnapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteDBSnapshotResponse Source #

Create a value of DeleteDBSnapshotResponse 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:dbSnapshot:DeleteDBSnapshotResponse', deleteDBSnapshotResponse_dbSnapshot - Undocumented member.

$sel:httpStatus:DeleteDBSnapshotResponse', deleteDBSnapshotResponse_httpStatus - The response's http status code.

Response Lenses