UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

5 lines (4 loc) • 295 B
import { createPaginator } from "@smithy/core"; import { ListBucketsCommand } from "../commands/ListBucketsCommand"; import { S3Client } from "../S3Client"; export const paginateListBuckets = createPaginator(S3Client, ListBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxBuckets");