Skip to content

Paginators#

Index > TimestreamInfluxDB > Paginators

Auto-generated documentation for TimestreamInfluxDB type annotations stubs module mypy-boto3-timestream-influxdb.

ListDbInstancesPaginator#

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

# ListDbInstancesPaginator usage example

from boto3.session import Session

from mypy_boto3_timestream_influxdb.paginator import ListDbInstancesPaginator

def get_list_db_instances_paginator() -> ListDbInstancesPaginator:
    return Session().client("timestream-influxdb").get_paginator("list_db_instances")
# ListDbInstancesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_timestream_influxdb.paginator import ListDbInstancesPaginator

session = Session()

client = Session().client("timestream-influxdb")  # (1)
paginator: ListDbInstancesPaginator = client.get_paginator("list_db_instances")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: TimestreamInfluxDBClient
  2. paginator: ListDbInstancesPaginator
  3. item: ListDbInstancesOutputTypeDef

paginate#

Type annotations and code completion for ListDbInstancesPaginator.paginate method.

# paginate method definition

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

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

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

ListDbParameterGroupsPaginator#

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

# ListDbParameterGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_timestream_influxdb.paginator import ListDbParameterGroupsPaginator

def get_list_db_parameter_groups_paginator() -> ListDbParameterGroupsPaginator:
    return Session().client("timestream-influxdb").get_paginator("list_db_parameter_groups")
# ListDbParameterGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_timestream_influxdb.paginator import ListDbParameterGroupsPaginator

session = Session()

client = Session().client("timestream-influxdb")  # (1)
paginator: ListDbParameterGroupsPaginator = client.get_paginator("list_db_parameter_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: TimestreamInfluxDBClient
  2. paginator: ListDbParameterGroupsPaginator
  3. item: ListDbParameterGroupsOutputTypeDef

paginate#

Type annotations and code completion for ListDbParameterGroupsPaginator.paginate method.

# paginate method definition

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

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

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