listTables
inline suspend fun DynamoDbClient.listTables(crossinline block: ListTablesRequest.Builder.() -> Unit): ListTablesResponse
Returns an array of table names associated with the current account and endpoint. The output from ListTables
is paginated, with each page returning a maximum of 100 table names.
Samples
fun main() {
//sampleStart
// This example lists all of the tables associated with the current AWS account and endpoint.
val resp = dynamoDbClient.listTables()
//sampleEnd
}