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) 287 B
import { createPaginator } from "@smithy/core"; import { ListPartsCommand } from "../commands/ListPartsCommand"; import { S3Client } from "../S3Client"; export const paginateListParts = createPaginator(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts");