aws-sdk-lexmodelbuildingservice 1.28.0 → 1.34.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 +3 -1
- data/lib/aws-sdk-lexmodelbuildingservice/client.rb +140 -8
- 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 +3 -7
- data/lib/aws-sdk-lexmodelbuildingservice/types.rb +330 -9
- metadata +6 -5
@@ -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:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::LexModelBuildingService
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::LexModelBuildingService::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::LexModelBuildingService::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::LexModelBuildingService::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -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
|
|
@@ -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 the new natural language
|
497
|
+
# understanding (NLU) model or the original NLU. True indicates that
|
498
|
+
# the bot is using the new model, otherwise, 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,25 @@ 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 the new natural language
|
1461
|
+
# understanding (NLU) model or the original NLU. True indicates that
|
1462
|
+
# the bot is using the new model, otherwise, 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` and `AMAZON.KendraSearchIntent`
|
1470
|
+
# are only inserted if they are configured for the bot.
|
1471
|
+
#
|
1472
|
+
#
|
1473
|
+
#
|
1474
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
1475
|
+
# [2]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
1476
|
+
# @return [Float]
|
1477
|
+
#
|
1406
1478
|
# @!attribute [rw] clarification_prompt
|
1407
1479
|
# The message Amazon Lex uses when it doesn't understand the user's
|
1408
1480
|
# request. For more information, see PutBot.
|
@@ -1512,6 +1584,8 @@ module Aws::LexModelBuildingService
|
|
1512
1584
|
:name,
|
1513
1585
|
:description,
|
1514
1586
|
:intents,
|
1587
|
+
:enable_model_improvements,
|
1588
|
+
:nlu_intent_confidence_threshold,
|
1515
1589
|
:clarification_prompt,
|
1516
1590
|
:abort_statement,
|
1517
1591
|
:status,
|
@@ -1525,6 +1599,7 @@ module Aws::LexModelBuildingService
|
|
1525
1599
|
:locale,
|
1526
1600
|
:child_directed,
|
1527
1601
|
:detect_sentiment)
|
1602
|
+
SENSITIVE = []
|
1528
1603
|
include Aws::Structure
|
1529
1604
|
end
|
1530
1605
|
|
@@ -1559,6 +1634,7 @@ module Aws::LexModelBuildingService
|
|
1559
1634
|
:name,
|
1560
1635
|
:next_token,
|
1561
1636
|
:max_results)
|
1637
|
+
SENSITIVE = []
|
1562
1638
|
include Aws::Structure
|
1563
1639
|
end
|
1564
1640
|
|
@@ -1579,6 +1655,7 @@ module Aws::LexModelBuildingService
|
|
1579
1655
|
class GetBotVersionsResponse < Struct.new(
|
1580
1656
|
:bots,
|
1581
1657
|
:next_token)
|
1658
|
+
SENSITIVE = []
|
1582
1659
|
include Aws::Structure
|
1583
1660
|
end
|
1584
1661
|
|
@@ -1615,6 +1692,7 @@ module Aws::LexModelBuildingService
|
|
1615
1692
|
:next_token,
|
1616
1693
|
:max_results,
|
1617
1694
|
:name_contains)
|
1695
|
+
SENSITIVE = []
|
1618
1696
|
include Aws::Structure
|
1619
1697
|
end
|
1620
1698
|
|
@@ -1632,6 +1710,7 @@ module Aws::LexModelBuildingService
|
|
1632
1710
|
class GetBotsResponse < Struct.new(
|
1633
1711
|
:bots,
|
1634
1712
|
:next_token)
|
1713
|
+
SENSITIVE = []
|
1635
1714
|
include Aws::Structure
|
1636
1715
|
end
|
1637
1716
|
|
@@ -1656,6 +1735,7 @@ module Aws::LexModelBuildingService
|
|
1656
1735
|
#
|
1657
1736
|
class GetBuiltinIntentRequest < Struct.new(
|
1658
1737
|
:signature)
|
1738
|
+
SENSITIVE = []
|
1659
1739
|
include Aws::Structure
|
1660
1740
|
end
|
1661
1741
|
|
@@ -1678,6 +1758,7 @@ module Aws::LexModelBuildingService
|
|
1678
1758
|
:signature,
|
1679
1759
|
:supported_locales,
|
1680
1760
|
:slots)
|
1761
|
+
SENSITIVE = []
|
1681
1762
|
include Aws::Structure
|
1682
1763
|
end
|
1683
1764
|
|
@@ -1726,6 +1807,7 @@ module Aws::LexModelBuildingService
|
|
1726
1807
|
:signature_contains,
|
1727
1808
|
:next_token,
|
1728
1809
|
:max_results)
|
1810
|
+
SENSITIVE = []
|
1729
1811
|
include Aws::Structure
|
1730
1812
|
end
|
1731
1813
|
|
@@ -1746,6 +1828,7 @@ module Aws::LexModelBuildingService
|
|
1746
1828
|
class GetBuiltinIntentsResponse < Struct.new(
|
1747
1829
|
:intents,
|
1748
1830
|
:next_token)
|
1831
|
+
SENSITIVE = []
|
1749
1832
|
include Aws::Structure
|
1750
1833
|
end
|
1751
1834
|
|
@@ -1788,6 +1871,7 @@ module Aws::LexModelBuildingService
|
|
1788
1871
|
:signature_contains,
|
1789
1872
|
:next_token,
|
1790
1873
|
:max_results)
|
1874
|
+
SENSITIVE = []
|
1791
1875
|
include Aws::Structure
|
1792
1876
|
end
|
1793
1877
|
|
@@ -1807,6 +1891,7 @@ module Aws::LexModelBuildingService
|
|
1807
1891
|
class GetBuiltinSlotTypesResponse < Struct.new(
|
1808
1892
|
:slot_types,
|
1809
1893
|
:next_token)
|
1894
|
+
SENSITIVE = []
|
1810
1895
|
include Aws::Structure
|
1811
1896
|
end
|
1812
1897
|
|
@@ -1843,6 +1928,7 @@ module Aws::LexModelBuildingService
|
|
1843
1928
|
:version,
|
1844
1929
|
:resource_type,
|
1845
1930
|
:export_type)
|
1931
|
+
SENSITIVE = []
|
1846
1932
|
include Aws::Structure
|
1847
1933
|
end
|
1848
1934
|
|
@@ -1894,6 +1980,7 @@ module Aws::LexModelBuildingService
|
|
1894
1980
|
:export_status,
|
1895
1981
|
:failure_reason,
|
1896
1982
|
:url)
|
1983
|
+
SENSITIVE = []
|
1897
1984
|
include Aws::Structure
|
1898
1985
|
end
|
1899
1986
|
|
@@ -1912,6 +1999,7 @@ module Aws::LexModelBuildingService
|
|
1912
1999
|
#
|
1913
2000
|
class GetImportRequest < Struct.new(
|
1914
2001
|
:import_id)
|
2002
|
+
SENSITIVE = []
|
1915
2003
|
include Aws::Structure
|
1916
2004
|
end
|
1917
2005
|
|
@@ -1955,6 +2043,7 @@ module Aws::LexModelBuildingService
|
|
1955
2043
|
:import_status,
|
1956
2044
|
:failure_reason,
|
1957
2045
|
:created_date)
|
2046
|
+
SENSITIVE = []
|
1958
2047
|
include Aws::Structure
|
1959
2048
|
end
|
1960
2049
|
|
@@ -1979,6 +2068,7 @@ module Aws::LexModelBuildingService
|
|
1979
2068
|
class GetIntentRequest < Struct.new(
|
1980
2069
|
:name,
|
1981
2070
|
:version)
|
2071
|
+
SENSITIVE = []
|
1982
2072
|
include Aws::Structure
|
1983
2073
|
end
|
1984
2074
|
|
@@ -2053,6 +2143,11 @@ module Aws::LexModelBuildingService
|
|
2053
2143
|
# Checksum of the intent.
|
2054
2144
|
# @return [String]
|
2055
2145
|
#
|
2146
|
+
# @!attribute [rw] kendra_configuration
|
2147
|
+
# Configuration information, if any, to connect to an Amazon Kendra
|
2148
|
+
# index with the `AMAZON.KendraSearchIntent` intent.
|
2149
|
+
# @return [Types::KendraConfiguration]
|
2150
|
+
#
|
2056
2151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentResponse AWS API Documentation
|
2057
2152
|
#
|
2058
2153
|
class GetIntentResponse < Struct.new(
|
@@ -2070,7 +2165,9 @@ module Aws::LexModelBuildingService
|
|
2070
2165
|
:last_updated_date,
|
2071
2166
|
:created_date,
|
2072
2167
|
:version,
|
2073
|
-
:checksum
|
2168
|
+
:checksum,
|
2169
|
+
:kendra_configuration)
|
2170
|
+
SENSITIVE = []
|
2074
2171
|
include Aws::Structure
|
2075
2172
|
end
|
2076
2173
|
|
@@ -2105,6 +2202,7 @@ module Aws::LexModelBuildingService
|
|
2105
2202
|
:name,
|
2106
2203
|
:next_token,
|
2107
2204
|
:max_results)
|
2205
|
+
SENSITIVE = []
|
2108
2206
|
include Aws::Structure
|
2109
2207
|
end
|
2110
2208
|
|
@@ -2125,6 +2223,7 @@ module Aws::LexModelBuildingService
|
|
2125
2223
|
class GetIntentVersionsResponse < Struct.new(
|
2126
2224
|
:intents,
|
2127
2225
|
:next_token)
|
2226
|
+
SENSITIVE = []
|
2128
2227
|
include Aws::Structure
|
2129
2228
|
end
|
2130
2229
|
|
@@ -2161,6 +2260,7 @@ module Aws::LexModelBuildingService
|
|
2161
2260
|
:next_token,
|
2162
2261
|
:max_results,
|
2163
2262
|
:name_contains)
|
2263
|
+
SENSITIVE = []
|
2164
2264
|
include Aws::Structure
|
2165
2265
|
end
|
2166
2266
|
|
@@ -2179,6 +2279,7 @@ module Aws::LexModelBuildingService
|
|
2179
2279
|
class GetIntentsResponse < Struct.new(
|
2180
2280
|
:intents,
|
2181
2281
|
:next_token)
|
2282
|
+
SENSITIVE = []
|
2182
2283
|
include Aws::Structure
|
2183
2284
|
end
|
2184
2285
|
|
@@ -2203,6 +2304,7 @@ module Aws::LexModelBuildingService
|
|
2203
2304
|
class GetSlotTypeRequest < Struct.new(
|
2204
2305
|
:name,
|
2205
2306
|
:version)
|
2307
|
+
SENSITIVE = []
|
2206
2308
|
include Aws::Structure
|
2207
2309
|
end
|
2208
2310
|
|
@@ -2263,6 +2365,7 @@ module Aws::LexModelBuildingService
|
|
2263
2365
|
:value_selection_strategy,
|
2264
2366
|
:parent_slot_type_signature,
|
2265
2367
|
:slot_type_configurations)
|
2368
|
+
SENSITIVE = []
|
2266
2369
|
include Aws::Structure
|
2267
2370
|
end
|
2268
2371
|
|
@@ -2297,6 +2400,7 @@ module Aws::LexModelBuildingService
|
|
2297
2400
|
:name,
|
2298
2401
|
:next_token,
|
2299
2402
|
:max_results)
|
2403
|
+
SENSITIVE = []
|
2300
2404
|
include Aws::Structure
|
2301
2405
|
end
|
2302
2406
|
|
@@ -2317,6 +2421,7 @@ module Aws::LexModelBuildingService
|
|
2317
2421
|
class GetSlotTypeVersionsResponse < Struct.new(
|
2318
2422
|
:slot_types,
|
2319
2423
|
:next_token)
|
2424
|
+
SENSITIVE = []
|
2320
2425
|
include Aws::Structure
|
2321
2426
|
end
|
2322
2427
|
|
@@ -2353,6 +2458,7 @@ module Aws::LexModelBuildingService
|
|
2353
2458
|
:next_token,
|
2354
2459
|
:max_results,
|
2355
2460
|
:name_contains)
|
2461
|
+
SENSITIVE = []
|
2356
2462
|
include Aws::Structure
|
2357
2463
|
end
|
2358
2464
|
|
@@ -2373,6 +2479,7 @@ module Aws::LexModelBuildingService
|
|
2373
2479
|
class GetSlotTypesResponse < Struct.new(
|
2374
2480
|
:slot_types,
|
2375
2481
|
:next_token)
|
2482
|
+
SENSITIVE = []
|
2376
2483
|
include Aws::Structure
|
2377
2484
|
end
|
2378
2485
|
|
@@ -2407,6 +2514,7 @@ module Aws::LexModelBuildingService
|
|
2407
2514
|
:bot_name,
|
2408
2515
|
:bot_versions,
|
2409
2516
|
:status_type)
|
2517
|
+
SENSITIVE = []
|
2410
2518
|
include Aws::Structure
|
2411
2519
|
end
|
2412
2520
|
|
@@ -2427,6 +2535,7 @@ module Aws::LexModelBuildingService
|
|
2427
2535
|
class GetUtterancesViewResponse < Struct.new(
|
2428
2536
|
:bot_name,
|
2429
2537
|
:utterances)
|
2538
|
+
SENSITIVE = []
|
2430
2539
|
include Aws::Structure
|
2431
2540
|
end
|
2432
2541
|
|
@@ -2453,6 +2562,7 @@ module Aws::LexModelBuildingService
|
|
2453
2562
|
class Intent < Struct.new(
|
2454
2563
|
:intent_name,
|
2455
2564
|
:intent_version)
|
2565
|
+
SENSITIVE = []
|
2456
2566
|
include Aws::Structure
|
2457
2567
|
end
|
2458
2568
|
|
@@ -2487,6 +2597,7 @@ module Aws::LexModelBuildingService
|
|
2487
2597
|
:last_updated_date,
|
2488
2598
|
:created_date,
|
2489
2599
|
:version)
|
2600
|
+
SENSITIVE = []
|
2490
2601
|
include Aws::Structure
|
2491
2602
|
end
|
2492
2603
|
|
@@ -2499,6 +2610,64 @@ module Aws::LexModelBuildingService
|
|
2499
2610
|
#
|
2500
2611
|
class InternalFailureException < Struct.new(
|
2501
2612
|
:message)
|
2613
|
+
SENSITIVE = []
|
2614
|
+
include Aws::Structure
|
2615
|
+
end
|
2616
|
+
|
2617
|
+
# Provides configuration information for the AMAZON.KendraSearchIntent
|
2618
|
+
# intent. When you use this intent, Amazon Lex searches the specified
|
2619
|
+
# Amazon Kendra index and returns documents from the index that match
|
2620
|
+
# the user's utterance. For more information, see [
|
2621
|
+
# AMAZON.KendraSearchIntent][1].
|
2622
|
+
#
|
2623
|
+
#
|
2624
|
+
#
|
2625
|
+
# [1]: http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html
|
2626
|
+
#
|
2627
|
+
# @note When making an API call, you may pass KendraConfiguration
|
2628
|
+
# data as a hash:
|
2629
|
+
#
|
2630
|
+
# {
|
2631
|
+
# kendra_index: "KendraIndexArn", # required
|
2632
|
+
# query_filter_string: "QueryFilterString",
|
2633
|
+
# role: "roleArn", # required
|
2634
|
+
# }
|
2635
|
+
#
|
2636
|
+
# @!attribute [rw] kendra_index
|
2637
|
+
# The Amazon Resource Name (ARN) of the Amazon Kendra index that you
|
2638
|
+
# want the AMAZON.KendraSearchIntent intent to search. The index must
|
2639
|
+
# be in the same account and Region as the Amazon Lex bot. If the
|
2640
|
+
# Amazon Kendra index does not exist, you get an exception when you
|
2641
|
+
# call the `PutIntent` operation.
|
2642
|
+
# @return [String]
|
2643
|
+
#
|
2644
|
+
# @!attribute [rw] query_filter_string
|
2645
|
+
# A query filter that Amazon Lex sends to Amazon Kendra to filter the
|
2646
|
+
# response from the query. The filter is in the format defined by
|
2647
|
+
# Amazon Kendra. For more information, see [Filtering queries][1].
|
2648
|
+
#
|
2649
|
+
# You can override this filter string with a new filter string at
|
2650
|
+
# runtime.
|
2651
|
+
#
|
2652
|
+
#
|
2653
|
+
#
|
2654
|
+
# [1]: http://docs.aws.amazon.com/kendra/latest/dg/filtering.html
|
2655
|
+
# @return [String]
|
2656
|
+
#
|
2657
|
+
# @!attribute [rw] role
|
2658
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permission to
|
2659
|
+
# search the Amazon Kendra index. The role must be in the same account
|
2660
|
+
# and Region as the Amazon Lex bot. If the role does not exist, you
|
2661
|
+
# get an exception when you call the `PutIntent` operation.
|
2662
|
+
# @return [String]
|
2663
|
+
#
|
2664
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/KendraConfiguration AWS API Documentation
|
2665
|
+
#
|
2666
|
+
class KendraConfiguration < Struct.new(
|
2667
|
+
:kendra_index,
|
2668
|
+
:query_filter_string,
|
2669
|
+
:role)
|
2670
|
+
SENSITIVE = []
|
2502
2671
|
include Aws::Structure
|
2503
2672
|
end
|
2504
2673
|
|
@@ -2515,6 +2684,7 @@ module Aws::LexModelBuildingService
|
|
2515
2684
|
class LimitExceededException < Struct.new(
|
2516
2685
|
:retry_after_seconds,
|
2517
2686
|
:message)
|
2687
|
+
SENSITIVE = []
|
2518
2688
|
include Aws::Structure
|
2519
2689
|
end
|
2520
2690
|
|
@@ -2534,6 +2704,7 @@ module Aws::LexModelBuildingService
|
|
2534
2704
|
#
|
2535
2705
|
class ListTagsForResourceRequest < Struct.new(
|
2536
2706
|
:resource_arn)
|
2707
|
+
SENSITIVE = []
|
2537
2708
|
include Aws::Structure
|
2538
2709
|
end
|
2539
2710
|
|
@@ -2545,6 +2716,7 @@ module Aws::LexModelBuildingService
|
|
2545
2716
|
#
|
2546
2717
|
class ListTagsForResourceResponse < Struct.new(
|
2547
2718
|
:tags)
|
2719
|
+
SENSITIVE = []
|
2548
2720
|
include Aws::Structure
|
2549
2721
|
end
|
2550
2722
|
|
@@ -2589,6 +2761,7 @@ module Aws::LexModelBuildingService
|
|
2589
2761
|
:destination,
|
2590
2762
|
:kms_key_arn,
|
2591
2763
|
:resource_arn)
|
2764
|
+
SENSITIVE = []
|
2592
2765
|
include Aws::Structure
|
2593
2766
|
end
|
2594
2767
|
|
@@ -2627,6 +2800,7 @@ module Aws::LexModelBuildingService
|
|
2627
2800
|
:kms_key_arn,
|
2628
2801
|
:resource_arn,
|
2629
2802
|
:resource_prefix)
|
2803
|
+
SENSITIVE = []
|
2630
2804
|
include Aws::Structure
|
2631
2805
|
end
|
2632
2806
|
|
@@ -2661,6 +2835,7 @@ module Aws::LexModelBuildingService
|
|
2661
2835
|
:content_type,
|
2662
2836
|
:content,
|
2663
2837
|
:group_number)
|
2838
|
+
SENSITIVE = []
|
2664
2839
|
include Aws::Structure
|
2665
2840
|
end
|
2666
2841
|
|
@@ -2674,6 +2849,7 @@ module Aws::LexModelBuildingService
|
|
2674
2849
|
#
|
2675
2850
|
class NotFoundException < Struct.new(
|
2676
2851
|
:message)
|
2852
|
+
SENSITIVE = []
|
2677
2853
|
include Aws::Structure
|
2678
2854
|
end
|
2679
2855
|
|
@@ -2688,6 +2864,7 @@ module Aws::LexModelBuildingService
|
|
2688
2864
|
#
|
2689
2865
|
class PreconditionFailedException < Struct.new(
|
2690
2866
|
:message)
|
2867
|
+
SENSITIVE = []
|
2691
2868
|
include Aws::Structure
|
2692
2869
|
end
|
2693
2870
|
|
@@ -2735,6 +2912,7 @@ module Aws::LexModelBuildingService
|
|
2735
2912
|
:messages,
|
2736
2913
|
:max_attempts,
|
2737
2914
|
:response_card)
|
2915
|
+
SENSITIVE = []
|
2738
2916
|
include Aws::Structure
|
2739
2917
|
end
|
2740
2918
|
|
@@ -2816,6 +2994,7 @@ module Aws::LexModelBuildingService
|
|
2816
2994
|
:checksum,
|
2817
2995
|
:conversation_logs,
|
2818
2996
|
:tags)
|
2997
|
+
SENSITIVE = []
|
2819
2998
|
include Aws::Structure
|
2820
2999
|
end
|
2821
3000
|
|
@@ -2869,6 +3048,7 @@ module Aws::LexModelBuildingService
|
|
2869
3048
|
:checksum,
|
2870
3049
|
:conversation_logs,
|
2871
3050
|
:tags)
|
3051
|
+
SENSITIVE = []
|
2872
3052
|
include Aws::Structure
|
2873
3053
|
end
|
2874
3054
|
|
@@ -2884,6 +3064,8 @@ module Aws::LexModelBuildingService
|
|
2884
3064
|
# intent_version: "Version", # required
|
2885
3065
|
# },
|
2886
3066
|
# ],
|
3067
|
+
# enable_model_improvements: false,
|
3068
|
+
# nlu_intent_confidence_threshold: 1.0,
|
2887
3069
|
# clarification_prompt: {
|
2888
3070
|
# messages: [ # required
|
2889
3071
|
# {
|
@@ -2935,6 +3117,79 @@ module Aws::LexModelBuildingService
|
|
2935
3117
|
# an OrderPizza intent. For more information, see how-it-works.
|
2936
3118
|
# @return [Array<Types::Intent>]
|
2937
3119
|
#
|
3120
|
+
# @!attribute [rw] enable_model_improvements
|
3121
|
+
# Set to `true` to enable the use of a new natural language
|
3122
|
+
# understanding (NLU) model. Using the new NLU may improve the
|
3123
|
+
# performance of your bot.
|
3124
|
+
#
|
3125
|
+
# When you set the `enableModelImprovements` parameter to `true` you
|
3126
|
+
# can use the `nluIntentConfidenceThreshold` parameter to configure
|
3127
|
+
# confidence scores. For more information, see [Confidence Scores][1].
|
3128
|
+
#
|
3129
|
+
# You can only set the `enableModelImprovements` parameter in certain
|
3130
|
+
# Regions. If you set the parameter to `true`, your bot will use the
|
3131
|
+
# new NLU. If you set the parameter to `false`, your bot will continue
|
3132
|
+
# to use the original NLU. If you set the parameter to `false` after
|
3133
|
+
# setting it to `true`, your bot will return to the original NLU.
|
3134
|
+
#
|
3135
|
+
# The Regions where you can set the `enableModelImprovements`
|
3136
|
+
# parameter to `true` are:
|
3137
|
+
#
|
3138
|
+
# * US East (N. Virginia) (us-east-1)
|
3139
|
+
#
|
3140
|
+
# * US West (Oregon) (us-west-2)
|
3141
|
+
#
|
3142
|
+
# * Asia Pacific (Sydney) (ap-southeast-2)
|
3143
|
+
#
|
3144
|
+
# * EU (Ireland) (eu-west-1)
|
3145
|
+
#
|
3146
|
+
# In other Regions, the `enableModelImprovements` parameter is set to
|
3147
|
+
# `true` by default. In these Regions setting the parameter to `false`
|
3148
|
+
# throws a `ValidationException` exception.
|
3149
|
+
#
|
3150
|
+
# * Asia Pacific (Singapore) (ap-southeast-1)
|
3151
|
+
#
|
3152
|
+
# * Asia Pacific (Tokyo) (ap-northeast-1)
|
3153
|
+
#
|
3154
|
+
# * EU (Frankfurt) (eu-central-1)
|
3155
|
+
#
|
3156
|
+
# * EU (London) (eu-west-2)
|
3157
|
+
#
|
3158
|
+
#
|
3159
|
+
#
|
3160
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html
|
3161
|
+
# @return [Boolean]
|
3162
|
+
#
|
3163
|
+
# @!attribute [rw] nlu_intent_confidence_threshold
|
3164
|
+
# Determines the threshold where Amazon Lex will insert the
|
3165
|
+
# `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
|
3166
|
+
# returning alternative intents in a [PostContent][1] or [PostText][2]
|
3167
|
+
# response. `AMAZON.FallbackIntent` and `AMAZON.KendraSearchIntent`
|
3168
|
+
# are only inserted if they are configured for the bot.
|
3169
|
+
#
|
3170
|
+
# You must set the `enableModelImprovements` parameter to `true` to
|
3171
|
+
# use confidence scores.
|
3172
|
+
#
|
3173
|
+
# For example, suppose a bot is configured with the confidence
|
3174
|
+
# threshold of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex
|
3175
|
+
# returns three alternative intents with the following confidence
|
3176
|
+
# scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response
|
3177
|
+
# from the `PostText` operation would be:
|
3178
|
+
#
|
3179
|
+
# * AMAZON.FallbackIntent
|
3180
|
+
#
|
3181
|
+
# * IntentA
|
3182
|
+
#
|
3183
|
+
# * IntentB
|
3184
|
+
#
|
3185
|
+
# * IntentC
|
3186
|
+
#
|
3187
|
+
#
|
3188
|
+
#
|
3189
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
3190
|
+
# [2]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
3191
|
+
# @return [Float]
|
3192
|
+
#
|
2938
3193
|
# @!attribute [rw] clarification_prompt
|
2939
3194
|
# When Amazon Lex doesn't understand the user's intent, it uses this
|
2940
3195
|
# message to get clarification. To specify how many times Amazon Lex
|
@@ -3122,6 +3377,8 @@ module Aws::LexModelBuildingService
|
|
3122
3377
|
:name,
|
3123
3378
|
:description,
|
3124
3379
|
:intents,
|
3380
|
+
:enable_model_improvements,
|
3381
|
+
:nlu_intent_confidence_threshold,
|
3125
3382
|
:clarification_prompt,
|
3126
3383
|
:abort_statement,
|
3127
3384
|
:idle_session_ttl_in_seconds,
|
@@ -3133,6 +3390,7 @@ module Aws::LexModelBuildingService
|
|
3133
3390
|
:detect_sentiment,
|
3134
3391
|
:create_version,
|
3135
3392
|
:tags)
|
3393
|
+
SENSITIVE = []
|
3136
3394
|
include Aws::Structure
|
3137
3395
|
end
|
3138
3396
|
|
@@ -3148,6 +3406,25 @@ module Aws::LexModelBuildingService
|
|
3148
3406
|
# An array of `Intent` objects. For more information, see PutBot.
|
3149
3407
|
# @return [Array<Types::Intent>]
|
3150
3408
|
#
|
3409
|
+
# @!attribute [rw] enable_model_improvements
|
3410
|
+
# Indicates whether the bot uses the new natural language
|
3411
|
+
# understanding (NLU) model or the original NLU. True indicates that
|
3412
|
+
# the bot is using the new model, otherwise, false.
|
3413
|
+
# @return [Boolean]
|
3414
|
+
#
|
3415
|
+
# @!attribute [rw] nlu_intent_confidence_threshold
|
3416
|
+
# The score that determines where Amazon Lex inserts the
|
3417
|
+
# `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
|
3418
|
+
# returning alternative intents in a [PostContent][1] or [PostText][2]
|
3419
|
+
# response. `AMAZON.FallbackIntent` and `AMAZON.KendraSearchIntent`
|
3420
|
+
# are only inserted if they are configured for the bot.
|
3421
|
+
#
|
3422
|
+
#
|
3423
|
+
#
|
3424
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
3425
|
+
# [2]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
3426
|
+
# @return [Float]
|
3427
|
+
#
|
3151
3428
|
# @!attribute [rw] clarification_prompt
|
3152
3429
|
# The prompts that Amazon Lex uses when it doesn't understand the
|
3153
3430
|
# user's intent. For more information, see PutBot.
|
@@ -3271,6 +3548,8 @@ module Aws::LexModelBuildingService
|
|
3271
3548
|
:name,
|
3272
3549
|
:description,
|
3273
3550
|
:intents,
|
3551
|
+
:enable_model_improvements,
|
3552
|
+
:nlu_intent_confidence_threshold,
|
3274
3553
|
:clarification_prompt,
|
3275
3554
|
:abort_statement,
|
3276
3555
|
:status,
|
@@ -3286,6 +3565,7 @@ module Aws::LexModelBuildingService
|
|
3286
3565
|
:create_version,
|
3287
3566
|
:detect_sentiment,
|
3288
3567
|
:tags)
|
3568
|
+
SENSITIVE = []
|
3289
3569
|
include Aws::Structure
|
3290
3570
|
end
|
3291
3571
|
|
@@ -3388,6 +3668,11 @@ module Aws::LexModelBuildingService
|
|
3388
3668
|
# parent_intent_signature: "BuiltinIntentSignature",
|
3389
3669
|
# checksum: "String",
|
3390
3670
|
# create_version: false,
|
3671
|
+
# kendra_configuration: {
|
3672
|
+
# kendra_index: "KendraIndexArn", # required
|
3673
|
+
# query_filter_string: "QueryFilterString",
|
3674
|
+
# role: "roleArn", # required
|
3675
|
+
# },
|
3391
3676
|
# }
|
3392
3677
|
#
|
3393
3678
|
# @!attribute [rw] name
|
@@ -3543,6 +3828,16 @@ module Aws::LexModelBuildingService
|
|
3543
3828
|
# you do not specify `createVersion`, the default is `false`.
|
3544
3829
|
# @return [Boolean]
|
3545
3830
|
#
|
3831
|
+
# @!attribute [rw] kendra_configuration
|
3832
|
+
# Configuration information required to use the
|
3833
|
+
# `AMAZON.KendraSearchIntent` intent to connect to an Amazon Kendra
|
3834
|
+
# index. For more information, see [ AMAZON.KendraSearchIntent][1].
|
3835
|
+
#
|
3836
|
+
#
|
3837
|
+
#
|
3838
|
+
# [1]: http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html
|
3839
|
+
# @return [Types::KendraConfiguration]
|
3840
|
+
#
|
3546
3841
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentRequest AWS API Documentation
|
3547
3842
|
#
|
3548
3843
|
class PutIntentRequest < Struct.new(
|
@@ -3558,7 +3853,9 @@ module Aws::LexModelBuildingService
|
|
3558
3853
|
:fulfillment_activity,
|
3559
3854
|
:parent_intent_signature,
|
3560
3855
|
:checksum,
|
3561
|
-
:create_version
|
3856
|
+
:create_version,
|
3857
|
+
:kendra_configuration)
|
3858
|
+
SENSITIVE = []
|
3562
3859
|
include Aws::Structure
|
3563
3860
|
end
|
3564
3861
|
|
@@ -3640,6 +3937,11 @@ module Aws::LexModelBuildingService
|
|
3640
3937
|
# `createVersion` field is set to false in the response.
|
3641
3938
|
# @return [Boolean]
|
3642
3939
|
#
|
3940
|
+
# @!attribute [rw] kendra_configuration
|
3941
|
+
# Configuration information, if any, required to connect to an Amazon
|
3942
|
+
# Kendra index and use the `AMAZON.KendraSearchIntent` intent.
|
3943
|
+
# @return [Types::KendraConfiguration]
|
3944
|
+
#
|
3643
3945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentResponse AWS API Documentation
|
3644
3946
|
#
|
3645
3947
|
class PutIntentResponse < Struct.new(
|
@@ -3658,7 +3960,9 @@ module Aws::LexModelBuildingService
|
|
3658
3960
|
:created_date,
|
3659
3961
|
:version,
|
3660
3962
|
:checksum,
|
3661
|
-
:create_version
|
3963
|
+
:create_version,
|
3964
|
+
:kendra_configuration)
|
3965
|
+
SENSITIVE = []
|
3662
3966
|
include Aws::Structure
|
3663
3967
|
end
|
3664
3968
|
|
@@ -3783,6 +4087,7 @@ module Aws::LexModelBuildingService
|
|
3783
4087
|
:create_version,
|
3784
4088
|
:parent_slot_type_signature,
|
3785
4089
|
:slot_type_configurations)
|
4090
|
+
SENSITIVE = []
|
3786
4091
|
include Aws::Structure
|
3787
4092
|
end
|
3788
4093
|
|
@@ -3851,6 +4156,7 @@ module Aws::LexModelBuildingService
|
|
3851
4156
|
:create_version,
|
3852
4157
|
:parent_slot_type_signature,
|
3853
4158
|
:slot_type_configurations)
|
4159
|
+
SENSITIVE = []
|
3854
4160
|
include Aws::Structure
|
3855
4161
|
end
|
3856
4162
|
|
@@ -3881,6 +4187,7 @@ module Aws::LexModelBuildingService
|
|
3881
4187
|
class ResourceInUseException < Struct.new(
|
3882
4188
|
:reference_type,
|
3883
4189
|
:example_reference)
|
4190
|
+
SENSITIVE = []
|
3884
4191
|
include Aws::Structure
|
3885
4192
|
end
|
3886
4193
|
|
@@ -3903,6 +4210,7 @@ module Aws::LexModelBuildingService
|
|
3903
4210
|
class ResourceReference < Struct.new(
|
3904
4211
|
:name,
|
3905
4212
|
:version)
|
4213
|
+
SENSITIVE = []
|
3906
4214
|
include Aws::Structure
|
3907
4215
|
end
|
3908
4216
|
|
@@ -3961,12 +4269,13 @@ module Aws::LexModelBuildingService
|
|
3961
4269
|
# @return [Types::Prompt]
|
3962
4270
|
#
|
3963
4271
|
# @!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
|
4272
|
+
# Directs Amazon Lex the order in which to elicit this slot value from
|
4273
|
+
# the user. For example, if the intent has two slots with priorities 1
|
4274
|
+
# and 2, AWS Amazon Lex first elicits a value for the slot with
|
4275
|
+
# priority 1.
|
3967
4276
|
#
|
3968
|
-
# If multiple slots share the same priority, the order in which
|
3969
|
-
# elicits values is arbitrary.
|
4277
|
+
# If multiple slots share the same priority, the order in which Amazon
|
4278
|
+
# Lex elicits values is arbitrary.
|
3970
4279
|
# @return [Integer]
|
3971
4280
|
#
|
3972
4281
|
# @!attribute [rw] sample_utterances
|
@@ -4008,6 +4317,7 @@ module Aws::LexModelBuildingService
|
|
4008
4317
|
:sample_utterances,
|
4009
4318
|
:response_card,
|
4010
4319
|
:obfuscation_setting)
|
4320
|
+
SENSITIVE = []
|
4011
4321
|
include Aws::Structure
|
4012
4322
|
end
|
4013
4323
|
|
@@ -4030,6 +4340,7 @@ module Aws::LexModelBuildingService
|
|
4030
4340
|
#
|
4031
4341
|
class SlotTypeConfiguration < Struct.new(
|
4032
4342
|
:regex_configuration)
|
4343
|
+
SENSITIVE = []
|
4033
4344
|
include Aws::Structure
|
4034
4345
|
end
|
4035
4346
|
|
@@ -4064,6 +4375,7 @@ module Aws::LexModelBuildingService
|
|
4064
4375
|
:last_updated_date,
|
4065
4376
|
:created_date,
|
4066
4377
|
:version)
|
4378
|
+
SENSITIVE = []
|
4067
4379
|
include Aws::Structure
|
4068
4380
|
end
|
4069
4381
|
|
@@ -4102,6 +4414,7 @@ module Aws::LexModelBuildingService
|
|
4102
4414
|
#
|
4103
4415
|
class SlotTypeRegexConfiguration < Struct.new(
|
4104
4416
|
:pattern)
|
4417
|
+
SENSITIVE = []
|
4105
4418
|
include Aws::Structure
|
4106
4419
|
end
|
4107
4420
|
|
@@ -4164,6 +4477,7 @@ module Aws::LexModelBuildingService
|
|
4164
4477
|
:resource_type,
|
4165
4478
|
:merge_strategy,
|
4166
4479
|
:tags)
|
4480
|
+
SENSITIVE = []
|
4167
4481
|
include Aws::Structure
|
4168
4482
|
end
|
4169
4483
|
|
@@ -4206,6 +4520,7 @@ module Aws::LexModelBuildingService
|
|
4206
4520
|
:import_status,
|
4207
4521
|
:tags,
|
4208
4522
|
:created_date)
|
4523
|
+
SENSITIVE = []
|
4209
4524
|
include Aws::Structure
|
4210
4525
|
end
|
4211
4526
|
|
@@ -4246,6 +4561,7 @@ module Aws::LexModelBuildingService
|
|
4246
4561
|
class Statement < Struct.new(
|
4247
4562
|
:messages,
|
4248
4563
|
:response_card)
|
4564
|
+
SENSITIVE = []
|
4249
4565
|
include Aws::Structure
|
4250
4566
|
end
|
4251
4567
|
|
@@ -4275,6 +4591,7 @@ module Aws::LexModelBuildingService
|
|
4275
4591
|
class Tag < Struct.new(
|
4276
4592
|
:key,
|
4277
4593
|
:value)
|
4594
|
+
SENSITIVE = []
|
4278
4595
|
include Aws::Structure
|
4279
4596
|
end
|
4280
4597
|
|
@@ -4306,6 +4623,7 @@ module Aws::LexModelBuildingService
|
|
4306
4623
|
class TagResourceRequest < Struct.new(
|
4307
4624
|
:resource_arn,
|
4308
4625
|
:tags)
|
4626
|
+
SENSITIVE = []
|
4309
4627
|
include Aws::Structure
|
4310
4628
|
end
|
4311
4629
|
|
@@ -4336,6 +4654,7 @@ module Aws::LexModelBuildingService
|
|
4336
4654
|
class UntagResourceRequest < Struct.new(
|
4337
4655
|
:resource_arn,
|
4338
4656
|
:tag_keys)
|
4657
|
+
SENSITIVE = []
|
4339
4658
|
include Aws::Structure
|
4340
4659
|
end
|
4341
4660
|
|
@@ -4375,6 +4694,7 @@ module Aws::LexModelBuildingService
|
|
4375
4694
|
:distinct_users,
|
4376
4695
|
:first_uttered_date,
|
4377
4696
|
:last_uttered_date)
|
4697
|
+
SENSITIVE = []
|
4378
4698
|
include Aws::Structure
|
4379
4699
|
end
|
4380
4700
|
|
@@ -4396,6 +4716,7 @@ module Aws::LexModelBuildingService
|
|
4396
4716
|
class UtteranceList < Struct.new(
|
4397
4717
|
:bot_version,
|
4398
4718
|
:utterances)
|
4719
|
+
SENSITIVE = []
|
4399
4720
|
include Aws::Structure
|
4400
4721
|
end
|
4401
4722
|
|