libZSservicesZSamazonka-qldbZSamazonka-qldb
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.QLDB.DeleteLedger

Description

Deletes a ledger and all of its contents. This action is irreversible.

If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set the flag to false.

Synopsis

Creating a Request

data DeleteLedger Source #

See: newDeleteLedger smart constructor.

Constructors

DeleteLedger' 

Fields

  • name :: Text

    The name of the ledger that you want to delete.

Instances

Instances details
Eq DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Read DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Show DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Generic DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Associated Types

type Rep DeleteLedger :: Type -> Type #

NFData DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Methods

rnf :: DeleteLedger -> () #

Hashable DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

AWSRequest DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Associated Types

type AWSResponse DeleteLedger #

ToHeaders DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

ToPath DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

ToQuery DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

type Rep DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

type Rep DeleteLedger = D1 ('MetaData "DeleteLedger" "Amazonka.QLDB.DeleteLedger" "libZSservicesZSamazonka-qldbZSamazonka-qldb" 'False) (C1 ('MetaCons "DeleteLedger'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteLedger Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

newDeleteLedger Source #

Create a value of DeleteLedger 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:name:DeleteLedger', deleteLedger_name - The name of the ledger that you want to delete.

Request Lenses

deleteLedger_name :: Lens' DeleteLedger Text Source #

The name of the ledger that you want to delete.

Destructuring the Response

data DeleteLedgerResponse Source #

See: newDeleteLedgerResponse smart constructor.

Constructors

DeleteLedgerResponse' 

Instances

Instances details
Eq DeleteLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Read DeleteLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Show DeleteLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Generic DeleteLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Associated Types

type Rep DeleteLedgerResponse :: Type -> Type #

NFData DeleteLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

Methods

rnf :: DeleteLedgerResponse -> () #

type Rep DeleteLedgerResponse Source # 
Instance details

Defined in Amazonka.QLDB.DeleteLedger

type Rep DeleteLedgerResponse = D1 ('MetaData "DeleteLedgerResponse" "Amazonka.QLDB.DeleteLedger" "libZSservicesZSamazonka-qldbZSamazonka-qldb" 'False) (C1 ('MetaCons "DeleteLedgerResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteLedgerResponse :: DeleteLedgerResponse Source #

Create a value of DeleteLedgerResponse with all optional fields omitted.

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