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) 315 B
import { createPaginator } from "@smithy/core"; import { ListTablesCommand } from "../commands/ListTablesCommand"; import { DynamoDBClient } from "../DynamoDBClient"; export const paginateListTables = createPaginator(DynamoDBClient, ListTablesCommand, "ExclusiveStartTableName", "LastEvaluatedTableName", "Limit");