aws-sdk-lexmodelbuildingservice 1.30.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lexmodelbuildingservice.rb +4 -2
- data/lib/aws-sdk-lexmodelbuildingservice/client.rb +160 -21
- data/lib/aws-sdk-lexmodelbuildingservice/client_api.rb +23 -0
- data/lib/aws-sdk-lexmodelbuildingservice/errors.rb +2 -0
- data/lib/aws-sdk-lexmodelbuildingservice/resource.rb +2 -0
- data/lib/aws-sdk-lexmodelbuildingservice/types.rb +352 -16
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -18,6 +20,7 @@ module Aws::LexModelBuildingService
|
|
18
20
|
#
|
19
21
|
class BadRequestException < Struct.new(
|
20
22
|
:message)
|
23
|
+
SENSITIVE = []
|
21
24
|
include Aws::Structure
|
22
25
|
end
|
23
26
|
|
@@ -68,6 +71,7 @@ module Aws::LexModelBuildingService
|
|
68
71
|
:created_date,
|
69
72
|
:checksum,
|
70
73
|
:conversation_logs)
|
74
|
+
SENSITIVE = []
|
71
75
|
include Aws::Structure
|
72
76
|
end
|
73
77
|
|
@@ -142,6 +146,7 @@ module Aws::LexModelBuildingService
|
|
142
146
|
:bot_configuration,
|
143
147
|
:status,
|
144
148
|
:failure_reason)
|
149
|
+
SENSITIVE = [:bot_configuration]
|
145
150
|
include Aws::Structure
|
146
151
|
end
|
147
152
|
|
@@ -182,6 +187,7 @@ module Aws::LexModelBuildingService
|
|
182
187
|
:last_updated_date,
|
183
188
|
:created_date,
|
184
189
|
:version)
|
190
|
+
SENSITIVE = []
|
185
191
|
include Aws::Structure
|
186
192
|
end
|
187
193
|
|
@@ -206,6 +212,7 @@ module Aws::LexModelBuildingService
|
|
206
212
|
class BuiltinIntentMetadata < Struct.new(
|
207
213
|
:signature,
|
208
214
|
:supported_locales)
|
215
|
+
SENSITIVE = []
|
209
216
|
include Aws::Structure
|
210
217
|
end
|
211
218
|
|
@@ -219,6 +226,7 @@ module Aws::LexModelBuildingService
|
|
219
226
|
#
|
220
227
|
class BuiltinIntentSlot < Struct.new(
|
221
228
|
:name)
|
229
|
+
SENSITIVE = []
|
222
230
|
include Aws::Structure
|
223
231
|
end
|
224
232
|
|
@@ -243,6 +251,7 @@ module Aws::LexModelBuildingService
|
|
243
251
|
class BuiltinSlotTypeMetadata < Struct.new(
|
244
252
|
:signature,
|
245
253
|
:supported_locales)
|
254
|
+
SENSITIVE = []
|
246
255
|
include Aws::Structure
|
247
256
|
end
|
248
257
|
|
@@ -272,6 +281,7 @@ module Aws::LexModelBuildingService
|
|
272
281
|
class CodeHook < Struct.new(
|
273
282
|
:uri,
|
274
283
|
:message_version)
|
284
|
+
SENSITIVE = []
|
275
285
|
include Aws::Structure
|
276
286
|
end
|
277
287
|
|
@@ -284,6 +294,7 @@ module Aws::LexModelBuildingService
|
|
284
294
|
#
|
285
295
|
class ConflictException < Struct.new(
|
286
296
|
:message)
|
297
|
+
SENSITIVE = []
|
287
298
|
include Aws::Structure
|
288
299
|
end
|
289
300
|
|
@@ -327,6 +338,7 @@ module Aws::LexModelBuildingService
|
|
327
338
|
class ConversationLogsRequest < Struct.new(
|
328
339
|
:log_settings,
|
329
340
|
:iam_role_arn)
|
341
|
+
SENSITIVE = []
|
330
342
|
include Aws::Structure
|
331
343
|
end
|
332
344
|
|
@@ -347,6 +359,7 @@ module Aws::LexModelBuildingService
|
|
347
359
|
class ConversationLogsResponse < Struct.new(
|
348
360
|
:log_settings,
|
349
361
|
:iam_role_arn)
|
362
|
+
SENSITIVE = []
|
350
363
|
include Aws::Structure
|
351
364
|
end
|
352
365
|
|
@@ -377,6 +390,7 @@ module Aws::LexModelBuildingService
|
|
377
390
|
class CreateBotVersionRequest < Struct.new(
|
378
391
|
:name,
|
379
392
|
:checksum)
|
393
|
+
SENSITIVE = []
|
380
394
|
include Aws::Structure
|
381
395
|
end
|
382
396
|
|
@@ -398,7 +412,7 @@ module Aws::LexModelBuildingService
|
|
398
412
|
# @return [Types::Prompt]
|
399
413
|
#
|
400
414
|
# @!attribute [rw] abort_statement
|
401
|
-
# The message that Amazon Lex uses to
|
415
|
+
# The message that Amazon Lex uses to cancel a conversation. For more
|
402
416
|
# information, see PutBot.
|
403
417
|
# @return [Types::Statement]
|
404
418
|
#
|
@@ -478,6 +492,12 @@ module Aws::LexModelBuildingService
|
|
478
492
|
# [1]: https://aws.amazon.com/lex/faqs#data-security
|
479
493
|
# @return [Boolean]
|
480
494
|
#
|
495
|
+
# @!attribute [rw] enable_model_improvements
|
496
|
+
# Indicates whether the bot uses accuracy improvements. `true`
|
497
|
+
# indicates that the bot is using the imoprovements, otherwise,
|
498
|
+
# `false`.
|
499
|
+
# @return [Boolean]
|
500
|
+
#
|
481
501
|
# @!attribute [rw] detect_sentiment
|
482
502
|
# Indicates whether utterances entered by the user should be sent to
|
483
503
|
# Amazon Comprehend for sentiment analysis.
|
@@ -501,7 +521,9 @@ module Aws::LexModelBuildingService
|
|
501
521
|
:version,
|
502
522
|
:locale,
|
503
523
|
:child_directed,
|
524
|
+
:enable_model_improvements,
|
504
525
|
:detect_sentiment)
|
526
|
+
SENSITIVE = []
|
505
527
|
include Aws::Structure
|
506
528
|
end
|
507
529
|
|
@@ -532,6 +554,7 @@ module Aws::LexModelBuildingService
|
|
532
554
|
class CreateIntentVersionRequest < Struct.new(
|
533
555
|
:name,
|
534
556
|
:checksum)
|
557
|
+
SENSITIVE = []
|
535
558
|
include Aws::Structure
|
536
559
|
end
|
537
560
|
|
@@ -603,6 +626,11 @@ module Aws::LexModelBuildingService
|
|
603
626
|
# Checksum of the intent version created.
|
604
627
|
# @return [String]
|
605
628
|
#
|
629
|
+
# @!attribute [rw] kendra_configuration
|
630
|
+
# Configuration information, if any, for connectin an Amazon Kendra
|
631
|
+
# index with the `AMAZON.KendraSearchIntent` intent.
|
632
|
+
# @return [Types::KendraConfiguration]
|
633
|
+
#
|
606
634
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersionResponse AWS API Documentation
|
607
635
|
#
|
608
636
|
class CreateIntentVersionResponse < Struct.new(
|
@@ -620,7 +648,9 @@ module Aws::LexModelBuildingService
|
|
620
648
|
:last_updated_date,
|
621
649
|
:created_date,
|
622
650
|
:version,
|
623
|
-
:checksum
|
651
|
+
:checksum,
|
652
|
+
:kendra_configuration)
|
653
|
+
SENSITIVE = []
|
624
654
|
include Aws::Structure
|
625
655
|
end
|
626
656
|
|
@@ -651,6 +681,7 @@ module Aws::LexModelBuildingService
|
|
651
681
|
class CreateSlotTypeVersionRequest < Struct.new(
|
652
682
|
:name,
|
653
683
|
:checksum)
|
684
|
+
SENSITIVE = []
|
654
685
|
include Aws::Structure
|
655
686
|
end
|
656
687
|
|
@@ -711,6 +742,7 @@ module Aws::LexModelBuildingService
|
|
711
742
|
:value_selection_strategy,
|
712
743
|
:parent_slot_type_signature,
|
713
744
|
:slot_type_configurations)
|
745
|
+
SENSITIVE = []
|
714
746
|
include Aws::Structure
|
715
747
|
end
|
716
748
|
|
@@ -735,6 +767,7 @@ module Aws::LexModelBuildingService
|
|
735
767
|
class DeleteBotAliasRequest < Struct.new(
|
736
768
|
:name,
|
737
769
|
:bot_name)
|
770
|
+
SENSITIVE = []
|
738
771
|
include Aws::Structure
|
739
772
|
end
|
740
773
|
|
@@ -766,6 +799,7 @@ module Aws::LexModelBuildingService
|
|
766
799
|
:name,
|
767
800
|
:bot_name,
|
768
801
|
:bot_alias)
|
802
|
+
SENSITIVE = []
|
769
803
|
include Aws::Structure
|
770
804
|
end
|
771
805
|
|
@@ -784,6 +818,7 @@ module Aws::LexModelBuildingService
|
|
784
818
|
#
|
785
819
|
class DeleteBotRequest < Struct.new(
|
786
820
|
:name)
|
821
|
+
SENSITIVE = []
|
787
822
|
include Aws::Structure
|
788
823
|
end
|
789
824
|
|
@@ -810,6 +845,7 @@ module Aws::LexModelBuildingService
|
|
810
845
|
class DeleteBotVersionRequest < Struct.new(
|
811
846
|
:name,
|
812
847
|
:version)
|
848
|
+
SENSITIVE = []
|
813
849
|
include Aws::Structure
|
814
850
|
end
|
815
851
|
|
@@ -828,6 +864,7 @@ module Aws::LexModelBuildingService
|
|
828
864
|
#
|
829
865
|
class DeleteIntentRequest < Struct.new(
|
830
866
|
:name)
|
867
|
+
SENSITIVE = []
|
831
868
|
include Aws::Structure
|
832
869
|
end
|
833
870
|
|
@@ -854,6 +891,7 @@ module Aws::LexModelBuildingService
|
|
854
891
|
class DeleteIntentVersionRequest < Struct.new(
|
855
892
|
:name,
|
856
893
|
:version)
|
894
|
+
SENSITIVE = []
|
857
895
|
include Aws::Structure
|
858
896
|
end
|
859
897
|
|
@@ -872,6 +910,7 @@ module Aws::LexModelBuildingService
|
|
872
910
|
#
|
873
911
|
class DeleteSlotTypeRequest < Struct.new(
|
874
912
|
:name)
|
913
|
+
SENSITIVE = []
|
875
914
|
include Aws::Structure
|
876
915
|
end
|
877
916
|
|
@@ -898,6 +937,7 @@ module Aws::LexModelBuildingService
|
|
898
937
|
class DeleteSlotTypeVersionRequest < Struct.new(
|
899
938
|
:name,
|
900
939
|
:version)
|
940
|
+
SENSITIVE = []
|
901
941
|
include Aws::Structure
|
902
942
|
end
|
903
943
|
|
@@ -929,6 +969,7 @@ module Aws::LexModelBuildingService
|
|
929
969
|
class DeleteUtterancesRequest < Struct.new(
|
930
970
|
:bot_name,
|
931
971
|
:user_id)
|
972
|
+
SENSITIVE = []
|
932
973
|
include Aws::Structure
|
933
974
|
end
|
934
975
|
|
@@ -966,6 +1007,7 @@ module Aws::LexModelBuildingService
|
|
966
1007
|
class EnumerationValue < Struct.new(
|
967
1008
|
:value,
|
968
1009
|
:synonyms)
|
1010
|
+
SENSITIVE = []
|
969
1011
|
include Aws::Structure
|
970
1012
|
end
|
971
1013
|
|
@@ -1015,6 +1057,7 @@ module Aws::LexModelBuildingService
|
|
1015
1057
|
class FollowUpPrompt < Struct.new(
|
1016
1058
|
:prompt,
|
1017
1059
|
:rejection_statement)
|
1060
|
+
SENSITIVE = []
|
1018
1061
|
include Aws::Structure
|
1019
1062
|
end
|
1020
1063
|
|
@@ -1064,6 +1107,7 @@ module Aws::LexModelBuildingService
|
|
1064
1107
|
class FulfillmentActivity < Struct.new(
|
1065
1108
|
:type,
|
1066
1109
|
:code_hook)
|
1110
|
+
SENSITIVE = []
|
1067
1111
|
include Aws::Structure
|
1068
1112
|
end
|
1069
1113
|
|
@@ -1088,6 +1132,7 @@ module Aws::LexModelBuildingService
|
|
1088
1132
|
class GetBotAliasRequest < Struct.new(
|
1089
1133
|
:name,
|
1090
1134
|
:bot_name)
|
1135
|
+
SENSITIVE = []
|
1091
1136
|
include Aws::Structure
|
1092
1137
|
end
|
1093
1138
|
|
@@ -1136,6 +1181,7 @@ module Aws::LexModelBuildingService
|
|
1136
1181
|
:created_date,
|
1137
1182
|
:checksum,
|
1138
1183
|
:conversation_logs)
|
1184
|
+
SENSITIVE = []
|
1139
1185
|
include Aws::Structure
|
1140
1186
|
end
|
1141
1187
|
|
@@ -1178,6 +1224,7 @@ module Aws::LexModelBuildingService
|
|
1178
1224
|
:next_token,
|
1179
1225
|
:max_results,
|
1180
1226
|
:name_contains)
|
1227
|
+
SENSITIVE = []
|
1181
1228
|
include Aws::Structure
|
1182
1229
|
end
|
1183
1230
|
|
@@ -1197,6 +1244,7 @@ module Aws::LexModelBuildingService
|
|
1197
1244
|
class GetBotAliasesResponse < Struct.new(
|
1198
1245
|
:bot_aliases,
|
1199
1246
|
:next_token)
|
1247
|
+
SENSITIVE = []
|
1200
1248
|
include Aws::Structure
|
1201
1249
|
end
|
1202
1250
|
|
@@ -1229,6 +1277,7 @@ module Aws::LexModelBuildingService
|
|
1229
1277
|
:name,
|
1230
1278
|
:bot_name,
|
1231
1279
|
:bot_alias)
|
1280
|
+
SENSITIVE = []
|
1232
1281
|
include Aws::Structure
|
1233
1282
|
end
|
1234
1283
|
|
@@ -1292,6 +1341,7 @@ module Aws::LexModelBuildingService
|
|
1292
1341
|
:bot_configuration,
|
1293
1342
|
:status,
|
1294
1343
|
:failure_reason)
|
1344
|
+
SENSITIVE = [:bot_configuration]
|
1295
1345
|
include Aws::Structure
|
1296
1346
|
end
|
1297
1347
|
|
@@ -1343,6 +1393,7 @@ module Aws::LexModelBuildingService
|
|
1343
1393
|
:next_token,
|
1344
1394
|
:max_results,
|
1345
1395
|
:name_contains)
|
1396
|
+
SENSITIVE = []
|
1346
1397
|
include Aws::Structure
|
1347
1398
|
end
|
1348
1399
|
|
@@ -1364,6 +1415,7 @@ module Aws::LexModelBuildingService
|
|
1364
1415
|
class GetBotChannelAssociationsResponse < Struct.new(
|
1365
1416
|
:bot_channel_associations,
|
1366
1417
|
:next_token)
|
1418
|
+
SENSITIVE = []
|
1367
1419
|
include Aws::Structure
|
1368
1420
|
end
|
1369
1421
|
|
@@ -1388,6 +1440,7 @@ module Aws::LexModelBuildingService
|
|
1388
1440
|
class GetBotRequest < Struct.new(
|
1389
1441
|
:name,
|
1390
1442
|
:version_or_alias)
|
1443
|
+
SENSITIVE = []
|
1391
1444
|
include Aws::Structure
|
1392
1445
|
end
|
1393
1446
|
|
@@ -1403,6 +1456,27 @@ module Aws::LexModelBuildingService
|
|
1403
1456
|
# An array of `intent` objects. For more information, see PutBot.
|
1404
1457
|
# @return [Array<Types::Intent>]
|
1405
1458
|
#
|
1459
|
+
# @!attribute [rw] enable_model_improvements
|
1460
|
+
# Indicates whether the bot uses accuracy improvements. `true`
|
1461
|
+
# indicates that the bot is using the imoprovements, otherwise,
|
1462
|
+
# `false`.
|
1463
|
+
# @return [Boolean]
|
1464
|
+
#
|
1465
|
+
# @!attribute [rw] nlu_intent_confidence_threshold
|
1466
|
+
# The score that determines where Amazon Lex inserts the
|
1467
|
+
# `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
|
1468
|
+
# returning alternative intents in a [PostContent][1] or [PostText][2]
|
1469
|
+
# response. `AMAZON.FallbackIntent` is inserted if the confidence
|
1470
|
+
# score for all intents is below this value.
|
1471
|
+
# `AMAZON.KendraSearchIntent` is only inserted if it is configured for
|
1472
|
+
# the bot.
|
1473
|
+
#
|
1474
|
+
#
|
1475
|
+
#
|
1476
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
1477
|
+
# [2]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
1478
|
+
# @return [Float]
|
1479
|
+
#
|
1406
1480
|
# @!attribute [rw] clarification_prompt
|
1407
1481
|
# The message Amazon Lex uses when it doesn't understand the user's
|
1408
1482
|
# request. For more information, see PutBot.
|
@@ -1512,6 +1586,8 @@ module Aws::LexModelBuildingService
|
|
1512
1586
|
:name,
|
1513
1587
|
:description,
|
1514
1588
|
:intents,
|
1589
|
+
:enable_model_improvements,
|
1590
|
+
:nlu_intent_confidence_threshold,
|
1515
1591
|
:clarification_prompt,
|
1516
1592
|
:abort_statement,
|
1517
1593
|
:status,
|
@@ -1525,6 +1601,7 @@ module Aws::LexModelBuildingService
|
|
1525
1601
|
:locale,
|
1526
1602
|
:child_directed,
|
1527
1603
|
:detect_sentiment)
|
1604
|
+
SENSITIVE = []
|
1528
1605
|
include Aws::Structure
|
1529
1606
|
end
|
1530
1607
|
|
@@ -1559,6 +1636,7 @@ module Aws::LexModelBuildingService
|
|
1559
1636
|
:name,
|
1560
1637
|
:next_token,
|
1561
1638
|
:max_results)
|
1639
|
+
SENSITIVE = []
|
1562
1640
|
include Aws::Structure
|
1563
1641
|
end
|
1564
1642
|
|
@@ -1579,6 +1657,7 @@ module Aws::LexModelBuildingService
|
|
1579
1657
|
class GetBotVersionsResponse < Struct.new(
|
1580
1658
|
:bots,
|
1581
1659
|
:next_token)
|
1660
|
+
SENSITIVE = []
|
1582
1661
|
include Aws::Structure
|
1583
1662
|
end
|
1584
1663
|
|
@@ -1615,6 +1694,7 @@ module Aws::LexModelBuildingService
|
|
1615
1694
|
:next_token,
|
1616
1695
|
:max_results,
|
1617
1696
|
:name_contains)
|
1697
|
+
SENSITIVE = []
|
1618
1698
|
include Aws::Structure
|
1619
1699
|
end
|
1620
1700
|
|
@@ -1632,6 +1712,7 @@ module Aws::LexModelBuildingService
|
|
1632
1712
|
class GetBotsResponse < Struct.new(
|
1633
1713
|
:bots,
|
1634
1714
|
:next_token)
|
1715
|
+
SENSITIVE = []
|
1635
1716
|
include Aws::Structure
|
1636
1717
|
end
|
1637
1718
|
|
@@ -1656,6 +1737,7 @@ module Aws::LexModelBuildingService
|
|
1656
1737
|
#
|
1657
1738
|
class GetBuiltinIntentRequest < Struct.new(
|
1658
1739
|
:signature)
|
1740
|
+
SENSITIVE = []
|
1659
1741
|
include Aws::Structure
|
1660
1742
|
end
|
1661
1743
|
|
@@ -1678,6 +1760,7 @@ module Aws::LexModelBuildingService
|
|
1678
1760
|
:signature,
|
1679
1761
|
:supported_locales,
|
1680
1762
|
:slots)
|
1763
|
+
SENSITIVE = []
|
1681
1764
|
include Aws::Structure
|
1682
1765
|
end
|
1683
1766
|
|
@@ -1685,7 +1768,7 @@ module Aws::LexModelBuildingService
|
|
1685
1768
|
# data as a hash:
|
1686
1769
|
#
|
1687
1770
|
# {
|
1688
|
-
# locale: "en-US", # accepts en-US, en-GB, de-DE
|
1771
|
+
# locale: "en-US", # accepts en-US, en-GB, de-DE, en-AU
|
1689
1772
|
# signature_contains: "String",
|
1690
1773
|
# next_token: "NextToken",
|
1691
1774
|
# max_results: 1,
|
@@ -1726,6 +1809,7 @@ module Aws::LexModelBuildingService
|
|
1726
1809
|
:signature_contains,
|
1727
1810
|
:next_token,
|
1728
1811
|
:max_results)
|
1812
|
+
SENSITIVE = []
|
1729
1813
|
include Aws::Structure
|
1730
1814
|
end
|
1731
1815
|
|
@@ -1746,6 +1830,7 @@ module Aws::LexModelBuildingService
|
|
1746
1830
|
class GetBuiltinIntentsResponse < Struct.new(
|
1747
1831
|
:intents,
|
1748
1832
|
:next_token)
|
1833
|
+
SENSITIVE = []
|
1749
1834
|
include Aws::Structure
|
1750
1835
|
end
|
1751
1836
|
|
@@ -1753,7 +1838,7 @@ module Aws::LexModelBuildingService
|
|
1753
1838
|
# data as a hash:
|
1754
1839
|
#
|
1755
1840
|
# {
|
1756
|
-
# locale: "en-US", # accepts en-US, en-GB, de-DE
|
1841
|
+
# locale: "en-US", # accepts en-US, en-GB, de-DE, en-AU
|
1757
1842
|
# signature_contains: "String",
|
1758
1843
|
# next_token: "NextToken",
|
1759
1844
|
# max_results: 1,
|
@@ -1788,6 +1873,7 @@ module Aws::LexModelBuildingService
|
|
1788
1873
|
:signature_contains,
|
1789
1874
|
:next_token,
|
1790
1875
|
:max_results)
|
1876
|
+
SENSITIVE = []
|
1791
1877
|
include Aws::Structure
|
1792
1878
|
end
|
1793
1879
|
|
@@ -1807,6 +1893,7 @@ module Aws::LexModelBuildingService
|
|
1807
1893
|
class GetBuiltinSlotTypesResponse < Struct.new(
|
1808
1894
|
:slot_types,
|
1809
1895
|
:next_token)
|
1896
|
+
SENSITIVE = []
|
1810
1897
|
include Aws::Structure
|
1811
1898
|
end
|
1812
1899
|
|
@@ -1843,6 +1930,7 @@ module Aws::LexModelBuildingService
|
|
1843
1930
|
:version,
|
1844
1931
|
:resource_type,
|
1845
1932
|
:export_type)
|
1933
|
+
SENSITIVE = []
|
1846
1934
|
include Aws::Structure
|
1847
1935
|
end
|
1848
1936
|
|
@@ -1894,6 +1982,7 @@ module Aws::LexModelBuildingService
|
|
1894
1982
|
:export_status,
|
1895
1983
|
:failure_reason,
|
1896
1984
|
:url)
|
1985
|
+
SENSITIVE = []
|
1897
1986
|
include Aws::Structure
|
1898
1987
|
end
|
1899
1988
|
|
@@ -1912,6 +2001,7 @@ module Aws::LexModelBuildingService
|
|
1912
2001
|
#
|
1913
2002
|
class GetImportRequest < Struct.new(
|
1914
2003
|
:import_id)
|
2004
|
+
SENSITIVE = []
|
1915
2005
|
include Aws::Structure
|
1916
2006
|
end
|
1917
2007
|
|
@@ -1955,6 +2045,7 @@ module Aws::LexModelBuildingService
|
|
1955
2045
|
:import_status,
|
1956
2046
|
:failure_reason,
|
1957
2047
|
:created_date)
|
2048
|
+
SENSITIVE = []
|
1958
2049
|
include Aws::Structure
|
1959
2050
|
end
|
1960
2051
|
|
@@ -1979,6 +2070,7 @@ module Aws::LexModelBuildingService
|
|
1979
2070
|
class GetIntentRequest < Struct.new(
|
1980
2071
|
:name,
|
1981
2072
|
:version)
|
2073
|
+
SENSITIVE = []
|
1982
2074
|
include Aws::Structure
|
1983
2075
|
end
|
1984
2076
|
|
@@ -2053,6 +2145,11 @@ module Aws::LexModelBuildingService
|
|
2053
2145
|
# Checksum of the intent.
|
2054
2146
|
# @return [String]
|
2055
2147
|
#
|
2148
|
+
# @!attribute [rw] kendra_configuration
|
2149
|
+
# Configuration information, if any, to connect to an Amazon Kendra
|
2150
|
+
# index with the `AMAZON.KendraSearchIntent` intent.
|
2151
|
+
# @return [Types::KendraConfiguration]
|
2152
|
+
#
|
2056
2153
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentResponse AWS API Documentation
|
2057
2154
|
#
|
2058
2155
|
class GetIntentResponse < Struct.new(
|
@@ -2070,7 +2167,9 @@ module Aws::LexModelBuildingService
|
|
2070
2167
|
:last_updated_date,
|
2071
2168
|
:created_date,
|
2072
2169
|
:version,
|
2073
|
-
:checksum
|
2170
|
+
:checksum,
|
2171
|
+
:kendra_configuration)
|
2172
|
+
SENSITIVE = []
|
2074
2173
|
include Aws::Structure
|
2075
2174
|
end
|
2076
2175
|
|
@@ -2105,6 +2204,7 @@ module Aws::LexModelBuildingService
|
|
2105
2204
|
:name,
|
2106
2205
|
:next_token,
|
2107
2206
|
:max_results)
|
2207
|
+
SENSITIVE = []
|
2108
2208
|
include Aws::Structure
|
2109
2209
|
end
|
2110
2210
|
|
@@ -2125,6 +2225,7 @@ module Aws::LexModelBuildingService
|
|
2125
2225
|
class GetIntentVersionsResponse < Struct.new(
|
2126
2226
|
:intents,
|
2127
2227
|
:next_token)
|
2228
|
+
SENSITIVE = []
|
2128
2229
|
include Aws::Structure
|
2129
2230
|
end
|
2130
2231
|
|
@@ -2161,6 +2262,7 @@ module Aws::LexModelBuildingService
|
|
2161
2262
|
:next_token,
|
2162
2263
|
:max_results,
|
2163
2264
|
:name_contains)
|
2265
|
+
SENSITIVE = []
|
2164
2266
|
include Aws::Structure
|
2165
2267
|
end
|
2166
2268
|
|
@@ -2179,6 +2281,7 @@ module Aws::LexModelBuildingService
|
|
2179
2281
|
class GetIntentsResponse < Struct.new(
|
2180
2282
|
:intents,
|
2181
2283
|
:next_token)
|
2284
|
+
SENSITIVE = []
|
2182
2285
|
include Aws::Structure
|
2183
2286
|
end
|
2184
2287
|
|
@@ -2203,6 +2306,7 @@ module Aws::LexModelBuildingService
|
|
2203
2306
|
class GetSlotTypeRequest < Struct.new(
|
2204
2307
|
:name,
|
2205
2308
|
:version)
|
2309
|
+
SENSITIVE = []
|
2206
2310
|
include Aws::Structure
|
2207
2311
|
end
|
2208
2312
|
|
@@ -2263,6 +2367,7 @@ module Aws::LexModelBuildingService
|
|
2263
2367
|
:value_selection_strategy,
|
2264
2368
|
:parent_slot_type_signature,
|
2265
2369
|
:slot_type_configurations)
|
2370
|
+
SENSITIVE = []
|
2266
2371
|
include Aws::Structure
|
2267
2372
|
end
|
2268
2373
|
|
@@ -2297,6 +2402,7 @@ module Aws::LexModelBuildingService
|
|
2297
2402
|
:name,
|
2298
2403
|
:next_token,
|
2299
2404
|
:max_results)
|
2405
|
+
SENSITIVE = []
|
2300
2406
|
include Aws::Structure
|
2301
2407
|
end
|
2302
2408
|
|
@@ -2317,6 +2423,7 @@ module Aws::LexModelBuildingService
|
|
2317
2423
|
class GetSlotTypeVersionsResponse < Struct.new(
|
2318
2424
|
:slot_types,
|
2319
2425
|
:next_token)
|
2426
|
+
SENSITIVE = []
|
2320
2427
|
include Aws::Structure
|
2321
2428
|
end
|
2322
2429
|
|
@@ -2353,6 +2460,7 @@ module Aws::LexModelBuildingService
|
|
2353
2460
|
:next_token,
|
2354
2461
|
:max_results,
|
2355
2462
|
:name_contains)
|
2463
|
+
SENSITIVE = []
|
2356
2464
|
include Aws::Structure
|
2357
2465
|
end
|
2358
2466
|
|
@@ -2373,6 +2481,7 @@ module Aws::LexModelBuildingService
|
|
2373
2481
|
class GetSlotTypesResponse < Struct.new(
|
2374
2482
|
:slot_types,
|
2375
2483
|
:next_token)
|
2484
|
+
SENSITIVE = []
|
2376
2485
|
include Aws::Structure
|
2377
2486
|
end
|
2378
2487
|
|
@@ -2407,6 +2516,7 @@ module Aws::LexModelBuildingService
|
|
2407
2516
|
:bot_name,
|
2408
2517
|
:bot_versions,
|
2409
2518
|
:status_type)
|
2519
|
+
SENSITIVE = []
|
2410
2520
|
include Aws::Structure
|
2411
2521
|
end
|
2412
2522
|
|
@@ -2427,6 +2537,7 @@ module Aws::LexModelBuildingService
|
|
2427
2537
|
class GetUtterancesViewResponse < Struct.new(
|
2428
2538
|
:bot_name,
|
2429
2539
|
:utterances)
|
2540
|
+
SENSITIVE = []
|
2430
2541
|
include Aws::Structure
|
2431
2542
|
end
|
2432
2543
|
|
@@ -2453,6 +2564,7 @@ module Aws::LexModelBuildingService
|
|
2453
2564
|
class Intent < Struct.new(
|
2454
2565
|
:intent_name,
|
2455
2566
|
:intent_version)
|
2567
|
+
SENSITIVE = []
|
2456
2568
|
include Aws::Structure
|
2457
2569
|
end
|
2458
2570
|
|
@@ -2487,6 +2599,7 @@ module Aws::LexModelBuildingService
|
|
2487
2599
|
:last_updated_date,
|
2488
2600
|
:created_date,
|
2489
2601
|
:version)
|
2602
|
+
SENSITIVE = []
|
2490
2603
|
include Aws::Structure
|
2491
2604
|
end
|
2492
2605
|
|
@@ -2499,6 +2612,64 @@ module Aws::LexModelBuildingService
|
|
2499
2612
|
#
|
2500
2613
|
class InternalFailureException < Struct.new(
|
2501
2614
|
:message)
|
2615
|
+
SENSITIVE = []
|
2616
|
+
include Aws::Structure
|
2617
|
+
end
|
2618
|
+
|
2619
|
+
# Provides configuration information for the AMAZON.KendraSearchIntent
|
2620
|
+
# intent. When you use this intent, Amazon Lex searches the specified
|
2621
|
+
# Amazon Kendra index and returns documents from the index that match
|
2622
|
+
# the user's utterance. For more information, see [
|
2623
|
+
# AMAZON.KendraSearchIntent][1].
|
2624
|
+
#
|
2625
|
+
#
|
2626
|
+
#
|
2627
|
+
# [1]: http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html
|
2628
|
+
#
|
2629
|
+
# @note When making an API call, you may pass KendraConfiguration
|
2630
|
+
# data as a hash:
|
2631
|
+
#
|
2632
|
+
# {
|
2633
|
+
# kendra_index: "KendraIndexArn", # required
|
2634
|
+
# query_filter_string: "QueryFilterString",
|
2635
|
+
# role: "roleArn", # required
|
2636
|
+
# }
|
2637
|
+
#
|
2638
|
+
# @!attribute [rw] kendra_index
|
2639
|
+
# The Amazon Resource Name (ARN) of the Amazon Kendra index that you
|
2640
|
+
# want the AMAZON.KendraSearchIntent intent to search. The index must
|
2641
|
+
# be in the same account and Region as the Amazon Lex bot. If the
|
2642
|
+
# Amazon Kendra index does not exist, you get an exception when you
|
2643
|
+
# call the `PutIntent` operation.
|
2644
|
+
# @return [String]
|
2645
|
+
#
|
2646
|
+
# @!attribute [rw] query_filter_string
|
2647
|
+
# A query filter that Amazon Lex sends to Amazon Kendra to filter the
|
2648
|
+
# response from the query. The filter is in the format defined by
|
2649
|
+
# Amazon Kendra. For more information, see [Filtering queries][1].
|
2650
|
+
#
|
2651
|
+
# You can override this filter string with a new filter string at
|
2652
|
+
# runtime.
|
2653
|
+
#
|
2654
|
+
#
|
2655
|
+
#
|
2656
|
+
# [1]: http://docs.aws.amazon.com/kendra/latest/dg/filtering.html
|
2657
|
+
# @return [String]
|
2658
|
+
#
|
2659
|
+
# @!attribute [rw] role
|
2660
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permission to
|
2661
|
+
# search the Amazon Kendra index. The role must be in the same account
|
2662
|
+
# and Region as the Amazon Lex bot. If the role does not exist, you
|
2663
|
+
# get an exception when you call the `PutIntent` operation.
|
2664
|
+
# @return [String]
|
2665
|
+
#
|
2666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/KendraConfiguration AWS API Documentation
|
2667
|
+
#
|
2668
|
+
class KendraConfiguration < Struct.new(
|
2669
|
+
:kendra_index,
|
2670
|
+
:query_filter_string,
|
2671
|
+
:role)
|
2672
|
+
SENSITIVE = []
|
2502
2673
|
include Aws::Structure
|
2503
2674
|
end
|
2504
2675
|
|
@@ -2515,6 +2686,7 @@ module Aws::LexModelBuildingService
|
|
2515
2686
|
class LimitExceededException < Struct.new(
|
2516
2687
|
:retry_after_seconds,
|
2517
2688
|
:message)
|
2689
|
+
SENSITIVE = []
|
2518
2690
|
include Aws::Structure
|
2519
2691
|
end
|
2520
2692
|
|
@@ -2534,6 +2706,7 @@ module Aws::LexModelBuildingService
|
|
2534
2706
|
#
|
2535
2707
|
class ListTagsForResourceRequest < Struct.new(
|
2536
2708
|
:resource_arn)
|
2709
|
+
SENSITIVE = []
|
2537
2710
|
include Aws::Structure
|
2538
2711
|
end
|
2539
2712
|
|
@@ -2545,6 +2718,7 @@ module Aws::LexModelBuildingService
|
|
2545
2718
|
#
|
2546
2719
|
class ListTagsForResourceResponse < Struct.new(
|
2547
2720
|
:tags)
|
2721
|
+
SENSITIVE = []
|
2548
2722
|
include Aws::Structure
|
2549
2723
|
end
|
2550
2724
|
|
@@ -2589,6 +2763,7 @@ module Aws::LexModelBuildingService
|
|
2589
2763
|
:destination,
|
2590
2764
|
:kms_key_arn,
|
2591
2765
|
:resource_arn)
|
2766
|
+
SENSITIVE = []
|
2592
2767
|
include Aws::Structure
|
2593
2768
|
end
|
2594
2769
|
|
@@ -2627,6 +2802,7 @@ module Aws::LexModelBuildingService
|
|
2627
2802
|
:kms_key_arn,
|
2628
2803
|
:resource_arn,
|
2629
2804
|
:resource_prefix)
|
2805
|
+
SENSITIVE = []
|
2630
2806
|
include Aws::Structure
|
2631
2807
|
end
|
2632
2808
|
|
@@ -2661,6 +2837,7 @@ module Aws::LexModelBuildingService
|
|
2661
2837
|
:content_type,
|
2662
2838
|
:content,
|
2663
2839
|
:group_number)
|
2840
|
+
SENSITIVE = []
|
2664
2841
|
include Aws::Structure
|
2665
2842
|
end
|
2666
2843
|
|
@@ -2674,6 +2851,7 @@ module Aws::LexModelBuildingService
|
|
2674
2851
|
#
|
2675
2852
|
class NotFoundException < Struct.new(
|
2676
2853
|
:message)
|
2854
|
+
SENSITIVE = []
|
2677
2855
|
include Aws::Structure
|
2678
2856
|
end
|
2679
2857
|
|
@@ -2688,6 +2866,7 @@ module Aws::LexModelBuildingService
|
|
2688
2866
|
#
|
2689
2867
|
class PreconditionFailedException < Struct.new(
|
2690
2868
|
:message)
|
2869
|
+
SENSITIVE = []
|
2691
2870
|
include Aws::Structure
|
2692
2871
|
end
|
2693
2872
|
|
@@ -2735,6 +2914,7 @@ module Aws::LexModelBuildingService
|
|
2735
2914
|
:messages,
|
2736
2915
|
:max_attempts,
|
2737
2916
|
:response_card)
|
2917
|
+
SENSITIVE = []
|
2738
2918
|
include Aws::Structure
|
2739
2919
|
end
|
2740
2920
|
|
@@ -2816,6 +2996,7 @@ module Aws::LexModelBuildingService
|
|
2816
2996
|
:checksum,
|
2817
2997
|
:conversation_logs,
|
2818
2998
|
:tags)
|
2999
|
+
SENSITIVE = []
|
2819
3000
|
include Aws::Structure
|
2820
3001
|
end
|
2821
3002
|
|
@@ -2869,6 +3050,7 @@ module Aws::LexModelBuildingService
|
|
2869
3050
|
:checksum,
|
2870
3051
|
:conversation_logs,
|
2871
3052
|
:tags)
|
3053
|
+
SENSITIVE = []
|
2872
3054
|
include Aws::Structure
|
2873
3055
|
end
|
2874
3056
|
|
@@ -2884,6 +3066,8 @@ module Aws::LexModelBuildingService
|
|
2884
3066
|
# intent_version: "Version", # required
|
2885
3067
|
# },
|
2886
3068
|
# ],
|
3069
|
+
# enable_model_improvements: false,
|
3070
|
+
# nlu_intent_confidence_threshold: 1.0,
|
2887
3071
|
# clarification_prompt: {
|
2888
3072
|
# messages: [ # required
|
2889
3073
|
# {
|
@@ -2909,7 +3093,7 @@ module Aws::LexModelBuildingService
|
|
2909
3093
|
# voice_id: "String",
|
2910
3094
|
# checksum: "String",
|
2911
3095
|
# process_behavior: "SAVE", # accepts SAVE, BUILD
|
2912
|
-
# locale: "en-US", # required, accepts en-US, en-GB, de-DE
|
3096
|
+
# locale: "en-US", # required, accepts en-US, en-GB, de-DE, en-AU
|
2913
3097
|
# child_directed: false, # required
|
2914
3098
|
# detect_sentiment: false,
|
2915
3099
|
# create_version: false,
|
@@ -2935,6 +3119,87 @@ module Aws::LexModelBuildingService
|
|
2935
3119
|
# an OrderPizza intent. For more information, see how-it-works.
|
2936
3120
|
# @return [Array<Types::Intent>]
|
2937
3121
|
#
|
3122
|
+
# @!attribute [rw] enable_model_improvements
|
3123
|
+
# Set to `true` to enable access to natural language understanding
|
3124
|
+
# improvements.
|
3125
|
+
#
|
3126
|
+
# When you set the `enableModelImprovements` parameter to `true` you
|
3127
|
+
# can use the `nluIntentConfidenceThreshold` parameter to configure
|
3128
|
+
# confidence scores. For more information, see [Confidence Scores][1].
|
3129
|
+
#
|
3130
|
+
# You can only set the `enableModelImprovements` parameter in certain
|
3131
|
+
# Regions. If you set the parameter to `true`, your bot has access to
|
3132
|
+
# accuracy improvements.
|
3133
|
+
#
|
3134
|
+
# The Regions where you can set the `enableModelImprovements`
|
3135
|
+
# parameter to `true` are:
|
3136
|
+
#
|
3137
|
+
# * US East (N. Virginia) (us-east-1)
|
3138
|
+
#
|
3139
|
+
# * US West (Oregon) (us-west-2)
|
3140
|
+
#
|
3141
|
+
# * Asia Pacific (Sydney) (ap-southeast-2)
|
3142
|
+
#
|
3143
|
+
# * EU (Ireland) (eu-west-1)
|
3144
|
+
#
|
3145
|
+
# In other Regions, the `enableModelImprovements` parameter is set to
|
3146
|
+
# `true` by default. In these Regions setting the parameter to `false`
|
3147
|
+
# throws a `ValidationException` exception.
|
3148
|
+
#
|
3149
|
+
# * Asia Pacific (Singapore) (ap-southeast-1)
|
3150
|
+
#
|
3151
|
+
# * Asia Pacific (Tokyo) (ap-northeast-1)
|
3152
|
+
#
|
3153
|
+
# * EU (Frankfurt) (eu-central-1)
|
3154
|
+
#
|
3155
|
+
# * EU (London) (eu-west-2)
|
3156
|
+
#
|
3157
|
+
#
|
3158
|
+
#
|
3159
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html
|
3160
|
+
# @return [Boolean]
|
3161
|
+
#
|
3162
|
+
# @!attribute [rw] nlu_intent_confidence_threshold
|
3163
|
+
# Determines the threshold where Amazon Lex will insert the
|
3164
|
+
# `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
|
3165
|
+
# returning alternative intents in a [PostContent][1] or [PostText][2]
|
3166
|
+
# response. `AMAZON.FallbackIntent` and `AMAZON.KendraSearchIntent`
|
3167
|
+
# are only inserted if they are configured for the bot.
|
3168
|
+
#
|
3169
|
+
# You must set the `enableModelImprovements` parameter to `true` to
|
3170
|
+
# use confidence scores.
|
3171
|
+
#
|
3172
|
+
# * US East (N. Virginia) (us-east-1)
|
3173
|
+
#
|
3174
|
+
# * US West (Oregon) (us-west-2)
|
3175
|
+
#
|
3176
|
+
# * Asia Pacific (Sydney) (ap-southeast-2)
|
3177
|
+
#
|
3178
|
+
# * EU (Ireland) (eu-west-1)
|
3179
|
+
#
|
3180
|
+
# In other Regions, the `enableModelImprovements` parameter is set to
|
3181
|
+
# `true` by default.
|
3182
|
+
#
|
3183
|
+
# For example, suppose a bot is configured with the confidence
|
3184
|
+
# threshold of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex
|
3185
|
+
# returns three alternative intents with the following confidence
|
3186
|
+
# scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response
|
3187
|
+
# from the `PostText` operation would be:
|
3188
|
+
#
|
3189
|
+
# * AMAZON.FallbackIntent
|
3190
|
+
#
|
3191
|
+
# * IntentA
|
3192
|
+
#
|
3193
|
+
# * IntentB
|
3194
|
+
#
|
3195
|
+
# * IntentC
|
3196
|
+
#
|
3197
|
+
#
|
3198
|
+
#
|
3199
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
3200
|
+
# [2]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
3201
|
+
# @return [Float]
|
3202
|
+
#
|
2938
3203
|
# @!attribute [rw] clarification_prompt
|
2939
3204
|
# When Amazon Lex doesn't understand the user's intent, it uses this
|
2940
3205
|
# message to get clarification. To specify how many times Amazon Lex
|
@@ -2982,7 +3247,7 @@ module Aws::LexModelBuildingService
|
|
2982
3247
|
# When Amazon Lex can't understand the user's input in context, it
|
2983
3248
|
# tries to elicit the information a few times. After that, Amazon Lex
|
2984
3249
|
# sends the message defined in `abortStatement` to the user, and then
|
2985
|
-
#
|
3250
|
+
# cancels the conversation. To set the number of retries, use the
|
2986
3251
|
# `valueElicitationPrompt` field for the slot type.
|
2987
3252
|
#
|
2988
3253
|
# For example, in a pizza ordering bot, Amazon Lex might ask a user
|
@@ -2996,7 +3261,7 @@ module Aws::LexModelBuildingService
|
|
2996
3261
|
# You specify the `valueElicitationPrompt` field when you create the
|
2997
3262
|
# `CrustType` slot.
|
2998
3263
|
#
|
2999
|
-
# If you have defined a fallback intent the
|
3264
|
+
# If you have defined a fallback intent the cancel statement will not
|
3000
3265
|
# be sent to the user, the fallback intent is used instead. For more
|
3001
3266
|
# information, see [ AMAZON.FallbackIntent][1].
|
3002
3267
|
#
|
@@ -3122,6 +3387,8 @@ module Aws::LexModelBuildingService
|
|
3122
3387
|
:name,
|
3123
3388
|
:description,
|
3124
3389
|
:intents,
|
3390
|
+
:enable_model_improvements,
|
3391
|
+
:nlu_intent_confidence_threshold,
|
3125
3392
|
:clarification_prompt,
|
3126
3393
|
:abort_statement,
|
3127
3394
|
:idle_session_ttl_in_seconds,
|
@@ -3133,6 +3400,7 @@ module Aws::LexModelBuildingService
|
|
3133
3400
|
:detect_sentiment,
|
3134
3401
|
:create_version,
|
3135
3402
|
:tags)
|
3403
|
+
SENSITIVE = []
|
3136
3404
|
include Aws::Structure
|
3137
3405
|
end
|
3138
3406
|
|
@@ -3148,13 +3416,34 @@ module Aws::LexModelBuildingService
|
|
3148
3416
|
# An array of `Intent` objects. For more information, see PutBot.
|
3149
3417
|
# @return [Array<Types::Intent>]
|
3150
3418
|
#
|
3419
|
+
# @!attribute [rw] enable_model_improvements
|
3420
|
+
# Indicates whether the bot uses accuracy improvements. `true`
|
3421
|
+
# indicates that the bot is using the imoprovements, otherwise,
|
3422
|
+
# `false`.
|
3423
|
+
# @return [Boolean]
|
3424
|
+
#
|
3425
|
+
# @!attribute [rw] nlu_intent_confidence_threshold
|
3426
|
+
# The score that determines where Amazon Lex inserts the
|
3427
|
+
# `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
|
3428
|
+
# returning alternative intents in a [PostContent][1] or [PostText][2]
|
3429
|
+
# response. `AMAZON.FallbackIntent` is inserted if the confidence
|
3430
|
+
# score for all intents is below this value.
|
3431
|
+
# `AMAZON.KendraSearchIntent` is only inserted if it is configured for
|
3432
|
+
# the bot.
|
3433
|
+
#
|
3434
|
+
#
|
3435
|
+
#
|
3436
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
3437
|
+
# [2]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
3438
|
+
# @return [Float]
|
3439
|
+
#
|
3151
3440
|
# @!attribute [rw] clarification_prompt
|
3152
3441
|
# The prompts that Amazon Lex uses when it doesn't understand the
|
3153
3442
|
# user's intent. For more information, see PutBot.
|
3154
3443
|
# @return [Types::Prompt]
|
3155
3444
|
#
|
3156
3445
|
# @!attribute [rw] abort_statement
|
3157
|
-
# The message that Amazon Lex uses to
|
3446
|
+
# The message that Amazon Lex uses to cancel a conversation. For more
|
3158
3447
|
# information, see PutBot.
|
3159
3448
|
# @return [Types::Statement]
|
3160
3449
|
#
|
@@ -3271,6 +3560,8 @@ module Aws::LexModelBuildingService
|
|
3271
3560
|
:name,
|
3272
3561
|
:description,
|
3273
3562
|
:intents,
|
3563
|
+
:enable_model_improvements,
|
3564
|
+
:nlu_intent_confidence_threshold,
|
3274
3565
|
:clarification_prompt,
|
3275
3566
|
:abort_statement,
|
3276
3567
|
:status,
|
@@ -3286,6 +3577,7 @@ module Aws::LexModelBuildingService
|
|
3286
3577
|
:create_version,
|
3287
3578
|
:detect_sentiment,
|
3288
3579
|
:tags)
|
3580
|
+
SENSITIVE = []
|
3289
3581
|
include Aws::Structure
|
3290
3582
|
end
|
3291
3583
|
|
@@ -3388,6 +3680,11 @@ module Aws::LexModelBuildingService
|
|
3388
3680
|
# parent_intent_signature: "BuiltinIntentSignature",
|
3389
3681
|
# checksum: "String",
|
3390
3682
|
# create_version: false,
|
3683
|
+
# kendra_configuration: {
|
3684
|
+
# kendra_index: "KendraIndexArn", # required
|
3685
|
+
# query_filter_string: "QueryFilterString",
|
3686
|
+
# role: "roleArn", # required
|
3687
|
+
# },
|
3391
3688
|
# }
|
3392
3689
|
#
|
3393
3690
|
# @!attribute [rw] name
|
@@ -3543,6 +3840,16 @@ module Aws::LexModelBuildingService
|
|
3543
3840
|
# you do not specify `createVersion`, the default is `false`.
|
3544
3841
|
# @return [Boolean]
|
3545
3842
|
#
|
3843
|
+
# @!attribute [rw] kendra_configuration
|
3844
|
+
# Configuration information required to use the
|
3845
|
+
# `AMAZON.KendraSearchIntent` intent to connect to an Amazon Kendra
|
3846
|
+
# index. For more information, see [ AMAZON.KendraSearchIntent][1].
|
3847
|
+
#
|
3848
|
+
#
|
3849
|
+
#
|
3850
|
+
# [1]: http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html
|
3851
|
+
# @return [Types::KendraConfiguration]
|
3852
|
+
#
|
3546
3853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentRequest AWS API Documentation
|
3547
3854
|
#
|
3548
3855
|
class PutIntentRequest < Struct.new(
|
@@ -3558,7 +3865,9 @@ module Aws::LexModelBuildingService
|
|
3558
3865
|
:fulfillment_activity,
|
3559
3866
|
:parent_intent_signature,
|
3560
3867
|
:checksum,
|
3561
|
-
:create_version
|
3868
|
+
:create_version,
|
3869
|
+
:kendra_configuration)
|
3870
|
+
SENSITIVE = []
|
3562
3871
|
include Aws::Structure
|
3563
3872
|
end
|
3564
3873
|
|
@@ -3640,6 +3949,11 @@ module Aws::LexModelBuildingService
|
|
3640
3949
|
# `createVersion` field is set to false in the response.
|
3641
3950
|
# @return [Boolean]
|
3642
3951
|
#
|
3952
|
+
# @!attribute [rw] kendra_configuration
|
3953
|
+
# Configuration information, if any, required to connect to an Amazon
|
3954
|
+
# Kendra index and use the `AMAZON.KendraSearchIntent` intent.
|
3955
|
+
# @return [Types::KendraConfiguration]
|
3956
|
+
#
|
3643
3957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentResponse AWS API Documentation
|
3644
3958
|
#
|
3645
3959
|
class PutIntentResponse < Struct.new(
|
@@ -3658,7 +3972,9 @@ module Aws::LexModelBuildingService
|
|
3658
3972
|
:created_date,
|
3659
3973
|
:version,
|
3660
3974
|
:checksum,
|
3661
|
-
:create_version
|
3975
|
+
:create_version,
|
3976
|
+
:kendra_configuration)
|
3977
|
+
SENSITIVE = []
|
3662
3978
|
include Aws::Structure
|
3663
3979
|
end
|
3664
3980
|
|
@@ -3713,6 +4029,9 @@ module Aws::LexModelBuildingService
|
|
3713
4029
|
# which are additional values that help train the machine learning
|
3714
4030
|
# model about the values that it resolves for a slot.
|
3715
4031
|
#
|
4032
|
+
# A regular expression slot type doesn't require enumeration values.
|
4033
|
+
# All other slot types require a list of enumeration values.
|
4034
|
+
#
|
3716
4035
|
# When Amazon Lex resolves a slot value, it generates a resolution
|
3717
4036
|
# list that contains up to five possible values for the slot. If you
|
3718
4037
|
# are using a Lambda function, this resolution list is passed to the
|
@@ -3783,6 +4102,7 @@ module Aws::LexModelBuildingService
|
|
3783
4102
|
:create_version,
|
3784
4103
|
:parent_slot_type_signature,
|
3785
4104
|
:slot_type_configurations)
|
4105
|
+
SENSITIVE = []
|
3786
4106
|
include Aws::Structure
|
3787
4107
|
end
|
3788
4108
|
|
@@ -3851,6 +4171,7 @@ module Aws::LexModelBuildingService
|
|
3851
4171
|
:create_version,
|
3852
4172
|
:parent_slot_type_signature,
|
3853
4173
|
:slot_type_configurations)
|
4174
|
+
SENSITIVE = []
|
3854
4175
|
include Aws::Structure
|
3855
4176
|
end
|
3856
4177
|
|
@@ -3881,6 +4202,7 @@ module Aws::LexModelBuildingService
|
|
3881
4202
|
class ResourceInUseException < Struct.new(
|
3882
4203
|
:reference_type,
|
3883
4204
|
:example_reference)
|
4205
|
+
SENSITIVE = []
|
3884
4206
|
include Aws::Structure
|
3885
4207
|
end
|
3886
4208
|
|
@@ -3903,6 +4225,7 @@ module Aws::LexModelBuildingService
|
|
3903
4225
|
class ResourceReference < Struct.new(
|
3904
4226
|
:name,
|
3905
4227
|
:version)
|
4228
|
+
SENSITIVE = []
|
3906
4229
|
include Aws::Structure
|
3907
4230
|
end
|
3908
4231
|
|
@@ -3961,12 +4284,13 @@ module Aws::LexModelBuildingService
|
|
3961
4284
|
# @return [Types::Prompt]
|
3962
4285
|
#
|
3963
4286
|
# @!attribute [rw] priority
|
3964
|
-
# Directs Lex the order in which to elicit this slot value from
|
3965
|
-
# user. For example, if the intent has two slots with priorities 1
|
3966
|
-
# 2, AWS Lex first elicits a value for the slot with
|
4287
|
+
# Directs Amazon Lex the order in which to elicit this slot value from
|
4288
|
+
# the user. For example, if the intent has two slots with priorities 1
|
4289
|
+
# and 2, AWS Amazon Lex first elicits a value for the slot with
|
4290
|
+
# priority 1.
|
3967
4291
|
#
|
3968
|
-
# If multiple slots share the same priority, the order in which
|
3969
|
-
# elicits values is arbitrary.
|
4292
|
+
# If multiple slots share the same priority, the order in which Amazon
|
4293
|
+
# Lex elicits values is arbitrary.
|
3970
4294
|
# @return [Integer]
|
3971
4295
|
#
|
3972
4296
|
# @!attribute [rw] sample_utterances
|
@@ -4008,6 +4332,7 @@ module Aws::LexModelBuildingService
|
|
4008
4332
|
:sample_utterances,
|
4009
4333
|
:response_card,
|
4010
4334
|
:obfuscation_setting)
|
4335
|
+
SENSITIVE = []
|
4011
4336
|
include Aws::Structure
|
4012
4337
|
end
|
4013
4338
|
|
@@ -4030,6 +4355,7 @@ module Aws::LexModelBuildingService
|
|
4030
4355
|
#
|
4031
4356
|
class SlotTypeConfiguration < Struct.new(
|
4032
4357
|
:regex_configuration)
|
4358
|
+
SENSITIVE = []
|
4033
4359
|
include Aws::Structure
|
4034
4360
|
end
|
4035
4361
|
|
@@ -4064,6 +4390,7 @@ module Aws::LexModelBuildingService
|
|
4064
4390
|
:last_updated_date,
|
4065
4391
|
:created_date,
|
4066
4392
|
:version)
|
4393
|
+
SENSITIVE = []
|
4067
4394
|
include Aws::Structure
|
4068
4395
|
end
|
4069
4396
|
|
@@ -4102,6 +4429,7 @@ module Aws::LexModelBuildingService
|
|
4102
4429
|
#
|
4103
4430
|
class SlotTypeRegexConfiguration < Struct.new(
|
4104
4431
|
:pattern)
|
4432
|
+
SENSITIVE = []
|
4105
4433
|
include Aws::Structure
|
4106
4434
|
end
|
4107
4435
|
|
@@ -4164,6 +4492,7 @@ module Aws::LexModelBuildingService
|
|
4164
4492
|
:resource_type,
|
4165
4493
|
:merge_strategy,
|
4166
4494
|
:tags)
|
4495
|
+
SENSITIVE = []
|
4167
4496
|
include Aws::Structure
|
4168
4497
|
end
|
4169
4498
|
|
@@ -4206,6 +4535,7 @@ module Aws::LexModelBuildingService
|
|
4206
4535
|
:import_status,
|
4207
4536
|
:tags,
|
4208
4537
|
:created_date)
|
4538
|
+
SENSITIVE = []
|
4209
4539
|
include Aws::Structure
|
4210
4540
|
end
|
4211
4541
|
|
@@ -4246,6 +4576,7 @@ module Aws::LexModelBuildingService
|
|
4246
4576
|
class Statement < Struct.new(
|
4247
4577
|
:messages,
|
4248
4578
|
:response_card)
|
4579
|
+
SENSITIVE = []
|
4249
4580
|
include Aws::Structure
|
4250
4581
|
end
|
4251
4582
|
|
@@ -4275,6 +4606,7 @@ module Aws::LexModelBuildingService
|
|
4275
4606
|
class Tag < Struct.new(
|
4276
4607
|
:key,
|
4277
4608
|
:value)
|
4609
|
+
SENSITIVE = []
|
4278
4610
|
include Aws::Structure
|
4279
4611
|
end
|
4280
4612
|
|
@@ -4306,6 +4638,7 @@ module Aws::LexModelBuildingService
|
|
4306
4638
|
class TagResourceRequest < Struct.new(
|
4307
4639
|
:resource_arn,
|
4308
4640
|
:tags)
|
4641
|
+
SENSITIVE = []
|
4309
4642
|
include Aws::Structure
|
4310
4643
|
end
|
4311
4644
|
|
@@ -4336,6 +4669,7 @@ module Aws::LexModelBuildingService
|
|
4336
4669
|
class UntagResourceRequest < Struct.new(
|
4337
4670
|
:resource_arn,
|
4338
4671
|
:tag_keys)
|
4672
|
+
SENSITIVE = []
|
4339
4673
|
include Aws::Structure
|
4340
4674
|
end
|
4341
4675
|
|
@@ -4375,6 +4709,7 @@ module Aws::LexModelBuildingService
|
|
4375
4709
|
:distinct_users,
|
4376
4710
|
:first_uttered_date,
|
4377
4711
|
:last_uttered_date)
|
4712
|
+
SENSITIVE = []
|
4378
4713
|
include Aws::Structure
|
4379
4714
|
end
|
4380
4715
|
|
@@ -4396,6 +4731,7 @@ module Aws::LexModelBuildingService
|
|
4396
4731
|
class UtteranceList < Struct.new(
|
4397
4732
|
:bot_version,
|
4398
4733
|
:utterances)
|
4734
|
+
SENSITIVE = []
|
4399
4735
|
include Aws::Structure
|
4400
4736
|
end
|
4401
4737
|
|