Metadata-Version: 2.4
Name: rboto-athena
Version: 0.4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Framework :: AsyncIO
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: rboto==0.4.0
Requires-Dist: typing-extensions>=4.15,<5
License-File: LICENSE
Summary: rboto: async-only, typed Python client for Amazon Athena, powered by Rust. Alpha preview.
Keywords: rboto,aws,athena,asyncio,typing,rust
Home-Page: https://github.com/ferrumio/rboto
Author-email: Leandro Cavalcante Damascena <leandro.damascena@gmail.com>
License-Expression: Apache-2.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Changelog, https://github.com/ferrumio/rboto/releases
Project-URL: Documentation, https://ferrumio.github.io/rboto/guides/athena/
Project-URL: Homepage, https://ferrumio.github.io/rboto/
Project-URL: Issues, https://github.com/ferrumio/rboto/issues
Project-URL: Repository, https://github.com/ferrumio/rboto

<!-- Generated by rboto-codegen. Edit the descriptor, template, or example source. -->
# rboto-athena

rboto is an independent project maintained by [Ferrumio](https://github.com/ferrumio).
It is not affiliated with, sponsored by, or endorsed by Amazon Web Services (AWS).

**Preview (Alpha).** rboto is under active development. APIs may change between releases.

rboto provides an **async-only, typed Python client for Amazon Athena**,
powered by Rust. This package contains `AthenaClient` and
**75 operations**.

## Installation

Requires Python 3.12 or newer and a native wheel for your Python version and platform.

```bash
python -m pip install "rboto[athena]"
```

You can also install `rboto-athena` directly; it installs the matching
`rboto` package. Only the selected service is installed.

These are the package names to use when a release is available on your package index.
If your index has no release yet, follow the
[source installation instructions](https://ferrumio.github.io/rboto/getting-started/).

## Usage

Configure credentials through your environment, shared profile, or workload role.
The example uses `us-east-1`; select a region where your service and resources are available.
Resource names, identifiers, input files, and model IDs in the example are placeholders
to replace with your own.

```python
import asyncio

from rboto import AthenaClient


async def main() -> None:
    client = AthenaClient(region="us-east-1")
    async for page in client.paginators.list_work_groups(max_results=10):
        for workgroup in page.work_groups or []:
            print(workgroup.name, workgroup.state)


if __name__ == "__main__":
    asyncio.run(main())
```

In an application with an event loop, call `await main()` instead of `asyncio.run(main())`.
Reuse the client across calls. Constructing a client does not send a request.
Use `async with` or `await client.aclose()` to close it. Returned streams have
their own `aclose()` and async contexts; see
[client and stream lifetimes](https://ferrumio.github.io/rboto/guides/lifecycle/).

## API conventions

- Import the client with `from rboto import AthenaClient`.
- Every operation is asynchronous: use `await client.method(...)`.
- Operation arguments are keyword-only and use the Python names listed below.
- Structured inputs use typed dictionaries and tagged unions from `rboto_athena.types`.
- Regular responses expose typed attributes; `response.to_dict()` converts them to a dictionary.
- Event-stream responses may be typed dictionaries containing async iterators. Follow the
  declared return type; consume event streams with `async for`.
- Byte streams are consumed asynchronously. `await stream.read()` buffers the complete body;
  iterate the stream when processing a large response.
- Direct operation calls return one page.
- Use `async for page in client.paginators.method(...)` for supported paginated operations.
  Paginators accept the same typed arguments as the corresponding client method.

- Catch modeled exceptions from `rboto_athena.exceptions`. Their `error_code`,
  `message`, and `operation_name` identify service failures.

Clients also accept `profile`, `endpoint_url`, or shared `Session` settings.
See [configuration](https://ferrumio.github.io/rboto/guides/configuration/),
[errors](https://ferrumio.github.io/rboto/guides/errors/), and
[streaming](https://ferrumio.github.io/rboto/guides/streaming/).

## Operations

The [operation reference](https://ferrumio.github.io/rboto/reference/athena/)
documents arguments, nested types, Output fields, errors and pagination.
Method and type docstrings link to their reference pages.

This is the complete operation catalog for this generated package. “Required arguments”
lists arguments without defaults in the Python signature. Service-side conditions may
require additional arguments. Each method links to its complete signature, including
optional arguments. Nested input definitions are in `rboto_athena.types`;
native response definitions are in the package's `_native.pyi`.

| Method | Required arguments | Return type |
|---|---|---|
| [`batch_get_named_query`](#batch_get_named_query) | <code>named_query_ids: Sequence[str]</code> | <code>BatchGetNamedQueryOutput</code> |
| [`batch_get_prepared_statement`](#batch_get_prepared_statement) | <code>prepared_statement_names: Sequence[str]</code>, <code>work_group: str</code> | <code>BatchGetPreparedStatementOutput</code> |
| [`batch_get_query_execution`](#batch_get_query_execution) | <code>query_execution_ids: Sequence[str]</code> | <code>BatchGetQueryExecutionOutput</code> |
| [`cancel_capacity_reservation`](#cancel_capacity_reservation) | <code>name: str</code> | <code>CancelCapacityReservationOutput</code> |
| [`create_capacity_reservation`](#create_capacity_reservation) | <code>target_dpus: int</code>, <code>name: str</code> | <code>CreateCapacityReservationOutput</code> |
| [`create_data_catalog`](#create_data_catalog) | <code>name: str</code>, <code>type: DataCatalogType</code> | <code>CreateDataCatalogOutput</code> |
| [`create_named_query`](#create_named_query) | <code>name: str</code>, <code>database: str</code>, <code>query_string: str</code> | <code>CreateNamedQueryOutput</code> |
| [`create_notebook`](#create_notebook) | <code>work_group: str</code>, <code>name: str</code> | <code>CreateNotebookOutput</code> |
| [`create_prepared_statement`](#create_prepared_statement) | <code>statement_name: str</code>, <code>work_group: str</code>, <code>query_statement: str</code> | <code>CreatePreparedStatementOutput</code> |
| [`create_presigned_notebook_url`](#create_presigned_notebook_url) | <code>session_id: str</code> | <code>CreatePresignedNotebookUrlOutput</code> |
| [`create_system_table_configuration`](#create_system_table_configuration) | <code>table_name: SystemTableName</code> | <code>CreateSystemTableConfigurationOutput</code> |
| [`create_work_group`](#create_work_group) | <code>name: str</code> | <code>CreateWorkGroupOutput</code> |
| [`delete_capacity_reservation`](#delete_capacity_reservation) | <code>name: str</code> | <code>DeleteCapacityReservationOutput</code> |
| [`delete_data_catalog`](#delete_data_catalog) | <code>name: str</code> | <code>DeleteDataCatalogOutput</code> |
| [`delete_named_query`](#delete_named_query) | <code>named_query_id: str</code> | <code>DeleteNamedQueryOutput</code> |
| [`delete_notebook`](#delete_notebook) | <code>notebook_id: str</code> | <code>DeleteNotebookOutput</code> |
| [`delete_prepared_statement`](#delete_prepared_statement) | <code>statement_name: str</code>, <code>work_group: str</code> | <code>DeletePreparedStatementOutput</code> |
| [`delete_system_table_configuration`](#delete_system_table_configuration) | <code>table_name: SystemTableName</code> | <code>DeleteSystemTableConfigurationOutput</code> |
| [`delete_work_group`](#delete_work_group) | <code>work_group: str</code> | <code>DeleteWorkGroupOutput</code> |
| [`export_notebook`](#export_notebook) | <code>notebook_id: str</code> | <code>ExportNotebookOutput</code> |
| [`get_calculation_execution`](#get_calculation_execution) | <code>calculation_execution_id: str</code> | <code>GetCalculationExecutionOutput</code> |
| [`get_calculation_execution_code`](#get_calculation_execution_code) | <code>calculation_execution_id: str</code> | <code>GetCalculationExecutionCodeOutput</code> |
| [`get_calculation_execution_status`](#get_calculation_execution_status) | <code>calculation_execution_id: str</code> | <code>GetCalculationExecutionStatusOutput</code> |
| [`get_capacity_assignment_configuration`](#get_capacity_assignment_configuration) | <code>capacity_reservation_name: str</code> | <code>GetCapacityAssignmentConfigurationOutput</code> |
| [`get_capacity_reservation`](#get_capacity_reservation) | <code>name: str</code> | <code>GetCapacityReservationOutput</code> |
| [`get_data_catalog`](#get_data_catalog) | <code>name: str</code> | <code>GetDataCatalogOutput</code> |
| [`get_database`](#get_database) | <code>catalog_name: str</code>, <code>database_name: str</code> | <code>GetDatabaseOutput</code> |
| [`get_named_query`](#get_named_query) | <code>named_query_id: str</code> | <code>GetNamedQueryOutput</code> |
| [`get_notebook_metadata`](#get_notebook_metadata) | <code>notebook_id: str</code> | <code>GetNotebookMetadataOutput</code> |
| [`get_prepared_statement`](#get_prepared_statement) | <code>statement_name: str</code>, <code>work_group: str</code> | <code>GetPreparedStatementOutput</code> |
| [`get_query_execution`](#get_query_execution) | <code>query_execution_id: str</code> | <code>GetQueryExecutionOutput</code> |
| [`get_query_results`](#get_query_results) | <code>query_execution_id: str</code> | <code>GetQueryResultsOutput</code> |
| [`get_query_runtime_statistics`](#get_query_runtime_statistics) | <code>query_execution_id: str</code> | <code>GetQueryRuntimeStatisticsOutput</code> |
| [`get_resource_dashboard`](#get_resource_dashboard) | <code>resource_arn: str</code> | <code>GetResourceDashboardOutput</code> |
| [`get_session`](#get_session) | <code>session_id: str</code> | <code>GetSessionOutput</code> |
| [`get_session_endpoint`](#get_session_endpoint) | <code>session_id: str</code> | <code>GetSessionEndpointOutput</code> |
| [`get_session_status`](#get_session_status) | <code>session_id: str</code> | <code>GetSessionStatusOutput</code> |
| [`get_system_table_configuration`](#get_system_table_configuration) | <code>table_name: SystemTableName</code> | <code>GetSystemTableConfigurationOutput</code> |
| [`get_table_metadata`](#get_table_metadata) | <code>catalog_name: str</code>, <code>database_name: str</code>, <code>table_name: str</code> | <code>GetTableMetadataOutput</code> |
| [`get_work_group`](#get_work_group) | <code>work_group: str</code> | <code>GetWorkGroupOutput</code> |
| [`import_notebook`](#import_notebook) | <code>work_group: str</code>, <code>name: str</code>, <code>type: NotebookType</code> | <code>ImportNotebookOutput</code> |
| [`list_application_dpu_sizes`](#list_application_dpu_sizes) | None | <code>ListApplicationDPUSizesOutput</code> |
| [`list_calculation_executions`](#list_calculation_executions) | <code>session_id: str</code> | <code>ListCalculationExecutionsOutput</code> |
| [`list_capacity_reservations`](#list_capacity_reservations) | None | <code>ListCapacityReservationsOutput</code> |
| [`list_data_catalogs`](#list_data_catalogs) | None | <code>ListDataCatalogsOutput</code> |
| [`list_databases`](#list_databases) | <code>catalog_name: str</code> | <code>ListDatabasesOutput</code> |
| [`list_engine_versions`](#list_engine_versions) | None | <code>ListEngineVersionsOutput</code> |
| [`list_executors`](#list_executors) | <code>session_id: str</code> | <code>ListExecutorsOutput</code> |
| [`list_named_queries`](#list_named_queries) | None | <code>ListNamedQueriesOutput</code> |
| [`list_notebook_metadata`](#list_notebook_metadata) | <code>work_group: str</code> | <code>ListNotebookMetadataOutput</code> |
| [`list_notebook_sessions`](#list_notebook_sessions) | <code>notebook_id: str</code> | <code>ListNotebookSessionsOutput</code> |
| [`list_prepared_statements`](#list_prepared_statements) | <code>work_group: str</code> | <code>ListPreparedStatementsOutput</code> |
| [`list_query_executions`](#list_query_executions) | None | <code>ListQueryExecutionsOutput</code> |
| [`list_sessions`](#list_sessions) | <code>work_group: str</code> | <code>ListSessionsOutput</code> |
| [`list_system_table_statuses`](#list_system_table_statuses) | None | <code>ListSystemTableStatusesOutput</code> |
| [`list_table_metadata`](#list_table_metadata) | <code>catalog_name: str</code>, <code>database_name: str</code> | <code>ListTableMetadataOutput</code> |
| [`list_tags_for_resource`](#list_tags_for_resource) | <code>resource_arn: str</code> | <code>ListTagsForResourceOutput</code> |
| [`list_work_groups`](#list_work_groups) | None | <code>ListWorkGroupsOutput</code> |
| [`put_capacity_assignment_configuration`](#put_capacity_assignment_configuration) | <code>capacity_reservation_name: str</code>, <code>capacity_assignments: Sequence[CapacityAssignment]</code> | <code>PutCapacityAssignmentConfigurationOutput</code> |
| [`start_calculation_execution`](#start_calculation_execution) | <code>session_id: str</code> | <code>StartCalculationExecutionOutput</code> |
| [`start_query_execution`](#start_query_execution) | <code>query_string: str</code> | <code>StartQueryExecutionOutput</code> |
| [`start_session`](#start_session) | <code>work_group: str</code>, <code>engine_configuration: EngineConfiguration</code> | <code>StartSessionOutput</code> |
| [`stop_calculation_execution`](#stop_calculation_execution) | <code>calculation_execution_id: str</code> | <code>StopCalculationExecutionOutput</code> |
| [`stop_query_execution`](#stop_query_execution) | <code>query_execution_id: str</code> | <code>StopQueryExecutionOutput</code> |
| [`tag_resource`](#tag_resource) | <code>resource_arn: str</code>, <code>tags: Sequence[Tag]</code> | <code>TagResourceOutput</code> |
| [`terminate_session`](#terminate_session) | <code>session_id: str</code> | <code>TerminateSessionOutput</code> |
| [`untag_resource`](#untag_resource) | <code>resource_arn: str</code>, <code>tag_keys: Sequence[str]</code> | <code>UntagResourceOutput</code> |
| [`update_capacity_reservation`](#update_capacity_reservation) | <code>target_dpus: int</code>, <code>name: str</code> | <code>UpdateCapacityReservationOutput</code> |
| [`update_data_catalog`](#update_data_catalog) | <code>name: str</code>, <code>type: DataCatalogType</code> | <code>UpdateDataCatalogOutput</code> |
| [`update_named_query`](#update_named_query) | <code>named_query_id: str</code>, <code>name: str</code>, <code>query_string: str</code> | <code>UpdateNamedQueryOutput</code> |
| [`update_notebook`](#update_notebook) | <code>notebook_id: str</code>, <code>payload: str</code>, <code>type: NotebookType</code> | <code>UpdateNotebookOutput</code> |
| [`update_notebook_metadata`](#update_notebook_metadata) | <code>notebook_id: str</code>, <code>name: str</code> | <code>UpdateNotebookMetadataOutput</code> |
| [`update_prepared_statement`](#update_prepared_statement) | <code>statement_name: str</code>, <code>work_group: str</code>, <code>query_statement: str</code> | <code>UpdatePreparedStatementOutput</code> |
| [`update_system_table_configuration`](#update_system_table_configuration) | <code>table_name: SystemTableName</code> | <code>UpdateSystemTableConfigurationOutput</code> |
| [`update_work_group`](#update_work_group) | <code>work_group: str</code> | <code>UpdateWorkGroupOutput</code> |

## Complete signatures

### batch_get_named_query

```python
async def batch_get_named_query(
    *,
    named_query_ids: Sequence[str],
) -> BatchGetNamedQueryOutput: ...
```


### batch_get_prepared_statement

```python
async def batch_get_prepared_statement(
    *,
    prepared_statement_names: Sequence[str],
    work_group: str,
) -> BatchGetPreparedStatementOutput: ...
```


### batch_get_query_execution

```python
async def batch_get_query_execution(
    *,
    query_execution_ids: Sequence[str],
) -> BatchGetQueryExecutionOutput: ...
```


### cancel_capacity_reservation

```python
async def cancel_capacity_reservation(
    *,
    name: str,
) -> CancelCapacityReservationOutput: ...
```


### create_capacity_reservation

```python
async def create_capacity_reservation(
    *,
    target_dpus: int,
    name: str,
    tags: Sequence[Tag] | None = None,
) -> CreateCapacityReservationOutput: ...
```


### create_data_catalog

```python
async def create_data_catalog(
    *,
    name: str,
    type: DataCatalogType,
    description: str | None = None,
    parameters: dict[str, str] | None = None,
    tags: Sequence[Tag] | None = None,
) -> CreateDataCatalogOutput: ...
```


### create_named_query

```python
async def create_named_query(
    *,
    name: str,
    database: str,
    query_string: str,
    description: str | None = None,
    client_request_token: str | None = None,
    work_group: str | None = None,
) -> CreateNamedQueryOutput: ...
```


### create_notebook

```python
async def create_notebook(
    *,
    work_group: str,
    name: str,
    client_request_token: str | None = None,
) -> CreateNotebookOutput: ...
```


### create_prepared_statement

```python
async def create_prepared_statement(
    *,
    statement_name: str,
    work_group: str,
    query_statement: str,
    description: str | None = None,
) -> CreatePreparedStatementOutput: ...
```


### create_presigned_notebook_url

```python
async def create_presigned_notebook_url(
    *,
    session_id: str,
) -> CreatePresignedNotebookUrlOutput: ...
```


### create_system_table_configuration

```python
async def create_system_table_configuration(
    *,
    table_name: SystemTableName,
    client_request_token: str | None = None,
    kms_key_arn: str | None = None,
    tags: Sequence[Tag] | None = None,
) -> CreateSystemTableConfigurationOutput: ...
```


### create_work_group

```python
async def create_work_group(
    *,
    name: str,
    configuration: WorkGroupConfiguration | None = None,
    description: str | None = None,
    tags: Sequence[Tag] | None = None,
) -> CreateWorkGroupOutput: ...
```


### delete_capacity_reservation

```python
async def delete_capacity_reservation(
    *,
    name: str,
) -> DeleteCapacityReservationOutput: ...
```


### delete_data_catalog

```python
async def delete_data_catalog(
    *,
    name: str,
    delete_catalog_only: bool | None = None,
) -> DeleteDataCatalogOutput: ...
```


### delete_named_query

```python
async def delete_named_query(
    *,
    named_query_id: str,
) -> DeleteNamedQueryOutput: ...
```


### delete_notebook

```python
async def delete_notebook(
    *,
    notebook_id: str,
) -> DeleteNotebookOutput: ...
```


### delete_prepared_statement

```python
async def delete_prepared_statement(
    *,
    statement_name: str,
    work_group: str,
) -> DeletePreparedStatementOutput: ...
```


### delete_system_table_configuration

```python
async def delete_system_table_configuration(
    *,
    table_name: SystemTableName,
) -> DeleteSystemTableConfigurationOutput: ...
```


### delete_work_group

```python
async def delete_work_group(
    *,
    work_group: str,
    recursive_delete_option: bool | None = None,
) -> DeleteWorkGroupOutput: ...
```


### export_notebook

```python
async def export_notebook(
    *,
    notebook_id: str,
) -> ExportNotebookOutput: ...
```


### get_calculation_execution

```python
async def get_calculation_execution(
    *,
    calculation_execution_id: str,
) -> GetCalculationExecutionOutput: ...
```


### get_calculation_execution_code

```python
async def get_calculation_execution_code(
    *,
    calculation_execution_id: str,
) -> GetCalculationExecutionCodeOutput: ...
```


### get_calculation_execution_status

```python
async def get_calculation_execution_status(
    *,
    calculation_execution_id: str,
) -> GetCalculationExecutionStatusOutput: ...
```


### get_capacity_assignment_configuration

```python
async def get_capacity_assignment_configuration(
    *,
    capacity_reservation_name: str,
) -> GetCapacityAssignmentConfigurationOutput: ...
```


### get_capacity_reservation

```python
async def get_capacity_reservation(
    *,
    name: str,
) -> GetCapacityReservationOutput: ...
```


### get_data_catalog

```python
async def get_data_catalog(
    *,
    name: str,
    work_group: str | None = None,
) -> GetDataCatalogOutput: ...
```


### get_database

```python
async def get_database(
    *,
    catalog_name: str,
    database_name: str,
    work_group: str | None = None,
) -> GetDatabaseOutput: ...
```


### get_named_query

```python
async def get_named_query(
    *,
    named_query_id: str,
) -> GetNamedQueryOutput: ...
```


### get_notebook_metadata

```python
async def get_notebook_metadata(
    *,
    notebook_id: str,
) -> GetNotebookMetadataOutput: ...
```


### get_prepared_statement

```python
async def get_prepared_statement(
    *,
    statement_name: str,
    work_group: str,
) -> GetPreparedStatementOutput: ...
```


### get_query_execution

```python
async def get_query_execution(
    *,
    query_execution_id: str,
) -> GetQueryExecutionOutput: ...
```


### get_query_results

```python
async def get_query_results(
    *,
    query_execution_id: str,
    next_token: str | None = None,
    max_results: int | None = None,
    query_result_type: QueryResultType | None = None,
) -> GetQueryResultsOutput: ...
```

Also available as `client.paginators.get_query_results(...)`, returning an
async iterator of the response type above.


### get_query_runtime_statistics

```python
async def get_query_runtime_statistics(
    *,
    query_execution_id: str,
) -> GetQueryRuntimeStatisticsOutput: ...
```


### get_resource_dashboard

```python
async def get_resource_dashboard(
    *,
    resource_arn: str,
) -> GetResourceDashboardOutput: ...
```


### get_session

```python
async def get_session(
    *,
    session_id: str,
) -> GetSessionOutput: ...
```


### get_session_endpoint

```python
async def get_session_endpoint(
    *,
    session_id: str,
) -> GetSessionEndpointOutput: ...
```


### get_session_status

```python
async def get_session_status(
    *,
    session_id: str,
) -> GetSessionStatusOutput: ...
```


### get_system_table_configuration

```python
async def get_system_table_configuration(
    *,
    table_name: SystemTableName,
) -> GetSystemTableConfigurationOutput: ...
```


### get_table_metadata

```python
async def get_table_metadata(
    *,
    catalog_name: str,
    database_name: str,
    table_name: str,
    work_group: str | None = None,
) -> GetTableMetadataOutput: ...
```


### get_work_group

```python
async def get_work_group(
    *,
    work_group: str,
) -> GetWorkGroupOutput: ...
```


### import_notebook

```python
async def import_notebook(
    *,
    work_group: str,
    name: str,
    type: NotebookType,
    payload: str | None = None,
    notebook_s3_location_uri: str | None = None,
    client_request_token: str | None = None,
) -> ImportNotebookOutput: ...
```


### list_application_dpu_sizes

```python
async def list_application_dpu_sizes(
    *,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListApplicationDPUSizesOutput: ...
```

Also available as `client.paginators.list_application_dpu_sizes(...)`, returning an
async iterator of the response type above.


### list_calculation_executions

```python
async def list_calculation_executions(
    *,
    session_id: str,
    state_filter: CalculationExecutionState | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListCalculationExecutionsOutput: ...
```

Also available as `client.paginators.list_calculation_executions(...)`, returning an
async iterator of the response type above.


### list_capacity_reservations

```python
async def list_capacity_reservations(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListCapacityReservationsOutput: ...
```

Also available as `client.paginators.list_capacity_reservations(...)`, returning an
async iterator of the response type above.


### list_data_catalogs

```python
async def list_data_catalogs(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
    work_group: str | None = None,
) -> ListDataCatalogsOutput: ...
```

Also available as `client.paginators.list_data_catalogs(...)`, returning an
async iterator of the response type above.


### list_databases

```python
async def list_databases(
    *,
    catalog_name: str,
    next_token: str | None = None,
    max_results: int | None = None,
    work_group: str | None = None,
    attributes_to_get: Sequence[DatabaseAttributes] | None = None,
) -> ListDatabasesOutput: ...
```

Also available as `client.paginators.list_databases(...)`, returning an
async iterator of the response type above.


### list_engine_versions

```python
async def list_engine_versions(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListEngineVersionsOutput: ...
```

Also available as `client.paginators.list_engine_versions(...)`, returning an
async iterator of the response type above.


### list_executors

```python
async def list_executors(
    *,
    session_id: str,
    executor_state_filter: ExecutorState | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListExecutorsOutput: ...
```

Also available as `client.paginators.list_executors(...)`, returning an
async iterator of the response type above.


### list_named_queries

```python
async def list_named_queries(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
    work_group: str | None = None,
) -> ListNamedQueriesOutput: ...
```

Also available as `client.paginators.list_named_queries(...)`, returning an
async iterator of the response type above.


### list_notebook_metadata

```python
async def list_notebook_metadata(
    *,
    work_group: str,
    filters: FilterDefinition | None = None,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListNotebookMetadataOutput: ...
```

Also available as `client.paginators.list_notebook_metadata(...)`, returning an
async iterator of the response type above.


### list_notebook_sessions

```python
async def list_notebook_sessions(
    *,
    notebook_id: str,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListNotebookSessionsOutput: ...
```

Also available as `client.paginators.list_notebook_sessions(...)`, returning an
async iterator of the response type above.


### list_prepared_statements

```python
async def list_prepared_statements(
    *,
    work_group: str,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListPreparedStatementsOutput: ...
```

Also available as `client.paginators.list_prepared_statements(...)`, returning an
async iterator of the response type above.


### list_query_executions

```python
async def list_query_executions(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
    work_group: str | None = None,
) -> ListQueryExecutionsOutput: ...
```

Also available as `client.paginators.list_query_executions(...)`, returning an
async iterator of the response type above.


### list_sessions

```python
async def list_sessions(
    *,
    work_group: str,
    state_filter: SessionState | None = None,
    max_results: int | None = None,
    next_token: str | None = None,
) -> ListSessionsOutput: ...
```

Also available as `client.paginators.list_sessions(...)`, returning an
async iterator of the response type above.


### list_system_table_statuses

```python
async def list_system_table_statuses(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListSystemTableStatusesOutput: ...
```

Also available as `client.paginators.list_system_table_statuses(...)`, returning an
async iterator of the response type above.


### list_table_metadata

```python
async def list_table_metadata(
    *,
    catalog_name: str,
    database_name: str,
    expression: str | None = None,
    next_token: str | None = None,
    max_results: int | None = None,
    work_group: str | None = None,
    attributes_to_get: Sequence[TableAttributes] | None = None,
) -> ListTableMetadataOutput: ...
```

Also available as `client.paginators.list_table_metadata(...)`, returning an
async iterator of the response type above.


### list_tags_for_resource

```python
async def list_tags_for_resource(
    *,
    resource_arn: str,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListTagsForResourceOutput: ...
```

Also available as `client.paginators.list_tags_for_resource(...)`, returning an
async iterator of the response type above.


### list_work_groups

```python
async def list_work_groups(
    *,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListWorkGroupsOutput: ...
```

Also available as `client.paginators.list_work_groups(...)`, returning an
async iterator of the response type above.


### put_capacity_assignment_configuration

```python
async def put_capacity_assignment_configuration(
    *,
    capacity_reservation_name: str,
    capacity_assignments: Sequence[CapacityAssignment],
) -> PutCapacityAssignmentConfigurationOutput: ...
```


### start_calculation_execution

```python
async def start_calculation_execution(
    *,
    session_id: str,
    description: str | None = None,
    calculation_configuration: CalculationConfiguration | None = None,
    code_block: str | None = None,
    client_request_token: str | None = None,
) -> StartCalculationExecutionOutput: ...
```


### start_query_execution

```python
async def start_query_execution(
    *,
    query_string: str,
    client_request_token: str | None = None,
    query_execution_context: QueryExecutionContext | None = None,
    result_configuration: ResultConfiguration | None = None,
    work_group: str | None = None,
    execution_parameters: Sequence[str] | None = None,
    result_reuse_configuration: ResultReuseConfiguration | None = None,
    engine_configuration: EngineConfiguration | None = None,
) -> StartQueryExecutionOutput: ...
```


### start_session

```python
async def start_session(
    *,
    work_group: str,
    engine_configuration: EngineConfiguration,
    description: str | None = None,
    execution_role: str | None = None,
    monitoring_configuration: MonitoringConfiguration | None = None,
    notebook_version: str | None = None,
    session_idle_timeout_in_minutes: int | None = None,
    client_request_token: str | None = None,
    tags: Sequence[Tag] | None = None,
    copy_work_group_tags: bool | None = None,
) -> StartSessionOutput: ...
```


### stop_calculation_execution

```python
async def stop_calculation_execution(
    *,
    calculation_execution_id: str,
) -> StopCalculationExecutionOutput: ...
```


### stop_query_execution

```python
async def stop_query_execution(
    *,
    query_execution_id: str,
) -> StopQueryExecutionOutput: ...
```


### tag_resource

```python
async def tag_resource(
    *,
    resource_arn: str,
    tags: Sequence[Tag],
) -> TagResourceOutput: ...
```


### terminate_session

```python
async def terminate_session(
    *,
    session_id: str,
) -> TerminateSessionOutput: ...
```


### untag_resource

```python
async def untag_resource(
    *,
    resource_arn: str,
    tag_keys: Sequence[str],
) -> UntagResourceOutput: ...
```


### update_capacity_reservation

```python
async def update_capacity_reservation(
    *,
    target_dpus: int,
    name: str,
) -> UpdateCapacityReservationOutput: ...
```


### update_data_catalog

```python
async def update_data_catalog(
    *,
    name: str,
    type: DataCatalogType,
    description: str | None = None,
    parameters: dict[str, str] | None = None,
) -> UpdateDataCatalogOutput: ...
```


### update_named_query

```python
async def update_named_query(
    *,
    named_query_id: str,
    name: str,
    query_string: str,
    description: str | None = None,
) -> UpdateNamedQueryOutput: ...
```


### update_notebook

```python
async def update_notebook(
    *,
    notebook_id: str,
    payload: str,
    type: NotebookType,
    session_id: str | None = None,
    client_request_token: str | None = None,
) -> UpdateNotebookOutput: ...
```


### update_notebook_metadata

```python
async def update_notebook_metadata(
    *,
    notebook_id: str,
    name: str,
    client_request_token: str | None = None,
) -> UpdateNotebookMetadataOutput: ...
```


### update_prepared_statement

```python
async def update_prepared_statement(
    *,
    statement_name: str,
    work_group: str,
    query_statement: str,
    description: str | None = None,
) -> UpdatePreparedStatementOutput: ...
```


### update_system_table_configuration

```python
async def update_system_table_configuration(
    *,
    table_name: SystemTableName,
    kms_key_arn: str | None = None,
) -> UpdateSystemTableConfigurationOutput: ...
```


### update_work_group

```python
async def update_work_group(
    *,
    work_group: str,
    description: str | None = None,
    configuration_updates: WorkGroupConfigurationUpdates | None = None,
    state: WorkGroupState | None = None,
) -> UpdateWorkGroupOutput: ...
```


## Links

- [Service guide](https://ferrumio.github.io/rboto/guides/athena/)
- [Repository](https://github.com/ferrumio/rboto)
- [Issues](https://github.com/ferrumio/rboto/issues)
- [Releases](https://github.com/ferrumio/rboto/releases)

Licensed under Apache-2.0.

