Paginators#
Index > GreengrassV2 > Paginators
Auto-generated documentation for GreengrassV2 type annotations stubs module mypy-boto3-greengrassv2.
ListClientDevicesAssociatedWithCoreDevicePaginator#
Type annotations and code completion for boto3.client("greengrassv2").get_paginator("list_client_devices_associated_with_core_device")
.
boto3 documentation
# ListClientDevicesAssociatedWithCoreDevicePaginator usage example
from boto3.session import Session
from mypy_boto3_greengrassv2.paginator import ListClientDevicesAssociatedWithCoreDevicePaginator
def get_list_client_devices_associated_with_core_device_paginator() -> ListClientDevicesAssociatedWithCoreDevicePaginator:
return Session().client("greengrassv2").get_paginator("list_client_devices_associated_with_core_device")
# ListClientDevicesAssociatedWithCoreDevicePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_greengrassv2.paginator import ListClientDevicesAssociatedWithCoreDevicePaginator
session = Session()
client = Session().client("greengrassv2") # (1)
paginator: ListClientDevicesAssociatedWithCoreDevicePaginator = client.get_paginator("list_client_devices_associated_with_core_device") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: GreengrassV2Client
- paginator: ListClientDevicesAssociatedWithCoreDevicePaginator
- item: ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef
paginate#
Type annotations and code completion for ListClientDevicesAssociatedWithCoreDevicePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
coreDeviceThingName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef]: # (2)
...