|
1314 | 1314 | },
|
1315 | 1315 | "FlowCompletionReason":{
|
1316 | 1316 | "type":"string",
|
1317 |
| - "enum":["SUCCESS"] |
| 1317 | + "enum":[ |
| 1318 | + "SUCCESS", |
| 1319 | + "INPUT_REQUIRED" |
| 1320 | + ] |
| 1321 | + }, |
| 1322 | + "FlowExecutionId":{ |
| 1323 | + "type":"string", |
| 1324 | + "max":100, |
| 1325 | + "min":2, |
| 1326 | + "pattern":"^[0-9a-zA-Z._:-]+$" |
1318 | 1327 | },
|
1319 | 1328 | "FlowIdentifier":{
|
1320 | 1329 | "type":"string",
|
|
1326 | 1335 | "type":"structure",
|
1327 | 1336 | "required":[
|
1328 | 1337 | "content",
|
1329 |
| - "nodeName", |
1330 |
| - "nodeOutputName" |
| 1338 | + "nodeName" |
1331 | 1339 | ],
|
1332 | 1340 | "members":{
|
1333 | 1341 | "content":{
|
1334 | 1342 | "shape":"FlowInputContent",
|
1335 | 1343 | "documentation":"<p>Contains information about an input into the prompt flow.</p>"
|
1336 | 1344 | },
|
| 1345 | + "nodeInputName":{ |
| 1346 | + "shape":"NodeInputName", |
| 1347 | + "documentation":"<p>The name of the input from the flow input node.</p>" |
| 1348 | + }, |
1337 | 1349 | "nodeName":{
|
1338 | 1350 | "shape":"NodeName",
|
1339 | 1351 | "documentation":"<p>The name of the flow input node that begins the prompt flow.</p>"
|
|
1363 | 1375 | "max":1,
|
1364 | 1376 | "min":1
|
1365 | 1377 | },
|
| 1378 | + "FlowMultiTurnInputContent":{ |
| 1379 | + "type":"structure", |
| 1380 | + "members":{ |
| 1381 | + "document":{ |
| 1382 | + "shape":"Document", |
| 1383 | + "documentation":"<p>The requested additional input to send back to the multi-turn flow node.</p>" |
| 1384 | + } |
| 1385 | + }, |
| 1386 | + "documentation":"<p>The content structure containing input information for multi-turn flow interactions.</p>", |
| 1387 | + "union":true |
| 1388 | + }, |
| 1389 | + "FlowMultiTurnInputRequestEvent":{ |
| 1390 | + "type":"structure", |
| 1391 | + "required":[ |
| 1392 | + "content", |
| 1393 | + "nodeName", |
| 1394 | + "nodeType" |
| 1395 | + ], |
| 1396 | + "members":{ |
| 1397 | + "content":{ |
| 1398 | + "shape":"FlowMultiTurnInputContent", |
| 1399 | + "documentation":"<p>The content payload containing the input request details for the multi-turn interaction.</p>" |
| 1400 | + }, |
| 1401 | + "nodeName":{ |
| 1402 | + "shape":"NodeName", |
| 1403 | + "documentation":"<p>The name of the node in the flow that is requesting the input.</p>" |
| 1404 | + }, |
| 1405 | + "nodeType":{ |
| 1406 | + "shape":"NodeType", |
| 1407 | + "documentation":"<p>The type of the node in the flow that is requesting the input.</p>" |
| 1408 | + } |
| 1409 | + }, |
| 1410 | + "documentation":"<p>Response object from the flow multi-turn node requesting additional information.</p>", |
| 1411 | + "event":true, |
| 1412 | + "sensitive":true |
| 1413 | + }, |
1366 | 1414 | "FlowOutputContent":{
|
1367 | 1415 | "type":"structure",
|
1368 | 1416 | "members":{
|
|
1422 | 1470 | "shape":"FlowCompletionEvent",
|
1423 | 1471 | "documentation":"<p>Contains information about why the flow completed.</p>"
|
1424 | 1472 | },
|
| 1473 | + "flowMultiTurnInputRequestEvent":{ |
| 1474 | + "shape":"FlowMultiTurnInputRequestEvent", |
| 1475 | + "documentation":"<p>The event stream containing the multi-turn input request information from the flow.</p>" |
| 1476 | + }, |
1425 | 1477 | "flowOutputEvent":{
|
1426 | 1478 | "shape":"FlowOutputEvent",
|
1427 | 1479 | "documentation":"<p>Contains information about an output from flow invocation.</p>"
|
|
2805 | 2857 | "shape":"Boolean",
|
2806 | 2858 | "documentation":"<p>Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/flows-trace.html\">Track each step in your prompt flow by viewing its trace in Amazon Bedrock</a>.</p>"
|
2807 | 2859 | },
|
| 2860 | + "executionId":{ |
| 2861 | + "shape":"FlowExecutionId", |
| 2862 | + "documentation":"<p>The unique identifier for the current flow execution. If you don't provide a value, Amazon Bedrock creates the identifier for you. </p>" |
| 2863 | + }, |
2808 | 2864 | "flowAliasIdentifier":{
|
2809 | 2865 | "shape":"FlowAliasIdentifier",
|
2810 | 2866 | "documentation":"<p>The unique identifier of the flow alias.</p>",
|
|
2831 | 2887 | "type":"structure",
|
2832 | 2888 | "required":["responseStream"],
|
2833 | 2889 | "members":{
|
| 2890 | + "executionId":{ |
| 2891 | + "shape":"FlowExecutionId", |
| 2892 | + "documentation":"<p>The unique identifier for the current flow execution.</p>", |
| 2893 | + "location":"header", |
| 2894 | + "locationName":"x-amz-bedrock-flow-execution-id" |
| 2895 | + }, |
2834 | 2896 | "responseStream":{
|
2835 | 2897 | "shape":"FlowResponseStream",
|
2836 | 2898 | "documentation":"<p>The output of the flow, returned as a stream. If there's an error, the error is returned.</p>"
|
|
0 commit comments