UNPKG

@aws-sdk/client-iot

Version:

AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native

5 lines (4 loc) 278 B
import { createPaginator } from "@smithy/core"; import { ListThingsCommand } from "../commands/ListThingsCommand"; import { IoTClient } from "../IoTClient"; export const paginateListThings = createPaginator(IoTClient, ListThingsCommand, "nextToken", "nextToken", "maxResults");