Skip to content

Paginators#

Index > MarketplaceCatalog > Paginators

Auto-generated documentation for MarketplaceCatalog type annotations stubs module mypy-boto3-marketplace-catalog.

ListChangeSetsPaginator#

Type annotations and code completion for boto3.client("marketplace-catalog").get_paginator("list_change_sets"). boto3 documentation

# ListChangeSetsPaginator usage example

from boto3.session import Session

from mypy_boto3_marketplace_catalog.paginator import ListChangeSetsPaginator

def get_list_change_sets_paginator() -> ListChangeSetsPaginator:
    return Session().client("marketplace-catalog").get_paginator("list_change_sets")
# ListChangeSetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_marketplace_catalog.paginator import ListChangeSetsPaginator

session = Session()

client = Session().client("marketplace-catalog")  # (1)
paginator: ListChangeSetsPaginator = client.get_paginator("list_change_sets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MarketplaceCatalogClient
  2. paginator: ListChangeSetsPaginator
  3. item: ListChangeSetsResponseTypeDef

paginate#

Type annotations and code completion for ListChangeSetsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Catalog: str,
    FilterList: Sequence[FilterTypeDef] = ...,  # (1)
    Sort: SortTypeDef = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[ListChangeSetsResponseTypeDef]:  # (4)
    ...
  1. See FilterTypeDef
  2. See SortTypeDef
  3. See PaginatorConfigTypeDef
  4. See ListChangeSetsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListChangeSetsRequestPaginateTypeDef = {  # (1)
    "Catalog": ...,
}

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

ListEntitiesPaginator#

Type annotations and code completion for boto3.client("marketplace-catalog").get_paginator("list_entities"). boto3 documentation

# ListEntitiesPaginator usage example

from boto3.session import Session

from mypy_boto3_marketplace_catalog.paginator import ListEntitiesPaginator

def get_list_entities_paginator() -> ListEntitiesPaginator:
    return Session().client("marketplace-catalog").get_paginator("list_entities")
# ListEntitiesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_marketplace_catalog.paginator import ListEntitiesPaginator

session = Session()

client = Session().client("marketplace-catalog")  # (1)
paginator: ListEntitiesPaginator = client.get_paginator("list_entities")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MarketplaceCatalogClient
  2. paginator: ListEntitiesPaginator
  3. item: ListEntitiesResponseTypeDef

paginate#

Type annotations and code completion for ListEntitiesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Catalog: str,
    EntityType: str,
    FilterList: Sequence[FilterTypeDef] = ...,  # (1)
    Sort: SortTypeDef = ...,  # (2)
    OwnershipType: OwnershipTypeType = ...,  # (3)
    EntityTypeFilters: EntityTypeFiltersTypeDef = ...,  # (4)
    EntityTypeSort: EntityTypeSortTypeDef = ...,  # (5)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (6)
) -> PageIterator[ListEntitiesResponseTypeDef]:  # (7)
    ...
  1. See FilterTypeDef
  2. See SortTypeDef
  3. See OwnershipTypeType
  4. See EntityTypeFiltersTypeDef
  5. See EntityTypeSortTypeDef
  6. See PaginatorConfigTypeDef
  7. See ListEntitiesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListEntitiesRequestPaginateTypeDef = {  # (1)
    "Catalog": ...,
    "EntityType": ...,
}

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