list_tables
async
¶
list_tables(
*,
config_overrides: Optional[AsyncTimestreamWriteClientConfig] = None,
database_name: Optional[ResourceName] = None,
next_token: Optional[String] = None,
max_results: Optional[PaginationLimit] = None,
) -> ListTablesResponse
Provides a list of tables, along with the name, status, and retention properties of each table. See code sample for details.
Parameters:
-
database_name(Optional[ResourceName], default:None) –The name of the Timestream database.
-
next_token(Optional[String], default:None) –The pagination token. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.
-
max_results(Optional[PaginationLimit], default:None) –The total number of items to return in the output. If the total number of items available is more than the value specified, a NextToken is provided in the output. To resume pagination, provide the NextToken value as argument of a subsequent API invocation.
Raises:
-
AccessDeniedException–You are not authorized to perform this action.
-
InternalServerException–Timestream was unable to fully process this request because of an internal server error.
-
InvalidEndpointException–The requested endpoint was not valid.
-
ResourceNotFoundException–The operation tried to access a nonexistent resource. The resource might not be specified correctly, or its status might not be ACTIVE.
-
ThrottlingException–Too many requests were made by a user and they exceeded the service quotas. The request was throttled.
-
ValidationException–An invalid or malformed request.
-
UnknownServiceError–The service returned an error code this client does not model.