Lakeformation list_permission does not implement a paginator #3932
Labels
bug
This issue is a confirmed bug.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
lakeformation
p2
This is a standard priority issue
pagination
Describe the bug
lakeformation / list-permissions
is a paginated API call that uses the standard pagination api usingMaxResults
&NextToken
.Unlike other methods of the lakeformation client, it is not possible to call it using a boto3 paginator, which makes writing code around that api call a pain that requires a lot of boilerplate as a workaround.
Expected Behavior
The method returns a paginator.
Current Behavior
Boto returns the error/stacktrace:
Reproduction Steps
(within a valid aws session)
Possible Solution
Implement a boto paginator for all lakeformation api calls that need to be called paginated.
Additional Information/Context
No response
SDK version used
boto3==1.28.82 botocore==1.31.82
Environment details (OS name and version, etc.)
python 3.11.5
The text was updated successfully, but these errors were encountered: