aws-sdk-lexmodelsv2 1.83.0 → 1.84.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: a7b954eda4daa5faa09724b45dad7dfa79aaaca6cdf4ca47e069130c2fcffc06
4
- data.tar.gz: 95ed68679d49c4ae5726205e73b464310b97e93182fa32c9ce9433b8859d351f
3
+ metadata.gz: ae0e35da9276a8f0a0893d516b22a038f8bbddaceaa7e0057bf2c10ee629491f
4
+ data.tar.gz: ce7b06dc338b922e7395270c82c0cd0181a994c211153a1b3452bd41f29c7d91
5
5
  SHA512:
6
- metadata.gz: 3c71de8a2fb4a8234c9b299ee6bb9e57e3557b4e1caf8f1733612159f65e5d7628cc7550efa1e4002760335da8fb9c82b7d0bd2a24d6c742ab3580006eb80ed2
7
- data.tar.gz: 5fdafcd3a75844ed1c624bda8fe1c49b693011d415da09b3bdbdd4a335d1f0ddde5b94c19e8e2ac6378b46e66e6db88936e4ebcaaaf53392045b1d1128623ccc
6
+ metadata.gz: b50aa41567c8e8562f53f1ec399affc495b54f26d31e3bdb663d6c505ec5d907aeaf0e73f55e7df0b34afddabce0168c36183aebcd30e17030de3b586830fbc7
7
+ data.tar.gz: 6cc18ab0f1c3ccdeb1e98ae01cd07ac7a8b91d26b3d44a8446f2e9998633782ed784d2eef05e93b6bb052954b5a69c9a6eabd6c2325e947aacce9d59f8a65563
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.84.0 (2025-12-01)
5
+ ------------------
6
+
7
+ * Feature - Adds support for speech-to-speech models for human-like, adaptive, and expressive voice interactions. Also adds support for speech model preference, allowing customers to select which speech model they want to use for speech-to-text requests.
8
+
4
9
  1.83.0 (2025-11-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.83.0
1
+ 1.84.0
@@ -1074,6 +1074,12 @@ module Aws::LexModelsV2
1074
1074
  # The Amazon Polly voice ID that Amazon Lex uses for voice interaction
1075
1075
  # with the user.
1076
1076
  #
1077
+ # @option params [Types::UnifiedSpeechSettings] :unified_speech_settings
1078
+ # Unified speech settings to configure for the new bot locale.
1079
+ #
1080
+ # @option params [Types::SpeechRecognitionSettings] :speech_recognition_settings
1081
+ # Speech-to-text settings to configure for the new bot locale.
1082
+ #
1077
1083
  # @option params [Types::GenerativeAISettings] :generative_ai_settings
1078
1084
  # Contains specifications about the generative AI capabilities from
1079
1085
  # Amazon Bedrock that you can turn on for your bot.
@@ -1093,6 +1099,8 @@ module Aws::LexModelsV2
1093
1099
  # * {Types::CreateBotLocaleResponse#description #description} => String
1094
1100
  # * {Types::CreateBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
1095
1101
  # * {Types::CreateBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
1102
+ # * {Types::CreateBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
1103
+ # * {Types::CreateBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
1096
1104
  # * {Types::CreateBotLocaleResponse#bot_locale_status #bot_locale_status} => String
1097
1105
  # * {Types::CreateBotLocaleResponse#creation_date_time #creation_date_time} => Time
1098
1106
  # * {Types::CreateBotLocaleResponse#generative_ai_settings #generative_ai_settings} => Types::GenerativeAISettings
@@ -1107,8 +1115,23 @@ module Aws::LexModelsV2
1107
1115
  # description: "Description",
1108
1116
  # nlu_intent_confidence_threshold: 1.0, # required
1109
1117
  # voice_settings: {
1110
- # voice_id: "VoiceId", # required
1111
1118
  # engine: "standard", # accepts standard, neural, long-form, generative
1119
+ # voice_id: "VoiceId", # required
1120
+ # },
1121
+ # unified_speech_settings: {
1122
+ # speech_foundation_model: { # required
1123
+ # model_arn: "BedrockModelArn", # required
1124
+ # voice_id: "VoiceId",
1125
+ # },
1126
+ # },
1127
+ # speech_recognition_settings: {
1128
+ # speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
1129
+ # speech_model_config: {
1130
+ # deepgram_config: {
1131
+ # api_token_secret_arn: "SecretsManagerSecretArn", # required
1132
+ # model_id: "DeepgramModelId",
1133
+ # },
1134
+ # },
1112
1135
  # },
1113
1136
  # generative_ai_settings: {
1114
1137
  # runtime_settings: {
@@ -1172,8 +1195,13 @@ module Aws::LexModelsV2
1172
1195
  # resp.locale_id #=> String
1173
1196
  # resp.description #=> String
1174
1197
  # resp.nlu_intent_confidence_threshold #=> Float
1175
- # resp.voice_settings.voice_id #=> String
1176
1198
  # resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
1199
+ # resp.voice_settings.voice_id #=> String
1200
+ # resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
1201
+ # resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
1202
+ # resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
1203
+ # resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
1204
+ # resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
1177
1205
  # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
1178
1206
  # resp.creation_date_time #=> Time
1179
1207
  # resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.enabled #=> Boolean
@@ -3598,6 +3626,8 @@ module Aws::LexModelsV2
3598
3626
  # * {Types::DescribeBotLocaleResponse#description #description} => String
3599
3627
  # * {Types::DescribeBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
3600
3628
  # * {Types::DescribeBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
3629
+ # * {Types::DescribeBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
3630
+ # * {Types::DescribeBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
3601
3631
  # * {Types::DescribeBotLocaleResponse#intents_count #intents_count} => Integer
3602
3632
  # * {Types::DescribeBotLocaleResponse#slot_types_count #slot_types_count} => Integer
3603
3633
  # * {Types::DescribeBotLocaleResponse#bot_locale_status #bot_locale_status} => String
@@ -3626,8 +3656,13 @@ module Aws::LexModelsV2
3626
3656
  # resp.locale_name #=> String
3627
3657
  # resp.description #=> String
3628
3658
  # resp.nlu_intent_confidence_threshold #=> Float
3629
- # resp.voice_settings.voice_id #=> String
3630
3659
  # resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
3660
+ # resp.voice_settings.voice_id #=> String
3661
+ # resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
3662
+ # resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
3663
+ # resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
3664
+ # resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
3665
+ # resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
3631
3666
  # resp.intents_count #=> Integer
3632
3667
  # resp.slot_types_count #=> Integer
3633
3668
  # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
@@ -4088,9 +4123,14 @@ module Aws::LexModelsV2
4088
4123
  # resp.resource_specification.bot_locale_import_specification.bot_version #=> String
4089
4124
  # resp.resource_specification.bot_locale_import_specification.locale_id #=> String
4090
4125
  # resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
4091
- # resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
4092
4126
  # resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
4127
+ # resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
4128
+ # resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
4129
+ # resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
4130
+ # resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
4093
4131
  # resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
4132
+ # resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.model_arn #=> String
4133
+ # resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.voice_id #=> String
4094
4134
  # resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
4095
4135
  # resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
4096
4136
  # resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
@@ -8516,10 +8556,25 @@ module Aws::LexModelsV2
8516
8556
  # locale_id: "LocaleId", # required
8517
8557
  # nlu_intent_confidence_threshold: 1.0,
8518
8558
  # voice_settings: {
8519
- # voice_id: "VoiceId", # required
8520
8559
  # engine: "standard", # accepts standard, neural, long-form, generative
8560
+ # voice_id: "VoiceId", # required
8561
+ # },
8562
+ # speech_recognition_settings: {
8563
+ # speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
8564
+ # speech_model_config: {
8565
+ # deepgram_config: {
8566
+ # api_token_secret_arn: "SecretsManagerSecretArn", # required
8567
+ # model_id: "DeepgramModelId",
8568
+ # },
8569
+ # },
8521
8570
  # },
8522
8571
  # speech_detection_sensitivity: "Default", # accepts Default, HighNoiseTolerance, MaximumNoiseTolerance
8572
+ # unified_speech_settings: {
8573
+ # speech_foundation_model: { # required
8574
+ # model_arn: "BedrockModelArn", # required
8575
+ # voice_id: "VoiceId",
8576
+ # },
8577
+ # },
8523
8578
  # },
8524
8579
  # custom_vocabulary_import_specification: {
8525
8580
  # bot_id: "Id", # required
@@ -8565,9 +8620,14 @@ module Aws::LexModelsV2
8565
8620
  # resp.resource_specification.bot_locale_import_specification.bot_version #=> String
8566
8621
  # resp.resource_specification.bot_locale_import_specification.locale_id #=> String
8567
8622
  # resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
8568
- # resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
8569
8623
  # resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
8624
+ # resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
8625
+ # resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
8626
+ # resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
8627
+ # resp.resource_specification.bot_locale_import_specification.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
8570
8628
  # resp.resource_specification.bot_locale_import_specification.speech_detection_sensitivity #=> String, one of "Default", "HighNoiseTolerance", "MaximumNoiseTolerance"
8629
+ # resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.model_arn #=> String
8630
+ # resp.resource_specification.bot_locale_import_specification.unified_speech_settings.speech_foundation_model.voice_id #=> String
8571
8631
  # resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
8572
8632
  # resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
8573
8633
  # resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
@@ -9139,6 +9199,12 @@ module Aws::LexModelsV2
9139
9199
  # The new Amazon Polly voice Amazon Lex should use for voice interaction
9140
9200
  # with the user.
9141
9201
  #
9202
+ # @option params [Types::UnifiedSpeechSettings] :unified_speech_settings
9203
+ # Updated unified speech settings to apply to the bot locale.
9204
+ #
9205
+ # @option params [Types::SpeechRecognitionSettings] :speech_recognition_settings
9206
+ # Updated speech-to-text settings to apply to the bot locale.
9207
+ #
9142
9208
  # @option params [Types::GenerativeAISettings] :generative_ai_settings
9143
9209
  # Contains settings for generative AI features powered by Amazon Bedrock
9144
9210
  # for your bot locale. Use this object to turn generative AI features on
@@ -9160,6 +9226,8 @@ module Aws::LexModelsV2
9160
9226
  # * {Types::UpdateBotLocaleResponse#description #description} => String
9161
9227
  # * {Types::UpdateBotLocaleResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
9162
9228
  # * {Types::UpdateBotLocaleResponse#voice_settings #voice_settings} => Types::VoiceSettings
9229
+ # * {Types::UpdateBotLocaleResponse#unified_speech_settings #unified_speech_settings} => Types::UnifiedSpeechSettings
9230
+ # * {Types::UpdateBotLocaleResponse#speech_recognition_settings #speech_recognition_settings} => Types::SpeechRecognitionSettings
9163
9231
  # * {Types::UpdateBotLocaleResponse#bot_locale_status #bot_locale_status} => String
9164
9232
  # * {Types::UpdateBotLocaleResponse#failure_reasons #failure_reasons} => Array<String>
9165
9233
  # * {Types::UpdateBotLocaleResponse#creation_date_time #creation_date_time} => Time
@@ -9177,8 +9245,23 @@ module Aws::LexModelsV2
9177
9245
  # description: "Description",
9178
9246
  # nlu_intent_confidence_threshold: 1.0, # required
9179
9247
  # voice_settings: {
9180
- # voice_id: "VoiceId", # required
9181
9248
  # engine: "standard", # accepts standard, neural, long-form, generative
9249
+ # voice_id: "VoiceId", # required
9250
+ # },
9251
+ # unified_speech_settings: {
9252
+ # speech_foundation_model: { # required
9253
+ # model_arn: "BedrockModelArn", # required
9254
+ # voice_id: "VoiceId",
9255
+ # },
9256
+ # },
9257
+ # speech_recognition_settings: {
9258
+ # speech_model_preference: "Standard", # accepts Standard, Neural, Deepgram
9259
+ # speech_model_config: {
9260
+ # deepgram_config: {
9261
+ # api_token_secret_arn: "SecretsManagerSecretArn", # required
9262
+ # model_id: "DeepgramModelId",
9263
+ # },
9264
+ # },
9182
9265
  # },
9183
9266
  # generative_ai_settings: {
9184
9267
  # runtime_settings: {
@@ -9242,8 +9325,13 @@ module Aws::LexModelsV2
9242
9325
  # resp.locale_name #=> String
9243
9326
  # resp.description #=> String
9244
9327
  # resp.nlu_intent_confidence_threshold #=> Float
9245
- # resp.voice_settings.voice_id #=> String
9246
9328
  # resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
9329
+ # resp.voice_settings.voice_id #=> String
9330
+ # resp.unified_speech_settings.speech_foundation_model.model_arn #=> String
9331
+ # resp.unified_speech_settings.speech_foundation_model.voice_id #=> String
9332
+ # resp.speech_recognition_settings.speech_model_preference #=> String, one of "Standard", "Neural", "Deepgram"
9333
+ # resp.speech_recognition_settings.speech_model_config.deepgram_config.api_token_secret_arn #=> String
9334
+ # resp.speech_recognition_settings.speech_model_config.deepgram_config.model_id #=> String
9247
9335
  # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
9248
9336
  # resp.failure_reasons #=> Array
9249
9337
  # resp.failure_reasons[0] #=> String
@@ -10630,7 +10718,7 @@ module Aws::LexModelsV2
10630
10718
  tracer: tracer
10631
10719
  )
10632
10720
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
10633
- context[:gem_version] = '1.83.0'
10721
+ context[:gem_version] = '1.84.0'
10634
10722
  Seahorse::Client::Request.new(handlers, context)
10635
10723
  end
10636
10724
 
@@ -313,6 +313,8 @@ module Aws::LexModelsV2
313
313
  DataPrivacy = Shapes::StructureShape.new(name: 'DataPrivacy')
314
314
  DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
315
315
  DateRangeFilter = Shapes::StructureShape.new(name: 'DateRangeFilter')
316
+ DeepgramModelId = Shapes::StringShape.new(name: 'DeepgramModelId')
317
+ DeepgramSpeechModelConfig = Shapes::StructureShape.new(name: 'DeepgramSpeechModelConfig')
316
318
  DefaultConditionalBranch = Shapes::StructureShape.new(name: 'DefaultConditionalBranch')
317
319
  DeleteBotAliasRequest = Shapes::StructureShape.new(name: 'DeleteBotAliasRequest')
318
320
  DeleteBotAliasResponse = Shapes::StructureShape.new(name: 'DeleteBotAliasResponse')
@@ -648,6 +650,7 @@ module Aws::LexModelsV2
648
650
  SearchAssociatedTranscriptsRequest = Shapes::StructureShape.new(name: 'SearchAssociatedTranscriptsRequest')
649
651
  SearchAssociatedTranscriptsResponse = Shapes::StructureShape.new(name: 'SearchAssociatedTranscriptsResponse')
650
652
  SearchOrder = Shapes::StringShape.new(name: 'SearchOrder')
653
+ SecretsManagerSecretArn = Shapes::StringShape.new(name: 'SecretsManagerSecretArn')
651
654
  SentimentAnalysisSettings = Shapes::StructureShape.new(name: 'SentimentAnalysisSettings')
652
655
  ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
653
656
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -706,6 +709,10 @@ module Aws::LexModelsV2
706
709
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
707
710
  Specifications = Shapes::StructureShape.new(name: 'Specifications')
708
711
  SpeechDetectionSensitivity = Shapes::StringShape.new(name: 'SpeechDetectionSensitivity')
712
+ SpeechFoundationModel = Shapes::StructureShape.new(name: 'SpeechFoundationModel')
713
+ SpeechModelConfig = Shapes::StructureShape.new(name: 'SpeechModelConfig')
714
+ SpeechModelPreference = Shapes::StringShape.new(name: 'SpeechModelPreference')
715
+ SpeechRecognitionSettings = Shapes::StructureShape.new(name: 'SpeechRecognitionSettings')
709
716
  StartBotRecommendationRequest = Shapes::StructureShape.new(name: 'StartBotRecommendationRequest')
710
717
  StartBotRecommendationResponse = Shapes::StructureShape.new(name: 'StartBotRecommendationResponse')
711
718
  StartBotResourceGenerationRequest = Shapes::StructureShape.new(name: 'StartBotResourceGenerationRequest')
@@ -791,6 +798,7 @@ module Aws::LexModelsV2
791
798
  TranscriptSourceSetting = Shapes::StructureShape.new(name: 'TranscriptSourceSetting')
792
799
  TurnNumber = Shapes::IntegerShape.new(name: 'TurnNumber')
793
800
  TurnSpecification = Shapes::StructureShape.new(name: 'TurnSpecification')
801
+ UnifiedSpeechSettings = Shapes::StructureShape.new(name: 'UnifiedSpeechSettings')
794
802
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
795
803
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
796
804
  UpdateBotAliasRequest = Shapes::StructureShape.new(name: 'UpdateBotAliasRequest')
@@ -1255,7 +1263,9 @@ module Aws::LexModelsV2
1255
1263
  BotLocaleImportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
1256
1264
  BotLocaleImportSpecification.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
1257
1265
  BotLocaleImportSpecification.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
1266
+ BotLocaleImportSpecification.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
1258
1267
  BotLocaleImportSpecification.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
1268
+ BotLocaleImportSpecification.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
1259
1269
  BotLocaleImportSpecification.struct_class = Types::BotLocaleImportSpecification
1260
1270
 
1261
1271
  BotLocaleSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotLocaleSortAttribute, required: true, location_name: "attribute"))
@@ -1505,6 +1515,8 @@ module Aws::LexModelsV2
1505
1515
  CreateBotLocaleRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1506
1516
  CreateBotLocaleRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, required: true, location_name: "nluIntentConfidenceThreshold"))
1507
1517
  CreateBotLocaleRequest.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
1518
+ CreateBotLocaleRequest.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
1519
+ CreateBotLocaleRequest.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
1508
1520
  CreateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
1509
1521
  CreateBotLocaleRequest.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
1510
1522
  CreateBotLocaleRequest.struct_class = Types::CreateBotLocaleRequest
@@ -1516,6 +1528,8 @@ module Aws::LexModelsV2
1516
1528
  CreateBotLocaleResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1517
1529
  CreateBotLocaleResponse.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
1518
1530
  CreateBotLocaleResponse.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
1531
+ CreateBotLocaleResponse.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
1532
+ CreateBotLocaleResponse.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
1519
1533
  CreateBotLocaleResponse.add_member(:bot_locale_status, Shapes::ShapeRef.new(shape: BotLocaleStatus, location_name: "botLocaleStatus"))
1520
1534
  CreateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1521
1535
  CreateBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
@@ -1762,6 +1776,10 @@ module Aws::LexModelsV2
1762
1776
  DateRangeFilter.add_member(:end_date_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endDateTime"))
1763
1777
  DateRangeFilter.struct_class = Types::DateRangeFilter
1764
1778
 
1779
+ DeepgramSpeechModelConfig.add_member(:api_token_secret_arn, Shapes::ShapeRef.new(shape: SecretsManagerSecretArn, required: true, location_name: "apiTokenSecretArn"))
1780
+ DeepgramSpeechModelConfig.add_member(:model_id, Shapes::ShapeRef.new(shape: DeepgramModelId, location_name: "modelId"))
1781
+ DeepgramSpeechModelConfig.struct_class = Types::DeepgramSpeechModelConfig
1782
+
1765
1783
  DefaultConditionalBranch.add_member(:next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "nextStep"))
1766
1784
  DefaultConditionalBranch.add_member(:response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "response"))
1767
1785
  DefaultConditionalBranch.struct_class = Types::DefaultConditionalBranch
@@ -1919,6 +1937,8 @@ module Aws::LexModelsV2
1919
1937
  DescribeBotLocaleResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1920
1938
  DescribeBotLocaleResponse.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
1921
1939
  DescribeBotLocaleResponse.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
1940
+ DescribeBotLocaleResponse.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
1941
+ DescribeBotLocaleResponse.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
1922
1942
  DescribeBotLocaleResponse.add_member(:intents_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "intentsCount"))
1923
1943
  DescribeBotLocaleResponse.add_member(:slot_types_count, Shapes::ShapeRef.new(shape: ResourceCount, location_name: "slotTypesCount"))
1924
1944
  DescribeBotLocaleResponse.add_member(:bot_locale_status, Shapes::ShapeRef.new(shape: BotLocaleStatus, location_name: "botLocaleStatus"))
@@ -3294,6 +3314,17 @@ module Aws::LexModelsV2
3294
3314
  Specifications.add_member(:value_elicitation_setting, Shapes::ShapeRef.new(shape: SubSlotValueElicitationSetting, required: true, location_name: "valueElicitationSetting"))
3295
3315
  Specifications.struct_class = Types::Specifications
3296
3316
 
3317
+ SpeechFoundationModel.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
3318
+ SpeechFoundationModel.add_member(:voice_id, Shapes::ShapeRef.new(shape: VoiceId, location_name: "voiceId"))
3319
+ SpeechFoundationModel.struct_class = Types::SpeechFoundationModel
3320
+
3321
+ SpeechModelConfig.add_member(:deepgram_config, Shapes::ShapeRef.new(shape: DeepgramSpeechModelConfig, location_name: "deepgramConfig"))
3322
+ SpeechModelConfig.struct_class = Types::SpeechModelConfig
3323
+
3324
+ SpeechRecognitionSettings.add_member(:speech_model_preference, Shapes::ShapeRef.new(shape: SpeechModelPreference, location_name: "speechModelPreference"))
3325
+ SpeechRecognitionSettings.add_member(:speech_model_config, Shapes::ShapeRef.new(shape: SpeechModelConfig, location_name: "speechModelConfig"))
3326
+ SpeechRecognitionSettings.struct_class = Types::SpeechRecognitionSettings
3327
+
3297
3328
  StartBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
3298
3329
  StartBotRecommendationRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
3299
3330
  StartBotRecommendationRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
@@ -3566,6 +3597,9 @@ module Aws::LexModelsV2
3566
3597
  TurnSpecification.add_member(:user_turn, Shapes::ShapeRef.new(shape: UserTurnSpecification, location_name: "userTurn"))
3567
3598
  TurnSpecification.struct_class = Types::TurnSpecification
3568
3599
 
3600
+ UnifiedSpeechSettings.add_member(:speech_foundation_model, Shapes::ShapeRef.new(shape: SpeechFoundationModel, required: true, location_name: "speechFoundationModel"))
3601
+ UnifiedSpeechSettings.struct_class = Types::UnifiedSpeechSettings
3602
+
3569
3603
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceARN"))
3570
3604
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
3571
3605
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -3601,6 +3635,8 @@ module Aws::LexModelsV2
3601
3635
  UpdateBotLocaleRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
3602
3636
  UpdateBotLocaleRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, required: true, location_name: "nluIntentConfidenceThreshold"))
3603
3637
  UpdateBotLocaleRequest.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
3638
+ UpdateBotLocaleRequest.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
3639
+ UpdateBotLocaleRequest.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
3604
3640
  UpdateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
3605
3641
  UpdateBotLocaleRequest.add_member(:speech_detection_sensitivity, Shapes::ShapeRef.new(shape: SpeechDetectionSensitivity, location_name: "speechDetectionSensitivity"))
3606
3642
  UpdateBotLocaleRequest.struct_class = Types::UpdateBotLocaleRequest
@@ -3612,6 +3648,8 @@ module Aws::LexModelsV2
3612
3648
  UpdateBotLocaleResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
3613
3649
  UpdateBotLocaleResponse.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
3614
3650
  UpdateBotLocaleResponse.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
3651
+ UpdateBotLocaleResponse.add_member(:unified_speech_settings, Shapes::ShapeRef.new(shape: UnifiedSpeechSettings, location_name: "unifiedSpeechSettings"))
3652
+ UpdateBotLocaleResponse.add_member(:speech_recognition_settings, Shapes::ShapeRef.new(shape: SpeechRecognitionSettings, location_name: "speechRecognitionSettings"))
3615
3653
  UpdateBotLocaleResponse.add_member(:bot_locale_status, Shapes::ShapeRef.new(shape: BotLocaleStatus, location_name: "botLocaleStatus"))
3616
3654
  UpdateBotLocaleResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
3617
3655
  UpdateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
@@ -3907,8 +3945,8 @@ module Aws::LexModelsV2
3907
3945
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
3908
3946
  ValidationException.struct_class = Types::ValidationException
3909
3947
 
3910
- VoiceSettings.add_member(:voice_id, Shapes::ShapeRef.new(shape: VoiceId, required: true, location_name: "voiceId"))
3911
3948
  VoiceSettings.add_member(:engine, Shapes::ShapeRef.new(shape: VoiceEngine, location_name: "engine"))
3949
+ VoiceSettings.add_member(:voice_id, Shapes::ShapeRef.new(shape: VoiceId, required: true, location_name: "voiceId"))
3912
3950
  VoiceSettings.struct_class = Types::VoiceSettings
3913
3951
 
3914
3952
  WaitAndContinueSpecification.add_member(:waiting_response, Shapes::ShapeRef.new(shape: ResponseSpecification, required: true, location_name: "waitingResponse"))
@@ -2337,6 +2337,11 @@ module Aws::LexModelsV2
2337
2337
  # * `generative`
2338
2338
  # @return [Types::VoiceSettings]
2339
2339
  #
2340
+ # @!attribute [rw] speech_recognition_settings
2341
+ # Speech-to-text settings to apply when importing the bot locale
2342
+ # configuration.
2343
+ # @return [Types::SpeechRecognitionSettings]
2344
+ #
2340
2345
  # @!attribute [rw] speech_detection_sensitivity
2341
2346
  # The sensitivity level for voice activity detection (VAD) in the bot
2342
2347
  # locale. This setting helps optimize speech recognition accuracy by
@@ -2344,6 +2349,11 @@ module Aws::LexModelsV2
2344
2349
  # interactions.
2345
2350
  # @return [String]
2346
2351
  #
2352
+ # @!attribute [rw] unified_speech_settings
2353
+ # Unified speech settings to apply when importing the bot locale
2354
+ # configuration.
2355
+ # @return [Types::UnifiedSpeechSettings]
2356
+ #
2347
2357
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleImportSpecification AWS API Documentation
2348
2358
  #
2349
2359
  class BotLocaleImportSpecification < Struct.new(
@@ -2352,7 +2362,9 @@ module Aws::LexModelsV2
2352
2362
  :locale_id,
2353
2363
  :nlu_intent_confidence_threshold,
2354
2364
  :voice_settings,
2355
- :speech_detection_sensitivity)
2365
+ :speech_recognition_settings,
2366
+ :speech_detection_sensitivity,
2367
+ :unified_speech_settings)
2356
2368
  SENSITIVE = []
2357
2369
  include Aws::Structure
2358
2370
  end
@@ -3510,6 +3522,14 @@ module Aws::LexModelsV2
3510
3522
  # with the user.
3511
3523
  # @return [Types::VoiceSettings]
3512
3524
  #
3525
+ # @!attribute [rw] unified_speech_settings
3526
+ # Unified speech settings to configure for the new bot locale.
3527
+ # @return [Types::UnifiedSpeechSettings]
3528
+ #
3529
+ # @!attribute [rw] speech_recognition_settings
3530
+ # Speech-to-text settings to configure for the new bot locale.
3531
+ # @return [Types::SpeechRecognitionSettings]
3532
+ #
3513
3533
  # @!attribute [rw] generative_ai_settings
3514
3534
  # Contains specifications about the generative AI capabilities from
3515
3535
  # Amazon Bedrock that you can turn on for your bot.
@@ -3531,6 +3551,8 @@ module Aws::LexModelsV2
3531
3551
  :description,
3532
3552
  :nlu_intent_confidence_threshold,
3533
3553
  :voice_settings,
3554
+ :unified_speech_settings,
3555
+ :speech_recognition_settings,
3534
3556
  :generative_ai_settings,
3535
3557
  :speech_detection_sensitivity)
3536
3558
  SENSITIVE = []
@@ -3567,6 +3589,14 @@ module Aws::LexModelsV2
3567
3589
  # with the user.
3568
3590
  # @return [Types::VoiceSettings]
3569
3591
  #
3592
+ # @!attribute [rw] unified_speech_settings
3593
+ # The unified speech settings configured for the created bot locale.
3594
+ # @return [Types::UnifiedSpeechSettings]
3595
+ #
3596
+ # @!attribute [rw] speech_recognition_settings
3597
+ # The speech-to-text settings configured for the created bot locale.
3598
+ # @return [Types::SpeechRecognitionSettings]
3599
+ #
3570
3600
  # @!attribute [rw] bot_locale_status
3571
3601
  # The status of the bot.
3572
3602
  #
@@ -3608,6 +3638,8 @@ module Aws::LexModelsV2
3608
3638
  :description,
3609
3639
  :nlu_intent_confidence_threshold,
3610
3640
  :voice_settings,
3641
+ :unified_speech_settings,
3642
+ :speech_recognition_settings,
3611
3643
  :bot_locale_status,
3612
3644
  :creation_date_time,
3613
3645
  :generative_ai_settings,
@@ -5023,6 +5055,28 @@ module Aws::LexModelsV2
5023
5055
  include Aws::Structure
5024
5056
  end
5025
5057
 
5058
+ # Configuration settings for integrating Deepgram speech-to-text models
5059
+ # with Amazon Lex.
5060
+ #
5061
+ # @!attribute [rw] api_token_secret_arn
5062
+ # The Amazon Resource Name (ARN) of the Secrets Manager secret that
5063
+ # contains the Deepgram API token.
5064
+ # @return [String]
5065
+ #
5066
+ # @!attribute [rw] model_id
5067
+ # The identifier of the Deepgram speech-to-text model to use for
5068
+ # processing speech input.
5069
+ # @return [String]
5070
+ #
5071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeepgramSpeechModelConfig AWS API Documentation
5072
+ #
5073
+ class DeepgramSpeechModelConfig < Struct.new(
5074
+ :api_token_secret_arn,
5075
+ :model_id)
5076
+ SENSITIVE = []
5077
+ include Aws::Structure
5078
+ end
5079
+
5026
5080
  # A set of actions that Amazon Lex should run if none of the other
5027
5081
  # conditions are met.
5028
5082
  #
@@ -5816,6 +5870,14 @@ module Aws::LexModelsV2
5816
5870
  # the user.
5817
5871
  # @return [Types::VoiceSettings]
5818
5872
  #
5873
+ # @!attribute [rw] unified_speech_settings
5874
+ # The unified speech settings configured for the bot locale.
5875
+ # @return [Types::UnifiedSpeechSettings]
5876
+ #
5877
+ # @!attribute [rw] speech_recognition_settings
5878
+ # The speech-to-text settings configured for the bot locale.
5879
+ # @return [Types::SpeechRecognitionSettings]
5880
+ #
5819
5881
  # @!attribute [rw] intents_count
5820
5882
  # The number of intents defined for the locale.
5821
5883
  # @return [Integer]
@@ -5876,6 +5938,8 @@ module Aws::LexModelsV2
5876
5938
  :description,
5877
5939
  :nlu_intent_confidence_threshold,
5878
5940
  :voice_settings,
5941
+ :unified_speech_settings,
5942
+ :speech_recognition_settings,
5879
5943
  :intents_count,
5880
5944
  :slot_types_count,
5881
5945
  :bot_locale_status,
@@ -13079,6 +13143,64 @@ module Aws::LexModelsV2
13079
13143
  include Aws::Structure
13080
13144
  end
13081
13145
 
13146
+ # Configuration for a foundation model used for speech synthesis and
13147
+ # recognition capabilities.
13148
+ #
13149
+ # @!attribute [rw] model_arn
13150
+ # The Amazon Resource Name (ARN) of the foundation model used for
13151
+ # speech processing.
13152
+ # @return [String]
13153
+ #
13154
+ # @!attribute [rw] voice_id
13155
+ # The identifier of the voice to use for speech synthesis with the
13156
+ # foundation model.
13157
+ # @return [String]
13158
+ #
13159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SpeechFoundationModel AWS API Documentation
13160
+ #
13161
+ class SpeechFoundationModel < Struct.new(
13162
+ :model_arn,
13163
+ :voice_id)
13164
+ SENSITIVE = []
13165
+ include Aws::Structure
13166
+ end
13167
+
13168
+ # Configuration settings that define which speech-to-text model to use
13169
+ # for processing speech input.
13170
+ #
13171
+ # @!attribute [rw] deepgram_config
13172
+ # Configuration settings for using Deepgram as the speech-to-text
13173
+ # provider.
13174
+ # @return [Types::DeepgramSpeechModelConfig]
13175
+ #
13176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SpeechModelConfig AWS API Documentation
13177
+ #
13178
+ class SpeechModelConfig < Struct.new(
13179
+ :deepgram_config)
13180
+ SENSITIVE = []
13181
+ include Aws::Structure
13182
+ end
13183
+
13184
+ # Settings that control how Amazon Lex processes and recognizes speech
13185
+ # input from users.
13186
+ #
13187
+ # @!attribute [rw] speech_model_preference
13188
+ # The speech-to-text model to use.
13189
+ # @return [String]
13190
+ #
13191
+ # @!attribute [rw] speech_model_config
13192
+ # Configuration settings for the selected speech-to-text model.
13193
+ # @return [Types::SpeechModelConfig]
13194
+ #
13195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SpeechRecognitionSettings AWS API Documentation
13196
+ #
13197
+ class SpeechRecognitionSettings < Struct.new(
13198
+ :speech_model_preference,
13199
+ :speech_model_config)
13200
+ SENSITIVE = []
13201
+ include Aws::Structure
13202
+ end
13203
+
13082
13204
  # @!attribute [rw] bot_id
13083
13205
  # The unique identifier of the bot containing the bot recommendation.
13084
13206
  # @return [String]
@@ -14373,6 +14495,22 @@ module Aws::LexModelsV2
14373
14495
  include Aws::Structure
14374
14496
  end
14375
14497
 
14498
+ # Unified configuration settings that combine speech recognition and
14499
+ # synthesis capabilities.
14500
+ #
14501
+ # @!attribute [rw] speech_foundation_model
14502
+ # The foundation model configuration to use for unified speech
14503
+ # processing capabilities.
14504
+ # @return [Types::SpeechFoundationModel]
14505
+ #
14506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UnifiedSpeechSettings AWS API Documentation
14507
+ #
14508
+ class UnifiedSpeechSettings < Struct.new(
14509
+ :speech_foundation_model)
14510
+ SENSITIVE = []
14511
+ include Aws::Structure
14512
+ end
14513
+
14376
14514
  # @!attribute [rw] resource_arn
14377
14515
  # The Amazon Resource Name (ARN) of the resource to remove the tags
14378
14516
  # from.
@@ -14545,6 +14683,14 @@ module Aws::LexModelsV2
14545
14683
  # interaction with the user.
14546
14684
  # @return [Types::VoiceSettings]
14547
14685
  #
14686
+ # @!attribute [rw] unified_speech_settings
14687
+ # Updated unified speech settings to apply to the bot locale.
14688
+ # @return [Types::UnifiedSpeechSettings]
14689
+ #
14690
+ # @!attribute [rw] speech_recognition_settings
14691
+ # Updated speech-to-text settings to apply to the bot locale.
14692
+ # @return [Types::SpeechRecognitionSettings]
14693
+ #
14548
14694
  # @!attribute [rw] generative_ai_settings
14549
14695
  # Contains settings for generative AI features powered by Amazon
14550
14696
  # Bedrock for your bot locale. Use this object to turn generative AI
@@ -14568,6 +14714,8 @@ module Aws::LexModelsV2
14568
14714
  :description,
14569
14715
  :nlu_intent_confidence_threshold,
14570
14716
  :voice_settings,
14717
+ :unified_speech_settings,
14718
+ :speech_recognition_settings,
14571
14719
  :generative_ai_settings,
14572
14720
  :speech_detection_sensitivity)
14573
14721
  SENSITIVE = []
@@ -14605,6 +14753,14 @@ module Aws::LexModelsV2
14605
14753
  # user.
14606
14754
  # @return [Types::VoiceSettings]
14607
14755
  #
14756
+ # @!attribute [rw] unified_speech_settings
14757
+ # The updated unified speech settings for the bot locale.
14758
+ # @return [Types::UnifiedSpeechSettings]
14759
+ #
14760
+ # @!attribute [rw] speech_recognition_settings
14761
+ # The updated speech-to-text settings for the bot locale.
14762
+ # @return [Types::SpeechRecognitionSettings]
14763
+ #
14608
14764
  # @!attribute [rw] bot_locale_status
14609
14765
  # The current status of the locale. When the bot status is `Built` the
14610
14766
  # locale is ready for use.
@@ -14648,6 +14804,8 @@ module Aws::LexModelsV2
14648
14804
  :description,
14649
14805
  :nlu_intent_confidence_threshold,
14650
14806
  :voice_settings,
14807
+ :unified_speech_settings,
14808
+ :speech_recognition_settings,
14651
14809
  :bot_locale_status,
14652
14810
  :failure_reasons,
14653
14811
  :creation_date_time,
@@ -16210,10 +16368,6 @@ module Aws::LexModelsV2
16210
16368
  #
16211
16369
  # * `generative`
16212
16370
  #
16213
- # @!attribute [rw] voice_id
16214
- # The identifier of the Amazon Polly voice to use.
16215
- # @return [String]
16216
- #
16217
16371
  # @!attribute [rw] engine
16218
16372
  # Indicates the type of Amazon Polly voice that Amazon Lex should use
16219
16373
  # for voice interaction with the user. For more information, see the [
@@ -16227,11 +16381,15 @@ module Aws::LexModelsV2
16227
16381
  # [1]: https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine
16228
16382
  # @return [String]
16229
16383
  #
16384
+ # @!attribute [rw] voice_id
16385
+ # The identifier of the Amazon Polly voice to use.
16386
+ # @return [String]
16387
+ #
16230
16388
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/VoiceSettings AWS API Documentation
16231
16389
  #
16232
16390
  class VoiceSettings < Struct.new(
16233
- :voice_id,
16234
- :engine)
16391
+ :engine,
16392
+ :voice_id)
16235
16393
  SENSITIVE = []
16236
16394
  include Aws::Structure
16237
16395
  end
@@ -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.83.0'
58
+ GEM_VERSION = '1.84.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -277,6 +277,8 @@ module Aws
277
277
  def description: () -> ::String
278
278
  def nlu_intent_confidence_threshold: () -> ::Float
279
279
  def voice_settings: () -> Types::VoiceSettings
280
+ def unified_speech_settings: () -> Types::UnifiedSpeechSettings
281
+ def speech_recognition_settings: () -> Types::SpeechRecognitionSettings
280
282
  def bot_locale_status: () -> ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
281
283
  def creation_date_time: () -> ::Time
282
284
  def generative_ai_settings: () -> Types::GenerativeAISettings
@@ -290,8 +292,23 @@ module Aws
290
292
  ?description: ::String,
291
293
  nlu_intent_confidence_threshold: ::Float,
292
294
  ?voice_settings: {
293
- voice_id: ::String,
294
- engine: ("standard" | "neural" | "long-form" | "generative")?
295
+ engine: ("standard" | "neural" | "long-form" | "generative")?,
296
+ voice_id: ::String
297
+ },
298
+ ?unified_speech_settings: {
299
+ speech_foundation_model: {
300
+ model_arn: ::String,
301
+ voice_id: ::String?
302
+ }
303
+ },
304
+ ?speech_recognition_settings: {
305
+ speech_model_preference: ("Standard" | "Neural" | "Deepgram")?,
306
+ speech_model_config: {
307
+ deepgram_config: {
308
+ api_token_secret_arn: ::String,
309
+ model_id: ::String?
310
+ }?
311
+ }?
295
312
  },
