aws-sdk-lexmodelsv2 1.82.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.
data/sig/client.rbs CHANGED
@@ -277,9 +277,12 @@ 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
285
+ def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
283
286
  end
284
287
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#create_bot_locale-instance_method
285
288
  def create_bot_locale: (
@@ -289,8 +292,23 @@ module Aws
289
292
  ?description: ::String,
290
293
  nlu_intent_confidence_threshold: ::Float,
291
294
  ?voice_settings: {
292
- voice_id: ::String,
293
- 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
+ }?
294
312
  },
295
313
  ?generative_ai_settings: {
296
314
  runtime_settings: {
@@ -308,7 +326,12 @@ module Aws
308
326
  }?,
309
327
  nlu_improvement: {
310
328
  enabled: bool,
311
- assisted_nlu_mode: ("Primary" | "Fallback")?
329
+ assisted_nlu_mode: ("Primary" | "Fallback")?,
330
+ intent_disambiguation_settings: {
331
+ enabled: bool,
332
+ max_disambiguation_intents: ::Integer?,
333
+ custom_disambiguation_message: ::String?
334
+ }?
312
335
  }?
313
336
  }?,
314
337
  buildtime_settings: {
@@ -337,7 +360,8 @@ module Aws
337
360
  }?
338
361
  }?
339
362
  }?
340
- }
363
+ },
364
+ ?speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
341
365
  ) -> _CreateBotLocaleResponseSuccess
342
366
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBotLocaleResponseSuccess
343
367
 
@@ -413,6 +437,7 @@ module Aws
413
437
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIntentResponse]
414
438
  def intent_id: () -> ::String
415
439
  def intent_name: () -> ::String
440
+ def intent_display_name: () -> ::String
416
441
  def description: () -> ::String
417
442
  def parent_intent_signature: () -> ::String
418
443
  def sample_utterances: () -> ::Array[Types::SampleUtterance]
@@ -434,6 +459,7 @@ module Aws
434
459
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#create_intent-instance_method
435
460
  def create_intent: (
436
461
  intent_name: ::String,
462
+ ?intent_display_name: ::String,
437
463
  ?description: ::String,
438
464
  ?parent_intent_signature: ::String,
439
465
  ?sample_utterances: Array[
@@ -6065,6 +6091,8 @@ module Aws
6065
6091
  def description: () -> ::String
6066
6092
  def nlu_intent_confidence_threshold: () -> ::Float
6067
6093
  def voice_settings: () -> Types::VoiceSettings
6094
+ def unified_speech_settings: () -> Types::UnifiedSpeechSettings
6095
+ def speech_recognition_settings: () -> Types::SpeechRecognitionSettings
6068
6096
  def intents_count: () -> ::Integer
6069
6097
  def slot_types_count: () -> ::Integer
6070
6098
  def bot_locale_status: () -> ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
@@ -6075,6 +6103,7 @@ module Aws
6075
6103
  def bot_locale_history_events: () -> ::Array[Types::BotLocaleHistoryEvent]
6076
6104
  def recommended_actions: () -> ::Array[::String]
6077
6105
  def generative_ai_settings: () -> Types::GenerativeAISettings
6106
+ def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
6078
6107
  end
6079
6108
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#describe_bot_locale-instance_method
6080
6109
  def describe_bot_locale: (
@@ -6225,6 +6254,7 @@ module Aws
6225
6254
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIntentResponse]
6226
6255
  def intent_id: () -> ::String
6227
6256
  def intent_name: () -> ::String
6257
+ def intent_display_name: () -> ::String
6228
6258
  def description: () -> ::String
6229
6259
  def parent_intent_signature: () -> ::String
6230
6260
  def sample_utterances: () -> ::Array[Types::SampleUtterance]
@@ -7297,8 +7327,24 @@ module Aws
7297
7327
  locale_id: ::String,
7298
7328
  nlu_intent_confidence_threshold: ::Float?,
7299
7329
  voice_settings: {
7300
- voice_id: ::String,
7301
- engine: ("standard" | "neural" | "long-form" | "generative")?
7330
+ engine: ("standard" | "neural" | "long-form" | "generative")?,
7331
+ voice_id: ::String
7332
+ }?,
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
+ }
7302
7348
  }?
7303
7349
  }?,
7304
7350
  custom_vocabulary_import_specification: {
@@ -7540,12 +7586,15 @@ module Aws
7540
7586
  def description: () -> ::String
7541
7587
  def nlu_intent_confidence_threshold: () -> ::Float
7542
7588
  def voice_settings: () -> Types::VoiceSettings
7589
+ def unified_speech_settings: () -> Types::UnifiedSpeechSettings
7590
+ def speech_recognition_settings: () -> Types::SpeechRecognitionSettings
7543
7591
  def bot_locale_status: () -> ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
7544
7592
  def failure_reasons: () -> ::Array[::String]
7545
7593
  def creation_date_time: () -> ::Time
7546
7594
  def last_updated_date_time: () -> ::Time
7547
7595
  def recommended_actions: () -> ::Array[::String]
7548
7596
  def generative_ai_settings: () -> Types::GenerativeAISettings
7597
+ def speech_detection_sensitivity: () -> ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
7549
7598
  end
7550
7599
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#update_bot_locale-instance_method
7551
7600
  def update_bot_locale: (
@@ -7555,8 +7604,23 @@ module Aws
7555
7604
  ?description: ::String,
7556
7605
  nlu_intent_confidence_threshold: ::Float,
7557
7606
  ?voice_settings: {
7558
- voice_id: ::String,
7559
- 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
+ }?
7560
7624
  },
7561
7625
  ?generative_ai_settings: {
7562
7626
  runtime_settings: {
@@ -7574,7 +7638,12 @@ module Aws
7574
7638
  }?,
7575
7639
  nlu_improvement: {
7576
7640
  enabled: bool,
7577
- assisted_nlu_mode: ("Primary" | "Fallback")?
7641
+ assisted_nlu_mode: ("Primary" | "Fallback")?,
7642
+ intent_disambiguation_settings: {
7643
+ enabled: bool,
7644
+ max_disambiguation_intents: ::Integer?,
7645
+ custom_disambiguation_message: ::String?
7646
+ }?
7578
7647
  }?
7579
7648
  }?,
7580
7649
  buildtime_settings: {
@@ -7603,7 +7672,8 @@ module Aws
7603
7672
  }?
7604
7673
  }?
7605
7674
  }?
7606
- }
7675
+ },
7676
+ ?speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
7607
7677
  ) -> _UpdateBotLocaleResponseSuccess
7608
7678
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBotLocaleResponseSuccess
7609
7679
 
@@ -7653,6 +7723,7 @@ module Aws
7653
7723
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIntentResponse]
7654
7724
  def intent_id: () -> ::String
7655
7725
  def intent_name: () -> ::String
7726
+ def intent_display_name: () -> ::String
7656
7727
  def description: () -> ::String
7657
7728
  def parent_intent_signature: () -> ::String
7658
7729
  def sample_utterances: () -> ::Array[Types::SampleUtterance]
@@ -7677,6 +7748,7 @@ module Aws
7677
7748
  def update_intent: (
7678
7749
  intent_id: ::String,
7679
7750
  intent_name: ::String,
7751
+ ?intent_display_name: ::String,
7680
7752
  ?description: ::String,
7681
7753
  ?parent_intent_signature: ::String,
7682
7754
  ?sample_utterances: Array[
data/sig/types.rbs CHANGED
@@ -461,6 +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
465
+ attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
466
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
464
467
  SENSITIVE: []
465
468
  end
466
469
 
@@ -755,7 +758,10 @@ module Aws::LexModelsV2
755
758
  attr_accessor description: ::String
756
759
  attr_accessor nlu_intent_confidence_threshold: ::Float
757
760
  attr_accessor voice_settings: Types::VoiceSettings
761
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
762
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
758
763
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
764
+ attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
759
765
  SENSITIVE: []
760
766
  end
761
767
 
@@ -767,9 +773,12 @@ module Aws::LexModelsV2
767
773
  attr_accessor description: ::String
768
774
  attr_accessor nlu_intent_confidence_threshold: ::Float
769
775
  attr_accessor voice_settings: Types::VoiceSettings
776
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
777
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
770
778
  attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
771
779
  attr_accessor creation_date_time: ::Time
772
780
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
781
+ attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
773
782
  SENSITIVE: []
774
783
  end
775
784
 
@@ -854,6 +863,7 @@ module Aws::LexModelsV2
854
863
 
855
864
  class CreateIntentRequest
856
865
  attr_accessor intent_name: ::String
866
+ attr_accessor intent_display_name: ::String
857
867
  attr_accessor description: ::String
858
868
  attr_accessor parent_intent_signature: ::String
859
869
  attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
@@ -876,6 +886,7 @@ module Aws::LexModelsV2
876
886
  class CreateIntentResponse
877
887
  attr_accessor intent_id: ::String
878
888
  attr_accessor intent_name: ::String
889
+ attr_accessor intent_display_name: ::String
879
890
  attr_accessor description: ::String
880
891
  attr_accessor parent_intent_signature: ::String
881
892
  attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
@@ -1068,6 +1079,12 @@ module Aws::LexModelsV2
1068
1079
  SENSITIVE: []
1069
1080
  end
1070
1081
 
1082
+ class DeepgramSpeechModelConfig
1083
+ attr_accessor api_token_secret_arn: ::String
1084
+ attr_accessor model_id: ::String
1085
+ SENSITIVE: []
1086
+ end
1087
+
1071
1088
  class DefaultConditionalBranch
1072
1089
  attr_accessor next_step: Types::DialogState
1073
1090
  attr_accessor response: Types::ResponseSpecification
@@ -1283,6 +1300,8 @@ module Aws::LexModelsV2
1283
1300
  attr_accessor description: ::String
1284
1301
  attr_accessor nlu_intent_confidence_threshold: ::Float
1285
1302
  attr_accessor voice_settings: Types::VoiceSettings
1303
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
1304
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
1286
1305
  attr_accessor intents_count: ::Integer
1287
1306
  attr_accessor slot_types_count: ::Integer
1288
1307
  attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
@@ -1293,6 +1312,7 @@ module Aws::LexModelsV2
1293
1312
  attr_accessor bot_locale_history_events: ::Array[Types::BotLocaleHistoryEvent]
1294
1313
  attr_accessor recommended_actions: ::Array[::String]
1295
1314
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
1315
+ attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
1296
1316
  SENSITIVE: []
1297
1317
  end
1298
1318
 
@@ -1466,6 +1486,7 @@ module Aws::LexModelsV2
1466
1486
  class DescribeIntentResponse
1467
1487
  attr_accessor intent_id: ::String
1468
1488
  attr_accessor intent_name: ::String
1489
+ attr_accessor intent_display_name: ::String
1469
1490
  attr_accessor description: ::String
1470
1491
  attr_accessor parent_intent_signature: ::String
1471
1492
  attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
@@ -1929,6 +1950,13 @@ module Aws::LexModelsV2
1929
1950
  SENSITIVE: []
1930
1951
  end
1931
1952
 
1953
+ class IntentDisambiguationSettings
1954
+ attr_accessor enabled: bool
1955
+ attr_accessor max_disambiguation_intents: ::Integer
1956
+ attr_accessor custom_disambiguation_message: ::String
1957
+ SENSITIVE: []
1958
+ end
1959
+
1932
1960
  class IntentFilter
1933
1961
  attr_accessor name: ("IntentName")
1934
1962
  attr_accessor values: ::Array[::String]
@@ -1968,6 +1996,7 @@ module Aws::LexModelsV2
1968
1996
  class IntentSummary
1969
1997
  attr_accessor intent_id: ::String
1970
1998
  attr_accessor intent_name: ::String
1999
+ attr_accessor intent_display_name: ::String
1971
2000
  attr_accessor description: ::String
1972
2001
  attr_accessor parent_intent_signature: ::String
1973
2002
  attr_accessor input_contexts: ::Array[Types::InputContext]
@@ -2569,6 +2598,7 @@ module Aws::LexModelsV2
2569
2598
  class NluImprovementSpecification
2570
2599
  attr_accessor enabled: bool
2571
2600
  attr_accessor assisted_nlu_mode: ("Primary" | "Fallback")
2601
+ attr_accessor intent_disambiguation_settings: Types::IntentDisambiguationSettings
2572
2602
  SENSITIVE: []
2573
2603
  end
2574
2604
 
@@ -2990,6 +3020,23 @@ module Aws::LexModelsV2
2990
3020
  SENSITIVE: []
2991
3021
  end
2992
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
+
2993
3040
  class StartBotRecommendationRequest
2994
3041
  attr_accessor bot_id: ::String
2995
3042
  attr_accessor bot_version: ::String
@@ -3319,6 +3366,11 @@ module Aws::LexModelsV2
3319
3366
  SENSITIVE: []
3320
3367
  end
3321
3368
 
3369
+ class UnifiedSpeechSettings
3370
+ attr_accessor speech_foundation_model: Types::SpeechFoundationModel
3371
+ SENSITIVE: []
3372
+ end
3373
+
3322
3374
  class UntagResourceRequest
3323
3375
  attr_accessor resource_arn: ::String
3324
3376
  attr_accessor tag_keys: ::Array[::String]
@@ -3362,7 +3414,10 @@ module Aws::LexModelsV2
3362
3414
  attr_accessor description: ::String
3363
3415
  attr_accessor nlu_intent_confidence_threshold: ::Float
3364
3416
  attr_accessor voice_settings: Types::VoiceSettings
3417
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
3418
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
3365
3419
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
3420
+ attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
3366
3421
  SENSITIVE: []
3367
3422
  end
3368
3423
 
@@ -3374,12 +3429,15 @@ module Aws::LexModelsV2
3374
3429
  attr_accessor description: ::String
3375
3430
  attr_accessor nlu_intent_confidence_threshold: ::Float
3376
3431
  attr_accessor voice_settings: Types::VoiceSettings
3432
+ attr_accessor unified_speech_settings: Types::UnifiedSpeechSettings
3433
+ attr_accessor speech_recognition_settings: Types::SpeechRecognitionSettings
3377
3434
  attr_accessor bot_locale_status: ("Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing")
3378
3435
  attr_accessor failure_reasons: ::Array[::String]
3379
3436
  attr_accessor creation_date_time: ::Time
3380
3437
  attr_accessor last_updated_date_time: ::Time
3381
3438
  attr_accessor recommended_actions: ::Array[::String]
3382
3439
  attr_accessor generative_ai_settings: Types::GenerativeAISettings
3440
+ attr_accessor speech_detection_sensitivity: ("Default" | "HighNoiseTolerance" | "MaximumNoiseTolerance")
3383
3441
  SENSITIVE: []
3384
3442
  end
3385
3443
 
@@ -3453,6 +3511,7 @@ module Aws::LexModelsV2
3453
3511
  class UpdateIntentRequest
3454
3512
  attr_accessor intent_id: ::String
3455
3513
  attr_accessor intent_name: ::String
3514
+ attr_accessor intent_display_name: ::String
3456
3515
  attr_accessor description: ::String
3457
3516
  attr_accessor parent_intent_signature: ::String
3458
3517
  attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
@@ -3476,6 +3535,7 @@ module Aws::LexModelsV2
3476
3535
  class UpdateIntentResponse
3477
3536
  attr_accessor intent_id: ::String
3478
3537
  attr_accessor intent_name: ::String
3538
+ attr_accessor intent_display_name: ::String
3479
3539
  attr_accessor description: ::String
3480
3540
  attr_accessor parent_intent_signature: ::String
3481
3541
  attr_accessor sample_utterances: ::Array[Types::SampleUtterance]
@@ -3717,8 +3777,8 @@ module Aws::LexModelsV2
3717
3777
  end
3718
3778
 
3719
3779
  class VoiceSettings
3720
- attr_accessor voice_id: ::String
3721
3780
  attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
3781
+ attr_accessor voice_id: ::String
3722
3782
  SENSITIVE: []
3723
3783
  end
3724
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.82.0
4
+ version: 1.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.234.0
21
+ version: 3.239.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.234.0
31
+ version: 3.239.1
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement