AppStream describe_sessions does not accept NextToken=None #4434
Labels
appstream
bug
This issue is a confirmed bug.
p2
This is a standard priority issue
response-requested
Waiting on additional information or feedback.
Describe the bug
Although reference states that
NextToken (string) ... If this value is null, it retrieves the first page.
the value ofNone
is not accepted.This makes looping over sessions cumbersome, since different function invocation statements needs to be user for the fist call (where NextToken must be omitted) and successive invocations where NextToken needs to be present.
Regression Issue
Expected Behavior
NextToken=None
should be equivalent with not specifying NextToken at all.Current Behavior
NextToken=None
raises an exception.Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.34.105
Environment details (OS name and version, etc.)
python3, testen on MacOS and Ubuntu
The text was updated successfully, but these errors were encountered: