boto3 icon indicating copy to clipboard operation
boto3 copied to clipboard

Missing paginator for Glue list_sessions

Open AaronLeon opened this issue 11 months ago • 3 comments

Describe the bug

Glue client is missing paginator support for ListSessions API

Regression Issue

  • [ ] Select this option if this issue appears to be a regression.

Expected Behavior

All paginated operations should support paginator, eg

glue = boto3.client("glue")
paginator = glue.get_paginator("list_sessions")

Current Behavior

Creating the paginator gives an error

botocore.exceptions.OperationNotPageableError: Operation cannot be paginated: list_sessions

Reproduction Steps

glue = boto3.client("glue")
paginator = glue.get_paginator("list_sessions")

Possible Solution

No response

Additional Information/Context

No response

SDK version used

1.36.4

Environment details (OS name and version, etc.)

MacOS Sequoia 15.2

AaronLeon avatar Jan 23 '25 00:01 AaronLeon

Hi @AaronLeon , thanks for reaching out.

This is the list of available Paginator for Glue -https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#paginators

Looks like list_sessions is not supported through Glue service paginators. So I would need to file the request with the service team. Would share updates soon.

Thanks

khushail avatar Jan 23 '25 21:01 khushail

@AaronLeon , filed an internal ticket with the service team (Ticket id -P195639429).

khushail avatar Jan 30 '25 21:01 khushail

Thanks @khushail I was able to submit a potential fix internally.

AaronLeon avatar Jan 31 '25 00:01 AaronLeon