HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/qldb/list-ledgers.rst
**To list your available ledgers**

The following ``list-ledgers`` example lists all ledgers that are associated with the current AWS account and Region. ::

    aws qldb list-ledgers

Output::

    {
        "Ledgers": [
            {
                "State": "ACTIVE",
                "CreationDateTime": 1568839243.951,
                "Name": "myExampleLedger"
            },
            {
                "State": "ACTIVE",
                "CreationDateTime": 1568839543.557,
                "Name": "myExampleLedger2"
            }
        ]
    }

For more information, see `Basic Operations for Amazon QLDB Ledgers <https://docs.aws.amazon.com/qldb/latest/developerguide/ledger-management.basics.html>`__ in the *Amazon QLDB Developer Guide*.