Athena.Paginator.ListTableMetadata¶paginator = client.get_paginator('list_table_metadata')
paginate(**kwargs)¶Creates an iterator that will paginate through responses from Athena.Client.list_table_metadata().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
    CatalogName='string',
    DatabaseName='string',
    Expression='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
[REQUIRED]
The name of the data catalog for which table metadata should be returned.
[REQUIRED]
The name of the database for which table metadata should be 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
{
    'TableMetadataList': [
        {
            'Name': 'string',
            'CreateTime': datetime(2015, 1, 1),
            'LastAccessTime': datetime(2015, 1, 1),
            'TableType': 'string',
            'Columns': [
                {
                    'Name': 'string',
                    'Type': 'string',
                    'Comment': 'string'
                },
            ],
            'PartitionKeys': [
                {
                    'Name': 'string',
                    'Type': 'string',
                    'Comment': 'string'
                },
            ],
            'Parameters': {
                'string': 'string'
            }
        },
    ],
}
Response Structure
(dict) --
TableMetadataList (list) --
A list of table metadata.
(dict) --
Contains metadata for a table.
Name (string) --
The name of the table.
CreateTime (datetime) --
The time that the table was created.
LastAccessTime (datetime) --
The last time the table was accessed.
TableType (string) --
The type of table. In Athena, only EXTERNAL_TABLE is supported.
Columns (list) --
A list of the columns in the table.
(dict) --
Contains metadata for a column in a table.
Name (string) --
The name of the column.
Type (string) --
The data type of the column.
Comment (string) --
Optional information about the column.
PartitionKeys (list) --
A list of the partition keys in the table.
(dict) --
Contains metadata for a column in a table.
Name (string) --
The name of the column.
Type (string) --
The data type of the column.
Comment (string) --
Optional information about the column.
Parameters (dict) --
A set of custom key/value pairs for table properties.