Paginators
Index > MarketplaceEntitlementService > Paginators
Auto-generated documentation for MarketplaceEntitlementService type annotations stubs module mypy-boto3-marketplace-entitlement.
GetEntitlementsPaginator
Type annotations and code completion for boto3.client("marketplace-entitlement").get_paginator("get_entitlements")
.
boto3 documentation
Usage example
from boto3.session import Session
from mypy_boto3_marketplace_entitlement.paginator import GetEntitlementsPaginator
def get_get_entitlements_paginator() -> GetEntitlementsPaginator:
return Session().client("marketplace-entitlement").get_paginator("get_entitlements")
Usage example
from boto3.session import Session
from mypy_boto3_marketplace_entitlement.paginator import GetEntitlementsPaginator
session = Session()
client = Session().client("marketplace-entitlement") # (1)
paginator: GetEntitlementsPaginator = client.get_paginator("get_entitlements") # (2)
for item in paginator.paginate(...):
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)
) -> _PageIterator[GetEntitlementsResultTypeDef]: # (3)
...