Skip to content

Paginators#

Index > Mobile > Paginators

Auto-generated documentation for Mobile type annotations stubs module mypy-boto3-mobile.

ListBundlesPaginator#

Type annotations and code completion for boto3.client("mobile").get_paginator("list_bundles"). boto3 documentation

# ListBundlesPaginator usage example

from boto3.session import Session

from mypy_boto3_mobile.paginator import ListBundlesPaginator

def get_list_bundles_paginator() -> ListBundlesPaginator:
    return Session().client("mobile").get_paginator("list_bundles")
# ListBundlesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_mobile.paginator import ListBundlesPaginator

session = Session()

client = Session().client("mobile")  # (1)
paginator: ListBundlesPaginator = client.get_paginator("list_bundles")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MobileClient
  2. paginator: ListBundlesPaginator
  3. item: ListBundlesResultTypeDef

paginate#

Type annotations and code completion for ListBundlesPaginator.paginate method.

# paginate method definition

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

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

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

ListProjectsPaginator#

Type annotations and code completion for boto3.client("mobile").get_paginator("list_projects"). boto3 documentation

# ListProjectsPaginator usage example

from boto3.session import Session

from mypy_boto3_mobile.paginator import ListProjectsPaginator

def get_list_projects_paginator() -> ListProjectsPaginator:
    return Session().client("mobile").get_paginator("list_projects")
# ListProjectsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_mobile.paginator import ListProjectsPaginator

session = Session()

client = Session().client("mobile")  # (1)
paginator: ListProjectsPaginator = client.get_paginator("list_projects")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MobileClient
  2. paginator: ListProjectsPaginator
  3. item: ListProjectsResultTypeDef

paginate#

Type annotations and code completion for ListProjectsPaginator.paginate method.

# paginate method definition

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

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

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