aws-sdk-lexmodelsv2 1.31.0 → 1.32.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +172 -69
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +37 -0
- data/lib/aws-sdk-lexmodelsv2/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-lexmodelsv2/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-lexmodelsv2/types.rb +284 -107
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +2 -2
@@ -224,7 +224,7 @@ module Aws::LexModelsV2
|
|
224
224
|
#
|
225
225
|
#
|
226
226
|
#
|
227
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
227
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html
|
228
228
|
# @return [Types::S3BucketLogDestination]
|
229
229
|
#
|
230
230
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AudioLogDestination AWS API Documentation
|
@@ -279,23 +279,27 @@ module Aws::LexModelsV2
|
|
279
279
|
end
|
280
280
|
|
281
281
|
# @!attribute [rw] bot_id
|
282
|
-
# The
|
283
|
-
# vocabulary item for.
|
282
|
+
# The identifier of the bot associated with this custom vocabulary.
|
284
283
|
# @return [String]
|
285
284
|
#
|
286
285
|
# @!attribute [rw] bot_version
|
287
|
-
# The
|
288
|
-
#
|
286
|
+
# The identifier of the version of the bot associated with this custom
|
287
|
+
# vocabulary.
|
289
288
|
# @return [String]
|
290
289
|
#
|
291
290
|
# @!attribute [rw] locale_id
|
292
|
-
# The
|
293
|
-
# vocabulary
|
291
|
+
# The identifier of the language and locale where this custom
|
292
|
+
# vocabulary is used. The string must match one of the supported
|
293
|
+
# locales. For more information, see [ Supported Languages ][1].
|
294
|
+
#
|
295
|
+
#
|
296
|
+
#
|
297
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
294
298
|
# @return [String]
|
295
299
|
#
|
296
300
|
# @!attribute [rw] custom_vocabulary_item_list
|
297
|
-
#
|
298
|
-
#
|
301
|
+
# A list of new custom vocabulary items. Each entry must contain a
|
302
|
+
# phrase and can optionally contain a displayAs and/or a weight.
|
299
303
|
# @return [Array<Types::NewCustomVocabularyItem>]
|
300
304
|
#
|
301
305
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchCreateCustomVocabularyItemRequest AWS API Documentation
|
@@ -310,28 +314,33 @@ module Aws::LexModelsV2
|
|
310
314
|
end
|
311
315
|
|
312
316
|
# @!attribute [rw] bot_id
|
313
|
-
# The
|
314
|
-
# custom vocabulary item.
|
317
|
+
# The identifier of the bot associated with this custom vocabulary.
|
315
318
|
# @return [String]
|
316
319
|
#
|
317
320
|
# @!attribute [rw] bot_version
|
318
|
-
# The
|
319
|
-
#
|
321
|
+
# The identifier of the version of the bot associated with this custom
|
322
|
+
# vocabulary.
|
320
323
|
# @return [String]
|
321
324
|
#
|
322
325
|
# @!attribute [rw] locale_id
|
323
|
-
# The
|
324
|
-
# vocabulary
|
326
|
+
# The identifier of the language and locale where this custom
|
327
|
+
# vocabulary is used. The string must match one of the supported
|
328
|
+
# locales. For more information, see [ Supported Languages ][1].
|
329
|
+
#
|
330
|
+
#
|
331
|
+
#
|
332
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
325
333
|
# @return [String]
|
326
334
|
#
|
327
335
|
# @!attribute [rw] errors
|
328
|
-
#
|
329
|
-
#
|
336
|
+
# A list of custom vocabulary items that failed to create during the
|
337
|
+
# operation. The reason for the error is contained within each error
|
338
|
+
# object.
|
330
339
|
# @return [Array<Types::FailedCustomVocabularyItem>]
|
331
340
|
#
|
332
341
|
# @!attribute [rw] resources
|
333
|
-
#
|
334
|
-
#
|
342
|
+
# A list of custom vocabulary items that were successfully created
|
343
|
+
# during the operation.
|
335
344
|
# @return [Array<Types::CustomVocabularyItem>]
|
336
345
|
#
|
337
346
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchCreateCustomVocabularyItemResponse AWS API Documentation
|
@@ -347,23 +356,27 @@ module Aws::LexModelsV2
|
|
347
356
|
end
|
348
357
|
|
349
358
|
# @!attribute [rw] bot_id
|
350
|
-
# The
|
351
|
-
# custom vocabulary item.
|
359
|
+
# The identifier of the bot associated with this custom vocabulary.
|
352
360
|
# @return [String]
|
353
361
|
#
|
354
362
|
# @!attribute [rw] bot_version
|
355
|
-
# The
|
356
|
-
# vocabulary
|
363
|
+
# The identifier of the version of the bot associated with this custom
|
364
|
+
# vocabulary.
|
357
365
|
# @return [String]
|
358
366
|
#
|
359
367
|
# @!attribute [rw] locale_id
|
360
|
-
# The
|
361
|
-
#
|
368
|
+
# The identifier of the language and locale where this custom
|
369
|
+
# vocabulary is used. The string must match one of the supported
|
370
|
+
# locales. For more information, see [ Supported Languages ][1].
|
371
|
+
#
|
372
|
+
#
|
373
|
+
#
|
374
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
362
375
|
# @return [String]
|
363
376
|
#
|
364
377
|
# @!attribute [rw] custom_vocabulary_item_list
|
365
|
-
#
|
366
|
-
# vocabulary
|
378
|
+
# A list of custom vocabulary items requested to be deleted. Each
|
379
|
+
# entry must contain the unique custom vocabulary entry identifier.
|
367
380
|
# @return [Array<Types::CustomVocabularyEntryId>]
|
368
381
|
#
|
369
382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchDeleteCustomVocabularyItemRequest AWS API Documentation
|
@@ -378,28 +391,30 @@ module Aws::LexModelsV2
|
|
378
391
|
end
|
379
392
|
|
380
393
|
# @!attribute [rw] bot_id
|
381
|
-
# The
|
382
|
-
# custom vocabulary item.
|
394
|
+
# The identifier of the bot associated with this custom vocabulary.
|
383
395
|
# @return [String]
|
384
396
|
#
|
385
397
|
# @!attribute [rw] bot_version
|
386
|
-
# The
|
387
|
-
# vocabulary
|
398
|
+
# The identifier of the version of the bot associated with this custom
|
399
|
+
# vocabulary.
|
388
400
|
# @return [String]
|
389
401
|
#
|
390
402
|
# @!attribute [rw] locale_id
|
391
|
-
# The
|
392
|
-
#
|
403
|
+
# The identifier of the language and locale where this custom
|
404
|
+
# vocabulary is used. The string must match one of the supported
|
405
|
+
# locales. For more information, see Supported languages
|
406
|
+
# (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
|
393
407
|
# @return [String]
|
394
408
|
#
|
395
409
|
# @!attribute [rw] errors
|
396
|
-
#
|
397
|
-
#
|
410
|
+
# A list of custom vocabulary items that failed to delete during the
|
411
|
+
# operation. The reason for the error is contained within each error
|
412
|
+
# object.
|
398
413
|
# @return [Array<Types::FailedCustomVocabularyItem>]
|
399
414
|
#
|
400
415
|
# @!attribute [rw] resources
|
401
|
-
#
|
402
|
-
#
|
416
|
+
# A list of custom vocabulary items that were successfully deleted
|
417
|
+
# during the operation.
|
403
418
|
# @return [Array<Types::CustomVocabularyItem>]
|
404
419
|
#
|
405
420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchDeleteCustomVocabularyItemResponse AWS API Documentation
|
@@ -415,23 +430,28 @@ module Aws::LexModelsV2
|
|
415
430
|
end
|
416
431
|
|
417
432
|
# @!attribute [rw] bot_id
|
418
|
-
# The
|
419
|
-
# custom vocabulary item.
|
433
|
+
# The identifier of the bot associated with this custom vocabulary
|
420
434
|
# @return [String]
|
421
435
|
#
|
422
436
|
# @!attribute [rw] bot_version
|
423
|
-
# The
|
424
|
-
#
|
437
|
+
# The identifier of the version of the bot associated with this custom
|
438
|
+
# vocabulary.
|
425
439
|
# @return [String]
|
426
440
|
#
|
427
441
|
# @!attribute [rw] locale_id
|
428
|
-
# The
|
429
|
-
#
|
442
|
+
# The identifier of the language and locale where this custom
|
443
|
+
# vocabulary is used. The string must match one of the supported
|
444
|
+
# locales. For more information, see [ Supported Languages ][1].
|
445
|
+
#
|
446
|
+
#
|
447
|
+
#
|
448
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
430
449
|
# @return [String]
|
431
450
|
#
|
432
451
|
# @!attribute [rw] custom_vocabulary_item_list
|
433
|
-
#
|
434
|
-
#
|
452
|
+
# A list of custom vocabulary items with updated fields. Each entry
|
453
|
+
# must contain a phrase and can optionally contain a displayAs and/or
|
454
|
+
# a weight.
|
435
455
|
# @return [Array<Types::CustomVocabularyItem>]
|
436
456
|
#
|
437
457
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchUpdateCustomVocabularyItemRequest AWS API Documentation
|
@@ -446,28 +466,33 @@ module Aws::LexModelsV2
|
|
446
466
|
end
|
447
467
|
|
448
468
|
# @!attribute [rw] bot_id
|
449
|
-
# The
|
450
|
-
# the custom vocabulary item.
|
469
|
+
# The identifier of the bot associated with this custom vocabulary.
|
451
470
|
# @return [String]
|
452
471
|
#
|
453
472
|
# @!attribute [rw] bot_version
|
454
|
-
# The
|
455
|
-
#
|
473
|
+
# The identifier of the version of the bot associated with this custom
|
474
|
+
# vocabulary.
|
456
475
|
# @return [String]
|
457
476
|
#
|
458
477
|
# @!attribute [rw] locale_id
|
459
|
-
# The
|
460
|
-
#
|
478
|
+
# The identifier of the language and locale where this custom
|
479
|
+
# vocabulary is used. The string must match one of the supported
|
480
|
+
# locales. For more information, see [ Supported Languages ][1].
|
481
|
+
#
|
482
|
+
#
|
483
|
+
#
|
484
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
461
485
|
# @return [String]
|
462
486
|
#
|
463
487
|
# @!attribute [rw] errors
|
464
|
-
#
|
465
|
-
#
|
488
|
+
# A list of custom vocabulary items that failed to update during the
|
489
|
+
# operation. The reason for the error is contained within each error
|
490
|
+
# object.
|
466
491
|
# @return [Array<Types::FailedCustomVocabularyItem>]
|
467
492
|
#
|
468
493
|
# @!attribute [rw] resources
|
469
|
-
#
|
470
|
-
#
|
494
|
+
# A list of custom vocabulary items that were successfully updated
|
495
|
+
# during the operation.
|
471
496
|
# @return [Array<Types::CustomVocabularyItem>]
|
472
497
|
#
|
473
498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchUpdateCustomVocabularyItemResponse AWS API Documentation
|
@@ -533,7 +558,7 @@ module Aws::LexModelsV2
|
|
533
558
|
#
|
534
559
|
#
|
535
560
|
#
|
536
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
561
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotAliases.html
|
537
562
|
#
|
538
563
|
# @!attribute [rw] bot_alias_id
|
539
564
|
# The unique identifier assigned to the bot alias. You can use this ID
|
@@ -542,7 +567,7 @@ module Aws::LexModelsV2
|
|
542
567
|
#
|
543
568
|
#
|
544
569
|
#
|
545
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
570
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBotAlias.html
|
546
571
|
# @return [String]
|
547
572
|
#
|
548
573
|
# @!attribute [rw] bot_alias_name
|
@@ -846,7 +871,7 @@ module Aws::LexModelsV2
|
|
846
871
|
#
|
847
872
|
#
|
848
873
|
#
|
849
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
874
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotLocales.html
|
850
875
|
#
|
851
876
|
# @!attribute [rw] locale_id
|
852
877
|
# The language and locale of the bot locale.
|
@@ -887,6 +912,40 @@ module Aws::LexModelsV2
|
|
887
912
|
include Aws::Structure
|
888
913
|
end
|
889
914
|
|
915
|
+
# A bot that is a member of a network of bots.
|
916
|
+
#
|
917
|
+
# @!attribute [rw] bot_member_id
|
918
|
+
# The unique ID of a bot that is a member of this network of bots.
|
919
|
+
# @return [String]
|
920
|
+
#
|
921
|
+
# @!attribute [rw] bot_member_name
|
922
|
+
# The unique name of a bot that is a member of this network of bots.
|
923
|
+
# @return [String]
|
924
|
+
#
|
925
|
+
# @!attribute [rw] bot_member_alias_id
|
926
|
+
# The alias ID of a bot that is a member of this network of bots.
|
927
|
+
# @return [String]
|
928
|
+
#
|
929
|
+
# @!attribute [rw] bot_member_alias_name
|
930
|
+
# The alias name of a bot that is a member of this network of bots.
|
931
|
+
# @return [String]
|
932
|
+
#
|
933
|
+
# @!attribute [rw] bot_member_version
|
934
|
+
# The version of a bot that is a member of this network of bots.
|
935
|
+
# @return [String]
|
936
|
+
#
|
937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotMember AWS API Documentation
|
938
|
+
#
|
939
|
+
class BotMember < Struct.new(
|
940
|
+
:bot_member_id,
|
941
|
+
:bot_member_name,
|
942
|
+
:bot_member_alias_id,
|
943
|
+
:bot_member_alias_name,
|
944
|
+
:bot_member_version)
|
945
|
+
SENSITIVE = []
|
946
|
+
include Aws::Structure
|
947
|
+
end
|
948
|
+
|
890
949
|
# A statistical summary of the bot recommendation results.
|
891
950
|
#
|
892
951
|
# @!attribute [rw] intents
|
@@ -992,7 +1051,7 @@ module Aws::LexModelsV2
|
|
992
1051
|
#
|
993
1052
|
#
|
994
1053
|
#
|
995
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
1054
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBots.html
|
996
1055
|
#
|
997
1056
|
# @!attribute [rw] bot_id
|
998
1057
|
# The unique identifier assigned to the bot. Use this ID to get
|
@@ -1001,7 +1060,7 @@ module Aws::LexModelsV2
|
|
1001
1060
|
#
|
1002
1061
|
#
|
1003
1062
|
#
|
1004
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
1063
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBot.html
|
1005
1064
|
# @return [String]
|
1006
1065
|
#
|
1007
1066
|
# @!attribute [rw] bot_name
|
@@ -1025,6 +1084,10 @@ module Aws::LexModelsV2
|
|
1025
1084
|
# The date and time that the bot was last updated.
|
1026
1085
|
# @return [Time]
|
1027
1086
|
#
|
1087
|
+
# @!attribute [rw] bot_type
|
1088
|
+
# The type of the bot.
|
1089
|
+
# @return [String]
|
1090
|
+
#
|
1028
1091
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotSummary AWS API Documentation
|
1029
1092
|
#
|
1030
1093
|
class BotSummary < Struct.new(
|
@@ -1033,7 +1096,8 @@ module Aws::LexModelsV2
|
|
1033
1096
|
:description,
|
1034
1097
|
:bot_status,
|
1035
1098
|
:latest_bot_version,
|
1036
|
-
:last_updated_date_time
|
1099
|
+
:last_updated_date_time,
|
1100
|
+
:bot_type)
|
1037
1101
|
SENSITIVE = []
|
1038
1102
|
include Aws::Structure
|
1039
1103
|
end
|
@@ -1077,7 +1141,7 @@ module Aws::LexModelsV2
|
|
1077
1141
|
#
|
1078
1142
|
#
|
1079
1143
|
#
|
1080
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
1144
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotVersions.html
|
1081
1145
|
#
|
1082
1146
|
# @!attribute [rw] bot_name
|
1083
1147
|
# The name of the bot associated with the version.
|
@@ -1119,7 +1183,7 @@ module Aws::LexModelsV2
|
|
1119
1183
|
#
|
1120
1184
|
#
|
1121
1185
|
#
|
1122
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
1186
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html
|
1123
1187
|
# @return [String]
|
1124
1188
|
#
|
1125
1189
|
# @!attribute [rw] bot_version
|
@@ -1210,7 +1274,7 @@ module Aws::LexModelsV2
|
|
1210
1274
|
#
|
1211
1275
|
#
|
1212
1276
|
#
|
1213
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
1277
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInIntents.html
|
1214
1278
|
#
|
1215
1279
|
# @!attribute [rw] intent_signature
|
1216
1280
|
# The signature of the built-in intent. Use this to specify the parent
|
@@ -1254,7 +1318,7 @@ module Aws::LexModelsV2
|
|
1254
1318
|
#
|
1255
1319
|
#
|
1256
1320
|
#
|
1257
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
1321
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInSlotTypes.html
|
1258
1322
|
#
|
1259
1323
|
# @!attribute [rw] slot_type_signature
|
1260
1324
|
# The signature of the built-in slot type. Use this to specify the
|
@@ -1480,7 +1544,7 @@ module Aws::LexModelsV2
|
|
1480
1544
|
#
|
1481
1545
|
#
|
1482
1546
|
#
|
1483
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
1547
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_UpdateBotAlias.html
|
1484
1548
|
# @return [String]
|
1485
1549
|
#
|
1486
1550
|
# @!attribute [rw] bot_alias_locale_settings
|
@@ -1770,6 +1834,14 @@ module Aws::LexModelsV2
|
|
1770
1834
|
# `TagResource` operation.
|
1771
1835
|
# @return [Hash<String,String>]
|
1772
1836
|
#
|
1837
|
+
# @!attribute [rw] bot_type
|
1838
|
+
# The type of a bot to create.
|
1839
|
+
# @return [String]
|
1840
|
+
#
|
1841
|
+
# @!attribute [rw] bot_members
|
1842
|
+
# The list of bot members in a network to be created.
|
1843
|
+
# @return [Array<Types::BotMember>]
|
1844
|
+
#
|
1773
1845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotRequest AWS API Documentation
|
1774
1846
|
#
|
1775
1847
|
class CreateBotRequest < Struct.new(
|
@@ -1779,7 +1851,9 @@ module Aws::LexModelsV2
|
|
1779
1851
|
:data_privacy,
|
1780
1852
|
:idle_session_ttl_in_seconds,
|
1781
1853
|
:bot_tags,
|
1782
|
-
:test_bot_alias_tags
|
1854
|
+
:test_bot_alias_tags,
|
1855
|
+
:bot_type,
|
1856
|
+
:bot_members)
|
1783
1857
|
SENSITIVE = []
|
1784
1858
|
include Aws::Structure
|
1785
1859
|
end
|
@@ -1813,7 +1887,7 @@ module Aws::LexModelsV2
|
|
1813
1887
|
# Shows the current status of the bot. The bot is first in the
|
1814
1888
|
# `Creating` status. Once the bot is read for use, it changes to the
|
1815
1889
|
# `Available` status. After the bot is created, you can use the
|
1816
|
-
# `
|
1890
|
+
# `DRAFT` version of the bot.
|
1817
1891
|
# @return [String]
|
1818
1892
|
#
|
1819
1893
|
# @!attribute [rw] creation_date_time
|
@@ -1828,6 +1902,14 @@ module Aws::LexModelsV2
|
|
1828
1902
|
# A list of tags associated with the test alias for the bot.
|
1829
1903
|
# @return [Hash<String,String>]
|
1830
1904
|
#
|
1905
|
+
# @!attribute [rw] bot_type
|
1906
|
+
# The type of a bot that was created.
|
1907
|
+
# @return [String]
|
1908
|
+
#
|
1909
|
+
# @!attribute [rw] bot_members
|
1910
|
+
# The list of bots in a network that was created.
|
1911
|
+
# @return [Array<Types::BotMember>]
|
1912
|
+
#
|
1831
1913
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotResponse AWS API Documentation
|
1832
1914
|
#
|
1833
1915
|
class CreateBotResponse < Struct.new(
|
@@ -1840,7 +1922,9 @@ module Aws::LexModelsV2
|
|
1840
1922
|
:bot_status,
|
1841
1923
|
:creation_date_time,
|
1842
1924
|
:bot_tags,
|
1843
|
-
:test_bot_alias_tags
|
1925
|
+
:test_bot_alias_tags,
|
1926
|
+
:bot_type,
|
1927
|
+
:bot_members)
|
1844
1928
|
SENSITIVE = []
|
1845
1929
|
include Aws::Structure
|
1846
1930
|
end
|
@@ -1956,7 +2040,7 @@ module Aws::LexModelsV2
|
|
1956
2040
|
#
|
1957
2041
|
#
|
1958
2042
|
#
|
1959
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
2043
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html
|
1960
2044
|
# @return [String]
|
1961
2045
|
#
|
1962
2046
|
# @!attribute [rw] creation_date_time
|
@@ -2694,7 +2778,7 @@ module Aws::LexModelsV2
|
|
2694
2778
|
#
|
2695
2779
|
#
|
2696
2780
|
#
|
2697
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
2781
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_StartImport.html
|
2698
2782
|
# @return [String]
|
2699
2783
|
#
|
2700
2784
|
# @!attribute [rw] upload_url
|
@@ -2809,7 +2893,7 @@ module Aws::LexModelsV2
|
|
2809
2893
|
# @return [Integer]
|
2810
2894
|
#
|
2811
2895
|
# @!attribute [rw] display_as
|
2812
|
-
# The
|
2896
|
+
# The DisplayAs value for the custom vocabulary item from the custom
|
2813
2897
|
# vocabulary list.
|
2814
2898
|
# @return [String]
|
2815
2899
|
#
|
@@ -2951,8 +3035,11 @@ module Aws::LexModelsV2
|
|
2951
3035
|
# @return [String]
|
2952
3036
|
#
|
2953
3037
|
# @!attribute [rw] skip_resource_in_use_check
|
2954
|
-
#
|
2955
|
-
#
|
3038
|
+
# By default, Amazon Lex checks if any other resource, such as a bot
|
3039
|
+
# network, is using the bot alias before it is deleted and throws a
|
3040
|
+
# `ResourceInUseException` exception if the alias is being used by
|
3041
|
+
# another resource. Set this parameter to `true` to skip this check
|
3042
|
+
# and remove the alias even if it is being used by another resource.
|
2956
3043
|
# @return [Boolean]
|
2957
3044
|
#
|
2958
3045
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotAliasRequest AWS API Documentation
|
@@ -3052,8 +3139,12 @@ module Aws::LexModelsV2
|
|
3052
3139
|
# @return [String]
|
3053
3140
|
#
|
3054
3141
|
# @!attribute [rw] skip_resource_in_use_check
|
3055
|
-
#
|
3056
|
-
#
|
3142
|
+
# By default, Amazon Lex checks if any other resource, such as an
|
3143
|
+
# alias or bot network, is using the bot version before it is deleted
|
3144
|
+
# and throws a `ResourceInUseException` exception if the bot is being
|
3145
|
+
# used by another resource. Set this parameter to `true` to skip this
|
3146
|
+
# check and remove the bot even if it is being used by another
|
3147
|
+
# resource.
|
3057
3148
|
# @return [Boolean]
|
3058
3149
|
#
|
3059
3150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotRequest AWS API Documentation
|
@@ -3092,11 +3183,12 @@ module Aws::LexModelsV2
|
|
3092
3183
|
# @return [String]
|
3093
3184
|
#
|
3094
3185
|
# @!attribute [rw] skip_resource_in_use_check
|
3095
|
-
# By default,
|
3096
|
-
#
|
3097
|
-
#
|
3098
|
-
#
|
3099
|
-
# remove the version even if
|
3186
|
+
# By default, Amazon Lex checks if any other resource, such as an
|
3187
|
+
# alias or bot network, is using the bot version before it is deleted
|
3188
|
+
# and throws a `ResourceInUseException` exception if the version is
|
3189
|
+
# being used by another resource. Set this parameter to `true` to skip
|
3190
|
+
# this check and remove the version even if it is being used by
|
3191
|
+
# another resource.
|
3100
3192
|
# @return [Boolean]
|
3101
3193
|
#
|
3102
3194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotVersionRequest AWS API Documentation
|
@@ -3208,8 +3300,8 @@ module Aws::LexModelsV2
|
|
3208
3300
|
#
|
3209
3301
|
#
|
3210
3302
|
#
|
3211
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
3212
|
-
# [2]: https://docs.aws.amazon.com/lexv2/latest/
|
3303
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html
|
3304
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html
|
3213
3305
|
# @return [String]
|
3214
3306
|
#
|
3215
3307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExportResponse AWS API Documentation
|
@@ -3245,8 +3337,8 @@ module Aws::LexModelsV2
|
|
3245
3337
|
#
|
3246
3338
|
#
|
3247
3339
|
#
|
3248
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
3249
|
-
# [2]: https://docs.aws.amazon.com/lexv2/latest/
|
3340
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html
|
3341
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeImport.html
|
3250
3342
|
# @return [String]
|
3251
3343
|
#
|
3252
3344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImportResponse AWS API Documentation
|
@@ -3483,8 +3575,8 @@ module Aws::LexModelsV2
|
|
3483
3575
|
#
|
3484
3576
|
#
|
3485
3577
|
#
|
3486
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
3487
|
-
# [2]: https://docs.aws.amazon.com/lexv2/latest/
|
3578
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeText.html
|
3579
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html
|
3488
3580
|
# @return [String]
|
3489
3581
|
#
|
3490
3582
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterancesRequest AWS API Documentation
|
@@ -3570,6 +3662,10 @@ module Aws::LexModelsV2
|
|
3570
3662
|
# A timestamp of the date and time that the alias was last updated.
|
3571
3663
|
# @return [Time]
|
3572
3664
|
#
|
3665
|
+
# @!attribute [rw] parent_bot_networks
|
3666
|
+
# A list of the networks to which the bot alias you described belongs.
|
3667
|
+
# @return [Array<Types::ParentBotNetwork>]
|
3668
|
+
#
|
3573
3669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotAliasResponse AWS API Documentation
|
3574
3670
|
#
|
3575
3671
|
class DescribeBotAliasResponse < Struct.new(
|
@@ -3584,7 +3680,8 @@ module Aws::LexModelsV2
|
|
3584
3680
|
:bot_alias_status,
|
3585
3681
|
:bot_id,
|
3586
3682
|
:creation_date_time,
|
3587
|
-
:last_updated_date_time
|
3683
|
+
:last_updated_date_time,
|
3684
|
+
:parent_bot_networks)
|
3588
3685
|
SENSITIVE = []
|
3589
3686
|
include Aws::Structure
|
3590
3687
|
end
|
@@ -3866,6 +3963,19 @@ module Aws::LexModelsV2
|
|
3866
3963
|
# A timestamp of the date and time that the bot was last updated.
|
3867
3964
|
# @return [Time]
|
3868
3965
|
#
|
3966
|
+
# @!attribute [rw] bot_type
|
3967
|
+
# The type of the bot that was described.
|
3968
|
+
# @return [String]
|
3969
|
+
#
|
3970
|
+
# @!attribute [rw] bot_members
|
3971
|
+
# The list of bots in the network that was described.
|
3972
|
+
# @return [Array<Types::BotMember>]
|
3973
|
+
#
|
3974
|
+
# @!attribute [rw] failure_reasons
|
3975
|
+
# If the `botStatus` is `Failed`, this contains a list of reasons that
|
3976
|
+
# the bot couldn't be built.
|
3977
|
+
# @return [Array<String>]
|
3978
|
+
#
|
3869
3979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotResponse AWS API Documentation
|
3870
3980
|
#
|
3871
3981
|
class DescribeBotResponse < Struct.new(
|
@@ -3877,7 +3987,10 @@ module Aws::LexModelsV2
|
|
3877
3987
|
:idle_session_ttl_in_seconds,
|
3878
3988
|
:bot_status,
|
3879
3989
|
:creation_date_time,
|
3880
|
-
:last_updated_date_time
|
3990
|
+
:last_updated_date_time,
|
3991
|
+
:bot_type,
|
3992
|
+
:bot_members,
|
3993
|
+
:failure_reasons)
|
3881
3994
|
SENSITIVE = []
|
3882
3995
|
include Aws::Structure
|
3883
3996
|
end
|
@@ -3909,7 +4022,7 @@ module Aws::LexModelsV2
|
|
3909
4022
|
# @return [String]
|
3910
4023
|
#
|
3911
4024
|
# @!attribute [rw] bot_version
|
3912
|
-
# The version of the bot
|
4025
|
+
# The version of the bot that was described.
|
3913
4026
|
# @return [String]
|
3914
4027
|
#
|
3915
4028
|
# @!attribute [rw] description
|
@@ -3944,6 +4057,19 @@ module Aws::LexModelsV2
|
|
3944
4057
|
# A timestamp of the date and time that the bot version was created.
|
3945
4058
|
# @return [Time]
|
3946
4059
|
#
|
4060
|
+
# @!attribute [rw] parent_bot_networks
|
4061
|
+
# A list of the networks to which the bot version you described
|
4062
|
+
# belongs.
|
4063
|
+
# @return [Array<Types::ParentBotNetwork>]
|
4064
|
+
#
|
4065
|
+
# @!attribute [rw] bot_type
|
4066
|
+
# The type of the bot in the version that was described.
|
4067
|
+
# @return [String]
|
4068
|
+
#
|
4069
|
+
# @!attribute [rw] bot_members
|
4070
|
+
# The members of bot network in the version that was described.
|
4071
|
+
# @return [Array<Types::BotMember>]
|
4072
|
+
#
|
3947
4073
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotVersionResponse AWS API Documentation
|
3948
4074
|
#
|
3949
4075
|
class DescribeBotVersionResponse < Struct.new(
|
@@ -3956,7 +4082,10 @@ module Aws::LexModelsV2
|
|
3956
4082
|
:idle_session_ttl_in_seconds,
|
3957
4083
|
:bot_status,
|
3958
4084
|
:failure_reasons,
|
3959
|
-
:creation_date_time
|
4085
|
+
:creation_date_time,
|
4086
|
+
:parent_bot_networks,
|
4087
|
+
:bot_type,
|
4088
|
+
:bot_members)
|
3960
4089
|
SENSITIVE = []
|
3961
4090
|
include Aws::Structure
|
3962
4091
|
end
|
@@ -4732,7 +4861,7 @@ module Aws::LexModelsV2
|
|
4732
4861
|
#
|
4733
4862
|
#
|
4734
4863
|
#
|
4735
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
4864
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html
|
4736
4865
|
#
|
4737
4866
|
# @!attribute [rw] name
|
4738
4867
|
# The name of the field to use for filtering.
|
@@ -5104,7 +5233,7 @@ module Aws::LexModelsV2
|
|
5104
5233
|
#
|
5105
5234
|
#
|
5106
5235
|
#
|
5107
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
5236
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html
|
5108
5237
|
#
|
5109
5238
|
# @!attribute [rw] name
|
5110
5239
|
# The name of the field to use for filtering.
|
@@ -6278,8 +6407,8 @@ module Aws::LexModelsV2
|
|
6278
6407
|
end
|
6279
6408
|
|
6280
6409
|
# @!attribute [rw] bot_id
|
6281
|
-
# The
|
6282
|
-
#
|
6410
|
+
# The identifier of the version of the bot associated with this custom
|
6411
|
+
# vocabulary.
|
6283
6412
|
# @return [String]
|
6284
6413
|
#
|
6285
6414
|
# @!attribute [rw] bot_version
|
@@ -6287,12 +6416,14 @@ module Aws::LexModelsV2
|
|
6287
6416
|
# @return [String]
|
6288
6417
|
#
|
6289
6418
|
# @!attribute [rw] locale_id
|
6290
|
-
# The
|
6291
|
-
#
|
6419
|
+
# The identifier of the language and locale where this custom
|
6420
|
+
# vocabulary is used. The string must match one of the supported
|
6421
|
+
# locales. For more information, see Supported languages
|
6422
|
+
# (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
|
6292
6423
|
# @return [String]
|
6293
6424
|
#
|
6294
6425
|
# @!attribute [rw] max_results
|
6295
|
-
# The maximum
|
6426
|
+
# The maximum number of items returned by the list operation.
|
6296
6427
|
# @return [Integer]
|
6297
6428
|
#
|
6298
6429
|
# @!attribute [rw] next_token
|
@@ -6312,17 +6443,22 @@ module Aws::LexModelsV2
|
|
6312
6443
|
end
|
6313
6444
|
|
6314
6445
|
# @!attribute [rw] bot_id
|
6315
|
-
# The
|
6316
|
-
# response.
|
6446
|
+
# The identifier of the bot associated with this custom vocabulary.
|
6317
6447
|
# @return [String]
|
6318
6448
|
#
|
6319
6449
|
# @!attribute [rw] bot_version
|
6320
|
-
# The
|
6450
|
+
# The identifier of the version of the bot associated with this custom
|
6451
|
+
# vocabulary.
|
6321
6452
|
# @return [String]
|
6322
6453
|
#
|
6323
6454
|
# @!attribute [rw] locale_id
|
6324
|
-
# The
|
6325
|
-
#
|
6455
|
+
# The identifier of the language and locale where this custom
|
6456
|
+
# vocabulary is used. The string must match one of the supported
|
6457
|
+
# locales. For more information, see [ Supported Languages ][1].
|
6458
|
+
#
|
6459
|
+
#
|
6460
|
+
#
|
6461
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
6326
6462
|
# @return [String]
|
6327
6463
|
#
|
6328
6464
|
# @!attribute [rw] custom_vocabulary_items
|
@@ -7107,6 +7243,25 @@ module Aws::LexModelsV2
|
|
7107
7243
|
include Aws::Structure
|
7108
7244
|
end
|
7109
7245
|
|
7246
|
+
# A network of bots.
|
7247
|
+
#
|
7248
|
+
# @!attribute [rw] bot_id
|
7249
|
+
# The identifier of the network of bots assigned by Amazon Lex.
|
7250
|
+
# @return [String]
|
7251
|
+
#
|
7252
|
+
# @!attribute [rw] bot_version
|
7253
|
+
# The version of the network of bots.
|
7254
|
+
# @return [String]
|
7255
|
+
#
|
7256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ParentBotNetwork AWS API Documentation
|
7257
|
+
#
|
7258
|
+
class ParentBotNetwork < Struct.new(
|
7259
|
+
:bot_id,
|
7260
|
+
:bot_version)
|
7261
|
+
SENSITIVE = []
|
7262
|
+
include Aws::Structure
|
7263
|
+
end
|
7264
|
+
|
7110
7265
|
# The object that contains a path format that will be applied when
|
7111
7266
|
# Amazon Lex reads the transcript file in the bucket you provide.
|
7112
7267
|
# Specify this object if you only want Lex to read a subset of files in
|
@@ -8388,7 +8543,7 @@ module Aws::LexModelsV2
|
|
8388
8543
|
#
|
8389
8544
|
#
|
8390
8545
|
#
|
8391
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
8546
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html
|
8392
8547
|
# @return [String]
|
8393
8548
|
#
|
8394
8549
|
# @!attribute [rw] resource_specification
|
@@ -8729,6 +8884,7 @@ module Aws::LexModelsV2
|
|
8729
8884
|
# Your request rate is too high. Reduce the frequency of requests.
|
8730
8885
|
#
|
8731
8886
|
# @!attribute [rw] retry_after_seconds
|
8887
|
+
# The number of seconds after which the user can invoke the API again.
|
8732
8888
|
# @return [Integer]
|
8733
8889
|
#
|
8734
8890
|
# @!attribute [rw] message
|
@@ -9149,7 +9305,7 @@ module Aws::LexModelsV2
|
|
9149
9305
|
#
|
9150
9306
|
#
|
9151
9307
|
#
|
9152
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
9308
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html
|
9153
9309
|
# @return [String]
|
9154
9310
|
#
|
9155
9311
|
# @!attribute [rw] bot_name
|
@@ -9182,6 +9338,15 @@ module Aws::LexModelsV2
|
|
9182
9338
|
# You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
|
9183
9339
|
# @return [Integer]
|
9184
9340
|
#
|
9341
|
+
# @!attribute [rw] bot_type
|
9342
|
+
# The type of the bot to be updated.
|
9343
|
+
# @return [String]
|
9344
|
+
#
|
9345
|
+
# @!attribute [rw] bot_members
|
9346
|
+
# The list of bot members in the network associated with the update
|
9347
|
+
# action.
|
9348
|
+
# @return [Array<Types::BotMember>]
|
9349
|
+
#
|
9185
9350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRequest AWS API Documentation
|
9186
9351
|
#
|
9187
9352
|
class UpdateBotRequest < Struct.new(
|
@@ -9190,7 +9355,9 @@ module Aws::LexModelsV2
|
|
9190
9355
|
:description,
|
9191
9356
|
:role_arn,
|
9192
9357
|
:data_privacy,
|
9193
|
-
:idle_session_ttl_in_seconds
|
9358
|
+
:idle_session_ttl_in_seconds,
|
9359
|
+
:bot_type,
|
9360
|
+
:bot_members)
|
9194
9361
|
SENSITIVE = []
|
9195
9362
|
include Aws::Structure
|
9196
9363
|
end
|
@@ -9235,6 +9402,14 @@ module Aws::LexModelsV2
|
|
9235
9402
|
# A timestamp of the date and time that the bot was last updated.
|
9236
9403
|
# @return [Time]
|
9237
9404
|
#
|
9405
|
+
# @!attribute [rw] bot_type
|
9406
|
+
# The type of the bot that was updated.
|
9407
|
+
# @return [String]
|
9408
|
+
#
|
9409
|
+
# @!attribute [rw] bot_members
|
9410
|
+
# The list of bot members in the network that was updated.
|
9411
|
+
# @return [Array<Types::BotMember>]
|
9412
|
+
#
|
9238
9413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotResponse AWS API Documentation
|
9239
9414
|
#
|
9240
9415
|
class UpdateBotResponse < Struct.new(
|
@@ -9246,7 +9421,9 @@ module Aws::LexModelsV2
|
|
9246
9421
|
:idle_session_ttl_in_seconds,
|
9247
9422
|
:bot_status,
|
9248
9423
|
:creation_date_time,
|
9249
|
-
:last_updated_date_time
|
9424
|
+
:last_updated_date_time,
|
9425
|
+
:bot_type,
|
9426
|
+
:bot_members)
|
9250
9427
|
SENSITIVE = []
|
9251
9428
|
include Aws::Structure
|
9252
9429
|
end
|