list-custom-model does not filter by base or foundation model #8929
Labels
bedrock
bug
This issue is a bug.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p3
This is a minor priority issue
Describe the bug
Passing the
--foundation-model-arn-equals
or--base-model-arn-equals
filters do not restrict the output oflist-custom-model
as stated by the documentation. It seems the filters are ignored.I see the same behavior in a Java application with the Java AWS sdk.
Expected Behavior
The
--foundation-model-arn-equals
or--base-model-arn-equals
filters should behave as documented.Current Behavior
The
--foundation-model-arn-equals
or--base-model-arn-equals
filters do not restrict the output oflist-custom-model
to custom models with the matching base/foundation model. No error is reported.Reproduction Steps
Assuming the output of
aws bedrock list-custom-models
is not empty:aws bedrock list-custom-models --foundation-model-arn-equals
or aws bedrock list-custom-models --base-model-arn-equals` requestPossible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.17.53 Python/3.11.10 Darwin/23.6.0 source/x86_64
Environment details (OS name and version, etc.)
osx 14.6.1
The text was updated successfully, but these errors were encountered: