aws-sdk-qbusiness 1.31.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5eb95e34f4785f7ccf72344be022086d9cfc855cdaa1a836e431b6716ddf65c
4
- data.tar.gz: da8eef57a9279cca95f82b2b8383597ce182347c38bd567c28b59ce9baa6be97
3
+ metadata.gz: d7ca69fcfdabe923948cab508f09271a5c51e9ca97b78a4ddb88d95162114b97
4
+ data.tar.gz: e74e4ad1c71d572c6c87ffea0faa26a76b2e4a6f1a3f38c45a3e914399b03565
5
5
  SHA512:
6
- metadata.gz: 24e0d77ad55dba1ff8c058e6ec88992b2ca59b763a71ac482e208ec29f0b2850b309f9181b76fa20d4a4ef042dfbb0dcad927b83987de6ab0caec395764cecdd
7
- data.tar.gz: d3d4c207226ddc6748fb0720ad84ccd1a751f2a69c8de8894add11c5922b1af015fd02a9ca914258fb4a15f9ecc1f5b0921deb14d447ddca9bee570313c47bb1
6
+ metadata.gz: b54b9ea47be30765b1ca0614918df26e538b0f982b6d8ea73a15265a5ad0210da163418eb4927eae93ab0ddeec44df191ce9d4f3aacd1d91ad13b9026461579b
7
+ data.tar.gz: 75ddcc1e0cb6a431cc31ddad224ed4edf7338de4ac72a9031c2fb26bc12392baeb1005bc3182f41a94a87ef3acf1a314e876af8b99abcc424580213c924eadba
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.32.0 (2025-03-03)
5
+ ------------------
6
+
7
+ * Feature - Adds support for the ingestion of audio and video files by Q Business, which can be configured with the mediaExtractionConfiguration parameter.
8
+
4
9
  1.31.0 (2025-02-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.32.0
@@ -550,6 +550,18 @@ module Aws::QBusiness
550
550
  # event.source_attributions[0].text_message_segments[0].snippet_excerpt.text #=> String
551
551
  # event.source_attributions[0].text_message_segments[0].media_id #=> String
552
552
  # event.source_attributions[0].text_message_segments[0].media_mime_type #=> String
553
+ # event.source_attributions[0].text_message_segments[0].source_details.image_source_details.media_id #=> String
554
+ # event.source_attributions[0].text_message_segments[0].source_details.image_source_details.media_mime_type #=> String
555
+ # event.source_attributions[0].text_message_segments[0].source_details.audio_source_details.media_id #=> String
556
+ # event.source_attributions[0].text_message_segments[0].source_details.audio_source_details.media_mime_type #=> String
557
+ # event.source_attributions[0].text_message_segments[0].source_details.audio_source_details.start_time_milliseconds #=> Integer
558
+ # event.source_attributions[0].text_message_segments[0].source_details.audio_source_details.end_time_milliseconds #=> Integer
559
+ # event.source_attributions[0].text_message_segments[0].source_details.audio_source_details.audio_extraction_type #=> String, one of "TRANSCRIPT", "SUMMARY"
560
+ # event.source_attributions[0].text_message_segments[0].source_details.video_source_details.media_id #=> String
561
+ # event.source_attributions[0].text_message_segments[0].source_details.video_source_details.media_mime_type #=> String
562
+ # event.source_attributions[0].text_message_segments[0].source_details.video_source_details.start_time_milliseconds #=> Integer
563
+ # event.source_attributions[0].text_message_segments[0].source_details.video_source_details.end_time_milliseconds #=> Integer
564
+ # event.source_attributions[0].text_message_segments[0].source_details.video_source_details.video_extraction_type #=> String, one of "TRANSCRIPT", "SUMMARY"
553
565
  # event.final_text_message #=> String
554
566
  #
555
567
  # For :action_review_event event available at #on_action_review_event_event callback and response eventstream enumerator:
@@ -630,7 +642,7 @@ module Aws::QBusiness
630
642
  tracer: tracer
631
643
  )
632
644
  context[:gem_name] = 'aws-sdk-qbusiness'
633
- context[:gem_version] = '1.31.0'
645
+ context[:gem_version] = '1.32.0'
634
646
  Seahorse::Client::Request.new(handlers, context)
635
647
  end
636
648
 
@@ -729,6 +729,12 @@ module Aws::QBusiness
729
729
  # image_extraction_configuration: {
730
730
  # image_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
731
731
  # },
732
+ # audio_extraction_configuration: {
733
+ # audio_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
734
+ # },
735
+ # video_extraction_configuration: {
736
+ # video_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
737
+ # },
732
738
  # },
733
739
  # },
734
740
  # ],
@@ -1037,6 +1043,18 @@ module Aws::QBusiness
1037
1043
  # resp.source_attributions[0].text_message_segments[0].snippet_excerpt.text #=> String
1038
1044
  # resp.source_attributions[0].text_message_segments[0].media_id #=> String
1039
1045
  # resp.source_attributions[0].text_message_segments[0].media_mime_type #=> String
1046
+ # resp.source_attributions[0].text_message_segments[0].source_details.image_source_details.media_id #=> String
1047
+ # resp.source_attributions[0].text_message_segments[0].source_details.image_source_details.media_mime_type #=> String
1048
+ # resp.source_attributions[0].text_message_segments[0].source_details.audio_source_details.media_id #=> String
1049
+ # resp.source_attributions[0].text_message_segments[0].source_details.audio_source_details.media_mime_type #=> String
1050
+ # resp.source_attributions[0].text_message_segments[0].source_details.audio_source_details.start_time_milliseconds #=> Integer
1051
+ # resp.source_attributions[0].text_message_segments[0].source_details.audio_source_details.end_time_milliseconds #=> Integer
1052
+ # resp.source_attributions[0].text_message_segments[0].source_details.audio_source_details.audio_extraction_type #=> String, one of "TRANSCRIPT", "SUMMARY"
1053
+ # resp.source_attributions[0].text_message_segments[0].source_details.video_source_details.media_id #=> String
1054
+ # resp.source_attributions[0].text_message_segments[0].source_details.video_source_details.media_mime_type #=> String
1055
+ # resp.source_attributions[0].text_message_segments[0].source_details.video_source_details.start_time_milliseconds #=> Integer
1056
+ # resp.source_attributions[0].text_message_segments[0].source_details.video_source_details.end_time_milliseconds #=> Integer
1057
+ # resp.source_attributions[0].text_message_segments[0].source_details.video_source_details.video_extraction_type #=> String, one of "TRANSCRIPT", "SUMMARY"
1040
1058
  # resp.failed_attachments #=> Array
1041
1059
  # resp.failed_attachments[0].name #=> String
1042
1060
  # resp.failed_attachments[0].status #=> String, one of "FAILED", "SUCCESS"
@@ -1558,6 +1576,12 @@ module Aws::QBusiness
1558
1576
  # image_extraction_configuration: {
1559
1577
  # image_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
1560
1578
  # },
1579
+ # audio_extraction_configuration: {
1580
+ # audio_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
1581
+ # },
1582
+ # video_extraction_configuration: {
1583
+ # video_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
1584
+ # },
1561
1585
  # },
1562
1586
  # })
1563
1587
  #
@@ -2837,6 +2861,8 @@ module Aws::QBusiness
2837
2861
  # resp.document_enrichment_configuration.post_extraction_hook_configuration.s3_bucket_name #=> String
2838
2862
  # resp.document_enrichment_configuration.post_extraction_hook_configuration.role_arn #=> String
2839
2863
  # resp.media_extraction_configuration.image_extraction_configuration.image_extraction_status #=> String, one of "ENABLED", "DISABLED"
2864
+ # resp.media_extraction_configuration.audio_extraction_configuration.audio_extraction_status #=> String, one of "ENABLED", "DISABLED"
2865
+ # resp.media_extraction_configuration.video_extraction_configuration.video_extraction_status #=> String, one of "ENABLED", "DISABLED"
2840
2866
  #
2841
2867
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/GetDataSource AWS API Documentation
2842
2868
  #
@@ -3876,6 +3902,18 @@ module Aws::QBusiness
3876
3902
  # resp.messages[0].source_attribution[0].text_message_segments[0].snippet_excerpt.text #=> String
3877
3903
  # resp.messages[0].source_attribution[0].text_message_segments[0].media_id #=> String
3878
3904
  # resp.messages[0].source_attribution[0].text_message_segments[0].media_mime_type #=> String
3905
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.image_source_details.media_id #=> String
3906
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.image_source_details.media_mime_type #=> String
3907
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.audio_source_details.media_id #=> String
3908
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.audio_source_details.media_mime_type #=> String
3909
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.audio_source_details.start_time_milliseconds #=> Integer
3910
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.audio_source_details.end_time_milliseconds #=> Integer
3911
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.audio_source_details.audio_extraction_type #=> String, one of "TRANSCRIPT", "SUMMARY"
3912
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.video_source_details.media_id #=> String
3913
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.video_source_details.media_mime_type #=> String
3914
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.video_source_details.start_time_milliseconds #=> Integer
3915
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.video_source_details.end_time_milliseconds #=> Integer
3916
+ # resp.messages[0].source_attribution[0].text_message_segments[0].source_details.video_source_details.video_extraction_type #=> String, one of "TRANSCRIPT", "SUMMARY"
3879
3917
  # resp.messages[0].action_review.plugin_id #=> String
3880
3918
  # resp.messages[0].action_review.plugin_type #=> String, one of "SERVICE_NOW", "SALESFORCE", "JIRA", "ZENDESK", "CUSTOM", "QUICKSIGHT", "SERVICENOW_NOW_PLATFORM", "JIRA_CLOUD", "SALESFORCE_CRM", "ZENDESK_SUITE", "ATLASSIAN_CONFLUENCE", "GOOGLE_CALENDAR", "MICROSOFT_TEAMS", "MICROSOFT_EXCHANGE", "PAGERDUTY_ADVANCE", "SMARTSHEET", "ASANA"
3881
3919
  # resp.messages[0].action_review.payload #=> Hash
@@ -5185,6 +5223,12 @@ module Aws::QBusiness
5185
5223
  # image_extraction_configuration: {
5186
5224
  # image_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
5187
5225
  # },
5226
+ # audio_extraction_configuration: {
5227
+ # audio_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
5228
+ # },
5229
+ # video_extraction_configuration: {
5230
+ # video_extraction_status: "ENABLED", # required, accepts ENABLED, DISABLED
5231
+ # },
5188
5232
  # },
5189
5233
  # })
5190
5234
  #
@@ -5646,7 +5690,7 @@ module Aws::QBusiness
5646
5690
  tracer: tracer
5647
5691
  )
5648
5692
  context[:gem_name] = 'aws-sdk-qbusiness'
5649
- context[:gem_version] = '1.31.0'
5693
+ context[:gem_version] = '1.32.0'
5650
5694
  Seahorse::Client::Request.new(handlers, context)
5651
5695
  end
5652
5696
 
@@ -68,6 +68,10 @@ module Aws::QBusiness
68
68
  AttributeFilters = Shapes::ListShape.new(name: 'AttributeFilters')
69
69
  AttributeType = Shapes::StringShape.new(name: 'AttributeType')
70
70
  AttributeValueOperator = Shapes::StringShape.new(name: 'AttributeValueOperator')
71
+ AudioExtractionConfiguration = Shapes::StructureShape.new(name: 'AudioExtractionConfiguration')
72
+ AudioExtractionStatus = Shapes::StringShape.new(name: 'AudioExtractionStatus')
73
+ AudioExtractionType = Shapes::StringShape.new(name: 'AudioExtractionType')
74
+ AudioSourceDetails = Shapes::StructureShape.new(name: 'AudioSourceDetails')
71
75
  AuthChallengeRequest = Shapes::StructureShape.new(name: 'AuthChallengeRequest')
72
76
  AuthChallengeRequestEvent = Shapes::StructureShape.new(name: 'AuthChallengeRequestEvent')
73
77
  AuthChallengeResponse = Shapes::StructureShape.new(name: 'AuthChallengeResponse')
@@ -271,6 +275,7 @@ module Aws::QBusiness
271
275
  IdentityType = Shapes::StringShape.new(name: 'IdentityType')
272
276
  ImageExtractionConfiguration = Shapes::StructureShape.new(name: 'ImageExtractionConfiguration')
273
277
  ImageExtractionStatus = Shapes::StringShape.new(name: 'ImageExtractionStatus')
278
+ ImageSourceDetails = Shapes::StructureShape.new(name: 'ImageSourceDetails')
274
279
  Index = Shapes::StructureShape.new(name: 'Index')
275
280
  IndexArn = Shapes::StringShape.new(name: 'IndexArn')
276
281
  IndexCapacityConfiguration = Shapes::StructureShape.new(name: 'IndexCapacityConfiguration')
@@ -452,6 +457,7 @@ module Aws::QBusiness
452
457
  SourceAttribution = Shapes::StructureShape.new(name: 'SourceAttribution')
453
458
  SourceAttributionMediaId = Shapes::StringShape.new(name: 'SourceAttributionMediaId')
454
459
  SourceAttributions = Shapes::ListShape.new(name: 'SourceAttributions')
460
+ SourceDetails = Shapes::UnionShape.new(name: 'SourceDetails')
455
461
  StartDataSourceSyncJobRequest = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobRequest')
456
462
  StartDataSourceSyncJobResponse = Shapes::StructureShape.new(name: 'StartDataSourceSyncJobResponse')
457
463
  StatementId = Shapes::StringShape.new(name: 'StatementId')
@@ -529,6 +535,10 @@ module Aws::QBusiness
529
535
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
530
536
  ValidationExceptionFields = Shapes::ListShape.new(name: 'ValidationExceptionFields')
531
537
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
538
+ VideoExtractionConfiguration = Shapes::StructureShape.new(name: 'VideoExtractionConfiguration')
539
+ VideoExtractionStatus = Shapes::StringShape.new(name: 'VideoExtractionStatus')
540
+ VideoExtractionType = Shapes::StringShape.new(name: 'VideoExtractionType')
541
+ VideoSourceDetails = Shapes::StructureShape.new(name: 'VideoSourceDetails')
532
542
  WebExperience = Shapes::StructureShape.new(name: 'WebExperience')
