|
42 | 42 | "output":{"shape":"ConverseResponse"}, |
43 | 43 | "errors":[ |
44 | 44 | {"shape":"AccessDeniedException"}, |
45 | | - {"shape":"ResourceNotFoundException"}, |
46 | 45 | {"shape":"ThrottlingException"}, |
| 46 | + {"shape":"ResourceNotFoundException"}, |
47 | 47 | {"shape":"ModelTimeoutException"}, |
48 | 48 | {"shape":"InternalServerException"}, |
49 | 49 | {"shape":"ServiceUnavailableException"}, |
|
63 | 63 | "output":{"shape":"ConverseStreamResponse"}, |
64 | 64 | "errors":[ |
65 | 65 | {"shape":"AccessDeniedException"}, |
66 | | - {"shape":"ResourceNotFoundException"}, |
67 | 66 | {"shape":"ThrottlingException"}, |
| 67 | + {"shape":"ResourceNotFoundException"}, |
68 | 68 | {"shape":"ModelTimeoutException"}, |
69 | 69 | {"shape":"InternalServerException"}, |
70 | 70 | {"shape":"ServiceUnavailableException"}, |
|
106 | 106 | {"shape":"InternalServerException"}, |
107 | 107 | {"shape":"ServiceUnavailableException"}, |
108 | 108 | {"shape":"ValidationException"}, |
| 109 | + {"shape":"ServiceQuotaExceededException"}, |
109 | 110 | {"shape":"ModelNotReadyException"}, |
| 111 | + {"shape":"ModelErrorException"} |
| 112 | + ] |
| 113 | + }, |
| 114 | + "InvokeModelWithBidirectionalStream":{ |
| 115 | + "name":"InvokeModelWithBidirectionalStream", |
| 116 | + "http":{ |
| 117 | + "method":"POST", |
| 118 | + "requestUri":"/model/{modelId}/invoke-with-bidirectional-stream", |
| 119 | + "responseCode":200 |
| 120 | + }, |
| 121 | + "input":{"shape":"InvokeModelWithBidirectionalStreamRequest"}, |
| 122 | + "output":{"shape":"InvokeModelWithBidirectionalStreamResponse"}, |
| 123 | + "errors":[ |
| 124 | + {"shape":"AccessDeniedException"}, |
| 125 | + {"shape":"ResourceNotFoundException"}, |
| 126 | + {"shape":"ThrottlingException"}, |
| 127 | + {"shape":"ModelTimeoutException"}, |
| 128 | + {"shape":"InternalServerException"}, |
| 129 | + {"shape":"ServiceUnavailableException"}, |
| 130 | + {"shape":"ModelStreamErrorException"}, |
| 131 | + {"shape":"ValidationException"}, |
110 | 132 | {"shape":"ServiceQuotaExceededException"}, |
| 133 | + {"shape":"ModelNotReadyException"}, |
111 | 134 | {"shape":"ModelErrorException"} |
112 | 135 | ] |
113 | 136 | }, |
|
129 | 152 | {"shape":"ServiceUnavailableException"}, |
130 | 153 | {"shape":"ModelStreamErrorException"}, |
131 | 154 | {"shape":"ValidationException"}, |
132 | | - {"shape":"ModelNotReadyException"}, |
133 | 155 | {"shape":"ServiceQuotaExceededException"}, |
| 156 | + {"shape":"ModelNotReadyException"}, |
134 | 157 | {"shape":"ModelErrorException"} |
135 | 158 | ] |
136 | 159 | }, |
|
161 | 184 | "output":{"shape":"StartAsyncInvokeResponse"}, |
162 | 185 | "errors":[ |
163 | 186 | {"shape":"AccessDeniedException"}, |
164 | | - {"shape":"ResourceNotFoundException"}, |
165 | 187 | {"shape":"ThrottlingException"}, |
| 188 | + {"shape":"ResourceNotFoundException"}, |
166 | 189 | {"shape":"InternalServerException"}, |
167 | 190 | {"shape":"ServiceUnavailableException"}, |
168 | 191 | {"shape":"ValidationException"}, |
|
311 | 334 | "members":{ |
312 | 335 | } |
313 | 336 | }, |
| 337 | + "BidirectionalInputPayloadPart":{ |
| 338 | + "type":"structure", |
| 339 | + "members":{ |
| 340 | + "bytes":{"shape":"PartBody"} |
| 341 | + }, |
| 342 | + "event":true, |
| 343 | + "sensitive":true |
| 344 | + }, |
| 345 | + "BidirectionalOutputPayloadPart":{ |
| 346 | + "type":"structure", |
| 347 | + "members":{ |
| 348 | + "bytes":{"shape":"PartBody"} |
| 349 | + }, |
| 350 | + "event":true, |
| 351 | + "sensitive":true |
| 352 | + }, |
314 | 353 | "Blob":{"type":"blob"}, |
315 | 354 | "Body":{ |
316 | 355 | "type":"blob", |
|
1429 | 1468 | }, |
1430 | 1469 | "payload":"body" |
1431 | 1470 | }, |
| 1471 | + "InvokeModelWithBidirectionalStreamInput":{ |
| 1472 | + "type":"structure", |
| 1473 | + "members":{ |
| 1474 | + "chunk":{"shape":"BidirectionalInputPayloadPart"} |
| 1475 | + }, |
| 1476 | + "eventstream":true |
| 1477 | + }, |
| 1478 | + "InvokeModelWithBidirectionalStreamOutput":{ |
| 1479 | + "type":"structure", |
| 1480 | + "members":{ |
| 1481 | + "chunk":{"shape":"BidirectionalOutputPayloadPart"}, |
| 1482 | + "internalServerException":{"shape":"InternalServerException"}, |
| 1483 | + "modelStreamErrorException":{"shape":"ModelStreamErrorException"}, |
| 1484 | + "validationException":{"shape":"ValidationException"}, |
| 1485 | + "throttlingException":{"shape":"ThrottlingException"}, |
| 1486 | + "modelTimeoutException":{"shape":"ModelTimeoutException"}, |
| 1487 | + "serviceUnavailableException":{"shape":"ServiceUnavailableException"} |
| 1488 | + }, |
| 1489 | + "eventstream":true |
| 1490 | + }, |
| 1491 | + "InvokeModelWithBidirectionalStreamRequest":{ |
| 1492 | + "type":"structure", |
| 1493 | + "required":[ |
| 1494 | + "modelId", |
| 1495 | + "body" |
| 1496 | + ], |
| 1497 | + "members":{ |
| 1498 | + "modelId":{ |
| 1499 | + "shape":"InvokeModelIdentifier", |
| 1500 | + "location":"uri", |
| 1501 | + "locationName":"modelId" |
| 1502 | + }, |
| 1503 | + "body":{"shape":"InvokeModelWithBidirectionalStreamInput"} |
| 1504 | + }, |
| 1505 | + "payload":"body" |
| 1506 | + }, |
| 1507 | + "InvokeModelWithBidirectionalStreamResponse":{ |
| 1508 | + "type":"structure", |
| 1509 | + "required":["body"], |
| 1510 | + "members":{ |
| 1511 | + "body":{"shape":"InvokeModelWithBidirectionalStreamOutput"} |
| 1512 | + }, |
| 1513 | + "payload":"body" |
| 1514 | + }, |
1432 | 1515 | "InvokeModelWithResponseStreamRequest":{ |
1433 | 1516 | "type":"structure", |
1434 | 1517 | "required":["modelId"], |
|
0 commit comments