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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    projectName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListPlacementsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPlacementsResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListProjectsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListProjectsResponseTypeDef
Usage example with kwargs
kwargs: ListProjectsRequestListProjectsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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