Athena#
Client#
- class Athena.Client#
A low-level client representing Amazon Athena
Amazon Athena is an interactive query service that lets you use standard SQL to analyze data directly in Amazon S3. You can point Athena at your data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay only for the queries you run. Athena scales automatically—executing queries in parallel—so results are fast, even with large datasets and complex queries. For more information, see What is Amazon Athena in the Amazon Athena User Guide.
If you connect to Athena using the JDBC driver, use version 1.1.0 of the driver or later with the Amazon Athena API. Earlier version drivers do not support the API. For more information and to download the driver, see Accessing Amazon Athena with JDBC.
For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
import boto3 client = boto3.client('athena')
These are the available methods:
- batch_get_named_query
- batch_get_prepared_statement
- batch_get_query_execution
- can_paginate
- close
- create_data_catalog
- create_named_query
- create_notebook
- create_prepared_statement
- create_presigned_notebook_url
- create_work_group
- delete_data_catalog
- delete_named_query
- delete_notebook
- delete_prepared_statement
- delete_work_group
- export_notebook
- get_calculation_execution
- get_calculation_execution_code
- get_calculation_execution_status
- get_data_catalog
- get_database
- get_named_query
- get_notebook_metadata
- get_paginator
- get_prepared_statement
- get_query_execution
- get_query_results
- get_query_runtime_statistics
- get_session
- get_session_status
- get_table_metadata
- get_waiter
- get_work_group
- import_notebook
- list_application_dpu_sizes
- list_calculation_executions
- list_data_catalogs
- list_databases
- list_engine_versions
- list_executors
- list_named_queries
- list_notebook_metadata
- list_notebook_sessions
- list_prepared_statements
- list_query_executions
- list_sessions
- list_table_metadata
- list_tags_for_resource
- list_work_groups
- start_calculation_execution
- start_query_execution
- start_session
- stop_calculation_execution
- stop_query_execution
- tag_resource
- terminate_session
- untag_resource
- update_data_catalog
- update_named_query
- update_notebook
- update_notebook_metadata
- update_prepared_statement
- update_work_group
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are: