Athena / Client / list_system_table_statuses

list_system_table_statuses

Athena.Client.list_system_table_statuses(**kwargs)

Lists the system tables that the account-level configuration activates, along with whether each is currently enabled. Because system tables are enabled at the account level, every entry reflects the same account-wide state.

See also: AWS API Documentation

Request Syntax

response = client.list_system_table_statuses(
    NextToken='string',
    MaxResults=123
)
Parameters:
  • NextToken (string) – A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.

  • MaxResults (integer) – Specifies the maximum number of results to return.

Return type:

dict

Returns:

Response Syntax

{
    'Items': [
        {
            'TableName': 'QUERY_EXECUTIONS',
            'Enabled': True|False
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Items (list) –

      The list of system tables and their enablement status for the current account.

      • (dict) –

        The enablement status of a single system table. Because system tables are enabled at the account level, every status reflects the same account-wide state.

        • TableName (string) –

          The name of the system table, such as QUERY_EXECUTIONS.

        • Enabled (boolean) –

          Indicates whether the system table is enabled for the account.

    • NextToken (string) –

      A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

Exceptions