296
313
  ?generative_ai_settings: {
297
314
  runtime_settings: {
@@ -6074,6 +6091,8 @@ module Aws
6074
6091
  def description: () -> ::String
6075
6092
  def nlu_intent_confidence_threshold: () -> ::Float
6076
6093
  def voice_settings: () -> Types::VoiceSettings
6094
+ def unified_speech_settings: () -> Types::UnifiedSpeechSettings
6095
+ def speech_recognition_settings: () -> Types::SpeechRecognitionSettings
6077
6096
  def intents_count: () -> ::Integer
6078
6097
  def slot_types_count: () -> ::Integer
6079
6098
  def bot_locale_status: () -> ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
@@ -7308,10 +7327,25 @@ module Aws
7308
7327
  locale_id: ::String,
7309
7328
  nlu_intent_confidence_threshold: ::Float?,
7310
7329
  voice_settings: {
7311
- voice_id: ::String,
7312
- engine: ("standard" | "neural" | "long-form" | "generative")?
7330
+ engine: ("standard" | "neural" | "long-form" | "generative")?,
7331
+ voice_id: ::String
7313
7332
  }?,
7314
- speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")?
7333
+ speech_recognition_settings: {
7334
+ speech_model_preference: ("Standard" | "Neural" | "Deepgram")?,
7335
+ speech_model_config: {
7336
+ deepgram_config: {
7337
+ api_token_secret_arn: ::String,
7338
+ model_id: ::String?
7339
+ }?
7340
+ }?
7341
+ }?,
7342
+ speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")?,
7343
+ unified_speech_settings: {
7344
+ speech_foundation_model: {
7345
+ model_arn: ::String,
7346
+ voice_id: ::String?
7347
+ }
7348
+ }?
7315
7349
  }?,
7316
7350
  custom_vocabulary_import_specification: {
7317
7351
  bot_id: ::String,
@@ -7552,6 +7586,8 @@ module Aws
7552
7586
  def description: () -> ::String
7553
7587
  def nlu_intent_confidence_threshold: () -> ::Float
7554
7588
  def voice_settings: () -> Types::VoiceSettings
7589
+ def unified_speech_settings: () -> Types::UnifiedSpeechSettings
7590
+ def speech_recognition_settings: () -> Types::SpeechRecognitionSettings
7555
7591
  def bot_locale_status: () -> ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
7556
7592
  def failure_reasons: () -> ::Array[::String]
7557
7593
  def creation_date_time: () -> ::Time
@@ -7568,8 +7604,23 @@ module Aws
7568
7604
  ?description: ::String,
7569
7605
  nlu_intent_confidence_threshold: ::Float,
7570
7606
  ?voice_settings: {
7571
- voice_id: ::String,
7572
- engine: ("standard" | "neural" | "long-form" | "generative")?
7607
+ engine: ("standard" | "neural" | "long-form" | "generative")?,
7608
+ voice_id: ::String
7609
+ },
7610
+ ?unified_speech_settings: {
7611
+ speech_foundation_model: {
7612
+ model_arn: ::String,
7613
+ voice_id: ::String?
7614
+ }
7615
+ },
7616
+ ?speech_recognition_settings: {
7617
+ speech_model_preference: ("Standard" | "Neural" | "Deepgram")?,
7618
+ speech_model_config: {
7619
+ deepgram_config: {
7620
+ api_token_secret_arn: ::String,
7621
+ model_id: ::String?
7622
+ }?
7623
+ }?
7573
7624
  },
7574
7625
  ?generative_ai_settings: {
7575
7626
  runtime_settings: {
data/sig/types.rbs CHANGED
@@ -461,7 +461,9 @@ module Aws::LexModelsV2
461
461
  attr_accessor locale_id: ::String
462
462
  attr_accessor nlu_intent_confidence_threshold: ::Float
463
463
  attr_accessor voice_settings: Types::VoiceSettings
464
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
464
465
  attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
466
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
465
467
  SENSITIVE: []
466
468
  end
467
469
 
@@ -756,6 +758,8 @@ module Aws::LexModelsV2
756
758
  attr_accessor description: ::String
757
759
  attr_accessor nlu_intent_confidence_threshold: ::Float
758
760
  attr_accessor voice_settings: Types::VoiceSettings
761
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
762
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
759
763
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
760
764
  attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
761
765
  SENSITIVE: []
@@ -769,6 +773,8 @@ module Aws::LexModelsV2
769
773
  attr_accessor description: ::String
770
774
  attr_accessor nlu_intent_confidence_threshold: ::Float
771
775
  attr_accessor voice_settings: Types::VoiceSettings
776
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
777
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
772
778
  attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
773
779
  attr_accessor creation_date_time: ::Time
774
780
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
@@ -1073,6 +1079,12 @@ module Aws::LexModelsV2
1073
1079
  SENSITIVE: []
1074
1080
  end
1075
1081
 
1082
+ class DeepgramSpeechModelConfig
1083
+ attr_accessor api_token_secret_arn: ::String
1084
+ attr_accessor model_id: ::String
1085
+ SENSITIVE: []
1086
+ end
1087
+
1076
1088
  class DefaultConditionalBranch
1077
1089
  attr_accessor next_step: Types::DialogState
1078
1090
  attr_accessor response: Types::ResponseSpecification
@@ -1288,6 +1300,8 @@ module Aws::LexModelsV2
1288
1300
  attr_accessor description: ::String
1289
1301
  attr_accessor nlu_intent_confidence_threshold: ::Float
1290
1302
  attr_accessor voice_settings: Types::VoiceSettings
1303
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
1304
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
1291
1305
  attr_accessor intents_count: ::Integer
1292
1306
  attr_accessor slot_types_count: ::Integer
1293
1307
  attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
@@ -3006,6 +3020,23 @@ module Aws::LexModelsV2
3006
3020
  SENSITIVE: []
3007
3021
  end
3008
3022
 
3023
+ class SpeechFoundationModel
3024
+ attr_accessor model_arn: ::String
3025
+ attr_accessor voice_id: ::String
3026
+ SENSITIVE: []
3027
+ end
3028
+
3029
+ class SpeechModelConfig
3030
+ attr_accessor deepgram_config: Types::DeepgramSpeechModelConfig
3031
+ SENSITIVE: []
3032
+ end
3033
+
3034
+ class SpeechRecognitionSettings
3035
+ attr_accessor speech_model_preference: ("Standard" | "Neural" | "Deepgram")
3036
+ attr_accessor speech_model_config: Types::SpeechModelConfig
3037
+ SENSITIVE: []
3038
+ end
3039
+
3009
3040
  class StartBotRecommendationRequest
3010
3041
  attr_accessor bot_id: ::String
3011
3042
  attr_accessor bot_version: ::String
@@ -3335,6 +3366,11 @@ module Aws::LexModelsV2
3335
3366
  SENSITIVE: []
3336
3367
  end
3337
3368
 
3369
+ class UnifiedSpeechSettings
3370
+ attr_accessor speech_foundation_model: Types::SpeechFoundationModel
3371
+ SENSITIVE: []
3372
+ end
3373
+
3338
3374
  class UntagResourceRequest
3339
3375
  attr_accessor resource_arn: ::String
3340
3376
  attr_accessor tag_keys: ::Array[::String]
@@ -3378,6 +3414,8 @@ module Aws::LexModelsV2
3378
3414
  attr_accessor description: ::String
3379
3415
  attr_accessor nlu_intent_confidence_threshold: ::Float
3380
3416
  attr_accessor voice_settings: Types::VoiceSettings
3417
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
3418
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
3381
3419
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
3382
3420
  attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
3383
3421
  SENSITIVE: []
@@ -3391,6 +3429,8 @@ module Aws::LexModelsV2
3391
3429
  attr_accessor description: ::String
3392
3430
  attr_accessor nlu_intent_confidence_threshold: ::Float
3393
3431
  attr_accessor voice_settings: Types::VoiceSettings
3432
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
3433
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
3394
3434
  attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
3395
3435
  attr_accessor failure_reasons: ::Array[::String]
3396
3436
  attr_accessor creation_date_time: ::Time
@@ -3737,8 +3777,8 @@ module Aws::LexModelsV2
3737
3777
  end
3738
3778
 
3739
3779
  class VoiceSettings
3740
- attr_accessor voice_id: ::String
3741
3780
  attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
3781
+ attr_accessor voice_id: ::String
3742
3782
  SENSITIVE: []
3743
3783
  end
3744
3784
 
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.83.0
4
+ version: 1.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services