Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: codegen for paginator factory #5590

Merged
merged 6 commits into from
Dec 19, 2023
Merged

feat: codegen for paginator factory #5590

merged 6 commits into from
Dec 19, 2023

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Dec 15, 2023

sample diff for smithy-lang/smithy-typescript#1114

if accepted, this will be changed to the full diff

@kuhe kuhe requested a review from a team as a code owner December 15, 2023 20:01
@kuhe
Copy link
Contributor Author

kuhe commented Dec 15, 2023

runtime code example:

// dist-es/pagination/ListFunctionsPaginator.js

import { createPaginator } from "@smithy/core";
import { ListFunctionsCommand, } from "../commands/ListFunctionsCommand";
import { LambdaClient } from "../LambdaClient";
export const paginateListFunctions = 
  createPaginator(LambdaClient, ListFunctionsCommand, "Marker", "NextMarker", "MaxItems");

@kuhe kuhe merged commit e54099b into aws:main Dec 19, 2023
2 checks passed
@kuhe kuhe deleted the feat/pagination branch December 19, 2023 21:16
Copy link

github-actions bot commented Jan 3, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants