|
99 | 99 | {"shape":"AccessDeniedException"}, |
100 | 100 | {"shape":"ServiceQuotaExceededException"} |
101 | 101 | ], |
102 | | - "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html\">Test a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>" |
| 102 | + "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html\">Test a flow in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeFlow</code>.</p> </note>" |
103 | 103 | }, |
104 | 104 | "Retrieve":{ |
105 | 105 | "name":"Retrieve", |
|
822 | 822 | "members":{ |
823 | 823 | "content":{ |
824 | 824 | "shape":"FlowInputContent", |
825 | | - "documentation":"<p>Contains information about an input into the flow.</p>" |
| 825 | + "documentation":"<p>Contains information about an input into the prompt flow.</p>" |
826 | 826 | }, |
827 | 827 | "nodeName":{ |
828 | 828 | "shape":"NodeName", |
829 | | - "documentation":"<p>A name for the input of the flow input node.</p>" |
| 829 | + "documentation":"<p>The name of the flow input node that begins the prompt flow.</p>" |
830 | 830 | }, |
831 | 831 | "nodeOutputName":{ |
832 | 832 | "shape":"NodeOutputName", |
833 | | - "documentation":"<p>A name for the output of the flow input node.</p>" |
| 833 | + "documentation":"<p>The name of the output from the flow input node that begins the prompt flow.</p>" |
834 | 834 | } |
835 | 835 | }, |
836 | | - "documentation":"<p>Contains information about an input into the flow and what to do with it.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>" |
| 836 | + "documentation":"<p>Contains information about an input into the prompt flow and where to send it.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>" |
837 | 837 | }, |
838 | 838 | "FlowInputContent":{ |
839 | 839 | "type":"structure", |
840 | 840 | "members":{ |
841 | 841 | "document":{ |
842 | 842 | "shape":"Document", |
843 | | - "documentation":"<p>The input for the flow input node.</p>" |
| 843 | + "documentation":"<p>The input to send to the prompt flow input node.</p>" |
844 | 844 | } |
845 | 845 | }, |
846 | 846 | "documentation":"<p>Contains information about an input into the flow.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>", |
|
858 | 858 | "members":{ |
859 | 859 | "document":{ |
860 | 860 | "shape":"Document", |
861 | | - "documentation":"<p>A name for the output of the flow.</p>" |
| 861 | + "documentation":"<p>The content in the output.</p>" |
862 | 862 | } |
863 | 863 | }, |
864 | | - "documentation":"<p>Contains information about the output node.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>", |
| 864 | + "documentation":"<p>Contains information about the content in an output from prompt flow invocation.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_RequestSyntax\">InvokeFlow request</a> </p> </li> </ul>", |
865 | 865 | "union":true |
866 | 866 | }, |
867 | 867 | "FlowOutputEvent":{ |
|
874 | 874 | "members":{ |
875 | 875 | "content":{ |
876 | 876 | "shape":"FlowOutputContent", |
877 | | - "documentation":"<p>The output of the node.</p>" |
| 877 | + "documentation":"<p>The content in the output.</p>" |
878 | 878 | }, |
879 | 879 | "nodeName":{ |
880 | 880 | "shape":"NodeName", |
881 | | - "documentation":"<p>The name of the node to which input was provided.</p>" |
| 881 | + "documentation":"<p>The name of the flow output node that the output is from.</p>" |
882 | 882 | }, |
883 | 883 | "nodeType":{ |
884 | 884 | "shape":"NodeType", |
885 | | - "documentation":"<p>The type of node to which input was provided.</p>" |
| 885 | + "documentation":"<p>The type of the node that the output is from.</p>" |
886 | 886 | } |
887 | 887 | }, |
888 | | - "documentation":"<p>Contains information about an output from flow invoction.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_ResponseSyntax\">InvokeFlow response</a> </p> </li> </ul>", |
| 888 | + "documentation":"<p>Contains information about an output from prompt flow invoction.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeFlow.html#API_agent_InvokeFlow_ResponseSyntax\">InvokeFlow response</a> </p> </li> </ul>", |
889 | 889 | "event":true, |
890 | 890 | "sensitive":true |
891 | 891 | }, |
|
1510 | 1510 | }, |
1511 | 1511 | "topP":{ |
1512 | 1512 | "shape":"TopP", |
1513 | | - "documentation":"<p>While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for <code>Top P</code> determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set <code>topP</code> to 80, the model only selects the next token from the top 80% of the probability distribution of next tokens.</p>" |
| 1513 | + "documentation":"<p>While generating a response, the model determines the probability of the following token at each point of generation. The value that you set for <code>Top P</code> determines the number of most-likely candidates from which the model chooses the next token in the sequence. For example, if you set <code>topP</code> to 0.8, the model only selects the next token from the top 80% of the probability distribution of next tokens.</p>" |
1514 | 1514 | } |
1515 | 1515 | }, |
1516 | 1516 | "documentation":"<p>Specifications about the inference parameters that were provided alongside the prompt. These are specified in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> object that was set when the agent was created or updated. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html\">Inference parameters for foundation models</a>.</p>" |
|
1997 | 1997 | "type":"string", |
1998 | 1998 | "enum":["SESSION_SUMMARY"] |
1999 | 1999 | }, |
| 2000 | + "Metadata":{ |
| 2001 | + "type":"structure", |
| 2002 | + "members":{ |
| 2003 | + "usage":{ |
| 2004 | + "shape":"Usage", |
| 2005 | + "documentation":"<p>Contains details of the foundation model usage.</p>" |
| 2006 | + } |
| 2007 | + }, |
| 2008 | + "documentation":"<p>Provides details of the foundation model.</p>", |
| 2009 | + "sensitive":true |
| 2010 | + }, |
2000 | 2011 | "MimeType":{"type":"string"}, |
2001 | 2012 | "ModelInvocationInput":{ |
2002 | 2013 | "type":"structure", |
|
2109 | 2120 | }, |
2110 | 2121 | "documentation":"<p>Settings for how the model processes the prompt prior to retrieval and generation.</p>" |
2111 | 2122 | }, |
| 2123 | + "OrchestrationModelInvocationOutput":{ |
| 2124 | + "type":"structure", |
| 2125 | + "members":{ |
| 2126 | + "metadata":{ |
| 2127 | + "shape":"Metadata", |
| 2128 | + "documentation":"<p>Contains information about the foundation model output.</p>" |
| 2129 | + }, |
| 2130 | + "rawResponse":{ |
| 2131 | + "shape":"RawResponse", |
| 2132 | + "documentation":"<p>Contains details of the raw response from the foundation model output.</p>" |
| 2133 | + }, |
| 2134 | + "traceId":{ |
| 2135 | + "shape":"TraceId", |
| 2136 | + "documentation":"<p>The unique identifier of the trace.</p>" |
| 2137 | + } |
| 2138 | + }, |
| 2139 | + "documentation":"<p>The foundation model output from the orchestration step.</p>", |
| 2140 | + "sensitive":true |
| 2141 | + }, |
2112 | 2142 | "OrchestrationTrace":{ |
2113 | 2143 | "type":"structure", |
2114 | 2144 | "members":{ |
|
2120 | 2150 | "shape":"ModelInvocationInput", |
2121 | 2151 | "documentation":"<p>The input for the orchestration step.</p> <ul> <li> <p>The <code>type</code> is <code>ORCHESTRATION</code>.</p> </li> <li> <p>The <code>text</code> contains the prompt.</p> </li> <li> <p>The <code>inferenceConfiguration</code>, <code>parserMode</code>, and <code>overrideLambda</code> values are set in the <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html\">PromptOverrideConfiguration</a> object that was set when the agent was created or updated.</p> </li> </ul>" |
2122 | 2152 | }, |
| 2153 | + "modelInvocationOutput":{ |
| 2154 | + "shape":"OrchestrationModelInvocationOutput", |
| 2155 | + "documentation":"<p>Contains information pertaining to the output from the foundation model that is being invoked.</p>" |
| 2156 | + }, |
2123 | 2157 | "observation":{ |
2124 | 2158 | "shape":"Observation", |
2125 | 2159 | "documentation":"<p>Details about the observation (the output of the action group Lambda or knowledge base) made by the agent.</p>" |
|
2381 | 2415 | "type":"string", |
2382 | 2416 | "sensitive":true |
2383 | 2417 | }, |
| 2418 | + "RawResponse":{ |
| 2419 | + "type":"structure", |
| 2420 | + "members":{ |
| 2421 | + "content":{ |
| 2422 | + "shape":"String", |
| 2423 | + "documentation":"<p>The foundation model's raw output content.</p>" |
| 2424 | + } |
| 2425 | + }, |
| 2426 | + "documentation":"<p>Contains the raw output from the foundation model.</p>", |
| 2427 | + "sensitive":true |
| 2428 | + }, |
2384 | 2429 | "RepromptResponse":{ |
2385 | 2430 | "type":"structure", |
2386 | 2431 | "members":{ |
|
3156 | 3201 | "REPROMPT" |
3157 | 3202 | ] |
3158 | 3203 | }, |
| 3204 | + "Usage":{ |
| 3205 | + "type":"structure", |
| 3206 | + "members":{ |
| 3207 | + "inputTokens":{ |
| 3208 | + "shape":"Integer", |
| 3209 | + "documentation":"<p>Contains information about the input tokens from the foundation model usage.</p>" |
| 3210 | + }, |
| 3211 | + "outputTokens":{ |
| 3212 | + "shape":"Integer", |
| 3213 | + "documentation":"<p>Contains information about the output tokens from the foundation model usage.</p>" |
| 3214 | + } |
| 3215 | + }, |
| 3216 | + "documentation":"<p>Contains information of the usage of the foundation model.</p>", |
| 3217 | + "sensitive":true |
| 3218 | + }, |
3159 | 3219 | "ValidationException":{ |
3160 | 3220 | "type":"structure", |
3161 | 3221 | "members":{ |
|
0 commit comments