533
543
  WebExperienceArn = Shapes::StringShape.new(name: 'WebExperienceArn')
534
544
  WebExperienceAuthConfiguration = Shapes::UnionShape.new(name: 'WebExperienceAuthConfiguration')
@@ -709,6 +719,16 @@ module Aws::QBusiness
709
719
 
710
720
  AttributeFilters.member = Shapes::ShapeRef.new(shape: AttributeFilter)
711
721
 
722
+ AudioExtractionConfiguration.add_member(:audio_extraction_status, Shapes::ShapeRef.new(shape: AudioExtractionStatus, required: true, location_name: "audioExtractionStatus"))
723
+ AudioExtractionConfiguration.struct_class = Types::AudioExtractionConfiguration
724
+
725
+ AudioSourceDetails.add_member(:media_id, Shapes::ShapeRef.new(shape: MediaId, location_name: "mediaId"))
726
+ AudioSourceDetails.add_member(:media_mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mediaMimeType"))
727
+ AudioSourceDetails.add_member(:start_time_milliseconds, Shapes::ShapeRef.new(shape: Long, location_name: "startTimeMilliseconds"))
728
+ AudioSourceDetails.add_member(:end_time_milliseconds, Shapes::ShapeRef.new(shape: Long, location_name: "endTimeMilliseconds"))
729
+ AudioSourceDetails.add_member(:audio_extraction_type, Shapes::ShapeRef.new(shape: AudioExtractionType, location_name: "audioExtractionType"))
730
+ AudioSourceDetails.struct_class = Types::AudioSourceDetails
731
+
712
732
  AuthChallengeRequest.add_member(:authorization_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "authorizationUrl"))
713
733
  AuthChallengeRequest.struct_class = Types::AuthChallengeRequest
714
734
 
@@ -1504,6 +1524,10 @@ module Aws::QBusiness
1504
1524
  ImageExtractionConfiguration.add_member(:image_extraction_status, Shapes::ShapeRef.new(shape: ImageExtractionStatus, required: true, location_name: "imageExtractionStatus"))
1505
1525
  ImageExtractionConfiguration.struct_class = Types::ImageExtractionConfiguration
1506
1526
 
1527
+ ImageSourceDetails.add_member(:media_id, Shapes::ShapeRef.new(shape: MediaId, location_name: "mediaId"))
1528
+ ImageSourceDetails.add_member(:media_mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mediaMimeType"))
1529
+ ImageSourceDetails.struct_class = Types::ImageSourceDetails
1530
+
1507
1531
  Index.add_member(:display_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "displayName"))
1508
1532
  Index.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, location_name: "indexId"))
1509
1533
  Index.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
@@ -1712,6 +1736,8 @@ module Aws::QBusiness
1712
1736
  ListWebExperiencesResponse.struct_class = Types::ListWebExperiencesResponse
1713
1737
 
1714
1738
  MediaExtractionConfiguration.add_member(:image_extraction_configuration, Shapes::ShapeRef.new(shape: ImageExtractionConfiguration, location_name: "imageExtractionConfiguration"))
1739
+ MediaExtractionConfiguration.add_member(:audio_extraction_configuration, Shapes::ShapeRef.new(shape: AudioExtractionConfiguration, location_name: "audioExtractionConfiguration"))
1740
+ MediaExtractionConfiguration.add_member(:video_extraction_configuration, Shapes::ShapeRef.new(shape: VideoExtractionConfiguration, location_name: "videoExtractionConfiguration"))
1715
1741
  MediaExtractionConfiguration.struct_class = Types::MediaExtractionConfiguration
1716
1742
 
1717
1743
  MediaTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
@@ -1958,6 +1984,16 @@ module Aws::QBusiness
1958
1984
 
1959
1985
  SourceAttributions.member = Shapes::ShapeRef.new(shape: SourceAttribution)
1960
1986
 
1987
+ SourceDetails.add_member(:image_source_details, Shapes::ShapeRef.new(shape: ImageSourceDetails, location_name: "imageSourceDetails"))
1988
+ SourceDetails.add_member(:audio_source_details, Shapes::ShapeRef.new(shape: AudioSourceDetails, location_name: "audioSourceDetails"))
1989
+ SourceDetails.add_member(:video_source_details, Shapes::ShapeRef.new(shape: VideoSourceDetails, location_name: "videoSourceDetails"))
1990
+ SourceDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1991
+ SourceDetails.add_member_subclass(:image_source_details, Types::SourceDetails::ImageSourceDetails)
1992
+ SourceDetails.add_member_subclass(:audio_source_details, Types::SourceDetails::AudioSourceDetails)
1993
+ SourceDetails.add_member_subclass(:video_source_details, Types::SourceDetails::VideoSourceDetails)
1994
+ SourceDetails.add_member_subclass(:unknown, Types::SourceDetails::Unknown)
1995
+ SourceDetails.struct_class = Types::SourceDetails
1996
+
1961
1997
  StartDataSourceSyncJobRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location: "uri", location_name: "dataSourceId"))
