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.client("marketplace-entitlement").get_paginator("get_entitlements")
.
boto3 documentation
Usage example
from aioboto3.session import Session
from types_aiobotocore_marketplace_entitlement.paginator import GetEntitlementsPaginator
session = Session()
session = get_session()
async with session.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)
- client: MarketplaceEntitlementServiceClient
- paginator: GetEntitlementsPaginator
- item: GetEntitlementsResultTypeDef
paginate
Type annotations and code completion for GetEntitlementsPaginator.paginate
method.
Method definition
def paginate(
self,
*,
ProductCode: str,
Filter: Mapping[GetEntitlementFilterNameType, Sequence[str]] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> AsyncIterator[GetEntitlementsResultTypeDef]: # (3)
...