aws-sdk-lexmodelsv2 1.89.0 → 1.90.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: 538d8fd77294d0c7a376f6bc0411eecd5848b386d9e5fbe18861fef496ba8bd2
4
- data.tar.gz: cc2c6f9be7bf3178fd3d6750e3ea05b5a4c47c33bcaede26eba6471d007cd691
3
+ metadata.gz: 6f0ad5e6ba379c38d343399ab87c76b26c51259abff45553ac56912023444e98
4
+ data.tar.gz: b8e45ebed075dea0ce822639372256d5f14cb2a0595970ece871b7ec0960e48f
5
5
  SHA512:
6
- metadata.gz: d8df219cb0253b74f2ca0d74330d13dded5c611dba5355e9520c61114fe106a86e9dcdf010d72c8fb72559df41e9b8f108735a74316d3070b86511f5f1b521d5
7
- data.tar.gz: 285365e80f402d056e25df33aad2213dfdc7ec10707aa22312285124b3bb27bb870a9f44688242929fc714709288ba605b7f183be0468cb7d7b6fab2218c3140
6
+ metadata.gz: a41fbf7881db8372d7738ece09e24477bb1d391a2e5f9592cad01f3e94150de4a4043390b90be2d0fb9755e4469ffdd90acf0462c9cd06efccee753f8550d6d6
7
+ data.tar.gz: 10dc16caf597003cd7fc7782f3020b501c80d3c499af585728c1a9d9920ef1a56d18fe0c69751a6375c088191de1c278acf9f7e2d647776cfdb88ddf9507eb9a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.90.0 (2026-05-06)
5
+ ------------------
6
+
7
+ * Feature - Amazon Lex V2 introduces audio filler support for speech-to-speech bots. Configure melody or typing sounds that play during backend processing to reduce perceived latency and maintain a natural conversational experience for callers.
8
+
4
9
  1.89.0 (2026-03-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.89.0
1
+ 1.90.0
@@ -1077,6 +1077,13 @@ module Aws::LexModelsV2
1077
1077
  # @option params [Types::UnifiedSpeechSettings] :unified_speech_settings
1078
1078
  # Unified speech settings to configure for the new bot locale.
1079
1079
  #
1080
+ # @option params [Types::AudioFillerSettings] :audio_filler_settings
1081
+ # Audio filler settings to configure for the new bot locale. When
1082
+ # enabled, Amazon Lex plays a brief background audio filler during
1083
+ # speech-to-speech interactions to mask processing delays. Requires
1084
+ # `unifiedSpeechSettings` (speech-to-speech) to be configured on the bot
1085
+ # locale.
1086
+ #
1080
1087
  # @option params [Types::SpeechRecognitionSettings] :speech_recognition_settings
1081
1088
  # Speech-to-text settings to configure for the new bot locale.
1082
1089
  #
@@ -1100,6 +1107,7 @@ module Aws::LexModelsV2
1100
1107
  # * {Types::CreateBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
1101
1108
  # * {Types::CreateBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
1102
1109
  # * {Types::CreateBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
1110
+ # * {Types::CreateBotLocaleResponse#audio_filler_settings #audio_filler_settings} => Types::AudioFillerSettings
1103
1111
  # * {Types::CreateBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
1104
1112
  # * {Types::CreateBotLocaleResponse#bot_locale_status #bot_locale_status} => String
1105
1113
  # * {Types::CreateBotLocaleResponse#creation_date_time #creation_date_time} => Time
@@ -1124,6 +1132,13 @@ module Aws::LexModelsV2
1124
1132
  # voice_id: "VoiceId",
1125
1133
  # },
1126
1134
  # },
1135
+ # audio_filler_settings: {
1136
+ # enabled: false,
1137
+ # audio_type: "MELODY_CHIPPER_CHIME", # accepts MELODY_CHIPPER_CHIME, MELODY_CURIOUS_CRAWL, MELODY_RISING_RIPPLE, MELODY_PATIENT_PING, MELODY_PONDERING_PONG, TYPING_KINETIC_KEYS, TYPING_QUIET_QWERTY
1138
+ # start_delay_in_milliseconds: 1,
1139
+ # minimum_play_duration_in_milliseconds: 1,
1140
+ # response_delivery_delay_in_milliseconds: 1,
1141
+ # },
1127
1142
  # speech_recognition_settings: {
1128
1143
  # speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
1129
1144
  # speech_model_config: {
@@ -1199,6 +1214,11 @@ module Aws::LexModelsV2
1199
1214
  # resp.voice_settings.voice_id #=> String
1200
1215
  # resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
1201
1216
  # resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
1217
+ # resp.audio_filler_settings.enabled #=> Boolean
1218
+ # resp.audio_filler_settings.audio_type #=> String, one of "MELODY_CHIPPER_CHIME", "MELODY_CURIOUS_CRAWL", "MELODY_RISING_RIPPLE", "MELODY_PATIENT_PING", "MELODY_PONDERING_PONG", "TYPING_KINETIC_KEYS", "TYPING_QUIET_QWERTY"
1219
+ # resp.audio_filler_settings.start_delay_in_milliseconds #=> Integer
1220
+ # resp.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
1221
+ # resp.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
1202
1222
  # resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
1203
1223
  # resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
1204
1224
  # resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
@@ -3729,6 +3749,7 @@ module Aws::LexModelsV2
3729
3749
  # * {Types::DescribeBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
3730
3750
  # * {Types::DescribeBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
3731
3751
  # * {Types::DescribeBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
3752
+ # * {Types::DescribeBotLocaleResponse#audio_filler_settings #audio_filler_settings} => Types::AudioFillerSettings
3732
3753
  # * {Types::DescribeBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
3733
3754
  # * {Types::DescribeBotLocaleResponse#intents_count #intents_count} => Integer
3734
3755
  # * {Types::DescribeBotLocaleResponse#slot_types_count #slot_types_count} => Integer
@@ -3762,6 +3783,11 @@ module Aws::LexModelsV2
3762
3783
  # resp.voice_settings.voice_id #=> String
3763
3784
  # resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
3764
3785
  # resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
3786
+ # resp.audio_filler_settings.enabled #=> Boolean
3787
+ # resp.audio_filler_settings.audio_type #=> String, one of "MELODY_CHIPPER_CHIME", "MELODY_CURIOUS_CRAWL", "MELODY_RISING_RIPPLE", "MELODY_PATIENT_PING", "MELODY_PONDERING_PONG", "TYPING_KINETIC_KEYS", "TYPING_QUIET_QWERTY"
3788
+ # resp.audio_filler_settings.start_delay_in_milliseconds #=> Integer
3789
+ # resp.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
3790
+ # resp.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
3765
3791
  # resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
3766
3792
  # resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
3767
3793
  # resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
@@ -4233,6 +4259,11 @@ module Aws::LexModelsV2
4233
4259
  # resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
4234
4260
  # resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.model_arn #=> String
4235
4261
  # resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.voice_id #=> String
4262
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.enabled #=> Boolean
4263
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.audio_type #=> String, one of "MELODY_CHIPPER_CHIME", "MELODY_CURIOUS_CRAWL", "MELODY_RISING_RIPPLE", "MELODY_PATIENT_PING", "MELODY_PONDERING_PONG", "TYPING_KINETIC_KEYS", "TYPING_QUIET_QWERTY"
4264
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.start_delay_in_milliseconds #=> Integer
4265
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
4266
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
4236
4267
  # resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
4237
4268
  # resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
4238
4269
  # resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
@@ -8803,6 +8834,13 @@ module Aws::LexModelsV2
8803
8834
  # voice_id: "VoiceId",
8804
8835
  # },
8805
8836
  # },
8837
+ # audio_filler_settings: {
8838
+ # enabled: false,
8839
+ # audio_type: "MELODY_CHIPPER_CHIME", # accepts MELODY_CHIPPER_CHIME, MELODY_CURIOUS_CRAWL, MELODY_RISING_RIPPLE, MELODY_PATIENT_PING, MELODY_PONDERING_PONG, TYPING_KINETIC_KEYS, TYPING_QUIET_QWERTY
8840
+ # start_delay_in_milliseconds: 1,
8841
+ # minimum_play_duration_in_milliseconds: 1,
8842
+ # response_delivery_delay_in_milliseconds: 1,
8843
+ # },
8806
8844
  # },
8807
8845
  # custom_vocabulary_import_specification: {
8808
8846
  # bot_id: "Id", # required
@@ -8856,6 +8894,11 @@ module Aws::LexModelsV2
8856
8894
  # resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
8857
8895
  # resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.model_arn #=> String
8858
8896
  # resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.voice_id #=> String
8897
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.enabled #=> Boolean
8898
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.audio_type #=> String, one of "MELODY_CHIPPER_CHIME", "MELODY_CURIOUS_CRAWL", "MELODY_RISING_RIPPLE", "MELODY_PATIENT_PING", "MELODY_PONDERING_PONG", "TYPING_KINETIC_KEYS", "TYPING_QUIET_QWERTY"
8899
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.start_delay_in_milliseconds #=> Integer
8900
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
8901
+ # resp.resource_specification.bot_locale_import_specification.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
8859
8902
  # resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
8860
8903
  # resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
8861
8904
  # resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
@@ -9471,6 +9514,11 @@ module Aws::LexModelsV2
9471
9514
  # @option params [Types::UnifiedSpeechSettings] :unified_speech_settings
9472
9515
  # Updated unified speech settings to apply to the bot locale.
9473
9516
  #
9517
+ # @option params [Types::AudioFillerSettings] :audio_filler_settings
9518
+ # Updated audio filler settings to apply to the bot locale. When
9519
+ # enabled, requires `unifiedSpeechSettings` (speech-to-speech) to be
9520
+ # configured on the bot locale.
9521
+ #
9474
9522
  # @option params [Types::SpeechRecognitionSettings] :speech_recognition_settings
9475
9523
  # Updated speech-to-text settings to apply to the bot locale.
9476
9524
  #
@@ -9496,6 +9544,7 @@ module Aws::LexModelsV2
9496
9544
  # * {Types::UpdateBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
9497
9545
  # * {Types::UpdateBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
9498
9546
  # * {Types::UpdateBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
9547
+ # * {Types::UpdateBotLocaleResponse#audio_filler_settings #audio_filler_settings} => Types::AudioFillerSettings
9499
9548
  # * {Types::UpdateBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
9500
9549
  # * {Types::UpdateBotLocaleResponse#bot_locale_status #bot_locale_status} => String
9501
9550
  # * {Types::UpdateBotLocaleResponse#failure_reasons #failure_reasons} => Array<String>
@@ -9523,6 +9572,13 @@ module Aws::LexModelsV2
9523
9572
  # voice_id: "VoiceId",
9524
9573
  # },
9525
9574
  # },
9575
+ # audio_filler_settings: {
9576
+ # enabled: false,
9577
+ # audio_type: "MELODY_CHIPPER_CHIME", # accepts MELODY_CHIPPER_CHIME, MELODY_CURIOUS_CRAWL, MELODY_RISING_RIPPLE, MELODY_PATIENT_PING, MELODY_PONDERING_PONG, TYPING_KINETIC_KEYS, TYPING_QUIET_QWERTY
9578
+ # start_delay_in_milliseconds: 1,
9579
+ # minimum_play_duration_in_milliseconds: 1,
9580
+ # response_delivery_delay_in_milliseconds: 1,
9581
+ # },
9526
9582
  # speech_recognition_settings: {
9527
9583
  # speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
9528
9584
  # speech_model_config: {
@@ -9598,6 +9654,11 @@ module Aws::LexModelsV2
9598
9654
  # resp.voice_settings.voice_id #=> String
9599
9655
  # resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
9600
9656
  # resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
9657
+ # resp.audio_filler_settings.enabled #=> Boolean
9658
+ # resp.audio_filler_settings.audio_type #=> String, one of "MELODY_CHIPPER_CHIME", "MELODY_CURIOUS_CRAWL", "MELODY_RISING_RIPPLE", "MELODY_PATIENT_PING", "MELODY_PONDERING_PONG", "TYPING_KINETIC_KEYS", "TYPING_QUIET_QWERTY"
9659
+ # resp.audio_filler_settings.start_delay_in_milliseconds #=> Integer
9660
+ # resp.audio_filler_settings.minimum_play_duration_in_milliseconds #=> Integer
9661
+ # resp.audio_filler_settings.response_delivery_delay_in_milliseconds #=> Integer
9601
9662
  # resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
9602
9663
  # resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
9603
9664
  # resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
@@ -10987,7 +11048,7 @@ module Aws::LexModelsV2
10987
11048
  tracer: tracer
10988
11049
  )
10989
11050
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
10990
- context[:gem_version] = '1.89.0'
11051
+ context[:gem_version] = '1.90.0'
10991
11052
  Seahorse::Client::Request.new(handlers, context)
10992
11053
  end
10993
11054
 
@@ -137,6 +137,11 @@ module Aws::LexModelsV2
137
137
  AttachmentUrl = Shapes::StringShape.new(name: 'AttachmentUrl')
138
138
  AudioAndDTMFInputSpecification = Shapes::StructureShape.new(name: 'AudioAndDTMFInputSpecification')
139
139
  AudioFileS3Location = Shapes::StringShape.new(name: 'AudioFileS3Location')
140
+ AudioFillerDelayInMilliseconds = Shapes::IntegerShape.new(name: 'AudioFillerDelayInMilliseconds')
141
+ AudioFillerDeliveryDelayInMilliseconds = Shapes::IntegerShape.new(name: 'AudioFillerDeliveryDelayInMilliseconds')
142
+ AudioFillerDurationInMilliseconds = Shapes::IntegerShape.new(name: 'AudioFillerDurationInMilliseconds')
143
+ AudioFillerSettings = Shapes::StructureShape.new(name: 'AudioFillerSettings')
144
+ AudioFillerType = Shapes::StringShape.new(name: 'AudioFillerType')
140
145
  AudioLogDestination = Shapes::StructureShape.new(name: 'AudioLogDestination')
