RedshiftDataAPIService.Paginator.
ListTables
¶paginator = client.get_paginator('list_tables')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from RedshiftDataAPIService.Client.list_tables()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ClusterIdentifier='string',
ConnectedDatabase='string',
Database='string',
DbUser='string',
SchemaPattern='string',
SecretArn='string',
TablePattern='string',
WorkgroupName='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The name of the database that contains the tables to list. If ConnectedDatabase
is not specified, this is also the database to connect to with your authentication credentials.
SchemaPattern
is not specified, then all tables that match TablePattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are returned.TablePattern
is not specified, then all tables that match SchemaPattern
are returned. If neither SchemaPattern
or TablePattern
are specified, then all tables are returned.A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'Tables': [
{
'name': 'string',
'schema': 'string',
'type': 'string'
},
]
}
Response Structure
(dict) --
Tables (list) --
The tables that match the request pattern.
(dict) --
The properties of a table.
name (string) --
The name of the table.
schema (string) --
The schema containing the table.
type (string) --
The type of the table. Possible values include TABLE, VIEW, SYSTEM TABLE, GLOBAL TEMPORARY, LOCAL TEMPORARY, ALIAS, and SYNONYM.