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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListScheduledQueriesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListScheduledQueriesResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    ResourceARN: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListTagsForResourceResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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: QueryResponseTypeDef

paginate

Type annotations and code completion for QueryPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    QueryString: str,
    ClientToken: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[QueryResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See QueryResponseTypeDef
Usage example with kwargs
kwargs: QueryRequestQueryPaginateTypeDef = {  # (1)
    "QueryString": ...,
}

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