1962
1998
  StartDataSourceSyncJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
1963
1999
  StartDataSourceSyncJobRequest.add_member(:index_id, Shapes::ShapeRef.new(shape: IndexId, required: true, location: "uri", location_name: "indexId"))
@@ -2035,8 +2071,9 @@ module Aws::QBusiness
2035
2071
  TextSegment.add_member(:begin_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "beginOffset"))
2036
2072
  TextSegment.add_member(:end_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "endOffset"))
2037
2073
  TextSegment.add_member(:snippet_excerpt, Shapes::ShapeRef.new(shape: SnippetExcerpt, location_name: "snippetExcerpt"))
2038
- TextSegment.add_member(:media_id, Shapes::ShapeRef.new(shape: SourceAttributionMediaId, location_name: "mediaId"))
2039
- TextSegment.add_member(:media_mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mediaMimeType"))
2074
+ TextSegment.add_member(:media_id, Shapes::ShapeRef.new(shape: SourceAttributionMediaId, deprecated: true, location_name: "mediaId", metadata: {"deprecatedMessage"=>"Deprecated in favor of using mediaId within the respective sourceDetails field.", "deprecatedSince"=>"2025-02-28"}))
2075
+ TextSegment.add_member(:media_mime_type, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "mediaMimeType", metadata: {"deprecatedMessage"=>"Deprecated in favor of using mediaMimeType within the respective sourceDetails field.", "deprecatedSince"=>"2025-02-28"}))
2076
+ TextSegment.add_member(:source_details, Shapes::ShapeRef.new(shape: SourceDetails, location_name: "sourceDetails"))
2040
2077
  TextSegment.struct_class = Types::TextSegment
2041
2078
 
2042
2079
  TextSegmentList.member = Shapes::ShapeRef.new(shape: TextSegment)
@@ -2199,6 +2236,16 @@ module Aws::QBusiness
2199
2236
 
2200
2237
  ValidationExceptionFields.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
2201
2238
 
