delete_ledger

QLDB.Client.delete_ledger(**kwargs)

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 .

See also: AWS API Documentation

Request Syntax

response = client.delete_ledger(
    Name='string'
)
Parameters
Name (string) --

[REQUIRED]

The name of the ledger that you want to delete.

Returns
None

Exceptions

  • QLDB.Client.exceptions.InvalidParameterException
  • QLDB.Client.exceptions.ResourceNotFoundException
  • QLDB.Client.exceptions.ResourceInUseException
  • QLDB.Client.exceptions.ResourcePreconditionNotMetException