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) • 325 B
JavaScript
import { createPaginator } from "@smithy/core";
import { ListPhoneNumbersOptedOutCommand, } from "../commands/ListPhoneNumbersOptedOutCommand";
import { SNSClient } from "../SNSClient";
export const paginateListPhoneNumbersOptedOut = createPaginator(SNSClient, ListPhoneNumbersOptedOutCommand, "nextToken", "nextToken", "");