1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2023-11-27", 5 "endpointPrefix":"qbusiness", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceFullName":"QBusiness", 9 "serviceId":"QBusiness", 10 "signatureVersion":"v4", 11 "signingName":"qbusiness", 12 "uid":"qbusiness-2023-11-27" 13 }, 14 "operations":{ 15 "BatchDeleteDocument":{ 16 "name":"BatchDeleteDocument", 17 "http":{ 18 "method":"POST", 19 "requestUri":"/applications/{applicationId}/indices/{indexId}/documents/delete", 20 "responseCode":200 21 }, 22 "input":{"shape":"BatchDeleteDocumentRequest"}, 23 "output":{"shape":"BatchDeleteDocumentResponse"}, 24 "errors":[ 25 {"shape":"ResourceNotFoundException"}, 26 {"shape":"InternalServerException"}, 27 {"shape":"ConflictException"}, 28 {"shape":"ThrottlingException"}, 29 {"shape":"ValidationException"}, 30 {"shape":"AccessDeniedException"} 31 ], 32 "documentation":"<p>Asynchronously deletes one or more documents added using the <code>BatchPutDocument</code> API from an Amazon Q index.</p> <p>You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.</p>" 33 }, 34 "BatchPutDocument":{ 35 "name":"BatchPutDocument", 36 "http":{ 37 "method":"POST", 38 "requestUri":"/applications/{applicationId}/indices/{indexId}/documents", 39 "responseCode":200 40 }, 41 "input":{"shape":"BatchPutDocumentRequest"}, 42 "output":{"shape":"BatchPutDocumentResponse"}, 43 "errors":[ 44 {"shape":"ResourceNotFoundException"}, 45 {"shape":"InternalServerException"}, 46 {"shape":"ConflictException"}, 47 {"shape":"ThrottlingException"}, 48 {"shape":"ValidationException"}, 49 {"shape":"AccessDeniedException"}, 50 {"shape":"ServiceQuotaExceededException"} 51 ], 52 "documentation":"<p>Adds one or more documents to an Amazon Q index.</p> <p>You use this API to:</p> <ul> <li> <p>ingest your structured and unstructured documents and documents stored in an Amazon S3 bucket into an Amazon Q index.</p> </li> <li> <p>add custom attributes to documents in an Amazon Q index.</p> </li> <li> <p>attach an access control list to the documents added to an Amazon Q index.</p> </li> </ul> <p>You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.</p>" 53 }, 54 "ChatSync":{ 55 "name":"ChatSync", 56 "http":{ 57 "method":"POST", 58 "requestUri":"/applications/{applicationId}/conversations?sync", 59 "responseCode":200 60 }, 61 "input":{"shape":"ChatSyncInput"}, 62 "output":{"shape":"ChatSyncOutput"}, 63 "errors":[ 64 {"shape":"ResourceNotFoundException"}, 65 {"shape":"InternalServerException"}, 66 {"shape":"LicenseNotFoundException"}, 67 {"shape":"ConflictException"}, 68 {"shape":"ThrottlingException"}, 69 {"shape":"ValidationException"}, 70 {"shape":"AccessDeniedException"} 71 ], 72 "documentation":"<p>Starts or continues a non-streaming Amazon Q conversation.</p>" 73 }, 74 "CreateApplication":{ 75 "name":"CreateApplication", 76 "http":{ 77 "method":"POST", 78 "requestUri":"/applications", 79 "responseCode":200 80 }, 81 "input":{"shape":"CreateApplicationRequest"}, 82 "output":{"shape":"CreateApplicationResponse"}, 83 "errors":[ 84 {"shape":"ResourceNotFoundException"}, 85 {"shape":"InternalServerException"}, 86 {"shape":"ConflictException"}, 87 {"shape":"ThrottlingException"}, 88 {"shape":"ValidationException"}, 89 {"shape":"AccessDeniedException"}, 90 {"shape":"ServiceQuotaExceededException"} 91 ], 92 "documentation":"<p>Creates an Amazon Q application.</p>", 93 "idempotent":true 94 }, 95 "CreateDataSource":{ 96 "name":"CreateDataSource", 97 "http":{ 98 "method":"POST", 99 "requestUri":"/applications/{applicationId}/indices/{indexId}/datasources", 100 "responseCode":200 101 }, 102 "input":{"shape":"CreateDataSourceRequest"}, 103 "output":{"shape":"CreateDataSourceResponse"}, 104 "errors":[ 105 {"shape":"ResourceNotFoundException"}, 106 {"shape":"InternalServerException"}, 107 {"shape":"ConflictException"}, 108 {"shape":"ThrottlingException"}, 109 {"shape":"ValidationException"}, 110 {"shape":"AccessDeniedException"}, 111 {"shape":"ServiceQuotaExceededException"} 112 ], 113 "documentation":"<p>Creates a data source connector for an Amazon Q application.</p> <p> <code>CreateDataSource</code> is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.</p>", 114 "idempotent":true 115 }, 116 "CreateIndex":{ 117 "name":"CreateIndex", 118 "http":{ 119 "method":"POST", 120 "requestUri":"/applications/{applicationId}/indices", 121 "responseCode":200 122 }, 123 "input":{"shape":"CreateIndexRequest"}, 124 "output":{"shape":"CreateIndexResponse"}, 125 "errors":[ 126 {"shape":"ResourceNotFoundException"}, 127 {"shape":"InternalServerException"}, 128 {"shape":"ConflictException"}, 129 {"shape":"ThrottlingException"}, 130 {"shape":"ValidationException"}, 131 {"shape":"AccessDeniedException"}, 132 {"shape":"ServiceQuotaExceededException"} 133 ], 134 "documentation":"<p>Creates an Amazon Q index.</p> <p>To determine if index creation has completed, check the <code>Status</code> field returned from a call to <code>DescribeIndex</code>. The <code>Status</code> field is set to <code>ACTIVE</code> when the index is ready to use.</p> <p>Once the index is active, you can index your documents using the <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_BatchPutDocument.html\"> <code>BatchPutDocument</code> </a> API or the <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_CreateDataSource.html\"> <code>CreateDataSource</code> </a> API.</p>" 135 }, 136 "CreatePlugin":{ 137 "name":"CreatePlugin", 138 "http":{ 139 "method":"POST", 140 "requestUri":"/applications/{applicationId}/plugins", 141 "responseCode":200 142 }, 143 "input":{"shape":"CreatePluginRequest"}, 144 "output":{"shape":"CreatePluginResponse"}, 145 "errors":[ 146 {"shape":"ResourceNotFoundException"}, 147 {"shape":"InternalServerException"}, 148 {"shape":"ConflictException"}, 149 {"shape":"ThrottlingException"}, 150 {"shape":"ValidationException"}, 151 {"shape":"AccessDeniedException"}, 152 {"shape":"ServiceQuotaExceededException"} 153 ], 154 "documentation":"<p>Creates an Amazon Q plugin.</p>", 155 "idempotent":true 156 }, 157 "CreateRetriever":{ 158 "name":"CreateRetriever", 159 "http":{ 160 "method":"POST", 161 "requestUri":"/applications/{applicationId}/retrievers", 162 "responseCode":200 163 }, 164 "input":{"shape":"CreateRetrieverRequest"}, 165 "output":{"shape":"CreateRetrieverResponse"}, 166 "errors":[ 167 {"shape":"ResourceNotFoundException"}, 168 {"shape":"InternalServerException"}, 169 {"shape":"ConflictException"}, 170 {"shape":"ThrottlingException"}, 171 {"shape":"ValidationException"}, 172 {"shape":"AccessDeniedException"}, 173 {"shape":"ServiceQuotaExceededException"} 174 ], 175 "documentation":"<p>Adds a retriever to your Amazon Q application.</p>" 176 }, 177 "CreateUser":{ 178 "name":"CreateUser", 179 "http":{ 180 "method":"POST", 181 "requestUri":"/applications/{applicationId}/users", 182 "responseCode":200 183 }, 184 "input":{"shape":"CreateUserRequest"}, 185 "output":{"shape":"CreateUserResponse"}, 186 "errors":[ 187 {"shape":"ResourceNotFoundException"}, 188 {"shape":"InternalServerException"}, 189 {"shape":"ConflictException"}, 190 {"shape":"ThrottlingException"}, 191 {"shape":"ValidationException"}, 192 {"shape":"AccessDeniedException"}, 193 {"shape":"ServiceQuotaExceededException"} 194 ], 195 "documentation":"<p>Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.</p>", 196 "idempotent":true 197 }, 198 "CreateWebExperience":{ 199 "name":"CreateWebExperience", 200 "http":{ 201 "method":"POST", 202 "requestUri":"/applications/{applicationId}/experiences", 203 "responseCode":200 204 }, 205 "input":{"shape":"CreateWebExperienceRequest"}, 206 "output":{"shape":"CreateWebExperienceResponse"}, 207 "errors":[ 208 {"shape":"ResourceNotFoundException"}, 209 {"shape":"InternalServerException"}, 210 {"shape":"ConflictException"}, 211 {"shape":"ThrottlingException"}, 212 {"shape":"ValidationException"}, 213 {"shape":"AccessDeniedException"}, 214 {"shape":"ServiceQuotaExceededException"} 215 ], 216 "documentation":"<p>Creates an Amazon Q web experience.</p>" 217 }, 218 "DeleteApplication":{ 219 "name":"DeleteApplication", 220 "http":{ 221 "method":"DELETE", 222 "requestUri":"/applications/{applicationId}", 223 "responseCode":200 224 }, 225 "input":{"shape":"DeleteApplicationRequest"}, 226 "output":{"shape":"DeleteApplicationResponse"}, 227 "errors":[ 228 {"shape":"ResourceNotFoundException"}, 229 {"shape":"InternalServerException"}, 230 {"shape":"ConflictException"}, 231 {"shape":"ThrottlingException"}, 232 {"shape":"ValidationException"}, 233 {"shape":"AccessDeniedException"} 234 ], 235 "documentation":"<p>Deletes an Amazon Q application.</p>", 236 "idempotent":true 237 }, 238 "DeleteChatControlsConfiguration":{ 239 "name":"DeleteChatControlsConfiguration", 240 "http":{ 241 "method":"DELETE", 242 "requestUri":"/applications/{applicationId}/chatcontrols", 243 "responseCode":200 244 }, 245 "input":{"shape":"DeleteChatControlsConfigurationRequest"}, 246 "output":{"shape":"DeleteChatControlsConfigurationResponse"}, 247 "errors":[ 248 {"shape":"ResourceNotFoundException"}, 249 {"shape":"InternalServerException"}, 250 {"shape":"ThrottlingException"}, 251 {"shape":"ValidationException"}, 252 {"shape":"AccessDeniedException"} 253 ], 254 "documentation":"<p>Deletes chat controls configured for an existing Amazon Q application.</p>", 255 "idempotent":true 256 }, 257 "DeleteConversation":{ 258 "name":"DeleteConversation", 259 "http":{ 260 "method":"DELETE", 261 "requestUri":"/applications/{applicationId}/conversations/{conversationId}", 262 "responseCode":200 263 }, 264 "input":{"shape":"DeleteConversationRequest"}, 265 "output":{"shape":"DeleteConversationResponse"}, 266 "errors":[ 267 {"shape":"ResourceNotFoundException"}, 268 {"shape":"InternalServerException"}, 269 {"shape":"LicenseNotFoundException"}, 270 {"shape":"ThrottlingException"}, 271 {"shape":"ValidationException"}, 272 {"shape":"AccessDeniedException"} 273 ], 274 "documentation":"<p>Deletes an Amazon Q web experience conversation.</p>", 275 "idempotent":true 276 }, 277 "DeleteDataSource":{ 278 "name":"DeleteDataSource", 279 "http":{ 280 "method":"DELETE", 281 "requestUri":"/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", 282 "responseCode":200 283 }, 284 "input":{"shape":"DeleteDataSourceRequest"}, 285 "output":{"shape":"DeleteDataSourceResponse"}, 286 "errors":[ 287 {"shape":"ResourceNotFoundException"}, 288 {"shape":"InternalServerException"}, 289 {"shape":"ConflictException"}, 290 {"shape":"ThrottlingException"}, 291 {"shape":"ValidationException"}, 292 {"shape":"AccessDeniedException"} 293 ], 294 "documentation":"<p>Deletes an Amazon Q data source connector. While the data source is being deleted, the <code>Status</code> field returned by a call to the <code>DescribeDataSource</code> API is set to <code>DELETING</code>. </p>", 295 "idempotent":true 296 }, 297 "DeleteGroup":{ 298 "name":"DeleteGroup", 299 "http":{ 300 "method":"DELETE", 301 "requestUri":"/applications/{applicationId}/indices/{indexId}/groups/{groupName}", 302 "responseCode":200 303 }, 304 "input":{"shape":"DeleteGroupRequest"}, 305 "output":{"shape":"DeleteGroupResponse"}, 306 "errors":[ 307 {"shape":"ResourceNotFoundException"}, 308 {"shape":"InternalServerException"}, 309 {"shape":"ConflictException"}, 310 {"shape":"ThrottlingException"}, 311 {"shape":"ValidationException"}, 312 {"shape":"AccessDeniedException"} 313 ], 314 "documentation":"<p>Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group \"Summer Interns\", all interns who belonged to that group no longer see intern-only documents in their chat results. </p> <p>If you want to delete, update, or replace users or sub groups of a group, you need to use the <code>PutGroup</code> operation. For example, if a user in the group \"Engineering\" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the \"Engineering\" group when calling <code>PutGroup</code>.</p>", 315 "idempotent":true 316 }, 317 "DeleteIndex":{ 318 "name":"DeleteIndex", 319 "http":{ 320 "method":"DELETE", 321 "requestUri":"/applications/{applicationId}/indices/{indexId}", 322 "responseCode":200 323 }, 324 "input":{"shape":"DeleteIndexRequest"}, 325 "output":{"shape":"DeleteIndexResponse"}, 326 "errors":[ 327 {"shape":"ResourceNotFoundException"}, 328 {"shape":"InternalServerException"}, 329 {"shape":"ConflictException"}, 330 {"shape":"ThrottlingException"}, 331 {"shape":"ValidationException"}, 332 {"shape":"AccessDeniedException"} 333 ], 334 "documentation":"<p>Deletes an Amazon Q index.</p>", 335 "idempotent":true 336 }, 337 "DeletePlugin":{ 338 "name":"DeletePlugin", 339 "http":{ 340 "method":"DELETE", 341 "requestUri":"/applications/{applicationId}/plugins/{pluginId}", 342 "responseCode":200 343 }, 344 "input":{"shape":"DeletePluginRequest"}, 345 "output":{"shape":"DeletePluginResponse"}, 346 "errors":[ 347 {"shape":"ResourceNotFoundException"}, 348 {"shape":"InternalServerException"}, 349 {"shape":"ConflictException"}, 350 {"shape":"ThrottlingException"}, 351 {"shape":"ValidationException"}, 352 {"shape":"AccessDeniedException"} 353 ], 354 "documentation":"<p>Deletes an Amazon Q plugin.</p>", 355 "idempotent":true 356 }, 357 "DeleteRetriever":{ 358 "name":"DeleteRetriever", 359 "http":{ 360 "method":"DELETE", 361 "requestUri":"/applications/{applicationId}/retrievers/{retrieverId}", 362 "responseCode":200 363 }, 364 "input":{"shape":"DeleteRetrieverRequest"}, 365 "output":{"shape":"DeleteRetrieverResponse"}, 366 "errors":[ 367 {"shape":"ResourceNotFoundException"}, 368 {"shape":"InternalServerException"}, 369 {"shape":"ConflictException"}, 370 {"shape":"ThrottlingException"}, 371 {"shape":"ValidationException"}, 372 {"shape":"AccessDeniedException"} 373 ], 374 "documentation":"<p>Deletes the retriever used by an Amazon Q application.</p>", 375 "idempotent":true 376 }, 377 "DeleteUser":{ 378 "name":"DeleteUser", 379 "http":{ 380 "method":"DELETE", 381 "requestUri":"/applications/{applicationId}/users/{userId}", 382 "responseCode":200 383 }, 384 "input":{"shape":"DeleteUserRequest"}, 385 "output":{"shape":"DeleteUserResponse"}, 386 "errors":[ 387 {"shape":"ResourceNotFoundException"}, 388 {"shape":"InternalServerException"}, 389 {"shape":"ConflictException"}, 390 {"shape":"ThrottlingException"}, 391 {"shape":"ValidationException"}, 392 {"shape":"AccessDeniedException"} 393 ], 394 "documentation":"<p>Deletes a user by email id.</p>", 395 "idempotent":true 396 }, 397 "DeleteWebExperience":{ 398 "name":"DeleteWebExperience", 399 "http":{ 400 "method":"DELETE", 401 "requestUri":"/applications/{applicationId}/experiences/{webExperienceId}", 402 "responseCode":200 403 }, 404 "input":{"shape":"DeleteWebExperienceRequest"}, 405 "output":{"shape":"DeleteWebExperienceResponse"}, 406 "errors":[ 407 {"shape":"ResourceNotFoundException"}, 408 {"shape":"InternalServerException"}, 409 {"shape":"ConflictException"}, 410 {"shape":"ThrottlingException"}, 411 {"shape":"ValidationException"}, 412 {"shape":"AccessDeniedException"} 413 ], 414 "documentation":"<p>Deletes an Amazon Q web experience.</p>", 415 "idempotent":true 416 }, 417 "GetApplication":{ 418 "name":"GetApplication", 419 "http":{ 420 "method":"GET", 421 "requestUri":"/applications/{applicationId}", 422 "responseCode":200 423 }, 424 "input":{"shape":"GetApplicationRequest"}, 425 "output":{"shape":"GetApplicationResponse"}, 426 "errors":[ 427 {"shape":"ResourceNotFoundException"}, 428 {"shape":"InternalServerException"}, 429 {"shape":"ThrottlingException"}, 430 {"shape":"ValidationException"}, 431 {"shape":"AccessDeniedException"} 432 ], 433 "documentation":"<p>Gets information about an existing Amazon Q application.</p>" 434 }, 435 "GetChatControlsConfiguration":{ 436 "name":"GetChatControlsConfiguration", 437 "http":{ 438 "method":"GET", 439 "requestUri":"/applications/{applicationId}/chatcontrols", 440 "responseCode":200 441 }, 442 "input":{"shape":"GetChatControlsConfigurationRequest"}, 443 "output":{"shape":"GetChatControlsConfigurationResponse"}, 444 "errors":[ 445 {"shape":"ResourceNotFoundException"}, 446 {"shape":"InternalServerException"}, 447 {"shape":"ThrottlingException"}, 448 {"shape":"ValidationException"}, 449 {"shape":"AccessDeniedException"} 450 ], 451 "documentation":"<p>Gets information about an chat controls configured for an existing Amazon Q application.</p>" 452 }, 453 "GetDataSource":{ 454 "name":"GetDataSource", 455 "http":{ 456 "method":"GET", 457 "requestUri":"/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", 458 "responseCode":200 459 }, 460 "input":{"shape":"GetDataSourceRequest"}, 461 "output":{"shape":"GetDataSourceResponse"}, 462 "errors":[ 463 {"shape":"ResourceNotFoundException"}, 464 {"shape":"InternalServerException"}, 465 {"shape":"ThrottlingException"}, 466 {"shape":"ValidationException"}, 467 {"shape":"AccessDeniedException"} 468 ], 469 "documentation":"<p>Gets information about an existing Amazon Q data source connector.</p>" 470 }, 471 "GetGroup":{ 472 "name":"GetGroup", 473 "http":{ 474 "method":"GET", 475 "requestUri":"/applications/{applicationId}/indices/{indexId}/groups/{groupName}", 476 "responseCode":200 477 }, 478 "input":{"shape":"GetGroupRequest"}, 479 "output":{"shape":"GetGroupResponse"}, 480 "errors":[ 481 {"shape":"ResourceNotFoundException"}, 482 {"shape":"InternalServerException"}, 483 {"shape":"ConflictException"}, 484 {"shape":"ThrottlingException"}, 485 {"shape":"ValidationException"}, 486 {"shape":"AccessDeniedException"} 487 ], 488 "documentation":"<p>Describes a group by group name.</p>" 489 }, 490 "GetIndex":{ 491 "name":"GetIndex", 492 "http":{ 493 "method":"GET", 494 "requestUri":"/applications/{applicationId}/indices/{indexId}", 495 "responseCode":200 496 }, 497 "input":{"shape":"GetIndexRequest"}, 498 "output":{"shape":"GetIndexResponse"}, 499 "errors":[ 500 {"shape":"ResourceNotFoundException"}, 501 {"shape":"InternalServerException"}, 502 {"shape":"ThrottlingException"}, 503 {"shape":"ValidationException"}, 504 {"shape":"AccessDeniedException"} 505 ], 506 "documentation":"<p>Gets information about an existing Amazon Q index.</p>" 507 }, 508 "GetPlugin":{ 509 "name":"GetPlugin", 510 "http":{ 511 "method":"GET", 512 "requestUri":"/applications/{applicationId}/plugins/{pluginId}", 513 "responseCode":200 514 }, 515 "input":{"shape":"GetPluginRequest"}, 516 "output":{"shape":"GetPluginResponse"}, 517 "errors":[ 518 {"shape":"ResourceNotFoundException"}, 519 {"shape":"InternalServerException"}, 520 {"shape":"ThrottlingException"}, 521 {"shape":"ValidationException"}, 522 {"shape":"AccessDeniedException"} 523 ], 524 "documentation":"<p>Gets information about an existing Amazon Q plugin.</p>" 525 }, 526 "GetRetriever":{ 527 "name":"GetRetriever", 528 "http":{ 529 "method":"GET", 530 "requestUri":"/applications/{applicationId}/retrievers/{retrieverId}", 531 "responseCode":200 532 }, 533 "input":{"shape":"GetRetrieverRequest"}, 534 "output":{"shape":"GetRetrieverResponse"}, 535 "errors":[ 536 {"shape":"ResourceNotFoundException"}, 537 {"shape":"InternalServerException"}, 538 {"shape":"ThrottlingException"}, 539 {"shape":"ValidationException"}, 540 {"shape":"AccessDeniedException"} 541 ], 542 "documentation":"<p>Gets information about an existing retriever used by an Amazon Q application.</p>" 543 }, 544 "GetUser":{ 545 "name":"GetUser", 546 "http":{ 547 "method":"GET", 548 "requestUri":"/applications/{applicationId}/users/{userId}", 549 "responseCode":200 550 }, 551 "input":{"shape":"GetUserRequest"}, 552 "output":{"shape":"GetUserResponse"}, 553 "errors":[ 554 {"shape":"ResourceNotFoundException"}, 555 {"shape":"InternalServerException"}, 556 {"shape":"ConflictException"}, 557 {"shape":"ThrottlingException"}, 558 {"shape":"ValidationException"}, 559 {"shape":"AccessDeniedException"} 560 ], 561 "documentation":"<p>Describes the universally unique identifier (UUID) associated with a local user in a data source.</p>" 562 }, 563 "GetWebExperience":{ 564 "name":"GetWebExperience", 565 "http":{ 566 "method":"GET", 567 "requestUri":"/applications/{applicationId}/experiences/{webExperienceId}", 568 "responseCode":200 569 }, 570 "input":{"shape":"GetWebExperienceRequest"}, 571 "output":{"shape":"GetWebExperienceResponse"}, 572 "errors":[ 573 {"shape":"ResourceNotFoundException"}, 574 {"shape":"InternalServerException"}, 575 {"shape":"ThrottlingException"}, 576 {"shape":"ValidationException"}, 577 {"shape":"AccessDeniedException"} 578 ], 579 "documentation":"<p>Gets information about an existing Amazon Q web experience.</p>" 580 }, 581 "ListApplications":{ 582 "name":"ListApplications", 583 "http":{ 584 "method":"GET", 585 "requestUri":"/applications", 586 "responseCode":200 587 }, 588 "input":{"shape":"ListApplicationsRequest"}, 589 "output":{"shape":"ListApplicationsResponse"}, 590 "errors":[ 591 {"shape":"InternalServerException"}, 592 {"shape":"ThrottlingException"}, 593 {"shape":"ValidationException"}, 594 {"shape":"AccessDeniedException"} 595 ], 596 "documentation":"<p>Lists Amazon Q applications.</p>" 597 }, 598 "ListConversations":{ 599 "name":"ListConversations", 600 "http":{ 601 "method":"GET", 602 "requestUri":"/applications/{applicationId}/conversations", 603 "responseCode":200 604 }, 605 "input":{"shape":"ListConversationsRequest"}, 606 "output":{"shape":"ListConversationsResponse"}, 607 "errors":[ 608 {"shape":"ResourceNotFoundException"}, 609 {"shape":"InternalServerException"}, 610 {"shape":"LicenseNotFoundException"}, 611 {"shape":"ThrottlingException"}, 612 {"shape":"ValidationException"}, 613 {"shape":"AccessDeniedException"} 614 ], 615 "documentation":"<p>Lists one or more Amazon Q conversations.</p>" 616 }, 617 "ListDataSourceSyncJobs":{ 618 "name":"ListDataSourceSyncJobs", 619 "http":{ 620 "method":"GET", 621 "requestUri":"/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/syncjobs", 622 "responseCode":200 623 }, 624 "input":{"shape":"ListDataSourceSyncJobsRequest"}, 625 "output":{"shape":"ListDataSourceSyncJobsResponse"}, 626 "errors":[ 627 {"shape":"ResourceNotFoundException"}, 628 {"shape":"InternalServerException"}, 629 {"shape":"ThrottlingException"}, 630 {"shape":"ValidationException"}, 631 {"shape":"AccessDeniedException"} 632 ], 633 "documentation":"<p>Get information about an Amazon Q data source connector synchronization.</p>" 634 }, 635 "ListDataSources":{ 636 "name":"ListDataSources", 637 "http":{ 638 "method":"GET", 639 "requestUri":"/applications/{applicationId}/indices/{indexId}/datasources", 640 "responseCode":200 641 }, 642 "input":{"shape":"ListDataSourcesRequest"}, 643 "output":{"shape":"ListDataSourcesResponse"}, 644 "errors":[ 645 {"shape":"ResourceNotFoundException"}, 646 {"shape":"InternalServerException"}, 647 {"shape":"ThrottlingException"}, 648 {"shape":"ValidationException"}, 649 {"shape":"AccessDeniedException"} 650 ], 651 "documentation":"<p>Lists the Amazon Q data source connectors that you have created.</p>" 652 }, 653 "ListDocuments":{ 654 "name":"ListDocuments", 655 "http":{ 656 "method":"GET", 657 "requestUri":"/applications/{applicationId}/index/{indexId}/documents", 658 "responseCode":200 659 }, 660 "input":{"shape":"ListDocumentsRequest"}, 661 "output":{"shape":"ListDocumentsResponse"}, 662 "errors":[ 663 {"shape":"ResourceNotFoundException"}, 664 {"shape":"InternalServerException"}, 665 {"shape":"ThrottlingException"}, 666 {"shape":"ValidationException"}, 667 {"shape":"AccessDeniedException"} 668 ], 669 "documentation":"<p>A list of documents attached to an index.</p>" 670 }, 671 "ListGroups":{ 672 "name":"ListGroups", 673 "http":{ 674 "method":"GET", 675 "requestUri":"/applications/{applicationId}/indices/{indexId}/groups", 676 "responseCode":200 677 }, 678 "input":{"shape":"ListGroupsRequest"}, 679 "output":{"shape":"ListGroupsResponse"}, 680 "errors":[ 681 {"shape":"ResourceNotFoundException"}, 682 {"shape":"InternalServerException"}, 683 {"shape":"ConflictException"}, 684 {"shape":"ThrottlingException"}, 685 {"shape":"ValidationException"}, 686 {"shape":"AccessDeniedException"} 687 ], 688 "documentation":"<p>Provides a list of groups that are mapped to users.</p>" 689 }, 690 "ListIndices":{ 691 "name":"ListIndices", 692 "http":{ 693 "method":"GET", 694 "requestUri":"/applications/{applicationId}/indices", 695 "responseCode":200 696 }, 697 "input":{"shape":"ListIndicesRequest"}, 698 "output":{"shape":"ListIndicesResponse"}, 699 "errors":[ 700 {"shape":"ResourceNotFoundException"}, 701 {"shape":"InternalServerException"}, 702 {"shape":"ThrottlingException"}, 703 {"shape":"ValidationException"}, 704 {"shape":"AccessDeniedException"} 705 ], 706 "documentation":"<p>Lists the Amazon Q indices you have created.</p>" 707 }, 708 "ListMessages":{ 709 "name":"ListMessages", 710 "http":{ 711 "method":"GET", 712 "requestUri":"/applications/{applicationId}/conversations/{conversationId}", 713 "responseCode":200 714 }, 715 "input":{"shape":"ListMessagesRequest"}, 716 "output":{"shape":"ListMessagesResponse"}, 717 "errors":[ 718 {"shape":"ResourceNotFoundException"}, 719 {"shape":"InternalServerException"}, 720 {"shape":"LicenseNotFoundException"}, 721 {"shape":"ThrottlingException"}, 722 {"shape":"ValidationException"}, 723 {"shape":"AccessDeniedException"} 724 ], 725 "documentation":"<p>Gets a list of messages associated with an Amazon Q web experience.</p>" 726 }, 727 "ListPlugins":{ 728 "name":"ListPlugins", 729 "http":{ 730 "method":"GET", 731 "requestUri":"/applications/{applicationId}/plugins", 732 "responseCode":200 733 }, 734 "input":{"shape":"ListPluginsRequest"}, 735 "output":{"shape":"ListPluginsResponse"}, 736 "errors":[ 737 {"shape":"ResourceNotFoundException"}, 738 {"shape":"InternalServerException"}, 739 {"shape":"ThrottlingException"}, 740 {"shape":"ValidationException"}, 741 {"shape":"AccessDeniedException"} 742 ], 743 "documentation":"<p>Lists configured Amazon Q plugins.</p>" 744 }, 745 "ListRetrievers":{ 746 "name":"ListRetrievers", 747 "http":{ 748 "method":"GET", 749 "requestUri":"/applications/{applicationId}/retrievers", 750 "responseCode":200 751 }, 752 "input":{"shape":"ListRetrieversRequest"}, 753 "output":{"shape":"ListRetrieversResponse"}, 754 "errors":[ 755 {"shape":"ResourceNotFoundException"}, 756 {"shape":"InternalServerException"}, 757 {"shape":"ThrottlingException"}, 758 {"shape":"ValidationException"}, 759 {"shape":"AccessDeniedException"} 760 ], 761 "documentation":"<p>Lists the retriever used by an Amazon Q application.</p>" 762 }, 763 "ListTagsForResource":{ 764 "name":"ListTagsForResource", 765 "http":{ 766 "method":"GET", 767 "requestUri":"/v1/tags/{resourceARN}", 768 "responseCode":200 769 }, 770 "input":{"shape":"ListTagsForResourceRequest"}, 771 "output":{"shape":"ListTagsForResourceResponse"}, 772 "errors":[ 773 {"shape":"ResourceNotFoundException"}, 774 {"shape":"InternalServerException"}, 775 {"shape":"ThrottlingException"}, 776 {"shape":"ValidationException"}, 777 {"shape":"AccessDeniedException"} 778 ], 779 "documentation":"<p>Gets a list of tags associated with a specified resource. Amazon Q applications and data sources can have tags associated with them.</p>" 780 }, 781 "ListWebExperiences":{ 782 "name":"ListWebExperiences", 783 "http":{ 784 "method":"GET", 785 "requestUri":"/applications/{applicationId}/experiences", 786 "responseCode":200 787 }, 788 "input":{"shape":"ListWebExperiencesRequest"}, 789 "output":{"shape":"ListWebExperiencesResponse"}, 790 "errors":[ 791 {"shape":"ResourceNotFoundException"}, 792 {"shape":"InternalServerException"}, 793 {"shape":"ThrottlingException"}, 794 {"shape":"ValidationException"}, 795 {"shape":"AccessDeniedException"} 796 ], 797 "documentation":"<p>Lists one or more Amazon Q Web Experiences.</p>" 798 }, 799 "PutFeedback":{ 800 "name":"PutFeedback", 801 "http":{ 802 "method":"POST", 803 "requestUri":"/applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/feedback", 804 "responseCode":200 805 }, 806 "input":{"shape":"PutFeedbackRequest"}, 807 "errors":[ 808 {"shape":"ResourceNotFoundException"}, 809 {"shape":"InternalServerException"}, 810 {"shape":"ThrottlingException"}, 811 {"shape":"ValidationException"}, 812 {"shape":"AccessDeniedException"} 813 ], 814 "documentation":"<p>Enables your end user to to provide feedback on their Amazon Q generated chat responses.</p>" 815 }, 816 "PutGroup":{ 817 "name":"PutGroup", 818 "http":{ 819 "method":"PUT", 820 "requestUri":"/applications/{applicationId}/indices/{indexId}/groups", 821 "responseCode":200 822 }, 823 "input":{"shape":"PutGroupRequest"}, 824 "output":{"shape":"PutGroupResponse"}, 825 "errors":[ 826 {"shape":"ResourceNotFoundException"}, 827 {"shape":"InternalServerException"}, 828 {"shape":"ConflictException"}, 829 {"shape":"ThrottlingException"}, 830 {"shape":"ValidationException"}, 831 {"shape":"AccessDeniedException"}, 832 {"shape":"ServiceQuotaExceededException"} 833 ], 834 "documentation":"<p>Create, or updates, a mapping of users—who have access to a document—to groups.</p> <p>You can also map sub groups to groups. For example, the group \"Company Intellectual Property Teams\" includes sub groups \"Research\" and \"Engineering\". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their Amazon Q chat results.</p>", 835 "idempotent":true 836 }, 837 "StartDataSourceSyncJob":{ 838 "name":"StartDataSourceSyncJob", 839 "http":{ 840 "method":"POST", 841 "requestUri":"/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/startsync", 842 "responseCode":200 843 }, 844 "input":{"shape":"StartDataSourceSyncJobRequest"}, 845 "output":{"shape":"StartDataSourceSyncJobResponse"}, 846 "errors":[ 847 {"shape":"ResourceNotFoundException"}, 848 {"shape":"InternalServerException"}, 849 {"shape":"ConflictException"}, 850 {"shape":"ThrottlingException"}, 851 {"shape":"ValidationException"}, 852 {"shape":"AccessDeniedException"}, 853 {"shape":"ServiceQuotaExceededException"} 854 ], 855 "documentation":"<p>Starts a data source connector synchronization job. If a synchronization job is already in progress, Amazon Q returns a <code>ConflictException</code>.</p>" 856 }, 857 "StopDataSourceSyncJob":{ 858 "name":"StopDataSourceSyncJob", 859 "http":{ 860 "method":"POST", 861 "requestUri":"/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/stopsync", 862 "responseCode":200 863 }, 864 "input":{"shape":"StopDataSourceSyncJobRequest"}, 865 "output":{"shape":"StopDataSourceSyncJobResponse"}, 866 "errors":[ 867 {"shape":"ResourceNotFoundException"}, 868 {"shape":"InternalServerException"}, 869 {"shape":"ThrottlingException"}, 870 {"shape":"ValidationException"}, 871 {"shape":"AccessDeniedException"} 872 ], 873 "documentation":"<p>Stops an Amazon Q data source connector synchronization job already in progress.</p>" 874 }, 875 "TagResource":{ 876 "name":"TagResource", 877 "http":{ 878 "method":"POST", 879 "requestUri":"/v1/tags/{resourceARN}", 880 "responseCode":200 881 }, 882 "input":{"shape":"TagResourceRequest"}, 883 "output":{"shape":"TagResourceResponse"}, 884 "errors":[ 885 {"shape":"ResourceNotFoundException"}, 886 {"shape":"InternalServerException"}, 887 {"shape":"ConflictException"}, 888 {"shape":"ThrottlingException"}, 889 {"shape":"ValidationException"}, 890 {"shape":"AccessDeniedException"} 891 ], 892 "documentation":"<p>Adds the specified tag to the specified Amazon Q application or data source resource. If the tag already exists, the existing value is replaced with the new value.</p>", 893 "idempotent":true 894 }, 895 "UntagResource":{ 896 "name":"UntagResource", 897 "http":{ 898 "method":"DELETE", 899 "requestUri":"/v1/tags/{resourceARN}", 900 "responseCode":200 901 }, 902 "input":{"shape":"UntagResourceRequest"}, 903 "output":{"shape":"UntagResourceResponse"}, 904 "errors":[ 905 {"shape":"ResourceNotFoundException"}, 906 {"shape":"InternalServerException"}, 907 {"shape":"ThrottlingException"}, 908 {"shape":"ValidationException"}, 909 {"shape":"AccessDeniedException"} 910 ], 911 "documentation":"<p>Removes a tag from an Amazon Q application or a data source.</p>", 912 "idempotent":true 913 }, 914 "UpdateApplication":{ 915 "name":"UpdateApplication", 916 "http":{ 917 "method":"PUT", 918 "requestUri":"/applications/{applicationId}", 919 "responseCode":200 920 }, 921 "input":{"shape":"UpdateApplicationRequest"}, 922 "output":{"shape":"UpdateApplicationResponse"}, 923 "errors":[ 924 {"shape":"ResourceNotFoundException"}, 925 {"shape":"InternalServerException"}, 926 {"shape":"ConflictException"}, 927 {"shape":"ThrottlingException"}, 928 {"shape":"ValidationException"}, 929 {"shape":"AccessDeniedException"} 930 ], 931 "documentation":"<p>Updates an existing Amazon Q application.</p>", 932 "idempotent":true 933 }, 934 "UpdateChatControlsConfiguration":{ 935 "name":"UpdateChatControlsConfiguration", 936 "http":{ 937 "method":"PATCH", 938 "requestUri":"/applications/{applicationId}/chatcontrols", 939 "responseCode":200 940 }, 941 "input":{"shape":"UpdateChatControlsConfigurationRequest"}, 942 "output":{"shape":"UpdateChatControlsConfigurationResponse"}, 943 "errors":[ 944 {"shape":"ResourceNotFoundException"}, 945 {"shape":"InternalServerException"}, 946 {"shape":"ConflictException"}, 947 {"shape":"ThrottlingException"}, 948 {"shape":"ValidationException"}, 949 {"shape":"AccessDeniedException"}, 950 {"shape":"ServiceQuotaExceededException"} 951 ], 952 "documentation":"<p>Updates an set of chat controls configured for an existing Amazon Q application.</p>", 953 "idempotent":true 954 }, 955 "UpdateDataSource":{ 956 "name":"UpdateDataSource", 957 "http":{ 958 "method":"PUT", 959 "requestUri":"/applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", 960 "responseCode":200 961 }, 962 "input":{"shape":"UpdateDataSourceRequest"}, 963 "output":{"shape":"UpdateDataSourceResponse"}, 964 "errors":[ 965 {"shape":"ResourceNotFoundException"}, 966 {"shape":"InternalServerException"}, 967 {"shape":"ConflictException"}, 968 {"shape":"ThrottlingException"}, 969 {"shape":"ValidationException"}, 970 {"shape":"AccessDeniedException"} 971 ], 972 "documentation":"<p>Updates an existing Amazon Q data source connector.</p>", 973 "idempotent":true 974 }, 975 "UpdateIndex":{ 976 "name":"UpdateIndex", 977 "http":{ 978 "method":"PUT", 979 "requestUri":"/applications/{applicationId}/indices/{indexId}", 980 "responseCode":200 981 }, 982 "input":{"shape":"UpdateIndexRequest"}, 983 "output":{"shape":"UpdateIndexResponse"}, 984 "errors":[ 985 {"shape":"ResourceNotFoundException"}, 986 {"shape":"InternalServerException"}, 987 {"shape":"ConflictException"}, 988 {"shape":"ThrottlingException"}, 989 {"shape":"ValidationException"}, 990 {"shape":"AccessDeniedException"}, 991 {"shape":"ServiceQuotaExceededException"} 992 ], 993 "documentation":"<p>Updates an Amazon Q index.</p>", 994 "idempotent":true 995 }, 996 "UpdatePlugin":{ 997 "name":"UpdatePlugin", 998 "http":{ 999 "method":"PUT", 1000 "requestUri":"/applications/{applicationId}/plugins/{pluginId}", 1001 "responseCode":200 1002 }, 1003 "input":{"shape":"UpdatePluginRequest"}, 1004 "output":{"shape":"UpdatePluginResponse"}, 1005 "errors":[ 1006 {"shape":"ResourceNotFoundException"}, 1007 {"shape":"InternalServerException"}, 1008 {"shape":"ConflictException"}, 1009 {"shape":"ThrottlingException"}, 1010 {"shape":"ValidationException"}, 1011 {"shape":"AccessDeniedException"}, 1012 {"shape":"ServiceQuotaExceededException"} 1013 ], 1014 "documentation":"<p>Updates an Amazon Q plugin.</p>", 1015 "idempotent":true 1016 }, 1017 "UpdateRetriever":{ 1018 "name":"UpdateRetriever", 1019 "http":{ 1020 "method":"PUT", 1021 "requestUri":"/applications/{applicationId}/retrievers/{retrieverId}", 1022 "responseCode":200 1023 }, 1024 "input":{"shape":"UpdateRetrieverRequest"}, 1025 "output":{"shape":"UpdateRetrieverResponse"}, 1026 "errors":[ 1027 {"shape":"ResourceNotFoundException"}, 1028 {"shape":"InternalServerException"}, 1029 {"shape":"ConflictException"}, 1030 {"shape":"ThrottlingException"}, 1031 {"shape":"ValidationException"}, 1032 {"shape":"AccessDeniedException"}, 1033 {"shape":"ServiceQuotaExceededException"} 1034 ], 1035 "documentation":"<p>Updates the retriever used for your Amazon Q application.</p>", 1036 "idempotent":true 1037 }, 1038 "UpdateUser":{ 1039 "name":"UpdateUser", 1040 "http":{ 1041 "method":"PUT", 1042 "requestUri":"/applications/{applicationId}/users/{userId}", 1043 "responseCode":200 1044 }, 1045 "input":{"shape":"UpdateUserRequest"}, 1046 "output":{"shape":"UpdateUserResponse"}, 1047 "errors":[ 1048 {"shape":"ResourceNotFoundException"}, 1049 {"shape":"InternalServerException"}, 1050 {"shape":"ThrottlingException"}, 1051 {"shape":"ValidationException"}, 1052 {"shape":"AccessDeniedException"}, 1053 {"shape":"ServiceQuotaExceededException"} 1054 ], 1055 "documentation":"<p>Updates a information associated with a user id.</p>", 1056 "idempotent":true 1057 }, 1058 "UpdateWebExperience":{ 1059 "name":"UpdateWebExperience", 1060 "http":{ 1061 "method":"PUT", 1062 "requestUri":"/applications/{applicationId}/experiences/{webExperienceId}", 1063 "responseCode":200 1064 }, 1065 "input":{"shape":"UpdateWebExperienceRequest"}, 1066 "output":{"shape":"UpdateWebExperienceResponse"}, 1067 "errors":[ 1068 {"shape":"ResourceNotFoundException"}, 1069 {"shape":"InternalServerException"}, 1070 {"shape":"ConflictException"}, 1071 {"shape":"ThrottlingException"}, 1072 {"shape":"ValidationException"}, 1073 {"shape":"AccessDeniedException"} 1074 ], 1075 "documentation":"<p>Updates an Amazon Q web experience. </p>", 1076 "idempotent":true 1077 } 1078 }, 1079 "shapes":{ 1080 "AccessConfiguration":{ 1081 "type":"structure", 1082 "required":["accessControls"], 1083 "members":{ 1084 "accessControls":{ 1085 "shape":"AccessControls", 1086 "documentation":"<p>A list of <code>AccessControlList</code> objects.</p>" 1087 }, 1088 "memberRelation":{ 1089 "shape":"MemberRelation", 1090 "documentation":"<p>Describes the member relation within the <code>AccessControlList</code> object.</p>" 1091 } 1092 }, 1093 "documentation":"<p>Used to configure access permissions for a document.</p>" 1094 }, 1095 "AccessControl":{ 1096 "type":"structure", 1097 "required":["principals"], 1098 "members":{ 1099 "memberRelation":{ 1100 "shape":"MemberRelation", 1101 "documentation":"<p>Describes the member relation within a principal list.</p>" 1102 }, 1103 "principals":{ 1104 "shape":"Principals", 1105 "documentation":"<p>Contains a list of principals, where a principal can be either a <code>USER</code> or a <code>GROUP</code>. Each principal can be have the following type of document access: <code>ALLOW</code> or <code>DENY</code>.</p>" 1106 } 1107 }, 1108 "documentation":"<p>A list of principals. Each principal can be either a <code>USER</code> or a <code>GROUP</code> and can be designated document access permissions of either <code>ALLOW</code> or <code>DENY</code>.</p>" 1109 }, 1110 "AccessControls":{ 1111 "type":"list", 1112 "member":{"shape":"AccessControl"} 1113 }, 1114 "AccessDeniedException":{ 1115 "type":"structure", 1116 "required":["message"], 1117 "members":{ 1118 "message":{"shape":"ErrorMessage"} 1119 }, 1120 "documentation":"<p> You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.</p>", 1121 "error":{ 1122 "httpStatusCode":403, 1123 "senderFault":true 1124 }, 1125 "exception":true 1126 }, 1127 "ActionExecution":{ 1128 "type":"structure", 1129 "required":[ 1130 "payload", 1131 "payloadFieldNameSeparator", 1132 "pluginId" 1133 ], 1134 "members":{ 1135 "payload":{ 1136 "shape":"ActionExecutionPayload", 1137 "documentation":"<p>A mapping of field names to the field values in input that an end user provides to Amazon Q requests to perform their plugin action. </p>" 1138 }, 1139 "payloadFieldNameSeparator":{ 1140 "shape":"ActionPayloadFieldNameSeparator", 1141 "documentation":"<p>A string used to retain information about the hierarchical contexts within an action execution event payload.</p>" 1142 }, 1143 "pluginId":{ 1144 "shape":"PluginId", 1145 "documentation":"<p>The identifier of the plugin the action is attached to.</p>" 1146 } 1147 }, 1148 "documentation":"<p>Performs an Amazon Q plugin action during a non-streaming chat conversation.</p>" 1149 }, 1150 "ActionExecutionPayload":{ 1151 "type":"map", 1152 "key":{"shape":"ActionPayloadFieldKey"}, 1153 "value":{"shape":"ActionExecutionPayloadField"} 1154 }, 1155 "ActionExecutionPayloadField":{ 1156 "type":"structure", 1157 "required":["value"], 1158 "members":{ 1159 "value":{ 1160 "shape":"ActionPayloadFieldValue", 1161 "documentation":"<p>The content of a user input field in an plugin action execution payload.</p>" 1162 } 1163 }, 1164 "documentation":"<p>A user input field in an plugin action execution payload.</p>" 1165 }, 1166 "ActionPayloadFieldKey":{ 1167 "type":"string", 1168 "min":1 1169 }, 1170 "ActionPayloadFieldNameSeparator":{ 1171 "type":"string", 1172 "max":1, 1173 "min":1 1174 }, 1175 "ActionPayloadFieldType":{ 1176 "type":"string", 1177 "enum":[ 1178 "STRING", 1179 "NUMBER", 1180 "ARRAY", 1181 "BOOLEAN" 1182 ] 1183 }, 1184 "ActionPayloadFieldValue":{ 1185 "type":"structure", 1186 "members":{ 1187 }, 1188 "document":true 1189 }, 1190 "ActionReview":{ 1191 "type":"structure", 1192 "members":{ 1193 "payload":{ 1194 "shape":"ActionReviewPayload", 1195 "documentation":"<p>Field values that an end user needs to provide to Amazon Q for Amazon Q to perform the requested plugin action.</p>" 1196 }, 1197 "payloadFieldNameSeparator":{ 1198 "shape":"ActionPayloadFieldNameSeparator", 1199 "documentation":"<p>A string used to retain information about the hierarchical contexts within an action review payload.</p>" 1200 }, 1201 "pluginId":{ 1202 "shape":"PluginId", 1203 "documentation":"<p>The identifier of the plugin associated with the action review.</p>" 1204 }, 1205 "pluginType":{ 1206 "shape":"PluginType", 1207 "documentation":"<p>The type of plugin.</p>" 1208 } 1209 }, 1210 "documentation":"<p>An output event that Amazon Q returns to an user who wants to perform a plugin action during a non-streaming chat conversation. It contains information about the selected action with a list of possible user input fields, some pre-populated by Amazon Q.</p>" 1211 }, 1212 "ActionReviewPayload":{ 1213 "type":"map", 1214 "key":{"shape":"ActionPayloadFieldKey"}, 1215 "value":{"shape":"ActionReviewPayloadField"} 1216 }, 1217 "ActionReviewPayloadField":{ 1218 "type":"structure", 1219 "members":{ 1220 "allowedValues":{ 1221 "shape":"ActionReviewPayloadFieldAllowedValues", 1222 "documentation":"<p>Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the requested plugin action.</p>" 1223 }, 1224 "displayName":{ 1225 "shape":"String", 1226 "documentation":"<p> The name of the field. </p>" 1227 }, 1228 "displayOrder":{ 1229 "shape":"Integer", 1230 "documentation":"<p>The display order of fields in a payload.</p>" 1231 }, 1232 "required":{ 1233 "shape":"Boolean", 1234 "documentation":"<p>Information about whether the field is required.</p>" 1235 }, 1236 "type":{ 1237 "shape":"ActionPayloadFieldType", 1238 "documentation":"<p>The type of field. </p>" 1239 }, 1240 "value":{ 1241 "shape":"ActionPayloadFieldValue", 1242 "documentation":"<p>The field value.</p>" 1243 } 1244 }, 1245 "documentation":"<p>A user input field in an plugin action review payload.</p>" 1246 }, 1247 "ActionReviewPayloadFieldAllowedValue":{ 1248 "type":"structure", 1249 "members":{ 1250 "displayValue":{ 1251 "shape":"ActionPayloadFieldValue", 1252 "documentation":"<p>The name of the field.</p>" 1253 }, 1254 "value":{ 1255 "shape":"ActionPayloadFieldValue", 1256 "documentation":"<p>The field value.</p>" 1257 } 1258 }, 1259 "documentation":"<p>Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the requested plugin action.</p>" 1260 }, 1261 "ActionReviewPayloadFieldAllowedValues":{ 1262 "type":"list", 1263 "member":{"shape":"ActionReviewPayloadFieldAllowedValue"} 1264 }, 1265 "AmazonResourceName":{ 1266 "type":"string", 1267 "max":1011, 1268 "min":1 1269 }, 1270 "Application":{ 1271 "type":"structure", 1272 "members":{ 1273 "applicationId":{ 1274 "shape":"ApplicationId", 1275 "documentation":"<p>The identifier for the Amazon Q application.</p>" 1276 }, 1277 "createdAt":{ 1278 "shape":"Timestamp", 1279 "documentation":"<p>The Unix timestamp when the Amazon Q application was created.</p>" 1280 }, 1281 "displayName":{ 1282 "shape":"ApplicationName", 1283 "documentation":"<p>The name of the Amazon Q application.</p>" 1284 }, 1285 "status":{ 1286 "shape":"ApplicationStatus", 1287 "documentation":"<p>The status of the Amazon Q application. The application is ready to use when the status is <code>ACTIVE</code>.</p>" 1288 }, 1289 "updatedAt":{ 1290 "shape":"Timestamp", 1291 "documentation":"<p>The Unix timestamp when the Amazon Q application was last updated. </p>" 1292 } 1293 }, 1294 "documentation":"<p>Summary information for an Amazon Q application.</p>" 1295 }, 1296 "ApplicationArn":{ 1297 "type":"string", 1298 "max":1284, 1299 "min":0, 1300 "pattern":"^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" 1301 }, 1302 "ApplicationId":{ 1303 "type":"string", 1304 "max":36, 1305 "min":36, 1306 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 1307 }, 1308 "ApplicationName":{ 1309 "type":"string", 1310 "max":1000, 1311 "min":1, 1312 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]*$" 1313 }, 1314 "ApplicationStatus":{ 1315 "type":"string", 1316 "enum":[ 1317 "CREATING", 1318 "ACTIVE", 1319 "DELETING", 1320 "FAILED", 1321 "UPDATING" 1322 ] 1323 }, 1324 "Applications":{ 1325 "type":"list", 1326 "member":{"shape":"Application"} 1327 }, 1328 "AppliedAttachmentsConfiguration":{ 1329 "type":"structure", 1330 "members":{ 1331 "attachmentsControlMode":{ 1332 "shape":"AttachmentsControlMode", 1333 "documentation":"<p>Information about whether file upload during chat functionality is activated for your application.</p>" 1334 } 1335 }, 1336 "documentation":"<p>Configuration information about the file upload during chat feature for your application.</p>" 1337 }, 1338 "AttachmentInput":{ 1339 "type":"structure", 1340 "required":[ 1341 "data", 1342 "name" 1343 ], 1344 "members":{ 1345 "data":{ 1346 "shape":"Blob", 1347 "documentation":"<p>The data contained within the uploaded file.</p>" 1348 }, 1349 "name":{ 1350 "shape":"AttachmentName", 1351 "documentation":"<p>The name of the file.</p>" 1352 } 1353 }, 1354 "documentation":"<p>A file directly uploaded into a web experience chat.</p>" 1355 }, 1356 "AttachmentName":{ 1357 "type":"string", 1358 "max":1000, 1359 "min":1, 1360 "pattern":"^\\P{C}*$" 1361 }, 1362 "AttachmentOutput":{ 1363 "type":"structure", 1364 "members":{ 1365 "error":{ 1366 "shape":"ErrorDetail", 1367 "documentation":"<p>An error associated with a file uploaded during chat.</p>" 1368 }, 1369 "name":{ 1370 "shape":"AttachmentName", 1371 "documentation":"<p>The name of a file uploaded during chat.</p>" 1372 }, 1373 "status":{ 1374 "shape":"AttachmentStatus", 1375 "documentation":"<p>The status of a file uploaded during chat.</p>" 1376 } 1377 }, 1378 "documentation":"<p>The details of a file uploaded during chat.</p>" 1379 }, 1380 "AttachmentStatus":{ 1381 "type":"string", 1382 "enum":[ 1383 "FAILED", 1384 "SUCCEEDED" 1385 ] 1386 }, 1387 "AttachmentsConfiguration":{ 1388 "type":"structure", 1389 "required":["attachmentsControlMode"], 1390 "members":{ 1391 "attachmentsControlMode":{ 1392 "shape":"AttachmentsControlMode", 1393 "documentation":"<p>Status information about whether file upload functionality is activated or deactivated for your end user.</p>" 1394 } 1395 }, 1396 "documentation":"<p>Configuration information for the file upload during chat feature.</p>" 1397 }, 1398 "AttachmentsControlMode":{ 1399 "type":"string", 1400 "enum":[ 1401 "ENABLED", 1402 "DISABLED" 1403 ] 1404 }, 1405 "AttachmentsInput":{ 1406 "type":"list", 1407 "member":{"shape":"AttachmentInput"}, 1408 "min":1 1409 }, 1410 "AttachmentsOutput":{ 1411 "type":"list", 1412 "member":{"shape":"AttachmentOutput"} 1413 }, 1414 "AttributeFilter":{ 1415 "type":"structure", 1416 "members":{ 1417 "andAllFilters":{ 1418 "shape":"AttributeFilters", 1419 "documentation":"<p>Performs a logical <code>AND</code> operation on all supplied filters.</p>" 1420 }, 1421 "containsAll":{ 1422 "shape":"DocumentAttribute", 1423 "documentation":"<p>Returns <code>true</code> when a document contains all the specified document attributes or metadata fields.</p>" 1424 }, 1425 "containsAny":{ 1426 "shape":"DocumentAttribute", 1427 "documentation":"<p>Returns <code>true</code> when a document contains any of the specified document attributes or metadata fields.</p>" 1428 }, 1429 "equalsTo":{ 1430 "shape":"DocumentAttribute", 1431 "documentation":"<p>Performs an equals operation on two document attributes or metadata fields.</p>" 1432 }, 1433 "greaterThan":{ 1434 "shape":"DocumentAttribute", 1435 "documentation":"<p>Performs a greater than operation on two document attributes or metadata fields. Use with a document attribute of type <code>Date</code> or <code>Long</code>.</p>" 1436 }, 1437 "greaterThanOrEquals":{ 1438 "shape":"DocumentAttribute", 1439 "documentation":"<p>Performs a greater or equals than operation on two document attributes or metadata fields. Use with a document attribute of type <code>Date</code> or <code>Long</code>. </p>" 1440 }, 1441 "lessThan":{ 1442 "shape":"DocumentAttribute", 1443 "documentation":"<p>Performs a less than operation on two document attributes or metadata fields. Use with a document attribute of type <code>Date</code> or <code>Long</code>.</p>" 1444 }, 1445 "lessThanOrEquals":{ 1446 "shape":"DocumentAttribute", 1447 "documentation":"<p>Performs a less than or equals operation on two document attributes or metadata fields. Use with a document attribute of type <code>Date</code> or <code>Long</code>. </p>" 1448 }, 1449 "notFilter":{ 1450 "shape":"AttributeFilter", 1451 "documentation":"<p>Performs a logical <code>NOT</code> operation on all supplied filters. </p>" 1452 }, 1453 "orAllFilters":{ 1454 "shape":"AttributeFilters", 1455 "documentation":"<p> Performs a logical <code>OR</code> operation on all supplied filters. </p>" 1456 } 1457 }, 1458 "documentation":"<p>Enables filtering of responses based on document attributes or metadata fields.</p>" 1459 }, 1460 "AttributeFilters":{ 1461 "type":"list", 1462 "member":{"shape":"AttributeFilter"} 1463 }, 1464 "AttributeType":{ 1465 "type":"string", 1466 "enum":[ 1467 "STRING", 1468 "STRING_LIST", 1469 "NUMBER", 1470 "DATE" 1471 ] 1472 }, 1473 "AttributeValueOperator":{ 1474 "type":"string", 1475 "enum":["DELETE"] 1476 }, 1477 "BasicAuthConfiguration":{ 1478 "type":"structure", 1479 "required":[ 1480 "roleArn", 1481 "secretArn" 1482 ], 1483 "members":{ 1484 "roleArn":{ 1485 "shape":"RoleArn", 1486 "documentation":"<p>The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.</p>" 1487 }, 1488 "secretArn":{ 1489 "shape":"SecretArn", 1490 "documentation":"<p>The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..</p>" 1491 } 1492 }, 1493 "documentation":"<p>Information about the basic authentication credentials used to configure a plugin.</p>" 1494 }, 1495 "BatchDeleteDocumentRequest":{ 1496 "type":"structure", 1497 "required":[ 1498 "applicationId", 1499 "documents", 1500 "indexId" 1501 ], 1502 "members":{ 1503 "applicationId":{ 1504 "shape":"ApplicationId", 1505 "documentation":"<p>The identifier of the Amazon Q application.</p>", 1506 "location":"uri", 1507 "locationName":"applicationId" 1508 }, 1509 "dataSourceSyncId":{ 1510 "shape":"ExecutionId", 1511 "documentation":"<p>The identifier of the data source sync during which the documents were deleted.</p>" 1512 }, 1513 "documents":{ 1514 "shape":"DeleteDocuments", 1515 "documentation":"<p>Documents deleted from the Amazon Q index.</p>" 1516 }, 1517 "indexId":{ 1518 "shape":"IndexId", 1519 "documentation":"<p>The identifier of the Amazon Q index that contains the documents to delete.</p>", 1520 "location":"uri", 1521 "locationName":"indexId" 1522 } 1523 } 1524 }, 1525 "BatchDeleteDocumentResponse":{ 1526 "type":"structure", 1527 "members":{ 1528 "failedDocuments":{ 1529 "shape":"FailedDocuments", 1530 "documentation":"<p>A list of documents that couldn't be removed from the Amazon Q index. Each entry contains an error message that indicates why the document couldn't be removed from the index. </p>" 1531 } 1532 } 1533 }, 1534 "BatchPutDocumentRequest":{ 1535 "type":"structure", 1536 "required":[ 1537 "applicationId", 1538 "documents", 1539 "indexId" 1540 ], 1541 "members":{ 1542 "applicationId":{ 1543 "shape":"ApplicationId", 1544 "documentation":"<p>The identifier of the Amazon Q application.</p>", 1545 "location":"uri", 1546 "locationName":"applicationId" 1547 }, 1548 "dataSourceSyncId":{ 1549 "shape":"ExecutionId", 1550 "documentation":"<p>The identifier of the data source sync during which the documents were added.</p>" 1551 }, 1552 "documents":{ 1553 "shape":"Documents", 1554 "documentation":"<p>One or more documents to add to the index.</p>" 1555 }, 1556 "indexId":{ 1557 "shape":"IndexId", 1558 "documentation":"<p>The identifier of the Amazon Q index to add the documents to. </p>", 1559 "location":"uri", 1560 "locationName":"indexId" 1561 }, 1562 "roleArn":{ 1563 "shape":"RoleArn", 1564 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.</p>" 1565 } 1566 } 1567 }, 1568 "BatchPutDocumentResponse":{ 1569 "type":"structure", 1570 "members":{ 1571 "failedDocuments":{ 1572 "shape":"FailedDocuments", 1573 "documentation":"<p> A list of documents that were not added to the Amazon Q index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index. </p>" 1574 } 1575 } 1576 }, 1577 "Blob":{"type":"blob"}, 1578 "BlockedPhrase":{ 1579 "type":"string", 1580 "max":36, 1581 "min":0, 1582 "pattern":"^\\P{C}*$" 1583 }, 1584 "BlockedPhrases":{ 1585 "type":"list", 1586 "member":{"shape":"BlockedPhrase"}, 1587 "max":5, 1588 "min":0 1589 }, 1590 "BlockedPhrasesConfiguration":{ 1591 "type":"structure", 1592 "members":{ 1593 "blockedPhrases":{ 1594 "shape":"BlockedPhrases", 1595 "documentation":"<p>A list of phrases blocked from a Amazon Q web experience chat.</p>" 1596 }, 1597 "systemMessageOverride":{ 1598 "shape":"SystemMessageOverride", 1599 "documentation":"<p>The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.</p>" 1600 } 1601 }, 1602 "documentation":"<p>Provides information about the phrases blocked from chat by your chat control configuration.</p>" 1603 }, 1604 "BlockedPhrasesConfigurationUpdate":{ 1605 "type":"structure", 1606 "members":{ 1607 "blockedPhrasesToCreateOrUpdate":{ 1608 "shape":"BlockedPhrases", 1609 "documentation":"<p>Creates or updates a blocked phrases configuration in your Amazon Q application.</p>" 1610 }, 1611 "blockedPhrasesToDelete":{ 1612 "shape":"BlockedPhrases", 1613 "documentation":"<p>Deletes a blocked phrases configuration in your Amazon Q application.</p>" 1614 }, 1615 "systemMessageOverride":{ 1616 "shape":"SystemMessageOverride", 1617 "documentation":"<p>The configured custom message displayed to your end user when they use blocked phrase during chat.</p>" 1618 } 1619 }, 1620 "documentation":"<p>Updates a blocked phrases configuration in your Amazon Q application.</p>" 1621 }, 1622 "Boolean":{ 1623 "type":"boolean", 1624 "box":true 1625 }, 1626 "BoostingDurationInSeconds":{ 1627 "type":"long", 1628 "box":true, 1629 "max":999999999, 1630 "min":0 1631 }, 1632 "ChatSyncInput":{ 1633 "type":"structure", 1634 "required":[ 1635 "applicationId", 1636 "userId" 1637 ], 1638 "members":{ 1639 "actionExecution":{ 1640 "shape":"ActionExecution", 1641 "documentation":"<p>A request from an end user to perform an Amazon Q plugin action.</p>" 1642 }, 1643 "applicationId":{ 1644 "shape":"ApplicationId", 1645 "documentation":"<p>The identifier of the Amazon Q application linked to the Amazon Q conversation.</p>", 1646 "location":"uri", 1647 "locationName":"applicationId" 1648 }, 1649 "attachments":{ 1650 "shape":"AttachmentsInput", 1651 "documentation":"<p>A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.</p>" 1652 }, 1653 "attributeFilter":{ 1654 "shape":"AttributeFilter", 1655 "documentation":"<p>Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.</p>" 1656 }, 1657 "clientToken":{ 1658 "shape":"ClientToken", 1659 "documentation":"<p>A token that you provide to identify a chat request.</p>", 1660 "idempotencyToken":true 1661 }, 1662 "conversationId":{ 1663 "shape":"ConversationId", 1664 "documentation":"<p>The identifier of the Amazon Q conversation.</p>" 1665 }, 1666 "parentMessageId":{ 1667 "shape":"MessageId", 1668 "documentation":"<p>The identifier of the previous end user text input message in a conversation.</p>" 1669 }, 1670 "userGroups":{ 1671 "shape":"UserGroups", 1672 "documentation":"<p>The groups that a user associated with the chat input belongs to.</p>", 1673 "location":"querystring", 1674 "locationName":"userGroups" 1675 }, 1676 "userId":{ 1677 "shape":"UserId", 1678 "documentation":"<p>The identifier of the user attached to the chat input.</p>", 1679 "location":"querystring", 1680 "locationName":"userId" 1681 }, 1682 "userMessage":{ 1683 "shape":"UserMessage", 1684 "documentation":"<p>A end user message in a conversation.</p>" 1685 } 1686 } 1687 }, 1688 "ChatSyncOutput":{ 1689 "type":"structure", 1690 "members":{ 1691 "actionReview":{ 1692 "shape":"ActionReview", 1693 "documentation":"<p>A request from Amazon Q to the end user for information Amazon Q needs to successfully complete a requested plugin action.</p>" 1694 }, 1695 "conversationId":{ 1696 "shape":"ConversationId", 1697 "documentation":"<p>The identifier of the Amazon Q conversation.</p>" 1698 }, 1699 "failedAttachments":{ 1700 "shape":"AttachmentsOutput", 1701 "documentation":"<p>A list of files which failed to upload during chat.</p>" 1702 }, 1703 "sourceAttributions":{ 1704 "shape":"SourceAttributions", 1705 "documentation":"<p>The source documents used to generate the conversation response.</p>" 1706 }, 1707 "systemMessage":{ 1708 "shape":"String", 1709 "documentation":"<p>An AI-generated message in a conversation.</p>" 1710 }, 1711 "systemMessageId":{ 1712 "shape":"MessageId", 1713 "documentation":"<p>The identifier of an Amazon Q AI generated message within the conversation.</p>" 1714 }, 1715 "userMessageId":{ 1716 "shape":"MessageId", 1717 "documentation":"<p>The identifier of an Amazon Q end user text input message within the conversation.</p>" 1718 } 1719 } 1720 }, 1721 "ClientToken":{ 1722 "type":"string", 1723 "max":100, 1724 "min":1 1725 }, 1726 "ConflictException":{ 1727 "type":"structure", 1728 "required":[ 1729 "message", 1730 "resourceId", 1731 "resourceType" 1732 ], 1733 "members":{ 1734 "message":{ 1735 "shape":"ErrorMessage", 1736 "documentation":"<p>The message describing a <code>ConflictException</code>.</p>" 1737 }, 1738 "resourceId":{ 1739 "shape":"String", 1740 "documentation":"<p>The identifier of the resource affected.</p>" 1741 }, 1742 "resourceType":{ 1743 "shape":"String", 1744 "documentation":"<p>The type of the resource affected.</p>" 1745 } 1746 }, 1747 "documentation":"<p>You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.</p>", 1748 "error":{ 1749 "httpStatusCode":409, 1750 "senderFault":true 1751 }, 1752 "exception":true 1753 }, 1754 "ContentBlockerRule":{ 1755 "type":"structure", 1756 "members":{ 1757 "systemMessageOverride":{ 1758 "shape":"SystemMessageOverride", 1759 "documentation":"<p>The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.</p>" 1760 } 1761 }, 1762 "documentation":"<p>A rule for configuring how Amazon Q responds when it encounters a a blocked topic. You can configure a custom message to inform your end users that they have asked about a restricted topic and suggest any next steps they should take.</p>" 1763 }, 1764 "ContentRetrievalRule":{ 1765 "type":"structure", 1766 "members":{ 1767 "eligibleDataSources":{ 1768 "shape":"EligibleDataSources", 1769 "documentation":"<p>Specifies data sources in a Amazon Q application to use for content generation.</p>" 1770 } 1771 }, 1772 "documentation":"<p>Rules for retrieving content from data sources connected to a Amazon Q application for a specific topic control configuration.</p>" 1773 }, 1774 "ContentType":{ 1775 "type":"string", 1776 "enum":[ 1777 "PDF", 1778 "HTML", 1779 "MS_WORD", 1780 "PLAIN_TEXT", 1781 "PPT", 1782 "RTF", 1783 "XML", 1784 "XSLT", 1785 "MS_EXCEL", 1786 "CSV", 1787 "JSON", 1788 "MD" 1789 ] 1790 }, 1791 "Conversation":{ 1792 "type":"structure", 1793 "members":{ 1794 "conversationId":{ 1795 "shape":"ConversationId", 1796 "documentation":"<p>The identifier of the Amazon Q conversation.</p>" 1797 }, 1798 "startTime":{ 1799 "shape":"Timestamp", 1800 "documentation":"<p>The start time of the conversation.</p>" 1801 }, 1802 "title":{ 1803 "shape":"ConversationTitle", 1804 "documentation":"<p>The title of the conversation.</p>" 1805 } 1806 }, 1807 "documentation":"<p>A conversation in an Amazon Q application.</p>" 1808 }, 1809 "ConversationId":{ 1810 "type":"string", 1811 "max":36, 1812 "min":36, 1813 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 1814 }, 1815 "ConversationTitle":{"type":"string"}, 1816 "Conversations":{ 1817 "type":"list", 1818 "member":{"shape":"Conversation"} 1819 }, 1820 "CreateApplicationRequest":{ 1821 "type":"structure", 1822 "required":[ 1823 "displayName", 1824 "roleArn" 1825 ], 1826 "members":{ 1827 "attachmentsConfiguration":{ 1828 "shape":"AttachmentsConfiguration", 1829 "documentation":"<p>An option to allow end users to upload files directly during chat.</p>" 1830 }, 1831 "clientToken":{ 1832 "shape":"ClientToken", 1833 "documentation":"<p>A token that you provide to identify the request to create your Amazon Q application.</p>", 1834 "idempotencyToken":true 1835 }, 1836 "description":{ 1837 "shape":"Description", 1838 "documentation":"<p>A description for the Amazon Q application. </p>" 1839 }, 1840 "displayName":{ 1841 "shape":"ApplicationName", 1842 "documentation":"<p>A name for the Amazon Q application. </p>" 1843 }, 1844 "encryptionConfiguration":{ 1845 "shape":"EncryptionConfiguration", 1846 "documentation":"<p>The identifier of the KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.</p>" 1847 }, 1848 "roleArn":{ 1849 "shape":"RoleArn", 1850 "documentation":"<p> The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.</p>" 1851 }, 1852 "tags":{ 1853 "shape":"Tags", 1854 "documentation":"<p>A list of key-value pairs that identify or categorize your Amazon Q application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>" 1855 } 1856 } 1857 }, 1858 "CreateApplicationResponse":{ 1859 "type":"structure", 1860 "members":{ 1861 "applicationArn":{ 1862 "shape":"ApplicationArn", 1863 "documentation":"<p> The Amazon Resource Name (ARN) of the Amazon Q application. </p>" 1864 }, 1865 "applicationId":{ 1866 "shape":"ApplicationId", 1867 "documentation":"<p>The identifier of the Amazon Q application.</p>" 1868 } 1869 } 1870 }, 1871 "CreateDataSourceRequest":{ 1872 "type":"structure", 1873 "required":[ 1874 "applicationId", 1875 "configuration", 1876 "displayName", 1877 "indexId" 1878 ], 1879 "members":{ 1880 "applicationId":{ 1881 "shape":"ApplicationId", 1882 "documentation":"<p> The identifier of the Amazon Q application the data source will be attached to.</p>", 1883 "location":"uri", 1884 "locationName":"applicationId" 1885 }, 1886 "clientToken":{ 1887 "shape":"ClientToken", 1888 "documentation":"<p>A token you provide to identify a request to create a data source connector. Multiple calls to the <code>CreateDataSource</code> API with the same client token will create only one data source connector. </p>", 1889 "idempotencyToken":true 1890 }, 1891 "configuration":{ 1892 "shape":"DataSourceConfiguration", 1893 "documentation":"<p>Configuration information to connect to your data source repository. For configuration templates for your specific data source, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connectors-list.html.html\">Supported connectors</a>.</p>" 1894 }, 1895 "description":{ 1896 "shape":"Description", 1897 "documentation":"<p>A description for the data source connector.</p>" 1898 }, 1899 "displayName":{ 1900 "shape":"DataSourceName", 1901 "documentation":"<p>A name for the data source connector.</p>" 1902 }, 1903 "documentEnrichmentConfiguration":{"shape":"DocumentEnrichmentConfiguration"}, 1904 "indexId":{ 1905 "shape":"IndexId", 1906 "documentation":"<p>The identifier of the index that you want to use with the data source connector.</p>", 1907 "location":"uri", 1908 "locationName":"indexId" 1909 }, 1910 "roleArn":{ 1911 "shape":"RoleArn", 1912 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.</p>" 1913 }, 1914 "syncSchedule":{ 1915 "shape":"SyncSchedule", 1916 "documentation":"<p>Sets the frequency for Amazon Q to check the documents in your data source repository and update your index. If you don't set a schedule, Amazon Q won't periodically update the index.</p> <p>Specify a <code>cron-</code> format schedule string or an empty string to indicate that the index is updated on demand. You can't specify the <code>Schedule</code> parameter when the <code>Type</code> parameter is set to <code>CUSTOM</code>. If you do, you receive a <code>ValidationException</code> exception. </p>" 1917 }, 1918 "tags":{ 1919 "shape":"Tags", 1920 "documentation":"<p>A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>" 1921 }, 1922 "vpcConfiguration":{ 1923 "shape":"DataSourceVpcConfiguration", 1924 "documentation":"<p>Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source. For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/connector-vpc.html\">Using Amazon VPC with Amazon Q connectors</a>.</p>" 1925 } 1926 } 1927 }, 1928 "CreateDataSourceResponse":{ 1929 "type":"structure", 1930 "members":{ 1931 "dataSourceArn":{ 1932 "shape":"DataSourceArn", 1933 "documentation":"<p> The Amazon Resource Name (ARN) of a data source in an Amazon Q application. </p>" 1934 }, 1935 "dataSourceId":{ 1936 "shape":"DataSourceId", 1937 "documentation":"<p>The identifier of the data source connector.</p>" 1938 } 1939 } 1940 }, 1941 "CreateIndexRequest":{ 1942 "type":"structure", 1943 "required":[ 1944 "applicationId", 1945 "displayName" 1946 ], 1947 "members":{ 1948 "applicationId":{ 1949 "shape":"ApplicationId", 1950 "documentation":"<p>The identifier of the Amazon Q application using the index.</p>", 1951 "location":"uri", 1952 "locationName":"applicationId" 1953 }, 1954 "capacityConfiguration":{ 1955 "shape":"IndexCapacityConfiguration", 1956 "documentation":"<p>The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.</p>" 1957 }, 1958 "clientToken":{ 1959 "shape":"ClientToken", 1960 "documentation":"<p>A token that you provide to identify the request to create an index. Multiple calls to the <code>CreateIndex</code> API with the same client token will create only one index.</p>", 1961 "idempotencyToken":true 1962 }, 1963 "description":{ 1964 "shape":"Description", 1965 "documentation":"<p>A description for the Amazon Q index.</p>" 1966 }, 1967 "displayName":{ 1968 "shape":"IndexName", 1969 "documentation":"<p>A name for the Amazon Q index.</p>" 1970 }, 1971 "tags":{ 1972 "shape":"Tags", 1973 "documentation":"<p>A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>" 1974 } 1975 } 1976 }, 1977 "CreateIndexResponse":{ 1978 "type":"structure", 1979 "members":{ 1980 "indexArn":{ 1981 "shape":"IndexArn", 1982 "documentation":"<p> The Amazon Resource Name (ARN) of an Amazon Q index.</p>" 1983 }, 1984 "indexId":{ 1985 "shape":"IndexId", 1986 "documentation":"<p>The identifier for the Amazon Q index.</p>" 1987 } 1988 } 1989 }, 1990 "CreatePluginRequest":{ 1991 "type":"structure", 1992 "required":[ 1993 "applicationId", 1994 "authConfiguration", 1995 "displayName", 1996 "serverUrl", 1997 "type" 1998 ], 1999 "members":{ 2000 "applicationId":{ 2001 "shape":"ApplicationId", 2002 "documentation":"<p>The identifier of the application that will contain the plugin.</p>", 2003 "location":"uri", 2004 "locationName":"applicationId" 2005 }, 2006 "authConfiguration":{"shape":"PluginAuthConfiguration"}, 2007 "clientToken":{ 2008 "shape":"ClientToken", 2009 "documentation":"<p>A token that you provide to identify the request to create your Amazon Q plugin.</p>", 2010 "idempotencyToken":true 2011 }, 2012 "displayName":{ 2013 "shape":"PluginName", 2014 "documentation":"<p>A the name for your plugin.</p>" 2015 }, 2016 "serverUrl":{ 2017 "shape":"Url", 2018 "documentation":"<p>The source URL used for plugin configuration.</p>" 2019 }, 2020 "tags":{ 2021 "shape":"Tags", 2022 "documentation":"<p>A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>" 2023 }, 2024 "type":{ 2025 "shape":"PluginType", 2026 "documentation":"<p>The type of plugin you want to create.</p>" 2027 } 2028 } 2029 }, 2030 "CreatePluginResponse":{ 2031 "type":"structure", 2032 "members":{ 2033 "pluginArn":{ 2034 "shape":"PluginArn", 2035 "documentation":"<p>The Amazon Resource Name (ARN) of a plugin.</p>" 2036 }, 2037 "pluginId":{ 2038 "shape":"PluginId", 2039 "documentation":"<p>The identifier of the plugin created.</p>" 2040 } 2041 } 2042 }, 2043 "CreateRetrieverRequest":{ 2044 "type":"structure", 2045 "required":[ 2046 "applicationId", 2047 "configuration", 2048 "displayName", 2049 "type" 2050 ], 2051 "members":{ 2052 "applicationId":{ 2053 "shape":"ApplicationId", 2054 "documentation":"<p>The identifier of your Amazon Q application.</p>", 2055 "location":"uri", 2056 "locationName":"applicationId" 2057 }, 2058 "clientToken":{ 2059 "shape":"ClientToken", 2060 "documentation":"<p>A token that you provide to identify the request to create your Amazon Q application retriever.</p>", 2061 "idempotencyToken":true 2062 }, 2063 "configuration":{"shape":"RetrieverConfiguration"}, 2064 "displayName":{ 2065 "shape":"RetrieverName", 2066 "documentation":"<p>The name of your retriever.</p>" 2067 }, 2068 "roleArn":{ 2069 "shape":"RoleArn", 2070 "documentation":"<p>The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.</p>" 2071 }, 2072 "tags":{ 2073 "shape":"Tags", 2074 "documentation":"<p>A list of key-value pairs that identify or categorize the retriever. You can also use tags to help control access to the retriever. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>" 2075 }, 2076 "type":{ 2077 "shape":"RetrieverType", 2078 "documentation":"<p>The type of retriever you are using.</p>" 2079 } 2080 } 2081 }, 2082 "CreateRetrieverResponse":{ 2083 "type":"structure", 2084 "members":{ 2085 "retrieverArn":{ 2086 "shape":"RetrieverArn", 2087 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role associated with a retriever.</p>" 2088 }, 2089 "retrieverId":{ 2090 "shape":"RetrieverId", 2091 "documentation":"<p>The identifier of the retriever you are using.</p>" 2092 } 2093 } 2094 }, 2095 "CreateUserRequest":{ 2096 "type":"structure", 2097 "required":[ 2098 "applicationId", 2099 "userId" 2100 ], 2101 "members":{ 2102 "applicationId":{ 2103 "shape":"ApplicationId", 2104 "documentation":"<p>The identifier of the application for which the user mapping will be created.</p>", 2105 "location":"uri", 2106 "locationName":"applicationId" 2107 }, 2108 "clientToken":{ 2109 "shape":"ClientToken", 2110 "documentation":"<p>A token that you provide to identify the request to create your Amazon Q user mapping.</p>", 2111 "idempotencyToken":true 2112 }, 2113 "userAliases":{ 2114 "shape":"CreateUserRequestUserAliasesList", 2115 "documentation":"<p>The list of user aliases in the mapping.</p>" 2116 }, 2117 "userId":{ 2118 "shape":"String", 2119 "documentation":"<p>The user emails attached to a user mapping.</p>" 2120 } 2121 } 2122 }, 2123 "CreateUserRequestUserAliasesList":{ 2124 "type":"list", 2125 "member":{"shape":"UserAlias"}, 2126 "max":100, 2127 "min":0 2128 }, 2129 "CreateUserResponse":{ 2130 "type":"structure", 2131 "members":{ 2132 } 2133 }, 2134 "CreateWebExperienceRequest":{ 2135 "type":"structure", 2136 "required":["applicationId"], 2137 "members":{ 2138 "applicationId":{ 2139 "shape":"ApplicationId", 2140 "documentation":"<p>The identifier of the Amazon Q web experience.</p>", 2141 "location":"uri", 2142 "locationName":"applicationId" 2143 }, 2144 "clientToken":{ 2145 "shape":"ClientToken", 2146 "documentation":"<p>A token you provide to identify a request to create an Amazon Q web experience. </p>", 2147 "idempotencyToken":true 2148 }, 2149 "samplePromptsControlMode":{ 2150 "shape":"WebExperienceSamplePromptsControlMode", 2151 "documentation":"<p>Determines whether sample prompts are enabled in the web experience for an end user.</p>" 2152 }, 2153 "subtitle":{ 2154 "shape":"WebExperienceSubtitle", 2155 "documentation":"<p>A subtitle to personalize your Amazon Q web experience.</p>" 2156 }, 2157 "tags":{ 2158 "shape":"Tags", 2159 "documentation":"<p>A list of key-value pairs that identify or categorize your Amazon Q web experience. You can also use tags to help control access to the web experience. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>" 2160 }, 2161 "title":{ 2162 "shape":"WebExperienceTitle", 2163 "documentation":"<p>The title for your Amazon Q web experience.</p>" 2164 }, 2165 "welcomeMessage":{ 2166 "shape":"WebExperienceWelcomeMessage", 2167 "documentation":"<p>The customized welcome message for end users of an Amazon Q web experience.</p>" 2168 } 2169 } 2170 }, 2171 "CreateWebExperienceResponse":{ 2172 "type":"structure", 2173 "members":{ 2174 "webExperienceArn":{ 2175 "shape":"WebExperienceArn", 2176 "documentation":"<p> The Amazon Resource Name (ARN) of an Amazon Q web experience.</p>" 2177 }, 2178 "webExperienceId":{ 2179 "shape":"WebExperienceId", 2180 "documentation":"<p>The identifier of the Amazon Q web experience.</p>" 2181 } 2182 } 2183 }, 2184 "DataSource":{ 2185 "type":"structure", 2186 "members":{ 2187 "createdAt":{ 2188 "shape":"Timestamp", 2189 "documentation":"<p>The Unix timestamp when the Amazon Q data source was created.</p>" 2190 }, 2191 "dataSourceId":{ 2192 "shape":"DataSourceId", 2193 "documentation":"<p>The identifier of the Amazon Q data source.</p>" 2194 }, 2195 "displayName":{ 2196 "shape":"DataSourceName", 2197 "documentation":"<p>The name of the Amazon Q data source.</p>" 2198 }, 2199 "status":{ 2200 "shape":"DataSourceStatus", 2201 "documentation":"<p>The status of the Amazon Q data source.</p>" 2202 }, 2203 "type":{ 2204 "shape":"String", 2205 "documentation":"<p>The type of the Amazon Q data source.</p>" 2206 }, 2207 "updatedAt":{ 2208 "shape":"Timestamp", 2209 "documentation":"<p>The Unix timestamp when the Amazon Q data source was last updated. </p>" 2210 } 2211 }, 2212 "documentation":"<p>A data source in an Amazon Q application.</p>" 2213 }, 2214 "DataSourceArn":{ 2215 "type":"string", 2216 "max":1284, 2217 "min":0, 2218 "pattern":"^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" 2219 }, 2220 "DataSourceConfiguration":{ 2221 "type":"structure", 2222 "members":{ 2223 }, 2224 "documentation":"<p>Provides the configuration information for an Amazon Q data source.</p>", 2225 "document":true 2226 }, 2227 "DataSourceId":{ 2228 "type":"string", 2229 "max":36, 2230 "min":36, 2231 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 2232 }, 2233 "DataSourceIds":{ 2234 "type":"list", 2235 "member":{"shape":"DataSourceId"}, 2236 "max":1, 2237 "min":1 2238 }, 2239 "DataSourceName":{ 2240 "type":"string", 2241 "max":1000, 2242 "min":1, 2243 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]*$" 2244 }, 2245 "DataSourceStatus":{ 2246 "type":"string", 2247 "enum":[ 2248 "PENDING_CREATION", 2249 "CREATING", 2250 "ACTIVE", 2251 "DELETING", 2252 "FAILED", 2253 "UPDATING" 2254 ] 2255 }, 2256 "DataSourceSyncJob":{ 2257 "type":"structure", 2258 "members":{ 2259 "dataSourceErrorCode":{ 2260 "shape":"String", 2261 "documentation":"<p>If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.</p>" 2262 }, 2263 "endTime":{ 2264 "shape":"Timestamp", 2265 "documentation":"<p>The Unix timestamp when the synchronization job completed.</p>" 2266 }, 2267 "error":{ 2268 "shape":"ErrorDetail", 2269 "documentation":"<p>If the <code>Status</code> field is set to <code>FAILED</code>, the <code>ErrorCode</code> field indicates the reason the synchronization failed. </p>" 2270 }, 2271 "executionId":{ 2272 "shape":"ExecutionId", 2273 "documentation":"<p>The identifier of a data source synchronization job.</p>" 2274 }, 2275 "metrics":{ 2276 "shape":"DataSourceSyncJobMetrics", 2277 "documentation":"<p>Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.</p>" 2278 }, 2279 "startTime":{ 2280 "shape":"Timestamp", 2281 "documentation":"<p>The Unix time stamp when the data source synchronization job started.</p>" 2282 }, 2283 "status":{ 2284 "shape":"DataSourceSyncJobStatus", 2285 "documentation":"<p>The status of the synchronization job. When the <code>Status</code> field is set to <code>SUCCEEDED</code>, the synchronization job is done. If the status code is <code>FAILED</code>, the <code>ErrorCode</code> and <code>ErrorMessage</code> fields give you the reason for the failure.</p>" 2286 } 2287 }, 2288 "documentation":"<p>Provides information about an Amazon Q data source connector synchronization job.</p>" 2289 }, 2290 "DataSourceSyncJobMetrics":{ 2291 "type":"structure", 2292 "members":{ 2293 "documentsAdded":{ 2294 "shape":"MetricValue", 2295 "documentation":"<p>The current count of documents added from the data source during the data source sync.</p>" 2296 }, 2297 "documentsDeleted":{ 2298 "shape":"MetricValue", 2299 "documentation":"<p>The current count of documents deleted from the data source during the data source sync.</p>" 2300 }, 2301 "documentsFailed":{ 2302 "shape":"MetricValue", 2303 "documentation":"<p>The current count of documents that failed to sync from the data source during the data source sync.</p>" 2304 }, 2305 "documentsModified":{ 2306 "shape":"MetricValue", 2307 "documentation":"<p>The current count of documents modified in the data source during the data source sync.</p>" 2308 }, 2309 "documentsScanned":{ 2310 "shape":"MetricValue", 2311 "documentation":"<p>The current count of documents crawled by the ongoing sync job in the data source.</p>" 2312 } 2313 }, 2314 "documentation":"<p>Maps a batch delete document request to a specific Amazon Q data source connector sync job.</p>" 2315 }, 2316 "DataSourceSyncJobStatus":{ 2317 "type":"string", 2318 "enum":[ 2319 "FAILED", 2320 "SUCCEEDED", 2321 "SYNCING", 2322 "INCOMPLETE", 2323 "STOPPING", 2324 "ABORTED", 2325 "SYNCING_INDEXING" 2326 ] 2327 }, 2328 "DataSourceSyncJobs":{ 2329 "type":"list", 2330 "member":{"shape":"DataSourceSyncJob"} 2331 }, 2332 "DataSourceUserId":{ 2333 "type":"string", 2334 "max":1024, 2335 "min":1, 2336 "pattern":"^\\P{C}*$" 2337 }, 2338 "DataSourceVpcConfiguration":{ 2339 "type":"structure", 2340 "required":[ 2341 "securityGroupIds", 2342 "subnetIds" 2343 ], 2344 "members":{ 2345 "securityGroupIds":{ 2346 "shape":"SecurityGroupIds", 2347 "documentation":"<p>A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q to connect to the data source.</p>" 2348 }, 2349 "subnetIds":{ 2350 "shape":"SubnetIds", 2351 "documentation":"<p>A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.</p>" 2352 } 2353 }, 2354 "documentation":"<p>Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).</p>" 2355 }, 2356 "DataSources":{ 2357 "type":"list", 2358 "member":{"shape":"DataSource"} 2359 }, 2360 "DateAttributeBoostingConfiguration":{ 2361 "type":"structure", 2362 "required":["boostingLevel"], 2363 "members":{ 2364 "boostingDurationInSeconds":{ 2365 "shape":"BoostingDurationInSeconds", 2366 "documentation":"<p>Specifies the duration, in seconds, of a boost applies to a <code>DATE</code> type document attribute.</p>" 2367 }, 2368 "boostingLevel":{ 2369 "shape":"DocumentAttributeBoostingLevel", 2370 "documentation":"<p>Specifies how much a document attribute is boosted.</p>" 2371 } 2372 }, 2373 "documentation":"<p>Provides information on boosting <code>DATE</code> type document attributes.</p> <p>For more information on how boosting document attributes work in Amazon Q, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html\">Boosting using document attributes</a>.</p>" 2374 }, 2375 "DeleteApplicationRequest":{ 2376 "type":"structure", 2377 "required":["applicationId"], 2378 "members":{ 2379 "applicationId":{ 2380 "shape":"ApplicationId", 2381 "documentation":"<p>The identifier of the Amazon Q application.</p>", 2382 "location":"uri", 2383 "locationName":"applicationId" 2384 } 2385 } 2386 }, 2387 "DeleteApplicationResponse":{ 2388 "type":"structure", 2389 "members":{ 2390 } 2391 }, 2392 "DeleteChatControlsConfigurationRequest":{ 2393 "type":"structure", 2394 "required":["applicationId"], 2395 "members":{ 2396 "applicationId":{ 2397 "shape":"ApplicationId", 2398 "documentation":"<p>The identifier of the application the chat controls have been configured for.</p>", 2399 "location":"uri", 2400 "locationName":"applicationId" 2401 } 2402 } 2403 }, 2404 "DeleteChatControlsConfigurationResponse":{ 2405 "type":"structure", 2406 "members":{ 2407 } 2408 }, 2409 "DeleteConversationRequest":{ 2410 "type":"structure", 2411 "required":[ 2412 "applicationId", 2413 "conversationId", 2414 "userId" 2415 ], 2416 "members":{ 2417 "applicationId":{ 2418 "shape":"ApplicationId", 2419 "documentation":"<p>The identifier of the Amazon Q application associated with the conversation.</p>", 2420 "location":"uri", 2421 "locationName":"applicationId" 2422 }, 2423 "conversationId":{ 2424 "shape":"ConversationId", 2425 "documentation":"<p>The identifier of the Amazon Q web experience conversation being deleted.</p>", 2426 "location":"uri", 2427 "locationName":"conversationId" 2428 }, 2429 "userId":{ 2430 "shape":"UserId", 2431 "documentation":"<p>The identifier of the user who is deleting the conversation.</p>", 2432 "location":"querystring", 2433 "locationName":"userId" 2434 } 2435 } 2436 }, 2437 "DeleteConversationResponse":{ 2438 "type":"structure", 2439 "members":{ 2440 } 2441 }, 2442 "DeleteDataSourceRequest":{ 2443 "type":"structure", 2444 "required":[ 2445 "applicationId", 2446 "dataSourceId", 2447 "indexId" 2448 ], 2449 "members":{ 2450 "applicationId":{ 2451 "shape":"ApplicationId", 2452 "documentation":"<p>The identifier of the Amazon Q application used with the data source connector.</p>", 2453 "location":"uri", 2454 "locationName":"applicationId" 2455 }, 2456 "dataSourceId":{ 2457 "shape":"DataSourceId", 2458 "documentation":"<p>The identifier of the data source connector that you want to delete. </p>", 2459 "location":"uri", 2460 "locationName":"dataSourceId" 2461 }, 2462 "indexId":{ 2463 "shape":"IndexId", 2464 "documentation":"<p>The identifier of the index used with the data source connector.</p>", 2465 "location":"uri", 2466 "locationName":"indexId" 2467 } 2468 } 2469 }, 2470 "DeleteDataSourceResponse":{ 2471 "type":"structure", 2472 "members":{ 2473 } 2474 }, 2475 "DeleteDocument":{ 2476 "type":"structure", 2477 "required":["documentId"], 2478 "members":{ 2479 "documentId":{ 2480 "shape":"DocumentId", 2481 "documentation":"<p>The identifier of the deleted document.</p>" 2482 } 2483 }, 2484 "documentation":"<p>A document deleted from an Amazon Q data source connector.</p>" 2485 }, 2486 "DeleteDocuments":{ 2487 "type":"list", 2488 "member":{"shape":"DeleteDocument"} 2489 }, 2490 "DeleteGroupRequest":{ 2491 "type":"structure", 2492 "required":[ 2493 "applicationId", 2494 "groupName", 2495 "indexId" 2496 ], 2497 "members":{ 2498 "applicationId":{ 2499 "shape":"ApplicationId", 2500 "documentation":"<p>The identifier of the application in which the group mapping belongs.</p>", 2501 "location":"uri", 2502 "locationName":"applicationId" 2503 }, 2504 "dataSourceId":{ 2505 "shape":"DataSourceId", 2506 "documentation":"<p>The identifier of the data source linked to the group</p> <p>A group can be tied to multiple data sources. You can delete a group from accessing documents in a certain data source. For example, the groups \"Research\", \"Engineering\", and \"Sales and Marketing\" are all tied to the company's documents stored in the data sources Confluence and Salesforce. You want to delete \"Research\" and \"Engineering\" groups from Salesforce, so that these groups cannot access customer-related documents stored in Salesforce. Only \"Sales and Marketing\" should access documents in the Salesforce data source.</p>", 2507 "location":"querystring", 2508 "locationName":"dataSourceId" 2509 }, 2510 "groupName":{ 2511 "shape":"GroupName", 2512 "documentation":"<p>The name of the group you want to delete.</p>", 2513 "location":"uri", 2514 "locationName":"groupName" 2515 }, 2516 "indexId":{ 2517 "shape":"IndexId", 2518 "documentation":"<p>The identifier of the index you want to delete the group from.</p>", 2519 "location":"uri", 2520 "locationName":"indexId" 2521 } 2522 } 2523 }, 2524 "DeleteGroupResponse":{ 2525 "type":"structure", 2526 "members":{ 2527 } 2528 }, 2529 "DeleteIndexRequest":{ 2530 "type":"structure", 2531 "required":[ 2532 "applicationId", 2533 "indexId" 2534 ], 2535 "members":{ 2536 "applicationId":{ 2537 "shape":"ApplicationId", 2538 "documentation":"<p>The identifier of the Amazon Q application the Amazon Q index is linked to.</p>", 2539 "location":"uri", 2540 "locationName":"applicationId" 2541 }, 2542 "indexId":{ 2543 "shape":"IndexId", 2544 "documentation":"<p>The identifier of the Amazon Q index.</p>", 2545 "location":"uri", 2546 "locationName":"indexId" 2547 } 2548 } 2549 }, 2550 "DeleteIndexResponse":{ 2551 "type":"structure", 2552 "members":{ 2553 } 2554 }, 2555 "DeletePluginRequest":{ 2556 "type":"structure", 2557 "required":[ 2558 "applicationId", 2559 "pluginId" 2560 ], 2561 "members":{ 2562 "applicationId":{ 2563 "shape":"ApplicationId", 2564 "documentation":"<p>The identifier the application attached to the Amazon Q plugin.</p>", 2565 "location":"uri", 2566 "locationName":"applicationId" 2567 }, 2568 "pluginId":{ 2569 "shape":"PluginId", 2570 "documentation":"<p>The identifier of the plugin being deleted.</p>", 2571 "location":"uri", 2572 "locationName":"pluginId" 2573 } 2574 } 2575 }, 2576 "DeletePluginResponse":{ 2577 "type":"structure", 2578 "members":{ 2579 } 2580 }, 2581 "DeleteRetrieverRequest":{ 2582 "type":"structure", 2583 "required":[ 2584 "applicationId", 2585 "retrieverId" 2586 ], 2587 "members":{ 2588 "applicationId":{ 2589 "shape":"ApplicationId", 2590 "documentation":"<p>The identifier of the Amazon Q application using the retriever.</p>", 2591 "location":"uri", 2592 "locationName":"applicationId" 2593 }, 2594 "retrieverId":{ 2595 "shape":"RetrieverId", 2596 "documentation":"<p>The identifier of the retriever being deleted.</p>", 2597 "location":"uri", 2598 "locationName":"retrieverId" 2599 } 2600 } 2601 }, 2602 "DeleteRetrieverResponse":{ 2603 "type":"structure", 2604 "members":{ 2605 } 2606 }, 2607 "DeleteUserRequest":{ 2608 "type":"structure", 2609 "required":[ 2610 "applicationId", 2611 "userId" 2612 ], 2613 "members":{ 2614 "applicationId":{ 2615 "shape":"ApplicationId", 2616 "documentation":"<p>The identifier of the application from which the user is being deleted.</p>", 2617 "location":"uri", 2618 "locationName":"applicationId" 2619 }, 2620 "userId":{ 2621 "shape":"String", 2622 "documentation":"<p>The user email being deleted.</p>", 2623 "location":"uri", 2624 "locationName":"userId" 2625 } 2626 } 2627 }, 2628 "DeleteUserResponse":{ 2629 "type":"structure", 2630 "members":{ 2631 } 2632 }, 2633 "DeleteWebExperienceRequest":{ 2634 "type":"structure", 2635 "required":[ 2636 "applicationId", 2637 "webExperienceId" 2638 ], 2639 "members":{ 2640 "applicationId":{ 2641 "shape":"ApplicationId", 2642 "documentation":"<p>The identifier of the Amazon Q application linked to the Amazon Q web experience.</p>", 2643 "location":"uri", 2644 "locationName":"applicationId" 2645 }, 2646 "webExperienceId":{ 2647 "shape":"WebExperienceId", 2648 "documentation":"<p>The identifier of the Amazon Q web experience being deleted.</p>", 2649 "location":"uri", 2650 "locationName":"webExperienceId" 2651 } 2652 } 2653 }, 2654 "DeleteWebExperienceResponse":{ 2655 "type":"structure", 2656 "members":{ 2657 } 2658 }, 2659 "Description":{ 2660 "type":"string", 2661 "max":1000, 2662 "min":0, 2663 "pattern":"^\\P{C}*$" 2664 }, 2665 "Document":{ 2666 "type":"structure", 2667 "required":["id"], 2668 "members":{ 2669 "accessConfiguration":{ 2670 "shape":"AccessConfiguration", 2671 "documentation":"<p>Configuration information for access permission to a document.</p>" 2672 }, 2673 "attributes":{ 2674 "shape":"DocumentAttributes", 2675 "documentation":"<p>Custom attributes to apply to the document for refining Amazon Q web experience responses.</p>" 2676 }, 2677 "content":{ 2678 "shape":"DocumentContent", 2679 "documentation":"<p>The contents of the document.</p>" 2680 }, 2681 "contentType":{ 2682 "shape":"ContentType", 2683 "documentation":"<p>The file type of the document in the Blob field.</p> <p>If you want to index snippets or subsets of HTML documents instead of the entirety of the HTML documents, you add the <code>HTML</code> start and closing tags (<code><HTML>content</HTML></code>) around the content.</p>" 2684 }, 2685 "documentEnrichmentConfiguration":{ 2686 "shape":"DocumentEnrichmentConfiguration", 2687 "documentation":"<p>The configuration information for altering document metadata and content during the document ingestion process.</p>" 2688 }, 2689 "id":{ 2690 "shape":"DocumentId", 2691 "documentation":"<p>The identifier of the document.</p>" 2692 }, 2693 "title":{ 2694 "shape":"Title", 2695 "documentation":"<p>The title of the document.</p>" 2696 } 2697 }, 2698 "documentation":"<p>A document in an Amazon Q application.</p>" 2699 }, 2700 "DocumentAttribute":{ 2701 "type":"structure", 2702 "required":[ 2703 "name", 2704 "value" 2705 ], 2706 "members":{ 2707 "name":{ 2708 "shape":"DocumentAttributeKey", 2709 "documentation":"<p>The identifier for the attribute.</p>" 2710 }, 2711 "value":{ 2712 "shape":"DocumentAttributeValue", 2713 "documentation":"<p>The value of the attribute. </p>" 2714 } 2715 }, 2716 "documentation":"<p>A document attribute or metadata field.</p>" 2717 }, 2718 "DocumentAttributeBoostingConfiguration":{ 2719 "type":"structure", 2720 "members":{ 2721 "dateConfiguration":{ 2722 "shape":"DateAttributeBoostingConfiguration", 2723 "documentation":"<p>Provides information on boosting <code>DATE</code> type document attributes.</p>" 2724 }, 2725 "numberConfiguration":{ 2726 "shape":"NumberAttributeBoostingConfiguration", 2727 "documentation":"<p>Provides information on boosting <code>NUMBER</code> type document attributes.</p>" 2728 }, 2729 "stringConfiguration":{ 2730 "shape":"StringAttributeBoostingConfiguration", 2731 "documentation":"<p>Provides information on boosting <code>STRING</code> type document attributes.</p>" 2732 }, 2733 "stringListConfiguration":{ 2734 "shape":"StringListAttributeBoostingConfiguration", 2735 "documentation":"<p>Provides information on boosting <code>STRING_LIST</code> type document attributes.</p>" 2736 } 2737 }, 2738 "documentation":"<p>Provides information on boosting supported Amazon Q document attribute types. When an end user chat query matches document attributes that have been boosted, Amazon Q prioritizes generating responses from content that matches the boosted document attributes.</p> <note> <p>For <code>STRING</code> and <code>STRING_LIST</code> type document attributes to be used for boosting on the console and the API, they must be enabled for search using the <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html\">DocumentAttributeConfiguration</a> object of the <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html\">UpdateIndex</a> API. If you haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console or the API.</p> </note> <p>For more information on how boosting document attributes work in Amazon Q, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html\">Boosting using document attributes</a>.</p>", 2739 "union":true 2740 }, 2741 "DocumentAttributeBoostingLevel":{ 2742 "type":"string", 2743 "enum":[ 2744 "NONE", 2745 "LOW", 2746 "MEDIUM", 2747 "HIGH", 2748 "VERY_HIGH" 2749 ] 2750 }, 2751 "DocumentAttributeBoostingOverrideMap":{ 2752 "type":"map", 2753 "key":{"shape":"DocumentAttributeKey"}, 2754 "value":{"shape":"DocumentAttributeBoostingConfiguration"}, 2755 "min":1 2756 }, 2757 "DocumentAttributeCondition":{ 2758 "type":"structure", 2759 "required":[ 2760 "key", 2761 "operator" 2762 ], 2763 "members":{ 2764 "key":{ 2765 "shape":"DocumentAttributeKey", 2766 "documentation":"<p>The identifier of the document attribute used for the condition.</p> <p>For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.</p> <p>Amazon Q currently doesn't support <code>_document_body</code> as an attribute key used for the condition.</p>" 2767 }, 2768 "operator":{ 2769 "shape":"DocumentEnrichmentConditionOperator", 2770 "documentation":"<p>The identifier of the document attribute used for the condition.</p> <p>For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.</p> <p>Amazon Kendra currently does not support <code>_document_body</code> as an attribute key used for the condition.</p>" 2771 }, 2772 "value":{"shape":"DocumentAttributeValue"} 2773 }, 2774 "documentation":"<p>The condition used for the target document attribute or metadata field when ingesting documents into Amazon Q. You use this with <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html\"> <code>DocumentAttributeTarget</code> </a> to apply the condition.</p> <p>For example, you can create the 'Department' target field and have it prefill department names associated with the documents based on information in the 'Source_URI' field. Set the condition that if the 'Source_URI' field contains 'financial' in its URI value, then prefill the target field 'Department' with the target value 'Finance' for the document.</p> <p>Amazon Q can't create a target field if it has not already been created as an index field. After you create your index field, you can create a document metadata field using <code>DocumentAttributeTarget</code>. Amazon Q then will map your newly created metadata field to your index field.</p>" 2775 }, 2776 "DocumentAttributeConfiguration":{ 2777 "type":"structure", 2778 "members":{ 2779 "name":{ 2780 "shape":"String", 2781 "documentation":"<p>The name of the document attribute.</p>" 2782 }, 2783 "search":{ 2784 "shape":"Status", 2785 "documentation":"<p>Information about whether the document attribute can be used by an end user to search for information on their web experience.</p>" 2786 }, 2787 "type":{ 2788 "shape":"AttributeType", 2789 "documentation":"<p>The type of document attribute.</p>" 2790 } 2791 }, 2792 "documentation":"<p>Configuration information for document attributes. Document attributes are metadata or fields associated with your documents. For example, the company department name associated with each document.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html\">Understanding document attributes</a>.</p>" 2793 }, 2794 "DocumentAttributeConfigurations":{ 2795 "type":"list", 2796 "member":{"shape":"DocumentAttributeConfiguration"}, 2797 "max":500, 2798 "min":1 2799 }, 2800 "DocumentAttributeKey":{ 2801 "type":"string", 2802 "max":200, 2803 "min":1, 2804 "pattern":"^[a-zA-Z0-9_][a-zA-Z0-9_-]*$" 2805 }, 2806 "DocumentAttributeStringListValue":{ 2807 "type":"list", 2808 "member":{"shape":"String"} 2809 }, 2810 "DocumentAttributeTarget":{ 2811 "type":"structure", 2812 "required":["key"], 2813 "members":{ 2814 "attributeValueOperator":{ 2815 "shape":"AttributeValueOperator", 2816 "documentation":"<p> <code>TRUE</code> to delete the existing target value for your specified target attribute key. You cannot create a target value and set this to <code>TRUE</code>.</p>" 2817 }, 2818 "key":{ 2819 "shape":"DocumentAttributeKey", 2820 "documentation":"<p>The identifier of the target document attribute or metadata field. For example, 'Department' could be an identifier for the target attribute or metadata field that includes the department names associated with the documents.</p>" 2821 }, 2822 "value":{"shape":"DocumentAttributeValue"} 2823 }, 2824 "documentation":"<p>The target document attribute or metadata field you want to alter when ingesting documents into Amazon Q.</p> <p>For example, you can delete all customer identification numbers associated with the documents, stored in the document metadata field called 'Customer_ID' by setting the target key as 'Customer_ID' and the deletion flag to <code>TRUE</code>. This removes all customer ID values in the field 'Customer_ID'. This would scrub personally identifiable information from each document's metadata.</p> <p>Amazon Q can't create a target field if it has not already been created as an index field. After you create your index field, you can create a document metadata field using <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeTarget.html\"> <code>DocumentAttributeTarget</code> </a>. Amazon Q will then map your newly created document attribute to your index field.</p> <p>You can also use this with <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeCondition.html\"> <code>DocumentAttributeCondition</code> </a>.</p>" 2825 }, 2826 "DocumentAttributeValue":{ 2827 "type":"structure", 2828 "members":{ 2829 "dateValue":{ 2830 "shape":"Timestamp", 2831 "documentation":"<p>A date expressed as an ISO 8601 string.</p> <p>It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time. </p>" 2832 }, 2833 "longValue":{ 2834 "shape":"Long", 2835 "documentation":"<p>A long integer value. </p>" 2836 }, 2837 "stringListValue":{ 2838 "shape":"DocumentAttributeStringListValue", 2839 "documentation":"<p>A list of strings.</p>" 2840 }, 2841 "stringValue":{ 2842 "shape":"DocumentAttributeValueStringValueString", 2843 "documentation":"<p>A string.</p>" 2844 } 2845 }, 2846 "documentation":"<p>The value of a document attribute. You can only provide one value for a document attribute.</p>", 2847 "union":true 2848 }, 2849 "DocumentAttributeValueStringValueString":{ 2850 "type":"string", 2851 "max":2048, 2852 "min":0 2853 }, 2854 "DocumentAttributes":{ 2855 "type":"list", 2856 "member":{"shape":"DocumentAttribute"}, 2857 "max":500, 2858 "min":1 2859 }, 2860 "DocumentContent":{ 2861 "type":"structure", 2862 "members":{ 2863 "blob":{ 2864 "shape":"Blob", 2865 "documentation":"<p>The contents of the document. Documents passed to the <code>blob</code> parameter must be base64 encoded. Your code might not need to encode the document file bytes if you're using an Amazon Web Services SDK to call Amazon Q APIs. If you are calling the Amazon Q endpoint directly using REST, you must base64 encode the contents before sending.</p>" 2866 }, 2867 "s3":{ 2868 "shape":"S3", 2869 "documentation":"<p>The path to the document in an Amazon S3 bucket.</p>" 2870 } 2871 }, 2872 "documentation":"<p>The contents of a document.</p>", 2873 "union":true 2874 }, 2875 "DocumentContentOperator":{ 2876 "type":"string", 2877 "enum":["DELETE"] 2878 }, 2879 "DocumentDetailList":{ 2880 "type":"list", 2881 "member":{"shape":"DocumentDetails"} 2882 }, 2883 "DocumentDetails":{ 2884 "type":"structure", 2885 "members":{ 2886 "createdAt":{ 2887 "shape":"Timestamp", 2888 "documentation":"<p>The timestamp for when the document was created.</p>" 2889 }, 2890 "documentId":{ 2891 "shape":"DocumentId", 2892 "documentation":"<p>The identifier of the document.</p>" 2893 }, 2894 "error":{ 2895 "shape":"ErrorDetail", 2896 "documentation":"<p>An error message associated with the document.</p>" 2897 }, 2898 "status":{ 2899 "shape":"DocumentStatus", 2900 "documentation":"<p>The current status of the document.</p>" 2901 }, 2902 "updatedAt":{ 2903 "shape":"Timestamp", 2904 "documentation":"<p>The timestamp for when the document was last updated.</p>" 2905 } 2906 }, 2907 "documentation":"<p>The details of a document within an Amazon Q index.</p>" 2908 }, 2909 "DocumentEnrichmentConditionOperator":{ 2910 "type":"string", 2911 "enum":[ 2912 "GREATER_THAN", 2913 "GREATER_THAN_OR_EQUALS", 2914 "LESS_THAN", 2915 "LESS_THAN_OR_EQUALS", 2916 "EQUALS", 2917 "NOT_EQUALS", 2918 "CONTAINS", 2919 "NOT_CONTAINS", 2920 "EXISTS", 2921 "NOT_EXISTS", 2922 "BEGINS_WITH" 2923 ] 2924 }, 2925 "DocumentEnrichmentConfiguration":{ 2926 "type":"structure", 2927 "members":{ 2928 "inlineConfigurations":{ 2929 "shape":"InlineDocumentEnrichmentConfigurations", 2930 "documentation":"<p>Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q.</p>" 2931 }, 2932 "postExtractionHookConfiguration":{"shape":"HookConfiguration"}, 2933 "preExtractionHookConfiguration":{"shape":"HookConfiguration"} 2934 }, 2935 "documentation":"<p>Provides the configuration information for altering document metadata and content during the document ingestion process.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html\">Custom document enrichment</a>.</p>" 2936 }, 2937 "DocumentId":{ 2938 "type":"string", 2939 "max":1825, 2940 "min":1, 2941 "pattern":"^\\P{C}*$" 2942 }, 2943 "DocumentStatus":{ 2944 "type":"string", 2945 "enum":[ 2946 "RECEIVED", 2947 "PROCESSING", 2948 "INDEXED", 2949 "UPDATED", 2950 "FAILED", 2951 "DELETING", 2952 "DELETED", 2953 "DOCUMENT_FAILED_TO_INDEX" 2954 ] 2955 }, 2956 "Documents":{ 2957 "type":"list", 2958 "member":{"shape":"Document"}, 2959 "max":10, 2960 "min":1 2961 }, 2962 "EligibleDataSource":{ 2963 "type":"structure", 2964 "members":{ 2965 "dataSourceId":{ 2966 "shape":"DataSourceId", 2967 "documentation":"<p>The identifier of the data source.</p>" 2968 }, 2969 "indexId":{ 2970 "shape":"IndexId", 2971 "documentation":"<p>The identifier of the index the data source is attached to.</p>" 2972 } 2973 }, 2974 "documentation":"<p>The identifier of the data source Amazon Q will generate responses from.</p>" 2975 }, 2976 "EligibleDataSources":{ 2977 "type":"list", 2978 "member":{"shape":"EligibleDataSource"}, 2979 "max":5, 2980 "min":0 2981 }, 2982 "EncryptionConfiguration":{ 2983 "type":"structure", 2984 "members":{ 2985 "kmsKeyId":{ 2986 "shape":"KmsKeyId", 2987 "documentation":"<p>The identifier of the KMS key. Amazon Q doesn't support asymmetric keys.</p>" 2988 } 2989 }, 2990 "documentation":"<p>Provides the identifier of the KMS key used to encrypt data indexed by Amazon Q. Amazon Q doesn't support asymmetric keys.</p>" 2991 }, 2992 "ErrorCode":{ 2993 "type":"string", 2994 "enum":[ 2995 "InternalError", 2996 "InvalidRequest", 2997 "ResourceInactive", 2998 "ResourceNotFound" 2999 ] 3000 }, 3001 "ErrorDetail":{ 3002 "type":"structure", 3003 "members":{ 3004 "errorCode":{ 3005 "shape":"ErrorCode", 3006 "documentation":"<p>The code associated with the data source sync error.</p>" 3007 }, 3008 "errorMessage":{ 3009 "shape":"ErrorMessage", 3010 "documentation":"<p>The message explaining the data source sync error.</p>" 3011 } 3012 }, 3013 "documentation":"<p>Provides information about a data source sync error.</p>" 3014 }, 3015 "ErrorMessage":{ 3016 "type":"string", 3017 "max":2048, 3018 "min":1, 3019 "pattern":"^\\P{C}*$" 3020 }, 3021 "ExampleChatMessage":{ 3022 "type":"string", 3023 "max":350, 3024 "min":0, 3025 "pattern":"^\\P{C}*$" 3026 }, 3027 "ExampleChatMessages":{ 3028 "type":"list", 3029 "member":{"shape":"ExampleChatMessage"}, 3030 "max":5, 3031 "min":0 3032 }, 3033 "ExecutionId":{ 3034 "type":"string", 3035 "max":36, 3036 "min":36, 3037 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 3038 }, 3039 "FailedDocument":{ 3040 "type":"structure", 3041 "members":{ 3042 "dataSourceId":{ 3043 "shape":"DataSourceId", 3044 "documentation":"<p>The identifier of the Amazon Q data source connector that contains the failed document.</p>" 3045 }, 3046 "error":{ 3047 "shape":"ErrorDetail", 3048 "documentation":"<p>An explanation for why the document couldn't be removed from the index.</p>" 3049 }, 3050 "id":{ 3051 "shape":"DocumentId", 3052 "documentation":"<p>The identifier of the document that couldn't be removed from the Amazon Q index.</p>" 3053 } 3054 }, 3055 "documentation":"<p>A list of documents that could not be removed from an Amazon Q index. Each entry contains an error message that indicates why the document couldn't be removed from the index.</p>" 3056 }, 3057 "FailedDocuments":{ 3058 "type":"list", 3059 "member":{"shape":"FailedDocument"} 3060 }, 3061 "GetApplicationRequest":{ 3062 "type":"structure", 3063 "required":["applicationId"], 3064 "members":{ 3065 "applicationId":{ 3066 "shape":"ApplicationId", 3067 "documentation":"<p>The identifier of the Amazon Q application.</p>", 3068 "location":"uri", 3069 "locationName":"applicationId" 3070 } 3071 } 3072 }, 3073 "GetApplicationResponse":{ 3074 "type":"structure", 3075 "members":{ 3076 "applicationArn":{ 3077 "shape":"ApplicationArn", 3078 "documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Q application.</p>" 3079 }, 3080 "applicationId":{ 3081 "shape":"ApplicationId", 3082 "documentation":"<p>The identifier of the Amazon Q application.</p>" 3083 }, 3084 "attachmentsConfiguration":{ 3085 "shape":"AppliedAttachmentsConfiguration", 3086 "documentation":"<p>Settings for whether end users can upload files directly during chat.</p>" 3087 }, 3088 "createdAt":{ 3089 "shape":"Timestamp", 3090 "documentation":"<p>The Unix timestamp when the Amazon Q application was last updated.</p>" 3091 }, 3092 "description":{ 3093 "shape":"Description", 3094 "documentation":"<p>A description for the Amazon Q application.</p>" 3095 }, 3096 "displayName":{ 3097 "shape":"ApplicationName", 3098 "documentation":"<p>The name of the Amazon Q application.</p>" 3099 }, 3100 "encryptionConfiguration":{ 3101 "shape":"EncryptionConfiguration", 3102 "documentation":"<p>The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.</p>" 3103 }, 3104 "error":{ 3105 "shape":"ErrorDetail", 3106 "documentation":"<p>If the <code>Status</code> field is set to <code>ERROR</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the synchronization to fail.</p>" 3107 }, 3108 "roleArn":{ 3109 "shape":"RoleArn", 3110 "documentation":"<p>The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.</p>" 3111 }, 3112 "status":{ 3113 "shape":"ApplicationStatus", 3114 "documentation":"<p>The status of the Amazon Q application.</p>" 3115 }, 3116 "updatedAt":{ 3117 "shape":"Timestamp", 3118 "documentation":"<p>The Unix timestamp when the Amazon Q application was last updated.</p>" 3119 } 3120 } 3121 }, 3122 "GetChatControlsConfigurationRequest":{ 3123 "type":"structure", 3124 "required":["applicationId"], 3125 "members":{ 3126 "applicationId":{ 3127 "shape":"ApplicationId", 3128 "documentation":"<p>The identifier of the application for which the chat controls are configured.</p>", 3129 "location":"uri", 3130 "locationName":"applicationId" 3131 }, 3132 "maxResults":{ 3133 "shape":"MaxResultsIntegerForGetTopicConfigurations", 3134 "documentation":"<p>The maximum number of configured chat controls to return.</p>", 3135 "location":"querystring", 3136 "locationName":"maxResults" 3137 }, 3138 "nextToken":{ 3139 "shape":"NextToken", 3140 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.</p>", 3141 "location":"querystring", 3142 "locationName":"nextToken" 3143 } 3144 } 3145 }, 3146 "GetChatControlsConfigurationResponse":{ 3147 "type":"structure", 3148 "members":{ 3149 "blockedPhrases":{ 3150 "shape":"BlockedPhrasesConfiguration", 3151 "documentation":"<p>The phrases blocked from chat by your chat control configuration.</p>" 3152 }, 3153 "nextToken":{ 3154 "shape":"NextToken", 3155 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.</p>" 3156 }, 3157 "responseScope":{ 3158 "shape":"ResponseScope", 3159 "documentation":"<p>The response scope configured for a Amazon Q application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.</p>" 3160 }, 3161 "topicConfigurations":{ 3162 "shape":"TopicConfigurations", 3163 "documentation":"<p>The topic specific controls configured for a Amazon Q application.</p>" 3164 } 3165 } 3166 }, 3167 "GetDataSourceRequest":{ 3168 "type":"structure", 3169 "required":[ 3170 "applicationId", 3171 "dataSourceId", 3172 "indexId" 3173 ], 3174 "members":{ 3175 "applicationId":{ 3176 "shape":"ApplicationId", 3177 "documentation":"<p>The identifier of the Amazon Q application.</p>", 3178 "location":"uri", 3179 "locationName":"applicationId" 3180 }, 3181 "dataSourceId":{ 3182 "shape":"DataSourceId", 3183 "documentation":"<p>The identifier of the data source connector.</p>", 3184 "location":"uri", 3185 "locationName":"dataSourceId" 3186 }, 3187 "indexId":{ 3188 "shape":"IndexId", 3189 "documentation":"<p>The identfier of the index used with the data source connector.</p>", 3190 "location":"uri", 3191 "locationName":"indexId" 3192 } 3193 } 3194 }, 3195 "GetDataSourceResponse":{ 3196 "type":"structure", 3197 "members":{ 3198 "applicationId":{ 3199 "shape":"ApplicationId", 3200 "documentation":"<p>The identifier of the Amazon Q application.</p>" 3201 }, 3202 "configuration":{ 3203 "shape":"DataSourceConfiguration", 3204 "documentation":"<p>The details of how the data source connector is configured.</p>" 3205 }, 3206 "createdAt":{ 3207 "shape":"Timestamp", 3208 "documentation":"<p>The Unix timestamp when the data source connector was created.</p>" 3209 }, 3210 "dataSourceArn":{ 3211 "shape":"DataSourceArn", 3212 "documentation":"<p>The Amazon Resource Name (ARN) of the data source.</p>" 3213 }, 3214 "dataSourceId":{ 3215 "shape":"DataSourceId", 3216 "documentation":"<p>The identifier of the data source connector.</p>" 3217 }, 3218 "description":{ 3219 "shape":"Description", 3220 "documentation":"<p>The description for the data source connector.</p>" 3221 }, 3222 "displayName":{ 3223 "shape":"DataSourceName", 3224 "documentation":"<p>The name for the data source connector.</p>" 3225 }, 3226 "documentEnrichmentConfiguration":{"shape":"DocumentEnrichmentConfiguration"}, 3227 "error":{ 3228 "shape":"ErrorDetail", 3229 "documentation":"<p>When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the data source connector to fail.</p>" 3230 }, 3231 "indexId":{ 3232 "shape":"IndexId", 3233 "documentation":"<p>The identifier of the index linked to the data source connector.</p>" 3234 }, 3235 "roleArn":{ 3236 "shape":"RoleArn", 3237 "documentation":"<p>The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.</p>" 3238 }, 3239 "status":{ 3240 "shape":"DataSourceStatus", 3241 "documentation":"<p>The current status of the data source connector. When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the data source connector to fail.</p>" 3242 }, 3243 "syncSchedule":{ 3244 "shape":"SyncSchedule", 3245 "documentation":"<p>The schedule for Amazon Q to update the index.</p>" 3246 }, 3247 "type":{ 3248 "shape":"String", 3249 "documentation":"<p>The type of the data source connector. For example, <code>S3</code>.</p>" 3250 }, 3251 "updatedAt":{ 3252 "shape":"Timestamp", 3253 "documentation":"<p>The Unix timestamp when the data source connector was last updated.</p>" 3254 }, 3255 "vpcConfiguration":{ 3256 "shape":"DataSourceVpcConfiguration", 3257 "documentation":"<p>Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.</p>" 3258 } 3259 } 3260 }, 3261 "GetGroupRequest":{ 3262 "type":"structure", 3263 "required":[ 3264 "applicationId", 3265 "groupName", 3266 "indexId" 3267 ], 3268 "members":{ 3269 "applicationId":{ 3270 "shape":"ApplicationId", 3271 "documentation":"<p>The identifier of the application id the group is attached to.</p>", 3272 "location":"uri", 3273 "locationName":"applicationId" 3274 }, 3275 "dataSourceId":{ 3276 "shape":"DataSourceId", 3277 "documentation":"<p>The identifier of the data source the group is attached to.</p>", 3278 "location":"querystring", 3279 "locationName":"dataSourceId" 3280 }, 3281 "groupName":{ 3282 "shape":"GroupName", 3283 "documentation":"<p>The name of the group.</p>", 3284 "location":"uri", 3285 "locationName":"groupName" 3286 }, 3287 "indexId":{ 3288 "shape":"IndexId", 3289 "documentation":"<p>The identifier of the index the group is attached to.</p>", 3290 "location":"uri", 3291 "locationName":"indexId" 3292 } 3293 } 3294 }, 3295 "GetGroupResponse":{ 3296 "type":"structure", 3297 "members":{ 3298 "status":{ 3299 "shape":"GroupStatusDetail", 3300 "documentation":"<p>The current status of the group.</p>" 3301 }, 3302 "statusHistory":{ 3303 "shape":"GroupStatusDetails", 3304 "documentation":"<p>The status history of the group.</p>" 3305 } 3306 } 3307 }, 3308 "GetIndexRequest":{ 3309 "type":"structure", 3310 "required":[ 3311 "applicationId", 3312 "indexId" 3313 ], 3314 "members":{ 3315 "applicationId":{ 3316 "shape":"ApplicationId", 3317 "documentation":"<p>The identifier of the Amazon Q application connected to the index.</p>", 3318 "location":"uri", 3319 "locationName":"applicationId" 3320 }, 3321 "indexId":{ 3322 "shape":"IndexId", 3323 "documentation":"<p>The identifier of the Amazon Q index you want information on.</p>", 3324 "location":"uri", 3325 "locationName":"indexId" 3326 } 3327 } 3328 }, 3329 "GetIndexResponse":{ 3330 "type":"structure", 3331 "members":{ 3332 "applicationId":{ 3333 "shape":"ApplicationId", 3334 "documentation":"<p>The identifier of the Amazon Q application associated with the index.</p>" 3335 }, 3336 "capacityConfiguration":{ 3337 "shape":"IndexCapacityConfiguration", 3338 "documentation":"<p>The storage capacity units chosen for your Amazon Q index.</p>" 3339 }, 3340 "createdAt":{ 3341 "shape":"Timestamp", 3342 "documentation":"<p>The Unix timestamp when the Amazon Q index was created.</p>" 3343 }, 3344 "description":{ 3345 "shape":"Description", 3346 "documentation":"<p>The description for the Amazon Q index.</p>" 3347 }, 3348 "displayName":{ 3349 "shape":"IndexName", 3350 "documentation":"<p>The name of the Amazon Q index.</p>" 3351 }, 3352 "documentAttributeConfigurations":{ 3353 "shape":"DocumentAttributeConfigurations", 3354 "documentation":"<p>Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes-types.html#doc-attributes\">Understanding document attributes</a>.</p>" 3355 }, 3356 "error":{ 3357 "shape":"ErrorDetail", 3358 "documentation":"<p>When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a message that explains why.</p>" 3359 }, 3360 "indexArn":{ 3361 "shape":"IndexArn", 3362 "documentation":"<p> The Amazon Resource Name (ARN) of the Amazon Q index. </p>" 3363 }, 3364 "indexId":{ 3365 "shape":"IndexId", 3366 "documentation":"<p>The identifier of the Amazon Q index.</p>" 3367 }, 3368 "indexStatistics":{ 3369 "shape":"IndexStatistics", 3370 "documentation":"<p>Provides information about the number of documents indexed.</p>" 3371 }, 3372 "status":{ 3373 "shape":"IndexStatus", 3374 "documentation":"<p>The current status of the index. When the value is <code>ACTIVE</code>, the index is ready for use. If the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a message that explains why.</p>" 3375 }, 3376 "updatedAt":{ 3377 "shape":"Timestamp", 3378 "documentation":"<p>The Unix timestamp when the Amazon Q index was last updated.</p>" 3379 } 3380 } 3381 }, 3382 "GetPluginRequest":{ 3383 "type":"structure", 3384 "required":[ 3385 "applicationId", 3386 "pluginId" 3387 ], 3388 "members":{ 3389 "applicationId":{ 3390 "shape":"ApplicationId", 3391 "documentation":"<p>The identifier of the application which contains the plugin.</p>", 3392 "location":"uri", 3393 "locationName":"applicationId" 3394 }, 3395 "pluginId":{ 3396 "shape":"PluginId", 3397 "documentation":"<p>The identifier of the plugin.</p>", 3398 "location":"uri", 3399 "locationName":"pluginId" 3400 } 3401 } 3402 }, 3403 "GetPluginResponse":{ 3404 "type":"structure", 3405 "members":{ 3406 "applicationId":{ 3407 "shape":"ApplicationId", 3408 "documentation":"<p>The identifier of the application which contains the plugin.</p>" 3409 }, 3410 "authConfiguration":{"shape":"PluginAuthConfiguration"}, 3411 "createdAt":{ 3412 "shape":"Timestamp", 3413 "documentation":"<p>The timestamp for when the plugin was created.</p>" 3414 }, 3415 "displayName":{ 3416 "shape":"PluginName", 3417 "documentation":"<p>The name of the plugin.</p>" 3418 }, 3419 "pluginArn":{ 3420 "shape":"PluginArn", 3421 "documentation":"<p>The Amazon Resource Name (ARN) of the role with permission to access resources needed to create the plugin.</p>" 3422 }, 3423 "pluginId":{ 3424 "shape":"PluginId", 3425 "documentation":"<p>The identifier of the plugin.</p>" 3426 }, 3427 "serverUrl":{ 3428 "shape":"Url", 3429 "documentation":"<p>The source URL used for plugin configuration.</p>" 3430 }, 3431 "state":{ 3432 "shape":"PluginState", 3433 "documentation":"<p>The current state of the plugin.</p>" 3434 }, 3435 "type":{ 3436 "shape":"PluginType", 3437 "documentation":"<p>The type of the plugin.</p>" 3438 }, 3439 "updatedAt":{ 3440 "shape":"Timestamp", 3441 "documentation":"<p>The timestamp for when the plugin was last updated.</p>" 3442 } 3443 } 3444 }, 3445 "GetRetrieverRequest":{ 3446 "type":"structure", 3447 "required":[ 3448 "applicationId", 3449 "retrieverId" 3450 ], 3451 "members":{ 3452 "applicationId":{ 3453 "shape":"ApplicationId", 3454 "documentation":"<p>The identifier of the Amazon Q application using the retriever.</p>", 3455 "location":"uri", 3456 "locationName":"applicationId" 3457 }, 3458 "retrieverId":{ 3459 "shape":"RetrieverId", 3460 "documentation":"<p>The identifier of the retriever.</p>", 3461 "location":"uri", 3462 "locationName":"retrieverId" 3463 } 3464 } 3465 }, 3466 "GetRetrieverResponse":{ 3467 "type":"structure", 3468 "members":{ 3469 "applicationId":{ 3470 "shape":"ApplicationId", 3471 "documentation":"<p>The identifier of the Amazon Q application using the retriever. </p>" 3472 }, 3473 "configuration":{"shape":"RetrieverConfiguration"}, 3474 "createdAt":{ 3475 "shape":"Timestamp", 3476 "documentation":"<p>The Unix timestamp when the retriever was created.</p>" 3477 }, 3478 "displayName":{ 3479 "shape":"RetrieverName", 3480 "documentation":"<p>The name of the retriever.</p>" 3481 }, 3482 "retrieverArn":{ 3483 "shape":"RetrieverArn", 3484 "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role associated with the retriever.</p>" 3485 }, 3486 "retrieverId":{ 3487 "shape":"RetrieverId", 3488 "documentation":"<p>The identifier of the retriever.</p>" 3489 }, 3490 "roleArn":{ 3491 "shape":"RoleArn", 3492 "documentation":"<p>The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.</p>" 3493 }, 3494 "status":{ 3495 "shape":"RetrieverStatus", 3496 "documentation":"<p>The status of the retriever.</p>" 3497 }, 3498 "type":{ 3499 "shape":"RetrieverType", 3500 "documentation":"<p>The type of the retriever.</p>" 3501 }, 3502 "updatedAt":{ 3503 "shape":"Timestamp", 3504 "documentation":"<p>The Unix timestamp when the retriever was last updated.</p>" 3505 } 3506 } 3507 }, 3508 "GetUserRequest":{ 3509 "type":"structure", 3510 "required":[ 3511 "applicationId", 3512 "userId" 3513 ], 3514 "members":{ 3515 "applicationId":{ 3516 "shape":"ApplicationId", 3517 "documentation":"<p>The identifier of the application connected to the user.</p>", 3518 "location":"uri", 3519 "locationName":"applicationId" 3520 }, 3521 "userId":{ 3522 "shape":"String", 3523 "documentation":"<p>The user email address attached to the user.</p>", 3524 "location":"uri", 3525 "locationName":"userId" 3526 } 3527 } 3528 }, 3529 "GetUserResponse":{ 3530 "type":"structure", 3531 "members":{ 3532 "userAliases":{ 3533 "shape":"UserAliases", 3534 "documentation":"<p>A list of user aliases attached to a user.</p>" 3535 } 3536 } 3537 }, 3538 "GetWebExperienceRequest":{ 3539 "type":"structure", 3540 "required":[ 3541 "applicationId", 3542 "webExperienceId" 3543 ], 3544 "members":{ 3545 "applicationId":{ 3546 "shape":"ApplicationId", 3547 "documentation":"<p>The identifier of the Amazon Q application linked to the web experience.</p>", 3548 "location":"uri", 3549 "locationName":"applicationId" 3550 }, 3551 "webExperienceId":{ 3552 "shape":"WebExperienceId", 3553 "documentation":"<p>The identifier of the Amazon Q web experience. </p>", 3554 "location":"uri", 3555 "locationName":"webExperienceId" 3556 } 3557 } 3558 }, 3559 "GetWebExperienceResponse":{ 3560 "type":"structure", 3561 "members":{ 3562 "applicationId":{ 3563 "shape":"ApplicationId", 3564 "documentation":"<p>The identifier of the Amazon Q application linked to the web experience.</p>" 3565 }, 3566 "authenticationConfiguration":{ 3567 "shape":"WebExperienceAuthConfiguration", 3568 "documentation":"<p>The authentication configuration information for your Amazon Q web experience.</p>" 3569 }, 3570 "createdAt":{ 3571 "shape":"Timestamp", 3572 "documentation":"<p>The Unix timestamp when the retriever was created.</p>" 3573 }, 3574 "defaultEndpoint":{ 3575 "shape":"Url", 3576 "documentation":"<p>The endpoint of your Amazon Q web experience.</p>" 3577 }, 3578 "error":{ 3579 "shape":"ErrorDetail", 3580 "documentation":"<p>When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the data source connector to fail.</p>" 3581 }, 3582 "samplePromptsControlMode":{ 3583 "shape":"WebExperienceSamplePromptsControlMode", 3584 "documentation":"<p>Determines whether sample prompts are enabled in the web experience for an end user.</p>" 3585 }, 3586 "status":{ 3587 "shape":"WebExperienceStatus", 3588 "documentation":"<p>The current status of the Amazon Q web experience. When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the data source connector to fail. </p>" 3589 }, 3590 "subtitle":{ 3591 "shape":"WebExperienceSubtitle", 3592 "documentation":"<p>The subtitle for your Amazon Q web experience. </p>" 3593 }, 3594 "title":{ 3595 "shape":"WebExperienceTitle", 3596 "documentation":"<p>The title for your Amazon Q web experience. </p>" 3597 }, 3598 "updatedAt":{ 3599 "shape":"Timestamp", 3600 "documentation":"<p>The Unix timestamp when the data source connector was last updated.</p>" 3601 }, 3602 "webExperienceArn":{ 3603 "shape":"WebExperienceArn", 3604 "documentation":"<p>The Amazon Resource Name (ARN) of the role with the permission to access the Amazon Q web experience and required resources.</p>" 3605 }, 3606 "webExperienceId":{ 3607 "shape":"WebExperienceId", 3608 "documentation":"<p>The identifier of the Amazon Q web experience.</p>" 3609 }, 3610 "welcomeMessage":{ 3611 "shape":"WebExperienceWelcomeMessage", 3612 "documentation":"<p>The customized welcome message for end users of an Amazon Q web experience.</p>" 3613 } 3614 } 3615 }, 3616 "GroupMembers":{ 3617 "type":"structure", 3618 "members":{ 3619 "memberGroups":{ 3620 "shape":"MemberGroups", 3621 "documentation":"<p>A list of sub groups that belong to a group. For example, the sub groups \"Research\", \"Engineering\", and \"Sales and Marketing\" all belong to the group \"Company\".</p>" 3622 }, 3623 "memberUsers":{ 3624 "shape":"MemberUsers", 3625 "documentation":"<p>A list of users that belong to a group. For example, a list of interns all belong to the \"Interns\" group.</p>" 3626 } 3627 }, 3628 "documentation":"<p>A list of users or sub groups that belong to a group. This is for generating Amazon Q chat results only from document a user has access to.</p>" 3629 }, 3630 "GroupName":{ 3631 "type":"string", 3632 "max":1024, 3633 "min":1, 3634 "pattern":"^\\P{C}*$" 3635 }, 3636 "GroupStatus":{ 3637 "type":"string", 3638 "enum":[ 3639 "FAILED", 3640 "SUCCEEDED", 3641 "PROCESSING", 3642 "DELETING", 3643 "DELETED" 3644 ] 3645 }, 3646 "GroupStatusDetail":{ 3647 "type":"structure", 3648 "members":{ 3649 "errorDetail":{ 3650 "shape":"ErrorDetail", 3651 "documentation":"<p>The details of an error associated a group status.</p>" 3652 }, 3653 "lastUpdatedAt":{ 3654 "shape":"Timestamp", 3655 "documentation":"<p>The Unix timestamp when the Amazon Q application was last updated.</p>" 3656 }, 3657 "status":{ 3658 "shape":"GroupStatus", 3659 "documentation":"<p>The status of a group.</p>" 3660 } 3661 }, 3662 "documentation":"<p>Provides the details of a group's status.</p>" 3663 }, 3664 "GroupStatusDetails":{ 3665 "type":"list", 3666 "member":{"shape":"GroupStatusDetail"} 3667 }, 3668 "GroupSummary":{ 3669 "type":"structure", 3670 "members":{ 3671 "groupName":{ 3672 "shape":"GroupName", 3673 "documentation":"<p>The name of the group the summary information is for.</p>" 3674 } 3675 }, 3676 "documentation":"<p>Summary information for groups.</p>" 3677 }, 3678 "GroupSummaryList":{ 3679 "type":"list", 3680 "member":{"shape":"GroupSummary"} 3681 }, 3682 "HookConfiguration":{ 3683 "type":"structure", 3684 "members":{ 3685 "invocationCondition":{ 3686 "shape":"DocumentAttributeCondition", 3687 "documentation":"<p>The condition used for when a Lambda function should be invoked.</p> <p>For example, you can specify a condition that if there are empty date-time values, then Amazon Q should invoke a function that inserts the current date-time.</p>" 3688 }, 3689 "lambdaArn":{ 3690 "shape":"LambdaArn", 3691 "documentation":"<p>The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/iam-roles.html#cde-iam-role\">IAM roles for Custom Document Enrichment (CDE)</a>.</p>" 3692 }, 3693 "roleArn":{ 3694 "shape":"RoleArn", 3695 "documentation":"<p>The Amazon Resource Name (ARN) of a role with permission to run <code>PreExtractionHookConfiguration</code> and <code>PostExtractionHookConfiguration</code> for altering document metadata and content during the document ingestion process.</p>" 3696 }, 3697 "s3BucketName":{ 3698 "shape":"S3BucketName", 3699 "documentation":"<p>Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts\">Data contracts for Lambda functions</a>.</p>" 3700 } 3701 }, 3702 "documentation":"<p>Provides the configuration information for invoking a Lambda function in Lambda to alter document metadata and content when ingesting documents into Amazon Q.</p> <p>You can configure your Lambda function using <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentEnrichmentConfiguration.html\">PreExtractionHookConfiguration</a> if you want to apply advanced alterations on the original or raw documents.</p> <p>If you want to apply advanced alterations on the Amazon Q structured documents, you must configure your Lambda function using <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentEnrichmentConfiguration.html\">PostExtractionHookConfiguration</a>.</p> <p>You can only invoke one Lambda function. However, this function can invoke other functions it requires.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html\">Custom document enrichment</a>. </p>" 3703 }, 3704 "Index":{ 3705 "type":"structure", 3706 "members":{ 3707 "createdAt":{ 3708 "shape":"Timestamp", 3709 "documentation":"<p>The Unix timestamp when the index was created.</p>" 3710 }, 3711 "displayName":{ 3712 "shape":"IndexName", 3713 "documentation":"<p>The name of the index.</p>" 3714 }, 3715 "indexId":{ 3716 "shape":"IndexId", 3717 "documentation":"<p>The identifier for the index.</p>" 3718 }, 3719 "status":{ 3720 "shape":"IndexStatus", 3721 "documentation":"<p>The current status of the index. When the status is <code>ACTIVE</code>, the index is ready.</p>" 3722 }, 3723 "updatedAt":{ 3724 "shape":"Timestamp", 3725 "documentation":"<p>The Unix timestamp when the index was last updated.</p>" 3726 } 3727 }, 3728 "documentation":"<p>Summary information for your Amazon Q index.</p>" 3729 }, 3730 "IndexArn":{ 3731 "type":"string", 3732 "max":1284, 3733 "min":0, 3734 "pattern":"^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" 3735 }, 3736 "IndexCapacityConfiguration":{ 3737 "type":"structure", 3738 "members":{ 3739 "units":{ 3740 "shape":"IndexCapacityInteger", 3741 "documentation":"<p>The number of storage units configured for an Amazon Q index.</p>" 3742 } 3743 }, 3744 "documentation":"<p>Provides information about index capacity configuration.</p>" 3745 }, 3746 "IndexCapacityInteger":{ 3747 "type":"integer", 3748 "box":true, 3749 "min":1 3750 }, 3751 "IndexId":{ 3752 "type":"string", 3753 "max":36, 3754 "min":36, 3755 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 3756 }, 3757 "IndexName":{ 3758 "type":"string", 3759 "max":1000, 3760 "min":1, 3761 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]*$" 3762 }, 3763 "IndexStatistics":{ 3764 "type":"structure", 3765 "members":{ 3766 "textDocumentStatistics":{ 3767 "shape":"TextDocumentStatistics", 3768 "documentation":"<p>The number of documents indexed.</p>" 3769 } 3770 }, 3771 "documentation":"<p>Provides information about the number of documents in an index.</p>" 3772 }, 3773 "IndexStatus":{ 3774 "type":"string", 3775 "enum":[ 3776 "CREATING", 3777 "ACTIVE", 3778 "DELETING", 3779 "FAILED", 3780 "UPDATING" 3781 ] 3782 }, 3783 "IndexedTextBytes":{ 3784 "type":"long", 3785 "box":true, 3786 "min":0 3787 }, 3788 "IndexedTextDocument":{ 3789 "type":"integer", 3790 "box":true, 3791 "min":0 3792 }, 3793 "Indices":{ 3794 "type":"list", 3795 "member":{"shape":"Index"} 3796 }, 3797 "InlineDocumentEnrichmentConfiguration":{ 3798 "type":"structure", 3799 "members":{ 3800 "condition":{"shape":"DocumentAttributeCondition"}, 3801 "documentContentOperator":{ 3802 "shape":"DocumentContentOperator", 3803 "documentation":"<p> <code>TRUE</code> to delete content if the condition used for the target attribute is met.</p>" 3804 }, 3805 "target":{"shape":"DocumentAttributeTarget"} 3806 }, 3807 "documentation":"<p>Provides the configuration information for applying basic logic to alter document metadata and content when ingesting documents into Amazon Q.</p> <p>To apply advanced logic, to go beyond what you can do with basic logic, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_HookConfiguration.html\"> <code>HookConfiguration</code> </a>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html\">Custom document enrichment</a>. </p>" 3808 }, 3809 "InlineDocumentEnrichmentConfigurations":{ 3810 "type":"list", 3811 "member":{"shape":"InlineDocumentEnrichmentConfiguration"}, 3812 "max":100, 3813 "min":1 3814 }, 3815 "Integer":{ 3816 "type":"integer", 3817 "box":true 3818 }, 3819 "InternalServerException":{ 3820 "type":"structure", 3821 "required":["message"], 3822 "members":{ 3823 "message":{"shape":"ErrorMessage"} 3824 }, 3825 "documentation":"<p>An issue occurred with the internal server used for your Amazon Q service. Wait some minutes and try again, or contact <a href=\"http://aws.amazon.com/contact-us/\">Support</a> for help.</p>", 3826 "error":{"httpStatusCode":500}, 3827 "exception":true, 3828 "fault":true 3829 }, 3830 "KendraIndexConfiguration":{ 3831 "type":"structure", 3832 "required":["indexId"], 3833 "members":{ 3834 "indexId":{ 3835 "shape":"KendraIndexId", 3836 "documentation":"<p>The identifier of the Amazon Kendra index.</p>" 3837 } 3838 }, 3839 "documentation":"<p>Stores an Amazon Kendra index as a retriever.</p>" 3840 }, 3841 "KendraIndexId":{ 3842 "type":"string", 3843 "max":36, 3844 "min":36, 3845 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 3846 }, 3847 "KmsKeyId":{ 3848 "type":"string", 3849 "max":2048, 3850 "min":1, 3851 "sensitive":true 3852 }, 3853 "LambdaArn":{ 3854 "type":"string", 3855 "max":2048, 3856 "min":1, 3857 "pattern":"^arn:aws[a-zA-Z-]*:lambda:[a-z-]*-[0-9]:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?$" 3858 }, 3859 "LicenseNotFoundException":{ 3860 "type":"structure", 3861 "required":["message"], 3862 "members":{ 3863 "message":{"shape":"ErrorMessage"} 3864 }, 3865 "documentation":"<p>You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.</p>", 3866 "error":{ 3867 "httpStatusCode":400, 3868 "senderFault":true 3869 }, 3870 "exception":true 3871 }, 3872 "ListApplicationsRequest":{ 3873 "type":"structure", 3874 "members":{ 3875 "maxResults":{ 3876 "shape":"MaxResultsIntegerForListApplications", 3877 "documentation":"<p>The maximum number of Amazon Q applications to return.</p>", 3878 "location":"querystring", 3879 "locationName":"maxResults" 3880 }, 3881 "nextToken":{ 3882 "shape":"NextToken", 3883 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q applications.</p>", 3884 "location":"querystring", 3885 "locationName":"nextToken" 3886 } 3887 } 3888 }, 3889 "ListApplicationsResponse":{ 3890 "type":"structure", 3891 "members":{ 3892 "applications":{ 3893 "shape":"Applications", 3894 "documentation":"<p>An array of summary information on the configuration of one or more Amazon Q applications.</p>" 3895 }, 3896 "nextToken":{ 3897 "shape":"NextToken", 3898 "documentation":"<p>If the response is truncated, Amazon Q returns this token. You can use this token in a subsequent request to retrieve the next set of applications.</p>" 3899 } 3900 } 3901 }, 3902 "ListConversationsRequest":{ 3903 "type":"structure", 3904 "required":[ 3905 "applicationId", 3906 "userId" 3907 ], 3908 "members":{ 3909 "applicationId":{ 3910 "shape":"ApplicationId", 3911 "documentation":"<p>The identifier of the Amazon Q application.</p>", 3912 "location":"uri", 3913 "locationName":"applicationId" 3914 }, 3915 "maxResults":{ 3916 "shape":"MaxResultsIntegerForListConversations", 3917 "documentation":"<p>The maximum number of Amazon Q conversations to return.</p>", 3918 "location":"querystring", 3919 "locationName":"maxResults" 3920 }, 3921 "nextToken":{ 3922 "shape":"NextToken", 3923 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q conversations.</p>", 3924 "location":"querystring", 3925 "locationName":"nextToken" 3926 }, 3927 "userId":{ 3928 "shape":"UserId", 3929 "documentation":"<p>The identifier of the user involved in the Amazon Q web experience conversation. </p>", 3930 "location":"querystring", 3931 "locationName":"userId" 3932 } 3933 } 3934 }, 3935 "ListConversationsResponse":{ 3936 "type":"structure", 3937 "members":{ 3938 "conversations":{ 3939 "shape":"Conversations", 3940 "documentation":"<p>An array of summary information on the configuration of one or more Amazon Q web experiences.</p>" 3941 }, 3942 "nextToken":{ 3943 "shape":"NextToken", 3944 "documentation":"<p>If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of messages.</p>" 3945 } 3946 } 3947 }, 3948 "ListDataSourceSyncJobsRequest":{ 3949 "type":"structure", 3950 "required":[ 3951 "applicationId", 3952 "dataSourceId", 3953 "indexId" 3954 ], 3955 "members":{ 3956 "applicationId":{ 3957 "shape":"ApplicationId", 3958 "documentation":"<p>The identifier of the Amazon Q application connected to the data source.</p>", 3959 "location":"uri", 3960 "locationName":"applicationId" 3961 }, 3962 "dataSourceId":{ 3963 "shape":"DataSourceId", 3964 "documentation":"<p> The identifier of the data source connector.</p>", 3965 "location":"uri", 3966 "locationName":"dataSourceId" 3967 }, 3968 "endTime":{ 3969 "shape":"Timestamp", 3970 "documentation":"<p> The end time of the data source connector sync.</p>", 3971 "location":"querystring", 3972 "locationName":"endTime" 3973 }, 3974 "indexId":{ 3975 "shape":"IndexId", 3976 "documentation":"<p>The identifier of the index used with the Amazon Q data source connector.</p>", 3977 "location":"uri", 3978 "locationName":"indexId" 3979 }, 3980 "maxResults":{ 3981 "shape":"MaxResultsIntegerForListDataSourcesSyncJobs", 3982 "documentation":"<p>The maximum number of synchronization jobs to return in the response.</p>", 3983 "location":"querystring", 3984 "locationName":"maxResults" 3985 }, 3986 "nextToken":{ 3987 "shape":"NextToken", 3988 "documentation":"<p>If the <code>maxResults</code> response was incpmplete because there is more data to retriever, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of responses.</p>", 3989 "location":"querystring", 3990 "locationName":"nextToken" 3991 }, 3992 "startTime":{ 3993 "shape":"Timestamp", 3994 "documentation":"<p> The start time of the data source connector sync. </p>", 3995 "location":"querystring", 3996 "locationName":"startTime" 3997 }, 3998 "statusFilter":{ 3999 "shape":"DataSourceSyncJobStatus", 4000 "documentation":"<p>Only returns synchronization jobs with the <code>Status</code> field equal to the specified status.</p>", 4001 "location":"querystring", 4002 "locationName":"syncStatus" 4003 } 4004 } 4005 }, 4006 "ListDataSourceSyncJobsResponse":{ 4007 "type":"structure", 4008 "members":{ 4009 "history":{ 4010 "shape":"DataSourceSyncJobs", 4011 "documentation":"<p>A history of synchronization jobs for the data source connector.</p>" 4012 }, 4013 "nextToken":{ 4014 "shape":"NextToken", 4015 "documentation":"<p>If the response is truncated, Amazon Q returns this token. You can use this token in any subsequent request to retrieve the next set of jobs.</p>" 4016 } 4017 } 4018 }, 4019 "ListDataSourcesRequest":{ 4020 "type":"structure", 4021 "required":[ 4022 "applicationId", 4023 "indexId" 4024 ], 4025 "members":{ 4026 "applicationId":{ 4027 "shape":"ApplicationId", 4028 "documentation":"<p>The identifier of the Amazon Q application linked to the data source connectors.</p>", 4029 "location":"uri", 4030 "locationName":"applicationId" 4031 }, 4032 "indexId":{ 4033 "shape":"IndexId", 4034 "documentation":"<p>The identifier of the index used with one or more data source connectors.</p>", 4035 "location":"uri", 4036 "locationName":"indexId" 4037 }, 4038 "maxResults":{ 4039 "shape":"MaxResultsIntegerForListDataSources", 4040 "documentation":"<p>The maximum number of data source connectors to return.</p>", 4041 "location":"querystring", 4042 "locationName":"maxResults" 4043 }, 4044 "nextToken":{ 4045 "shape":"NextToken", 4046 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q data source connectors.</p>", 4047 "location":"querystring", 4048 "locationName":"nextToken" 4049 } 4050 } 4051 }, 4052 "ListDataSourcesResponse":{ 4053 "type":"structure", 4054 "members":{ 4055 "dataSources":{ 4056 "shape":"DataSources", 4057 "documentation":"<p>An array of summary information for one or more data source connector.</p>" 4058 }, 4059 "nextToken":{ 4060 "shape":"NextToken", 4061 "documentation":"<p>If the response is truncated, Amazon Q returns this token. You can use this token in a subsequent request to retrieve the next set of data source connectors.</p>" 4062 } 4063 } 4064 }, 4065 "ListDocumentsRequest":{ 4066 "type":"structure", 4067 "required":[ 4068 "applicationId", 4069 "indexId" 4070 ], 4071 "members":{ 4072 "applicationId":{ 4073 "shape":"ApplicationId", 4074 "documentation":"<p>The identifier of the application id the documents are attached to.</p>", 4075 "location":"uri", 4076 "locationName":"applicationId" 4077 }, 4078 "dataSourceIds":{ 4079 "shape":"DataSourceIds", 4080 "documentation":"<p>The identifier of the data sources the documents are attached to.</p>", 4081 "location":"querystring", 4082 "locationName":"dataSourceIds" 4083 }, 4084 "indexId":{ 4085 "shape":"IndexId", 4086 "documentation":"<p>The identifier of the index the documents are attached to.</p>", 4087 "location":"uri", 4088 "locationName":"indexId" 4089 }, 4090 "maxResults":{ 4091 "shape":"MaxResultsIntegerForListDocuments", 4092 "documentation":"<p>The maximum number of documents to return.</p>", 4093 "location":"querystring", 4094 "locationName":"maxResults" 4095 }, 4096 "nextToken":{ 4097 "shape":"NextToken", 4098 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.</p>", 4099 "location":"querystring", 4100 "locationName":"nextToken" 4101 } 4102 } 4103 }, 4104 "ListDocumentsResponse":{ 4105 "type":"structure", 4106 "members":{ 4107 "documentDetailList":{ 4108 "shape":"DocumentDetailList", 4109 "documentation":"<p>A list of document details.</p>" 4110 }, 4111 "nextToken":{ 4112 "shape":"NextToken", 4113 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.</p>" 4114 } 4115 } 4116 }, 4117 "ListGroupsRequest":{ 4118 "type":"structure", 4119 "required":[ 4120 "applicationId", 4121 "indexId", 4122 "updatedEarlierThan" 4123 ], 4124 "members":{ 4125 "applicationId":{ 4126 "shape":"ApplicationId", 4127 "documentation":"<p>The identifier of the application for getting a list of groups mapped to users.</p>", 4128 "location":"uri", 4129 "locationName":"applicationId" 4130 }, 4131 "dataSourceId":{ 4132 "shape":"DataSourceId", 4133 "documentation":"<p>The identifier of the data source for getting a list of groups mapped to users.</p>", 4134 "location":"querystring", 4135 "locationName":"dataSourceId" 4136 }, 4137 "indexId":{ 4138 "shape":"IndexId", 4139 "documentation":"<p>The identifier of the index for getting a list of groups mapped to users.</p>", 4140 "location":"uri", 4141 "locationName":"indexId" 4142 }, 4143 "maxResults":{ 4144 "shape":"MaxResultsIntegerForListGroupsRequest", 4145 "documentation":"<p>The maximum number of returned groups that are mapped to users.</p>", 4146 "location":"querystring", 4147 "locationName":"maxResults" 4148 }, 4149 "nextToken":{ 4150 "shape":"NextToken", 4151 "documentation":"<p>If the previous response was incomplete (because there is more data to retrieve), Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users.</p>", 4152 "location":"querystring", 4153 "locationName":"nextToken" 4154 }, 4155 "updatedEarlierThan":{ 4156 "shape":"Timestamp", 4157 "documentation":"<p>The timestamp identifier used for the latest <code>PUT</code> or <code>DELETE</code> action for mapping users to their groups.</p>", 4158 "location":"querystring", 4159 "locationName":"updatedEarlierThan" 4160 } 4161 } 4162 }, 4163 "ListGroupsResponse":{ 4164 "type":"structure", 4165 "members":{ 4166 "items":{ 4167 "shape":"GroupSummaryList", 4168 "documentation":"<p>Summary information for list of groups that are mapped to users.</p>" 4169 }, 4170 "nextToken":{ 4171 "shape":"NextToken", 4172 "documentation":"<p>If the response is truncated, Amazon Q returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.</p>" 4173 } 4174 } 4175 }, 4176 "ListIndicesRequest":{ 4177 "type":"structure", 4178 "required":["applicationId"], 4179 "members":{ 4180 "applicationId":{ 4181 "shape":"ApplicationId", 4182 "documentation":"<p>The identifier of the Amazon Q application connected to the index.</p>", 4183 "location":"uri", 4184 "locationName":"applicationId" 4185 }, 4186 "maxResults":{ 4187 "shape":"MaxResultsIntegerForListIndices", 4188 "documentation":"<p>The maximum number of indices to return.</p>", 4189 "location":"querystring", 4190 "locationName":"maxResults" 4191 }, 4192 "nextToken":{ 4193 "shape":"NextToken", 4194 "documentation":"<p>If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q indices.</p>", 4195 "location":"querystring", 4196 "locationName":"nextToken" 4197 } 4198 } 4199 }, 4200 "ListIndicesResponse":{ 4201 "type":"structure", 4202 "members":{ 4203 "indices":{ 4204 "shape":"Indices", 4205 "documentation":"<p>An array of information on the items in one or more indexes.</p>" 4206 }, 4207 "nextToken":{ 4208 "shape":"NextToken", 4209 "documentation":"<p>If the response is truncated, Amazon Q returns this token that you can use in the subsequent request to retrieve the next set of indexes.</p>" 4210 } 4211 } 4212 }, 4213 "ListMessagesRequest":{ 4214 "type":"structure", 4215 "required":[ 4216 "applicationId", 4217 "conversationId", 4218 "userId" 4219 ], 4220 "members":{ 4221 "applicationId":{ 4222 "shape":"ApplicationId", 4223 "documentation":"<p>The identifier for the Amazon Q application.</p>", 4224 "location":"uri", 4225 "locationName":"applicationId" 4226 }, 4227 "conversationId":{ 4228 "shape":"ConversationId", 4229 "documentation":"<p>The identifier of the Amazon Q web experience conversation.</p>", 4230 "location":"uri", 4231 "locationName":"conversationId" 4232 }, 4233 "maxResults":{ 4234 "shape":"MaxResultsIntegerForListMessages", 4235 "documentation":"<p>The maximum number of messages to return.</p>", 4236 "location":"querystring", 4237 "locationName":"maxResults" 4238 }, 4239 "nextToken":{ 4240 "shape":"NextToken", 4241 "documentation":"<p>If the number of retrievers returned exceeds <code>maxResults</code>, Amazon Q returns a next token as a pagination token to retrieve the next set of messages.</p>", 4242 "location":"querystring", 4243 "locationName":"nextToken" 4244 }, 4245 "userId":{ 4246 "shape":"UserId", 4247 "documentation":"<p>The identifier of the user involved in the Amazon Q web experience conversation.</p>", 4248 "location":"querystring", 4249 "locationName":"userId" 4250 } 4251 } 4252 }, 4253 "ListMessagesResponse":{ 4254 "type":"structure", 4255 "members":{ 4256 "messages":{ 4257 "shape":"Messages", 4258 "documentation":"<p>An array of information on one or more messages.</p>" 4259 }, 4260 "nextToken":{ 4261 "shape":"NextToken", 4262 "documentation":"<p>If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of messages.</p>" 4263 } 4264 } 4265 }, 4266 "ListPluginsRequest":{ 4267 "type":"structure", 4268 "required":["applicationId"], 4269 "members":{ 4270 "applicationId":{ 4271 "shape":"ApplicationId", 4272 "documentation":"<p>The identifier of the application the plugin is attached to.</p>", 4273 "location":"uri", 4274 "locationName":"applicationId" 4275 }, 4276 "maxResults":{ 4277 "shape":"MaxResultsIntegerForListPlugins", 4278 "documentation":"<p>The maximum number of documents to return.</p>", 4279 "location":"querystring", 4280 "locationName":"maxResults" 4281 }, 4282 "nextToken":{ 4283 "shape":"NextToken", 4284 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of plugins.</p>", 4285 "location":"querystring", 4286 "locationName":"nextToken" 4287 } 4288 } 4289 }, 4290 "ListPluginsResponse":{ 4291 "type":"structure", 4292 "members":{ 4293 "nextToken":{ 4294 "shape":"NextToken", 4295 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of plugins.</p>" 4296 }, 4297 "plugins":{ 4298 "shape":"Plugins", 4299 "documentation":"<p>Information about a configured plugin.</p>" 4300 } 4301 } 4302 }, 4303 "ListRetrieversRequest":{ 4304 "type":"structure", 4305 "required":["applicationId"], 4306 "members":{ 4307 "applicationId":{ 4308 "shape":"ApplicationId", 4309 "documentation":"<p>The identifier of the Amazon Q application using the retriever.</p>", 4310 "location":"uri", 4311 "locationName":"applicationId" 4312 }, 4313 "maxResults":{ 4314 "shape":"MaxResultsIntegerForListRetrieversRequest", 4315 "documentation":"<p>The maximum number of retrievers returned.</p>", 4316 "location":"querystring", 4317 "locationName":"maxResults" 4318 }, 4319 "nextToken":{ 4320 "shape":"NextToken", 4321 "documentation":"<p>If the number of retrievers returned exceeds <code>maxResults</code>, Amazon Q returns a next token as a pagination token to retrieve the next set of retrievers.</p>", 4322 "location":"querystring", 4323 "locationName":"nextToken" 4324 } 4325 } 4326 }, 4327 "ListRetrieversResponse":{ 4328 "type":"structure", 4329 "members":{ 4330 "nextToken":{ 4331 "shape":"NextToken", 4332 "documentation":"<p>If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of retrievers.</p>" 4333 }, 4334 "retrievers":{ 4335 "shape":"Retrievers", 4336 "documentation":"<p>An array of summary information for one or more retrievers.</p>" 4337 } 4338 } 4339 }, 4340 "ListTagsForResourceRequest":{ 4341 "type":"structure", 4342 "required":["resourceARN"], 4343 "members":{ 4344 "resourceARN":{ 4345 "shape":"AmazonResourceName", 4346 "documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Q application or data source to get a list of tags for.</p>", 4347 "location":"uri", 4348 "locationName":"resourceARN" 4349 } 4350 } 4351 }, 4352 "ListTagsForResourceResponse":{ 4353 "type":"structure", 4354 "members":{ 4355 "tags":{ 4356 "shape":"Tags", 4357 "documentation":"<p>A list of tags associated with the Amazon Q application or data source.</p>" 4358 } 4359 } 4360 }, 4361 "ListWebExperiencesRequest":{ 4362 "type":"structure", 4363 "required":["applicationId"], 4364 "members":{ 4365 "applicationId":{ 4366 "shape":"ApplicationId", 4367 "documentation":"<p>The identifier of the Amazon Q application linked to the listed web experiences.</p>", 4368 "location":"uri", 4369 "locationName":"applicationId" 4370 }, 4371 "maxResults":{ 4372 "shape":"MaxResultsIntegerForListWebExperiencesRequest", 4373 "documentation":"<p>The maximum number of Amazon Q Web Experiences to return.</p>", 4374 "location":"querystring", 4375 "locationName":"maxResults" 4376 }, 4377 "nextToken":{ 4378 "shape":"NextToken", 4379 "documentation":"<p>If the <code>maxResults</code> response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q conversations.</p>", 4380 "location":"querystring", 4381 "locationName":"nextToken" 4382 } 4383 } 4384 }, 4385 "ListWebExperiencesResponse":{ 4386 "type":"structure", 4387 "members":{ 4388 "nextToken":{ 4389 "shape":"NextToken", 4390 "documentation":"<p>If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of messages.</p>" 4391 }, 4392 "webExperiences":{ 4393 "shape":"WebExperiences", 4394 "documentation":"<p>An array of summary information for one or more Amazon Q experiences.</p>" 4395 } 4396 } 4397 }, 4398 "Long":{ 4399 "type":"long", 4400 "box":true 4401 }, 4402 "MaxResultsIntegerForGetTopicConfigurations":{ 4403 "type":"integer", 4404 "box":true, 4405 "max":50, 4406 "min":1 4407 }, 4408 "MaxResultsIntegerForListApplications":{ 4409 "type":"integer", 4410 "box":true, 4411 "max":100, 4412 "min":1 4413 }, 4414 "MaxResultsIntegerForListConversations":{ 4415 "type":"integer", 4416 "box":true, 4417 "max":100, 4418 "min":1 4419 }, 4420 "MaxResultsIntegerForListDataSources":{ 4421 "type":"integer", 4422 "box":true, 4423 "max":10, 4424 "min":1 4425 }, 4426 "MaxResultsIntegerForListDataSourcesSyncJobs":{ 4427 "type":"integer", 4428 "box":true, 4429 "max":10, 4430 "min":1 4431 }, 4432 "MaxResultsIntegerForListDocuments":{ 4433 "type":"integer", 4434 "box":true, 4435 "max":100, 4436 "min":1 4437 }, 4438 "MaxResultsIntegerForListGroupsRequest":{ 4439 "type":"integer", 4440 "box":true, 4441 "max":10, 4442 "min":1 4443 }, 4444 "MaxResultsIntegerForListIndices":{ 4445 "type":"integer", 4446 "box":true, 4447 "max":100, 4448 "min":1 4449 }, 4450 "MaxResultsIntegerForListMessages":{ 4451 "type":"integer", 4452 "box":true, 4453 "max":100, 4454 "min":1 4455 }, 4456 "MaxResultsIntegerForListPlugins":{ 4457 "type":"integer", 4458 "box":true, 4459 "max":50, 4460 "min":1 4461 }, 4462 "MaxResultsIntegerForListRetrieversRequest":{ 4463 "type":"integer", 4464 "box":true, 4465 "max":50, 4466 "min":1 4467 }, 4468 "MaxResultsIntegerForListWebExperiencesRequest":{ 4469 "type":"integer", 4470 "box":true, 4471 "max":100, 4472 "min":1 4473 }, 4474 "MemberGroup":{ 4475 "type":"structure", 4476 "required":["groupName"], 4477 "members":{ 4478 "groupName":{ 4479 "shape":"GroupName", 4480 "documentation":"<p>The name of the sub group.</p>" 4481 }, 4482 "type":{ 4483 "shape":"MembershipType", 4484 "documentation":"<p>The type of the sub group.</p>" 4485 } 4486 }, 4487 "documentation":"<p>The sub groups that belong to a group.</p>" 4488 }, 4489 "MemberGroups":{ 4490 "type":"list", 4491 "member":{"shape":"MemberGroup"}, 4492 "max":1000, 4493 "min":1 4494 }, 4495 "MemberRelation":{ 4496 "type":"string", 4497 "enum":[ 4498 "AND", 4499 "OR" 4500 ] 4501 }, 4502 "MemberUser":{ 4503 "type":"structure", 4504 "required":["userId"], 4505 "members":{ 4506 "type":{ 4507 "shape":"MembershipType", 4508 "documentation":"<p>The type of the user.</p>" 4509 }, 4510 "userId":{ 4511 "shape":"DataSourceUserId", 4512 "documentation":"<p>The identifier of the user you want to map to a group.</p>" 4513 } 4514 }, 4515 "documentation":"<p>The users that belong to a group.</p>" 4516 }, 4517 "MemberUsers":{ 4518 "type":"list", 4519 "member":{"shape":"MemberUser"}, 4520 "max":1000, 4521 "min":1 4522 }, 4523 "MembershipType":{ 4524 "type":"string", 4525 "enum":[ 4526 "INDEX", 4527 "DATASOURCE" 4528 ] 4529 }, 4530 "Message":{ 4531 "type":"structure", 4532 "members":{ 4533 "actionExecution":{"shape":"ActionExecution"}, 4534 "actionReview":{"shape":"ActionReview"}, 4535 "attachments":{ 4536 "shape":"AttachmentsOutput", 4537 "documentation":"<p>A file directly uploaded into an Amazon Q web experience chat.</p>" 4538 }, 4539 "body":{ 4540 "shape":"MessageBody", 4541 "documentation":"<p>The content of the Amazon Q web experience message.</p>" 4542 }, 4543 "messageId":{ 4544 "shape":"String", 4545 "documentation":"<p>The identifier of the Amazon Q web experience message.</p>" 4546 }, 4547 "sourceAttribution":{ 4548 "shape":"SourceAttributions", 4549 "documentation":"<p>The source documents used to generate Amazon Q web experience message.</p>" 4550 }, 4551 "time":{ 4552 "shape":"Timestamp", 4553 "documentation":"<p>The timestamp of the first Amazon Q web experience message.</p>" 4554 }, 4555 "type":{ 4556 "shape":"MessageType", 4557 "documentation":"<p>The type of Amazon Q message, whether <code>HUMAN</code> or <code>AI</code> generated.</p>" 4558 } 4559 }, 4560 "documentation":"<p>A message in an Amazon Q web experience.</p>" 4561 }, 4562 "MessageBody":{ 4563 "type":"string", 4564 "max":1000, 4565 "min":0, 4566 "pattern":"^\\P{C}*$}$" 4567 }, 4568 "MessageId":{ 4569 "type":"string", 4570 "max":36, 4571 "min":36, 4572 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 4573 }, 4574 "MessageType":{ 4575 "type":"string", 4576 "enum":[ 4577 "USER", 4578 "SYSTEM" 4579 ] 4580 }, 4581 "MessageUsefulness":{ 4582 "type":"string", 4583 "enum":[ 4584 "USEFUL", 4585 "NOT_USEFUL" 4586 ] 4587 }, 4588 "MessageUsefulnessComment":{ 4589 "type":"string", 4590 "max":1000, 4591 "min":0, 4592 "pattern":"^\\P{C}*$" 4593 }, 4594 "MessageUsefulnessFeedback":{ 4595 "type":"structure", 4596 "required":[ 4597 "submittedAt", 4598 "usefulness" 4599 ], 4600 "members":{ 4601 "comment":{ 4602 "shape":"MessageUsefulnessComment", 4603 "documentation":"<p>A comment given by an end user on the usefulness of an AI-generated chat message.</p>" 4604 }, 4605 "reason":{ 4606 "shape":"MessageUsefulnessReason", 4607 "documentation":"<p>The reason for a usefulness rating.</p>" 4608 }, 4609 "submittedAt":{ 4610 "shape":"Timestamp", 4611 "documentation":"<p>The timestamp for when the feedback was submitted.</p>" 4612 }, 4613 "usefulness":{ 4614 "shape":"MessageUsefulness", 4615 "documentation":"<p>The usefulness value assigned by an end user to a message.</p>" 4616 } 4617 }, 4618 "documentation":"<p>End user feedback on an AI-generated web experience chat message usefulness.</p>" 4619 }, 4620 "MessageUsefulnessReason":{ 4621 "type":"string", 4622 "enum":[ 4623 "NOT_FACTUALLY_CORRECT", 4624 "HARMFUL_OR_UNSAFE", 4625 "INCORRECT_OR_MISSING_SOURCES", 4626 "NOT_HELPFUL", 4627 "FACTUALLY_CORRECT", 4628 "COMPLETE", 4629 "RELEVANT_SOURCES", 4630 "HELPFUL", 4631 "NOT_BASED_ON_DOCUMENTS", 4632 "NOT_COMPLETE", 4633 "NOT_CONCISE", 4634 "OTHER" 4635 ] 4636 }, 4637 "Messages":{ 4638 "type":"list", 4639 "member":{"shape":"Message"} 4640 }, 4641 "MetricValue":{ 4642 "type":"string", 4643 "pattern":"^(([1-9][0-9]*)|0)$" 4644 }, 4645 "NativeIndexConfiguration":{ 4646 "type":"structure", 4647 "required":["indexId"], 4648 "members":{ 4649 "boostingOverride":{ 4650 "shape":"DocumentAttributeBoostingOverrideMap", 4651 "documentation":"<p>Overrides the default boosts applied by Amazon Q to supported document attribute data types.</p>" 4652 }, 4653 "indexId":{ 4654 "shape":"IndexId", 4655 "documentation":"<p>The identifier for the Amazon Q index.</p>" 4656 } 4657 }, 4658 "documentation":"<p>Configuration information for an Amazon Q index.</p>" 4659 }, 4660 "NextToken":{ 4661 "type":"string", 4662 "max":800, 4663 "min":1 4664 }, 4665 "NumberAttributeBoostingConfiguration":{ 4666 "type":"structure", 4667 "required":["boostingLevel"], 4668 "members":{ 4669 "boostingLevel":{ 4670 "shape":"DocumentAttributeBoostingLevel", 4671 "documentation":"<p>Specifies the duration, in seconds, of a boost applies to a <code>NUMBER</code> type document attribute.</p>" 4672 }, 4673 "boostingType":{ 4674 "shape":"NumberAttributeBoostingType", 4675 "documentation":"<p>Specifies how much a document attribute is boosted.</p>" 4676 } 4677 }, 4678 "documentation":"<p>Provides information on boosting <code>NUMBER</code> type document attributes.</p> <p>For more information on how boosting document attributes work in Amazon Q, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html\">Boosting using document attributes</a>.</p>" 4679 }, 4680 "NumberAttributeBoostingType":{ 4681 "type":"string", 4682 "enum":[ 4683 "PRIORITIZE_LARGER_VALUES", 4684 "PRIORITIZE_SMALLER_VALUES" 4685 ] 4686 }, 4687 "OAuth2ClientCredentialConfiguration":{ 4688 "type":"structure", 4689 "required":[ 4690 "roleArn", 4691 "secretArn" 4692 ], 4693 "members":{ 4694 "roleArn":{ 4695 "shape":"RoleArn", 4696 "documentation":"<p>The ARN of an IAM role used by Amazon Q to access the OAuth 2.0 authentication credentials stored in a Secrets Manager secret.</p>" 4697 }, 4698 "secretArn":{ 4699 "shape":"SecretArn", 4700 "documentation":"<p>The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for plugin configuration.</p>" 4701 } 4702 }, 4703 "documentation":"<p>Information about the OAuth 2.0 authentication credential/token used to configure a plugin.</p>" 4704 }, 4705 "Plugin":{ 4706 "type":"structure", 4707 "members":{ 4708 "createdAt":{ 4709 "shape":"Timestamp", 4710 "documentation":"<p>The timestamp for when the plugin was created.</p>" 4711 }, 4712 "displayName":{ 4713 "shape":"PluginName", 4714 "documentation":"<p>The name of the plugin.</p>" 4715 }, 4716 "pluginId":{ 4717 "shape":"PluginId", 4718 "documentation":"<p>The identifier of the plugin.</p>" 4719 }, 4720 "serverUrl":{ 4721 "shape":"Url", 4722 "documentation":"<p>The plugin server URL used for configuration.</p>" 4723 }, 4724 "state":{ 4725 "shape":"PluginState", 4726 "documentation":"<p>The current status of the plugin.</p>" 4727 }, 4728 "type":{ 4729 "shape":"PluginType", 4730 "documentation":"<p>The type of the plugin.</p>" 4731 }, 4732 "updatedAt":{ 4733 "shape":"Timestamp", 4734 "documentation":"<p>The timestamp for when the plugin was last updated.</p>" 4735 } 4736 }, 4737 "documentation":"<p>Information about an Amazon Q plugin and its configuration.</p>" 4738 }, 4739 "PluginArn":{ 4740 "type":"string", 4741 "max":1284, 4742 "min":0, 4743 "pattern":"^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" 4744 }, 4745 "PluginAuthConfiguration":{ 4746 "type":"structure", 4747 "members":{ 4748 "basicAuthConfiguration":{ 4749 "shape":"BasicAuthConfiguration", 4750 "documentation":"<p>Information about the basic authentication credentials used to configure a plugin.</p>" 4751 }, 4752 "oAuth2ClientCredentialConfiguration":{ 4753 "shape":"OAuth2ClientCredentialConfiguration", 4754 "documentation":"<p>Information about the OAuth 2.0 authentication credential/token used to configure a plugin.</p>" 4755 } 4756 }, 4757 "documentation":"<p>Authentication configuration information for an Amazon Q plugin.</p>", 4758 "union":true 4759 }, 4760 "PluginId":{ 4761 "type":"string", 4762 "max":36, 4763 "min":36, 4764 "pattern":"^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" 4765 }, 4766 "PluginName":{ 4767 "type":"string", 4768 "max":100, 4769 "min":1, 4770 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]*$" 4771 }, 4772 "PluginState":{ 4773 "type":"string", 4774 "enum":[ 4775 "ENABLED", 4776 "DISABLED" 4777 ] 4778 }, 4779 "PluginType":{ 4780 "type":"string", 4781 "enum":[ 4782 "SERVICE_NOW", 4783 "SALESFORCE", 4784 "JIRA", 4785 "ZENDESK" 4786 ] 4787 }, 4788 "Plugins":{ 4789 "type":"list", 4790 "member":{"shape":"Plugin"} 4791 }, 4792 "Principal":{ 4793 "type":"structure", 4794 "members":{ 4795 "group":{ 4796 "shape":"PrincipalGroup", 4797 "documentation":"<p> The group associated with the principal.</p>" 4798 }, 4799 "user":{ 4800 "shape":"PrincipalUser", 4801 "documentation":"<p>The user associated with the principal.</p>" 4802 } 4803 }, 4804 "documentation":"<p>Provides user and group information used for filtering documents to use for generating Amazon Q conversation responses.</p>", 4805 "union":true 4806 }, 4807 "PrincipalGroup":{ 4808 "type":"structure", 4809 "required":["access"], 4810 "members":{ 4811 "access":{ 4812 "shape":"ReadAccessType", 4813 "documentation":"<p>Provides information about whether to allow or deny access to the principal.</p>" 4814 }, 4815 "membershipType":{ 4816 "shape":"MembershipType", 4817 "documentation":"<p>The type of group.</p>" 4818 }, 4819 "name":{ 4820 "shape":"GroupName", 4821 "documentation":"<p>The name of the group.</p>" 4822 } 4823 }, 4824 "documentation":"<p>Provides information about a group associated with the principal.</p>" 4825 }, 4826 "PrincipalUser":{ 4827 "type":"structure", 4828 "required":["access"], 4829 "members":{ 4830 "access":{ 4831 "shape":"ReadAccessType", 4832 "documentation":"<p>Provides information about whether to allow or deny access to the principal.</p>" 4833 }, 4834 "id":{ 4835 "shape":"UserId", 4836 "documentation":"<p> The identifier of the user. </p>" 4837 }, 4838 "membershipType":{ 4839 "shape":"MembershipType", 4840 "documentation":"<p>The type of group.</p>" 4841 } 4842 }, 4843 "documentation":"<p>Provides information about a user associated with a principal.</p>" 4844 }, 4845 "Principals":{ 4846 "type":"list", 4847 "member":{"shape":"Principal"} 4848 }, 4849 "PutFeedbackRequest":{ 4850 "type":"structure", 4851 "required":[ 4852 "applicationId", 4853 "conversationId", 4854 "messageId", 4855 "userId" 4856 ], 4857 "members":{ 4858 "applicationId":{ 4859 "shape":"ApplicationId", 4860 "documentation":"<p>The identifier of the application associated with the feedback.</p>", 4861 "location":"uri", 4862 "locationName":"applicationId" 4863 }, 4864 "conversationId":{ 4865 "shape":"ConversationId", 4866 "documentation":"<p>The identifier of the conversation the feedback is attached to.</p>", 4867 "location":"uri", 4868 "locationName":"conversationId" 4869 }, 4870 "messageCopiedAt":{ 4871 "shape":"Timestamp", 4872 "documentation":"<p>The timestamp for when the feedback was recorded.</p>" 4873 }, 4874 "messageId":{ 4875 "shape":"SystemMessageId", 4876 "documentation":"<p>The identifier of the chat message that the feedback was given for.</p>", 4877 "location":"uri", 4878 "locationName":"messageId" 4879 }, 4880 "messageUsefulness":{ 4881 "shape":"MessageUsefulnessFeedback", 4882 "documentation":"<p>The feedback usefulness value given by the user to the chat message.</p>" 4883 }, 4884 "userId":{ 4885 "shape":"UserId", 4886 "documentation":"<p>The identifier of the user giving the feedback.</p>", 4887 "location":"querystring", 4888 "locationName":"userId" 4889 } 4890 } 4891 }, 4892 "PutGroupRequest":{ 4893 "type":"structure", 4894 "required":[ 4895 "applicationId", 4896 "groupMembers", 4897 "groupName", 4898 "indexId", 4899 "type" 4900 ], 4901 "members":{ 4902 "applicationId":{ 4903 "shape":"ApplicationId", 4904 "documentation":"<p>The identifier of the application in which the user and group mapping belongs.</p>", 4905 "location":"uri", 4906 "locationName":"applicationId" 4907 }, 4908 "dataSourceId":{ 4909 "shape":"DataSourceId", 4910 "documentation":"<p>The identifier of the data source for which you want to map users to their groups. This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups \"Research\", \"Engineering\", and \"Sales and Marketing\" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, \"Sales and Marketing\" team only needs access to customer-related documents stored in Salesforce.</p>" 4911 }, 4912 "groupMembers":{"shape":"GroupMembers"}, 4913 "groupName":{ 4914 "shape":"GroupName", 4915 "documentation":"<p>The list that contains your users or sub groups that belong the same group. For example, the group \"Company\" includes the user \"CEO\" and the sub groups \"Research\", \"Engineering\", and \"Sales and Marketing\".</p> <p>If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.</p>" 4916 }, 4917 "indexId":{ 4918 "shape":"IndexId", 4919 "documentation":"<p>The identifier of the index in which you want to map users to their groups.</p>", 4920 "location":"uri", 4921 "locationName":"indexId" 4922 }, 4923 "type":{ 4924 "shape":"MembershipType", 4925 "documentation":"<p>The type of the group.</p>" 4926 } 4927 } 4928 }, 4929 "PutGroupResponse":{ 4930 "type":"structure", 4931 "members":{ 4932 } 4933 }, 4934 "ReadAccessType":{ 4935 "type":"string", 4936 "enum":[ 4937 "ALLOW", 4938 "DENY" 4939 ] 4940 }, 4941 "ResourceNotFoundException":{ 4942 "type":"structure", 4943 "required":[ 4944 "message", 4945 "resourceId", 4946 "resourceType" 4947 ], 4948 "members":{ 4949 "message":{ 4950 "shape":"ErrorMessage", 4951 "documentation":"<p>The message describing a <code>ResourceNotFoundException</code>.</p>" 4952 }, 4953 "resourceId":{ 4954 "shape":"String", 4955 "documentation":"<p>The identifier of the resource affected.</p>" 4956 }, 4957 "resourceType":{ 4958 "shape":"String", 4959 "documentation":"<p>The type of the resource affected.</p>" 4960 } 4961 }, 4962 "documentation":"<p>The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.</p>", 4963 "error":{ 4964 "httpStatusCode":404, 4965 "senderFault":true 4966 }, 4967 "exception":true 4968 }, 4969 "ResponseScope":{ 4970 "type":"string", 4971 "enum":[ 4972 "ENTERPRISE_CONTENT_ONLY", 4973 "EXTENDED_KNOWLEDGE_ENABLED" 4974 ] 4975 }, 4976 "Retriever":{ 4977 "type":"structure", 4978 "members":{ 4979 "applicationId":{ 4980 "shape":"ApplicationId", 4981 "documentation":"<p>The identifier of the Amazon Q application using the retriever.</p>" 4982 }, 4983 "displayName":{ 4984 "shape":"RetrieverName", 4985 "documentation":"<p>The name of your retriever.</p>" 4986 }, 4987 "retrieverId":{ 4988 "shape":"RetrieverId", 4989 "documentation":"<p>The identifier of the retriever used by your Amazon Q application.</p>" 4990 }, 4991 "status":{ 4992 "shape":"RetrieverStatus", 4993 "documentation":"<p>The status of your retriever.</p>" 4994 }, 4995 "type":{ 4996 "shape":"RetrieverType", 4997 "documentation":"<p>The type of your retriever.</p>" 4998 } 4999 }, 5000 "documentation":"<p>Summary information for the retriever used for your Amazon Q application.</p>" 5001 }, 5002 "RetrieverArn":{ 5003 "type":"string", 5004 "max":1284, 5005 "min":0, 5006 "pattern":"^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" 5007 }, 5008 "RetrieverConfiguration":{ 5009 "type":"structure", 5010 "members":{ 5011 "kendraIndexConfiguration":{ 5012 "shape":"KendraIndexConfiguration", 5013 "documentation":"<p>Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q application is configured.</p>" 5014 }, 5015 "nativeIndexConfiguration":{ 5016 "shape":"NativeIndexConfiguration", 5017 "documentation":"<p>Provides information on how a Amazon Q index used as a retriever for your Amazon Q application is configured.</p>" 5018 } 5019 }, 5020 "documentation":"<p>Provides information on how the retriever used for your Amazon Q application is configured.</p>", 5021 "union":true 5022 }, 5023 "RetrieverId":{ 5024 "type":"string", 5025 "max":36, 5026 "min":36, 5027 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 5028 }, 5029 "RetrieverName":{ 5030 "type":"string", 5031 "max":1000, 5032 "min":1, 5033 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9_-]*$" 5034 }, 5035 "RetrieverStatus":{ 5036 "type":"string", 5037 "enum":[ 5038 "CREATING", 5039 "ACTIVE", 5040 "FAILED" 5041 ] 5042 }, 5043 "RetrieverType":{ 5044 "type":"string", 5045 "enum":[ 5046 "NATIVE_INDEX", 5047 "KENDRA_INDEX" 5048 ] 5049 }, 5050 "Retrievers":{ 5051 "type":"list", 5052 "member":{"shape":"Retriever"} 5053 }, 5054 "RoleArn":{ 5055 "type":"string", 5056 "max":1284, 5057 "min":0, 5058 "pattern":"^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" 5059 }, 5060 "Rule":{ 5061 "type":"structure", 5062 "required":["ruleType"], 5063 "members":{ 5064 "excludedUsersAndGroups":{ 5065 "shape":"UsersAndGroups", 5066 "documentation":"<p>Users and groups to be excluded from a rule.</p>" 5067 }, 5068 "includedUsersAndGroups":{ 5069 "shape":"UsersAndGroups", 5070 "documentation":"<p>Users and groups to be included in a rule.</p>" 5071 }, 5072 "ruleConfiguration":{ 5073 "shape":"RuleConfiguration", 5074 "documentation":"<p>The configuration information for a rule.</p>" 5075 }, 5076 "ruleType":{ 5077 "shape":"RuleType", 5078 "documentation":"<p>The type of rule.</p>" 5079 } 5080 }, 5081 "documentation":"<p>Guardrail rules for an Amazon Q application. Amazon Q supports only one rule at a time.</p>" 5082 }, 5083 "RuleConfiguration":{ 5084 "type":"structure", 5085 "members":{ 5086 "contentBlockerRule":{ 5087 "shape":"ContentBlockerRule", 5088 "documentation":"<p>A rule for configuring how Amazon Q responds when it encounters a a blocked topic.</p>" 5089 }, 5090 "contentRetrievalRule":{"shape":"ContentRetrievalRule"} 5091 }, 5092 "documentation":"<p>Provides configuration information about a rule.</p>", 5093 "union":true 5094 }, 5095 "RuleType":{ 5096 "type":"string", 5097 "enum":[ 5098 "CONTENT_BLOCKER_RULE", 5099 "CONTENT_RETRIEVAL_RULE" 5100 ] 5101 }, 5102 "Rules":{ 5103 "type":"list", 5104 "member":{"shape":"Rule"}, 5105 "max":10, 5106 "min":0 5107 }, 5108 "S3":{ 5109 "type":"structure", 5110 "required":[ 5111 "bucket", 5112 "key" 5113 ], 5114 "members":{ 5115 "bucket":{ 5116 "shape":"S3BucketName", 5117 "documentation":"<p>The name of the S3 bucket that contains the file.</p>" 5118 }, 5119 "key":{ 5120 "shape":"S3ObjectKey", 5121 "documentation":"<p>The name of the file.</p>" 5122 } 5123 }, 5124 "documentation":"<p>Information required for Amazon Q to find a specific file in an Amazon S3 bucket.</p>" 5125 }, 5126 "S3BucketName":{ 5127 "type":"string", 5128 "max":63, 5129 "min":1, 5130 "pattern":"^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" 5131 }, 5132 "S3ObjectKey":{ 5133 "type":"string", 5134 "max":1024, 5135 "min":1 5136 }, 5137 "SamlAttribute":{ 5138 "type":"string", 5139 "max":256, 5140 "min":1 5141 }, 5142 "SamlConfiguration":{ 5143 "type":"structure", 5144 "required":[ 5145 "metadataXML", 5146 "roleArn", 5147 "userIdAttribute" 5148 ], 5149 "members":{ 5150 "metadataXML":{ 5151 "shape":"SamlMetadataXML", 5152 "documentation":"<p>The metadata XML that your IdP generated.</p>" 5153 }, 5154 "roleArn":{ 5155 "shape":"RoleArn", 5156 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role assumed by users when they authenticate into their Amazon Q web experience, containing the relevant Amazon Q permissions for conversing with Amazon Q.</p>" 5157 }, 5158 "userGroupAttribute":{ 5159 "shape":"SamlAttribute", 5160 "documentation":"<p>The group attribute name in your IdP that maps to user groups.</p>" 5161 }, 5162 "userIdAttribute":{ 5163 "shape":"SamlAttribute", 5164 "documentation":"<p>The user attribute name in your IdP that maps to the user email.</p>" 5165 } 5166 }, 5167 "documentation":"<p>Provides the SAML 2.0 compliant identity provider (IdP) configuration information Amazon Q needs to deploy a Amazon Q web experience.</p>" 5168 }, 5169 "SamlMetadataXML":{ 5170 "type":"string", 5171 "max":10000000, 5172 "min":1000, 5173 "pattern":"^.*$" 5174 }, 5175 "SecretArn":{ 5176 "type":"string", 5177 "max":1284, 5178 "min":0, 5179 "pattern":"^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" 5180 }, 5181 "SecurityGroupId":{ 5182 "type":"string", 5183 "max":200, 5184 "min":1, 5185 "pattern":"^[-0-9a-zA-Z]+$" 5186 }, 5187 "SecurityGroupIds":{ 5188 "type":"list", 5189 "member":{"shape":"SecurityGroupId"}, 5190 "max":10, 5191 "min":1 5192 }, 5193 "ServiceQuotaExceededException":{ 5194 "type":"structure", 5195 "required":[ 5196 "message", 5197 "resourceId", 5198 "resourceType" 5199 ], 5200 "members":{ 5201 "message":{ 5202 "shape":"ErrorMessage", 5203 "documentation":"<p>The message describing a <code>ServiceQuotaExceededException</code>.</p>" 5204 }, 5205 "resourceId":{ 5206 "shape":"String", 5207 "documentation":"<p>The identifier of the resource affected.</p>" 5208 }, 5209 "resourceType":{ 5210 "shape":"String", 5211 "documentation":"<p>The type of the resource affected.</p>" 5212 } 5213 }, 5214 "documentation":"<p>You have exceeded the set limits for your Amazon Q service. </p>", 5215 "error":{ 5216 "httpStatusCode":402, 5217 "senderFault":true 5218 }, 5219 "exception":true 5220 }, 5221 "SourceAttribution":{ 5222 "type":"structure", 5223 "members":{ 5224 "citationNumber":{ 5225 "shape":"Integer", 5226 "documentation":"<p>The number attached to a citation in an Amazon Q generated response.</p>" 5227 }, 5228 "snippet":{ 5229 "shape":"String", 5230 "documentation":"<p>The content extract from the document on which the generated response is based. </p>" 5231 }, 5232 "textMessageSegments":{ 5233 "shape":"TextSegmentList", 5234 "documentation":"<p>A text extract from a source document that is used for source attribution.</p>" 5235 }, 5236 "title":{ 5237 "shape":"String", 5238 "documentation":"<p>The title of the document which is the source for the Amazon Q generated response. </p>" 5239 }, 5240 "updatedAt":{ 5241 "shape":"Timestamp", 5242 "documentation":"<p>The Unix timestamp when the Amazon Q application was last updated.</p>" 5243 }, 5244 "url":{ 5245 "shape":"String", 5246 "documentation":"<p>The URL of the document which is the source for the Amazon Q generated response. </p>" 5247 } 5248 }, 5249 "documentation":"<p>The documents used to generate an Amazon Q web experience response.</p>" 5250 }, 5251 "SourceAttributions":{ 5252 "type":"list", 5253 "member":{"shape":"SourceAttribution"} 5254 }, 5255 "StartDataSourceSyncJobRequest":{ 5256 "type":"structure", 5257 "required":[ 5258 "applicationId", 5259 "dataSourceId", 5260 "indexId" 5261 ], 5262 "members":{ 5263 "applicationId":{ 5264 "shape":"ApplicationId", 5265 "documentation":"<p>The identifier of Amazon Q application the data source is connected to.</p>", 5266 "location":"uri", 5267 "locationName":"applicationId" 5268 }, 5269 "dataSourceId":{ 5270 "shape":"DataSourceId", 5271 "documentation":"<p> The identifier of the data source connector. </p>", 5272 "location":"uri", 5273 "locationName":"dataSourceId" 5274 }, 5275 "indexId":{ 5276 "shape":"IndexId", 5277 "documentation":"<p>The identifier of the index used with the data source connector.</p>", 5278 "location":"uri", 5279 "locationName":"indexId" 5280 } 5281 } 5282 }, 5283 "StartDataSourceSyncJobResponse":{ 5284 "type":"structure", 5285 "members":{ 5286 "executionId":{ 5287 "shape":"ExecutionId", 5288 "documentation":"<p>The identifier for a particular synchronization job.</p>" 5289 } 5290 } 5291 }, 5292 "Status":{ 5293 "type":"string", 5294 "enum":[ 5295 "ENABLED", 5296 "DISABLED" 5297 ] 5298 }, 5299 "StopDataSourceSyncJobRequest":{ 5300 "type":"structure", 5301 "required":[ 5302 "applicationId", 5303 "dataSourceId", 5304 "indexId" 5305 ], 5306 "members":{ 5307 "applicationId":{ 5308 "shape":"ApplicationId", 5309 "documentation":"<p>The identifier of the Amazon Q application that the data source is connected to.</p>", 5310 "location":"uri", 5311 "locationName":"applicationId" 5312 }, 5313 "dataSourceId":{ 5314 "shape":"DataSourceId", 5315 "documentation":"<p> The identifier of the data source connector. </p>", 5316 "location":"uri", 5317 "locationName":"dataSourceId" 5318 }, 5319 "indexId":{ 5320 "shape":"IndexId", 5321 "documentation":"<p>The identifier of the index used with the Amazon Q data source connector.</p>", 5322 "location":"uri", 5323 "locationName":"indexId" 5324 } 5325 } 5326 }, 5327 "StopDataSourceSyncJobResponse":{ 5328 "type":"structure", 5329 "members":{ 5330 } 5331 }, 5332 "String":{ 5333 "type":"string", 5334 "max":2048, 5335 "min":1 5336 }, 5337 "StringAttributeBoostingConfiguration":{ 5338 "type":"structure", 5339 "required":["boostingLevel"], 5340 "members":{ 5341 "attributeValueBoosting":{ 5342 "shape":"StringAttributeValueBoosting", 5343 "documentation":"<p>Specifies specific values of a <code>STRING</code> type document attribute being boosted.</p>" 5344 }, 5345 "boostingLevel":{ 5346 "shape":"DocumentAttributeBoostingLevel", 5347 "documentation":"<p>Specifies how much a document attribute is boosted.</p>" 5348 } 5349 }, 5350 "documentation":"<p>Provides information on boosting <code>STRING</code> type document attributes.</p> <note> <p>For <code>STRING</code> and <code>STRING_LIST</code> type document attributes to be used for boosting on the console and the API, they must be enabled for search using the <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html\">DocumentAttributeConfiguration</a> object of the <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html\">UpdateIndex</a> API. If you haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console or the API.</p> </note> <p>For more information on how boosting document attributes work in Amazon Q, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html\">Boosting using document attributes</a>.</p>" 5351 }, 5352 "StringAttributeValueBoosting":{ 5353 "type":"map", 5354 "key":{"shape":"String"}, 5355 "value":{"shape":"StringAttributeValueBoostingLevel"}, 5356 "max":10, 5357 "min":1 5358 }, 5359 "StringAttributeValueBoostingLevel":{ 5360 "type":"string", 5361 "enum":[ 5362 "LOW", 5363 "MEDIUM", 5364 "HIGH", 5365 "VERY_HIGH" 5366 ] 5367 }, 5368 "StringListAttributeBoostingConfiguration":{ 5369 "type":"structure", 5370 "required":["boostingLevel"], 5371 "members":{ 5372 "boostingLevel":{ 5373 "shape":"DocumentAttributeBoostingLevel", 5374 "documentation":"<p>Specifies how much a document attribute is boosted.</p>" 5375 } 5376 }, 5377 "documentation":"<p>Provides information on boosting <code>STRING_LIST</code> type document attributes.</p> <note> <p>For <code>STRING</code> and <code>STRING_LIST</code> type document attributes to be used for boosting on the console and the API, they must be enabled for search using the <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_DocumentAttributeConfiguration.html\">DocumentAttributeConfiguration</a> object of the <a href=\"https://docs.aws.amazon.com/amazonq/latest/api-reference/API_UpdateIndex.html\">UpdateIndex</a> API. If you haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console or the API.</p> </note> <p>For more information on how boosting document attributes work in Amazon Q, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/metadata-boosting.html\">Boosting using document attributes</a>.</p>" 5378 }, 5379 "SubnetId":{ 5380 "type":"string", 5381 "max":200, 5382 "min":1, 5383 "pattern":"^[-0-9a-zA-Z]+$" 5384 }, 5385 "SubnetIds":{ 5386 "type":"list", 5387 "member":{"shape":"SubnetId"} 5388 }, 5389 "SyncSchedule":{ 5390 "type":"string", 5391 "max":998, 5392 "min":0, 5393 "pattern":"^\\P{C}*$" 5394 }, 5395 "SystemMessageId":{ 5396 "type":"string", 5397 "max":36, 5398 "min":36, 5399 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{35}$" 5400 }, 5401 "SystemMessageOverride":{ 5402 "type":"string", 5403 "max":350, 5404 "min":0, 5405 "pattern":"^\\P{C}*$" 5406 }, 5407 "Tag":{ 5408 "type":"structure", 5409 "required":[ 5410 "key", 5411 "value" 5412 ], 5413 "members":{ 5414 "key":{ 5415 "shape":"TagKey", 5416 "documentation":"<p> The key for the tag. Keys are not case sensitive and must be unique for the Amazon Q application or data source.</p>" 5417 }, 5418 "value":{ 5419 "shape":"TagValue", 5420 "documentation":"<p>The value associated with the tag. The value may be an empty string but it can't be null.</p>" 5421 } 5422 }, 5423 "documentation":"<p>A list of key/value pairs that identify an index, FAQ, or data source. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>" 5424 }, 5425 "TagKey":{ 5426 "type":"string", 5427 "max":128, 5428 "min":1 5429 }, 5430 "TagKeys":{ 5431 "type":"list", 5432 "member":{"shape":"TagKey"}, 5433 "max":200, 5434 "min":0 5435 }, 5436 "TagResourceRequest":{ 5437 "type":"structure", 5438 "required":[ 5439 "resourceARN", 5440 "tags" 5441 ], 5442 "members":{ 5443 "resourceARN":{ 5444 "shape":"AmazonResourceName", 5445 "documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Q application or data source to tag.</p>", 5446 "location":"uri", 5447 "locationName":"resourceARN" 5448 }, 5449 "tags":{ 5450 "shape":"Tags", 5451 "documentation":"<p>A list of tag keys to add to the Amazon Q application or data source. If a tag already exists, the existing value is replaced with the new value.</p>" 5452 } 5453 } 5454 }, 5455 "TagResourceResponse":{ 5456 "type":"structure", 5457 "members":{ 5458 } 5459 }, 5460 "TagValue":{ 5461 "type":"string", 5462 "max":256, 5463 "min":0 5464 }, 5465 "Tags":{ 5466 "type":"list", 5467 "member":{"shape":"Tag"}, 5468 "max":200, 5469 "min":0 5470 }, 5471 "TextDocumentStatistics":{ 5472 "type":"structure", 5473 "members":{ 5474 "indexedTextBytes":{ 5475 "shape":"IndexedTextBytes", 5476 "documentation":"<p>The total size, in bytes, of the indexed documents.</p>" 5477 }, 5478 "indexedTextDocumentCount":{ 5479 "shape":"IndexedTextDocument", 5480 "documentation":"<p>The number of text documents indexed.</p>" 5481 } 5482 }, 5483 "documentation":"<p>Provides information about text documents in an index.</p>" 5484 }, 5485 "TextSegment":{ 5486 "type":"structure", 5487 "members":{ 5488 "beginOffset":{ 5489 "shape":"Integer", 5490 "documentation":"<p>The zero-based location in the response string where the source attribution starts.</p>" 5491 }, 5492 "endOffset":{ 5493 "shape":"Integer", 5494 "documentation":"<p>The zero-based location in the response string where the source attribution ends.</p>" 5495 } 5496 }, 5497 "documentation":"<p>Provides information about a text extract in a chat response that can be attributed to a source document.</p>" 5498 }, 5499 "TextSegmentList":{ 5500 "type":"list", 5501 "member":{"shape":"TextSegment"} 5502 }, 5503 "ThrottlingException":{ 5504 "type":"structure", 5505 "required":["message"], 5506 "members":{ 5507 "message":{"shape":"ErrorMessage"} 5508 }, 5509 "documentation":"<p>The request was denied due to throttling. Reduce the number of requests and try again.</p>", 5510 "error":{ 5511 "httpStatusCode":429, 5512 "senderFault":true 5513 }, 5514 "exception":true 5515 }, 5516 "Timestamp":{"type":"timestamp"}, 5517 "Title":{ 5518 "type":"string", 5519 "max":1024, 5520 "min":1 5521 }, 5522 "TopicConfiguration":{ 5523 "type":"structure", 5524 "required":[ 5525 "name", 5526 "rules" 5527 ], 5528 "members":{ 5529 "description":{ 5530 "shape":"TopicDescription", 5531 "documentation":"<p>A description for your topic control configuration. Use this to outline how the large language model (LLM) should use this topic control configuration.</p>" 5532 }, 5533 "exampleChatMessages":{ 5534 "shape":"ExampleChatMessages", 5535 "documentation":"<p>A list of example phrases that you expect the end user to use in relation to the topic.</p>" 5536 }, 5537 "name":{ 5538 "shape":"TopicConfigurationName", 5539 "documentation":"<p>A name for your topic control configuration.</p>" 5540 }, 5541 "rules":{ 5542 "shape":"Rules", 5543 "documentation":"<p>Rules defined for a topic configuration.</p>" 5544 } 5545 }, 5546 "documentation":"<p>The topic specific controls configured for an Amazon Q application.</p>" 5547 }, 5548 "TopicConfigurationName":{ 5549 "type":"string", 5550 "max":36, 5551 "min":1, 5552 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]{0,35}$" 5553 }, 5554 "TopicConfigurations":{ 5555 "type":"list", 5556 "member":{"shape":"TopicConfiguration"}, 5557 "max":10, 5558 "min":0 5559 }, 5560 "TopicDescription":{ 5561 "type":"string", 5562 "max":350, 5563 "min":0, 5564 "pattern":"^\\P{C}*$" 5565 }, 5566 "UntagResourceRequest":{ 5567 "type":"structure", 5568 "required":[ 5569 "resourceARN", 5570 "tagKeys" 5571 ], 5572 "members":{ 5573 "resourceARN":{ 5574 "shape":"AmazonResourceName", 5575 "documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Q application, or data source to remove the tag from.</p>", 5576 "location":"uri", 5577 "locationName":"resourceARN" 5578 }, 5579 "tagKeys":{ 5580 "shape":"TagKeys", 5581 "documentation":"<p>A list of tag keys to remove from the Amazon Q application or data source. If a tag key does not exist on the resource, it is ignored.</p>", 5582 "location":"querystring", 5583 "locationName":"tagKeys" 5584 } 5585 } 5586 }, 5587 "UntagResourceResponse":{ 5588 "type":"structure", 5589 "members":{ 5590 } 5591 }, 5592 "UpdateApplicationRequest":{ 5593 "type":"structure", 5594 "required":["applicationId"], 5595 "members":{ 5596 "applicationId":{ 5597 "shape":"ApplicationId", 5598 "documentation":"<p>The identifier of the Amazon Q application.</p>", 5599 "location":"uri", 5600 "locationName":"applicationId" 5601 }, 5602 "attachmentsConfiguration":{ 5603 "shape":"AttachmentsConfiguration", 5604 "documentation":"<p>An option to allow end users to upload files directly during chat.</p>" 5605 }, 5606 "description":{ 5607 "shape":"Description", 5608 "documentation":"<p>A description for the Amazon Q application.</p>" 5609 }, 5610 "displayName":{ 5611 "shape":"ApplicationName", 5612 "documentation":"<p>A name for the Amazon Q application.</p>" 5613 }, 5614 "roleArn":{ 5615 "shape":"RoleArn", 5616 "documentation":"<p>An Amazon Web Services Identity and Access Management (IAM) role that gives Amazon Q permission to access Amazon CloudWatch logs and metrics.</p>" 5617 } 5618 } 5619 }, 5620 "UpdateApplicationResponse":{ 5621 "type":"structure", 5622 "members":{ 5623 } 5624 }, 5625 "UpdateChatControlsConfigurationRequest":{ 5626 "type":"structure", 5627 "required":["applicationId"], 5628 "members":{ 5629 "applicationId":{ 5630 "shape":"ApplicationId", 5631 "documentation":"<p>The identifier of the application for which the chat controls are configured.</p>", 5632 "location":"uri", 5633 "locationName":"applicationId" 5634 }, 5635 "blockedPhrasesConfigurationUpdate":{ 5636 "shape":"BlockedPhrasesConfigurationUpdate", 5637 "documentation":"<p>The phrases blocked from chat by your chat control configuration.</p>" 5638 }, 5639 "clientToken":{ 5640 "shape":"ClientToken", 5641 "documentation":"<p>A token that you provide to identify the request to update a Amazon Q application chat configuration.</p>", 5642 "idempotencyToken":true 5643 }, 5644 "responseScope":{ 5645 "shape":"ResponseScope", 5646 "documentation":"<p>The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.</p>" 5647 }, 5648 "topicConfigurationsToCreateOrUpdate":{ 5649 "shape":"TopicConfigurations", 5650 "documentation":"<p>The configured topic specific chat controls you want to update.</p>" 5651 }, 5652 "topicConfigurationsToDelete":{ 5653 "shape":"TopicConfigurations", 5654 "documentation":"<p>The configured topic specific chat controls you want to delete.</p>" 5655 } 5656 } 5657 }, 5658 "UpdateChatControlsConfigurationResponse":{ 5659 "type":"structure", 5660 "members":{ 5661 } 5662 }, 5663 "UpdateDataSourceRequest":{ 5664 "type":"structure", 5665 "required":[ 5666 "applicationId", 5667 "dataSourceId", 5668 "indexId" 5669 ], 5670 "members":{ 5671 "applicationId":{ 5672 "shape":"ApplicationId", 5673 "documentation":"<p> The identifier of the Amazon Q application the data source is attached to.</p>", 5674 "location":"uri", 5675 "locationName":"applicationId" 5676 }, 5677 "configuration":{"shape":"DataSourceConfiguration"}, 5678 "dataSourceId":{ 5679 "shape":"DataSourceId", 5680 "documentation":"<p>The identifier of the data source connector.</p>", 5681 "location":"uri", 5682 "locationName":"dataSourceId" 5683 }, 5684 "description":{ 5685 "shape":"Description", 5686 "documentation":"<p>The description of the data source connector.</p>" 5687 }, 5688 "displayName":{ 5689 "shape":"DataSourceName", 5690 "documentation":"<p>A name of the data source connector.</p>" 5691 }, 5692 "documentEnrichmentConfiguration":{"shape":"DocumentEnrichmentConfiguration"}, 5693 "indexId":{ 5694 "shape":"IndexId", 5695 "documentation":"<p>The identifier of the index attached to the data source connector.</p>", 5696 "location":"uri", 5697 "locationName":"indexId" 5698 }, 5699 "roleArn":{ 5700 "shape":"RoleArn", 5701 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.</p>" 5702 }, 5703 "syncSchedule":{ 5704 "shape":"SyncSchedule", 5705 "documentation":"<p>The chosen update frequency for your data source.</p>" 5706 }, 5707 "vpcConfiguration":{"shape":"DataSourceVpcConfiguration"} 5708 } 5709 }, 5710 "UpdateDataSourceResponse":{ 5711 "type":"structure", 5712 "members":{ 5713 } 5714 }, 5715 "UpdateIndexRequest":{ 5716 "type":"structure", 5717 "required":[ 5718 "applicationId", 5719 "indexId" 5720 ], 5721 "members":{ 5722 "applicationId":{ 5723 "shape":"ApplicationId", 5724 "documentation":"<p>The identifier of the Amazon Q application connected to the index.</p>", 5725 "location":"uri", 5726 "locationName":"applicationId" 5727 }, 5728 "capacityConfiguration":{ 5729 "shape":"IndexCapacityConfiguration", 5730 "documentation":"<p>The storage capacity units you want to provision for your Amazon Q index. You can add and remove capacity to fit your usage needs.</p>" 5731 }, 5732 "description":{ 5733 "shape":"Description", 5734 "documentation":"<p>The description of the Amazon Q index.</p>" 5735 }, 5736 "displayName":{ 5737 "shape":"ApplicationName", 5738 "documentation":"<p>The name of the Amazon Q index.</p>" 5739 }, 5740 "documentAttributeConfigurations":{ 5741 "shape":"DocumentAttributeConfigurations", 5742 "documentation":"<p>Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes-types.html#doc-attributes\">Understanding document attributes</a>.</p>" 5743 }, 5744 "indexId":{ 5745 "shape":"IndexId", 5746 "documentation":"<p>The identifier of the Amazon Q index.</p>", 5747 "location":"uri", 5748 "locationName":"indexId" 5749 } 5750 } 5751 }, 5752 "UpdateIndexResponse":{ 5753 "type":"structure", 5754 "members":{ 5755 } 5756 }, 5757 "UpdatePluginRequest":{ 5758 "type":"structure", 5759 "required":[ 5760 "applicationId", 5761 "pluginId" 5762 ], 5763 "members":{ 5764 "applicationId":{ 5765 "shape":"ApplicationId", 5766 "documentation":"<p>The identifier of the application the plugin is attached to.</p>", 5767 "location":"uri", 5768 "locationName":"applicationId" 5769 }, 5770 "authConfiguration":{ 5771 "shape":"PluginAuthConfiguration", 5772 "documentation":"<p>The authentication configuration the plugin is using.</p>" 5773 }, 5774 "displayName":{ 5775 "shape":"PluginName", 5776 "documentation":"<p>The name of the plugin.</p>" 5777 }, 5778 "pluginId":{ 5779 "shape":"PluginId", 5780 "documentation":"<p>The identifier of the plugin.</p>", 5781 "location":"uri", 5782 "locationName":"pluginId" 5783 }, 5784 "serverUrl":{ 5785 "shape":"Url", 5786 "documentation":"<p>The source URL used for plugin configuration.</p>" 5787 }, 5788 "state":{ 5789 "shape":"PluginState", 5790 "documentation":"<p>The status of the plugin. </p>" 5791 } 5792 } 5793 }, 5794 "UpdatePluginResponse":{ 5795 "type":"structure", 5796 "members":{ 5797 } 5798 }, 5799 "UpdateRetrieverRequest":{ 5800 "type":"structure", 5801 "required":[ 5802 "applicationId", 5803 "retrieverId" 5804 ], 5805 "members":{ 5806 "applicationId":{ 5807 "shape":"ApplicationId", 5808 "documentation":"<p>The identifier of your Amazon Q application.</p>", 5809 "location":"uri", 5810 "locationName":"applicationId" 5811 }, 5812 "configuration":{"shape":"RetrieverConfiguration"}, 5813 "displayName":{ 5814 "shape":"RetrieverName", 5815 "documentation":"<p>The name of your retriever.</p>" 5816 }, 5817 "retrieverId":{ 5818 "shape":"RetrieverId", 5819 "documentation":"<p>The identifier of your retriever.</p>", 5820 "location":"uri", 5821 "locationName":"retrieverId" 5822 }, 5823 "roleArn":{ 5824 "shape":"RoleArn", 5825 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role with permission to access the retriever and required resources. </p>" 5826 } 5827 } 5828 }, 5829 "UpdateRetrieverResponse":{ 5830 "type":"structure", 5831 "members":{ 5832 } 5833 }, 5834 "UpdateUserRequest":{ 5835 "type":"structure", 5836 "required":[ 5837 "applicationId", 5838 "userId" 5839 ], 5840 "members":{ 5841 "applicationId":{ 5842 "shape":"ApplicationId", 5843 "documentation":"<p>The identifier of the application the user is attached to.</p>", 5844 "location":"uri", 5845 "locationName":"applicationId" 5846 }, 5847 "userAliasesToDelete":{ 5848 "shape":"UserAliases", 5849 "documentation":"<p>The user aliases attached to the user id that are to be deleted.</p>" 5850 }, 5851 "userAliasesToUpdate":{ 5852 "shape":"UserAliases", 5853 "documentation":"<p>The user aliases attached to the user id that are to be updated.</p>" 5854 }, 5855 "userId":{ 5856 "shape":"String", 5857 "documentation":"<p>The email id attached to the user.</p>", 5858 "location":"uri", 5859 "locationName":"userId" 5860 } 5861 } 5862 }, 5863 "UpdateUserResponse":{ 5864 "type":"structure", 5865 "members":{ 5866 "userAliasesAdded":{ 5867 "shape":"UserAliases", 5868 "documentation":"<p>The user aliases that have been to be added to a user id.</p>" 5869 }, 5870 "userAliasesDeleted":{ 5871 "shape":"UserAliases", 5872 "documentation":"<p>The user aliases that have been deleted from a user id.</p>" 5873 }, 5874 "userAliasesUpdated":{ 5875 "shape":"UserAliases", 5876 "documentation":"<p>The user aliases attached to a user id that have been updated.</p>" 5877 } 5878 } 5879 }, 5880 "UpdateWebExperienceRequest":{ 5881 "type":"structure", 5882 "required":[ 5883 "applicationId", 5884 "webExperienceId" 5885 ], 5886 "members":{ 5887 "applicationId":{ 5888 "shape":"ApplicationId", 5889 "documentation":"<p>The identifier of the Amazon Q application attached to the web experience.</p>", 5890 "location":"uri", 5891 "locationName":"applicationId" 5892 }, 5893 "authenticationConfiguration":{ 5894 "shape":"WebExperienceAuthConfiguration", 5895 "documentation":"<p>The authentication configuration of the Amazon Q web experience.</p>" 5896 }, 5897 "samplePromptsControlMode":{ 5898 "shape":"WebExperienceSamplePromptsControlMode", 5899 "documentation":"<p>Determines whether sample prompts are enabled in the web experience for an end user.</p>" 5900 }, 5901 "subtitle":{ 5902 "shape":"WebExperienceSubtitle", 5903 "documentation":"<p>The subtitle of the Amazon Q web experience.</p>" 5904 }, 5905 "title":{ 5906 "shape":"WebExperienceTitle", 5907 "documentation":"<p>The title of the Amazon Q web experience.</p>" 5908 }, 5909 "webExperienceId":{ 5910 "shape":"WebExperienceId", 5911 "documentation":"<p>The identifier of the Amazon Q web experience.</p>", 5912 "location":"uri", 5913 "locationName":"webExperienceId" 5914 }, 5915 "welcomeMessage":{ 5916 "shape":"WebExperienceWelcomeMessage", 5917 "documentation":"<p>A customized welcome message for an end user in an Amazon Q web experience.</p>" 5918 } 5919 } 5920 }, 5921 "UpdateWebExperienceResponse":{ 5922 "type":"structure", 5923 "members":{ 5924 } 5925 }, 5926 "Url":{ 5927 "type":"string", 5928 "max":2048, 5929 "min":1, 5930 "pattern":"^(https?|ftp|file)://([^\\s]*)$" 5931 }, 5932 "UserAlias":{ 5933 "type":"structure", 5934 "required":["userId"], 5935 "members":{ 5936 "dataSourceId":{ 5937 "shape":"DataSourceId", 5938 "documentation":"<p>The identifier of the data source that the user aliases are associated with.</p>" 5939 }, 5940 "indexId":{ 5941 "shape":"IndexId", 5942 "documentation":"<p>The identifier of the index that the user aliases are associated with.</p>" 5943 }, 5944 "userId":{ 5945 "shape":"String", 5946 "documentation":"<p>The identifier of the user id associated with the user aliases.</p>" 5947 } 5948 }, 5949 "documentation":"<p>Aliases attached to a user id within an Amazon Q application.</p>" 5950 }, 5951 "UserAliases":{ 5952 "type":"list", 5953 "member":{"shape":"UserAlias"} 5954 }, 5955 "UserGroups":{ 5956 "type":"list", 5957 "member":{"shape":"String"} 5958 }, 5959 "UserId":{ 5960 "type":"string", 5961 "max":1024, 5962 "min":1, 5963 "pattern":"^\\P{C}*$" 5964 }, 5965 "UserIds":{ 5966 "type":"list", 5967 "member":{"shape":"String"} 5968 }, 5969 "UserMessage":{ 5970 "type":"string", 5971 "max":7000, 5972 "min":1 5973 }, 5974 "UsersAndGroups":{ 5975 "type":"structure", 5976 "members":{ 5977 "userGroups":{ 5978 "shape":"UserGroups", 5979 "documentation":"<p>The user groups associated with a topic control rule.</p>" 5980 }, 5981 "userIds":{ 5982 "shape":"UserIds", 5983 "documentation":"<p>The user ids associated with a topic control rule.</p>" 5984 } 5985 }, 5986 "documentation":"<p>Provides information about users and groups associated with a topic control rule.</p>" 5987 }, 5988 "ValidationException":{ 5989 "type":"structure", 5990 "required":[ 5991 "message", 5992 "reason" 5993 ], 5994 "members":{ 5995 "fields":{ 5996 "shape":"ValidationExceptionFields", 5997 "documentation":"<p>The input field(s) that failed validation.</p>" 5998 }, 5999 "message":{ 6000 "shape":"ErrorMessage", 6001 "documentation":"<p>The message describing the <code>ValidationException</code>.</p>" 6002 }, 6003 "reason":{ 6004 "shape":"ValidationExceptionReason", 6005 "documentation":"<p>The reason for the <code>ValidationException</code>.</p>" 6006 } 6007 }, 6008 "documentation":"<p>The input doesn't meet the constraints set by the Amazon Q service. Provide the correct input and try again.</p>", 6009 "error":{ 6010 "httpStatusCode":400, 6011 "senderFault":true 6012 }, 6013 "exception":true 6014 }, 6015 "ValidationExceptionField":{ 6016 "type":"structure", 6017 "required":[ 6018 "message", 6019 "name" 6020 ], 6021 "members":{ 6022 "message":{ 6023 "shape":"String", 6024 "documentation":"<p>A message about the validation exception.</p>" 6025 }, 6026 "name":{ 6027 "shape":"String", 6028 "documentation":"<p>The field name where the invalid entry was detected.</p>" 6029 } 6030 }, 6031 "documentation":"<p>The input failed to meet the constraints specified by Amazon Q in a specified field.</p>" 6032 }, 6033 "ValidationExceptionFields":{ 6034 "type":"list", 6035 "member":{"shape":"ValidationExceptionField"} 6036 }, 6037 "ValidationExceptionReason":{ 6038 "type":"string", 6039 "enum":[ 6040 "CANNOT_PARSE", 6041 "FIELD_VALIDATION_FAILED", 6042 "UNKNOWN_OPERATION" 6043 ] 6044 }, 6045 "WebExperience":{ 6046 "type":"structure", 6047 "members":{ 6048 "createdAt":{ 6049 "shape":"Timestamp", 6050 "documentation":"<p>The Unix timestamp when the Amazon Q application was last updated.</p>" 6051 }, 6052 "defaultEndpoint":{ 6053 "shape":"Url", 6054 "documentation":"<p>The endpoint URLs for your Amazon Q web experience. The URLs are unique and fully hosted by Amazon Web Services.</p>" 6055 }, 6056 "status":{ 6057 "shape":"WebExperienceStatus", 6058 "documentation":"<p>The status of your Amazon Q web experience.</p>" 6059 }, 6060 "updatedAt":{ 6061 "shape":"Timestamp", 6062 "documentation":"<p>The Unix timestamp when your Amazon Q web experience was updated.</p>" 6063 }, 6064 "webExperienceId":{ 6065 "shape":"WebExperienceId", 6066 "documentation":"<p>The identifier of your Amazon Q web experience.</p>" 6067 } 6068 }, 6069 "documentation":"<p>Provides information for an Amazon Q web experience.</p>" 6070 }, 6071 "WebExperienceArn":{ 6072 "type":"string", 6073 "max":1284, 6074 "min":0, 6075 "pattern":"^arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}$" 6076 }, 6077 "WebExperienceAuthConfiguration":{ 6078 "type":"structure", 6079 "members":{ 6080 "samlConfiguration":{"shape":"SamlConfiguration"} 6081 }, 6082 "documentation":"<p>Provides the authorization configuration information needed to deploy a Amazon Q web experience to end users.</p>", 6083 "union":true 6084 }, 6085 "WebExperienceId":{ 6086 "type":"string", 6087 "max":36, 6088 "min":36, 6089 "pattern":"^[a-zA-Z0-9][a-zA-Z0-9-]*$" 6090 }, 6091 "WebExperienceSamplePromptsControlMode":{ 6092 "type":"string", 6093 "enum":[ 6094 "ENABLED", 6095 "DISABLED" 6096 ] 6097 }, 6098 "WebExperienceStatus":{ 6099 "type":"string", 6100 "enum":[ 6101 "CREATING", 6102 "ACTIVE", 6103 "DELETING", 6104 "FAILED", 6105 "PENDING_AUTH_CONFIG" 6106 ] 6107 }, 6108 "WebExperienceSubtitle":{ 6109 "type":"string", 6110 "max":500, 6111 "min":0, 6112 "pattern":"^\\P{C}*$" 6113 }, 6114 "WebExperienceTitle":{ 6115 "type":"string", 6116 "max":500, 6117 "min":0, 6118 "pattern":"^\\P{C}*$" 6119 }, 6120 "WebExperienceWelcomeMessage":{ 6121 "type":"string", 6122 "max":300, 6123 "min":0 6124 }, 6125 "WebExperiences":{ 6126 "type":"list", 6127 "member":{"shape":"WebExperience"} 6128 } 6129 }, 6130 "documentation":"<note> <p>Amazon Q is in preview release and is subject to change.</p> </note> <p>This is the <i>Amazon Q (for business use)</i> API Reference. Amazon Q is a fully managed, generative-AI powered enterprise chat assistant that you can deploy within your organization. Amazon Q enhances employee productivity by supporting key tasks such as question-answering, knowledge discovery, writing email messages, summarizing text, drafting document outlines, and brainstorming ideas. Users ask questions of Amazon Q and get answers that are presented in a conversational manner. For an introduction to the service, see the <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/what-is.html\"> <i>Amazon Q (for business use) Developer Guide</i> </a>.</p> <p>For an overview of the Amazon Q APIs, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/api-ref.html#api-overview\">Overview of Amazon Q API operations</a>.</p> <p>For information about the IAM access control permissions you need to use this API, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/iam-roles.html\">IAM roles for Amazon Q</a> in the <i>Amazon Q (for business use) Developer Guide</i>.</p> <p>You can use the following AWS SDKs to access Amazon Q APIs:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/sdk-for-cpp\">AWS SDK for C++</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/sdk-for-go\">AWS SDK for Go</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/sdk-for-java\">AWS SDK for Java</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/sdk-for-javascript\">AWS SDK for JavaScript</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/sdk-for-net\">AWS SDK for .NET</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/pythonsdk\">AWS SDK for Python (Boto3)</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/sdk-for-ruby\">AWS SDK for Ruby</a> </p> </li> </ul> <p>The following resources provide additional information about using the Amazon Q API:</p> <ul> <li> <p> <i> <a href=\"https://docs.aws.amazon.com/amazonq/latest/business-use-dg/setting-up.html\">Setting up for Amazon Q</a> </i> </p> </li> <li> <p> <i> <a href=\"https://awscli.amazonaws.com/v2/documentation/api/latest/reference/qbusiness/index.html\">Amazon Q CLI Reference</a> </i> </p> </li> <li> <p> <i> <a href=\"https://docs.aws.amazon.com/general/latest/gr/amazonq.html\">Amazon Web Services General Reference</a> </i> </p> </li> </ul>" 6131} 6132