Skip to content

Paginators#

Index > IoT1ClickDevicesService > Paginators

Auto-generated documentation for IoT1ClickDevicesService type annotations stubs module mypy-boto3-iot1click-devices.

ListDeviceEventsPaginator#

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

# ListDeviceEventsPaginator usage example

from boto3.session import Session

from mypy_boto3_iot1click_devices.paginator import ListDeviceEventsPaginator

def get_list_device_events_paginator() -> ListDeviceEventsPaginator:
    return Session().client("iot1click-devices").get_paginator("list_device_events")
# ListDeviceEventsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iot1click_devices.paginator import ListDeviceEventsPaginator

session = Session()

client = Session().client("iot1click-devices")  # (1)
paginator: ListDeviceEventsPaginator = client.get_paginator("list_device_events")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IoT1ClickDevicesServiceClient
  2. paginator: ListDeviceEventsPaginator
  3. item: ListDeviceEventsResponseTypeDef

paginate#

Type annotations and code completion for ListDeviceEventsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DeviceId: str,
    FromTimeStamp: TimestampTypeDef,
    ToTimeStamp: TimestampTypeDef,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListDeviceEventsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListDeviceEventsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListDeviceEventsRequestPaginateTypeDef = {  # (1)
    "DeviceId": ...,
    "FromTimeStamp": ...,
    "ToTimeStamp": ...,
}

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

ListDevicesPaginator#

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

# ListDevicesPaginator usage example

from boto3.session import Session

from mypy_boto3_iot1click_devices.paginator import ListDevicesPaginator

def get_list_devices_paginator() -> ListDevicesPaginator:
    return Session().client("iot1click-devices").get_paginator("list_devices")
# ListDevicesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iot1click_devices.paginator import ListDevicesPaginator

session = Session()

client = Session().client("iot1click-devices")  # (1)
paginator: ListDevicesPaginator = client.get_paginator("list_devices")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IoT1ClickDevicesServiceClient
  2. paginator: ListDevicesPaginator
  3. item: ListDevicesResponseTypeDef

paginate#

Type annotations and code completion for ListDevicesPaginator.paginate method.

# paginate method definition

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

kwargs: ListDevicesRequestPaginateTypeDef = {  # (1)
    "DeviceType": ...,
}

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