|
163 | 163 | "apiPath": {
|
164 | 164 | "shape": "ApiPath"
|
165 | 165 | },
|
| 166 | + "function": { |
| 167 | + "shape": "Function" |
| 168 | + }, |
166 | 169 | "parameters": {
|
167 | 170 | "shape": "Parameters"
|
168 | 171 | },
|
|
203 | 206 | "pattern": "^[0-9a-zA-Z]+$",
|
204 | 207 | "type": "string"
|
205 | 208 | },
|
| 209 | + "AgentVersion": { |
| 210 | + "max": 5, |
| 211 | + "min": 1, |
| 212 | + "pattern": "^(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})$", |
| 213 | + "type": "string" |
| 214 | + }, |
| 215 | + "ApiContentMap": { |
| 216 | + "key": { |
| 217 | + "shape": "String" |
| 218 | + }, |
| 219 | + "type": "map", |
| 220 | + "value": { |
| 221 | + "shape": "PropertyParameters" |
| 222 | + } |
| 223 | + }, |
| 224 | + "ApiInvocationInput": { |
| 225 | + "members": { |
| 226 | + "actionGroup": { |
| 227 | + "shape": "String" |
| 228 | + }, |
| 229 | + "apiPath": { |
| 230 | + "shape": "ApiPath" |
| 231 | + }, |
| 232 | + "httpMethod": { |
| 233 | + "shape": "String" |
| 234 | + }, |
| 235 | + "parameters": { |
| 236 | + "shape": "ApiParameters" |
| 237 | + }, |
| 238 | + "requestBody": { |
| 239 | + "shape": "ApiRequestBody" |
| 240 | + } |
| 241 | + }, |
| 242 | + "required": [ |
| 243 | + "actionGroup" |
| 244 | + ], |
| 245 | + "type": "structure" |
| 246 | + }, |
| 247 | + "ApiParameter": { |
| 248 | + "members": { |
| 249 | + "name": { |
| 250 | + "shape": "String" |
| 251 | + }, |
| 252 | + "type": { |
| 253 | + "shape": "String" |
| 254 | + }, |
| 255 | + "value": { |
| 256 | + "shape": "String" |
| 257 | + } |
| 258 | + }, |
| 259 | + "type": "structure" |
| 260 | + }, |
| 261 | + "ApiParameters": { |
| 262 | + "member": { |
| 263 | + "shape": "ApiParameter" |
| 264 | + }, |
| 265 | + "type": "list" |
| 266 | + }, |
206 | 267 | "ApiPath": {
|
207 | 268 | "sensitive": true,
|
208 | 269 | "type": "string"
|
209 | 270 | },
|
| 271 | + "ApiRequestBody": { |
| 272 | + "members": { |
| 273 | + "content": { |
| 274 | + "shape": "ApiContentMap" |
| 275 | + } |
| 276 | + }, |
| 277 | + "type": "structure" |
| 278 | + }, |
| 279 | + "ApiResult": { |
| 280 | + "members": { |
| 281 | + "actionGroup": { |
| 282 | + "shape": "String" |
| 283 | + }, |
| 284 | + "apiPath": { |
| 285 | + "shape": "ApiPath" |
| 286 | + }, |
| 287 | + "httpMethod": { |
| 288 | + "shape": "String" |
| 289 | + }, |
| 290 | + "httpStatusCode": { |
| 291 | + "shape": "Integer" |
| 292 | + }, |
| 293 | + "responseBody": { |
| 294 | + "shape": "ResponseBody" |
| 295 | + }, |
| 296 | + "responseState": { |
| 297 | + "shape": "ResponseState" |
| 298 | + } |
| 299 | + }, |
| 300 | + "required": [ |
| 301 | + "actionGroup" |
| 302 | + ], |
| 303 | + "type": "structure" |
| 304 | + }, |
210 | 305 | "Attribution": {
|
211 | 306 | "members": {
|
212 | 307 | "citations": {
|
|
271 | 366 | },
|
272 | 367 | "type": "structure"
|
273 | 368 | },
|
| 369 | + "ContentBody": { |
| 370 | + "members": { |
| 371 | + "body": { |
| 372 | + "shape": "String" |
| 373 | + } |
| 374 | + }, |
| 375 | + "type": "structure" |
| 376 | + }, |
274 | 377 | "ContentMap": {
|
275 | 378 | "key": {
|
276 | 379 | "shape": "String"
|
|
340 | 443 | "sensitive": true,
|
341 | 444 | "type": "string"
|
342 | 445 | },
|
| 446 | + "Function": { |
| 447 | + "sensitive": true, |
| 448 | + "type": "string" |
| 449 | + }, |
| 450 | + "FunctionInvocationInput": { |
| 451 | + "members": { |
| 452 | + "actionGroup": { |
| 453 | + "shape": "String" |
| 454 | + }, |
| 455 | + "function": { |
| 456 | + "shape": "String" |
| 457 | + }, |
| 458 | + "parameters": { |
| 459 | + "shape": "FunctionParameters" |
| 460 | + } |
| 461 | + }, |
| 462 | + "required": [ |
| 463 | + "actionGroup" |
| 464 | + ], |
| 465 | + "type": "structure" |
| 466 | + }, |
| 467 | + "FunctionParameter": { |
| 468 | + "members": { |
| 469 | + "name": { |
| 470 | + "shape": "String" |
| 471 | + }, |
| 472 | + "type": { |
| 473 | + "shape": "String" |
| 474 | + }, |
| 475 | + "value": { |
| 476 | + "shape": "String" |
| 477 | + } |
| 478 | + }, |
| 479 | + "type": "structure" |
| 480 | + }, |
| 481 | + "FunctionParameters": { |
| 482 | + "member": { |
| 483 | + "shape": "FunctionParameter" |
| 484 | + }, |
| 485 | + "type": "list" |
| 486 | + }, |
| 487 | + "FunctionResult": { |
| 488 | + "members": { |
| 489 | + "actionGroup": { |
| 490 | + "shape": "String" |
| 491 | + }, |
| 492 | + "function": { |
| 493 | + "shape": "String" |
| 494 | + }, |
| 495 | + "responseBody": { |
| 496 | + "shape": "ResponseBody" |
| 497 | + }, |
| 498 | + "responseState": { |
| 499 | + "shape": "ResponseState" |
| 500 | + } |
| 501 | + }, |
| 502 | + "required": [ |
| 503 | + "actionGroup" |
| 504 | + ], |
| 505 | + "type": "structure" |
| 506 | + }, |
343 | 507 | "GeneratedResponsePart": {
|
344 | 508 | "members": {
|
345 | 509 | "textResponsePart": {
|
|
382 | 546 | "sensitive": true,
|
383 | 547 | "type": "string"
|
384 | 548 | },
|
| 549 | + "Integer": { |
| 550 | + "box": true, |
| 551 | + "type": "integer" |
| 552 | + }, |
385 | 553 | "InternalServerException": {
|
386 | 554 | "error": {
|
387 | 555 | "httpStatusCode": 500
|
|
413 | 581 | "sensitive": true,
|
414 | 582 | "type": "structure"
|
415 | 583 | },
|
| 584 | + "InvocationInputMember": { |
| 585 | + "members": { |
| 586 | + "apiInvocationInput": { |
| 587 | + "shape": "ApiInvocationInput" |
| 588 | + }, |
| 589 | + "functionInvocationInput": { |
| 590 | + "shape": "FunctionInvocationInput" |
| 591 | + } |
| 592 | + }, |
| 593 | + "type": "structure", |
| 594 | + "union": true |
| 595 | + }, |
| 596 | + "InvocationInputs": { |
| 597 | + "max": 5, |
| 598 | + "member": { |
| 599 | + "shape": "InvocationInputMember" |
| 600 | + }, |
| 601 | + "min": 1, |
| 602 | + "type": "list" |
| 603 | + }, |
| 604 | + "InvocationResultMember": { |
| 605 | + "members": { |
| 606 | + "apiResult": { |
| 607 | + "shape": "ApiResult" |
| 608 | + }, |
| 609 | + "functionResult": { |
| 610 | + "shape": "FunctionResult" |
| 611 | + } |
| 612 | + }, |
| 613 | + "type": "structure", |
| 614 | + "union": true |
| 615 | + }, |
416 | 616 | "InvocationType": {
|
417 | 617 | "enum": [
|
418 | 618 | "ACTION_GROUP",
|
|
454 | 654 | "required": [
|
455 | 655 | "agentAliasId",
|
456 | 656 | "agentId",
|
457 |
| - "inputText", |
458 | 657 | "sessionId"
|
459 | 658 | ],
|
460 | 659 | "type": "structure"
|
|
722 | 921 | },
|
723 | 922 | "type": "structure"
|
724 | 923 | },
|
| 924 | + "ParameterList": { |
| 925 | + "member": { |
| 926 | + "shape": "Parameter" |
| 927 | + }, |
| 928 | + "type": "list" |
| 929 | + }, |
725 | 930 | "Parameters": {
|
726 | 931 | "member": {
|
727 | 932 | "shape": "Parameter"
|
|
848 | 1053 | ],
|
849 | 1054 | "type": "string"
|
850 | 1055 | },
|
| 1056 | + "PropertyParameters": { |
| 1057 | + "members": { |
| 1058 | + "properties": { |
| 1059 | + "shape": "ParameterList" |
| 1060 | + } |
| 1061 | + }, |
| 1062 | + "type": "structure" |
| 1063 | + }, |
851 | 1064 | "Rationale": {
|
852 | 1065 | "members": {
|
853 | 1066 | "text": {
|
|
897 | 1110 | },
|
898 | 1111 | "type": "structure"
|
899 | 1112 | },
|
| 1113 | + "ResponseBody": { |
| 1114 | + "key": { |
| 1115 | + "shape": "String" |
| 1116 | + }, |
| 1117 | + "type": "map", |
| 1118 | + "value": { |
| 1119 | + "shape": "ContentBody" |
| 1120 | + } |
| 1121 | + }, |
| 1122 | + "ResponseState": { |
| 1123 | + "enum": [ |
| 1124 | + "FAILURE", |
| 1125 | + "REPROMPT" |
| 1126 | + ], |
| 1127 | + "type": "string" |
| 1128 | + }, |
900 | 1129 | "ResponseStream": {
|
901 | 1130 | "eventstream": true,
|
902 | 1131 | "members": {
|
|
921 | 1150 | "resourceNotFoundException": {
|
922 | 1151 | "shape": "ResourceNotFoundException"
|
923 | 1152 | },
|
| 1153 | + "returnControl": { |
| 1154 | + "shape": "ReturnControlPayload" |
| 1155 | + }, |
924 | 1156 | "serviceQuotaExceededException": {
|
925 | 1157 | "shape": "ServiceQuotaExceededException"
|
926 | 1158 | },
|
|
1155 | 1387 | },
|
1156 | 1388 | "type": "list"
|
1157 | 1389 | },
|
| 1390 | + "ReturnControlInvocationResults": { |
| 1391 | + "max": 5, |
| 1392 | + "member": { |
| 1393 | + "shape": "InvocationResultMember" |
| 1394 | + }, |
| 1395 | + "min": 1, |
| 1396 | + "type": "list" |
| 1397 | + }, |
| 1398 | + "ReturnControlPayload": { |
| 1399 | + "event": true, |
| 1400 | + "members": { |
| 1401 | + "invocationId": { |
| 1402 | + "shape": "String" |
| 1403 | + }, |
| 1404 | + "invocationInputs": { |
| 1405 | + "shape": "InvocationInputs" |
| 1406 | + } |
| 1407 | + }, |
| 1408 | + "sensitive": true, |
| 1409 | + "type": "structure" |
| 1410 | + }, |
1158 | 1411 | "SearchType": {
|
1159 | 1412 | "enum": [
|
1160 | 1413 | "HYBRID",
|
|
1192 | 1445 | },
|
1193 | 1446 | "SessionState": {
|
1194 | 1447 | "members": {
|
| 1448 | + "invocationId": { |
| 1449 | + "shape": "String" |
| 1450 | + }, |
1195 | 1451 | "promptSessionAttributes": {
|
1196 | 1452 | "shape": "PromptSessionAttributesMap"
|
1197 | 1453 | },
|
| 1454 | + "returnControlInvocationResults": { |
| 1455 | + "shape": "ReturnControlInvocationResults" |
| 1456 | + }, |
1198 | 1457 | "sessionAttributes": {
|
1199 | 1458 | "shape": "SessionAttributesMap"
|
1200 | 1459 | }
|
|
1328 | 1587 | "agentId": {
|
1329 | 1588 | "shape": "AgentId"
|
1330 | 1589 | },
|
| 1590 | + "agentVersion": { |
| 1591 | + "shape": "AgentVersion" |
| 1592 | + }, |
1331 | 1593 | "sessionId": {
|
1332 | 1594 | "shape": "SessionId"
|
1333 | 1595 | },
|
|
0 commit comments