Skip to content

Paginators#

Index > TimestreamQuery > Paginators

Auto-generated documentation for TimestreamQuery type annotations stubs module mypy-boto3-timestream-query.

ListScheduledQueriesPaginator#

Type annotations and code completion for boto3.client("timestream-query").get_paginator("list_scheduled_queries"). boto3 documentation

# ListScheduledQueriesPaginator usage example

from boto3.session import Session

from mypy_boto3_timestream_query.paginator import ListScheduledQueriesPaginator

def get_list_scheduled_queries_paginator() -> ListScheduledQueriesPaginator:
    return Session().client("timestream-query").get_paginator("list_scheduled_queries")
# ListScheduledQueriesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_timestream_query.paginator import ListScheduledQueriesPaginator

session = Session()

client = Session().client("timestream-query")  # (1)
paginator: ListScheduledQueriesPaginator = client.get_paginator("list_scheduled_queries")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: TimestreamQueryClient
  2. paginator: ListScheduledQueriesPaginator
  3. item: ListScheduledQueriesResponseTypeDef

paginate#

Type annotations and code completion for ListScheduledQueriesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListScheduledQueriesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListScheduledQueriesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListScheduledQueriesRequestListScheduledQueriesPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListScheduledQueriesRequestListScheduledQueriesPaginateTypeDef

ListTagsForResourcePaginator#

Type annotations and code completion for boto3.client("timestream-query").get_paginator("list_tags_for_resource"). boto3 documentation

# ListTagsForResourcePaginator usage example

from boto3.session import Session

from mypy_boto3_timestream_query.paginator import ListTagsForResourcePaginator

def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
    return Session().client("timestream-query").get_paginator("list_tags_for_resource")
# ListTagsForResourcePaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_timestream_query.paginator import ListTagsForResourcePaginator

session = Session()

client = Session().client("timestream-query")  # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: TimestreamQueryClient
  2. paginator: ListTagsForResourcePaginator
  3. item: ListTagsForResourceResponseTypeDef

paginate#

Type annotations and code completion for ListTagsForResourcePaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ResourceARN: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListTagsForResourceResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListTagsForResourceResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTagsForResourceRequestListTagsForResourcePaginateTypeDef = {  # (1)
    "ResourceARN": ...,
}

parent.paginate(**kwargs)
  1. See ListTagsForResourceRequestListTagsForResourcePaginateTypeDef

QueryPaginator#

Type annotations and code completion for boto3.client("timestream-query").get_paginator("query"). boto3 documentation

# QueryPaginator usage example

from boto3.session import Session

from mypy_boto3_timestream_query.paginator import QueryPaginator

def get_query_paginator() -> QueryPaginator:
    return Session().client("timestream-query").get_paginator("query")
# QueryPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_timestream_query.paginator import QueryPaginator

session = Session()

client = Session().client("timestream-query")  # (1)
paginator: QueryPaginator = client.get_paginator("query")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: TimestreamQueryClient
  2. paginator: QueryPaginator
  3. item: QueryResponsePaginatorTypeDef

paginate#

Type annotations and code completion for QueryPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    QueryString: str,
    ClientToken: str = ...,
    QueryInsights: QueryInsightsTypeDef = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[QueryResponsePaginatorTypeDef]:  # (3)
    ...
  1. See QueryInsightsTypeDef
  2. See PaginatorConfigTypeDef
  3. See QueryResponsePaginatorTypeDef
# paginate method usage example with argument unpacking

kwargs: QueryRequestQueryPaginateTypeDef = {  # (1)
    "QueryString": ...,
}

parent.paginate(**kwargs)
  1. See QueryRequestQueryPaginateTypeDef