ListTables method
Written by
Updated at July 12, 2022
Returns a list of tables.
The output of tables is paginated, with each page returning a maximum of 100 table names.
Request
The request contains data in JSON format.
{
"ExclusiveStartTableName": "string",
"Limit": number
}
Parameters
Parameter | Description |
---|---|
ExclusiveStartTableName |
The name of the table to start a search from. Type: String Length: 3 - 255 characters Pattern: [a-zA-Z0-9_.-]+ Required: No |
Limit |
Maximum number of tables to return. If the parameter is omitted, up to 100 tables are returned. Type: Integer Range: 1 - 100. Required: No |
Response
If successful, HTTP code 200 is returned.
The response is returned in JSON format.
{
"LastEvaluatedTableName": "string",
"TableNames": [ "string" ]
}
Parameters
Parameter | Description |
---|---|
LastEvaluatedTableName |
Name of the last table in the current results page. Use this value as ExclusiveStartTableName in a new request to get the next results page.An empty value means that there are no more tables to output. Type: String Length: 3 - 255 characters Pattern: [a-zA-Z0-9_.-]+ |
TableNames |
List of tables, the maximum array size is 100 items. Type: Array of strings Length: 3 - 255 characters Pattern: [a-zA-Z0-9_.-]+ |
Errors
Parameter | Description |
---|---|
InternalServerError |
An internal error occurred on the server side. HTTP status code: 500 |
There may be common errors as well. These are errors that are common to all methods.