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)
- client: IoT1ClickProjectsClient
- paginator: ListPlacementsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListPlacementsRequestPaginateTypeDef = { # (1)
"projectName": ...,
}
parent.paginate(**kwargs)
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)
- client: IoT1ClickProjectsClient
- paginator: ListProjectsPaginator
- item: ListProjectsResponseTypeDef
paginate#
Type annotations and code completion for ListProjectsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListProjectsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListProjectsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)