Skip to content

Commit f8ec34c

Browse files
author
AWS
committed
QBusiness Update: The Amazon Q Business GetDocumentContent operation now supports retrieval of the extracted text content in JSON format.
1 parent 5415d9c commit f8ec34c

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "QBusiness",
4+
"contributor": "",
5+
"description": "The Amazon Q Business GetDocumentContent operation now supports retrieval of the extracted text content in JSON format."
6+
}

services/qbusiness/src/main/resources/codegen-resources/service-2.json

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@
468468
"errors":[
469469
{"shape":"InternalServerException"},
470470
{"shape":"ResourceNotFoundException"},
471+
{"shape":"ConflictException"},
471472
{"shape":"LicenseNotFoundException"},
472473
{"shape":"ThrottlingException"},
473474
{"shape":"ValidationException"},
@@ -2558,7 +2559,7 @@
25582559
},
25592560
"documents":{
25602561
"shape":"Documents",
2561-
"documentation":"<p>One or more documents to add to the index.</p>"
2562+
"documentation":"<p>One or more documents to add to the index.</p> <important> <p>Ensure that the name of your document doesn't contain any confidential information. Amazon Q Business returns document names in chat responses and citations when relevant.</p> </important>"
25622563
},
25632564
"roleArn":{
25642565
"shape":"RoleArn",
@@ -2595,7 +2596,7 @@
25952596
"members":{
25962597
"blockedPhrases":{
25972598
"shape":"BlockedPhrases",
2598-
"documentation":"<p>A list of phrases blocked from a Amazon Q Business web experience chat.</p>"
2599+
"documentation":"<p>A list of phrases blocked from a Amazon Q Business web experience chat.</p> <note> <p>Each phrase can contain a maximum of 36 characters. The list can contain a maximum of 20 phrases.</p> </note>"
25992600
},
26002601
"systemMessageOverride":{
26012602
"shape":"SystemMessageOverride",
@@ -3520,7 +3521,7 @@
35203521
},
35213522
"roleArn":{
35223523
"shape":"RoleArn",
3523-
"documentation":"<p>The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.</p>"
3524+
"documentation":"<p>The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. This field is required for all connector types except custom connectors, where it is optional.</p>"
35243525
},
35253526
"clientToken":{
35263527
"shape":"ClientToken",
@@ -3833,7 +3834,7 @@
38333834
},
38343835
"roleArn":{
38353836
"shape":"RoleArn",
3836-
"documentation":"<p>The Amazon Resource Name (ARN) of the service role attached to your web experience.</p> <note> <p>You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.</p> </note>"
3837+
"documentation":"<p>The Amazon Resource Name (ARN) of the service role attached to your web experience.</p> <note> <p>The <code>roleArn</code> parameter is required when your Amazon Q Business application is created with IAM Identity Center. It is not required for SAML-based applications.</p> </note>"
38373838
},
38383839
"tags":{
38393840
"shape":"Tags",
@@ -5607,7 +5608,7 @@
56075608
},
56085609
"outputFormat":{
56095610
"shape":"OutputFormat",
5610-
"documentation":"<p>Raw document outputFormat.</p>",
5611+
"documentation":"<p>Document outputFormat. Defaults to RAW if not selected.</p>",
56115612
"location":"querystring",
56125613
"locationName":"outputFormat"
56135614
}
@@ -5626,7 +5627,7 @@
56265627
},
56275628
"mimeType":{
56285629
"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+
"documentation":"<p>The MIME type of the document content. When outputFormat is RAW, this corresponds to the original document's MIME type (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document). When outputFormat is EXTRACTED, the MIME type is always application/json.</p>"
56305631
}
56315632
}
56325633
},
@@ -7323,7 +7324,9 @@
73237324
},
73247325
"MaxResults":{
73257326
"type":"integer",
7326-
"box":true
7327+
"box":true,
7328+
"max":100,
7329+
"min":1
73277330
},
73287331
"MaxResultsIntegerForGetTopicConfigurations":{
73297332
"type":"integer",
@@ -7791,7 +7794,10 @@
77917794
},
77927795
"OutputFormat":{
77937796
"type":"string",
7794-
"enum":["RAW"]
7797+
"enum":[
7798+
"RAW",
7799+
"EXTRACTED"
7800+
]
77957801
},
77967802
"Payload":{
77977803
"type":"string",
@@ -8597,7 +8603,8 @@
85978603
"attributeFilter":{"shape":"AttributeFilter"},
85988604
"maxResults":{
85998605
"shape":"MaxResults",
8600-
"documentation":"<p>The maximum number of results to return.</p>"
8606+
"documentation":"<p>The maximum number of results to return.</p>",
8607+
"box":true
86018608
},
86028609
"nextToken":{
86038610
"shape":"NextToken",

0 commit comments

Comments
 (0)