SageMaker list_models inconsistent results #4020
Labels
bug
This issue is a confirmed bug.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p3
This is a minor priority issue
sagemaker
Describe the bug
This bug duplicates this one. In my case if I don't put
MaxResults
at all, I get empty list of models. If I put 20 or more, I get only 1 model, but there are 2 models with same suffix inNameContains
argument.Expected Behavior
List of all models, no matter whether
MaxResults
were defined or not.Current Behavior
1 model shows up or no model if you don't specify
MaxResults
.Reproduction Steps
Possible Solution
as for now, even defining
MaxResults
doesn't help.Additional Information/Context
Same behavior happens if I define sagemaker client via
sagemaker-python-sdk
:Surprisingly, the approach above worked last month (without
MaxResults
). Recently it stopped working.SDK version used
1.34.23
Environment details (OS name and version, etc.)
Ubuntu 22.04, Python 3.9 and above.
The text was updated successfully, but these errors were encountered: