aws / aws-sdk-js-v3

Modularized AWS SDK for JavaScript.
Apache License 2.0
3.05k stars 574 forks source link

AppSync paginators not present #6185

Closed ConnorKirk closed 3 months ago

ConnorKirk commented 3 months ago

Checkboxes for prior research

Describe the bug

The client-appsync package does not contain paginator functions. I expected paginateListDataSources to exist, but it is not exported from the package. I can't find any documentation/issues/questions that should indicate it does/doesn't exist.

SDK version number

"@aws-sdk/client-appsync": "3.592.0",

Which JavaScript Runtime is this issue in?

Node.js

Details of the browser/Node.js/ReactNative version

node v20.14.0

Reproduction Steps

const { AppSyncClient, paginateListDataSources } = require("@aws-sdk/client-appsync");

Observed Behavior

paginateListDataSources is undefined

Expected Behavior

I expected paginateListDataSources to be defined.

Possible Solution

No response

Additional Information/Context

No response

kuhe commented 3 months ago

comment for maintainers: service needs to add pagination traits to their model

ConnorKirk commented 3 months ago

Thanks! I feared this might be the case. Is there a way to note in the client docs when paginators aren't available for a client?

aBurmeseDev commented 3 months ago

Hello @ConnorKirk - appreciate you for reporting this.

I created this internal request (P135522540) to service team to update their model with pagination trait. Feel free to check in on the request.

On the docs feedback, I've noted it and will share it with the team to consider for our future releases.

Since this is not directly actionable by the SDK team and this repo is dedicated for SDK related, I'm going to close this issue. I can check in with you internally when there's an update from service team end.

Best, John

github-actions[bot] commented 3 months ago

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.