Skip to content

list-custom-model does not filter by base or foundation model #8929

Closed
@collimilo

Description

@collimilo

Describe the bug

Passing the --foundation-model-arn-equals or --base-model-arn-equals filters do not restrict the output of list-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 of list-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:

  • issue a aws bedrock list-custom-models --foundation-model-arn-equals or aws bedrock list-custom-models --base-model-arn-equals` request
  • observe that the filters do not restrict the result

Possible 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

Metadata

Metadata

Assignees

Labels

bedrockbugThis issue is a bug.p2This is a standard priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions