aws-sdk-lexmodelsv2 1.47.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +302 -1
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +259 -0
- data/lib/aws-sdk-lexmodelsv2/endpoints.rb +84 -0
- data/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +661 -5
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/sig/client.rbs +149 -0
- data/sig/types.rbs +169 -0
- metadata +2 -2
@@ -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
|
#
|
@@ -1897,6 +1912,46 @@ module Aws::LexModelsV2
|
|
1897
1912
|
include Aws::Structure
|
1898
1913
|
end
|
1899
1914
|
|
1915
|
+
# Contains information about all the aliases replication statuses
|
1916
|
+
# applicable for global resiliency.
|
1917
|
+
#
|
1918
|
+
# @!attribute [rw] bot_alias_id
|
1919
|
+
# The bot alias ID for all the alias bot replications.
|
1920
|
+
# @return [String]
|
1921
|
+
#
|
1922
|
+
# @!attribute [rw] bot_alias_replication_status
|
1923
|
+
# The replication statuses for all the alias bot replications.
|
1924
|
+
# @return [String]
|
1925
|
+
#
|
1926
|
+
# @!attribute [rw] bot_version
|
1927
|
+
# The bot version for all the alias bot replications.
|
1928
|
+
# @return [String]
|
1929
|
+
#
|
1930
|
+
# @!attribute [rw] creation_date_time
|
1931
|
+
# The creation time and date for all the alias bot replications.
|
1932
|
+
# @return [Time]
|
1933
|
+
#
|
1934
|
+
# @!attribute [rw] last_updated_date_time
|
1935
|
+
# The last time and date updated for all the alias bot replications.
|
1936
|
+
# @return [Time]
|
1937
|
+
#
|
1938
|
+
# @!attribute [rw] failure_reasons
|
1939
|
+
# The reasons for failure for the aliases bot replications.
|
1940
|
+
# @return [Array<String>]
|
1941
|
+
#
|
1942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotAliasReplicaSummary AWS API Documentation
|
1943
|
+
#
|
1944
|
+
class BotAliasReplicaSummary < Struct.new(
|
1945
|
+
:bot_alias_id,
|
1946
|
+
:bot_alias_replication_status,
|
1947
|
+
:bot_version,
|
1948
|
+
:creation_date_time,
|
1949
|
+
:last_updated_date_time,
|
1950
|
+
:failure_reasons)
|
1951
|
+
SENSITIVE = []
|
1952
|
+
include Aws::Structure
|
1953
|
+
end
|
1954
|
+
|
1900
1955
|
# Summary information about bot aliases returned from the
|
1901
1956
|
# [ListBotAliases][1] operation.
|
1902
1957
|
#
|
@@ -2396,6 +2451,36 @@ module Aws::LexModelsV2
|
|
2396
2451
|
include Aws::Structure
|
2397
2452
|
end
|
2398
2453
|
|
2454
|
+
# Contains summary information about all the replication statuses
|
2455
|
+
# applicable for global resiliency.
|
2456
|
+
#
|
2457
|
+
# @!attribute [rw] replica_region
|
2458
|
+
# The replica region used in the replication statuses summary.
|
2459
|
+
# @return [String]
|
2460
|
+
#
|
2461
|
+
# @!attribute [rw] creation_date_time
|
2462
|
+
# The creation time and date for the replicated bots.
|
2463
|
+
# @return [Time]
|
2464
|
+
#
|
2465
|
+
# @!attribute [rw] bot_replica_status
|
2466
|
+
# The operation status for the replicated bot applicable.
|
2467
|
+
# @return [String]
|
2468
|
+
#
|
2469
|
+
# @!attribute [rw] failure_reasons
|
2470
|
+
# The reasons for the failure for the replicated bot.
|
2471
|
+
# @return [Array<String>]
|
2472
|
+
#
|
2473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotReplicaSummary AWS API Documentation
|
2474
|
+
#
|
2475
|
+
class BotReplicaSummary < Struct.new(
|
2476
|
+
:replica_region,
|
2477
|
+
:creation_date_time,
|
2478
|
+
:bot_replica_status,
|
2479
|
+
:failure_reasons)
|
2480
|
+
SENSITIVE = []
|
2481
|
+
include Aws::Structure
|
2482
|
+
end
|
2483
|
+
|
2399
2484
|
# Specifies attributes for sorting a list of bots.
|
2400
2485
|
#
|
2401
2486
|
# @!attribute [rw] attribute
|
@@ -2485,6 +2570,57 @@ module Aws::LexModelsV2
|
|
2485
2570
|
include Aws::Structure
|
2486
2571
|
end
|
2487
2572
|
|
2573
|
+
# The sort category for the version replicated bots.
|
2574
|
+
#
|
2575
|
+
# @!attribute [rw] attribute
|
2576
|
+
# The attribute of the sort category for the version replicated bots.
|
2577
|
+
# @return [String]
|
2578
|
+
#
|
2579
|
+
# @!attribute [rw] order
|
2580
|
+
# The order of the sort category for the version replicated bots.
|
2581
|
+
# @return [String]
|
2582
|
+
#
|
2583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotVersionReplicaSortBy AWS API Documentation
|
2584
|
+
#
|
2585
|
+
class BotVersionReplicaSortBy < Struct.new(
|
2586
|
+
:attribute,
|
2587
|
+
:order)
|
2588
|
+
SENSITIVE = []
|
2589
|
+
include Aws::Structure
|
2590
|
+
end
|
2591
|
+
|
2592
|
+
# Contains summary information for all the version replication statuses
|
2593
|
+
# applicable for Global resiliency.
|
2594
|
+
#
|
2595
|
+
# @!attribute [rw] bot_version
|
2596
|
+
# The bot version for the summary information for all the version
|
2597
|
+
# replication statuses.
|
2598
|
+
# @return [String]
|
2599
|
+
#
|
2600
|
+
# @!attribute [rw] bot_version_replication_status
|
2601
|
+
# The version replication status for all the replicated bots.
|
2602
|
+
# @return [String]
|
2603
|
+
#
|
2604
|
+
# @!attribute [rw] creation_date_time
|
2605
|
+
# The creation date and time of the replication status for all the
|
2606
|
+
# replicated bots.
|
2607
|
+
# @return [Time]
|
2608
|
+
#
|
2609
|
+
# @!attribute [rw] failure_reasons
|
2610
|
+
# The reasons for replication failure for all the replicated bots.
|
2611
|
+
# @return [Array<String>]
|
2612
|
+
#
|
2613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotVersionReplicaSummary AWS API Documentation
|
2614
|
+
#
|
2615
|
+
class BotVersionReplicaSummary < Struct.new(
|
2616
|
+
:bot_version,
|
2617
|
+
:bot_version_replication_status,
|
2618
|
+
:creation_date_time,
|
2619
|
+
:failure_reasons)
|
2620
|
+
SENSITIVE = []
|
2621
|
+
include Aws::Structure
|
2622
|
+
end
|
2623
|
+
|
2488
2624
|
# Specifies attributes for sorting a list of bot versions.
|
2489
2625
|
#
|
2490
2626
|
# @!attribute [rw] attribute
|
@@ -3379,6 +3515,58 @@ module Aws::LexModelsV2
|
|
3379
3515
|
include Aws::Structure
|
3380
3516
|
end
|
3381
3517
|
|
3518
|
+
# @!attribute [rw] bot_id
|
3519
|
+
# The request for the unique bot ID of the source bot to be replicated
|
3520
|
+
# in the secondary region.
|
3521
|
+
# @return [String]
|
3522
|
+
#
|
3523
|
+
# @!attribute [rw] replica_region
|
3524
|
+
# The request for the secondary region that will be used in the
|
3525
|
+
# replication of the source bot.
|
3526
|
+
# @return [String]
|
3527
|
+
#
|
3528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotReplicaRequest AWS API Documentation
|
3529
|
+
#
|
3530
|
+
class CreateBotReplicaRequest < Struct.new(
|
3531
|
+
:bot_id,
|
3532
|
+
:replica_region)
|
3533
|
+
SENSITIVE = []
|
3534
|
+
include Aws::Structure
|
3535
|
+
end
|
3536
|
+
|
3537
|
+
# @!attribute [rw] bot_id
|
3538
|
+
# The unique bot ID of the replicated bot generated.
|
3539
|
+
# @return [String]
|
3540
|
+
#
|
3541
|
+
# @!attribute [rw] replica_region
|
3542
|
+
# The region of the replicated bot generated.
|
3543
|
+
# @return [String]
|
3544
|
+
#
|
3545
|
+
# @!attribute [rw] source_region
|
3546
|
+
# The source region for the source bot used for the replicated bot
|
3547
|
+
# generated.
|
3548
|
+
# @return [String]
|
3549
|
+
#
|
3550
|
+
# @!attribute [rw] creation_date_time
|
3551
|
+
# The creation date and time of the replicated bot generated.
|
3552
|
+
# @return [Time]
|
3553
|
+
#
|
3554
|
+
# @!attribute [rw] bot_replica_status
|
3555
|
+
# The operational status of the replicated bot generated.
|
3556
|
+
# @return [String]
|
3557
|
+
#
|
3558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotReplicaResponse AWS API Documentation
|
3559
|
+
#
|
3560
|
+
class CreateBotReplicaResponse < Struct.new(
|
3561
|
+
:bot_id,
|
3562
|
+
:replica_region,
|
3563
|
+
:source_region,
|
3564
|
+
:creation_date_time,
|
3565
|
+
:bot_replica_status)
|
3566
|
+
SENSITIVE = []
|
3567
|
+
include Aws::Structure
|
3568
|
+
end
|
3569
|
+
|
3382
3570
|
# @!attribute [rw] bot_name
|
3383
3571
|
# The name of the bot. The bot name must be unique in the account that
|
3384
3572
|
# creates the bot.
|
@@ -3773,6 +3961,13 @@ module Aws::LexModelsV2
|
|
3773
3961
|
# the beginning of a conversation, before eliciting slot values.
|
3774
3962
|
# @return [Types::InitialResponseSetting]
|
3775
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
|
+
#
|
3776
3971
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntentRequest AWS API Documentation
|
3777
3972
|
#
|
3778
3973
|
class CreateIntentRequest < Struct.new(
|
@@ -3790,7 +3985,8 @@ module Aws::LexModelsV2
|
|
3790
3985
|
:bot_id,
|
3791
3986
|
:bot_version,
|
3792
3987
|
:locale_id,
|
3793
|
-
:initial_response_setting
|
3988
|
+
:initial_response_setting,
|
3989
|
+
:qn_a_intent_configuration)
|
3794
3990
|
SENSITIVE = []
|
3795
3991
|
include Aws::Structure
|
3796
3992
|
end
|
@@ -3865,6 +4061,11 @@ module Aws::LexModelsV2
|
|
3865
4061
|
# the beginning of a conversation, before eliciting slot values.
|
3866
4062
|
# @return [Types::InitialResponseSetting]
|
3867
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
|
+
#
|
3868
4069
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntentResponse AWS API Documentation
|
3869
4070
|
#
|
3870
4071
|
class CreateIntentResponse < Struct.new(
|
@@ -3884,7 +4085,8 @@ module Aws::LexModelsV2
|
|
3884
4085
|
:bot_version,
|
3885
4086
|
:locale_id,
|
3886
4087
|
:creation_date_time,
|
3887
|
-
:initial_response_setting
|
4088
|
+
:initial_response_setting,
|
4089
|
+
:qn_a_intent_configuration)
|
3888
4090
|
SENSITIVE = []
|
3889
4091
|
include Aws::Structure
|
3890
4092
|
end
|
@@ -4618,6 +4820,51 @@ module Aws::LexModelsV2
|
|
4618
4820
|
include Aws::Structure
|
4619
4821
|
end
|
4620
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
|
+
|
4621
4868
|
# The object used for specifying the data range that the customer wants
|
4622
4869
|
# Amazon Lex to read through in the input transcripts.
|
4623
4870
|
#
|
@@ -4768,6 +5015,46 @@ module Aws::LexModelsV2
|
|
4768
5015
|
include Aws::Structure
|
4769
5016
|
end
|
4770
5017
|
|
5018
|
+
# @!attribute [rw] bot_id
|
5019
|
+
# The unique ID of the replicated bot to be deleted from the secondary
|
5020
|
+
# region
|
5021
|
+
# @return [String]
|
5022
|
+
#
|
5023
|
+
# @!attribute [rw] replica_region
|
5024
|
+
# The secondary region of the replicated bot that will be deleted.
|
5025
|
+
# @return [String]
|
5026
|
+
#
|
5027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotReplicaRequest AWS API Documentation
|
5028
|
+
#
|
5029
|
+
class DeleteBotReplicaRequest < Struct.new(
|
5030
|
+
:bot_id,
|
5031
|
+
:replica_region)
|
5032
|
+
SENSITIVE = []
|
5033
|
+
include Aws::Structure
|
5034
|
+
end
|
5035
|
+
|
5036
|
+
# @!attribute [rw] bot_id
|
5037
|
+
# The unique bot ID of the replicated bot generated.
|
5038
|
+
# @return [String]
|
5039
|
+
#
|
5040
|
+
# @!attribute [rw] replica_region
|
5041
|
+
# The region of the replicated bot generated.
|
5042
|
+
# @return [String]
|
5043
|
+
#
|
5044
|
+
# @!attribute [rw] bot_replica_status
|
5045
|
+
# The operational status of the replicated bot generated.
|
5046
|
+
# @return [String]
|
5047
|
+
#
|
5048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotReplicaResponse AWS API Documentation
|
5049
|
+
#
|
5050
|
+
class DeleteBotReplicaResponse < Struct.new(
|
5051
|
+
:bot_id,
|
5052
|
+
:replica_region,
|
5053
|
+
:bot_replica_status)
|
5054
|
+
SENSITIVE = []
|
5055
|
+
include Aws::Structure
|
5056
|
+
end
|
5057
|
+
|
4771
5058
|
# @!attribute [rw] bot_id
|
4772
5059
|
# The identifier of the bot to delete.
|
4773
5060
|
# @return [String]
|
@@ -5563,6 +5850,61 @@ module Aws::LexModelsV2
|
|
5563
5850
|
include Aws::Structure
|
5564
5851
|
end
|
5565
5852
|
|
5853
|
+
# @!attribute [rw] bot_id
|
5854
|
+
# The request for the unique bot ID of the replicated bot being
|
5855
|
+
# monitored.
|
5856
|
+
# @return [String]
|
5857
|
+
#
|
5858
|
+
# @!attribute [rw] replica_region
|
5859
|
+
# The request for the region of the replicated bot being monitored.
|
5860
|
+
# @return [String]
|
5861
|
+
#
|
5862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotReplicaRequest AWS API Documentation
|
5863
|
+
#
|
5864
|
+
class DescribeBotReplicaRequest < Struct.new(
|
5865
|
+
:bot_id,
|
5866
|
+
:replica_region)
|
5867
|
+
SENSITIVE = []
|
5868
|
+
include Aws::Structure
|
5869
|
+
end
|
5870
|
+
|
5871
|
+
# @!attribute [rw] bot_id
|
5872
|
+
# The unique bot ID of the replicated bot being monitored.
|
5873
|
+
# @return [String]
|
5874
|
+
#
|
5875
|
+
# @!attribute [rw] replica_region
|
5876
|
+
# The region of the replicated bot being monitored.
|
5877
|
+
# @return [String]
|
5878
|
+
#
|
5879
|
+
# @!attribute [rw] source_region
|
5880
|
+
# The source region of the replicated bot being monitored.
|
5881
|
+
# @return [String]
|
5882
|
+
#
|
5883
|
+
# @!attribute [rw] creation_date_time
|
5884
|
+
# The creation date and time of the replicated bot being monitored.
|
5885
|
+
# @return [Time]
|
5886
|
+
#
|
5887
|
+
# @!attribute [rw] bot_replica_status
|
5888
|
+
# The operational status of the replicated bot being monitored.
|
5889
|
+
# @return [String]
|
5890
|
+
#
|
5891
|
+
# @!attribute [rw] failure_reasons
|
5892
|
+
# The failure reasons the bot being monitored failed to replicate.
|
5893
|
+
# @return [Array<String>]
|
5894
|
+
#
|
5895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotReplicaResponse AWS API Documentation
|
5896
|
+
#
|
5897
|
+
class DescribeBotReplicaResponse < Struct.new(
|
5898
|
+
:bot_id,
|
5899
|
+
:replica_region,
|
5900
|
+
:source_region,
|
5901
|
+
:creation_date_time,
|
5902
|
+
:bot_replica_status,
|
5903
|
+
:failure_reasons)
|
5904
|
+
SENSITIVE = []
|
5905
|
+
include Aws::Structure
|
5906
|
+
end
|
5907
|
+
|
5566
5908
|
# @!attribute [rw] bot_id
|
5567
5909
|
# The unique identifier of the bot to describe.
|
5568
5910
|
# @return [String]
|
@@ -6150,6 +6492,10 @@ module Aws::LexModelsV2
|
|
6150
6492
|
# Lex starts eliciting slots.
|
6151
6493
|
# @return [Types::InitialResponseSetting]
|
6152
6494
|
#
|
6495
|
+
# @!attribute [rw] qn_a_intent_configuration
|
6496
|
+
# Details about the configuration of the built-in `Amazon.QnAIntent`.
|
6497
|
+
# @return [Types::QnAIntentConfiguration]
|
6498
|
+
#
|
6153
6499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeIntentResponse AWS API Documentation
|
6154
6500
|
#
|
6155
6501
|
class DescribeIntentResponse < Struct.new(
|
@@ -6171,7 +6517,8 @@ module Aws::LexModelsV2
|
|
6171
6517
|
:locale_id,
|
6172
6518
|
:creation_date_time,
|
6173
6519
|
:last_updated_date_time,
|
6174
|
-
:initial_response_setting
|
6520
|
+
:initial_response_setting,
|
6521
|
+
:qn_a_intent_configuration)
|
6175
6522
|
SENSITIVE = []
|
6176
6523
|
include Aws::Structure
|
6177
6524
|
end
|
@@ -6911,6 +7258,28 @@ module Aws::LexModelsV2
|
|
6911
7258
|
include Aws::Structure
|
6912
7259
|
end
|
6913
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
|
+
|
6914
7283
|
# Details about an error in an execution of a test set.
|
6915
7284
|
#
|
6916
7285
|
# @!attribute [rw] error_code
|
@@ -8313,6 +8682,74 @@ module Aws::LexModelsV2
|
|
8313
8682
|
include Aws::Structure
|
8314
8683
|
end
|
8315
8684
|
|
8685
|
+
# @!attribute [rw] bot_id
|
8686
|
+
# The request for the unique bot ID of the replicated bot created from
|
8687
|
+
# the source bot alias.
|
8688
|
+
# @return [String]
|
8689
|
+
#
|
8690
|
+
# @!attribute [rw] replica_region
|
8691
|
+
# The request for the secondary region of the replicated bot created
|
8692
|
+
# from the source bot alias.
|
8693
|
+
# @return [String]
|
8694
|
+
#
|
8695
|
+
# @!attribute [rw] max_results
|
8696
|
+
# The request for maximum results to list the replicated bots created
|
8697
|
+
# from the source bot alias.
|
8698
|
+
# @return [Integer]
|
8699
|
+
#
|
8700
|
+
# @!attribute [rw] next_token
|
8701
|
+
# The request for the next token for the replicated bot created from
|
8702
|
+
# the source bot alias.
|
8703
|
+
# @return [String]
|
8704
|
+
#
|
8705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAliasReplicasRequest AWS API Documentation
|
8706
|
+
#
|
8707
|
+
class ListBotAliasReplicasRequest < Struct.new(
|
8708
|
+
:bot_id,
|
8709
|
+
:replica_region,
|
8710
|
+
:max_results,
|
8711
|
+
:next_token)
|
8712
|
+
SENSITIVE = []
|
8713
|
+
include Aws::Structure
|
8714
|
+
end
|
8715
|
+
|
8716
|
+
# @!attribute [rw] bot_id
|
8717
|
+
# The unique bot ID of the replicated bot created from the source bot
|
8718
|
+
# alias.
|
8719
|
+
# @return [String]
|
8720
|
+
#
|
8721
|
+
# @!attribute [rw] source_region
|
8722
|
+
# The source region of the replicated bot created from the source bot
|
8723
|
+
# alias.
|
8724
|
+
# @return [String]
|
8725
|
+
#
|
8726
|
+
# @!attribute [rw] replica_region
|
8727
|
+
# The secondary region of the replicated bot created from the source
|
8728
|
+
# bot alias.
|
8729
|
+
# @return [String]
|
8730
|
+
#
|
8731
|
+
# @!attribute [rw] bot_alias_replica_summaries
|
8732
|
+
# The summary information of the replicated bot created from the
|
8733
|
+
# source bot alias.
|
8734
|
+
# @return [Array<Types::BotAliasReplicaSummary>]
|
8735
|
+
#
|
8736
|
+
# @!attribute [rw] next_token
|
8737
|
+
# The next token for the replicated bots created from the source bot
|
8738
|
+
# alias.
|
8739
|
+
# @return [String]
|
8740
|
+
#
|
8741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAliasReplicasResponse AWS API Documentation
|
8742
|
+
#
|
8743
|
+
class ListBotAliasReplicasResponse < Struct.new(
|
8744
|
+
:bot_id,
|
8745
|
+
:source_region,
|
8746
|
+
:replica_region,
|
8747
|
+
:bot_alias_replica_summaries,
|
8748
|
+
:next_token)
|
8749
|
+
SENSITIVE = []
|
8750
|
+
include Aws::Structure
|
8751
|
+
end
|
8752
|
+
|
8316
8753
|
# @!attribute [rw] bot_id
|
8317
8754
|
# The identifier of the bot to list aliases for.
|
8318
8755
|
# @return [String]
|
@@ -8529,6 +8966,40 @@ module Aws::LexModelsV2
|
|
8529
8966
|
include Aws::Structure
|
8530
8967
|
end
|
8531
8968
|
|
8969
|
+
# @!attribute [rw] bot_id
|
8970
|
+
# The request for the unique bot IDs in the list of replicated bots.
|
8971
|
+
# @return [String]
|
8972
|
+
#
|
8973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotReplicasRequest AWS API Documentation
|
8974
|
+
#
|
8975
|
+
class ListBotReplicasRequest < Struct.new(
|
8976
|
+
:bot_id)
|
8977
|
+
SENSITIVE = []
|
8978
|
+
include Aws::Structure
|
8979
|
+
end
|
8980
|
+
|
8981
|
+
# @!attribute [rw] bot_id
|
8982
|
+
# the unique bot IDs in the list of replicated bots.
|
8983
|
+
# @return [String]
|
8984
|
+
#
|
8985
|
+
# @!attribute [rw] source_region
|
8986
|
+
# The source region of the source bots in the list of replicated bots.
|
8987
|
+
# @return [String]
|
8988
|
+
#
|
8989
|
+
# @!attribute [rw] bot_replica_summaries
|
8990
|
+
# The summary details for the replicated bots.
|
8991
|
+
# @return [Array<Types::BotReplicaSummary>]
|
8992
|
+
#
|
8993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotReplicasResponse AWS API Documentation
|
8994
|
+
#
|
8995
|
+
class ListBotReplicasResponse < Struct.new(
|
8996
|
+
:bot_id,
|
8997
|
+
:source_region,
|
8998
|
+
:bot_replica_summaries)
|
8999
|
+
SENSITIVE = []
|
9000
|
+
include Aws::Structure
|
9001
|
+
end
|
9002
|
+
|
8532
9003
|
# @!attribute [rw] bot_id
|
8533
9004
|
# The unique identifier of the bot whose generation requests you want
|
8534
9005
|
# to view.
|
@@ -8608,6 +9079,73 @@ module Aws::LexModelsV2
|
|
8608
9079
|
include Aws::Structure
|
8609
9080
|
end
|
8610
9081
|
|
9082
|
+
# @!attribute [rw] bot_id
|
9083
|
+
# The request for the unique ID in the list of replicated bots.
|
9084
|
+
# @return [String]
|
9085
|
+
#
|
9086
|
+
# @!attribute [rw] replica_region
|
9087
|
+
# The request for the region used in the list of replicated bots.
|
9088
|
+
# @return [String]
|
9089
|
+
#
|
9090
|
+
# @!attribute [rw] max_results
|
9091
|
+
# The maximum results given in the list of replicated bots.
|
9092
|
+
# @return [Integer]
|
9093
|
+
#
|
9094
|
+
# @!attribute [rw] next_token
|
9095
|
+
# The next token given in the list of replicated bots.
|
9096
|
+
# @return [String]
|
9097
|
+
#
|
9098
|
+
# @!attribute [rw] sort_by
|
9099
|
+
# The requested sort category for the list of replicated bots.
|
9100
|
+
# @return [Types::BotVersionReplicaSortBy]
|
9101
|
+
#
|
9102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersionReplicasRequest AWS API Documentation
|
9103
|
+
#
|
9104
|
+
class ListBotVersionReplicasRequest < Struct.new(
|
9105
|
+
:bot_id,
|
9106
|
+
:replica_region,
|
9107
|
+
:max_results,
|
9108
|
+
:next_token,
|
9109
|
+
:sort_by)
|
9110
|
+
SENSITIVE = []
|
9111
|
+
include Aws::Structure
|
9112
|
+
end
|
9113
|
+
|
9114
|
+
# @!attribute [rw] bot_id
|
9115
|
+
# The unique ID of the bots in the list of replicated bots.
|
9116
|
+
# @return [String]
|
9117
|
+
#
|
9118
|
+
# @!attribute [rw] source_region
|
9119
|
+
# The source region used for the bots in the list of replicated bots.
|
9120
|
+
# @return [String]
|
9121
|
+
#
|
9122
|
+
# @!attribute [rw] replica_region
|
9123
|
+
# The region used for the replicated bots in the list of replicated
|
9124
|
+
# bots.
|
9125
|
+
# @return [String]
|
9126
|
+
#
|
9127
|
+
# @!attribute [rw] bot_version_replica_summaries
|
9128
|
+
# The information summary used for the replicated bots in the list of
|
9129
|
+
# replicated bots.
|
9130
|
+
# @return [Array<Types::BotVersionReplicaSummary>]
|
9131
|
+
#
|
9132
|
+
# @!attribute [rw] next_token
|
9133
|
+
# The next token used for the replicated bots in the list of
|
9134
|
+
# replicated bots.
|
9135
|
+
# @return [String]
|
9136
|
+
#
|
9137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersionReplicasResponse AWS API Documentation
|
9138
|
+
#
|
9139
|
+
class ListBotVersionReplicasResponse < Struct.new(
|
9140
|
+
:bot_id,
|
9141
|
+
:source_region,
|
9142
|
+
:replica_region,
|
9143
|
+
:bot_version_replica_summaries,
|
9144
|
+
:next_token)
|
9145
|
+
SENSITIVE = []
|
9146
|
+
include Aws::Structure
|
9147
|
+
end
|
9148
|
+
|
8611
9149
|
# @!attribute [rw] bot_id
|
8612
9150
|
# The identifier of the bot to list versions for.
|
8613
9151
|
# @return [String]
|
@@ -10549,6 +11087,45 @@ module Aws::LexModelsV2
|
|
10549
11087
|
include Aws::Structure
|
10550
11088
|
end
|
10551
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
|
+
|
10552
11129
|
# Describes a session context that is activated when an intent is
|
10553
11130
|
# fulfilled.
|
10554
11131
|
#
|
@@ -10920,6 +11497,72 @@ module Aws::LexModelsV2
|
|
10920
11497
|
include Aws::Structure
|
10921
11498
|
end
|
10922
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
|
+
|
10923
11566
|
# An object that contains a summary of a recommended intent.
|
10924
11567
|
#
|
10925
11568
|
# @!attribute [rw] intent_id
|
@@ -14094,6 +14737,13 @@ module Aws::LexModelsV2
|
|
14094
14737
|
# Lex starts eliciting slots.
|
14095
14738
|
# @return [Types::InitialResponseSetting]
|
14096
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
|
+
#
|
14097
14747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntentRequest AWS API Documentation
|
14098
14748
|
#
|
14099
14749
|
class UpdateIntentRequest < Struct.new(
|
@@ -14113,7 +14763,8 @@ module Aws::LexModelsV2
|
|
14113
14763
|
:bot_id,
|
14114
14764
|
:bot_version,
|
14115
14765
|
:locale_id,
|
14116
|
-
:initial_response_setting
|
14766
|
+
:initial_response_setting,
|
14767
|
+
:qn_a_intent_configuration)
|
14117
14768
|
SENSITIVE = []
|
14118
14769
|
include Aws::Structure
|
14119
14770
|
end
|
@@ -14204,6 +14855,10 @@ module Aws::LexModelsV2
|
|
14204
14855
|
# Lex starts eliciting slots.
|
14205
14856
|
# @return [Types::InitialResponseSetting]
|
14206
14857
|
#
|
14858
|
+
# @!attribute [rw] qn_a_intent_configuration
|
14859
|
+
# Details about the configuration of the built-in `Amazon.QnAIntent`.
|
14860
|
+
# @return [Types::QnAIntentConfiguration]
|
14861
|
+
#
|
14207
14862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntentResponse AWS API Documentation
|
14208
14863
|
#
|
14209
14864
|
class UpdateIntentResponse < Struct.new(
|
@@ -14225,7 +14880,8 @@ module Aws::LexModelsV2
|
|
14225
14880
|
:locale_id,
|
14226
14881
|
:creation_date_time,
|
14227
14882
|
:last_updated_date_time,
|
14228
|
-
:initial_response_setting
|
14883
|
+
:initial_response_setting,
|
14884
|
+
:qn_a_intent_configuration)
|
14229
14885
|
SENSITIVE = []
|
14230
14886
|
include Aws::Structure
|
14231
14887
|
end
|