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)
- client: IoT1ClickDevicesServiceClient
- paginator: ListDeviceEventsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListDeviceEventsRequestListDeviceEventsPaginateTypeDef = { # (1)
"DeviceId": ...,
"FromTimeStamp": ...,
"ToTimeStamp": ...,
}
parent.paginate(**kwargs)
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)
- client: IoT1ClickDevicesServiceClient
- paginator: ListDevicesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListDevicesRequestListDevicesPaginateTypeDef = { # (1)
"DeviceType": ...,
}
parent.paginate(**kwargs)