Bedrock InvokeInlineAgentCommand triggers server error if action groups parameters required attribute is not set #6772
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Checkboxes for prior research
Describe the bug
In
InvokeInlineAgentCommandInput
, the attributeactionGroups.functionSchema.functions.parameters.my_parameter.required
is typed as optional. However, the command crashes if it is not explicitely set to true or false.Regression Issue
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.18.1
Reproduction Steps
When it does not work, I get this error
Observed Behavior
Not explicitely setting the optional attribute
actionGroups.functionSchema.functions.parameters.my_parameter.required
triggers a cryptic Internal Server ErrorExpected Behavior
Being able to not set
required
OR having it typed as not optionalPossible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: