aws-sdk-lexmodelsv2 1.48.0 → 1.49.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: 26341a76e83b1a9b9e0d013d6dd063079601bf3fa6c9d0244c8a7a359a7c3c78
4
- data.tar.gz: 694837f7ece001900145e7c2c480c9af7d068dfaf09084647b2773427fe75378
3
+ metadata.gz: '09add5d12cd38e6179bd17e7e5eb8bed77f6ceaac88a00f0055d2807f983d85e'
4
+ data.tar.gz: 95ae6d4fa42a75b51f0c5c595f324211e92d772d65fb2ebac45656f40439ae1f
5
5
  SHA512:
6
- metadata.gz: f5b8472c7741753766a67e6568817df80f8bb26810eba3aa515b163d9a3508294ea366011009dfef2301effdd63d2a8675e83b604b735427da2f95a2ebacb8be
7
- data.tar.gz: 1ec48ae6bd800bd2f0ceeb0f0a7d799a379dde8dc1645880771d35f8217f3abf79d4f0db5fc8a16c4204fdd15e9884d6bd0085b1b3cfc62c9acf5cc2091d499b
6
+ metadata.gz: 4ac252fd1dc724fee4a75e2f1fd7df8d89255c6f5df0a2a88247438d6857ca6bdc27358c6e77aed4ea406a97f5b34b7ff20f1aa26321f887ce5a3a3c2908e8ec
7
+ data.tar.gz: 281acbd068f611677aeb903d1492bd598663829385fb1d158bed5f19075314ee45e5c41cb73d09fb3302070d4285a1cd0dcc45df6958c4545b113a962e336baf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2024-02-29)
5
+ ------------------
6
+
7
+ * Feature - This release makes AMAZON.QnAIntent generally available in Amazon Lex. This generative AI feature leverages large language models available through Amazon Bedrock to automate frequently asked questions (FAQ) experience for end-users.
8
+
4
9
  1.48.0 (2024-02-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.48.0
1
+ 1.49.0
@@ -1388,6 +1388,12 @@ module Aws::LexModelsV2
1388
1388
  # Configuration settings for the response that is sent to the user at
1389
1389
  # the beginning of a conversation, before eliciting slot values.
1390
1390
  #
1391
+ # @option params [Types::QnAIntentConfiguration] :qn_a_intent_configuration
1392
+ # Specifies the configuration of the built-in `Amazon.QnAIntent`. The
1393
+ # `AMAZON.QnAIntent` intent is called when Amazon Lex can't determine
1394
+ # another intent to invoke. If you specify this field, you can't
1395
+ # specify the `kendraConfiguration` field.
1396
+ #
1391
1397
  # @return [Types::CreateIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1392
1398
  #
1393
1399
  # * {Types::CreateIntentResponse#intent_id #intent_id} => String
@@ -1407,6 +1413,7 @@ module Aws::LexModelsV2
1407
1413
  # * {Types::CreateIntentResponse#locale_id #locale_id} => String
1408
1414
  # * {Types::CreateIntentResponse#creation_date_time #creation_date_time} => Time
1409
1415
  # * {Types::CreateIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
1416
+ # * {Types::CreateIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
1410
1417
  #
1411
1418
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntent AWS API Documentation
1412
1419
  #
@@ -3973,6 +3980,7 @@ module Aws::LexModelsV2
3973
3980
  # * {Types::DescribeIntentResponse#creation_date_time #creation_date_time} => Time
3974
3981
  # * {Types::DescribeIntentResponse#last_updated_date_time #last_updated_date_time} => Time
3975
3982
  # * {Types::DescribeIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
3983
+ # * {Types::DescribeIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
3976
3984
  #
3977
3985
  # @example Request syntax with placeholder values
3978
3986
  #
@@ -9225,6 +9233,12 @@ module Aws::LexModelsV2
9225
9233
  # Configuration settings for a response sent to the user before Amazon
9226
9234
  # Lex starts eliciting slots.
9227
9235
  #
9236
+ # @option params [Types::QnAIntentConfiguration] :qn_a_intent_configuration
9237
+ # Specifies the configuration of the built-in `Amazon.QnAIntent`. The
9238
+ # `AMAZON.QnAIntent` intent is called when Amazon Lex can't determine
9239
+ # another intent to invoke. If you specify this field, you can't
9240
+ # specify the `kendraConfiguration` field.
9241
+ #
9228
9242
  # @return [Types::UpdateIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9229
9243
  #
9230
9244
  # * {Types::UpdateIntentResponse#intent_id #intent_id} => String
@@ -9246,6 +9260,7 @@ module Aws::LexModelsV2
9246
9260
  # * {Types::UpdateIntentResponse#creation_date_time #creation_date_time} => Time
9247
9261
  # * {Types::UpdateIntentResponse#last_updated_date_time #last_updated_date_time} => Time
9248
9262
  # * {Types::UpdateIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
9263
+ # * {Types::UpdateIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
9249
9264
  #
9250
9265
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntent AWS API Documentation
9251
9266
  #
@@ -10341,7 +10356,7 @@ module Aws::LexModelsV2
10341
10356
  params: params,
10342
10357
  config: config)
10343
10358
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
10344
- context[:gem_version] = '1.48.0'
10359
+ context[:gem_version] = '1.49.0'
10345
10360
  Seahorse::Client::Request.new(handlers, context)
10346
10361
  end
10347
10362
 
@@ -124,6 +124,7 @@ module Aws::LexModelsV2
124
124
  AnalyticsUtteranceResult = Shapes::StructureShape.new(name: 'AnalyticsUtteranceResult')
125
125
  AnalyticsUtteranceResults = Shapes::ListShape.new(name: 'AnalyticsUtteranceResults')
126
126
  AnalyticsUtteranceSortByName = Shapes::StringShape.new(name: 'AnalyticsUtteranceSortByName')
127
+ AnswerField = Shapes::StringShape.new(name: 'AnswerField')
127
128
  AssociatedTranscript = Shapes::StructureShape.new(name: 'AssociatedTranscript')
128
129
  AssociatedTranscriptFilter = Shapes::StructureShape.new(name: 'AssociatedTranscriptFilter')
129
130
  AssociatedTranscriptFilterName = Shapes::StringShape.new(name: 'AssociatedTranscriptFilterName')
@@ -144,6 +145,8 @@ module Aws::LexModelsV2
144
145
  BatchDeleteCustomVocabularyItemResponse = Shapes::StructureShape.new(name: 'BatchDeleteCustomVocabularyItemResponse')
145
146
  BatchUpdateCustomVocabularyItemRequest = Shapes::StructureShape.new(name: 'BatchUpdateCustomVocabularyItemRequest')
146
147
  BatchUpdateCustomVocabularyItemResponse = Shapes::StructureShape.new(name: 'BatchUpdateCustomVocabularyItemResponse')
148
+ BedrockKnowledgeBaseArn = Shapes::StringShape.new(name: 'BedrockKnowledgeBaseArn')
149
+ BedrockKnowledgeStoreConfiguration = Shapes::StructureShape.new(name: 'BedrockKnowledgeStoreConfiguration')
147
150
  BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
148
151
  BedrockModelSpecification = Shapes::StructureShape.new(name: 'BedrockModelSpecification')
149
152
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -299,6 +302,7 @@ module Aws::LexModelsV2
299
302
  DTMFCharacter = Shapes::StringShape.new(name: 'DTMFCharacter')
300
303
  DTMFSpecification = Shapes::StructureShape.new(name: 'DTMFSpecification')
301
304
  DataPrivacy = Shapes::StructureShape.new(name: 'DataPrivacy')
305
+ DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
302
306
  DateRangeFilter = Shapes::StructureShape.new(name: 'DateRangeFilter')
303
307
  DefaultConditionalBranch = Shapes::StructureShape.new(name: 'DefaultConditionalBranch')
304
308
  DeleteBotAliasRequest = Shapes::StructureShape.new(name: 'DeleteBotAliasRequest')
@@ -371,6 +375,7 @@ module Aws::LexModelsV2
371
375
  DialogCodeHookInvocationSetting = Shapes::StructureShape.new(name: 'DialogCodeHookInvocationSetting')
372
376
  DialogCodeHookSettings = Shapes::StructureShape.new(name: 'DialogCodeHookSettings')
373
377
  DialogState = Shapes::StructureShape.new(name: 'DialogState')
378
+ DomainEndpoint = Shapes::StringShape.new(name: 'DomainEndpoint')
374
379
  DraftBotVersion = Shapes::StringShape.new(name: 'DraftBotVersion')
375
380
  Effect = Shapes::StringShape.new(name: 'Effect')
376
381
  ElicitationCodeHookInvocationSetting = Shapes::StructureShape.new(name: 'ElicitationCodeHookInvocationSetting')
@@ -378,6 +383,7 @@ module Aws::LexModelsV2
378
383
  EncryptionSetting = Shapes::StructureShape.new(name: 'EncryptionSetting')
379
384
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
380
385
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
386
+ ExactResponseFields = Shapes::StructureShape.new(name: 'ExactResponseFields')
381
387
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
382
388
  ExecutionErrorDetails = Shapes::StructureShape.new(name: 'ExecutionErrorDetails')
383
389
  ExportFilter = Shapes::StructureShape.new(name: 'ExportFilter')
@@ -435,6 +441,7 @@ module Aws::LexModelsV2
435
441
  ImportSummary = Shapes::StructureShape.new(name: 'ImportSummary')
436
442
  ImportSummaryList = Shapes::ListShape.new(name: 'ImportSummaryList')
437
443
  ImportedResourceId = Shapes::StringShape.new(name: 'ImportedResourceId')
444
+ IncludeField = Shapes::StringShape.new(name: 'IncludeField')
438
445
  InitialResponseSetting = Shapes::StructureShape.new(name: 'InitialResponseSetting')
439
446
  InputContext = Shapes::StructureShape.new(name: 'InputContext')
440
447
  InputContextsList = Shapes::ListShape.new(name: 'InputContextsList')
@@ -551,10 +558,13 @@ module Aws::LexModelsV2
551
558
  NextToken = Shapes::StringShape.new(name: 'NextToken')
552
559
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
553
560
  NumericalBotVersion = Shapes::StringShape.new(name: 'NumericalBotVersion')
561
+ OSIncludeFields = Shapes::ListShape.new(name: 'OSIncludeFields')
562
+ OSIndexName = Shapes::StringShape.new(name: 'OSIndexName')
554
563
  ObfuscationSetting = Shapes::StructureShape.new(name: 'ObfuscationSetting')
555
564
  ObfuscationSettingType = Shapes::StringShape.new(name: 'ObfuscationSettingType')
556
565
  ObjectPrefix = Shapes::StringShape.new(name: 'ObjectPrefix')
557
566
  ObjectPrefixes = Shapes::ListShape.new(name: 'ObjectPrefixes')
567
+ OpensearchConfiguration = Shapes::StructureShape.new(name: 'OpensearchConfiguration')
558
568
  Operation = Shapes::StringShape.new(name: 'Operation')
559
569
  OperationList = Shapes::ListShape.new(name: 'OperationList')
560
570
  OutputContext = Shapes::StructureShape.new(name: 'OutputContext')
@@ -582,7 +592,10 @@ module Aws::LexModelsV2
582
592
  PromptAttemptsSpecificationMap = Shapes::MapShape.new(name: 'PromptAttemptsSpecificationMap')
583
593
  PromptMaxRetries = Shapes::IntegerShape.new(name: 'PromptMaxRetries')
584
594
  PromptSpecification = Shapes::StructureShape.new(name: 'PromptSpecification')
595
+ QnAIntentConfiguration = Shapes::StructureShape.new(name: 'QnAIntentConfiguration')
596
+ QnAKendraConfiguration = Shapes::StructureShape.new(name: 'QnAKendraConfiguration')
585
597
  QueryFilterString = Shapes::StringShape.new(name: 'QueryFilterString')
598
+ QuestionField = Shapes::StringShape.new(name: 'QuestionField')
586
599
  RecommendedAction = Shapes::StringShape.new(name: 'RecommendedAction')
587
600
  RecommendedActions = Shapes::ListShape.new(name: 'RecommendedActions')
588
601
  RecommendedIntentSummary = Shapes::StructureShape.new(name: 'RecommendedIntentSummary')
@@ -1123,6 +1136,9 @@ module Aws::LexModelsV2
1123
1136
  BatchUpdateCustomVocabularyItemResponse.add_member(:resources, Shapes::ShapeRef.new(shape: CustomVocabularyItems, location_name: "resources"))
1124
1137
  BatchUpdateCustomVocabularyItemResponse.struct_class = Types::BatchUpdateCustomVocabularyItemResponse
1125
1138
 
1139
+ BedrockKnowledgeStoreConfiguration.add_member(:bedrock_knowledge_base_arn, Shapes::ShapeRef.new(shape: BedrockKnowledgeBaseArn, required: true, location_name: "bedrockKnowledgeBaseArn"))
1140
+ BedrockKnowledgeStoreConfiguration.struct_class = Types::BedrockKnowledgeStoreConfiguration
1141
+
1126
1142
  BedrockModelSpecification.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
1127
1143
  BedrockModelSpecification.struct_class = Types::BedrockModelSpecification
1128
1144
 
@@ -1550,6 +1566,7 @@ module Aws::LexModelsV2
1550
1566
  CreateIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
1551
1567
  CreateIntentRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
1552
1568
  CreateIntentRequest.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
1569
+ CreateIntentRequest.add_member(:qn_a_intent_configuration, Shapes::ShapeRef.new(shape: QnAIntentConfiguration, location_name: "qnAIntentConfiguration"))
1553
1570
  CreateIntentRequest.struct_class = Types::CreateIntentRequest
1554
1571
 
1555
1572
  CreateIntentResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
@@ -1569,6 +1586,7 @@ module Aws::LexModelsV2
1569
1586
  CreateIntentResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1570
1587
  CreateIntentResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1571
1588
  CreateIntentResponse.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
1589
+ CreateIntentResponse.add_member(:qn_a_intent_configuration, Shapes::ShapeRef.new(shape: QnAIntentConfiguration, location_name: "qnAIntentConfiguration"))
1572
1590
  CreateIntentResponse.struct_class = Types::CreateIntentResponse
1573
1591
 
1574
1592
  CreateResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
@@ -1695,6 +1713,11 @@ module Aws::LexModelsV2
1695
1713
  DataPrivacy.add_member(:child_directed, Shapes::ShapeRef.new(shape: ChildDirected, required: true, location_name: "childDirected"))
1696
1714
  DataPrivacy.struct_class = Types::DataPrivacy
1697
1715
 
1716
+ DataSourceConfiguration.add_member(:opensearch_configuration, Shapes::ShapeRef.new(shape: OpensearchConfiguration, location_name: "opensearchConfiguration"))
1717
+ DataSourceConfiguration.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: QnAKendraConfiguration, location_name: "kendraConfiguration"))
1718
+ DataSourceConfiguration.add_member(:bedrock_knowledge_store_configuration, Shapes::ShapeRef.new(shape: BedrockKnowledgeStoreConfiguration, location_name: "bedrockKnowledgeStoreConfiguration"))
1719
+ DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
1720
+
1698
1721
  DateRangeFilter.add_member(:start_date_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startDateTime"))
1699
1722
  DateRangeFilter.add_member(:end_date_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endDateTime"))
1700
1723
  DateRangeFilter.struct_class = Types::DateRangeFilter
@@ -2019,6 +2042,7 @@ module Aws::LexModelsV2
2019
2042
  DescribeIntentResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
2020
2043
  DescribeIntentResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
2021
2044
  DescribeIntentResponse.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
2045
+ DescribeIntentResponse.add_member(:qn_a_intent_configuration, Shapes::ShapeRef.new(shape: QnAIntentConfiguration, location_name: "qnAIntentConfiguration"))
2022
2046
  DescribeIntentResponse.struct_class = Types::DescribeIntentResponse
2023
2047
 
2024
2048
  DescribeResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
@@ -2165,6 +2189,10 @@ module Aws::LexModelsV2
2165
2189
  EncryptionSetting.add_member(:associated_transcripts_password, Shapes::ShapeRef.new(shape: FilePassword, location_name: "associatedTranscriptsPassword"))
2166
2190
  EncryptionSetting.struct_class = Types::EncryptionSetting
2167
2191
 
2192
+ ExactResponseFields.add_member(:question_field, Shapes::ShapeRef.new(shape: QuestionField, required: true, location_name: "questionField"))
2193
+ ExactResponseFields.add_member(:answer_field, Shapes::ShapeRef.new(shape: AnswerField, required: true, location_name: "answerField"))
2194
+ ExactResponseFields.struct_class = Types::ExactResponseFields
2195
+
2168
2196
  ExecutionErrorDetails.add_member(:error_code, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "errorCode"))
2169
2197
  ExecutionErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "errorMessage"))
2170
2198
  ExecutionErrorDetails.struct_class = Types::ExecutionErrorDetails
@@ -2856,11 +2884,20 @@ module Aws::LexModelsV2
2856
2884
  NewCustomVocabularyItem.add_member(:display_as, Shapes::ShapeRef.new(shape: Phrase, location_name: "displayAs"))
2857
2885
  NewCustomVocabularyItem.struct_class = Types::NewCustomVocabularyItem
2858
2886
 
2887
+ OSIncludeFields.member = Shapes::ShapeRef.new(shape: IncludeField)
2888
+
2859
2889
  ObfuscationSetting.add_member(:obfuscation_setting_type, Shapes::ShapeRef.new(shape: ObfuscationSettingType, required: true, location_name: "obfuscationSettingType"))
2860
2890
  ObfuscationSetting.struct_class = Types::ObfuscationSetting
2861
2891
 
2862
2892
  ObjectPrefixes.member = Shapes::ShapeRef.new(shape: ObjectPrefix)
2863
2893
 
2894
+ OpensearchConfiguration.add_member(:domain_endpoint, Shapes::ShapeRef.new(shape: DomainEndpoint, required: true, location_name: "domainEndpoint"))
2895
+ OpensearchConfiguration.add_member(:index_name, Shapes::ShapeRef.new(shape: OSIndexName, required: true, location_name: "indexName"))
2896
+ OpensearchConfiguration.add_member(:exact_response, Shapes::ShapeRef.new(shape: Boolean, location_name: "exactResponse"))
2897
+ OpensearchConfiguration.add_member(:exact_response_fields, Shapes::ShapeRef.new(shape: ExactResponseFields, location_name: "exactResponseFields"))
2898
+ OpensearchConfiguration.add_member(:include_fields, Shapes::ShapeRef.new(shape: OSIncludeFields, location_name: "includeFields"))
2899
+ OpensearchConfiguration.struct_class = Types::OpensearchConfiguration
2900
+
2864
2901
  OperationList.member = Shapes::ShapeRef.new(shape: Operation)
2865
2902
 
2866
2903
  OutputContext.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
@@ -2940,6 +2977,16 @@ module Aws::LexModelsV2
2940
2977
  PromptSpecification.add_member(:prompt_attempts_specification, Shapes::ShapeRef.new(shape: PromptAttemptsSpecificationMap, location_name: "promptAttemptsSpecification"))
2941
2978
  PromptSpecification.struct_class = Types::PromptSpecification
2942
2979
 
2980
+ QnAIntentConfiguration.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, location_name: "dataSourceConfiguration"))
2981
+ QnAIntentConfiguration.add_member(:bedrock_model_configuration, Shapes::ShapeRef.new(shape: BedrockModelSpecification, location_name: "bedrockModelConfiguration"))
2982
+ QnAIntentConfiguration.struct_class = Types::QnAIntentConfiguration
2983
+
2984
+ QnAKendraConfiguration.add_member(:kendra_index, Shapes::ShapeRef.new(shape: KendraIndexArn, required: true, location_name: "kendraIndex"))
2985
+ QnAKendraConfiguration.add_member(:query_filter_string_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "queryFilterStringEnabled"))
2986
+ QnAKendraConfiguration.add_member(:query_filter_string, Shapes::ShapeRef.new(shape: QueryFilterString, location_name: "queryFilterString"))
2987
+ QnAKendraConfiguration.add_member(:exact_response, Shapes::ShapeRef.new(shape: Boolean, location_name: "exactResponse"))
2988
+ QnAKendraConfiguration.struct_class = Types::QnAKendraConfiguration
2989
+
2943
2990
  RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
2944
2991
 
2945
2992
  RecommendedIntentSummary.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
@@ -3579,6 +3626,7 @@ module Aws::LexModelsV2
3579
3626
  UpdateIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
3580
3627
  UpdateIntentRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
3581
3628
  UpdateIntentRequest.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
3629
+ UpdateIntentRequest.add_member(:qn_a_intent_configuration, Shapes::ShapeRef.new(shape: QnAIntentConfiguration, location_name: "qnAIntentConfiguration"))
3582
3630
  UpdateIntentRequest.struct_class = Types::UpdateIntentRequest
3583
3631
 
3584
3632
  UpdateIntentResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
@@ -3600,6 +3648,7 @@ module Aws::LexModelsV2
3600
3648
  UpdateIntentResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
3601
3649
  UpdateIntentResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
3602
3650
  UpdateIntentResponse.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
3651
+ UpdateIntentResponse.add_member(:qn_a_intent_configuration, Shapes::ShapeRef.new(shape: QnAIntentConfiguration, location_name: "qnAIntentConfiguration"))
3603
3652
  UpdateIntentResponse.struct_class = Types::UpdateIntentResponse
3604
3653
 
3605
3654
  UpdateResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
@@ -1836,6 +1836,21 @@ module Aws::LexModelsV2
1836
1836
  include Aws::Structure
1837
1837
  end
1838
1838
 
1839
+ # Contains details about the configuration of a Amazon Bedrock knowledge
1840
+ # base.
1841
+ #
1842
+ # @!attribute [rw] bedrock_knowledge_base_arn
1843
+ # The ARN of the knowledge base used.
1844
+ # @return [String]
1845
+ #
1846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BedrockKnowledgeStoreConfiguration AWS API Documentation
1847
+ #
1848
+ class BedrockKnowledgeStoreConfiguration < Struct.new(
1849
+ :bedrock_knowledge_base_arn)
1850
+ SENSITIVE = []
1851
+ include Aws::Structure
1852
+ end
1853
+
1839
1854
  # Contains information about the Amazon Bedrock model used to interpret
1840
1855
  # the prompt used in descriptive bot building.
1841
1856
  #
@@ -3946,6 +3961,13 @@ module Aws::LexModelsV2
3946
3961
  # the beginning of a conversation, before eliciting slot values.
3947
3962
  # @return [Types::InitialResponseSetting]
3948
3963
  #
3964
+ # @!attribute [rw] qn_a_intent_configuration
3965
+ # Specifies the configuration of the built-in `Amazon.QnAIntent`. The
3966
+ # `AMAZON.QnAIntent` intent is called when Amazon Lex can't determine
3967
+ # another intent to invoke. If you specify this field, you can't
3968
+ # specify the `kendraConfiguration` field.
3969
+ # @return [Types::QnAIntentConfiguration]
3970
+ #
3949
3971
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntentRequest AWS API Documentation
3950
3972
  #
3951
3973
  class CreateIntentRequest < Struct.new(
@@ -3963,7 +3985,8 @@ module Aws::LexModelsV2
3963
3985
  :bot_id,
3964
3986
  :bot_version,
3965
3987
  :locale_id,
3966
- :initial_response_setting)
3988
+ :initial_response_setting,
3989
+ :qn_a_intent_configuration)
3967
3990
  SENSITIVE = []
3968
3991
  include Aws::Structure
3969
3992
  end
@@ -4038,6 +4061,11 @@ module Aws::LexModelsV2
4038
4061
  # the beginning of a conversation, before eliciting slot values.
4039
4062
  # @return [Types::InitialResponseSetting]
4040
4063
  #
4064
+ # @!attribute [rw] qn_a_intent_configuration
4065
+ # Details about the the configuration of the built-in
4066
+ # `Amazon.QnAIntent`.
4067
+ # @return [Types::QnAIntentConfiguration]
4068
+ #
4041
4069
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntentResponse AWS API Documentation
4042
4070
  #
4043
4071
  class CreateIntentResponse < Struct.new(
@@ -4057,7 +4085,8 @@ module Aws::LexModelsV2
4057
4085
  :bot_version,
4058
4086
  :locale_id,
4059
4087
  :creation_date_time,
4060
- :initial_response_setting)
4088
+ :initial_response_setting,
4089
+ :qn_a_intent_configuration)
4061
4090
  SENSITIVE = []
4062
4091
  include Aws::Structure
4063
4092
  end
@@ -4791,6 +4820,51 @@ module Aws::LexModelsV2
4791
4820
  include Aws::Structure
4792
4821
  end
4793
4822
 
4823
+ # Contains details about the configuration of the knowledge store used
4824
+ # for the `AMAZON.QnAIntent`. You must have already created the
4825
+ # knowledge store and indexed the documents within it.
4826
+ #
4827
+ # @!attribute [rw] opensearch_configuration
4828
+ # Contains details about the configuration of the Amazon OpenSearch
4829
+ # Service database used for the `AMAZON.QnAIntent`. To create a
4830
+ # domain, follow the steps at [Creating and managing Amazon OpenSearch
4831
+ # Service domains][1].
4832
+ #
4833
+ #
4834
+ #
4835
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html
4836
+ # @return [Types::OpensearchConfiguration]
4837
+ #
4838
+ # @!attribute [rw] kendra_configuration
4839
+ # Contains details about the configuration of the Amazon Kendra index
4840
+ # used for the `AMAZON.QnAIntent`. To create a Amazon Kendra index,
4841
+ # follow the steps at [Creating an index][1].
4842
+ #
4843
+ #
4844
+ #
4845
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/create-index.html
4846
+ # @return [Types::QnAKendraConfiguration]
4847
+ #
4848
+ # @!attribute [rw] bedrock_knowledge_store_configuration
4849
+ # Contains details about the configuration of the Amazon Bedrock
4850
+ # knowledge base used for the `AMAZON.QnAIntent`. To set up a
4851
+ # knowledge base, follow the steps at [Building a knowledge base][1].
4852
+ #
4853
+ #
4854
+ #
4855
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html
4856
+ # @return [Types::BedrockKnowledgeStoreConfiguration]
4857
+ #
4858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DataSourceConfiguration AWS API Documentation
4859
+ #
4860
+ class DataSourceConfiguration < Struct.new(
4861
+ :opensearch_configuration,
4862
+ :kendra_configuration,
4863
+ :bedrock_knowledge_store_configuration)
4864
+ SENSITIVE = []
4865
+ include Aws::Structure
4866
+ end
4867
+
4794
4868
  # The object used for specifying the data range that the customer wants
4795
4869
  # Amazon Lex to read through in the input transcripts.
4796
4870
  #
@@ -6418,6 +6492,10 @@ module Aws::LexModelsV2
6418
6492
  # Lex starts eliciting slots.
6419
6493
  # @return [Types::InitialResponseSetting]
6420
6494
  #
6495
+ # @!attribute [rw] qn_a_intent_configuration
6496
+ # Details about the configuration of the built-in `Amazon.QnAIntent`.
6497
+ # @return [Types::QnAIntentConfiguration]
6498
+ #
6421
6499
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeIntentResponse AWS API Documentation
6422
6500
  #
6423
6501
  class DescribeIntentResponse < Struct.new(
@@ -6439,7 +6517,8 @@ module Aws::LexModelsV2
6439
6517
  :locale_id,
6440
6518
  :creation_date_time,
6441
6519
  :last_updated_date_time,
6442
- :initial_response_setting)
6520
+ :initial_response_setting,
6521
+ :qn_a_intent_configuration)
6443
6522
  SENSITIVE = []
6444
6523
  include Aws::Structure
6445
6524
  end
@@ -7179,6 +7258,28 @@ module Aws::LexModelsV2
7179
7258
  include Aws::Structure
7180
7259
  end
7181
7260
 
7261
+ # Contains the names of the fields used for an exact response to the
7262
+ # user.
7263
+ #
7264
+ # @!attribute [rw] question_field
7265
+ # The name of the field that contains the query made to the OpenSearch
7266
+ # Service database.
7267
+ # @return [String]
7268
+ #
7269
+ # @!attribute [rw] answer_field
7270
+ # The name of the field that contains the answer to the query made to
7271
+ # the OpenSearch Service database.
7272
+ # @return [String]
7273
+ #
7274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExactResponseFields AWS API Documentation
7275
+ #
7276
+ class ExactResponseFields < Struct.new(
7277
+ :question_field,
7278
+ :answer_field)
7279
+ SENSITIVE = []
7280
+ include Aws::Structure
7281
+ end
7282
+
7182
7283
  # Details about an error in an execution of a test set.
7183
7284
  #
7184
7285
  # @!attribute [rw] error_code
@@ -10986,6 +11087,45 @@ module Aws::LexModelsV2
10986
11087
  include Aws::Structure
10987
11088
  end
10988
11089
 
11090
+ # Contains details about the configuration of the Amazon OpenSearch
11091
+ # Service database used for the `AMAZON.QnAIntent`.
11092
+ #
11093
+ # @!attribute [rw] domain_endpoint
11094
+ # The endpoint of the Amazon OpenSearch Service domain.
11095
+ # @return [String]
11096
+ #
11097
+ # @!attribute [rw] index_name
11098
+ # The name of the Amazon OpenSearch Service index.
11099
+ # @return [String]
11100
+ #
11101
+ # @!attribute [rw] exact_response
11102
+ # Specifies whether to return an exact response or to return an answer
11103
+ # generated by the model using the fields you specify from the
11104
+ # database.
11105
+ # @return [Boolean]
11106
+ #
11107
+ # @!attribute [rw] exact_response_fields
11108
+ # Contains the names of the fields used for an exact response to the
11109
+ # user.
11110
+ # @return [Types::ExactResponseFields]
11111
+ #
11112
+ # @!attribute [rw] include_fields
11113
+ # Contains a list of fields from the Amazon OpenSearch Service that
11114
+ # the model can use to generate the answer to the query.
11115
+ # @return [Array<String>]
11116
+ #
11117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/OpensearchConfiguration AWS API Documentation
11118
+ #
11119
+ class OpensearchConfiguration < Struct.new(
11120
+ :domain_endpoint,
11121
+ :index_name,
11122
+ :exact_response,
11123
+ :exact_response_fields,
11124
+ :include_fields)
11125
+ SENSITIVE = []
11126
+ include Aws::Structure
11127
+ end
11128
+
10989
11129
  # Describes a session context that is activated when an intent is
10990
11130
  # fulfilled.
10991
11131
  #
@@ -11357,6 +11497,72 @@ module Aws::LexModelsV2
11357
11497
  include Aws::Structure
11358
11498
  end
11359
11499
 
11500
+ # Details about the the configuration of the built-in
11501
+ # `Amazon.QnAIntent`.
11502
+ #
11503
+ # @!attribute [rw] data_source_configuration
11504
+ # Contains details about the configuration of the data source used for
11505
+ # the `AMAZON.QnAIntent`.
11506
+ # @return [Types::DataSourceConfiguration]
11507
+ #
11508
+ # @!attribute [rw] bedrock_model_configuration
11509
+ # Contains information about the Amazon Bedrock model used to
11510
+ # interpret the prompt used in descriptive bot building.
11511
+ # @return [Types::BedrockModelSpecification]
11512
+ #
11513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/QnAIntentConfiguration AWS API Documentation
11514
+ #
11515
+ class QnAIntentConfiguration < Struct.new(
11516
+ :data_source_configuration,
11517
+ :bedrock_model_configuration)
11518
+ SENSITIVE = []
11519
+ include Aws::Structure
11520
+ end
11521
+
11522
+ # Contains details about the configuration of the Amazon Kendra index
11523
+ # used for the `AMAZON.QnAIntent`.
11524
+ #
11525
+ # @!attribute [rw] kendra_index
11526
+ # The ARN of the Amazon Kendra index to use.
11527
+ # @return [String]
11528
+ #
11529
+ # @!attribute [rw] query_filter_string_enabled
11530
+ # Specifies whether to enable an Amazon Kendra filter string or not.
11531
+ # @return [Boolean]
11532
+ #
11533
+ # @!attribute [rw] query_filter_string
11534
+ # Contains the Amazon Kendra filter string to use if enabled. For more
11535
+ # information on the Amazon Kendra search filter JSON format, see
11536
+ # [Using document attributes to filter search results][1].
11537
+ #
11538
+ #
11539
+ #
11540
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-filtering
11541
+ # @return [String]
11542
+ #
11543
+ # @!attribute [rw] exact_response
11544
+ # Specifies whether to return an exact response from the Amazon Kendra
11545
+ # index or to let the Amazon Bedrock model you select generate a
11546
+ # response based on the results. To use this feature, you must first
11547
+ # add FAQ questions to your index by following the steps at [Adding
11548
+ # frequently asked questions (FAQs) to an index][1].
11549
+ #
11550
+ #
11551
+ #
11552
+ # [1]: https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html
11553
+ # @return [Boolean]
11554
+ #
11555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/QnAKendraConfiguration AWS API Documentation
11556
+ #
11557
+ class QnAKendraConfiguration < Struct.new(
11558
+ :kendra_index,
11559
+ :query_filter_string_enabled,
11560
+ :query_filter_string,
11561
+ :exact_response)
11562
+ SENSITIVE = []
11563
+ include Aws::Structure
11564
+ end
11565
+
11360
11566
  # An object that contains a summary of a recommended intent.
11361
11567
  #
11362
11568
  # @!attribute [rw] intent_id
@@ -14531,6 +14737,13 @@ module Aws::LexModelsV2
14531
14737
  # Lex starts eliciting slots.
14532
14738
  # @return [Types::InitialResponseSetting]
14533
14739
  #
14740
+ # @!attribute [rw] qn_a_intent_configuration
14741
+ # Specifies the configuration of the built-in `Amazon.QnAIntent`. The
14742
+ # `AMAZON.QnAIntent` intent is called when Amazon Lex can't determine
14743
+ # another intent to invoke. If you specify this field, you can't
14744
+ # specify the `kendraConfiguration` field.
14745
+ # @return [Types::QnAIntentConfiguration]
14746
+ #
14534
14747
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntentRequest AWS API Documentation
14535
14748
  #
14536
14749
  class UpdateIntentRequest < Struct.new(
@@ -14550,7 +14763,8 @@ module Aws::LexModelsV2
14550
14763
  :bot_id,
14551
14764
  :bot_version,
14552
14765
  :locale_id,
14553
- :initial_response_setting)
14766
+ :initial_response_setting,
14767
+ :qn_a_intent_configuration)
14554
14768
  SENSITIVE = []
14555
14769
  include Aws::Structure
14556
14770
  end
@@ -14641,6 +14855,10 @@ module Aws::LexModelsV2
14641
14855
  # Lex starts eliciting slots.
14642
14856
  # @return [Types::InitialResponseSetting]
14643
14857
  #
14858
+ # @!attribute [rw] qn_a_intent_configuration
14859
+ # Details about the configuration of the built-in `Amazon.QnAIntent`.
14860
+ # @return [Types::QnAIntentConfiguration]
14861
+ #
14644
14862
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntentResponse AWS API Documentation
14645
14863
  #
14646
14864
  class UpdateIntentResponse < Struct.new(
@@ -14662,7 +14880,8 @@ module Aws::LexModelsV2
14662
14880
  :locale_id,
14663
14881
  :creation_date_time,
14664
14882
  :last_updated_date_time,
14665
- :initial_response_setting)
14883
+ :initial_response_setting,
14884
+ :qn_a_intent_configuration)
14666
14885
  SENSITIVE = []
14667
14886
  include Aws::Structure
14668
14887
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-lexmodelsv2/customizations'
53
53
  # @!group service
54
54
  module Aws::LexModelsV2
55
55
 
56
- GEM_VERSION = '1.48.0'
56
+ GEM_VERSION = '1.49.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -396,6 +396,7 @@ module Aws
396
396
  def locale_id: () -> ::String
397
397
  def creation_date_time: () -> ::Time
398
398
  def initial_response_setting: () -> Types::InitialResponseSetting
399
+ def qn_a_intent_configuration: () -> Types::QnAIntentConfiguration
399
400
  end
400
401
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#create_intent-instance_method
401
402
  def create_intent: (
@@ -3899,6 +3900,32 @@ module Aws
3899
3900
  }?
3900
3901
  }
3901
3902
  }?
3903
+ },
3904
+ ?qn_a_intent_configuration: {
3905
+ data_source_configuration: {
3906
+ opensearch_configuration: {
3907
+ domain_endpoint: ::String,
3908
+ index_name: ::String,
3909
+ exact_response: bool?,
3910
+ exact_response_fields: {
3911
+ question_field: ::String,
3912
+ answer_field: ::String
3913
+ }?,
3914
+ include_fields: Array[::String]?
3915
+ }?,
3916
+ kendra_configuration: {
3917
+ kendra_index: ::String,
3918
+ query_filter_string_enabled: bool?,
3919
+ query_filter_string: ::String?,
3920
+ exact_response: bool?
3921
+ }?,
3922
+ bedrock_knowledge_store_configuration: {
3923
+ bedrock_knowledge_base_arn: ::String
3924
+ }?
3925
+ }?,
3926
+ bedrock_model_configuration: {
3927
+ model_arn: ::String
3928
+ }?
3902
3929
  }
3903
3930
  ) -> _CreateIntentResponseSuccess
3904
3931
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIntentResponseSuccess
@@ -6166,6 +6193,7 @@ module Aws
6166
6193
  def creation_date_time: () -> ::Time
6167
6194
  def last_updated_date_time: () -> ::Time
6168
6195
  def initial_response_setting: () -> Types::InitialResponseSetting
6196
+ def qn_a_intent_configuration: () -> Types::QnAIntentConfiguration
6169
6197
  end
6170
6198
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#describe_intent-instance_method
6171
6199
  def describe_intent: (
@@ -7563,6 +7591,7 @@ module Aws
7563
7591
  def creation_date_time: () -> ::Time
7564
7592
  def last_updated_date_time: () -> ::Time
7565
7593
  def initial_response_setting: () -> Types::InitialResponseSetting
7594
+ def qn_a_intent_configuration: () -> Types::QnAIntentConfiguration
7566
7595
  end
7567
7596
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelsV2/Client.html#update_intent-instance_method
7568
7597
  def update_intent: (
@@ -11073,6 +11102,32 @@ module Aws
11073
11102
  }?
11074
11103
  }
11075
11104
  }?
11105
+ },
11106
+ ?qn_a_intent_configuration: {
11107
+ data_source_configuration: {
11108
+ opensearch_configuration: {
11109
+ domain_endpoint: ::String,
11110
+ index_name: ::String,
11111
+ exact_response: bool?,
11112
+ exact_response_fields: {
11113
+ question_field: ::String,
11114
+ answer_field: ::String
11115
+ }?,
11116
+ include_fields: Array[::String]?
11117
+ }?,
11118
+ kendra_configuration: {
11119
+ kendra_index: ::String,
11120
+ query_filter_string_enabled: bool?,
11121
+ query_filter_string: ::String?,
11122
+ exact_response: bool?
11123
+ }?,
11124
+ bedrock_knowledge_store_configuration: {
11125
+ bedrock_knowledge_base_arn: ::String
11126
+ }?
11127
+ }?,
11128
+ bedrock_model_configuration: {
11129
+ model_arn: ::String
11130
+ }?
11076
11131
  }
11077
11132
  ) -> _UpdateIntentResponseSuccess
11078
11133
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntentResponseSuccess
data/sig/types.rbs CHANGED
@@ -344,6 +344,11 @@ module Aws::LexModelsV2
344
344
  SENSITIVE: []
345
345
  end
346
346
 
347
+ class BedrockKnowledgeStoreConfiguration
348
+ attr_accessor bedrock_knowledge_base_arn: ::String
349
+ SENSITIVE: []
350
+ end
351
+
347
352
  class BedrockModelSpecification
348
353
  attr_accessor model_arn: ::String
349
354
  SENSITIVE: []
@@ -844,6 +849,7 @@ module Aws::LexModelsV2
844
849
  attr_accessor bot_version: ::String
845
850
  attr_accessor locale_id: ::String
846
851
  attr_accessor initial_response_setting: Types::InitialResponseSetting
852
+ attr_accessor qn_a_intent_configuration: Types::QnAIntentConfiguration
847
853
  SENSITIVE: []
848
854
  end
849
855
 
@@ -865,6 +871,7 @@ module Aws::LexModelsV2
865
871
  attr_accessor locale_id: ::String
866
872
  attr_accessor creation_date_time: ::Time
867
873
  attr_accessor initial_response_setting: Types::InitialResponseSetting
874
+ attr_accessor qn_a_intent_configuration: Types::QnAIntentConfiguration
868
875
  SENSITIVE: []
869
876
  end
870
877
 
@@ -1027,6 +1034,13 @@ module Aws::LexModelsV2
1027
1034
  SENSITIVE: []
1028
1035
  end
1029
1036
 
1037
+ class DataSourceConfiguration
1038
+ attr_accessor opensearch_configuration: Types::OpensearchConfiguration
1039
+ attr_accessor kendra_configuration: Types::QnAKendraConfiguration
1040
+ attr_accessor bedrock_knowledge_store_configuration: Types::BedrockKnowledgeStoreConfiguration
1041
+ SENSITIVE: []
1042
+ end
1043
+
1030
1044
  class DateRangeFilter
1031
1045
  attr_accessor start_date_time: ::Time
1032
1046
  attr_accessor end_date_time: ::Time
@@ -1447,6 +1461,7 @@ module Aws::LexModelsV2
1447
1461
  attr_accessor creation_date_time: ::Time
1448
1462
  attr_accessor last_updated_date_time: ::Time
1449
1463
  attr_accessor initial_response_setting: Types::InitialResponseSetting
1464
+ attr_accessor qn_a_intent_configuration: Types::QnAIntentConfiguration
1450
1465
  SENSITIVE: []
1451
1466
  end
1452
1467
 
@@ -1636,6 +1651,12 @@ module Aws::LexModelsV2
1636
1651
  SENSITIVE: [:bot_locale_export_password, :associated_transcripts_password]
1637
1652
  end
1638
1653
 
1654
+ class ExactResponseFields
1655
+ attr_accessor question_field: ::String
1656
+ attr_accessor answer_field: ::String
1657
+ SENSITIVE: []
1658
+ end
1659
+
1639
1660
  class ExecutionErrorDetails
1640
1661
  attr_accessor error_code: ::String
1641
1662
  attr_accessor error_message: ::String
@@ -2522,6 +2543,15 @@ module Aws::LexModelsV2
2522
2543
  SENSITIVE: []
2523
2544
  end
2524
2545
 
2546
+ class OpensearchConfiguration
2547
+ attr_accessor domain_endpoint: ::String
2548
+ attr_accessor index_name: ::String
2549
+ attr_accessor exact_response: bool
2550
+ attr_accessor exact_response_fields: Types::ExactResponseFields
2551
+ attr_accessor include_fields: ::Array[::String]
2552
+ SENSITIVE: []
2553
+ end
2554
+
2525
2555
  class OutputContext
2526
2556
  attr_accessor name: ::String
2527
2557
  attr_accessor time_to_live_in_seconds: ::Integer
@@ -2612,6 +2642,20 @@ module Aws::LexModelsV2
2612
2642
  SENSITIVE: []
2613
2643
  end
2614
2644
 
2645
+ class QnAIntentConfiguration
2646
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
2647
+ attr_accessor bedrock_model_configuration: Types::BedrockModelSpecification
2648
+ SENSITIVE: []
2649
+ end
2650
+
2651
+ class QnAKendraConfiguration
2652
+ attr_accessor kendra_index: ::String
2653
+ attr_accessor query_filter_string_enabled: bool
2654
+ attr_accessor query_filter_string: ::String
2655
+ attr_accessor exact_response: bool
2656
+ SENSITIVE: []
2657
+ end
2658
+
2615
2659
  class RecommendedIntentSummary
2616
2660
  attr_accessor intent_id: ::String
2617
2661
  attr_accessor intent_name: ::String
@@ -3377,6 +3421,7 @@ module Aws::LexModelsV2
3377
3421
  attr_accessor bot_version: ::String
3378
3422
  attr_accessor locale_id: ::String
3379
3423
  attr_accessor initial_response_setting: Types::InitialResponseSetting
3424
+ attr_accessor qn_a_intent_configuration: Types::QnAIntentConfiguration
3380
3425
  SENSITIVE: []
3381
3426
  end
3382
3427
 
@@ -3400,6 +3445,7 @@ module Aws::LexModelsV2
3400
3445
  attr_accessor creation_date_time: ::Time
3401
3446
  attr_accessor last_updated_date_time: ::Time
3402
3447
  attr_accessor initial_response_setting: Types::InitialResponseSetting
3448
+ attr_accessor qn_a_intent_configuration: Types::QnAIntentConfiguration
3403
3449
  SENSITIVE: []
3404
3450
  end
3405
3451
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelsv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-07 00:00:00.000000000 Z
11
+ date: 2024-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core