| 1 | { |
| 2 | "version":"2.0", |
| 3 | "metadata":{ |
| 4 | "apiVersion":"2020-10-19", |
| 5 | "endpointPrefix":"wisdom", |
| 6 | "jsonVersion":"1.1", |
| 7 | "protocol":"rest-json", |
| 8 | "serviceFullName":"Amazon Q Connect", |
| 9 | "serviceId":"QConnect", |
| 10 | "signatureVersion":"v4", |
| 11 | "signingName":"wisdom", |
| 12 | "uid":"qconnect-2020-10-19" |
| 13 | }, |
| 14 | "operations":{ |
| 15 | "CreateAssistant":{ |
| 16 | "name":"CreateAssistant", |
| 17 | "http":{ |
| 18 | "method":"POST", |
| 19 | "requestUri":"/assistants", |
| 20 | "responseCode":200 |
| 21 | }, |
| 22 | "input":{"shape":"CreateAssistantRequest"}, |
| 23 | "output":{"shape":"CreateAssistantResponse"}, |
| 24 | "errors":[ |
| 25 | {"shape":"ConflictException"}, |
| 26 | {"shape":"ValidationException"}, |
| 27 | {"shape":"ServiceQuotaExceededException"}, |
| 28 | {"shape":"AccessDeniedException"} |
| 29 | ], |
| 30 | "idempotent":true |
| 31 | }, |
| 32 | "CreateAssistantAssociation":{ |
| 33 | "name":"CreateAssistantAssociation", |
| 34 | "http":{ |
| 35 | "method":"POST", |
| 36 | "requestUri":"/assistants/{assistantId}/associations", |
| 37 | "responseCode":200 |
| 38 | }, |
| 39 | "input":{"shape":"CreateAssistantAssociationRequest"}, |
| 40 | "output":{"shape":"CreateAssistantAssociationResponse"}, |
| 41 | "errors":[ |
| 42 | {"shape":"ConflictException"}, |
| 43 | {"shape":"ValidationException"}, |
| 44 | {"shape":"ServiceQuotaExceededException"}, |
| 45 | {"shape":"AccessDeniedException"}, |
| 46 | {"shape":"ResourceNotFoundException"} |
| 47 | ], |
| 48 | "idempotent":true |
| 49 | }, |
| 50 | "CreateContent":{ |
| 51 | "name":"CreateContent", |
| 52 | "http":{ |
| 53 | "method":"POST", |
| 54 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents", |
| 55 | "responseCode":200 |
| 56 | }, |
| 57 | "input":{"shape":"CreateContentRequest"}, |
| 58 | "output":{"shape":"CreateContentResponse"}, |
| 59 | "errors":[ |
| 60 | {"shape":"ConflictException"}, |
| 61 | {"shape":"ValidationException"}, |
| 62 | {"shape":"ServiceQuotaExceededException"}, |
| 63 | {"shape":"AccessDeniedException"}, |
| 64 | {"shape":"ResourceNotFoundException"} |
| 65 | ], |
| 66 | "idempotent":true |
| 67 | }, |
| 68 | "CreateKnowledgeBase":{ |
| 69 | "name":"CreateKnowledgeBase", |
| 70 | "http":{ |
| 71 | "method":"POST", |
| 72 | "requestUri":"/knowledgeBases", |
| 73 | "responseCode":200 |
| 74 | }, |
| 75 | "input":{"shape":"CreateKnowledgeBaseRequest"}, |
| 76 | "output":{"shape":"CreateKnowledgeBaseResponse"}, |
| 77 | "errors":[ |
| 78 | {"shape":"ConflictException"}, |
| 79 | {"shape":"ValidationException"}, |
| 80 | {"shape":"ServiceQuotaExceededException"}, |
| 81 | {"shape":"AccessDeniedException"} |
| 82 | ], |
| 83 | "idempotent":true |
| 84 | }, |
| 85 | "CreateQuickResponse":{ |
| 86 | "name":"CreateQuickResponse", |
| 87 | "http":{ |
| 88 | "method":"POST", |
| 89 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses", |
| 90 | "responseCode":200 |
| 91 | }, |
| 92 | "input":{"shape":"CreateQuickResponseRequest"}, |
| 93 | "output":{"shape":"CreateQuickResponseResponse"}, |
| 94 | "errors":[ |
| 95 | {"shape":"ConflictException"}, |
| 96 | {"shape":"ValidationException"}, |
| 97 | {"shape":"ServiceQuotaExceededException"}, |
| 98 | {"shape":"AccessDeniedException"}, |
| 99 | {"shape":"ResourceNotFoundException"} |
| 100 | ], |
| 101 | "idempotent":true |
| 102 | }, |
| 103 | "CreateSession":{ |
| 104 | "name":"CreateSession", |
| 105 | "http":{ |
| 106 | "method":"POST", |
| 107 | "requestUri":"/assistants/{assistantId}/sessions", |
| 108 | "responseCode":200 |
| 109 | }, |
| 110 | "input":{"shape":"CreateSessionRequest"}, |
| 111 | "output":{"shape":"CreateSessionResponse"}, |
| 112 | "errors":[ |
| 113 | {"shape":"ConflictException"}, |
| 114 | {"shape":"ValidationException"}, |
| 115 | {"shape":"ResourceNotFoundException"} |
| 116 | ], |
| 117 | "idempotent":true |
| 118 | }, |
| 119 | "DeleteAssistant":{ |
| 120 | "name":"DeleteAssistant", |
| 121 | "http":{ |
| 122 | "method":"DELETE", |
| 123 | "requestUri":"/assistants/{assistantId}", |
| 124 | "responseCode":204 |
| 125 | }, |
| 126 | "input":{"shape":"DeleteAssistantRequest"}, |
| 127 | "output":{"shape":"DeleteAssistantResponse"}, |
| 128 | "errors":[ |
| 129 | {"shape":"ValidationException"}, |
| 130 | {"shape":"AccessDeniedException"}, |
| 131 | {"shape":"ResourceNotFoundException"} |
| 132 | ], |
| 133 | "idempotent":true |
| 134 | }, |
| 135 | "DeleteAssistantAssociation":{ |
| 136 | "name":"DeleteAssistantAssociation", |
| 137 | "http":{ |
| 138 | "method":"DELETE", |
| 139 | "requestUri":"/assistants/{assistantId}/associations/{assistantAssociationId}", |
| 140 | "responseCode":204 |
| 141 | }, |
| 142 | "input":{"shape":"DeleteAssistantAssociationRequest"}, |
| 143 | "output":{"shape":"DeleteAssistantAssociationResponse"}, |
| 144 | "errors":[ |
| 145 | {"shape":"ValidationException"}, |
| 146 | {"shape":"AccessDeniedException"}, |
| 147 | {"shape":"ResourceNotFoundException"} |
| 148 | ], |
| 149 | "idempotent":true |
| 150 | }, |
| 151 | "DeleteContent":{ |
| 152 | "name":"DeleteContent", |
| 153 | "http":{ |
| 154 | "method":"DELETE", |
| 155 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", |
| 156 | "responseCode":204 |
| 157 | }, |
| 158 | "input":{"shape":"DeleteContentRequest"}, |
| 159 | "output":{"shape":"DeleteContentResponse"}, |
| 160 | "errors":[ |
| 161 | {"shape":"ValidationException"}, |
| 162 | {"shape":"AccessDeniedException"}, |
| 163 | {"shape":"ResourceNotFoundException"} |
| 164 | ], |
| 165 | "idempotent":true |
| 166 | }, |
| 167 | "DeleteImportJob":{ |
| 168 | "name":"DeleteImportJob", |
| 169 | "http":{ |
| 170 | "method":"DELETE", |
| 171 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", |
| 172 | "responseCode":204 |
| 173 | }, |
| 174 | "input":{"shape":"DeleteImportJobRequest"}, |
| 175 | "output":{"shape":"DeleteImportJobResponse"}, |
| 176 | "errors":[ |
| 177 | {"shape":"ConflictException"}, |
| 178 | {"shape":"ValidationException"}, |
| 179 | {"shape":"AccessDeniedException"}, |
| 180 | {"shape":"ResourceNotFoundException"} |
| 181 | ], |
| 182 | "idempotent":true |
| 183 | }, |
| 184 | "DeleteKnowledgeBase":{ |
| 185 | "name":"DeleteKnowledgeBase", |
| 186 | "http":{ |
| 187 | "method":"DELETE", |
| 188 | "requestUri":"/knowledgeBases/{knowledgeBaseId}", |
| 189 | "responseCode":204 |
| 190 | }, |
| 191 | "input":{"shape":"DeleteKnowledgeBaseRequest"}, |
| 192 | "output":{"shape":"DeleteKnowledgeBaseResponse"}, |
| 193 | "errors":[ |
| 194 | {"shape":"ConflictException"}, |
| 195 | {"shape":"ValidationException"}, |
| 196 | {"shape":"AccessDeniedException"}, |
| 197 | {"shape":"ResourceNotFoundException"} |
| 198 | ], |
| 199 | "idempotent":true |
| 200 | }, |
| 201 | "DeleteQuickResponse":{ |
| 202 | "name":"DeleteQuickResponse", |
| 203 | "http":{ |
| 204 | "method":"DELETE", |
| 205 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", |
| 206 | "responseCode":204 |
| 207 | }, |
| 208 | "input":{"shape":"DeleteQuickResponseRequest"}, |
| 209 | "output":{"shape":"DeleteQuickResponseResponse"}, |
| 210 | "errors":[ |
| 211 | {"shape":"ValidationException"}, |
| 212 | {"shape":"AccessDeniedException"}, |
| 213 | {"shape":"ResourceNotFoundException"} |
| 214 | ], |
| 215 | "idempotent":true |
| 216 | }, |
| 217 | "GetAssistant":{ |
| 218 | "name":"GetAssistant", |
| 219 | "http":{ |
| 220 | "method":"GET", |
| 221 | "requestUri":"/assistants/{assistantId}", |
| 222 | "responseCode":200 |
| 223 | }, |
| 224 | "input":{"shape":"GetAssistantRequest"}, |
| 225 | "output":{"shape":"GetAssistantResponse"}, |
| 226 | "errors":[ |
| 227 | {"shape":"ValidationException"}, |
| 228 | {"shape":"AccessDeniedException"}, |
| 229 | {"shape":"ResourceNotFoundException"} |
| 230 | ] |
| 231 | }, |
| 232 | "GetAssistantAssociation":{ |
| 233 | "name":"GetAssistantAssociation", |
| 234 | "http":{ |
| 235 | "method":"GET", |
| 236 | "requestUri":"/assistants/{assistantId}/associations/{assistantAssociationId}", |
| 237 | "responseCode":200 |
| 238 | }, |
| 239 | "input":{"shape":"GetAssistantAssociationRequest"}, |
| 240 | "output":{"shape":"GetAssistantAssociationResponse"}, |
| 241 | "errors":[ |
| 242 | {"shape":"ValidationException"}, |
| 243 | {"shape":"AccessDeniedException"}, |
| 244 | {"shape":"ResourceNotFoundException"} |
| 245 | ] |
| 246 | }, |
| 247 | "GetContent":{ |
| 248 | "name":"GetContent", |
| 249 | "http":{ |
| 250 | "method":"GET", |
| 251 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", |
| 252 | "responseCode":200 |
| 253 | }, |
| 254 | "input":{"shape":"GetContentRequest"}, |
| 255 | "output":{"shape":"GetContentResponse"}, |
| 256 | "errors":[ |
| 257 | {"shape":"ValidationException"}, |
| 258 | {"shape":"AccessDeniedException"}, |
| 259 | {"shape":"ResourceNotFoundException"} |
| 260 | ] |
| 261 | }, |
| 262 | "GetContentSummary":{ |
| 263 | "name":"GetContentSummary", |
| 264 | "http":{ |
| 265 | "method":"GET", |
| 266 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary", |
| 267 | "responseCode":200 |
| 268 | }, |
| 269 | "input":{"shape":"GetContentSummaryRequest"}, |
| 270 | "output":{"shape":"GetContentSummaryResponse"}, |
| 271 | "errors":[ |
| 272 | {"shape":"ValidationException"}, |
| 273 | {"shape":"AccessDeniedException"}, |
| 274 | {"shape":"ResourceNotFoundException"} |
| 275 | ] |
| 276 | }, |
| 277 | "GetImportJob":{ |
| 278 | "name":"GetImportJob", |
| 279 | "http":{ |
| 280 | "method":"GET", |
| 281 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", |
| 282 | "responseCode":200 |
| 283 | }, |
| 284 | "input":{"shape":"GetImportJobRequest"}, |
| 285 | "output":{"shape":"GetImportJobResponse"}, |
| 286 | "errors":[ |
| 287 | {"shape":"ValidationException"}, |
| 288 | {"shape":"AccessDeniedException"}, |
| 289 | {"shape":"ResourceNotFoundException"} |
| 290 | ] |
| 291 | }, |
| 292 | "GetKnowledgeBase":{ |
| 293 | "name":"GetKnowledgeBase", |
| 294 | "http":{ |
| 295 | "method":"GET", |
| 296 | "requestUri":"/knowledgeBases/{knowledgeBaseId}", |
| 297 | "responseCode":200 |
| 298 | }, |
| 299 | "input":{"shape":"GetKnowledgeBaseRequest"}, |
| 300 | "output":{"shape":"GetKnowledgeBaseResponse"}, |
| 301 | "errors":[ |
| 302 | {"shape":"ValidationException"}, |
| 303 | {"shape":"AccessDeniedException"}, |
| 304 | {"shape":"ResourceNotFoundException"} |
| 305 | ] |
| 306 | }, |
| 307 | "GetQuickResponse":{ |
| 308 | "name":"GetQuickResponse", |
| 309 | "http":{ |
| 310 | "method":"GET", |
| 311 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", |
| 312 | "responseCode":200 |
| 313 | }, |
| 314 | "input":{"shape":"GetQuickResponseRequest"}, |
| 315 | "output":{"shape":"GetQuickResponseResponse"}, |
| 316 | "errors":[ |
| 317 | {"shape":"ValidationException"}, |
| 318 | {"shape":"AccessDeniedException"}, |
| 319 | {"shape":"ResourceNotFoundException"} |
| 320 | ] |
| 321 | }, |
| 322 | "GetRecommendations":{ |
| 323 | "name":"GetRecommendations", |
| 324 | "http":{ |
| 325 | "method":"GET", |
| 326 | "requestUri":"/assistants/{assistantId}/sessions/{sessionId}/recommendations", |
| 327 | "responseCode":200 |
| 328 | }, |
| 329 | "input":{"shape":"GetRecommendationsRequest"}, |
| 330 | "output":{"shape":"GetRecommendationsResponse"}, |
| 331 | "errors":[ |
| 332 | {"shape":"ValidationException"}, |
| 333 | {"shape":"AccessDeniedException"}, |
| 334 | {"shape":"ResourceNotFoundException"} |
| 335 | ] |
| 336 | }, |
| 337 | "GetSession":{ |
| 338 | "name":"GetSession", |
| 339 | "http":{ |
| 340 | "method":"GET", |
| 341 | "requestUri":"/assistants/{assistantId}/sessions/{sessionId}", |
| 342 | "responseCode":200 |
| 343 | }, |
| 344 | "input":{"shape":"GetSessionRequest"}, |
| 345 | "output":{"shape":"GetSessionResponse"}, |
| 346 | "errors":[ |
| 347 | {"shape":"ValidationException"}, |
| 348 | {"shape":"AccessDeniedException"}, |
| 349 | {"shape":"ResourceNotFoundException"} |
| 350 | ] |
| 351 | }, |
| 352 | "ListAssistantAssociations":{ |
| 353 | "name":"ListAssistantAssociations", |
| 354 | "http":{ |
| 355 | "method":"GET", |
| 356 | "requestUri":"/assistants/{assistantId}/associations", |
| 357 | "responseCode":200 |
| 358 | }, |
| 359 | "input":{"shape":"ListAssistantAssociationsRequest"}, |
| 360 | "output":{"shape":"ListAssistantAssociationsResponse"}, |
| 361 | "errors":[ |
| 362 | {"shape":"ValidationException"}, |
| 363 | {"shape":"AccessDeniedException"}, |
| 364 | {"shape":"ResourceNotFoundException"} |
| 365 | ] |
| 366 | }, |
| 367 | "ListAssistants":{ |
| 368 | "name":"ListAssistants", |
| 369 | "http":{ |
| 370 | "method":"GET", |
| 371 | "requestUri":"/assistants", |
| 372 | "responseCode":200 |
| 373 | }, |
| 374 | "input":{"shape":"ListAssistantsRequest"}, |
| 375 | "output":{"shape":"ListAssistantsResponse"}, |
| 376 | "errors":[ |
| 377 | {"shape":"ValidationException"}, |
| 378 | {"shape":"AccessDeniedException"} |
| 379 | ] |
| 380 | }, |
| 381 | "ListContents":{ |
| 382 | "name":"ListContents", |
| 383 | "http":{ |
| 384 | "method":"GET", |
| 385 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents", |
| 386 | "responseCode":200 |
| 387 | }, |
| 388 | "input":{"shape":"ListContentsRequest"}, |
| 389 | "output":{"shape":"ListContentsResponse"}, |
| 390 | "errors":[ |
| 391 | {"shape":"ValidationException"}, |
| 392 | {"shape":"AccessDeniedException"}, |
| 393 | {"shape":"ResourceNotFoundException"} |
| 394 | ] |
| 395 | }, |
| 396 | "ListImportJobs":{ |
| 397 | "name":"ListImportJobs", |
| 398 | "http":{ |
| 399 | "method":"GET", |
| 400 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/importJobs", |
| 401 | "responseCode":200 |
| 402 | }, |
| 403 | "input":{"shape":"ListImportJobsRequest"}, |
| 404 | "output":{"shape":"ListImportJobsResponse"}, |
| 405 | "errors":[ |
| 406 | {"shape":"ValidationException"}, |
| 407 | {"shape":"AccessDeniedException"} |
| 408 | ] |
| 409 | }, |
| 410 | "ListKnowledgeBases":{ |
| 411 | "name":"ListKnowledgeBases", |
| 412 | "http":{ |
| 413 | "method":"GET", |
| 414 | "requestUri":"/knowledgeBases", |
| 415 | "responseCode":200 |
| 416 | }, |
| 417 | "input":{"shape":"ListKnowledgeBasesRequest"}, |
| 418 | "output":{"shape":"ListKnowledgeBasesResponse"}, |
| 419 | "errors":[ |
| 420 | {"shape":"ValidationException"}, |
| 421 | {"shape":"AccessDeniedException"} |
| 422 | ] |
| 423 | }, |
| 424 | "ListQuickResponses":{ |
| 425 | "name":"ListQuickResponses", |
| 426 | "http":{ |
| 427 | "method":"GET", |
| 428 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses", |
| 429 | "responseCode":200 |
| 430 | }, |
| 431 | "input":{"shape":"ListQuickResponsesRequest"}, |
| 432 | "output":{"shape":"ListQuickResponsesResponse"}, |
| 433 | "errors":[ |
| 434 | {"shape":"ValidationException"}, |
| 435 | {"shape":"AccessDeniedException"}, |
| 436 | {"shape":"ResourceNotFoundException"} |
| 437 | ] |
| 438 | }, |
| 439 | "ListTagsForResource":{ |
| 440 | "name":"ListTagsForResource", |
| 441 | "http":{ |
| 442 | "method":"GET", |
| 443 | "requestUri":"/tags/{resourceArn}", |
| 444 | "responseCode":200 |
| 445 | }, |
| 446 | "input":{"shape":"ListTagsForResourceRequest"}, |
| 447 | "output":{"shape":"ListTagsForResourceResponse"}, |
| 448 | "errors":[ |
| 449 | {"shape":"ResourceNotFoundException"} |
| 450 | ] |
| 451 | }, |
| 452 | "NotifyRecommendationsReceived":{ |
| 453 | "name":"NotifyRecommendationsReceived", |
| 454 | "http":{ |
| 455 | "method":"POST", |
| 456 | "requestUri":"/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify", |
| 457 | "responseCode":200 |
| 458 | }, |
| 459 | "input":{"shape":"NotifyRecommendationsReceivedRequest"}, |
| 460 | "output":{"shape":"NotifyRecommendationsReceivedResponse"}, |
| 461 | "errors":[ |
| 462 | {"shape":"ValidationException"}, |
| 463 | {"shape":"AccessDeniedException"}, |
| 464 | {"shape":"ResourceNotFoundException"} |
| 465 | ], |
| 466 | "idempotent":true |
| 467 | }, |
| 468 | "PutFeedback":{ |
| 469 | "name":"PutFeedback", |
| 470 | "http":{ |
| 471 | "method":"PUT", |
| 472 | "requestUri":"/assistants/{assistantId}/feedback", |
| 473 | "responseCode":200 |
| 474 | }, |
| 475 | "input":{"shape":"PutFeedbackRequest"}, |
| 476 | "output":{"shape":"PutFeedbackResponse"}, |
| 477 | "errors":[ |
| 478 | {"shape":"ValidationException"}, |
| 479 | {"shape":"AccessDeniedException"}, |
| 480 | {"shape":"ResourceNotFoundException"} |
| 481 | ], |
| 482 | "idempotent":true |
| 483 | }, |
| 484 | "QueryAssistant":{ |
| 485 | "name":"QueryAssistant", |
| 486 | "http":{ |
| 487 | "method":"POST", |
| 488 | "requestUri":"/assistants/{assistantId}/query", |
| 489 | "responseCode":200 |
| 490 | }, |
| 491 | "input":{"shape":"QueryAssistantRequest"}, |
| 492 | "output":{"shape":"QueryAssistantResponse"}, |
| 493 | "errors":[ |
| 494 | {"shape":"RequestTimeoutException"}, |
| 495 | {"shape":"ValidationException"}, |
| 496 | {"shape":"AccessDeniedException"}, |
| 497 | {"shape":"ResourceNotFoundException"} |
| 498 | ] |
| 499 | }, |
| 500 | "RemoveKnowledgeBaseTemplateUri":{ |
| 501 | "name":"RemoveKnowledgeBaseTemplateUri", |
| 502 | "http":{ |
| 503 | "method":"DELETE", |
| 504 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/templateUri", |
| 505 | "responseCode":204 |
| 506 | }, |
| 507 | "input":{"shape":"RemoveKnowledgeBaseTemplateUriRequest"}, |
| 508 | "output":{"shape":"RemoveKnowledgeBaseTemplateUriResponse"}, |
| 509 | "errors":[ |
| 510 | {"shape":"ValidationException"}, |
| 511 | {"shape":"AccessDeniedException"}, |
| 512 | {"shape":"ResourceNotFoundException"} |
| 513 | ] |
| 514 | }, |
| 515 | "SearchContent":{ |
| 516 | "name":"SearchContent", |
| 517 | "http":{ |
| 518 | "method":"POST", |
| 519 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/search", |
| 520 | "responseCode":200 |
| 521 | }, |
| 522 | "input":{"shape":"SearchContentRequest"}, |
| 523 | "output":{"shape":"SearchContentResponse"}, |
| 524 | "errors":[ |
| 525 | {"shape":"ValidationException"}, |
| 526 | {"shape":"AccessDeniedException"}, |
| 527 | {"shape":"ResourceNotFoundException"} |
| 528 | ] |
| 529 | }, |
| 530 | "SearchQuickResponses":{ |
| 531 | "name":"SearchQuickResponses", |
| 532 | "http":{ |
| 533 | "method":"POST", |
| 534 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/search/quickResponses", |
| 535 | "responseCode":200 |
| 536 | }, |
| 537 | "input":{"shape":"SearchQuickResponsesRequest"}, |
| 538 | "output":{"shape":"SearchQuickResponsesResponse"}, |
| 539 | "errors":[ |
| 540 | {"shape":"RequestTimeoutException"}, |
| 541 | {"shape":"ValidationException"}, |
| 542 | {"shape":"AccessDeniedException"}, |
| 543 | {"shape":"ResourceNotFoundException"} |
| 544 | ] |
| 545 | }, |
| 546 | "SearchSessions":{ |
| 547 | "name":"SearchSessions", |
| 548 | "http":{ |
| 549 | "method":"POST", |
| 550 | "requestUri":"/assistants/{assistantId}/searchSessions", |
| 551 | "responseCode":200 |
| 552 | }, |
| 553 | "input":{"shape":"SearchSessionsRequest"}, |
| 554 | "output":{"shape":"SearchSessionsResponse"}, |
| 555 | "errors":[ |
| 556 | {"shape":"ValidationException"}, |
| 557 | {"shape":"AccessDeniedException"}, |
| 558 | {"shape":"ResourceNotFoundException"} |
| 559 | ] |
| 560 | }, |
| 561 | "StartContentUpload":{ |
| 562 | "name":"StartContentUpload", |
| 563 | "http":{ |
| 564 | "method":"POST", |
| 565 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/upload", |
| 566 | "responseCode":200 |
| 567 | }, |
| 568 | "input":{"shape":"StartContentUploadRequest"}, |
| 569 | "output":{"shape":"StartContentUploadResponse"}, |
| 570 | "errors":[ |
| 571 | {"shape":"ValidationException"}, |
| 572 | {"shape":"AccessDeniedException"}, |
| 573 | {"shape":"ResourceNotFoundException"} |
| 574 | ] |
| 575 | }, |
| 576 | "StartImportJob":{ |
| 577 | "name":"StartImportJob", |
| 578 | "http":{ |
| 579 | "method":"POST", |
| 580 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/importJobs", |
| 581 | "responseCode":200 |
| 582 | }, |
| 583 | "input":{"shape":"StartImportJobRequest"}, |
| 584 | "output":{"shape":"StartImportJobResponse"}, |
| 585 | "errors":[ |
| 586 | {"shape":"ConflictException"}, |
| 587 | {"shape":"ValidationException"}, |
| 588 | {"shape":"ServiceQuotaExceededException"}, |
| 589 | {"shape":"AccessDeniedException"}, |
| 590 | {"shape":"ResourceNotFoundException"} |
| 591 | ], |
| 592 | "idempotent":true |
| 593 | }, |
| 594 | "TagResource":{ |
| 595 | "name":"TagResource", |
| 596 | "http":{ |
| 597 | "method":"POST", |
| 598 | "requestUri":"/tags/{resourceArn}", |
| 599 | "responseCode":200 |
| 600 | }, |
| 601 | "input":{"shape":"TagResourceRequest"}, |
| 602 | "output":{"shape":"TagResourceResponse"}, |
| 603 | "errors":[ |
| 604 | {"shape":"TooManyTagsException"}, |
| 605 | {"shape":"ResourceNotFoundException"} |
| 606 | ], |
| 607 | "idempotent":true |
| 608 | }, |
| 609 | "UntagResource":{ |
| 610 | "name":"UntagResource", |
| 611 | "http":{ |
| 612 | "method":"DELETE", |
| 613 | "requestUri":"/tags/{resourceArn}", |
| 614 | "responseCode":200 |
| 615 | }, |
| 616 | "input":{"shape":"UntagResourceRequest"}, |
| 617 | "output":{"shape":"UntagResourceResponse"}, |
| 618 | "errors":[ |
| 619 | {"shape":"ResourceNotFoundException"} |
| 620 | ], |
| 621 | "idempotent":true |
| 622 | }, |
| 623 | "UpdateContent":{ |
| 624 | "name":"UpdateContent", |
| 625 | "http":{ |
| 626 | "method":"POST", |
| 627 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", |
| 628 | "responseCode":200 |
| 629 | }, |
| 630 | "input":{"shape":"UpdateContentRequest"}, |
| 631 | "output":{"shape":"UpdateContentResponse"}, |
| 632 | "errors":[ |
| 633 | {"shape":"ValidationException"}, |
| 634 | {"shape":"AccessDeniedException"}, |
| 635 | {"shape":"PreconditionFailedException"}, |
| 636 | {"shape":"ResourceNotFoundException"} |
| 637 | ] |
| 638 | }, |
| 639 | "UpdateKnowledgeBaseTemplateUri":{ |
| 640 | "name":"UpdateKnowledgeBaseTemplateUri", |
| 641 | "http":{ |
| 642 | "method":"POST", |
| 643 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/templateUri", |
| 644 | "responseCode":200 |
| 645 | }, |
| 646 | "input":{"shape":"UpdateKnowledgeBaseTemplateUriRequest"}, |
| 647 | "output":{"shape":"UpdateKnowledgeBaseTemplateUriResponse"}, |
| 648 | "errors":[ |
| 649 | {"shape":"ValidationException"}, |
| 650 | {"shape":"AccessDeniedException"}, |
| 651 | {"shape":"ResourceNotFoundException"} |
| 652 | ] |
| 653 | }, |
| 654 | "UpdateQuickResponse":{ |
| 655 | "name":"UpdateQuickResponse", |
| 656 | "http":{ |
| 657 | "method":"POST", |
| 658 | "requestUri":"/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", |
| 659 | "responseCode":200 |
| 660 | }, |
| 661 | "input":{"shape":"UpdateQuickResponseRequest"}, |
| 662 | "output":{"shape":"UpdateQuickResponseResponse"}, |
| 663 | "errors":[ |
| 664 | {"shape":"ConflictException"}, |
| 665 | {"shape":"ValidationException"}, |
| 666 | {"shape":"AccessDeniedException"}, |
| 667 | {"shape":"PreconditionFailedException"}, |
| 668 | {"shape":"ResourceNotFoundException"} |
| 669 | ] |
| 670 | } |
| 671 | }, |
| 672 | "shapes":{ |
| 673 | "AccessDeniedException":{ |
| 674 | "type":"structure", |
| 675 | "members":{ |
| 676 | "message":{"shape":"String"} |
| 677 | }, |
| 678 | "error":{ |
| 679 | "httpStatusCode":403, |
| 680 | "senderFault":true |
| 681 | }, |
| 682 | "exception":true |
| 683 | }, |
| 684 | "AppIntegrationsConfiguration":{ |
| 685 | "type":"structure", |
| 686 | "required":["appIntegrationArn"], |
| 687 | "members":{ |
| 688 | "appIntegrationArn":{"shape":"GenericArn"}, |
| 689 | "objectFields":{"shape":"ObjectFieldsList"} |
| 690 | } |
| 691 | }, |
| 692 | "Arn":{ |
| 693 | "type":"string", |
| 694 | "pattern":"^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$" |
| 695 | }, |
| 696 | "AssistantAssociationData":{ |
| 697 | "type":"structure", |
| 698 | "required":[ |
| 699 | "assistantArn", |
| 700 | "assistantAssociationArn", |
| 701 | "assistantAssociationId", |
| 702 | "assistantId", |
| 703 | "associationData", |
| 704 | "associationType" |
| 705 | ], |
| 706 | "members":{ |
| 707 | "assistantArn":{"shape":"Arn"}, |
| 708 | "assistantAssociationArn":{"shape":"Arn"}, |
| 709 | "assistantAssociationId":{"shape":"Uuid"}, |
| 710 | "assistantId":{"shape":"Uuid"}, |
| 711 | "associationData":{"shape":"AssistantAssociationOutputData"}, |
| 712 | "associationType":{"shape":"AssociationType"}, |
| 713 | "tags":{"shape":"Tags"} |
| 714 | } |
| 715 | }, |
| 716 | "AssistantAssociationInputData":{ |
| 717 | "type":"structure", |
| 718 | "members":{ |
| 719 | "knowledgeBaseId":{"shape":"Uuid"} |
| 720 | }, |
| 721 | "union":true |
| 722 | }, |
| 723 | "AssistantAssociationOutputData":{ |
| 724 | "type":"structure", |
| 725 | "members":{ |
| 726 | "knowledgeBaseAssociation":{"shape":"KnowledgeBaseAssociationData"} |
| 727 | }, |
| 728 | "union":true |
| 729 | }, |
| 730 | "AssistantAssociationSummary":{ |
| 731 | "type":"structure", |
| 732 | "required":[ |
| 733 | "assistantArn", |
| 734 | "assistantAssociationArn", |
| 735 | "assistantAssociationId", |
| 736 | "assistantId", |
| 737 | "associationData", |
| 738 | "associationType" |
| 739 | ], |
| 740 | "members":{ |
| 741 | "assistantArn":{"shape":"Arn"}, |
| 742 | "assistantAssociationArn":{"shape":"Arn"}, |
| 743 | "assistantAssociationId":{"shape":"Uuid"}, |
| 744 | "assistantId":{"shape":"Uuid"}, |
| 745 | "associationData":{"shape":"AssistantAssociationOutputData"}, |
| 746 | "associationType":{"shape":"AssociationType"}, |
| 747 | "tags":{"shape":"Tags"} |
| 748 | } |
| 749 | }, |
| 750 | "AssistantAssociationSummaryList":{ |
| 751 | "type":"list", |
| 752 | "member":{"shape":"AssistantAssociationSummary"} |
| 753 | }, |
| 754 | "AssistantCapabilityConfiguration":{ |
| 755 | "type":"structure", |
| 756 | "members":{ |
| 757 | "type":{"shape":"AssistantCapabilityType"} |
| 758 | } |
| 759 | }, |
| 760 | "AssistantCapabilityType":{ |
| 761 | "type":"string", |
| 762 | "enum":[ |
| 763 | "V1", |
| 764 | "V2" |
| 765 | ] |
| 766 | }, |
| 767 | "AssistantData":{ |
| 768 | "type":"structure", |
| 769 | "required":[ |
| 770 | "assistantArn", |
| 771 | "assistantId", |
| 772 | "name", |
| 773 | "status", |
| 774 | "type" |
| 775 | ], |
| 776 | "members":{ |
| 777 | "assistantArn":{"shape":"Arn"}, |
| 778 | "assistantId":{"shape":"Uuid"}, |
| 779 | "capabilityConfiguration":{"shape":"AssistantCapabilityConfiguration"}, |
| 780 | "description":{"shape":"Description"}, |
| 781 | "integrationConfiguration":{"shape":"AssistantIntegrationConfiguration"}, |
| 782 | "name":{"shape":"Name"}, |
| 783 | "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"}, |
| 784 | "status":{"shape":"AssistantStatus"}, |
| 785 | "tags":{"shape":"Tags"}, |
| 786 | "type":{"shape":"AssistantType"} |
| 787 | } |
| 788 | }, |
| 789 | "AssistantIntegrationConfiguration":{ |
| 790 | "type":"structure", |
| 791 | "members":{ |
| 792 | "topicIntegrationArn":{"shape":"GenericArn"} |
| 793 | } |
| 794 | }, |
| 795 | "AssistantList":{ |
| 796 | "type":"list", |
| 797 | "member":{"shape":"AssistantSummary"} |
| 798 | }, |
| 799 | "AssistantStatus":{ |
| 800 | "type":"string", |
| 801 | "enum":[ |
| 802 | "CREATE_IN_PROGRESS", |
| 803 | "CREATE_FAILED", |
| 804 | "ACTIVE", |
| 805 | "DELETE_IN_PROGRESS", |
| 806 | "DELETE_FAILED", |
| 807 | "DELETED" |
| 808 | ] |
| 809 | }, |
| 810 | "AssistantSummary":{ |
| 811 | "type":"structure", |
| 812 | "required":[ |
| 813 | "assistantArn", |
| 814 | "assistantId", |
| 815 | "name", |
| 816 | "status", |
| 817 | "type" |
| 818 | ], |
| 819 | "members":{ |
| 820 | "assistantArn":{"shape":"Arn"}, |
| 821 | "assistantId":{"shape":"Uuid"}, |
| 822 | "capabilityConfiguration":{"shape":"AssistantCapabilityConfiguration"}, |
| 823 | "description":{"shape":"Description"}, |
| 824 | "integrationConfiguration":{"shape":"AssistantIntegrationConfiguration"}, |
| 825 | "name":{"shape":"Name"}, |
| 826 | "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"}, |
| 827 | "status":{"shape":"AssistantStatus"}, |
| 828 | "tags":{"shape":"Tags"}, |
| 829 | "type":{"shape":"AssistantType"} |
| 830 | } |
| 831 | }, |
| 832 | "AssistantType":{ |
| 833 | "type":"string", |
| 834 | "enum":["AGENT"] |
| 835 | }, |
| 836 | "AssociationType":{ |
| 837 | "type":"string", |
| 838 | "enum":["KNOWLEDGE_BASE"] |
| 839 | }, |
| 840 | "Boolean":{ |
| 841 | "type":"boolean", |
| 842 | "box":true |
| 843 | }, |
| 844 | "Channel":{ |
| 845 | "type":"string", |
| 846 | "max":10, |
| 847 | "min":1, |
| 848 | "sensitive":true |
| 849 | }, |
| 850 | "Channels":{ |
| 851 | "type":"list", |
| 852 | "member":{"shape":"Channel"} |
| 853 | }, |
| 854 | "ClientToken":{ |
| 855 | "type":"string", |
| 856 | "max":4096, |
| 857 | "min":1 |
| 858 | }, |
| 859 | "Configuration":{ |
| 860 | "type":"structure", |
| 861 | "members":{ |
| 862 | "connectConfiguration":{"shape":"ConnectConfiguration"} |
| 863 | }, |
| 864 | "union":true |
| 865 | }, |
| 866 | "ConflictException":{ |
| 867 | "type":"structure", |
| 868 | "members":{ |
| 869 | "message":{"shape":"String"} |
| 870 | }, |
| 871 | "error":{ |
| 872 | "httpStatusCode":409, |
| 873 | "senderFault":true |
| 874 | }, |
| 875 | "exception":true |
| 876 | }, |
| 877 | "ConnectConfiguration":{ |
| 878 | "type":"structure", |
| 879 | "members":{ |
| 880 | "instanceId":{"shape":"NonEmptyString"} |
| 881 | } |
| 882 | }, |
| 883 | "ContactAttributeKey":{"type":"string"}, |
| 884 | "ContactAttributeKeys":{ |
| 885 | "type":"list", |
| 886 | "member":{"shape":"ContactAttributeKey"}, |
| 887 | "sensitive":true |
| 888 | }, |
| 889 | "ContactAttributeValue":{"type":"string"}, |
| 890 | "ContactAttributes":{ |
| 891 | "type":"map", |
| 892 | "key":{"shape":"ContactAttributeKey"}, |
| 893 | "value":{"shape":"ContactAttributeValue"}, |
| 894 | "sensitive":true |
| 895 | }, |
| 896 | "ContentData":{ |
| 897 | "type":"structure", |
| 898 | "required":[ |
| 899 | "contentArn", |
| 900 | "contentId", |
| 901 | "contentType", |
| 902 | "knowledgeBaseArn", |
| 903 | "knowledgeBaseId", |
| 904 | "metadata", |
| 905 | "name", |
| 906 | "revisionId", |
| 907 | "status", |
| 908 | "title", |
| 909 | "url", |
| 910 | "urlExpiry" |
| 911 | ], |
| 912 | "members":{ |
| 913 | "contentArn":{"shape":"Arn"}, |
| 914 | "contentId":{"shape":"Uuid"}, |
| 915 | "contentType":{"shape":"ContentType"}, |
| 916 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 917 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 918 | "linkOutUri":{"shape":"Uri"}, |
| 919 | "metadata":{"shape":"ContentMetadata"}, |
| 920 | "name":{"shape":"Name"}, |
| 921 | "revisionId":{"shape":"NonEmptyString"}, |
| 922 | "status":{"shape":"ContentStatus"}, |
| 923 | "tags":{"shape":"Tags"}, |
| 924 | "title":{"shape":"ContentTitle"}, |
| 925 | "url":{"shape":"Url"}, |
| 926 | "urlExpiry":{"shape":"SyntheticTimestamp_epoch_seconds"} |
| 927 | } |
| 928 | }, |
| 929 | "ContentDataDetails":{ |
| 930 | "type":"structure", |
| 931 | "required":[ |
| 932 | "rankingData", |
| 933 | "textData" |
| 934 | ], |
| 935 | "members":{ |
| 936 | "rankingData":{"shape":"RankingData"}, |
| 937 | "textData":{"shape":"TextData"} |
| 938 | } |
| 939 | }, |
| 940 | "ContentFeedbackData":{ |
| 941 | "type":"structure", |
| 942 | "members":{ |
| 943 | "generativeContentFeedbackData":{"shape":"GenerativeContentFeedbackData"} |
| 944 | }, |
| 945 | "union":true |
| 946 | }, |
| 947 | "ContentMetadata":{ |
| 948 | "type":"map", |
| 949 | "key":{"shape":"NonEmptyString"}, |
| 950 | "value":{"shape":"NonEmptyString"}, |
| 951 | "max":10, |
| 952 | "min":0 |
| 953 | }, |
| 954 | "ContentReference":{ |
| 955 | "type":"structure", |
| 956 | "members":{ |
| 957 | "contentArn":{"shape":"Arn"}, |
| 958 | "contentId":{"shape":"Uuid"}, |
| 959 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 960 | "knowledgeBaseId":{"shape":"Uuid"} |
| 961 | } |
| 962 | }, |
| 963 | "ContentStatus":{ |
| 964 | "type":"string", |
| 965 | "enum":[ |
| 966 | "CREATE_IN_PROGRESS", |
| 967 | "CREATE_FAILED", |
| 968 | "ACTIVE", |
| 969 | "DELETE_IN_PROGRESS", |
| 970 | "DELETE_FAILED", |
| 971 | "DELETED", |
| 972 | "UPDATE_FAILED" |
| 973 | ] |
| 974 | }, |
| 975 | "ContentSummary":{ |
| 976 | "type":"structure", |
| 977 | "required":[ |
| 978 | "contentArn", |
| 979 | "contentId", |
| 980 | "contentType", |
| 981 | "knowledgeBaseArn", |
| 982 | "knowledgeBaseId", |
| 983 | "metadata", |
| 984 | "name", |
| 985 | "revisionId", |
| 986 | "status", |
| 987 | "title" |
| 988 | ], |
| 989 | "members":{ |
| 990 | "contentArn":{"shape":"Arn"}, |
| 991 | "contentId":{"shape":"Uuid"}, |
| 992 | "contentType":{"shape":"ContentType"}, |
| 993 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 994 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 995 | "metadata":{"shape":"ContentMetadata"}, |
| 996 | "name":{"shape":"Name"}, |
| 997 | "revisionId":{"shape":"NonEmptyString"}, |
| 998 | "status":{"shape":"ContentStatus"}, |
| 999 | "tags":{"shape":"Tags"}, |
| 1000 | "title":{"shape":"ContentTitle"} |
| 1001 | } |
| 1002 | }, |
| 1003 | "ContentSummaryList":{ |
| 1004 | "type":"list", |
| 1005 | "member":{"shape":"ContentSummary"} |
| 1006 | }, |
| 1007 | "ContentTitle":{ |
| 1008 | "type":"string", |
| 1009 | "max":255, |
| 1010 | "min":1 |
| 1011 | }, |
| 1012 | "ContentType":{ |
| 1013 | "type":"string", |
| 1014 | "pattern":"^(text/(plain|html|csv))|(application/(pdf|vnd\\.openxmlformats-officedocument\\.wordprocessingml\\.document))|(application/x\\.wisdom-json;source=(salesforce|servicenow|zendesk))$" |
| 1015 | }, |
| 1016 | "CreateAssistantAssociationRequest":{ |
| 1017 | "type":"structure", |
| 1018 | "required":[ |
| 1019 | "assistantId", |
| 1020 | "association", |
| 1021 | "associationType" |
| 1022 | ], |
| 1023 | "members":{ |
| 1024 | "assistantId":{ |
| 1025 | "shape":"UuidOrArn", |
| 1026 | "location":"uri", |
| 1027 | "locationName":"assistantId" |
| 1028 | }, |
| 1029 | "association":{"shape":"AssistantAssociationInputData"}, |
| 1030 | "associationType":{"shape":"AssociationType"}, |
| 1031 | "clientToken":{ |
| 1032 | "shape":"ClientToken", |
| 1033 | "idempotencyToken":true |
| 1034 | }, |
| 1035 | "tags":{"shape":"Tags"} |
| 1036 | } |
| 1037 | }, |
| 1038 | "CreateAssistantAssociationResponse":{ |
| 1039 | "type":"structure", |
| 1040 | "members":{ |
| 1041 | "assistantAssociation":{"shape":"AssistantAssociationData"} |
| 1042 | } |
| 1043 | }, |
| 1044 | "CreateAssistantRequest":{ |
| 1045 | "type":"structure", |
| 1046 | "required":[ |
| 1047 | "name", |
| 1048 | "type" |
| 1049 | ], |
| 1050 | "members":{ |
| 1051 | "clientToken":{ |
| 1052 | "shape":"ClientToken", |
| 1053 | "idempotencyToken":true |
| 1054 | }, |
| 1055 | "description":{"shape":"Description"}, |
| 1056 | "name":{"shape":"Name"}, |
| 1057 | "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"}, |
| 1058 | "tags":{"shape":"Tags"}, |
| 1059 | "type":{"shape":"AssistantType"} |
| 1060 | } |
| 1061 | }, |
| 1062 | "CreateAssistantResponse":{ |
| 1063 | "type":"structure", |
| 1064 | "members":{ |
| 1065 | "assistant":{"shape":"AssistantData"} |
| 1066 | } |
| 1067 | }, |
| 1068 | "CreateContentRequest":{ |
| 1069 | "type":"structure", |
| 1070 | "required":[ |
| 1071 | "knowledgeBaseId", |
| 1072 | "name", |
| 1073 | "uploadId" |
| 1074 | ], |
| 1075 | "members":{ |
| 1076 | "clientToken":{ |
| 1077 | "shape":"NonEmptyString", |
| 1078 | "idempotencyToken":true |
| 1079 | }, |
| 1080 | "knowledgeBaseId":{ |
| 1081 | "shape":"UuidOrArn", |
| 1082 | "location":"uri", |
| 1083 | "locationName":"knowledgeBaseId" |
| 1084 | }, |
| 1085 | "metadata":{"shape":"ContentMetadata"}, |
| 1086 | "name":{"shape":"Name"}, |
| 1087 | "overrideLinkOutUri":{"shape":"Uri"}, |
| 1088 | "tags":{"shape":"Tags"}, |
| 1089 | "title":{"shape":"ContentTitle"}, |
| 1090 | "uploadId":{"shape":"UploadId"} |
| 1091 | } |
| 1092 | }, |
| 1093 | "CreateContentResponse":{ |
| 1094 | "type":"structure", |
| 1095 | "members":{ |
| 1096 | "content":{"shape":"ContentData"} |
| 1097 | } |
| 1098 | }, |
| 1099 | "CreateKnowledgeBaseRequest":{ |
| 1100 | "type":"structure", |
| 1101 | "required":[ |
| 1102 | "knowledgeBaseType", |
| 1103 | "name" |
| 1104 | ], |
| 1105 | "members":{ |
| 1106 | "clientToken":{ |
| 1107 | "shape":"NonEmptyString", |
| 1108 | "idempotencyToken":true |
| 1109 | }, |
| 1110 | "description":{"shape":"Description"}, |
| 1111 | "knowledgeBaseType":{"shape":"KnowledgeBaseType"}, |
| 1112 | "name":{"shape":"Name"}, |
| 1113 | "renderingConfiguration":{"shape":"RenderingConfiguration"}, |
| 1114 | "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"}, |
| 1115 | "sourceConfiguration":{"shape":"SourceConfiguration"}, |
| 1116 | "tags":{"shape":"Tags"} |
| 1117 | } |
| 1118 | }, |
| 1119 | "CreateKnowledgeBaseResponse":{ |
| 1120 | "type":"structure", |
| 1121 | "members":{ |
| 1122 | "knowledgeBase":{"shape":"KnowledgeBaseData"} |
| 1123 | } |
| 1124 | }, |
| 1125 | "CreateQuickResponseRequest":{ |
| 1126 | "type":"structure", |
| 1127 | "required":[ |
| 1128 | "content", |
| 1129 | "knowledgeBaseId", |
| 1130 | "name" |
| 1131 | ], |
| 1132 | "members":{ |
| 1133 | "channels":{"shape":"Channels"}, |
| 1134 | "clientToken":{ |
| 1135 | "shape":"NonEmptyString", |
| 1136 | "idempotencyToken":true |
| 1137 | }, |
| 1138 | "content":{"shape":"QuickResponseDataProvider"}, |
| 1139 | "contentType":{"shape":"QuickResponseType"}, |
| 1140 | "description":{"shape":"QuickResponseDescription"}, |
| 1141 | "groupingConfiguration":{"shape":"GroupingConfiguration"}, |
| 1142 | "isActive":{"shape":"Boolean"}, |
| 1143 | "knowledgeBaseId":{ |
| 1144 | "shape":"UuidOrArn", |
| 1145 | "location":"uri", |
| 1146 | "locationName":"knowledgeBaseId" |
| 1147 | }, |
| 1148 | "language":{"shape":"LanguageCode"}, |
| 1149 | "name":{"shape":"QuickResponseName"}, |
| 1150 | "shortcutKey":{"shape":"ShortCutKey"}, |
| 1151 | "tags":{"shape":"Tags"} |
| 1152 | } |
| 1153 | }, |
| 1154 | "CreateQuickResponseResponse":{ |
| 1155 | "type":"structure", |
| 1156 | "members":{ |
| 1157 | "quickResponse":{"shape":"QuickResponseData"} |
| 1158 | } |
| 1159 | }, |
| 1160 | "CreateSessionRequest":{ |
| 1161 | "type":"structure", |
| 1162 | "required":[ |
| 1163 | "assistantId", |
| 1164 | "name" |
| 1165 | ], |
| 1166 | "members":{ |
| 1167 | "assistantId":{ |
| 1168 | "shape":"UuidOrArn", |
| 1169 | "location":"uri", |
| 1170 | "locationName":"assistantId" |
| 1171 | }, |
| 1172 | "clientToken":{ |
| 1173 | "shape":"ClientToken", |
| 1174 | "idempotencyToken":true |
| 1175 | }, |
| 1176 | "description":{"shape":"Description"}, |
| 1177 | "name":{"shape":"Name"}, |
| 1178 | "tags":{"shape":"Tags"} |
| 1179 | } |
| 1180 | }, |
| 1181 | "CreateSessionResponse":{ |
| 1182 | "type":"structure", |
| 1183 | "members":{ |
| 1184 | "session":{"shape":"SessionData"} |
| 1185 | } |
| 1186 | }, |
| 1187 | "DataDetails":{ |
| 1188 | "type":"structure", |
| 1189 | "members":{ |
| 1190 | "contentData":{"shape":"ContentDataDetails"}, |
| 1191 | "generativeData":{"shape":"GenerativeDataDetails"}, |
| 1192 | "sourceContentData":{"shape":"SourceContentDataDetails"} |
| 1193 | }, |
| 1194 | "union":true |
| 1195 | }, |
| 1196 | "DataReference":{ |
| 1197 | "type":"structure", |
| 1198 | "members":{ |
| 1199 | "contentReference":{"shape":"ContentReference"}, |
| 1200 | "generativeReference":{"shape":"GenerativeReference"} |
| 1201 | }, |
| 1202 | "union":true |
| 1203 | }, |
| 1204 | "DataSummary":{ |
| 1205 | "type":"structure", |
| 1206 | "required":[ |
| 1207 | "details", |
| 1208 | "reference" |
| 1209 | ], |
| 1210 | "members":{ |
| 1211 | "details":{"shape":"DataDetails"}, |
| 1212 | "reference":{"shape":"DataReference"} |
| 1213 | } |
| 1214 | }, |
| 1215 | "DataSummaryList":{ |
| 1216 | "type":"list", |
| 1217 | "member":{"shape":"DataSummary"} |
| 1218 | }, |
| 1219 | "DeleteAssistantAssociationRequest":{ |
| 1220 | "type":"structure", |
| 1221 | "required":[ |
| 1222 | "assistantAssociationId", |
| 1223 | "assistantId" |
| 1224 | ], |
| 1225 | "members":{ |
| 1226 | "assistantAssociationId":{ |
| 1227 | "shape":"UuidOrArn", |
| 1228 | "location":"uri", |
| 1229 | "locationName":"assistantAssociationId" |
| 1230 | }, |
| 1231 | "assistantId":{ |
| 1232 | "shape":"UuidOrArn", |
| 1233 | "location":"uri", |
| 1234 | "locationName":"assistantId" |
| 1235 | } |
| 1236 | } |
| 1237 | }, |
| 1238 | "DeleteAssistantAssociationResponse":{ |
| 1239 | "type":"structure", |
| 1240 | "members":{ |
| 1241 | } |
| 1242 | }, |
| 1243 | "DeleteAssistantRequest":{ |
| 1244 | "type":"structure", |
| 1245 | "required":["assistantId"], |
| 1246 | "members":{ |
| 1247 | "assistantId":{ |
| 1248 | "shape":"UuidOrArn", |
| 1249 | "location":"uri", |
| 1250 | "locationName":"assistantId" |
| 1251 | } |
| 1252 | } |
| 1253 | }, |
| 1254 | "DeleteAssistantResponse":{ |
| 1255 | "type":"structure", |
| 1256 | "members":{ |
| 1257 | } |
| 1258 | }, |
| 1259 | "DeleteContentRequest":{ |
| 1260 | "type":"structure", |
| 1261 | "required":[ |
| 1262 | "contentId", |
| 1263 | "knowledgeBaseId" |
| 1264 | ], |
| 1265 | "members":{ |
| 1266 | "contentId":{ |
| 1267 | "shape":"UuidOrArn", |
| 1268 | "location":"uri", |
| 1269 | "locationName":"contentId" |
| 1270 | }, |
| 1271 | "knowledgeBaseId":{ |
| 1272 | "shape":"UuidOrArn", |
| 1273 | "location":"uri", |
| 1274 | "locationName":"knowledgeBaseId" |
| 1275 | } |
| 1276 | } |
| 1277 | }, |
| 1278 | "DeleteContentResponse":{ |
| 1279 | "type":"structure", |
| 1280 | "members":{ |
| 1281 | } |
| 1282 | }, |
| 1283 | "DeleteImportJobRequest":{ |
| 1284 | "type":"structure", |
| 1285 | "required":[ |
| 1286 | "importJobId", |
| 1287 | "knowledgeBaseId" |
| 1288 | ], |
| 1289 | "members":{ |
| 1290 | "importJobId":{ |
| 1291 | "shape":"Uuid", |
| 1292 | "location":"uri", |
| 1293 | "locationName":"importJobId" |
| 1294 | }, |
| 1295 | "knowledgeBaseId":{ |
| 1296 | "shape":"UuidOrArn", |
| 1297 | "location":"uri", |
| 1298 | "locationName":"knowledgeBaseId" |
| 1299 | } |
| 1300 | } |
| 1301 | }, |
| 1302 | "DeleteImportJobResponse":{ |
| 1303 | "type":"structure", |
| 1304 | "members":{ |
| 1305 | } |
| 1306 | }, |
| 1307 | "DeleteKnowledgeBaseRequest":{ |
| 1308 | "type":"structure", |
| 1309 | "required":["knowledgeBaseId"], |
| 1310 | "members":{ |
| 1311 | "knowledgeBaseId":{ |
| 1312 | "shape":"UuidOrArn", |
| 1313 | "location":"uri", |
| 1314 | "locationName":"knowledgeBaseId" |
| 1315 | } |
| 1316 | } |
| 1317 | }, |
| 1318 | "DeleteKnowledgeBaseResponse":{ |
| 1319 | "type":"structure", |
| 1320 | "members":{ |
| 1321 | } |
| 1322 | }, |
| 1323 | "DeleteQuickResponseRequest":{ |
| 1324 | "type":"structure", |
| 1325 | "required":[ |
| 1326 | "knowledgeBaseId", |
| 1327 | "quickResponseId" |
| 1328 | ], |
| 1329 | "members":{ |
| 1330 | "knowledgeBaseId":{ |
| 1331 | "shape":"UuidOrArn", |
| 1332 | "location":"uri", |
| 1333 | "locationName":"knowledgeBaseId" |
| 1334 | }, |
| 1335 | "quickResponseId":{ |
| 1336 | "shape":"UuidOrArn", |
| 1337 | "location":"uri", |
| 1338 | "locationName":"quickResponseId" |
| 1339 | } |
| 1340 | } |
| 1341 | }, |
| 1342 | "DeleteQuickResponseResponse":{ |
| 1343 | "type":"structure", |
| 1344 | "members":{ |
| 1345 | } |
| 1346 | }, |
| 1347 | "Description":{ |
| 1348 | "type":"string", |
| 1349 | "max":255, |
| 1350 | "min":1, |
| 1351 | "pattern":"^[a-zA-Z0-9\\s_.,-]+" |
| 1352 | }, |
| 1353 | "Document":{ |
| 1354 | "type":"structure", |
| 1355 | "required":["contentReference"], |
| 1356 | "members":{ |
| 1357 | "contentReference":{"shape":"ContentReference"}, |
| 1358 | "excerpt":{"shape":"DocumentText"}, |
| 1359 | "title":{"shape":"DocumentText"} |
| 1360 | } |
| 1361 | }, |
| 1362 | "DocumentText":{ |
| 1363 | "type":"structure", |
| 1364 | "members":{ |
| 1365 | "highlights":{"shape":"Highlights"}, |
| 1366 | "text":{"shape":"SensitiveString"} |
| 1367 | } |
| 1368 | }, |
| 1369 | "ExternalSource":{ |
| 1370 | "type":"string", |
| 1371 | "enum":["AMAZON_CONNECT"] |
| 1372 | }, |
| 1373 | "ExternalSourceConfiguration":{ |
| 1374 | "type":"structure", |
| 1375 | "required":[ |
| 1376 | "configuration", |
| 1377 | "source" |
| 1378 | ], |
| 1379 | "members":{ |
| 1380 | "configuration":{"shape":"Configuration"}, |
| 1381 | "source":{"shape":"ExternalSource"} |
| 1382 | } |
| 1383 | }, |
| 1384 | "Filter":{ |
| 1385 | "type":"structure", |
| 1386 | "required":[ |
| 1387 | "field", |
| 1388 | "operator", |
| 1389 | "value" |
| 1390 | ], |
| 1391 | "members":{ |
| 1392 | "field":{"shape":"FilterField"}, |
| 1393 | "operator":{"shape":"FilterOperator"}, |
| 1394 | "value":{"shape":"NonEmptyString"} |
| 1395 | } |
| 1396 | }, |
| 1397 | "FilterField":{ |
| 1398 | "type":"string", |
| 1399 | "enum":["NAME"] |
| 1400 | }, |
| 1401 | "FilterList":{ |
| 1402 | "type":"list", |
| 1403 | "member":{"shape":"Filter"} |
| 1404 | }, |
| 1405 | "FilterOperator":{ |
| 1406 | "type":"string", |
| 1407 | "enum":["EQUALS"] |
| 1408 | }, |
| 1409 | "GenerativeContentFeedbackData":{ |
| 1410 | "type":"structure", |
| 1411 | "required":["relevance"], |
| 1412 | "members":{ |
| 1413 | "relevance":{"shape":"Relevance"} |
| 1414 | } |
| 1415 | }, |
| 1416 | "GenerativeDataDetails":{ |
| 1417 | "type":"structure", |
| 1418 | "required":[ |
| 1419 | "completion", |
| 1420 | "rankingData", |
| 1421 | "references" |
| 1422 | ], |
| 1423 | "members":{ |
| 1424 | "completion":{"shape":"SensitiveString"}, |
| 1425 | "rankingData":{"shape":"RankingData"}, |
| 1426 | "references":{"shape":"DataSummaryList"} |
| 1427 | } |
| 1428 | }, |
| 1429 | "GenerativeReference":{ |
| 1430 | "type":"structure", |
| 1431 | "members":{ |
| 1432 | "generationId":{"shape":"Uuid"}, |
| 1433 | "modelId":{"shape":"LlmModelId"} |
| 1434 | } |
| 1435 | }, |
| 1436 | "GenericArn":{ |
| 1437 | "type":"string", |
| 1438 | "max":2048, |
| 1439 | "min":1, |
| 1440 | "pattern":"^arn:[a-z-]+?:[a-z-]+?:[a-z0-9-]*?:([0-9]{12})?:[a-zA-Z0-9-:/]+$" |
| 1441 | }, |
| 1442 | "GetAssistantAssociationRequest":{ |
| 1443 | "type":"structure", |
| 1444 | "required":[ |
| 1445 | "assistantAssociationId", |
| 1446 | "assistantId" |
| 1447 | ], |
| 1448 | "members":{ |
| 1449 | "assistantAssociationId":{ |
| 1450 | "shape":"UuidOrArn", |
| 1451 | "location":"uri", |
| 1452 | "locationName":"assistantAssociationId" |
| 1453 | }, |
| 1454 | "assistantId":{ |
| 1455 | "shape":"UuidOrArn", |
| 1456 | "location":"uri", |
| 1457 | "locationName":"assistantId" |
| 1458 | } |
| 1459 | } |
| 1460 | }, |
| 1461 | "GetAssistantAssociationResponse":{ |
| 1462 | "type":"structure", |
| 1463 | "members":{ |
| 1464 | "assistantAssociation":{"shape":"AssistantAssociationData"} |
| 1465 | } |
| 1466 | }, |
| 1467 | "GetAssistantRequest":{ |
| 1468 | "type":"structure", |
| 1469 | "required":["assistantId"], |
| 1470 | "members":{ |
| 1471 | "assistantId":{ |
| 1472 | "shape":"UuidOrArn", |
| 1473 | "location":"uri", |
| 1474 | "locationName":"assistantId" |
| 1475 | } |
| 1476 | } |
| 1477 | }, |
| 1478 | "GetAssistantResponse":{ |
| 1479 | "type":"structure", |
| 1480 | "members":{ |
| 1481 | "assistant":{"shape":"AssistantData"} |
| 1482 | } |
| 1483 | }, |
| 1484 | "GetContentRequest":{ |
| 1485 | "type":"structure", |
| 1486 | "required":[ |
| 1487 | "contentId", |
| 1488 | "knowledgeBaseId" |
| 1489 | ], |
| 1490 | "members":{ |
| 1491 | "contentId":{ |
| 1492 | "shape":"UuidOrArn", |
| 1493 | "location":"uri", |
| 1494 | "locationName":"contentId" |
| 1495 | }, |
| 1496 | "knowledgeBaseId":{ |
| 1497 | "shape":"UuidOrArn", |
| 1498 | "location":"uri", |
| 1499 | "locationName":"knowledgeBaseId" |
| 1500 | } |
| 1501 | } |
| 1502 | }, |
| 1503 | "GetContentResponse":{ |
| 1504 | "type":"structure", |
| 1505 | "members":{ |
| 1506 | "content":{"shape":"ContentData"} |
| 1507 | } |
| 1508 | }, |
| 1509 | "GetContentSummaryRequest":{ |
| 1510 | "type":"structure", |
| 1511 | "required":[ |
| 1512 | "contentId", |
| 1513 | "knowledgeBaseId" |
| 1514 | ], |
| 1515 | "members":{ |
| 1516 | "contentId":{ |
| 1517 | "shape":"UuidOrArn", |
| 1518 | "location":"uri", |
| 1519 | "locationName":"contentId" |
| 1520 | }, |
| 1521 | "knowledgeBaseId":{ |
| 1522 | "shape":"UuidOrArn", |
| 1523 | "location":"uri", |
| 1524 | "locationName":"knowledgeBaseId" |
| 1525 | } |
| 1526 | } |
| 1527 | }, |
| 1528 | "GetContentSummaryResponse":{ |
| 1529 | "type":"structure", |
| 1530 | "members":{ |
| 1531 | "contentSummary":{"shape":"ContentSummary"} |
| 1532 | } |
| 1533 | }, |
| 1534 | "GetImportJobRequest":{ |
| 1535 | "type":"structure", |
| 1536 | "required":[ |
| 1537 | "importJobId", |
| 1538 | "knowledgeBaseId" |
| 1539 | ], |
| 1540 | "members":{ |
| 1541 | "importJobId":{ |
| 1542 | "shape":"Uuid", |
| 1543 | "location":"uri", |
| 1544 | "locationName":"importJobId" |
| 1545 | }, |
| 1546 | "knowledgeBaseId":{ |
| 1547 | "shape":"UuidOrArn", |
| 1548 | "location":"uri", |
| 1549 | "locationName":"knowledgeBaseId" |
| 1550 | } |
| 1551 | } |
| 1552 | }, |
| 1553 | "GetImportJobResponse":{ |
| 1554 | "type":"structure", |
| 1555 | "members":{ |
| 1556 | "importJob":{"shape":"ImportJobData"} |
| 1557 | } |
| 1558 | }, |
| 1559 | "GetKnowledgeBaseRequest":{ |
| 1560 | "type":"structure", |
| 1561 | "required":["knowledgeBaseId"], |
| 1562 | "members":{ |
| 1563 | "knowledgeBaseId":{ |
| 1564 | "shape":"UuidOrArn", |
| 1565 | "location":"uri", |
| 1566 | "locationName":"knowledgeBaseId" |
| 1567 | } |
| 1568 | } |
| 1569 | }, |
| 1570 | "GetKnowledgeBaseResponse":{ |
| 1571 | "type":"structure", |
| 1572 | "members":{ |
| 1573 | "knowledgeBase":{"shape":"KnowledgeBaseData"} |
| 1574 | } |
| 1575 | }, |
| 1576 | "GetQuickResponseRequest":{ |
| 1577 | "type":"structure", |
| 1578 | "required":[ |
| 1579 | "knowledgeBaseId", |
| 1580 | "quickResponseId" |
| 1581 | ], |
| 1582 | "members":{ |
| 1583 | "knowledgeBaseId":{ |
| 1584 | "shape":"UuidOrArn", |
| 1585 | "location":"uri", |
| 1586 | "locationName":"knowledgeBaseId" |
| 1587 | }, |
| 1588 | "quickResponseId":{ |
| 1589 | "shape":"UuidOrArn", |
| 1590 | "location":"uri", |
| 1591 | "locationName":"quickResponseId" |
| 1592 | } |
| 1593 | } |
| 1594 | }, |
| 1595 | "GetQuickResponseResponse":{ |
| 1596 | "type":"structure", |
| 1597 | "members":{ |
| 1598 | "quickResponse":{"shape":"QuickResponseData"} |
| 1599 | } |
| 1600 | }, |
| 1601 | "GetRecommendationsRequest":{ |
| 1602 | "type":"structure", |
| 1603 | "required":[ |
| 1604 | "assistantId", |
| 1605 | "sessionId" |
| 1606 | ], |
| 1607 | "members":{ |
| 1608 | "assistantId":{ |
| 1609 | "shape":"UuidOrArn", |
| 1610 | "location":"uri", |
| 1611 | "locationName":"assistantId" |
| 1612 | }, |
| 1613 | "maxResults":{ |
| 1614 | "shape":"MaxResults", |
| 1615 | "location":"querystring", |
| 1616 | "locationName":"maxResults" |
| 1617 | }, |
| 1618 | "sessionId":{ |
| 1619 | "shape":"UuidOrArn", |
| 1620 | "location":"uri", |
| 1621 | "locationName":"sessionId" |
| 1622 | }, |
| 1623 | "waitTimeSeconds":{ |
| 1624 | "shape":"WaitTimeSeconds", |
| 1625 | "location":"querystring", |
| 1626 | "locationName":"waitTimeSeconds" |
| 1627 | } |
| 1628 | } |
| 1629 | }, |
| 1630 | "GetRecommendationsResponse":{ |
| 1631 | "type":"structure", |
| 1632 | "required":["recommendations"], |
| 1633 | "members":{ |
| 1634 | "recommendations":{"shape":"RecommendationList"}, |
| 1635 | "triggers":{"shape":"RecommendationTriggerList"} |
| 1636 | } |
| 1637 | }, |
| 1638 | "GetSessionRequest":{ |
| 1639 | "type":"structure", |
| 1640 | "required":[ |
| 1641 | "assistantId", |
| 1642 | "sessionId" |
| 1643 | ], |
| 1644 | "members":{ |
| 1645 | "assistantId":{ |
| 1646 | "shape":"UuidOrArn", |
| 1647 | "location":"uri", |
| 1648 | "locationName":"assistantId" |
| 1649 | }, |
| 1650 | "sessionId":{ |
| 1651 | "shape":"UuidOrArn", |
| 1652 | "location":"uri", |
| 1653 | "locationName":"sessionId" |
| 1654 | } |
| 1655 | } |
| 1656 | }, |
| 1657 | "GetSessionResponse":{ |
| 1658 | "type":"structure", |
| 1659 | "members":{ |
| 1660 | "session":{"shape":"SessionData"} |
| 1661 | } |
| 1662 | }, |
| 1663 | "GroupingConfiguration":{ |
| 1664 | "type":"structure", |
| 1665 | "members":{ |
| 1666 | "criteria":{"shape":"GroupingCriteria"}, |
| 1667 | "values":{"shape":"GroupingValues"} |
| 1668 | } |
| 1669 | }, |
| 1670 | "GroupingCriteria":{ |
| 1671 | "type":"string", |
| 1672 | "max":100, |
| 1673 | "min":1, |
| 1674 | "sensitive":true |
| 1675 | }, |
| 1676 | "GroupingValue":{ |
| 1677 | "type":"string", |
| 1678 | "max":2048, |
| 1679 | "min":1, |
| 1680 | "sensitive":true |
| 1681 | }, |
| 1682 | "GroupingValues":{ |
| 1683 | "type":"list", |
| 1684 | "member":{"shape":"GroupingValue"} |
| 1685 | }, |
| 1686 | "Headers":{ |
| 1687 | "type":"map", |
| 1688 | "key":{"shape":"NonEmptyString"}, |
| 1689 | "value":{"shape":"NonEmptyString"} |
| 1690 | }, |
| 1691 | "Highlight":{ |
| 1692 | "type":"structure", |
| 1693 | "members":{ |
| 1694 | "beginOffsetInclusive":{"shape":"HighlightOffset"}, |
| 1695 | "endOffsetExclusive":{"shape":"HighlightOffset"} |
| 1696 | } |
| 1697 | }, |
| 1698 | "HighlightOffset":{"type":"integer"}, |
| 1699 | "Highlights":{ |
| 1700 | "type":"list", |
| 1701 | "member":{"shape":"Highlight"} |
| 1702 | }, |
| 1703 | "ImportJobData":{ |
| 1704 | "type":"structure", |
| 1705 | "required":[ |
| 1706 | "createdTime", |
| 1707 | "importJobId", |
| 1708 | "importJobType", |
| 1709 | "knowledgeBaseArn", |
| 1710 | "knowledgeBaseId", |
| 1711 | "lastModifiedTime", |
| 1712 | "status", |
| 1713 | "uploadId", |
| 1714 | "url", |
| 1715 | "urlExpiry" |
| 1716 | ], |
| 1717 | "members":{ |
| 1718 | "createdTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 1719 | "externalSourceConfiguration":{"shape":"ExternalSourceConfiguration"}, |
| 1720 | "failedRecordReport":{"shape":"Url"}, |
| 1721 | "importJobId":{"shape":"Uuid"}, |
| 1722 | "importJobType":{"shape":"ImportJobType"}, |
| 1723 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 1724 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 1725 | "lastModifiedTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 1726 | "metadata":{"shape":"ContentMetadata"}, |
| 1727 | "status":{"shape":"ImportJobStatus"}, |
| 1728 | "uploadId":{"shape":"UploadId"}, |
| 1729 | "url":{"shape":"Url"}, |
| 1730 | "urlExpiry":{"shape":"SyntheticTimestamp_epoch_seconds"} |
| 1731 | } |
| 1732 | }, |
| 1733 | "ImportJobList":{ |
| 1734 | "type":"list", |
| 1735 | "member":{"shape":"ImportJobSummary"} |
| 1736 | }, |
| 1737 | "ImportJobStatus":{ |
| 1738 | "type":"string", |
| 1739 | "enum":[ |
| 1740 | "START_IN_PROGRESS", |
| 1741 | "FAILED", |
| 1742 | "COMPLETE", |
| 1743 | "DELETE_IN_PROGRESS", |
| 1744 | "DELETE_FAILED", |
| 1745 | "DELETED" |
| 1746 | ] |
| 1747 | }, |
| 1748 | "ImportJobSummary":{ |
| 1749 | "type":"structure", |
| 1750 | "required":[ |
| 1751 | "createdTime", |
| 1752 | "importJobId", |
| 1753 | "importJobType", |
| 1754 | "knowledgeBaseArn", |
| 1755 | "knowledgeBaseId", |
| 1756 | "lastModifiedTime", |
| 1757 | "status", |
| 1758 | "uploadId" |
| 1759 | ], |
| 1760 | "members":{ |
| 1761 | "createdTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 1762 | "externalSourceConfiguration":{"shape":"ExternalSourceConfiguration"}, |
| 1763 | "importJobId":{"shape":"Uuid"}, |
| 1764 | "importJobType":{"shape":"ImportJobType"}, |
| 1765 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 1766 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 1767 | "lastModifiedTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 1768 | "metadata":{"shape":"ContentMetadata"}, |
| 1769 | "status":{"shape":"ImportJobStatus"}, |
| 1770 | "uploadId":{"shape":"UploadId"} |
| 1771 | } |
| 1772 | }, |
| 1773 | "ImportJobType":{ |
| 1774 | "type":"string", |
| 1775 | "enum":["QUICK_RESPONSES"] |
| 1776 | }, |
| 1777 | "KnowledgeBaseAssociationData":{ |
| 1778 | "type":"structure", |
| 1779 | "members":{ |
| 1780 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 1781 | "knowledgeBaseId":{"shape":"Uuid"} |
| 1782 | } |
| 1783 | }, |
| 1784 | "KnowledgeBaseData":{ |
| 1785 | "type":"structure", |
| 1786 | "required":[ |
| 1787 | "knowledgeBaseArn", |
| 1788 | "knowledgeBaseId", |
| 1789 | "knowledgeBaseType", |
| 1790 | "name", |
| 1791 | "status" |
| 1792 | ], |
| 1793 | "members":{ |
| 1794 | "description":{"shape":"Description"}, |
| 1795 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 1796 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 1797 | "knowledgeBaseType":{"shape":"KnowledgeBaseType"}, |
| 1798 | "lastContentModificationTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 1799 | "name":{"shape":"Name"}, |
| 1800 | "renderingConfiguration":{"shape":"RenderingConfiguration"}, |
| 1801 | "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"}, |
| 1802 | "sourceConfiguration":{"shape":"SourceConfiguration"}, |
| 1803 | "status":{"shape":"KnowledgeBaseStatus"}, |
| 1804 | "tags":{"shape":"Tags"} |
| 1805 | } |
| 1806 | }, |
| 1807 | "KnowledgeBaseList":{ |
| 1808 | "type":"list", |
| 1809 | "member":{"shape":"KnowledgeBaseSummary"} |
| 1810 | }, |
| 1811 | "KnowledgeBaseStatus":{ |
| 1812 | "type":"string", |
| 1813 | "enum":[ |
| 1814 | "CREATE_IN_PROGRESS", |
| 1815 | "CREATE_FAILED", |
| 1816 | "ACTIVE", |
| 1817 | "DELETE_IN_PROGRESS", |
| 1818 | "DELETE_FAILED", |
| 1819 | "DELETED" |
| 1820 | ] |
| 1821 | }, |
| 1822 | "KnowledgeBaseSummary":{ |
| 1823 | "type":"structure", |
| 1824 | "required":[ |
| 1825 | "knowledgeBaseArn", |
| 1826 | "knowledgeBaseId", |
| 1827 | "knowledgeBaseType", |
| 1828 | "name", |
| 1829 | "status" |
| 1830 | ], |
| 1831 | "members":{ |
| 1832 | "description":{"shape":"Description"}, |
| 1833 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 1834 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 1835 | "knowledgeBaseType":{"shape":"KnowledgeBaseType"}, |
| 1836 | "name":{"shape":"Name"}, |
| 1837 | "renderingConfiguration":{"shape":"RenderingConfiguration"}, |
| 1838 | "serverSideEncryptionConfiguration":{"shape":"ServerSideEncryptionConfiguration"}, |
| 1839 | "sourceConfiguration":{"shape":"SourceConfiguration"}, |
| 1840 | "status":{"shape":"KnowledgeBaseStatus"}, |
| 1841 | "tags":{"shape":"Tags"} |
| 1842 | } |
| 1843 | }, |
| 1844 | "KnowledgeBaseType":{ |
| 1845 | "type":"string", |
| 1846 | "enum":[ |
| 1847 | "EXTERNAL", |
| 1848 | "CUSTOM", |
| 1849 | "QUICK_RESPONSES" |
| 1850 | ] |
| 1851 | }, |
| 1852 | "LanguageCode":{ |
| 1853 | "type":"string", |
| 1854 | "max":5, |
| 1855 | "min":2 |
| 1856 | }, |
| 1857 | "ListAssistantAssociationsRequest":{ |
| 1858 | "type":"structure", |
| 1859 | "required":["assistantId"], |
| 1860 | "members":{ |
| 1861 | "assistantId":{ |
| 1862 | "shape":"UuidOrArn", |
| 1863 | "location":"uri", |
| 1864 | "locationName":"assistantId" |
| 1865 | }, |
| 1866 | "maxResults":{ |
| 1867 | "shape":"MaxResults", |
| 1868 | "location":"querystring", |
| 1869 | "locationName":"maxResults" |
| 1870 | }, |
| 1871 | "nextToken":{ |
| 1872 | "shape":"NextToken", |
| 1873 | "location":"querystring", |
| 1874 | "locationName":"nextToken" |
| 1875 | } |
| 1876 | } |
| 1877 | }, |
| 1878 | "ListAssistantAssociationsResponse":{ |
| 1879 | "type":"structure", |
| 1880 | "required":["assistantAssociationSummaries"], |
| 1881 | "members":{ |
| 1882 | "assistantAssociationSummaries":{"shape":"AssistantAssociationSummaryList"}, |
| 1883 | "nextToken":{"shape":"NextToken"} |
| 1884 | } |
| 1885 | }, |
| 1886 | "ListAssistantsRequest":{ |
| 1887 | "type":"structure", |
| 1888 | "members":{ |
| 1889 | "maxResults":{ |
| 1890 | "shape":"MaxResults", |
| 1891 | "location":"querystring", |
| 1892 | "locationName":"maxResults" |
| 1893 | }, |
| 1894 | "nextToken":{ |
| 1895 | "shape":"NextToken", |
| 1896 | "location":"querystring", |
| 1897 | "locationName":"nextToken" |
| 1898 | } |
| 1899 | } |
| 1900 | }, |
| 1901 | "ListAssistantsResponse":{ |
| 1902 | "type":"structure", |
| 1903 | "required":["assistantSummaries"], |
| 1904 | "members":{ |
| 1905 | "assistantSummaries":{"shape":"AssistantList"}, |
| 1906 | "nextToken":{"shape":"NextToken"} |
| 1907 | } |
| 1908 | }, |
| 1909 | "ListContentsRequest":{ |
| 1910 | "type":"structure", |
| 1911 | "required":["knowledgeBaseId"], |
| 1912 | "members":{ |
| 1913 | "knowledgeBaseId":{ |
| 1914 | "shape":"UuidOrArn", |
| 1915 | "location":"uri", |
| 1916 | "locationName":"knowledgeBaseId" |
| 1917 | }, |
| 1918 | "maxResults":{ |
| 1919 | "shape":"MaxResults", |
| 1920 | "location":"querystring", |
| 1921 | "locationName":"maxResults" |
| 1922 | }, |
| 1923 | "nextToken":{ |
| 1924 | "shape":"NextToken", |
| 1925 | "location":"querystring", |
| 1926 | "locationName":"nextToken" |
| 1927 | } |
| 1928 | } |
| 1929 | }, |
| 1930 | "ListContentsResponse":{ |
| 1931 | "type":"structure", |
| 1932 | "required":["contentSummaries"], |
| 1933 | "members":{ |
| 1934 | "contentSummaries":{"shape":"ContentSummaryList"}, |
| 1935 | "nextToken":{"shape":"NextToken"} |
| 1936 | } |
| 1937 | }, |
| 1938 | "ListImportJobsRequest":{ |
| 1939 | "type":"structure", |
| 1940 | "required":["knowledgeBaseId"], |
| 1941 | "members":{ |
| 1942 | "knowledgeBaseId":{ |
| 1943 | "shape":"UuidOrArn", |
| 1944 | "location":"uri", |
| 1945 | "locationName":"knowledgeBaseId" |
| 1946 | }, |
| 1947 | "maxResults":{ |
| 1948 | "shape":"MaxResults", |
| 1949 | "location":"querystring", |
| 1950 | "locationName":"maxResults" |
| 1951 | }, |
| 1952 | "nextToken":{ |
| 1953 | "shape":"NonEmptyString", |
| 1954 | "location":"querystring", |
| 1955 | "locationName":"nextToken" |
| 1956 | } |
| 1957 | } |
| 1958 | }, |
| 1959 | "ListImportJobsResponse":{ |
| 1960 | "type":"structure", |
| 1961 | "required":["importJobSummaries"], |
| 1962 | "members":{ |
| 1963 | "importJobSummaries":{"shape":"ImportJobList"}, |
| 1964 | "nextToken":{"shape":"NonEmptyString"} |
| 1965 | } |
| 1966 | }, |
| 1967 | "ListKnowledgeBasesRequest":{ |
| 1968 | "type":"structure", |
| 1969 | "members":{ |
| 1970 | "maxResults":{ |
| 1971 | "shape":"MaxResults", |
| 1972 | "location":"querystring", |
| 1973 | "locationName":"maxResults" |
| 1974 | }, |
| 1975 | "nextToken":{ |
| 1976 | "shape":"NonEmptyString", |
| 1977 | "location":"querystring", |
| 1978 | "locationName":"nextToken" |
| 1979 | } |
| 1980 | } |
| 1981 | }, |
| 1982 | "ListKnowledgeBasesResponse":{ |
| 1983 | "type":"structure", |
| 1984 | "required":["knowledgeBaseSummaries"], |
| 1985 | "members":{ |
| 1986 | "knowledgeBaseSummaries":{"shape":"KnowledgeBaseList"}, |
| 1987 | "nextToken":{"shape":"NonEmptyString"} |
| 1988 | } |
| 1989 | }, |
| 1990 | "ListQuickResponsesRequest":{ |
| 1991 | "type":"structure", |
| 1992 | "required":["knowledgeBaseId"], |
| 1993 | "members":{ |
| 1994 | "knowledgeBaseId":{ |
| 1995 | "shape":"UuidOrArn", |
| 1996 | "location":"uri", |
| 1997 | "locationName":"knowledgeBaseId" |
| 1998 | }, |
| 1999 | "maxResults":{ |
| 2000 | "shape":"MaxResults", |
| 2001 | "location":"querystring", |
| 2002 | "locationName":"maxResults" |
| 2003 | }, |
| 2004 | "nextToken":{ |
| 2005 | "shape":"NonEmptyString", |
| 2006 | "location":"querystring", |
| 2007 | "locationName":"nextToken" |
| 2008 | } |
| 2009 | } |
| 2010 | }, |
| 2011 | "ListQuickResponsesResponse":{ |
| 2012 | "type":"structure", |
| 2013 | "required":["quickResponseSummaries"], |
| 2014 | "members":{ |
| 2015 | "nextToken":{"shape":"NonEmptyString"}, |
| 2016 | "quickResponseSummaries":{"shape":"QuickResponseSummaryList"} |
| 2017 | } |
| 2018 | }, |
| 2019 | "ListTagsForResourceRequest":{ |
| 2020 | "type":"structure", |
| 2021 | "required":["resourceArn"], |
| 2022 | "members":{ |
| 2023 | "resourceArn":{ |
| 2024 | "shape":"Arn", |
| 2025 | "location":"uri", |
| 2026 | "locationName":"resourceArn" |
| 2027 | } |
| 2028 | } |
| 2029 | }, |
| 2030 | "ListTagsForResourceResponse":{ |
| 2031 | "type":"structure", |
| 2032 | "members":{ |
| 2033 | "tags":{"shape":"Tags"} |
| 2034 | } |
| 2035 | }, |
| 2036 | "LlmModelId":{ |
| 2037 | "type":"string", |
| 2038 | "max":128, |
| 2039 | "min":1 |
| 2040 | }, |
| 2041 | "MaxResults":{ |
| 2042 | "type":"integer", |
| 2043 | "box":true, |
| 2044 | "max":100, |
| 2045 | "min":1 |
| 2046 | }, |
| 2047 | "Name":{ |
| 2048 | "type":"string", |
| 2049 | "max":255, |
| 2050 | "min":1, |
| 2051 | "pattern":"^[a-zA-Z0-9\\s_.,-]+" |
| 2052 | }, |
| 2053 | "NextToken":{ |
| 2054 | "type":"string", |
| 2055 | "max":2048, |
| 2056 | "min":1 |
| 2057 | }, |
| 2058 | "NonEmptyString":{ |
| 2059 | "type":"string", |
| 2060 | "max":4096, |
| 2061 | "min":1 |
| 2062 | }, |
| 2063 | "NotifyRecommendationsReceivedError":{ |
| 2064 | "type":"structure", |
| 2065 | "members":{ |
| 2066 | "message":{"shape":"NotifyRecommendationsReceivedErrorMessage"}, |
| 2067 | "recommendationId":{"shape":"RecommendationId"} |
| 2068 | } |
| 2069 | }, |
| 2070 | "NotifyRecommendationsReceivedErrorList":{ |
| 2071 | "type":"list", |
| 2072 | "member":{"shape":"NotifyRecommendationsReceivedError"} |
| 2073 | }, |
| 2074 | "NotifyRecommendationsReceivedErrorMessage":{"type":"string"}, |
| 2075 | "NotifyRecommendationsReceivedRequest":{ |
| 2076 | "type":"structure", |
| 2077 | "required":[ |
| 2078 | "assistantId", |
| 2079 | "recommendationIds", |
| 2080 | "sessionId" |
| 2081 | ], |
| 2082 | "members":{ |
| 2083 | "assistantId":{ |
| 2084 | "shape":"UuidOrArn", |
| 2085 | "location":"uri", |
| 2086 | "locationName":"assistantId" |
| 2087 | }, |
| 2088 | "recommendationIds":{"shape":"RecommendationIdList"}, |
| 2089 | "sessionId":{ |
| 2090 | "shape":"UuidOrArn", |
| 2091 | "location":"uri", |
| 2092 | "locationName":"sessionId" |
| 2093 | } |
| 2094 | } |
| 2095 | }, |
| 2096 | "NotifyRecommendationsReceivedResponse":{ |
| 2097 | "type":"structure", |
| 2098 | "members":{ |
| 2099 | "errors":{"shape":"NotifyRecommendationsReceivedErrorList"}, |
| 2100 | "recommendationIds":{"shape":"RecommendationIdList"} |
| 2101 | } |
| 2102 | }, |
| 2103 | "ObjectFieldsList":{ |
| 2104 | "type":"list", |
| 2105 | "member":{"shape":"NonEmptyString"}, |
| 2106 | "max":100, |
| 2107 | "min":1 |
| 2108 | }, |
| 2109 | "Order":{ |
| 2110 | "type":"string", |
| 2111 | "enum":[ |
| 2112 | "ASC", |
| 2113 | "DESC" |
| 2114 | ] |
| 2115 | }, |
| 2116 | "PreconditionFailedException":{ |
| 2117 | "type":"structure", |
| 2118 | "members":{ |
| 2119 | "message":{"shape":"String"} |
| 2120 | }, |
| 2121 | "error":{ |
| 2122 | "httpStatusCode":412, |
| 2123 | "senderFault":true |
| 2124 | }, |
| 2125 | "exception":true |
| 2126 | }, |
| 2127 | "Priority":{ |
| 2128 | "type":"string", |
| 2129 | "enum":[ |
| 2130 | "HIGH", |
| 2131 | "MEDIUM", |
| 2132 | "LOW" |
| 2133 | ] |
| 2134 | }, |
| 2135 | "PutFeedbackRequest":{ |
| 2136 | "type":"structure", |
| 2137 | "required":[ |
| 2138 | "assistantId", |
| 2139 | "contentFeedback", |
| 2140 | "targetId", |
| 2141 | "targetType" |
| 2142 | ], |
| 2143 | "members":{ |
| 2144 | "assistantId":{ |
| 2145 | "shape":"UuidOrArn", |
| 2146 | "location":"uri", |
| 2147 | "locationName":"assistantId" |
| 2148 | }, |
| 2149 | "contentFeedback":{"shape":"ContentFeedbackData"}, |
| 2150 | "targetId":{"shape":"Uuid"}, |
| 2151 | "targetType":{"shape":"TargetType"} |
| 2152 | } |
| 2153 | }, |
| 2154 | "PutFeedbackResponse":{ |
| 2155 | "type":"structure", |
| 2156 | "required":[ |
| 2157 | "assistantArn", |
| 2158 | "assistantId", |
| 2159 | "contentFeedback", |
| 2160 | "targetId", |
| 2161 | "targetType" |
| 2162 | ], |
| 2163 | "members":{ |
| 2164 | "assistantArn":{"shape":"UuidOrArn"}, |
| 2165 | "assistantId":{"shape":"Uuid"}, |
| 2166 | "contentFeedback":{"shape":"ContentFeedbackData"}, |
| 2167 | "targetId":{"shape":"Uuid"}, |
| 2168 | "targetType":{"shape":"TargetType"} |
| 2169 | } |
| 2170 | }, |
| 2171 | "QueryAssistantRequest":{ |
| 2172 | "type":"structure", |
| 2173 | "required":[ |
| 2174 | "assistantId", |
| 2175 | "queryText" |
| 2176 | ], |
| 2177 | "members":{ |
| 2178 | "assistantId":{ |
| 2179 | "shape":"UuidOrArn", |
| 2180 | "location":"uri", |
| 2181 | "locationName":"assistantId" |
| 2182 | }, |
| 2183 | "maxResults":{"shape":"MaxResults"}, |
| 2184 | "nextToken":{"shape":"NextToken"}, |
| 2185 | "queryCondition":{"shape":"QueryConditionExpression"}, |
| 2186 | "queryText":{"shape":"QueryText"}, |
| 2187 | "sessionId":{"shape":"UuidOrArn"} |
| 2188 | } |
| 2189 | }, |
| 2190 | "QueryAssistantResponse":{ |
| 2191 | "type":"structure", |
| 2192 | "required":["results"], |
| 2193 | "members":{ |
| 2194 | "nextToken":{"shape":"NextToken"}, |
| 2195 | "results":{"shape":"QueryResultsList"} |
| 2196 | } |
| 2197 | }, |
| 2198 | "QueryCondition":{ |
| 2199 | "type":"structure", |
| 2200 | "members":{ |
| 2201 | "single":{"shape":"QueryConditionItem"} |
| 2202 | }, |
| 2203 | "union":true |
| 2204 | }, |
| 2205 | "QueryConditionComparisonOperator":{ |
| 2206 | "type":"string", |
| 2207 | "enum":["EQUALS"] |
| 2208 | }, |
| 2209 | "QueryConditionExpression":{ |
| 2210 | "type":"list", |
| 2211 | "member":{"shape":"QueryCondition"}, |
| 2212 | "max":1, |
| 2213 | "min":0 |
| 2214 | }, |
| 2215 | "QueryConditionFieldName":{ |
| 2216 | "type":"string", |
| 2217 | "enum":["RESULT_TYPE"] |
| 2218 | }, |
| 2219 | "QueryConditionItem":{ |
| 2220 | "type":"structure", |
| 2221 | "required":[ |
| 2222 | "comparator", |
| 2223 | "field", |
| 2224 | "value" |
| 2225 | ], |
| 2226 | "members":{ |
| 2227 | "comparator":{"shape":"QueryConditionComparisonOperator"}, |
| 2228 | "field":{"shape":"QueryConditionFieldName"}, |
| 2229 | "value":{"shape":"NonEmptyString"} |
| 2230 | } |
| 2231 | }, |
| 2232 | "QueryRecommendationTriggerData":{ |
| 2233 | "type":"structure", |
| 2234 | "members":{ |
| 2235 | "text":{"shape":"QueryText"} |
| 2236 | } |
| 2237 | }, |
| 2238 | "QueryResultType":{ |
| 2239 | "type":"string", |
| 2240 | "enum":[ |
| 2241 | "KNOWLEDGE_CONTENT", |
| 2242 | "GENERATIVE_ANSWER" |
| 2243 | ] |
| 2244 | }, |
| 2245 | "QueryResultsList":{ |
| 2246 | "type":"list", |
| 2247 | "member":{"shape":"ResultData"} |
| 2248 | }, |
| 2249 | "QueryText":{ |
| 2250 | "type":"string", |
| 2251 | "max":1024, |
| 2252 | "min":0, |
| 2253 | "sensitive":true |
| 2254 | }, |
| 2255 | "QuickResponseContent":{ |
| 2256 | "type":"string", |
| 2257 | "max":1024, |
| 2258 | "min":1, |
| 2259 | "sensitive":true |
| 2260 | }, |
| 2261 | "QuickResponseContentProvider":{ |
| 2262 | "type":"structure", |
| 2263 | "members":{ |
| 2264 | "content":{"shape":"QuickResponseContent"} |
| 2265 | }, |
| 2266 | "union":true |
| 2267 | }, |
| 2268 | "QuickResponseContents":{ |
| 2269 | "type":"structure", |
| 2270 | "members":{ |
| 2271 | "markdown":{"shape":"QuickResponseContentProvider"}, |
| 2272 | "plainText":{"shape":"QuickResponseContentProvider"} |
| 2273 | } |
| 2274 | }, |
| 2275 | "QuickResponseData":{ |
| 2276 | "type":"structure", |
| 2277 | "required":[ |
| 2278 | "contentType", |
| 2279 | "createdTime", |
| 2280 | "knowledgeBaseArn", |
| 2281 | "knowledgeBaseId", |
| 2282 | "lastModifiedTime", |
| 2283 | "name", |
| 2284 | "quickResponseArn", |
| 2285 | "quickResponseId", |
| 2286 | "status" |
| 2287 | ], |
| 2288 | "members":{ |
| 2289 | "channels":{"shape":"Channels"}, |
| 2290 | "contentType":{"shape":"QuickResponseType"}, |
| 2291 | "contents":{"shape":"QuickResponseContents"}, |
| 2292 | "createdTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 2293 | "description":{"shape":"QuickResponseDescription"}, |
| 2294 | "groupingConfiguration":{"shape":"GroupingConfiguration"}, |
| 2295 | "isActive":{"shape":"Boolean"}, |
| 2296 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 2297 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 2298 | "language":{"shape":"LanguageCode"}, |
| 2299 | "lastModifiedBy":{"shape":"GenericArn"}, |
| 2300 | "lastModifiedTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 2301 | "name":{"shape":"QuickResponseName"}, |
| 2302 | "quickResponseArn":{"shape":"Arn"}, |
| 2303 | "quickResponseId":{"shape":"Uuid"}, |
| 2304 | "shortcutKey":{"shape":"ShortCutKey"}, |
| 2305 | "status":{"shape":"QuickResponseStatus"}, |
| 2306 | "tags":{"shape":"Tags"} |
| 2307 | } |
| 2308 | }, |
| 2309 | "QuickResponseDataProvider":{ |
| 2310 | "type":"structure", |
| 2311 | "members":{ |
| 2312 | "content":{"shape":"QuickResponseContent"} |
| 2313 | }, |
| 2314 | "union":true |
| 2315 | }, |
| 2316 | "QuickResponseDescription":{ |
| 2317 | "type":"string", |
| 2318 | "max":255, |
| 2319 | "min":1 |
| 2320 | }, |
| 2321 | "QuickResponseFilterField":{ |
| 2322 | "type":"structure", |
| 2323 | "required":[ |
| 2324 | "name", |
| 2325 | "operator" |
| 2326 | ], |
| 2327 | "members":{ |
| 2328 | "includeNoExistence":{"shape":"Boolean"}, |
| 2329 | "name":{"shape":"NonEmptyString"}, |
| 2330 | "operator":{"shape":"QuickResponseFilterOperator"}, |
| 2331 | "values":{"shape":"QuickResponseFilterValueList"} |
| 2332 | } |
| 2333 | }, |
| 2334 | "QuickResponseFilterFieldList":{ |
| 2335 | "type":"list", |
| 2336 | "member":{"shape":"QuickResponseFilterField"}, |
| 2337 | "max":10, |
| 2338 | "min":0 |
| 2339 | }, |
| 2340 | "QuickResponseFilterOperator":{ |
| 2341 | "type":"string", |
| 2342 | "enum":[ |
| 2343 | "EQUALS", |
| 2344 | "PREFIX" |
| 2345 | ] |
| 2346 | }, |
| 2347 | "QuickResponseFilterValue":{ |
| 2348 | "type":"string", |
| 2349 | "max":2048, |
| 2350 | "min":1 |
| 2351 | }, |
| 2352 | "QuickResponseFilterValueList":{ |
| 2353 | "type":"list", |
| 2354 | "member":{"shape":"QuickResponseFilterValue"}, |
| 2355 | "max":5, |
| 2356 | "min":1 |
| 2357 | }, |
| 2358 | "QuickResponseName":{ |
| 2359 | "type":"string", |
| 2360 | "max":40, |
| 2361 | "min":1 |
| 2362 | }, |
| 2363 | "QuickResponseOrderField":{ |
| 2364 | "type":"structure", |
| 2365 | "required":["name"], |
| 2366 | "members":{ |
| 2367 | "name":{"shape":"NonEmptyString"}, |
| 2368 | "order":{"shape":"Order"} |
| 2369 | } |
| 2370 | }, |
| 2371 | "QuickResponseQueryField":{ |
| 2372 | "type":"structure", |
| 2373 | "required":[ |
| 2374 | "name", |
| 2375 | "operator", |
| 2376 | "values" |
| 2377 | ], |
| 2378 | "members":{ |
| 2379 | "allowFuzziness":{"shape":"Boolean"}, |
| 2380 | "name":{"shape":"NonEmptyString"}, |
| 2381 | "operator":{"shape":"QuickResponseQueryOperator"}, |
| 2382 | "priority":{"shape":"Priority"}, |
| 2383 | "values":{"shape":"QuickResponseQueryValueList"} |
| 2384 | } |
| 2385 | }, |
| 2386 | "QuickResponseQueryFieldList":{ |
| 2387 | "type":"list", |
| 2388 | "member":{"shape":"QuickResponseQueryField"}, |
| 2389 | "max":4, |
| 2390 | "min":0 |
| 2391 | }, |
| 2392 | "QuickResponseQueryOperator":{ |
| 2393 | "type":"string", |
| 2394 | "enum":[ |
| 2395 | "CONTAINS", |
| 2396 | "CONTAINS_AND_PREFIX" |
| 2397 | ] |
| 2398 | }, |
| 2399 | "QuickResponseQueryValue":{ |
| 2400 | "type":"string", |
| 2401 | "max":1024, |
| 2402 | "min":1 |
| 2403 | }, |
| 2404 | "QuickResponseQueryValueList":{ |
| 2405 | "type":"list", |
| 2406 | "member":{"shape":"QuickResponseQueryValue"}, |
| 2407 | "max":5, |
| 2408 | "min":1 |
| 2409 | }, |
| 2410 | "QuickResponseSearchExpression":{ |
| 2411 | "type":"structure", |
| 2412 | "members":{ |
| 2413 | "filters":{"shape":"QuickResponseFilterFieldList"}, |
| 2414 | "orderOnField":{"shape":"QuickResponseOrderField"}, |
| 2415 | "queries":{"shape":"QuickResponseQueryFieldList"} |
| 2416 | } |
| 2417 | }, |
| 2418 | "QuickResponseSearchResultData":{ |
| 2419 | "type":"structure", |
| 2420 | "required":[ |
| 2421 | "contentType", |
| 2422 | "contents", |
| 2423 | "createdTime", |
| 2424 | "isActive", |
| 2425 | "knowledgeBaseArn", |
| 2426 | "knowledgeBaseId", |
| 2427 | "lastModifiedTime", |
| 2428 | "name", |
| 2429 | "quickResponseArn", |
| 2430 | "quickResponseId", |
| 2431 | "status" |
| 2432 | ], |
| 2433 | "members":{ |
| 2434 | "attributesInterpolated":{"shape":"ContactAttributeKeys"}, |
| 2435 | "attributesNotInterpolated":{"shape":"ContactAttributeKeys"}, |
| 2436 | "channels":{"shape":"Channels"}, |
| 2437 | "contentType":{"shape":"QuickResponseType"}, |
| 2438 | "contents":{"shape":"QuickResponseContents"}, |
| 2439 | "createdTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 2440 | "description":{"shape":"QuickResponseDescription"}, |
| 2441 | "groupingConfiguration":{"shape":"GroupingConfiguration"}, |
| 2442 | "isActive":{"shape":"Boolean"}, |
| 2443 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 2444 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 2445 | "language":{"shape":"LanguageCode"}, |
| 2446 | "lastModifiedBy":{"shape":"GenericArn"}, |
| 2447 | "lastModifiedTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 2448 | "name":{"shape":"QuickResponseName"}, |
| 2449 | "quickResponseArn":{"shape":"Arn"}, |
| 2450 | "quickResponseId":{"shape":"Uuid"}, |
| 2451 | "shortcutKey":{"shape":"ShortCutKey"}, |
| 2452 | "status":{"shape":"QuickResponseStatus"}, |
| 2453 | "tags":{"shape":"Tags"} |
| 2454 | } |
| 2455 | }, |
| 2456 | "QuickResponseSearchResultsList":{ |
| 2457 | "type":"list", |
| 2458 | "member":{"shape":"QuickResponseSearchResultData"} |
| 2459 | }, |
| 2460 | "QuickResponseStatus":{ |
| 2461 | "type":"string", |
| 2462 | "enum":[ |
| 2463 | "CREATE_IN_PROGRESS", |
| 2464 | "CREATE_FAILED", |
| 2465 | "CREATED", |
| 2466 | "DELETE_IN_PROGRESS", |
| 2467 | "DELETE_FAILED", |
| 2468 | "DELETED", |
| 2469 | "UPDATE_IN_PROGRESS", |
| 2470 | "UPDATE_FAILED" |
| 2471 | ] |
| 2472 | }, |
| 2473 | "QuickResponseSummary":{ |
| 2474 | "type":"structure", |
| 2475 | "required":[ |
| 2476 | "contentType", |
| 2477 | "createdTime", |
| 2478 | "knowledgeBaseArn", |
| 2479 | "knowledgeBaseId", |
| 2480 | "lastModifiedTime", |
| 2481 | "name", |
| 2482 | "quickResponseArn", |
| 2483 | "quickResponseId", |
| 2484 | "status" |
| 2485 | ], |
| 2486 | "members":{ |
| 2487 | "channels":{"shape":"Channels"}, |
| 2488 | "contentType":{"shape":"QuickResponseType"}, |
| 2489 | "createdTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 2490 | "description":{"shape":"QuickResponseDescription"}, |
| 2491 | "isActive":{"shape":"Boolean"}, |
| 2492 | "knowledgeBaseArn":{"shape":"Arn"}, |
| 2493 | "knowledgeBaseId":{"shape":"Uuid"}, |
| 2494 | "lastModifiedBy":{"shape":"GenericArn"}, |
| 2495 | "lastModifiedTime":{"shape":"SyntheticTimestamp_epoch_seconds"}, |
| 2496 | "name":{"shape":"QuickResponseName"}, |
| 2497 | "quickResponseArn":{"shape":"Arn"}, |
| 2498 | "quickResponseId":{"shape":"Uuid"}, |
| 2499 | "status":{"shape":"QuickResponseStatus"}, |
| 2500 | "tags":{"shape":"Tags"} |
| 2501 | } |
| 2502 | }, |
| 2503 | "QuickResponseSummaryList":{ |
| 2504 | "type":"list", |
| 2505 | "member":{"shape":"QuickResponseSummary"} |
| 2506 | }, |
| 2507 | "QuickResponseType":{ |
| 2508 | "type":"string", |
| 2509 | "pattern":"^(application/x\\.quickresponse;format=(plain|markdown))$" |
| 2510 | }, |
| 2511 | "RankingData":{ |
| 2512 | "type":"structure", |
| 2513 | "members":{ |
| 2514 | "relevanceLevel":{"shape":"RelevanceLevel"}, |
| 2515 | "relevanceScore":{"shape":"RelevanceScore"} |
| 2516 | } |
| 2517 | }, |
| 2518 | "RecommendationData":{ |
| 2519 | "type":"structure", |
| 2520 | "required":["recommendationId"], |
| 2521 | "members":{ |
| 2522 | "data":{"shape":"DataSummary"}, |
| 2523 | "document":{"shape":"Document"}, |
| 2524 | "recommendationId":{"shape":"RecommendationId"}, |
| 2525 | "relevanceLevel":{"shape":"RelevanceLevel"}, |
| 2526 | "relevanceScore":{"shape":"RelevanceScore"}, |
| 2527 | "type":{"shape":"RecommendationType"} |
| 2528 | } |
| 2529 | }, |
| 2530 | "RecommendationId":{ |
| 2531 | "type":"string", |
| 2532 | "max":2048, |
| 2533 | "min":1 |
| 2534 | }, |
| 2535 | "RecommendationIdList":{ |
| 2536 | "type":"list", |
| 2537 | "member":{"shape":"RecommendationId"}, |
| 2538 | "max":25, |
| 2539 | "min":0 |
| 2540 | }, |
| 2541 | "RecommendationList":{ |
| 2542 | "type":"list", |
| 2543 | "member":{"shape":"RecommendationData"} |
| 2544 | }, |
| 2545 | "RecommendationSourceType":{ |
| 2546 | "type":"string", |
| 2547 | "enum":[ |
| 2548 | "ISSUE_DETECTION", |
| 2549 | "RULE_EVALUATION", |
| 2550 | "OTHER" |
| 2551 | ] |
| 2552 | }, |
| 2553 | "RecommendationTrigger":{ |
| 2554 | "type":"structure", |
| 2555 | "required":[ |
| 2556 | "data", |
| 2557 | "id", |
| 2558 | "recommendationIds", |
| 2559 | "source", |
| 2560 | "type" |
| 2561 | ], |
| 2562 | "members":{ |
| 2563 | "data":{"shape":"RecommendationTriggerData"}, |
| 2564 | "id":{"shape":"Uuid"}, |
| 2565 | "recommendationIds":{"shape":"RecommendationIdList"}, |
| 2566 | "source":{"shape":"RecommendationSourceType"}, |
| 2567 | "type":{"shape":"RecommendationTriggerType"} |
| 2568 | } |
| 2569 | }, |
| 2570 | "RecommendationTriggerData":{ |
| 2571 | "type":"structure", |
| 2572 | "members":{ |
| 2573 | "query":{"shape":"QueryRecommendationTriggerData"} |
| 2574 | }, |
| 2575 | "union":true |
| 2576 | }, |
| 2577 | "RecommendationTriggerList":{ |
| 2578 | "type":"list", |
| 2579 | "member":{"shape":"RecommendationTrigger"} |
| 2580 | }, |
| 2581 | "RecommendationTriggerType":{ |
| 2582 | "type":"string", |
| 2583 | "enum":[ |
| 2584 | "QUERY", |
| 2585 | "GENERATIVE" |
| 2586 | ] |
| 2587 | }, |
| 2588 | "RecommendationType":{ |
| 2589 | "type":"string", |
| 2590 | "enum":[ |
| 2591 | "KNOWLEDGE_CONTENT", |
| 2592 | "GENERATIVE_RESPONSE", |
| 2593 | "GENERATIVE_ANSWER" |
| 2594 | ] |
| 2595 | }, |
| 2596 | "Relevance":{ |
| 2597 | "type":"string", |
| 2598 | "enum":[ |
| 2599 | "HELPFUL", |
| 2600 | "NOT_HELPFUL" |
| 2601 | ] |
| 2602 | }, |
| 2603 | "RelevanceLevel":{ |
| 2604 | "type":"string", |
| 2605 | "enum":[ |
| 2606 | "HIGH", |
| 2607 | "MEDIUM", |
| 2608 | "LOW" |
| 2609 | ] |
| 2610 | }, |
| 2611 | "RelevanceScore":{ |
| 2612 | "type":"double", |
| 2613 | "min":0.0 |
| 2614 | }, |
| 2615 | "RemoveKnowledgeBaseTemplateUriRequest":{ |
| 2616 | "type":"structure", |
| 2617 | "required":["knowledgeBaseId"], |
| 2618 | "members":{ |
| 2619 | "knowledgeBaseId":{ |
| 2620 | "shape":"UuidOrArn", |
| 2621 | "location":"uri", |
| 2622 | "locationName":"knowledgeBaseId" |
| 2623 | } |
| 2624 | } |
| 2625 | }, |
| 2626 | "RemoveKnowledgeBaseTemplateUriResponse":{ |
| 2627 | "type":"structure", |
| 2628 | "members":{ |
| 2629 | } |
| 2630 | }, |
| 2631 | "RenderingConfiguration":{ |
| 2632 | "type":"structure", |
| 2633 | "members":{ |
| 2634 | "templateUri":{"shape":"Uri"} |
| 2635 | } |
| 2636 | }, |
| 2637 | "RequestTimeoutException":{ |
| 2638 | "type":"structure", |
| 2639 | "members":{ |
| 2640 | "message":{"shape":"String"} |
| 2641 | }, |
| 2642 | "error":{ |
| 2643 | "httpStatusCode":408, |
| 2644 | "senderFault":true |
| 2645 | }, |
| 2646 | "exception":true, |
| 2647 | "retryable":{"throttling":false} |
| 2648 | }, |
| 2649 | "ResourceNotFoundException":{ |
| 2650 | "type":"structure", |
| 2651 | "members":{ |
| 2652 | "message":{"shape":"String"}, |
| 2653 | "resourceName":{"shape":"String"} |
| 2654 | }, |
| 2655 | "error":{ |
| 2656 | "httpStatusCode":404, |
| 2657 | "senderFault":true |
| 2658 | }, |
| 2659 | "exception":true |
| 2660 | }, |
| 2661 | "ResultData":{ |
| 2662 | "type":"structure", |
| 2663 | "required":["resultId"], |
| 2664 | "members":{ |
| 2665 | "data":{"shape":"DataSummary"}, |
| 2666 | "document":{"shape":"Document"}, |
| 2667 | "relevanceScore":{"shape":"RelevanceScore"}, |
| 2668 | "resultId":{"shape":"Uuid"}, |
| 2669 | "type":{"shape":"QueryResultType"} |
| 2670 | } |
| 2671 | }, |
| 2672 | "SearchContentRequest":{ |
| 2673 | "type":"structure", |
| 2674 | "required":[ |
| 2675 | "knowledgeBaseId", |
| 2676 | "searchExpression" |
| 2677 | ], |
| 2678 | "members":{ |
| 2679 | "knowledgeBaseId":{ |
| 2680 | "shape":"UuidOrArn", |
| 2681 | "location":"uri", |
| 2682 | "locationName":"knowledgeBaseId" |
| 2683 | }, |
| 2684 | "maxResults":{ |
| 2685 | "shape":"MaxResults", |
| 2686 | "location":"querystring", |
| 2687 | "locationName":"maxResults" |
| 2688 | }, |
| 2689 | "nextToken":{ |
| 2690 | "shape":"NextToken", |
| 2691 | "location":"querystring", |
| 2692 | "locationName":"nextToken" |
| 2693 | }, |
| 2694 | "searchExpression":{"shape":"SearchExpression"} |
| 2695 | } |
| 2696 | }, |
| 2697 | "SearchContentResponse":{ |
| 2698 | "type":"structure", |
| 2699 | "required":["contentSummaries"], |
| 2700 | "members":{ |
| 2701 | "contentSummaries":{"shape":"ContentSummaryList"}, |
| 2702 | "nextToken":{"shape":"NextToken"} |
| 2703 | } |
| 2704 | }, |
| 2705 | "SearchExpression":{ |
| 2706 | "type":"structure", |
| 2707 | "required":["filters"], |
| 2708 | "members":{ |
| 2709 | "filters":{"shape":"FilterList"} |
| 2710 | } |
| 2711 | }, |
| 2712 | "SearchQuickResponsesRequest":{ |
| 2713 | "type":"structure", |
| 2714 | "required":[ |
| 2715 | "knowledgeBaseId", |
| 2716 | "searchExpression" |
| 2717 | ], |
| 2718 | "members":{ |
| 2719 | "attributes":{"shape":"ContactAttributes"}, |
| 2720 | "knowledgeBaseId":{ |
| 2721 | "shape":"UuidOrArn", |
| 2722 | "location":"uri", |
| 2723 | "locationName":"knowledgeBaseId" |
| 2724 | }, |
| 2725 | "maxResults":{ |
| 2726 | "shape":"MaxResults", |
| 2727 | "location":"querystring", |
| 2728 | "locationName":"maxResults" |
| 2729 | }, |
| 2730 | "nextToken":{ |
| 2731 | "shape":"NonEmptyString", |
| 2732 | "location":"querystring", |
| 2733 | "locationName":"nextToken" |
| 2734 | }, |
| 2735 | "searchExpression":{"shape":"QuickResponseSearchExpression"} |
| 2736 | } |
| 2737 | }, |
| 2738 | "SearchQuickResponsesResponse":{ |
| 2739 | "type":"structure", |
| 2740 | "required":["results"], |
| 2741 | "members":{ |
| 2742 | "nextToken":{"shape":"NonEmptyString"}, |
| 2743 | "results":{"shape":"QuickResponseSearchResultsList"} |
| 2744 | } |
| 2745 | }, |
| 2746 | "SearchSessionsRequest":{ |
| 2747 | "type":"structure", |
| 2748 | "required":[ |
| 2749 | "assistantId", |
| 2750 | "searchExpression" |
| 2751 | ], |
| 2752 | "members":{ |
| 2753 | "assistantId":{ |
| 2754 | "shape":"UuidOrArn", |
| 2755 | "location":"uri", |
| 2756 | "locationName":"assistantId" |
| 2757 | }, |
| 2758 | "maxResults":{ |
| 2759 | "shape":"MaxResults", |
| 2760 | "location":"querystring", |
| 2761 | "locationName":"maxResults" |
| 2762 | }, |
| 2763 | "nextToken":{ |
| 2764 | "shape":"NextToken", |
| 2765 | "location":"querystring", |
| 2766 | "locationName":"nextToken" |
| 2767 | }, |
| 2768 | "searchExpression":{"shape":"SearchExpression"} |
| 2769 | } |
| 2770 | }, |
| 2771 | "SearchSessionsResponse":{ |
| 2772 | "type":"structure", |
| 2773 | "required":["sessionSummaries"], |
| 2774 | "members":{ |
| 2775 | "nextToken":{"shape":"NextToken"}, |
| 2776 | "sessionSummaries":{"shape":"SessionSummaries"} |
| 2777 | } |
| 2778 | }, |
| 2779 | "SensitiveString":{ |
| 2780 | "type":"string", |
| 2781 | "sensitive":true |
| 2782 | }, |
| 2783 | "ServerSideEncryptionConfiguration":{ |
| 2784 | "type":"structure", |
| 2785 | "members":{ |
| 2786 | "kmsKeyId":{"shape":"NonEmptyString"} |
| 2787 | } |
| 2788 | }, |
| 2789 | "ServiceQuotaExceededException":{ |
| 2790 | "type":"structure", |
| 2791 | "members":{ |
| 2792 | "message":{"shape":"String"} |
| 2793 | }, |
| 2794 | "error":{ |
| 2795 | "httpStatusCode":402, |
| 2796 | "senderFault":true |
| 2797 | }, |
| 2798 | "exception":true |
| 2799 | }, |
| 2800 | "SessionData":{ |
| 2801 | "type":"structure", |
| 2802 | "required":[ |
| 2803 | "name", |
| 2804 | "sessionArn", |
| 2805 | "sessionId" |
| 2806 | ], |
| 2807 | "members":{ |
| 2808 | "description":{"shape":"Description"}, |
| 2809 | "integrationConfiguration":{"shape":"SessionIntegrationConfiguration"}, |
| 2810 | "name":{"shape":"Name"}, |
| 2811 | "sessionArn":{"shape":"Arn"}, |
| 2812 | "sessionId":{"shape":"Uuid"}, |
| 2813 | "tags":{"shape":"Tags"} |
| 2814 | } |
| 2815 | }, |
| 2816 | "SessionIntegrationConfiguration":{ |
| 2817 | "type":"structure", |
| 2818 | "members":{ |
| 2819 | "topicIntegrationArn":{"shape":"GenericArn"} |
| 2820 | } |
| 2821 | }, |
| 2822 | "SessionSummaries":{ |
| 2823 | "type":"list", |
| 2824 | "member":{"shape":"SessionSummary"} |
| 2825 | }, |
| 2826 | "SessionSummary":{ |
| 2827 | "type":"structure", |
| 2828 | "required":[ |
| 2829 | "assistantArn", |
| 2830 | "assistantId", |
| 2831 | "sessionArn", |
| 2832 | "sessionId" |
| 2833 | ], |
| 2834 | "members":{ |
| 2835 | "assistantArn":{"shape":"Arn"}, |
| 2836 | "assistantId":{"shape":"Uuid"}, |
| 2837 | "sessionArn":{"shape":"Arn"}, |
| 2838 | "sessionId":{"shape":"Uuid"} |
| 2839 | } |
| 2840 | }, |
| 2841 | "ShortCutKey":{ |
| 2842 | "type":"string", |
| 2843 | "max":10, |
| 2844 | "min":1 |
| 2845 | }, |
| 2846 | "SourceConfiguration":{ |
| 2847 | "type":"structure", |
| 2848 | "members":{ |
| 2849 | "appIntegrations":{"shape":"AppIntegrationsConfiguration"} |
| 2850 | }, |
| 2851 | "union":true |
| 2852 | }, |
| 2853 | "SourceContentDataDetails":{ |
| 2854 | "type":"structure", |
| 2855 | "required":[ |
| 2856 | "id", |
| 2857 | "rankingData", |
| 2858 | "textData", |
| 2859 | "type" |
| 2860 | ], |
| 2861 | "members":{ |
| 2862 | "id":{"shape":"Uuid"}, |
| 2863 | "rankingData":{"shape":"RankingData"}, |
| 2864 | "textData":{"shape":"TextData"}, |
| 2865 | "type":{"shape":"SourceContentType"} |
| 2866 | } |
| 2867 | }, |
| 2868 | "SourceContentType":{ |
| 2869 | "type":"string", |
| 2870 | "enum":["KNOWLEDGE_CONTENT"] |
| 2871 | }, |
| 2872 | "StartContentUploadRequest":{ |
| 2873 | "type":"structure", |
| 2874 | "required":[ |
| 2875 | "contentType", |
| 2876 | "knowledgeBaseId" |
| 2877 | ], |
| 2878 | "members":{ |
| 2879 | "contentType":{"shape":"ContentType"}, |
| 2880 | "knowledgeBaseId":{ |
| 2881 | "shape":"UuidOrArn", |
| 2882 | "location":"uri", |
| 2883 | "locationName":"knowledgeBaseId" |
| 2884 | }, |
| 2885 | "presignedUrlTimeToLive":{"shape":"TimeToLive"} |
| 2886 | } |
| 2887 | }, |
| 2888 | "StartContentUploadResponse":{ |
| 2889 | "type":"structure", |
| 2890 | "required":[ |
| 2891 | "headersToInclude", |
| 2892 | "uploadId", |
| 2893 | "url", |
| 2894 | "urlExpiry" |
| 2895 | ], |
| 2896 | "members":{ |
| 2897 | "headersToInclude":{"shape":"Headers"}, |
| 2898 | "uploadId":{"shape":"UploadId"}, |
| 2899 | "url":{"shape":"Url"}, |
| 2900 | "urlExpiry":{"shape":"SyntheticTimestamp_epoch_seconds"} |
| 2901 | } |
| 2902 | }, |
| 2903 | "StartImportJobRequest":{ |
| 2904 | "type":"structure", |
| 2905 | "required":[ |
| 2906 | "importJobType", |
| 2907 | "knowledgeBaseId", |
| 2908 | "uploadId" |
| 2909 | ], |
| 2910 | "members":{ |
| 2911 | "clientToken":{ |
| 2912 | "shape":"NonEmptyString", |
| 2913 | "idempotencyToken":true |
| 2914 | }, |
| 2915 | "externalSourceConfiguration":{"shape":"ExternalSourceConfiguration"}, |
| 2916 | "importJobType":{"shape":"ImportJobType"}, |
| 2917 | "knowledgeBaseId":{ |
| 2918 | "shape":"UuidOrArn", |
| 2919 | "location":"uri", |
| 2920 | "locationName":"knowledgeBaseId" |
| 2921 | }, |
| 2922 | "metadata":{"shape":"ContentMetadata"}, |
| 2923 | "uploadId":{"shape":"UploadId"} |
| 2924 | } |
| 2925 | }, |
| 2926 | "StartImportJobResponse":{ |
| 2927 | "type":"structure", |
| 2928 | "members":{ |
| 2929 | "importJob":{"shape":"ImportJobData"} |
| 2930 | } |
| 2931 | }, |
| 2932 | "String":{"type":"string"}, |
| 2933 | "SyntheticTimestamp_epoch_seconds":{ |
| 2934 | "type":"timestamp", |
| 2935 | "timestampFormat":"unixTimestamp" |
| 2936 | }, |
| 2937 | "TagKey":{ |
| 2938 | "type":"string", |
| 2939 | "max":128, |
| 2940 | "min":1, |
| 2941 | "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" |
| 2942 | }, |
| 2943 | "TagKeyList":{ |
| 2944 | "type":"list", |
| 2945 | "member":{"shape":"TagKey"}, |
| 2946 | "max":50, |
| 2947 | "min":1 |
| 2948 | }, |
| 2949 | "TagResourceRequest":{ |
| 2950 | "type":"structure", |
| 2951 | "required":[ |
| 2952 | "resourceArn", |
| 2953 | "tags" |
| 2954 | ], |
| 2955 | "members":{ |
| 2956 | "resourceArn":{ |
| 2957 | "shape":"Arn", |
| 2958 | "location":"uri", |
| 2959 | "locationName":"resourceArn" |
| 2960 | }, |
| 2961 | "tags":{"shape":"Tags"} |
| 2962 | } |
| 2963 | }, |
| 2964 | "TagResourceResponse":{ |
| 2965 | "type":"structure", |
| 2966 | "members":{ |
| 2967 | } |
| 2968 | }, |
| 2969 | "TagValue":{ |
| 2970 | "type":"string", |
| 2971 | "max":256, |
| 2972 | "min":1 |
| 2973 | }, |
| 2974 | "Tags":{ |
| 2975 | "type":"map", |
| 2976 | "key":{"shape":"TagKey"}, |
| 2977 | "value":{"shape":"TagValue"} |
| 2978 | }, |
| 2979 | "TargetType":{ |
| 2980 | "type":"string", |
| 2981 | "enum":[ |
| 2982 | "RECOMMENDATION", |
| 2983 | "RESULT" |
| 2984 | ] |
| 2985 | }, |
| 2986 | "TextData":{ |
| 2987 | "type":"structure", |
| 2988 | "members":{ |
| 2989 | "excerpt":{"shape":"DocumentText"}, |
| 2990 | "title":{"shape":"DocumentText"} |
| 2991 | } |
| 2992 | }, |
| 2993 | "TimeToLive":{ |
| 2994 | "type":"integer", |
| 2995 | "box":true, |
| 2996 | "max":60, |
| 2997 | "min":1 |
| 2998 | }, |
| 2999 | "TooManyTagsException":{ |
| 3000 | "type":"structure", |
| 3001 | "members":{ |
| 3002 | "message":{"shape":"String"}, |
| 3003 | "resourceName":{"shape":"String"} |
| 3004 | }, |
| 3005 | "error":{ |
| 3006 | "httpStatusCode":400, |
| 3007 | "senderFault":true |
| 3008 | }, |
| 3009 | "exception":true |
| 3010 | }, |
| 3011 | "UntagResourceRequest":{ |
| 3012 | "type":"structure", |
| 3013 | "required":[ |
| 3014 | "resourceArn", |
| 3015 | "tagKeys" |
| 3016 | ], |
| 3017 | "members":{ |
| 3018 | "resourceArn":{ |
| 3019 | "shape":"Arn", |
| 3020 | "location":"uri", |
| 3021 | "locationName":"resourceArn" |
| 3022 | }, |
| 3023 | "tagKeys":{ |
| 3024 | "shape":"TagKeyList", |
| 3025 | "location":"querystring", |
| 3026 | "locationName":"tagKeys" |
| 3027 | } |
| 3028 | } |
| 3029 | }, |
| 3030 | "UntagResourceResponse":{ |
| 3031 | "type":"structure", |
| 3032 | "members":{ |
| 3033 | } |
| 3034 | }, |
| 3035 | "UpdateContentRequest":{ |
| 3036 | "type":"structure", |
| 3037 | "required":[ |
| 3038 | "contentId", |
| 3039 | "knowledgeBaseId" |
| 3040 | ], |
| 3041 | "members":{ |
| 3042 | "contentId":{ |
| 3043 | "shape":"UuidOrArn", |
| 3044 | "location":"uri", |
| 3045 | "locationName":"contentId" |
| 3046 | }, |
| 3047 | "knowledgeBaseId":{ |
| 3048 | "shape":"UuidOrArn", |
| 3049 | "location":"uri", |
| 3050 | "locationName":"knowledgeBaseId" |
| 3051 | }, |
| 3052 | "metadata":{"shape":"ContentMetadata"}, |
| 3053 | "overrideLinkOutUri":{"shape":"Uri"}, |
| 3054 | "removeOverrideLinkOutUri":{"shape":"Boolean"}, |
| 3055 | "revisionId":{"shape":"NonEmptyString"}, |
| 3056 | "title":{"shape":"ContentTitle"}, |
| 3057 | "uploadId":{"shape":"UploadId"} |
| 3058 | } |
| 3059 | }, |
| 3060 | "UpdateContentResponse":{ |
| 3061 | "type":"structure", |
| 3062 | "members":{ |
| 3063 | "content":{"shape":"ContentData"} |
| 3064 | } |
| 3065 | }, |
| 3066 | "UpdateKnowledgeBaseTemplateUriRequest":{ |
| 3067 | "type":"structure", |
| 3068 | "required":[ |
| 3069 | "knowledgeBaseId", |
| 3070 | "templateUri" |
| 3071 | ], |
| 3072 | "members":{ |
| 3073 | "knowledgeBaseId":{ |
| 3074 | "shape":"UuidOrArn", |
| 3075 | "location":"uri", |
| 3076 | "locationName":"knowledgeBaseId" |
| 3077 | }, |
| 3078 | "templateUri":{"shape":"Uri"} |
| 3079 | } |
| 3080 | }, |
| 3081 | "UpdateKnowledgeBaseTemplateUriResponse":{ |
| 3082 | "type":"structure", |
| 3083 | "members":{ |
| 3084 | "knowledgeBase":{"shape":"KnowledgeBaseData"} |
| 3085 | } |
| 3086 | }, |
| 3087 | "UpdateQuickResponseRequest":{ |
| 3088 | "type":"structure", |
| 3089 | "required":[ |
| 3090 | "knowledgeBaseId", |
| 3091 | "quickResponseId" |
| 3092 | ], |
| 3093 | "members":{ |
| 3094 | "channels":{"shape":"Channels"}, |
| 3095 | "content":{"shape":"QuickResponseDataProvider"}, |
| 3096 | "contentType":{"shape":"QuickResponseType"}, |
| 3097 | "description":{"shape":"QuickResponseDescription"}, |
| 3098 | "groupingConfiguration":{"shape":"GroupingConfiguration"}, |
| 3099 | "isActive":{"shape":"Boolean"}, |
| 3100 | "knowledgeBaseId":{ |
| 3101 | "shape":"UuidOrArn", |
| 3102 | "location":"uri", |
| 3103 | "locationName":"knowledgeBaseId" |
| 3104 | }, |
| 3105 | "language":{"shape":"LanguageCode"}, |
| 3106 | "name":{"shape":"QuickResponseName"}, |
| 3107 | "quickResponseId":{ |
| 3108 | "shape":"UuidOrArn", |
| 3109 | "location":"uri", |
| 3110 | "locationName":"quickResponseId" |
| 3111 | }, |
| 3112 | "removeDescription":{"shape":"Boolean"}, |
| 3113 | "removeGroupingConfiguration":{"shape":"Boolean"}, |
| 3114 | "removeShortcutKey":{"shape":"Boolean"}, |
| 3115 | "shortcutKey":{"shape":"ShortCutKey"} |
| 3116 | } |
| 3117 | }, |
| 3118 | "UpdateQuickResponseResponse":{ |
| 3119 | "type":"structure", |
| 3120 | "members":{ |
| 3121 | "quickResponse":{"shape":"QuickResponseData"} |
| 3122 | } |
| 3123 | }, |
| 3124 | "UploadId":{ |
| 3125 | "type":"string", |
| 3126 | "max":1200, |
| 3127 | "min":1 |
| 3128 | }, |
| 3129 | "Uri":{ |
| 3130 | "type":"string", |
| 3131 | "max":4096, |
| 3132 | "min":1 |
| 3133 | }, |
| 3134 | "Url":{ |
| 3135 | "type":"string", |
| 3136 | "max":4096, |
| 3137 | "min":1, |
| 3138 | "sensitive":true |
| 3139 | }, |
| 3140 | "Uuid":{ |
| 3141 | "type":"string", |
| 3142 | "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" |
| 3143 | }, |
| 3144 | "UuidOrArn":{ |
| 3145 | "type":"string", |
| 3146 | "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$" |
| 3147 | }, |
| 3148 | "ValidationException":{ |
| 3149 | "type":"structure", |
| 3150 | "members":{ |
| 3151 | "message":{"shape":"String"} |
| 3152 | }, |
| 3153 | "error":{ |
| 3154 | "httpStatusCode":400, |
| 3155 | "senderFault":true |
| 3156 | }, |
| 3157 | "exception":true |
| 3158 | }, |
| 3159 | "WaitTimeSeconds":{ |
| 3160 | "type":"integer", |
| 3161 | "max":20, |
| 3162 | "min":0 |
| 3163 | } |
| 3164 | } |
| 3165 | } |