diff --git a/clients/client-bedrock-agent-runtime/src/commands/InvokeAgentCommand.ts b/clients/client-bedrock-agent-runtime/src/commands/InvokeAgentCommand.ts index b681588d2716..1175c987576b 100644 --- a/clients/client-bedrock-agent-runtime/src/commands/InvokeAgentCommand.ts +++ b/clients/client-bedrock-agent-runtime/src/commands/InvokeAgentCommand.ts @@ -507,6 +507,18 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat * // promptCreationMode: "DEFAULT" || "OVERRIDDEN", * // parserMode: "DEFAULT" || "OVERRIDDEN", * // }, + * // modelInvocationOutput: { // OrchestrationModelInvocationOutput + * // traceId: "STRING_VALUE", + * // rawResponse: { // RawResponse + * // content: "STRING_VALUE", + * // }, + * // metadata: { // Metadata + * // usage: { // Usage + * // inputTokens: Number("int"), + * // outputTokens: Number("int"), + * // }, + * // }, + * // }, * // }, * // postProcessingTrace: { // PostProcessingTrace Union: only one key present * // modelInvocationInput: { diff --git a/clients/client-bedrock-agent-runtime/src/commands/InvokeFlowCommand.ts b/clients/client-bedrock-agent-runtime/src/commands/InvokeFlowCommand.ts index e18572a4ac85..b388caae2b05 100644 --- a/clients/client-bedrock-agent-runtime/src/commands/InvokeFlowCommand.ts +++ b/clients/client-bedrock-agent-runtime/src/commands/InvokeFlowCommand.ts @@ -38,6 +38,9 @@ export interface InvokeFlowCommandOutput extends InvokeFlowResponse, __MetadataB /** *

Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

+ * + *

The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.

+ *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-bedrock-agent-runtime/src/models/models_0.ts b/clients/client-bedrock-agent-runtime/src/models/models_0.ts index 7a5ccde9b1da..ece7a8f28f10 100644 --- a/clients/client-bedrock-agent-runtime/src/models/models_0.ts +++ b/clients/client-bedrock-agent-runtime/src/models/models_0.ts @@ -254,7 +254,7 @@ export type FlowInputContent = FlowInputContent.DocumentMember | FlowInputConten */ export namespace FlowInputContent { /** - *

The input for the flow input node.

+ *

The input to send to the prompt flow input node.

* @public */ export interface DocumentMember { @@ -282,7 +282,7 @@ export namespace FlowInputContent { } /** - *

Contains information about an input into the flow and what to do with it.

+ *

Contains information about an input into the prompt flow and where to send it.

*

This data type is used in the following API operations:

*