Skip to content

Paginators#

Index > IoT1ClickProjects > Paginators

Auto-generated documentation for IoT1ClickProjects type annotations stubs module mypy-boto3-iot1click-projects.

ListPlacementsPaginator#

Type annotations and code completion for boto3.client("iot1click-projects").get_paginator("list_placements"). boto3 documentation

# ListPlacementsPaginator usage example

from boto3.session import Session

from mypy_boto3_iot1click_projects.paginator import ListPlacementsPaginator

def get_list_placements_paginator() -> ListPlacementsPaginator:
    return Session().client("iot1click-projects").get_paginator("list_placements")
# ListPlacementsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iot1click_projects.paginator import ListPlacementsPaginator

session = Session()

client = Session().client("iot1click-projects")  # (1)
paginator: ListPlacementsPaginator = client.get_paginator("list_placements")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IoT1ClickProjectsClient
  2. paginator: ListPlacementsPaginator
  3. item: ListPlacementsResponseTypeDef

paginate#

Type annotations and code completion for ListPlacementsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    projectName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListPlacementsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPlacementsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPlacementsRequestListPlacementsPaginateTypeDef = {  # (1)
    "projectName": ...,
}

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

ListProjectsPaginator#

Type annotations and code completion for boto3.client("iot1click-projects").get_paginator("list_projects"). boto3 documentation

# ListProjectsPaginator usage example

from boto3.session import Session

from mypy_boto3_iot1click_projects.paginator import ListProjectsPaginator

def get_list_projects_paginator() -> ListProjectsPaginator:
    return Session().client("iot1click-projects").get_paginator("list_projects")
# ListProjectsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iot1click_projects.paginator import ListProjectsPaginator

session = Session()

client = Session().client("iot1click-projects")  # (1)
paginator: ListProjectsPaginator = client.get_paginator("list_projects")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IoT1ClickProjectsClient
  2. paginator: ListProjectsPaginator
  3. item: ListProjectsResponseTypeDef

paginate#

Type annotations and code completion for ListProjectsPaginator.paginate method.

# paginate method definition

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

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

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