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 |
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.
Instances
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.
Instances
Eq DeleteLedgerResponse Source # | |
Defined in Amazonka.QLDB.DeleteLedger (==) :: DeleteLedgerResponse -> DeleteLedgerResponse -> Bool # (/=) :: DeleteLedgerResponse -> DeleteLedgerResponse -> Bool # | |
Read DeleteLedgerResponse Source # | |
Defined in Amazonka.QLDB.DeleteLedger | |
Show DeleteLedgerResponse Source # | |
Defined in Amazonka.QLDB.DeleteLedger showsPrec :: Int -> DeleteLedgerResponse -> ShowS # show :: DeleteLedgerResponse -> String # showList :: [DeleteLedgerResponse] -> ShowS # | |
Generic DeleteLedgerResponse Source # | |
Defined in Amazonka.QLDB.DeleteLedger type Rep DeleteLedgerResponse :: Type -> Type # from :: DeleteLedgerResponse -> Rep DeleteLedgerResponse x # to :: Rep DeleteLedgerResponse x -> DeleteLedgerResponse # | |
NFData DeleteLedgerResponse Source # | |
Defined in Amazonka.QLDB.DeleteLedger rnf :: DeleteLedgerResponse -> () # | |
type Rep DeleteLedgerResponse Source # | |
newDeleteLedgerResponse :: DeleteLedgerResponse Source #
Create a value of DeleteLedgerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.