Skip to content

Paginators#

Index > QApps > Paginators

Auto-generated documentation for QApps type annotations stubs module mypy-boto3-qapps.

ListLibraryItemsPaginator#

Type annotations and code completion for boto3.client("qapps").get_paginator("list_library_items"). boto3 documentation

# ListLibraryItemsPaginator usage example

from boto3.session import Session

from mypy_boto3_qapps.paginator import ListLibraryItemsPaginator

def get_list_library_items_paginator() -> ListLibraryItemsPaginator:
    return Session().client("qapps").get_paginator("list_library_items")
# ListLibraryItemsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_qapps.paginator import ListLibraryItemsPaginator

session = Session()

client = Session().client("qapps")  # (1)
paginator: ListLibraryItemsPaginator = client.get_paginator("list_library_items")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: QAppsClient
  2. paginator: ListLibraryItemsPaginator
  3. item: ListLibraryItemsOutputTypeDef

paginate#

Type annotations and code completion for ListLibraryItemsPaginator.paginate method.

# paginate method definition

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

kwargs: ListLibraryItemsInputListLibraryItemsPaginateTypeDef = {  # (1)
    "instanceId": ...,
}

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

ListQAppsPaginator#

Type annotations and code completion for boto3.client("qapps").get_paginator("list_q_apps"). boto3 documentation

# ListQAppsPaginator usage example

from boto3.session import Session

from mypy_boto3_qapps.paginator import ListQAppsPaginator

def get_list_q_apps_paginator() -> ListQAppsPaginator:
    return Session().client("qapps").get_paginator("list_q_apps")
# ListQAppsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_qapps.paginator import ListQAppsPaginator

session = Session()

client = Session().client("qapps")  # (1)
paginator: ListQAppsPaginator = client.get_paginator("list_q_apps")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: QAppsClient
  2. paginator: ListQAppsPaginator
  3. item: ListQAppsOutputTypeDef

paginate#

Type annotations and code completion for ListQAppsPaginator.paginate method.

# paginate method definition

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

kwargs: ListQAppsInputListQAppsPaginateTypeDef = {  # (1)
    "instanceId": ...,
}

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