Skip to content

Paginators#

Index > IoTFleetHub > Paginators

Auto-generated documentation for IoTFleetHub type annotations stubs module mypy-boto3-iotfleethub.

ListApplicationsPaginator#

Type annotations and code completion for boto3.client("iotfleethub").get_paginator("list_applications"). boto3 documentation

# ListApplicationsPaginator usage example

from boto3.session import Session

from mypy_boto3_iotfleethub.paginator import ListApplicationsPaginator

def get_list_applications_paginator() -> ListApplicationsPaginator:
    return Session().client("iotfleethub").get_paginator("list_applications")
# ListApplicationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iotfleethub.paginator import ListApplicationsPaginator

session = Session()

client = Session().client("iotfleethub")  # (1)
paginator: ListApplicationsPaginator = client.get_paginator("list_applications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IoTFleetHubClient
  2. paginator: ListApplicationsPaginator
  3. item: ListApplicationsResponseTypeDef

paginate#

Type annotations and code completion for ListApplicationsPaginator.paginate method.

# paginate method definition

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

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

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