aws-sdk-lexmodelsv2 1.48.0 → 1.50.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +85 -46
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +49 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +224 -5
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +55 -0
- data/sig/types.rbs +46 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f917051d14a0db70e6f9c63e4cb9a46cdb37b13e8c7864274f776d2d740204b
|
|
4
|
+
data.tar.gz: 0f4671e4234357ea85a9bf2c1ea35d501efd22c70a94cdec968579731b5f2322
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74f40b3a8e113516842962aaeb54b6179ded1125bc87b96496a01bb1ff4b06e3df18d570662d5b04163dc68199df3cef6a5ebf903efcf0fb3cf115270f9def23
|
|
7
|
+
data.tar.gz: ee0d13017bdc8ae847717eefbe0a4d519f2924316dd554261f290f03b254108fb90518e9bd05beaabd64ade9e8a8a4852c0074f9dbd1618bc7696ecbac44b5fb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.50.0 (2024-04-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.49.0 (2024-02-29)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* 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.
|
|
13
|
+
|
|
4
14
|
1.48.0 (2024-02-07)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.50.0
|
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
@@ -72,6 +73,7 @@ module Aws::LexModelsV2
|
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
@@ -196,10 +198,17 @@ module Aws::LexModelsV2
|
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
|
197
199
|
# for supported operations.
|
|
198
200
|
#
|
|
199
|
-
# @option options [String] :endpoint
|
|
200
|
-
#
|
|
201
|
-
#
|
|
202
|
-
#
|
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
|
203
|
+
# directly. This is normally constructed from the `:region`
|
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
|
206
|
+
# be a URI formatted like:
|
|
207
|
+
#
|
|
208
|
+
# 'http://example.com'
|
|
209
|
+
# 'https://example.com'
|
|
210
|
+
# 'http://example.com:123'
|
|
211
|
+
#
|
|
203
212
|
#
|
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
@@ -337,50 +346,65 @@ module Aws::LexModelsV2
|
|
|
337
346
|
# @option options [Aws::LexModelsV2::EndpointProvider] :endpoint_provider
|
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::LexModelsV2::EndpointParameters`
|
|
339
348
|
#
|
|
340
|
-
# @option options [
|
|
341
|
-
#
|
|
342
|
-
#
|
|
343
|
-
#
|
|
344
|
-
#
|
|
345
|
-
#
|
|
346
|
-
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
351
|
-
# @option options [Float] :
|
|
352
|
-
#
|
|
353
|
-
#
|
|
354
|
-
#
|
|
355
|
-
#
|
|
356
|
-
#
|
|
357
|
-
#
|
|
358
|
-
#
|
|
359
|
-
#
|
|
360
|
-
#
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
367
|
-
#
|
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
|
354
|
+
#
|
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
|
358
|
+
# pool before making a request.
|
|
359
|
+
#
|
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
|
361
|
+
# The default number of seconds to wait for response data.
|
|
362
|
+
# This value can safely be set per-request on the session.
|
|
363
|
+
#
|
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
|
366
|
+
#
|
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
|
368
|
+
# The default number of seconds to wait for response data.
|
|
369
|
+
# This value can safely be set per-request on the session.
|
|
370
|
+
#
|
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
|
373
|
+
#
|
|
374
|
+
# @option options [Proc] :on_chunk_received
|
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
|
377
|
+
# the number of bytes received, and the total number of
|
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
|
379
|
+
#
|
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
|
383
|
+
# the number of bytes read from the body, and the total number of
|
|
384
|
+
# bytes in the body.
|
|
385
|
+
#
|
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
|
387
|
+
# When `true`, response errors are raised.
|
|
388
|
+
#
|
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
|
393
|
+
#
|
|
394
|
+
# @option options [String] :ssl_ca_directory
|
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
|
396
|
+
# authority files for verifying peer certificates. If you do
|
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
|
398
|
+
# default will be used if available.
|
|
368
399
|
#
|
|
369
|
-
# @option options [
|
|
370
|
-
#
|
|
371
|
-
# connection.
|
|
400
|
+
# @option options [String] :ssl_ca_store
|
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
|
372
402
|
#
|
|
373
|
-
# @option options [
|
|
374
|
-
#
|
|
375
|
-
# verifying peer certificates. If you do not pass
|
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
|
377
|
-
# will be used if available.
|
|
403
|
+
# @option options [Float] :ssl_timeout
|
|
404
|
+
# Sets the SSL timeout in seconds
|
|
378
405
|
#
|
|
379
|
-
# @option options [
|
|
380
|
-
#
|
|
381
|
-
# authority files for verifying peer certificates. If you do
|
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
|
383
|
-
# system default will be used if available.
|
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
|
384
408
|
#
|
|
385
409
|
def initialize(*args)
|
|
386
410
|
super
|
|
@@ -1388,6 +1412,12 @@ module Aws::LexModelsV2
|
|
|
1388
1412
|
# Configuration settings for the response that is sent to the user at
|
|
1389
1413
|
# the beginning of a conversation, before eliciting slot values.
|
|
1390
1414
|
#
|
|
1415
|
+
# @option params [Types::QnAIntentConfiguration] :qn_a_intent_configuration
|
|
1416
|
+
# Specifies the configuration of the built-in `Amazon.QnAIntent`. The
|
|
1417
|
+
# `AMAZON.QnAIntent` intent is called when Amazon Lex can't determine
|
|
1418
|
+
# another intent to invoke. If you specify this field, you can't
|
|
1419
|
+
# specify the `kendraConfiguration` field.
|
|
1420
|
+
#
|
|
1391
1421
|
# @return [Types::CreateIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1392
1422
|
#
|
|
1393
1423
|
# * {Types::CreateIntentResponse#intent_id #intent_id} => String
|
|
@@ -1407,6 +1437,7 @@ module Aws::LexModelsV2
|
|
|
1407
1437
|
# * {Types::CreateIntentResponse#locale_id #locale_id} => String
|
|
1408
1438
|
# * {Types::CreateIntentResponse#creation_date_time #creation_date_time} => Time
|
|
1409
1439
|
# * {Types::CreateIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
|
|
1440
|
+
# * {Types::CreateIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
|
|
1410
1441
|
#
|
|
1411
1442
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntent AWS API Documentation
|
|
1412
1443
|
#
|
|
@@ -3973,6 +4004,7 @@ module Aws::LexModelsV2
|
|
|
3973
4004
|
# * {Types::DescribeIntentResponse#creation_date_time #creation_date_time} => Time
|
|
3974
4005
|
# * {Types::DescribeIntentResponse#last_updated_date_time #last_updated_date_time} => Time
|
|
3975
4006
|
# * {Types::DescribeIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
|
|
4007
|
+
# * {Types::DescribeIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
|
|
3976
4008
|
#
|
|
3977
4009
|
# @example Request syntax with placeholder values
|
|
3978
4010
|
#
|
|
@@ -9225,6 +9257,12 @@ module Aws::LexModelsV2
|
|
|
9225
9257
|
# Configuration settings for a response sent to the user before Amazon
|
|
9226
9258
|
# Lex starts eliciting slots.
|
|
9227
9259
|
#
|
|
9260
|
+
# @option params [Types::QnAIntentConfiguration] :qn_a_intent_configuration
|
|
9261
|
+
# Specifies the configuration of the built-in `Amazon.QnAIntent`. The
|
|
9262
|
+
# `AMAZON.QnAIntent` intent is called when Amazon Lex can't determine
|
|
9263
|
+
# another intent to invoke. If you specify this field, you can't
|
|
9264
|
+
# specify the `kendraConfiguration` field.
|
|
9265
|
+
#
|
|
9228
9266
|
# @return [Types::UpdateIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9229
9267
|
#
|
|
9230
9268
|
# * {Types::UpdateIntentResponse#intent_id #intent_id} => String
|
|
@@ -9246,6 +9284,7 @@ module Aws::LexModelsV2
|
|
|
9246
9284
|
# * {Types::UpdateIntentResponse#creation_date_time #creation_date_time} => Time
|
|
9247
9285
|
# * {Types::UpdateIntentResponse#last_updated_date_time #last_updated_date_time} => Time
|
|
9248
9286
|
# * {Types::UpdateIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
|
|
9287
|
+
# * {Types::UpdateIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
|
|
9249
9288
|
#
|
|
9250
9289
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntent AWS API Documentation
|
|
9251
9290
|
#
|
|
@@ -10341,7 +10380,7 @@ module Aws::LexModelsV2
|
|
|
10341
10380
|
params: params,
|
|
10342
10381
|
config: config)
|
|
10343
10382
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
|
10344
|
-
context[:gem_version] = '1.
|
|
10383
|
+
context[:gem_version] = '1.50.0'
|
|
10345
10384
|
Seahorse::Client::Request.new(handlers, context)
|
|
10346
10385
|
end
|
|
10347
10386
|
|
|
@@ -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
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
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.
|
|
4
|
+
version: 1.50.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-
|
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.193.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.193.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|