Skip to content

Paginators#

Index > AccountAccess > Paginators

Auto-generated documentation for AccountAccess type annotations stubs module mypy-boto3-account-access.

ListApplicationsPaginator#

Type annotations and code completion for boto3.client("account-access").get_paginator("list_applications"). boto3 documentation

# ListApplicationsPaginator usage example

from boto3.session import Session

from mypy_boto3_account_access.paginator import ListApplicationsPaginator

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

from boto3.session import Session

from mypy_boto3_account_access.paginator import ListApplicationsPaginator

session = Session()

client = Session().client("account-access")  # (1)
paginator: ListApplicationsPaginator = client.get_paginator("list_applications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AccountAccessClient
  2. paginator: ListApplicationsPaginator
  3. item: PageIterator[ListApplicationsResponseTypeDef]

paginate#

Type annotations and code completion for ListApplicationsPaginator.paginate method.

# paginate method definition

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

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

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

ListEntitlementsPaginator#

Type annotations and code completion for boto3.client("account-access").get_paginator("list_entitlements"). boto3 documentation

# ListEntitlementsPaginator usage example

from boto3.session import Session

from mypy_boto3_account_access.paginator import ListEntitlementsPaginator

def get_list_entitlements_paginator() -> ListEntitlementsPaginator:
    return Session().client("account-access").get_paginator("list_entitlements")
# ListEntitlementsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_account_access.paginator import ListEntitlementsPaginator

session = Session()

client = Session().client("account-access")  # (1)
paginator: ListEntitlementsPaginator = client.get_paginator("list_entitlements")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AccountAccessClient
  2. paginator: ListEntitlementsPaginator
  3. item: PageIterator[ListEntitlementsResponseTypeDef]

paginate#

Type annotations and code completion for ListEntitlementsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    applicationArn: str,
    filter: EntitlementFilterTypeDef,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> botocore.paginate.PageIterator[ListEntitlementsResponseTypeDef]:  # (3)
    ...
  1. See EntitlementFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See PageIterator[ListEntitlementsResponseTypeDef]
# paginate method usage example with argument unpacking

kwargs: ListEntitlementsRequestPaginateTypeDef = {  # (1)
    "applicationArn": ...,
    "filter": ...,
}

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