141
146
  AudioLogSetting = Shapes::StructureShape.new(name: 'AudioLogSetting')
142
147
  AudioLogSettingsList = Shapes::ListShape.new(name: 'AudioLogSettingsList')
@@ -1128,6 +1133,13 @@ module Aws::LexModelsV2
1128
1133
  AudioAndDTMFInputSpecification.add_member(:dtmf_specification, Shapes::ShapeRef.new(shape: DTMFSpecification, location_name: "dtmfSpecification"))
1129
1134
  AudioAndDTMFInputSpecification.struct_class = Types::AudioAndDTMFInputSpecification
1130
1135
 
1136
+ AudioFillerSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
1137
+ AudioFillerSettings.add_member(:audio_type, Shapes::ShapeRef.new(shape: AudioFillerType, location_name: "audioType"))
1138
+ AudioFillerSettings.add_member(:start_delay_in_milliseconds, Shapes::ShapeRef.new(shape: AudioFillerDelayInMilliseconds, location_name: "startDelayInMilliseconds"))
1139
+ AudioFillerSettings.add_member(:minimum_play_duration_in_milliseconds, Shapes::ShapeRef.new(shape: AudioFillerDurationInMilliseconds, location_name: "minimumPlayDurationInMilliseconds"))
1140
+ AudioFillerSettings.add_member(:response_delivery_delay_in_milliseconds, Shapes::ShapeRef.new(shape: AudioFillerDeliveryDelayInMilliseconds, location_name: "responseDeliveryDelayInMilliseconds"))
1141
+ AudioFillerSettings.struct_class = Types::AudioFillerSettings
1142
+
1131
1143
  AudioLogDestination.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketLogDestination, required: true, location_name: "s3Bucket"))
1132
1144
  AudioLogDestination.struct_class = Types::AudioLogDestination
1133
1145
 
@@ -1300,6 +1312,7 @@ module Aws::LexModelsV2
1300
1312
  BotLocaleImportSpecification.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
1301
1313
  BotLocaleImportSpecification.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
1302
1314
  BotLocaleImportSpecification.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
1315
+ BotLocaleImportSpecification.add_member(:audio_filler_settings, Shapes::ShapeRef.new(shape: AudioFillerSettings, location_name: "audioFillerSettings"))
1303
1316
  BotLocaleImportSpecification.struct_class = Types::BotLocaleImportSpecification
1304
1317
 
1305
1318
  BotLocaleSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotLocaleSortAttribute, required: true, location_name: "attribute"))
@@ -1550,6 +1563,7 @@ module Aws::LexModelsV2
1550
1563
  CreateBotLocaleRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, required: true, location_name: "nluIntentConfidenceThreshold"))
1551
1564
  CreateBotLocaleRequest.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
1552
1565
  CreateBotLocaleRequest.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
1566
+ CreateBotLocaleRequest.add_member(:audio_filler_settings, Shapes::ShapeRef.new(shape: AudioFillerSettings, location_name: "audioFillerSettings"))
1553
1567
  CreateBotLocaleRequest.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
1554
1568
  CreateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
1555
1569
  CreateBotLocaleRequest.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
@@ -1563,6 +1577,7 @@ module Aws::LexModelsV2
1563
1577
  CreateBotLocaleResponse.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
1564
1578
  CreateBotLocaleResponse.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
1565
1579
  CreateBotLocaleResponse.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
1580
+ CreateBotLocaleResponse.add_member(:audio_filler_settings, Shapes::ShapeRef.new(shape: AudioFillerSettings, location_name: "audioFillerSettings"))
1566
1581
  CreateBotLocaleResponse.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
1567
1582
  CreateBotLocaleResponse.add_member(:bot_locale_status, Shapes::ShapeRef.new(shape: BotLocaleStatus, location_name: "botLocaleStatus"))
1568
1583
  CreateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
@@ -1993,6 +2008,7 @@ module Aws::LexModelsV2
1993
2008
  DescribeBotLocaleResponse.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
1994
2009
  DescribeBotLocaleResponse.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
1995
2010
  DescribeBotLocaleResponse.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
2011
+ DescribeBotLocaleResponse.add_member(:audio_filler_settings, Shapes::ShapeRef.new(shape: AudioFillerSettings, location_name: "audioFillerSettings"))
1996
2012
  DescribeBotLocaleResponse.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
1997
2013
  DescribeBotLocaleResponse.add_member(:intents_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "intentsCount"))
1998
2014
  DescribeBotLocaleResponse.add_member(:slot_types_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "slotTypesCount"))
@@ -3735,6 +3751,7 @@ module Aws::LexModelsV2
3735
3751
  UpdateBotLocaleRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, required: true, location_name: "nluIntentConfidenceThreshold"))
3736
3752
  UpdateBotLocaleRequest.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
3737
3753
  UpdateBotLocaleRequest.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
3754
+ UpdateBotLocaleRequest.add_member(:audio_filler_settings, Shapes::ShapeRef.new(shape: AudioFillerSettings, location_name: "audioFillerSettings"))
3738
3755
  UpdateBotLocaleRequest.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
3739
3756
  UpdateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
3740
3757
  UpdateBotLocaleRequest.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
@@ -3748,6 +3765,7 @@ module Aws::LexModelsV2
3748
3765
  UpdateBotLocaleResponse.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
3749
3766
  UpdateBotLocaleResponse.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
3750
3767
  UpdateBotLocaleResponse.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
3768
+ UpdateBotLocaleResponse.add_member(:audio_filler_settings, Shapes::ShapeRef.new(shape: AudioFillerSettings, location_name: "audioFillerSettings"))
3751
3769
  UpdateBotLocaleResponse.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
3752
3770
  UpdateBotLocaleResponse.add_member(:bot_locale_status, Shapes::ShapeRef.new(shape: BotLocaleStatus, location_name: "botLocaleStatus"))
3753
3771
  UpdateBotLocaleResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
@@ -1538,6 +1538,58 @@ module Aws::LexModelsV2
1538
1538
  include Aws::Structure
1539
1539
  end
1540
1540
 
1541
+ # Configuration that plays background filler audio during
1542
+ # speech-to-speech interactions to mask processing delays and improve
1543
+ # the perceived responsiveness of the bot.
1544
+ #
1545
+ # Audio filler requires `unifiedSpeechSettings` (speech-to-speech) to be
1546
+ # enabled on the bot locale when `enabled` is `true`.
1547
+ #
1548
+ # @!attribute [rw] enabled
1549
+ # Specifies whether audio filler playback is enabled for the bot
1550
+ # locale. Set to `true` to play filler audio while Amazon Lex
1551
+ # processes a user utterance. Set to `false` to disable filler audio.
1552
+ # @return [Boolean]
1553
+ #
1554
+ # @!attribute [rw] audio_type
1555
+ # The identifier of the audio filler to play while Amazon Lex
1556
+ # processes the user's input. This field is required when `enabled`
1557
+ # is `true`.
1558
+ # @return [String]
1559
+ #
1560
+ # @!attribute [rw] start_delay_in_milliseconds
1561
+ # The time, in milliseconds, to wait after the end of the user's
1562
+ # utterance before starting audio filler playback. Valid range is
1563
+ # `500` to `5000` milliseconds. If not specified, Amazon Lex uses a
1564
+ # default of `2500` milliseconds.
1565
+ # @return [Integer]
1566
+ #
1567
+ # @!attribute [rw] minimum_play_duration_in_milliseconds
1568
+ # The minimum time, in milliseconds, that audio filler plays once it
1569
+ # has started, even if the bot response becomes ready sooner. Valid
1570
+ # range is `1000` to `5000` milliseconds. If not specified, Amazon Lex
1571
+ # uses a default of `3000` milliseconds.
1572
+ # @return [Integer]
1573
+ #
1574
+ # @!attribute [rw] response_delivery_delay_in_milliseconds
1575
+ # The silent delay, in milliseconds, inserted between the end of audio
1576
+ # filler playback and the start of the bot's response. Valid range is
1577
+ # `200` to `1000` milliseconds. If not specified, Amazon Lex uses a
1578
+ # default of `500` milliseconds.
1579
+ # @return [Integer]
1580
+ #
1581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AudioFillerSettings AWS API Documentation
1582
+ #
1583
+ class AudioFillerSettings < Struct.new(
1584
+ :enabled,
1585
+ :audio_type,
1586
+ :start_delay_in_milliseconds,
1587
+ :minimum_play_duration_in_milliseconds,
1588
+ :response_delivery_delay_in_milliseconds)
1589
+ SENSITIVE = []
1590
+ include Aws::Structure
1591
+ end
1592
+
1541
1593
  # The location of audio log files collected when conversation logging is
1542
1594
  # enabled for a bot.
1543
1595
  #
@@ -2414,6 +2466,12 @@ module Aws::LexModelsV2
2414
2466
  # configuration.
2415
2467
  # @return [Types::UnifiedSpeechSettings]
2416
2468
  #
2469
+ # @!attribute [rw] audio_filler_settings
2470
+ # Audio filler settings to apply when importing the bot locale
2471
+ # configuration. Audio filler requires `unifiedSpeechSettings`
2472
+ # (speech-to-speech) to be enabled when `enabled` is `true`.
2473
+ # @return [Types::AudioFillerSettings]
2474
+ #
2417
2475
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleImportSpecification AWS API Documentation
2418
2476
  #
2419
2477
  class BotLocaleImportSpecification < Struct.new(
@@ -2424,7 +2482,8 @@ module Aws::LexModelsV2
2424
2482
  :voice_settings,
2425
2483
  :speech_recognition_settings,
2426
2484
  :speech_detection_sensitivity,
2427
- :unified_speech_settings)
2485
+ :unified_speech_settings,
2486
+ :audio_filler_settings)
2428
2487
  SENSITIVE = []
2429
2488
  include Aws::Structure
2430
2489
  end
@@ -3586,6 +3645,14 @@ module Aws::LexModelsV2
3586
3645
  # Unified speech settings to configure for the new bot locale.
3587
3646
  # @return [Types::UnifiedSpeechSettings]
3588
3647
  #
3648
+ # @!attribute [rw] audio_filler_settings
3649
+ # Audio filler settings to configure for the new bot locale. When
3650
+ # enabled, Amazon Lex plays a brief background audio filler during
3651
+ # speech-to-speech interactions to mask processing delays. Requires
3652
+ # `unifiedSpeechSettings` (speech-to-speech) to be configured on the
3653
+ # bot locale.
3654
+ # @return [Types::AudioFillerSettings]
3655
+ #
3589
3656
  # @!attribute [rw] speech_recognition_settings
3590
3657
  # Speech-to-text settings to configure for the new bot locale.
3591
3658
  # @return [Types::SpeechRecognitionSettings]
@@ -3612,6 +3679,7 @@ module Aws::LexModelsV2
3612
3679
  :nlu_intent_confidence_threshold,
3613
3680
  :voice_settings,
3614
3681
  :unified_speech_settings,
3682
+ :audio_filler_settings,
3615
3683
  :speech_recognition_settings,
3616
3684
  :generative_ai_settings,
3617
3685
  :speech_detection_sensitivity)
@@ -3653,6 +3721,10 @@ module Aws::LexModelsV2
3653
3721
  # The unified speech settings configured for the created bot locale.
3654
3722
  # @return [Types::UnifiedSpeechSettings]
3655
3723
  #
3724
+ # @!attribute [rw] audio_filler_settings
3725
+ # The audio filler settings configured for the created bot locale.
3726
+ # @return [Types::AudioFillerSettings]
3727
+ #
3656
3728
  # @!attribute [rw] speech_recognition_settings
3657
3729
  # The speech-to-text settings configured for the created bot locale.
3658
3730
  # @return [Types::SpeechRecognitionSettings]
@@ -3699,6 +3771,7 @@ module Aws::LexModelsV2
3699
3771
  :nlu_intent_confidence_threshold,
3700
3772
  :voice_settings,
3701
3773
  :unified_speech_settings,
3774
+ :audio_filler_settings,
3702
3775
  :speech_recognition_settings,
3703
3776
  :bot_locale_status,
3704
3777
  :creation_date_time,
@@ -6033,6 +6106,10 @@ module Aws::LexModelsV2
6033
6106
  # The unified speech settings configured for the bot locale.
6034
6107
  # @return [Types::UnifiedSpeechSettings]
6035
6108
  #
6109
+ # @!attribute [rw] audio_filler_settings
6110
+ # The audio filler settings configured for the bot locale.
6111
+ # @return [Types::AudioFillerSettings]
6112
+ #
6036
6113
  # @!attribute [rw] speech_recognition_settings
6037
6114
  # The speech-to-text settings configured for the bot locale.
6038
6115
  # @return [Types::SpeechRecognitionSettings]
@@ -6098,6 +6175,7 @@ module Aws::LexModelsV2
6098
6175
  :nlu_intent_confidence_threshold,
6099
6176
  :voice_settings,
6100
6177
  :unified_speech_settings,
6178
+ :audio_filler_settings,
6101
6179
  :speech_recognition_settings,
6102
6180
  :intents_count,
6103
6181
  :slot_types_count,
@@ -15067,6 +15145,12 @@ module Aws::LexModelsV2
15067
15145
  # Updated unified speech settings to apply to the bot locale.
15068
15146
  # @return [Types::UnifiedSpeechSettings]
15069
15147
  #
15148
+ # @!attribute [rw] audio_filler_settings
15149
+ # Updated audio filler settings to apply to the bot locale. When
15150
+ # enabled, requires `unifiedSpeechSettings` (speech-to-speech) to be
15151
+ # configured on the bot locale.
15152
+ # @return [Types::AudioFillerSettings]
15153
+ #
15070
15154
  # @!attribute [rw] speech_recognition_settings
15071
15155
  # Updated speech-to-text settings to apply to the bot locale.
15072
15156
  # @return [Types::SpeechRecognitionSettings]
@@ -15095,6 +15179,7 @@ module Aws::LexModelsV2
15095
15179
  :nlu_intent_confidence_threshold,
15096
15180
  :voice_settings,
15097
15181
  :unified_speech_settings,
15182
+ :audio_filler_settings,
15098
15183
  :speech_recognition_settings,
