Copyright | (c) 2013-2021 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 |
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' | |
Instances
Arguments
:: Text | |
-> DeleteLedger |
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
newDeleteLedgerResponse :: DeleteLedgerResponse Source #
Create a value of DeleteLedgerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.