mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* feat(bedrock): list and get foundation models and system-defined inference profiles fix(bedrock): resolve only ARNs that name the catalog resource in the calling Region, and report on-demand inference only where a model is served in-Region fix(bedrock): accept SPEECH and VIDEO output modalities and refuse an unserved model with ValidationException fix(bedrock): report enum violations and read the model catalog through the shared helpers An invalid ListFoundationModels or ListInferenceProfiles enum value now answers with the "1 validation error detected:" prefix AWS sends and lists the allowed values in the model's order. * fix(bedrock): answer an unresolvable model or profile identifier with the error AWS returns GetFoundationModel answers an unknown model id or an ARN that names no foundation model in the calling Region with ValidationException. GetInferenceProfile answers an ARN of another service or without an account with ValidationException, and one of another account with AccessDeniedException; one of another Region stays ResourceNotFoundException.