2239
+ VideoExtractionConfiguration.add_member(:video_extraction_status, Shapes::ShapeRef.new(shape: VideoExtractionStatus, required: true, location_name: "videoExtractionStatus"))
2240
+ VideoExtractionConfiguration.struct_class = Types::VideoExtractionConfiguration
2241
+
2242
+ VideoSourceDetails.add_member(:media_id, Shapes::ShapeRef.new(shape: MediaId, location_name: "mediaId"))
2243
+ VideoSourceDetails.add_member(:media_mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mediaMimeType"))
2244
+ VideoSourceDetails.add_member(:start_time_milliseconds, Shapes::ShapeRef.new(shape: Long, location_name: "startTimeMilliseconds"))
2245
+ VideoSourceDetails.add_member(:end_time_milliseconds, Shapes::ShapeRef.new(shape: Long, location_name: "endTimeMilliseconds"))
2246
+ VideoSourceDetails.add_member(:video_extraction_type, Shapes::ShapeRef.new(shape: VideoExtractionType, location_name: "videoExtractionType"))
2247
+ VideoSourceDetails.struct_class = Types::VideoSourceDetails
2248
+
2202
2249
  WebExperience.add_member(:web_experience_id, Shapes::ShapeRef.new(shape: WebExperienceId, location_name: "webExperienceId"))
2203
2250
  WebExperience.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
2204
2251
  WebExperience.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
@@ -835,6 +835,57 @@ module Aws::QBusiness
835
835
  include Aws::Structure
836
836
  end
837
837
 
838
+ # Configuration settings for audio content extraction and processing.
839
+ #
840
+ # @!attribute [rw] audio_extraction_status
841
+ # The status of audio extraction (ENABLED or DISABLED) for processing
842
+ # audio content from files.
843
+ # @return [String]
844
+ #
845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/AudioExtractionConfiguration AWS API Documentation
846
+ #
847
+ class AudioExtractionConfiguration < Struct.new(
848
+ :audio_extraction_status)
849
+ SENSITIVE = []
850
+ include Aws::Structure
851
+ end
852
+
853
+ # Details about an audio source, including its identifier, format, and
854
+ # time information.
855
+ #
856
+ # @!attribute [rw] media_id
857
+ # Unique identifier for the audio media file.
858
+ # @return [String]
859
+ #
860
+ # @!attribute [rw] media_mime_type
861
+ # The MIME type of the audio file (e.g., audio/mp3, audio/wav).
862
+ # @return [String]
863
+ #
864
+ # @!attribute [rw] start_time_milliseconds
865
+ # The starting timestamp in milliseconds for the relevant audio
866
+ # segment.
867
+ # @return [Integer]
868
+ #
869
+ # @!attribute [rw] end_time_milliseconds
870
+ # The ending timestamp in milliseconds for the relevant audio segment.
871
+ # @return [Integer]
872
+ #
873
+ # @!attribute [rw] audio_extraction_type
874
+ # The type of audio extraction performed on the content.
875
+ # @return [String]
876
+ #
877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/AudioSourceDetails AWS API Documentation
878
+ #
879
+ class AudioSourceDetails < Struct.new(
880
+ :media_id,
881
+ :media_mime_type,
882
+ :start_time_milliseconds,
883
+ :end_time_milliseconds,
884
+ :audio_extraction_type)
885
+ SENSITIVE = []
886
+ include Aws::Structure
887
+ end
888
+
838
889
  # A request made by Amazon Q Business to a third paty authentication
839
890
  # server to authenticate a custom plugin user.
840
891
  #
@@ -4828,6 +4879,25 @@ module Aws::QBusiness
4828
4879
  include Aws::Structure
4829
4880
  end
4830
4881
 
4882
+ # Details about an image source, including its identifier and format.
4883
+ #
4884
+ # @!attribute [rw] media_id
4885
+ # Unique identifier for the image file.
4886
+ # @return [String]
4887
+ #
4888
+ # @!attribute [rw] media_mime_type
4889
+ # The MIME type of the image file.
4890
+ # @return [String]
4891
+ #
4892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ImageSourceDetails AWS API Documentation
4893
+ #
4894
+ class ImageSourceDetails < Struct.new(
4895
+ :media_id,
4896
+ :media_mime_type)
4897
+ SENSITIVE = []
4898
+ include Aws::Structure
4899
+ end
4900
+
4831
4901
  # Summary information for your Amazon Q Business index.
4832
4902
  #
4833
4903
  # @!attribute [rw] display_name
@@ -5895,10 +5965,22 @@ module Aws::QBusiness
5895
5965
  # [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/extracting-meaning-from-images.html
5896
5966
  # @return [Types::ImageExtractionConfiguration]
5897
5967
  #
5968
+ # @!attribute [rw] audio_extraction_configuration
5969
+ # Configuration settings for extracting and processing audio content
5970
+ # from media files.
5971
+ # @return [Types::AudioExtractionConfiguration]
5972
+ #
5973
+ # @!attribute [rw] video_extraction_configuration
5974
+ # Configuration settings for extracting and processing video content
5975
+ # from media files.
5976
+ # @return [Types::VideoExtractionConfiguration]
5977
+ #
5898
5978
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/MediaExtractionConfiguration AWS API Documentation
5899
5979
  #
5900
5980
  class MediaExtractionConfiguration < Struct.new(
5901
- :image_extraction_configuration)
5981
+ :image_extraction_configuration,
5982
+ :audio_extraction_configuration,
5983
+ :video_extraction_configuration)
5902
5984
  SENSITIVE = []
5903
5985
  include Aws::Structure
5904
5986
  end
@@ -7040,6 +7122,40 @@ module Aws::QBusiness
7040
7122
  include Aws::Structure
7041
7123
  end
7042
7124
 
7125
+ # Container for details about different types of media sources (image,
7126
+ # audio, or video).
7127
+ #
7128
+ # @note SourceDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SourceDetails corresponding to the set member.
7129
+ #
7130
+ # @!attribute [rw] image_source_details
7131
+ # Details specific to image content within the source.
7132
+ # @return [Types::ImageSourceDetails]
7133
+ #
7134
+ # @!attribute [rw] audio_source_details
7135
+ # Details specific to audio content within the source.
7136
+ # @return [Types::AudioSourceDetails]
7137
+ #
7138
+ # @!attribute [rw] video_source_details
7139
+ # Details specific to video content within the source.
7140
+ # @return [Types::VideoSourceDetails]
7141
+ #
7142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/SourceDetails AWS API Documentation
7143
+ #
7144
+ class SourceDetails < Struct.new(
7145
+ :image_source_details,
7146
+ :audio_source_details,
7147
+ :video_source_details,
7148
+ :unknown)
7149
+ SENSITIVE = []
7150
+ include Aws::Structure
7151
+ include Aws::Structure::Union
7152
+
7153
+ class ImageSourceDetails < SourceDetails; end
7154
+ class AudioSourceDetails < SourceDetails; end
7155
+ class VideoSourceDetails < SourceDetails; end
7156
+ class Unknown < SourceDetails; end
7157
+ end
7158
+
7043
7159
  # @!attribute [rw] data_source_id
7044
7160
  # The identifier of the data source connector.
7045
7161
  # @return [String]
@@ -7411,6 +7527,11 @@ module Aws::QBusiness
7411
7527
  # text segment in the source attribution.
7412
7528
  # @return [String]
7413
7529
  #
