|
333 | 333 | {"shape":"ValidationException"},
|
334 | 334 | {"shape":"AccessDeniedException"}
|
335 | 335 | ],
|
336 |
| - "documentation":"<p>Subscribes an IAM Identity Center user or a group to a pricing tier for an Amazon Q Business application.</p> <p>Amazon Q Business offers two subscription tiers: <code>Q_LITE</code> and <code>Q_BUSINESS</code>. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see <a href=\"https://aws.amazon.com/q/business/pricing/\">Amazon Q Business pricing</a>.</p>", |
| 336 | + "documentation":"<p>Subscribes an IAM Identity Center user or a group to a pricing tier for an Amazon Q Business application.</p> <p>Amazon Q Business offers two subscription tiers: <code>Q_LITE</code> and <code>Q_BUSINESS</code>. Subscription tier determines feature access for the user. For more information on subscriptions and pricing tiers, see <a href=\"https://aws.amazon.com/q/business/pricing/\">Amazon Q Business pricing</a>.</p> <note> <p>For an example IAM role policy for assigning subscriptions, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/setting-up.html#permissions\">Set up required permissions</a> in the Amazon Q Business User Guide.</p> </note>", |
337 | 337 | "idempotent":true
|
338 | 338 | },
|
339 | 339 | "CreateUser":{
|
|
746 | 746 | ],
|
747 | 747 | "documentation":"<p>Gets information about an existing Amazon Q Business data source connector.</p>"
|
748 | 748 | },
|
| 749 | + "GetDocumentContent":{ |
| 750 | + "name":"GetDocumentContent", |
| 751 | + "http":{ |
| 752 | + "method":"GET", |
| 753 | + "requestUri":"/applications/{applicationId}/index/{indexId}/documents/{documentId}/content", |
| 754 | + "responseCode":200 |
| 755 | + }, |
| 756 | + "input":{"shape":"GetDocumentContentRequest"}, |
| 757 | + "output":{"shape":"GetDocumentContentResponse"}, |
| 758 | + "errors":[ |
| 759 | + {"shape":"InternalServerException"}, |
| 760 | + {"shape":"ResourceNotFoundException"}, |
| 761 | + {"shape":"ThrottlingException"}, |
| 762 | + {"shape":"ValidationException"}, |
| 763 | + {"shape":"AccessDeniedException"} |
| 764 | + ], |
| 765 | + "documentation":"<p>Retrieves the content of a document that was ingested into Amazon Q Business. This API validates user authorization against document ACLs before returning a pre-signed URL for secure document access. You can download or view source documents referenced in chat responses through the URL.</p>" |
| 766 | + }, |
749 | 767 | "GetGroup":{
|
750 | 768 | "name":"GetGroup",
|
751 | 769 | "http":{
|
|
4944 | 4962 | "documentation":"<p>The path to the document in an Amazon S3 bucket.</p>"
|
4945 | 4963 | }
|
4946 | 4964 | },
|
4947 |
| - "documentation":"<p>The contents of a document.</p>", |
| 4965 | + "documentation":"<p>The contents of a document.</p> <note> <p>Documents have size limitations. The maximum file size for a document is 50 MB. The maximum amount of text that can be extracted from a single document is 5 MB. For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/doc-types.html\">Supported document formats in Amazon Q Business</a>.</p> </note>", |
4948 | 4966 | "union":true
|
4949 | 4967 | },
|
4950 | 4968 | "DocumentContentOperator":{
|
|
5555 | 5573 | }
|
5556 | 5574 | }
|
5557 | 5575 | },
|
| 5576 | + "GetDocumentContentRequest":{ |
| 5577 | + "type":"structure", |
| 5578 | + "required":[ |
| 5579 | + "applicationId", |
| 5580 | + "indexId", |
| 5581 | + "documentId" |
| 5582 | + ], |
| 5583 | + "members":{ |
| 5584 | + "applicationId":{ |
| 5585 | + "shape":"ApplicationId", |
| 5586 | + "documentation":"<p>The unique identifier of the Amazon Q Business application containing the document. This ensures the request is scoped to the correct application environment and its associated security policies.</p>", |
| 5587 | + "location":"uri", |
| 5588 | + "locationName":"applicationId" |
| 5589 | + }, |
| 5590 | + "indexId":{ |
| 5591 | + "shape":"IndexId", |
| 5592 | + "documentation":"<p>The identifier of the index where documents are indexed.</p>", |
| 5593 | + "location":"uri", |
| 5594 | + "locationName":"indexId" |
| 5595 | + }, |
| 5596 | + "dataSourceId":{ |
| 5597 | + "shape":"DataSourceId", |
| 5598 | + "documentation":"<p>The identifier of the data source from which the document was ingested. This field is not present if the document is ingested by directly calling the BatchPutDocument API. If the document is from a file-upload data source, the datasource will be \"uploaded-docs-file-stat-datasourceid\".</p>", |
| 5599 | + "location":"querystring", |
| 5600 | + "locationName":"dataSourceId" |
| 5601 | + }, |
| 5602 | + "documentId":{ |
| 5603 | + "shape":"DocumentId", |
| 5604 | + "documentation":"<p>The unique identifier of the document that is indexed via BatchPutDocument API or file-upload or connector sync. It is also found in chat or chatSync response.</p>", |
| 5605 | + "location":"uri", |
| 5606 | + "locationName":"documentId" |
| 5607 | + }, |
| 5608 | + "outputFormat":{ |
| 5609 | + "shape":"OutputFormat", |
| 5610 | + "documentation":"<p>Raw document outputFormat.</p>", |
| 5611 | + "location":"querystring", |
| 5612 | + "locationName":"outputFormat" |
| 5613 | + } |
| 5614 | + } |
| 5615 | + }, |
| 5616 | + "GetDocumentContentResponse":{ |
| 5617 | + "type":"structure", |
| 5618 | + "required":[ |
| 5619 | + "presignedUrl", |
| 5620 | + "mimeType" |
| 5621 | + ], |
| 5622 | + "members":{ |
| 5623 | + "presignedUrl":{ |
| 5624 | + "shape":"String", |
| 5625 | + "documentation":"<p>A pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business. The URL expires after 5 minutes for security purposes. This URL is generated only after successful ACL validation.</p>" |
| 5626 | + }, |
| 5627 | + "mimeType":{ |
| 5628 | + "shape":"String", |
| 5629 | + "documentation":"<p>The MIME type of the document content (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document).</p>" |
| 5630 | + } |
| 5631 | + } |
| 5632 | + }, |
5558 | 5633 | "GetGroupRequest":{
|
5559 | 5634 | "type":"structure",
|
5560 | 5635 | "required":[
|
|
7714 | 7789 | "min":1,
|
7715 | 7790 | "pattern":"(http://|https://)[a-zA-Z0-9-_.]+(?::[0-9]{1,5})?"
|
7716 | 7791 | },
|
| 7792 | + "OutputFormat":{ |
| 7793 | + "type":"string", |
| 7794 | + "enum":["RAW"] |
| 7795 | + }, |
7717 | 7796 | "Payload":{
|
7718 | 7797 | "type":"string",
|
7719 | 7798 | "sensitive":true
|
|
8628 | 8707 | "textMessageSegments":{
|
8629 | 8708 | "shape":"TextSegmentList",
|
8630 | 8709 | "documentation":"<p>A text extract from a source document that is used for source attribution.</p>"
|
| 8710 | + }, |
| 8711 | + "documentId":{ |
| 8712 | + "shape":"String", |
| 8713 | + "documentation":"<p>The unique identifier of the source document used in the citation, obtained from the Amazon Q Business index during chat response generation. This ID is used as input to the <code>GetDocumentContent</code> API to retrieve the actual document content for user verification.</p>" |
| 8714 | + }, |
| 8715 | + "indexId":{ |
| 8716 | + "shape":"String", |
| 8717 | + "documentation":"<p>The identifier of the index containing the source document's metadata and access control information. This links the citation back to the specific Amazon Q Business index where the document's searchable content and permissions are stored.</p>" |
| 8718 | + }, |
| 8719 | + "datasourceId":{ |
| 8720 | + "shape":"String", |
| 8721 | + "documentation":"<p>The identifier of the data source from which the document was ingested. This field is not present if the document is ingested by directly calling the BatchPutDocument API (similar to checkDocumentAccess). If the document is from a file-upload data source, the datasource will be \"uploaded-docs-file-stat-datasourceid\".</p>" |
8631 | 8722 | }
|
8632 | 8723 | },
|
8633 | 8724 | "documentation":"<p>The documents used to generate an Amazon Q Business web experience response.</p>"
|
|
0 commit comments