Skip to content

Commit c6e210d

Browse files
author
AWS
committed
QBusiness Update: Adds support for the ingestion of audio and video files by Q Business, which can be configured with the mediaExtractionConfiguration parameter.
1 parent a7e6ac8 commit c6e210d

File tree

2 files changed

+161
-2
lines changed

2 files changed

+161
-2
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": "Adds support for the ingestion of audio and video files by Q Business, which can be configured with the mediaExtractionConfiguration parameter."
6+
}

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

Lines changed: 155 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,6 +2152,57 @@
21522152
"type":"string",
21532153
"enum":["DELETE"]
21542154
},
2155+
"AudioExtractionConfiguration":{
2156+
"type":"structure",
2157+
"required":["audioExtractionStatus"],
2158+
"members":{
2159+
"audioExtractionStatus":{
2160+
"shape":"AudioExtractionStatus",
2161+
"documentation":"<p>The status of audio extraction (ENABLED or DISABLED) for processing audio content from files.</p>"
2162+
}
2163+
},
2164+
"documentation":"<p>Configuration settings for audio content extraction and processing.</p>"
2165+
},
2166+
"AudioExtractionStatus":{
2167+
"type":"string",
2168+
"enum":[
2169+
"ENABLED",
2170+
"DISABLED"
2171+
]
2172+
},
2173+
"AudioExtractionType":{
2174+
"type":"string",
2175+
"enum":[
2176+
"TRANSCRIPT",
2177+
"SUMMARY"
2178+
]
2179+
},
2180+
"AudioSourceDetails":{
2181+
"type":"structure",
2182+
"members":{
2183+
"mediaId":{
2184+
"shape":"MediaId",
2185+
"documentation":"<p>Unique identifier for the audio media file.</p>"
2186+
},
2187+
"mediaMimeType":{
2188+
"shape":"String",
2189+
"documentation":"<p>The MIME type of the audio file (e.g., audio/mp3, audio/wav).</p>"
2190+
},
2191+
"startTimeMilliseconds":{
2192+
"shape":"Long",
2193+
"documentation":"<p>The starting timestamp in milliseconds for the relevant audio segment.</p>"
2194+
},
2195+
"endTimeMilliseconds":{
2196+
"shape":"Long",
2197+
"documentation":"<p>The ending timestamp in milliseconds for the relevant audio segment.</p>"
2198+
},
2199+
"audioExtractionType":{
2200+
"shape":"AudioExtractionType",
2201+
"documentation":"<p>The type of audio extraction performed on the content.</p>"
2202+
}
2203+
},
2204+
"documentation":"<p>Details about an audio source, including its identifier, format, and time information.</p>"
2205+
},
21552206
"AuthChallengeRequest":{
21562207
"type":"structure",
21572208
"required":["authorizationUrl"],
@@ -5469,6 +5520,20 @@
54695520
"DISABLED"
54705521
]
54715522
},
5523+
"ImageSourceDetails":{
5524+
"type":"structure",
5525+
"members":{
5526+
"mediaId":{
5527+
"shape":"MediaId",
5528+
"documentation":"<p>Unique identifier for the image file.</p>"
5529+
},
5530+
"mediaMimeType":{
5531+
"shape":"String",
5532+
"documentation":"<p>The MIME type of the image file.</p>"
5533+
}
5534+
},
5535+
"documentation":"<p>Details about an image source, including its identifier and format.</p>"
5536+
},
54725537
"Index":{
54735538
"type":"structure",
54745539
"members":{
@@ -6540,6 +6605,14 @@
65406605
"imageExtractionConfiguration":{
65416606
"shape":"ImageExtractionConfiguration",
65426607
"documentation":"<p>The configuration for extracting semantic meaning from images in documents. For more information, see <a href=\"https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/extracting-meaning-from-images.html\">Extracting semantic meaning from images and visuals</a>. </p>"
6608+
},
6609+
"audioExtractionConfiguration":{
6610+
"shape":"AudioExtractionConfiguration",
6611+
"documentation":"<p>Configuration settings for extracting and processing audio content from media files.</p>"
6612+
},
6613+
"videoExtractionConfiguration":{
6614+
"shape":"VideoExtractionConfiguration",
6615+
"documentation":"<p>Configuration settings for extracting and processing video content from media files.</p>"
65436616
}
65446617
},
65456618
"documentation":"<p>The configuration for extracting information from media in documents.</p>"
@@ -7725,6 +7798,25 @@
77257798
"type":"list",
77267799
"member":{"shape":"SourceAttribution"}
77277800
},
7801+
"SourceDetails":{
7802+
"type":"structure",
7803+
"members":{
7804+
"imageSourceDetails":{
7805+
"shape":"ImageSourceDetails",
7806+
"documentation":"<p>Details specific to image content within the source.</p>"
7807+
},
7808+
"audioSourceDetails":{
7809+
"shape":"AudioSourceDetails",
7810+
"documentation":"<p>Details specific to audio content within the source.</p>"
7811+
},
7812+
"videoSourceDetails":{
7813+
"shape":"VideoSourceDetails",
7814+
"documentation":"<p>Details specific to video content within the source.</p>"
7815+
}
7816+
},
7817+
"documentation":"<p>Container for details about different types of media sources (image, audio, or video).</p>",
7818+
"union":true
7819+
},
77287820
"StartDataSourceSyncJobRequest":{
77297821
"type":"structure",
77307822
"required":[
@@ -8086,11 +8178,21 @@
80868178
},
80878179
"mediaId":{
80888180
"shape":"SourceAttributionMediaId",
8089-
"documentation":"<p>The identifier of the media object associated with the text segment in the source attribution.</p>"
8181+
"documentation":"<p>The identifier of the media object associated with the text segment in the source attribution.</p>",
8182+
"deprecated":true,
8183+
"deprecatedMessage":"Deprecated in favor of using mediaId within the respective sourceDetails field.",
8184+
"deprecatedSince":"2025-02-28"
80908185
},
80918186
"mediaMimeType":{
80928187
"shape":"String",
8093-
"documentation":"<p>The MIME type (image/png) of the media object associated with the text segment in the source attribution.</p>"
8188+
"documentation":"<p>The MIME type (image/png) of the media object associated with the text segment in the source attribution.</p>",
8189+
"deprecated":true,
8190+
"deprecatedMessage":"Deprecated in favor of using mediaMimeType within the respective sourceDetails field.",
8191+
"deprecatedSince":"2025-02-28"
8192+
},
8193+
"sourceDetails":{
8194+
"shape":"SourceDetails",
8195+
"documentation":"<p>Source information for a segment of extracted text, including its media type.</p>"
80948196
}
80958197
},
80968198
"documentation":"<p>Provides information about a text extract in a chat response that can be attributed to a source document.</p>"
@@ -8775,6 +8877,57 @@
87758877
"UNKNOWN_OPERATION"
87768878
]
87778879
},
8880+
"VideoExtractionConfiguration":{
8881+
"type":"structure",
8882+
"required":["videoExtractionStatus"],
8883+
"members":{
8884+
"videoExtractionStatus":{
8885+
"shape":"VideoExtractionStatus",
8886+
"documentation":"<p>The status of video extraction (ENABLED or DISABLED) for processing video content from files.</p>"
8887+
}
8888+
},
8889+
"documentation":"<p>Configuration settings for video content extraction and processing.</p>"
8890+
},
8891+
"VideoExtractionStatus":{
8892+
"type":"string",
8893+
"enum":[
8894+
"ENABLED",
8895+
"DISABLED"
8896+
]
8897+
},
8898+
"VideoExtractionType":{
8899+
"type":"string",
8900+
"enum":[
8901+
"TRANSCRIPT",
8902+
"SUMMARY"
8903+
]
8904+
},
8905+
"VideoSourceDetails":{
8906+
"type":"structure",
8907+
"members":{
8908+
"mediaId":{
8909+
"shape":"MediaId",
8910+
"documentation":"<p>Unique identifier for the video media file.</p>"
8911+
},
8912+
"mediaMimeType":{
8913+
"shape":"String",
8914+
"documentation":"<p>The MIME type of the video file (e.g., video/mp4, video/avi).</p>"
8915+
},
8916+
"startTimeMilliseconds":{
8917+
"shape":"Long",
8918+
"documentation":"<p>The starting timestamp in milliseconds for the relevant video segment.</p>"
8919+
},
8920+
"endTimeMilliseconds":{
8921+
"shape":"Long",
8922+
"documentation":"<p>The ending timestamp in milliseconds for the relevant video segment.</p>"
8923+
},
8924+
"videoExtractionType":{
8925+
"shape":"VideoExtractionType",
8926+
"documentation":"<p>The type of video extraction performed on the content.</p>"
8927+
}
8928+
},
8929+
"documentation":"<p>Details about a video source, including its identifier, format, and time information.</p>"
8930+
},
87788931
"WebExperience":{
87798932
"type":"structure",
87808933
"members":{

0 commit comments

Comments
 (0)