Skip to content

Paginators#

Index > MarketplaceEntitlementService > Paginators

Auto-generated documentation for MarketplaceEntitlementService type annotations stubs module types-aiobotocore-marketplace-entitlement.

GetEntitlementsPaginator#

Type annotations and code completion for session.create_client("marketplace-entitlement").get_paginator("get_entitlements"). boto3 documentation

# GetEntitlementsPaginator usage example

from aiobotocore.session import get_session

from types_aiobotocore_marketplace_entitlement.paginator import GetEntitlementsPaginator

session = get_session()
async with session.create_client("marketplace-entitlement") as client:  # (1)
    paginator: GetEntitlementsPaginator = client.get_paginator("get_entitlements")  # (2)
    async for item in paginator.paginate(...):
        item: GetEntitlementsResultTypeDef
        print(item)  # (3)
  1. client: MarketplaceEntitlementServiceClient
  2. paginator: GetEntitlementsPaginator
  3. item: GetEntitlementsResultTypeDef

paginate#

Type annotations and code completion for GetEntitlementsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ProductCode: str,
    Filter: Mapping[GetEntitlementFilterNameType, Sequence[str]] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> AsyncIterator[GetEntitlementsResultTypeDef]:  # (3)
    ...
  1. See GetEntitlementFilterNameType
  2. See PaginatorConfigTypeDef
  3. See GetEntitlementsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetEntitlementsRequestGetEntitlementsPaginateTypeDef = {  # (1)
    "ProductCode": ...,
}

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