7530
+ # @!attribute [rw] source_details
7531
+ # Source information for a segment of extracted text, including its
7532
+ # media type.
7533
+ # @return [Types::SourceDetails]
7534
+ #
7414
7535
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/TextSegment AWS API Documentation
7415
7536
  #
7416
7537
  class TextSegment < Struct.new(
@@ -7418,7 +7539,8 @@ module Aws::QBusiness
7418
7539
  :end_offset,
7419
7540
  :snippet_excerpt,
7420
7541
  :media_id,
7421
- :media_mime_type)
7542
+ :media_mime_type,
7543
+ :source_details)
7422
7544
  SENSITIVE = []
7423
7545
  include Aws::Structure
7424
7546
  end
@@ -8153,6 +8275,57 @@ module Aws::QBusiness
8153
8275
  include Aws::Structure
8154
8276
  end
8155
8277
 
8278
+ # Configuration settings for video content extraction and processing.
8279
+ #
8280
+ # @!attribute [rw] video_extraction_status
8281
+ # The status of video extraction (ENABLED or DISABLED) for processing
8282
+ # video content from files.
8283
+ # @return [String]
8284
+ #
8285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/VideoExtractionConfiguration AWS API Documentation
8286
+ #
8287
+ class VideoExtractionConfiguration < Struct.new(
8288
+ :video_extraction_status)
8289
+ SENSITIVE = []
8290
+ include Aws::Structure
8291
+ end
8292
+
8293
+ # Details about a video source, including its identifier, format, and
8294
+ # time information.
8295
+ #
8296
+ # @!attribute [rw] media_id
8297
+ # Unique identifier for the video media file.
8298
+ # @return [String]
8299
+ #
8300
+ # @!attribute [rw] media_mime_type
8301
+ # The MIME type of the video file (e.g., video/mp4, video/avi).
8302
+ # @return [String]
8303
+ #
8304
+ # @!attribute [rw] start_time_milliseconds
8305
+ # The starting timestamp in milliseconds for the relevant video
8306
+ # segment.
8307
+ # @return [Integer]
8308
+ #
8309
+ # @!attribute [rw] end_time_milliseconds
8310
+ # The ending timestamp in milliseconds for the relevant video segment.
8311
+ # @return [Integer]
8312
+ #
8313
+ # @!attribute [rw] video_extraction_type
8314
+ # The type of video extraction performed on the content.
8315
+ # @return [String]
8316
+ #
8317
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/VideoSourceDetails AWS API Documentation
8318
+ #
8319
+ class VideoSourceDetails < Struct.new(
8320
+ :media_id,
8321
+ :media_mime_type,
8322
+ :start_time_milliseconds,
8323
+ :end_time_milliseconds,
8324
+ :video_extraction_type)
8325
+ SENSITIVE = []
8326
+ include Aws::Structure
8327
+ end
8328
+
8156
8329
  # Provides information for an Amazon Q Business web experience.
8157
8330
  #
8158
8331
  # @!attribute [rw] web_experience_id
@@ -57,7 +57,7 @@ module Aws::QBusiness
57
57
  autoload :AsyncClient, 'aws-sdk-qbusiness/async_client'
58
58
  autoload :EventStreams, 'aws-sdk-qbusiness/event_streams'
59
59
 
60
- GEM_VERSION = '1.31.0'
60
+ GEM_VERSION = '1.32.0'
61
61
 
62
62
  end
63
63
 
data/sig/client.rbs CHANGED
@@ -223,6 +223,12 @@ module Aws
223
223
  media_extraction_configuration: {
224
224
  image_extraction_configuration: {
225
225
  image_extraction_status: ("ENABLED" | "DISABLED")
226
+ }?,
227
+ audio_extraction_configuration: {
228
+ audio_extraction_status: ("ENABLED" | "DISABLED")
229
+ }?,
230
+ video_extraction_configuration: {
231
+ video_extraction_status: ("ENABLED" | "DISABLED")
226
232
  }?
227
233
  }?
228
234
  },
@@ -610,6 +616,12 @@ module Aws
610
616
  ?media_extraction_configuration: {
611
617
  image_extraction_configuration: {
612
618
  image_extraction_status: ("ENABLED" | "DISABLED")
619
+ }?,
620
+ audio_extraction_configuration: {
621
+ audio_extraction_status: ("ENABLED" | "DISABLED")
622
+ }?,
623
+ video_extraction_configuration: {
624
+ video_extraction_status: ("ENABLED" | "DISABLED")
613
625
  }?
614
626
  }
615
627
  ) -> _CreateDataSourceResponseSuccess