15099
15184
  :generative_ai_settings,
15100
15185
  :speech_detection_sensitivity)
@@ -15137,6 +15222,10 @@ module Aws::LexModelsV2
15137
15222
  # The updated unified speech settings for the bot locale.
15138
15223
  # @return [Types::UnifiedSpeechSettings]
15139
15224
  #
15225
+ # @!attribute [rw] audio_filler_settings
15226
+ # The updated audio filler settings for the bot locale.
15227
+ # @return [Types::AudioFillerSettings]
15228
+ #
15140
15229
  # @!attribute [rw] speech_recognition_settings
15141
15230
  # The updated speech-to-text settings for the bot locale.
15142
15231
  # @return [Types::SpeechRecognitionSettings]
@@ -15185,6 +15274,7 @@ module Aws::LexModelsV2
15185
15274
  :nlu_intent_confidence_threshold,
15186
15275
  :voice_settings,
15187
15276
  :unified_speech_settings,
15277
+ :audio_filler_settings,
15188
15278
  :speech_recognition_settings,
15189
15279
  :bot_locale_status,
15190
15280
  :failure_reasons,
@@ -55,7 +55,7 @@ module Aws::LexModelsV2
55
55
  autoload :EndpointProvider, 'aws-sdk-lexmodelsv2/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-lexmodelsv2/endpoints'
57
57
 
58
- GEM_VERSION = '1.89.0'
58
+ GEM_VERSION = '1.90.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -278,6 +278,7 @@ module Aws
278
278
  def nlu_intent_confidence_threshold: () -> ::Float
279
279
  def voice_settings: () -> Types::VoiceSettings
280
280
  def unified_speech_settings: () -> Types::UnifiedSpeechSettings
281
+ def audio_filler_settings: () -> Types::AudioFillerSettings
281
282
  def speech_recognition_settings: () -> Types::SpeechRecognitionSettings
282
283
  def bot_locale_status: () -> ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
283
284
  def creation_date_time: () -> ::Time
@@ -301,6 +302,13 @@ module Aws
301
302
  voice_id: ::String?
302
303
  }
303
304
  },
305
+ ?audio_filler_settings: {
306
+ enabled: bool?,
307
+ audio_type: ("MELODY_CHIPPER_CHIME" | "MELODY_CURIOUS_CRAWL" | "MELODY_RISING_RIPPLE" | "MELODY_PATIENT_PING" | "MELODY_PONDERING_PONG" | "TYPING_KINETIC_KEYS" | "TYPING_QUIET_QWERTY")?,
308
+ start_delay_in_milliseconds: ::Integer?,
309
+ minimum_play_duration_in_milliseconds: ::Integer?,
310
+ response_delivery_delay_in_milliseconds: ::Integer?
311
+ },
304
312
  ?speech_recognition_settings: {
305
313
  speech_model_preference: ("Standard" | "Neural" | "Deepgram")?,
306
314
  speech_model_config: {
@@ -6121,6 +6129,7 @@ module Aws
6121
6129
  def nlu_intent_confidence_threshold: () -> ::Float
6122
6130
  def voice_settings: () -> Types::VoiceSettings
6123
6131
  def unified_speech_settings: () -> Types::UnifiedSpeechSettings
6132
+ def audio_filler_settings: () -> Types::AudioFillerSettings
6124
6133
  def speech_recognition_settings: () -> Types::SpeechRecognitionSettings
6125
6134
  def intents_count: () -> ::Integer
6126
6135
  def slot_types_count: () -> ::Integer
@@ -7410,6 +7419,13 @@ module Aws
7410
7419
  model_arn: ::String,
7411
7420
  voice_id: ::String?
7412
7421
  }
7422
+ }?,
7423
+ audio_filler_settings: {
7424
+ enabled: bool?,
7425
+ audio_type: ("MELODY_CHIPPER_CHIME" | "MELODY_CURIOUS_CRAWL" | "MELODY_RISING_RIPPLE" | "MELODY_PATIENT_PING" | "MELODY_PONDERING_PONG" | "TYPING_KINETIC_KEYS" | "TYPING_QUIET_QWERTY")?,
7426
+ start_delay_in_milliseconds: ::Integer?,
7427
+ minimum_play_duration_in_milliseconds: ::Integer?,
7428
+ response_delivery_delay_in_milliseconds: ::Integer?
7413
7429
  }?
7414
7430
  }?,
7415
7431
  custom_vocabulary_import_specification: {
@@ -7667,6 +7683,7 @@ module Aws
7667
7683
  def nlu_intent_confidence_threshold: () -> ::Float
7668
7684
  def voice_settings: () -> Types::VoiceSettings
7669
7685
  def unified_speech_settings: () -> Types::UnifiedSpeechSettings
7686
+ def audio_filler_settings: () -> Types::AudioFillerSettings
7670
7687
  def speech_recognition_settings: () -> Types::SpeechRecognitionSettings
7671
7688
  def bot_locale_status: () -> ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
7672
7689
  def failure_reasons: () -> ::Array[::String]
@@ -7693,6 +7710,13 @@ module Aws
7693
7710
  voice_id: ::String?
7694
7711
  }
