Skip to content

List Ledgers

qldb_list_ledgers R Documentation

Returns all ledgers that are associated with the current Amazon Web Services account and Region

Description

Returns all ledgers that are associated with the current Amazon Web Services account and Region.

This action returns a maximum of MaxResults items and is paginated so that you can retrieve all the items by calling list_ledgers multiple times.

Usage

qldb_list_ledgers(MaxResults, NextToken)

Arguments

MaxResults

The maximum number of results to return in a single list_ledgers request. (The actual number of results returned might be fewer.)

NextToken

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous list_ledgers call, then you should use that value as input here.

Value

A list with the following syntax:

list(
  Ledgers = list(
    list(
      Name = "string",
      State = "CREATING"|"ACTIVE"|"DELETING"|"DELETED",
      CreationDateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_ledgers(
  MaxResults = 123,
  NextToken = "string"
)