Paginators#
Auto-generated documentation for Athena type annotations stubs module mypy-boto3-athena.
GetQueryResultsPaginator#
Type annotations and code completion for boto3.client("athena").get_paginator("get_query_results")
.
boto3 documentation
# GetQueryResultsPaginator usage example
from boto3.session import Session
from mypy_boto3_athena.paginator import GetQueryResultsPaginator
def get_get_query_results_paginator() -> GetQueryResultsPaginator:
return Session().client("athena").get_paginator("get_query_results")
# GetQueryResultsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_athena.paginator import GetQueryResultsPaginator
session = Session()
client = Session().client("athena") # (1)
paginator: GetQueryResultsPaginator = client.get_paginator("get_query_results") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AthenaClient
- paginator: GetQueryResultsPaginator
- item: GetQueryResultsOutputTypeDef
paginate#
Type annotations and code completion for GetQueryResultsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
QueryExecutionId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetQueryResultsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetQueryResultsInputGetQueryResultsPaginateTypeDef = { # (1)
"QueryExecutionId": ...,
}
parent.paginate(**kwargs)
ListDataCatalogsPaginator#
Type annotations and code completion for boto3.client("athena").get_paginator("list_data_catalogs")
.
boto3 documentation
# ListDataCatalogsPaginator usage example
from boto3.session import Session
from mypy_boto3_athena.paginator import ListDataCatalogsPaginator
def get_list_data_catalogs_paginator() -> ListDataCatalogsPaginator:
return Session().client("athena").get_paginator("list_data_catalogs")
# ListDataCatalogsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_athena.paginator import ListDataCatalogsPaginator
session = Session()
client = Session().client("athena") # (1)
paginator: ListDataCatalogsPaginator = client.get_paginator("list_data_catalogs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AthenaClient
- paginator: ListDataCatalogsPaginator
- item: ListDataCatalogsOutputTypeDef
paginate#
Type annotations and code completion for ListDataCatalogsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
WorkGroup: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListDataCatalogsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDataCatalogsInputListDataCatalogsPaginateTypeDef = { # (1)
"WorkGroup": ...,
}
parent.paginate(**kwargs)
ListDatabasesPaginator#
Type annotations and code completion for boto3.client("athena").get_paginator("list_databases")
.
boto3 documentation
# ListDatabasesPaginator usage example
from boto3.session import Session
from mypy_boto3_athena.paginator import ListDatabasesPaginator
def get_list_databases_paginator() -> ListDatabasesPaginator:
return Session().client("athena").get_paginator("list_databases")
# ListDatabasesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_athena.paginator import ListDatabasesPaginator
session = Session()
client = Session().client("athena") # (1)
paginator: ListDatabasesPaginator = client.get_paginator("list_databases") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AthenaClient
- paginator: ListDatabasesPaginator
- item: ListDatabasesOutputTypeDef
paginate#
Type annotations and code completion for ListDatabasesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
CatalogName: str,
WorkGroup: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListDatabasesOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDatabasesInputListDatabasesPaginateTypeDef = { # (1)
"CatalogName": ...,
}
parent.paginate(**kwargs)
ListNamedQueriesPaginator#
Type annotations and code completion for boto3.client("athena").get_paginator("list_named_queries")
.
boto3 documentation
# ListNamedQueriesPaginator usage example
from boto3.session import Session
from mypy_boto3_athena.paginator import ListNamedQueriesPaginator
def get_list_named_queries_paginator() -> ListNamedQueriesPaginator:
return Session().client("athena").get_paginator("list_named_queries")
# ListNamedQueriesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_athena.paginator import ListNamedQueriesPaginator
session = Session()
client = Session().client("athena") # (1)
paginator: ListNamedQueriesPaginator = client.get_paginator("list_named_queries") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AthenaClient
- paginator: ListNamedQueriesPaginator
- item: ListNamedQueriesOutputTypeDef
paginate#
Type annotations and code completion for ListNamedQueriesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
WorkGroup: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListNamedQueriesOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListNamedQueriesInputListNamedQueriesPaginateTypeDef = { # (1)
"WorkGroup": ...,
}
parent.paginate(**kwargs)
ListQueryExecutionsPaginator#
Type annotations and code completion for boto3.client("athena").get_paginator("list_query_executions")
.
boto3 documentation
# ListQueryExecutionsPaginator usage example
from boto3.session import Session
from mypy_boto3_athena.paginator import ListQueryExecutionsPaginator
def get_list_query_executions_paginator() -> ListQueryExecutionsPaginator:
return Session().client("athena").get_paginator("list_query_executions")
# ListQueryExecutionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_athena.paginator import ListQueryExecutionsPaginator
session = Session()
client = Session().client("athena") # (1)
paginator: ListQueryExecutionsPaginator = client.get_paginator("list_query_executions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AthenaClient
- paginator: ListQueryExecutionsPaginator
- item: ListQueryExecutionsOutputTypeDef
paginate#
Type annotations and code completion for ListQueryExecutionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
WorkGroup: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListQueryExecutionsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListQueryExecutionsInputListQueryExecutionsPaginateTypeDef = { # (1)
"WorkGroup": ...,
}
parent.paginate(**kwargs)
ListTableMetadataPaginator#
Type annotations and code completion for boto3.client("athena").get_paginator("list_table_metadata")
.
boto3 documentation
# ListTableMetadataPaginator usage example
from boto3.session import Session
from mypy_boto3_athena.paginator import ListTableMetadataPaginator
def get_list_table_metadata_paginator() -> ListTableMetadataPaginator:
return Session().client("athena").get_paginator("list_table_metadata")
# ListTableMetadataPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_athena.paginator import ListTableMetadataPaginator
session = Session()
client = Session().client("athena") # (1)
paginator: ListTableMetadataPaginator = client.get_paginator("list_table_metadata") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AthenaClient
- paginator: ListTableMetadataPaginator
- item: ListTableMetadataOutputTypeDef
paginate#
Type annotations and code completion for ListTableMetadataPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
CatalogName: str,
DatabaseName: str,
Expression: str = ...,
WorkGroup: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListTableMetadataOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTableMetadataInputListTableMetadataPaginateTypeDef = { # (1)
"CatalogName": ...,
"DatabaseName": ...,
}
parent.paginate(**kwargs)
ListTagsForResourcePaginator#
Type annotations and code completion for boto3.client("athena").get_paginator("list_tags_for_resource")
.
boto3 documentation
# ListTagsForResourcePaginator usage example
from boto3.session import Session
from mypy_boto3_athena.paginator import ListTagsForResourcePaginator
def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
return Session().client("athena").get_paginator("list_tags_for_resource")
# ListTagsForResourcePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_athena.paginator import ListTagsForResourcePaginator
session = Session()
client = Session().client("athena") # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AthenaClient
- paginator: ListTagsForResourcePaginator
- item: ListTagsForResourceOutputTypeDef
paginate#
Type annotations and code completion for ListTagsForResourcePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ResourceARN: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListTagsForResourceOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTagsForResourceInputListTagsForResourcePaginateTypeDef = { # (1)
"ResourceARN": ...,
}
parent.paginate(**kwargs)