@@ -1894,6 +1906,12 @@ module Aws
1894
1906
  ?media_extraction_configuration: {
1895
1907
  image_extraction_configuration: {
1896
1908
  image_extraction_status: ("ENABLED" | "DISABLED")
1909
+ }?,
1910
+ audio_extraction_configuration: {
1911
+ audio_extraction_status: ("ENABLED" | "DISABLED")
1912
+ }?,
1913
+ video_extraction_configuration: {
1914
+ video_extraction_status: ("ENABLED" | "DISABLED")
1897
1915
  }?
1898
1916
  }
1899
1917
  ) -> _UpdateDataSourceResponseSuccess
data/sig/types.rbs CHANGED
@@ -211,6 +211,20 @@ module Aws::QBusiness
211
211
  SENSITIVE: []
212
212
  end
213
213
 
214
+ class AudioExtractionConfiguration
215
+ attr_accessor audio_extraction_status: ("ENABLED" | "DISABLED")
216
+ SENSITIVE: []
217
+ end
218
+
219
+ class AudioSourceDetails
220
+ attr_accessor media_id: ::String
221
+ attr_accessor media_mime_type: ::String
222
+ attr_accessor start_time_milliseconds: ::Integer
223
+ attr_accessor end_time_milliseconds: ::Integer
224
+ attr_accessor audio_extraction_type: ("TRANSCRIPT" | "SUMMARY")
225
+ SENSITIVE: []
226
+ end
227
+
214
228
  class AuthChallengeRequest
215
229
  attr_accessor authorization_url: ::String
216
230
  SENSITIVE: []
@@ -1221,6 +1235,12 @@ module Aws::QBusiness
1221
1235
  SENSITIVE: []
1222
1236
  end
1223
1237
 
1238
+ class ImageSourceDetails
1239
+ attr_accessor media_id: ::String
1240
+ attr_accessor media_mime_type: ::String
1241
+ SENSITIVE: []
1242
+ end
1243
+
1224
1244
  class Index
1225
1245
  attr_accessor display_name: ::String
1226
1246
  attr_accessor index_id: ::String
@@ -1510,6 +1530,8 @@ module Aws::QBusiness
1510
1530
 
1511
1531
  class MediaExtractionConfiguration
1512
1532
  attr_accessor image_extraction_configuration: Types::ImageExtractionConfiguration
1533
+ attr_accessor audio_extraction_configuration: Types::AudioExtractionConfiguration
1534
+ attr_accessor video_extraction_configuration: Types::VideoExtractionConfiguration
1513
1535
  SENSITIVE: []
1514
1536
  end
1515
1537
 
@@ -1834,6 +1856,23 @@ module Aws::QBusiness
1834
1856
  SENSITIVE: []
1835
1857
  end
1836
1858
 
1859
+ class SourceDetails
1860
+ attr_accessor image_source_details: Types::ImageSourceDetails
1861
+ attr_accessor audio_source_details: Types::AudioSourceDetails
1862
+ attr_accessor video_source_details: Types::VideoSourceDetails
1863
+ attr_accessor unknown: untyped
1864
+ SENSITIVE: []
1865
+
1866
+ class ImageSourceDetails < SourceDetails
1867
+ end
1868
+ class AudioSourceDetails < SourceDetails
1869
+ end
1870
+ class VideoSourceDetails < SourceDetails
1871
+ end
1872
+ class Unknown < SourceDetails
1873
+ end
1874
+ end
1875
+
1837
1876
  class StartDataSourceSyncJobRequest
1838
1877
  attr_accessor data_source_id: ::String
1839
1878
  attr_accessor application_id: ::String
@@ -1937,6 +1976,7 @@ module Aws::QBusiness
1937
1976
  attr_accessor snippet_excerpt: Types::SnippetExcerpt
1938
1977
  attr_accessor media_id: ::String
1939
1978
  attr_accessor media_mime_type: ::String
1979
+ attr_accessor source_details: Types::SourceDetails
1940
1980
  SENSITIVE: []
1941
1981
  end
1942
1982
 
@@ -2135,6 +2175,20 @@ module Aws::QBusiness
2135
2175
  SENSITIVE: []
2136
2176
  end
2137
2177
 
2178
+ class VideoExtractionConfiguration
2179
+ attr_accessor video_extraction_status: ("ENABLED" | "DISABLED")
2180
+ SENSITIVE: []
2181
+ end
2182
+
2183
+ class VideoSourceDetails
2184
+ attr_accessor media_id: ::String
2185
+ attr_accessor media_mime_type: ::String
2186
+ attr_accessor start_time_milliseconds: ::Integer
2187
+ attr_accessor end_time_milliseconds: ::Integer
2188
+ attr_accessor video_extraction_type: ("TRANSCRIPT" | "SUMMARY")
2189
+ SENSITIVE: []
2190
+ end
2191
+
2138
2192
  class WebExperience
2139
2193
  attr_accessor web_experience_id: ::String
2140
2194
  attr_accessor created_at: ::Time
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-qbusiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-27 00:00:00.000000000 Z
11
+ date: 2025-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core