7695
7712
  },
7713
+ ?audio_filler_settings: {
7714
+ enabled: bool?,
7715
+ audio_type: ("MELODY_CHIPPER_CHIME" | "MELODY_CURIOUS_CRAWL" | "MELODY_RISING_RIPPLE" | "MELODY_PATIENT_PING" | "MELODY_PONDERING_PONG" | "TYPING_KINETIC_KEYS" | "TYPING_QUIET_QWERTY")?,
7716
+ start_delay_in_milliseconds: ::Integer?,
7717
+ minimum_play_duration_in_milliseconds: ::Integer?,
7718
+ response_delivery_delay_in_milliseconds: ::Integer?
7719
+ },
7696
7720
  ?speech_recognition_settings: {
7697
7721
  speech_model_preference: ("Standard" | "Neural" | "Deepgram")?,
7698
7722
  speech_model_config: {
data/sig/types.rbs CHANGED
@@ -275,6 +275,15 @@ module Aws::LexModelsV2
275
275
  SENSITIVE: []
276
276
  end
277
277
 
278
+ class AudioFillerSettings
279
+ attr_accessor enabled: bool
280
+ attr_accessor audio_type: ("MELODY_CHIPPER_CHIME" | "MELODY_CURIOUS_CRAWL" | "MELODY_RISING_RIPPLE" | "MELODY_PATIENT_PING" | "MELODY_PONDERING_PONG" | "TYPING_KINETIC_KEYS" | "TYPING_QUIET_QWERTY")
281
+ attr_accessor start_delay_in_milliseconds: ::Integer
282
+ attr_accessor minimum_play_duration_in_milliseconds: ::Integer
283
+ attr_accessor response_delivery_delay_in_milliseconds: ::Integer
284
+ SENSITIVE: []
285
+ end
286
+
278
287
  class AudioLogDestination
279
288
  attr_accessor s3_bucket: Types::S3BucketLogDestination
280
289
  SENSITIVE: []
@@ -479,6 +488,7 @@ module Aws::LexModelsV2
479
488
  attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
480
489
  attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
481
490
  attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
491
+ attr_accessor audio_filler_settings: Types::AudioFillerSettings
482
492
  SENSITIVE: []
483
493
  end
484
494
 
@@ -774,6 +784,7 @@ module Aws::LexModelsV2
774
784
  attr_accessor nlu_intent_confidence_threshold: ::Float
775
785
  attr_accessor voice_settings: Types::VoiceSettings
776
786
  attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
787
+ attr_accessor audio_filler_settings: Types::AudioFillerSettings
777
788
  attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
778
789
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
779
790
  attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
@@ -789,6 +800,7 @@ module Aws::LexModelsV2
789
800
  attr_accessor nlu_intent_confidence_threshold: ::Float
790
801
  attr_accessor voice_settings: Types::VoiceSettings
791
802
  attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
803
+ attr_accessor audio_filler_settings: Types::AudioFillerSettings
792
804
  attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
793
805
  attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
794
806
  attr_accessor creation_date_time: ::Time
@@ -1344,6 +1356,7 @@ module Aws::LexModelsV2
1344
1356
  attr_accessor nlu_intent_confidence_threshold: ::Float
1345
1357
  attr_accessor voice_settings: Types::VoiceSettings
1346
1358
  attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
1359
+ attr_accessor audio_filler_settings: Types::AudioFillerSettings
1347
1360
  attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
1348
1361
  attr_accessor intents_count: ::Integer
1349
1362
  attr_accessor slot_types_count: ::Integer
@@ -3516,6 +3529,7 @@ module Aws::LexModelsV2
3516
3529
  attr_accessor nlu_intent_confidence_threshold: ::Float
3517
3530
  attr_accessor voice_settings: Types::VoiceSettings
3518
3531
  attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
3532
+ attr_accessor audio_filler_settings: Types::AudioFillerSettings
3519
3533
  attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
3520
3534
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
3521
3535
  attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
@@ -3531,6 +3545,7 @@ module Aws::LexModelsV2
3531
3545
  attr_accessor nlu_intent_confidence_threshold: ::Float
3532
3546
  attr_accessor voice_settings: Types::VoiceSettings
3533
3547
  attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
3548
+ attr_accessor audio_filler_settings: Types::AudioFillerSettings
3534
3549
  attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
3535
3550
  attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
3536
3551
  attr_accessor failure_reasons: ::Array[::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelsv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.89.0
4
+ version: 1.90.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services