You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QLDB::Types::UpdateLedgerRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateLedgerRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "LedgerName", # required
  deletion_protection: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#deletion_protectionBoolean

The flag that prevents a ledger from being deleted by any user. If not provided on ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger using the QLDB API or the AWS Command Line Interface (AWS CLI). You can disable it by calling the UpdateLedger operation to set the flag to false. The QLDB console disables deletion protection for you when you use it to delete a ledger.

Returns:

  • (Boolean)

    The flag that prevents a ledger from being deleted by any user.

#nameString

The name of the ledger.

Returns:

  • (String)

    The name of the ledger.