UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

5 lines (4 loc) 278 B
import { createPaginator } from "@smithy/core"; import { ListQueuesCommand } from "../commands/ListQueuesCommand"; import { SQSClient } from "../SQSClient"; export const paginateListQueues = createPaginator(SQSClient, ListQueuesCommand, "NextToken", "NextToken", "MaxResults");