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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59148341d1c1a2ffdb56ac5859a660bff69ce597d97f7bcf8ad42bc5319a3cbf
|
4
|
+
data.tar.gz: 8682e7bf66c18076343300b8d05b20bb006b248b8c60187559df229e3304723e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc95c294d5676ffff2f3c6cd715362488d622079efd8fc6cd5ff951def25a546f499a2072f492cb108350c6e520c165605258131d01fc90f118f7fbc00cb0d51
|
7
|
+
data.tar.gz: 48b1abf2448494e6d8e520d6a8e5041803ec7e7b8271c65363bf511c0e668cd5227e3df98933eb949eae41359ce76ffd50ebdd439e22b018f89ac4be18a6616f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
@@ -368,24 +368,28 @@ module Aws::LexModelsV2
|
|
368
368
|
|
369
369
|
# @!group API Operations
|
370
370
|
|
371
|
-
#
|
372
|
-
#
|
371
|
+
# Create a batch of custom vocabulary items for a given bot locale's
|
372
|
+
# custom vocabulary.
|
373
373
|
#
|
374
374
|
# @option params [required, String] :bot_id
|
375
|
-
# The
|
376
|
-
# item for.
|
375
|
+
# The identifier of the bot associated with this custom vocabulary.
|
377
376
|
#
|
378
377
|
# @option params [required, String] :bot_version
|
379
|
-
# The
|
380
|
-
#
|
378
|
+
# The identifier of the version of the bot associated with this custom
|
379
|
+
# vocabulary.
|
381
380
|
#
|
382
381
|
# @option params [required, String] :locale_id
|
383
|
-
# The
|
384
|
-
#
|
382
|
+
# The identifier of the language and locale where this custom vocabulary
|
383
|
+
# is used. The string must match one of the supported locales. For more
|
384
|
+
# information, see [ Supported Languages ][1].
|
385
|
+
#
|
386
|
+
#
|
387
|
+
#
|
388
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
385
389
|
#
|
386
390
|
# @option params [required, Array<Types::NewCustomVocabularyItem>] :custom_vocabulary_item_list
|
387
|
-
#
|
388
|
-
#
|
391
|
+
# A list of new custom vocabulary items. Each entry must contain a
|
392
|
+
# phrase and can optionally contain a displayAs and/or a weight.
|
389
393
|
#
|
390
394
|
# @return [Types::BatchCreateCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
391
395
|
#
|
@@ -434,24 +438,28 @@ module Aws::LexModelsV2
|
|
434
438
|
req.send_request(options)
|
435
439
|
end
|
436
440
|
|
437
|
-
#
|
438
|
-
#
|
441
|
+
# Delete a batch of custom vocabulary items for a given bot locale's
|
442
|
+
# custom vocabulary.
|
439
443
|
#
|
440
444
|
# @option params [required, String] :bot_id
|
441
|
-
# The
|
442
|
-
# custom vocabulary item.
|
445
|
+
# The identifier of the bot associated with this custom vocabulary.
|
443
446
|
#
|
444
447
|
# @option params [required, String] :bot_version
|
445
|
-
# The
|
446
|
-
# vocabulary
|
448
|
+
# The identifier of the version of the bot associated with this custom
|
449
|
+
# vocabulary.
|
447
450
|
#
|
448
451
|
# @option params [required, String] :locale_id
|
449
|
-
# The
|
450
|
-
#
|
452
|
+
# The identifier of the language and locale where this custom vocabulary
|
453
|
+
# is used. The string must match one of the supported locales. For more
|
454
|
+
# information, see [ Supported Languages ][1].
|
455
|
+
#
|
456
|
+
#
|
457
|
+
#
|
458
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
451
459
|
#
|
452
460
|
# @option params [required, Array<Types::CustomVocabularyEntryId>] :custom_vocabulary_item_list
|
453
|
-
#
|
454
|
-
# vocabulary
|
461
|
+
# A list of custom vocabulary items requested to be deleted. Each entry
|
462
|
+
# must contain the unique custom vocabulary entry identifier.
|
455
463
|
#
|
456
464
|
# @return [Types::BatchDeleteCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
457
465
|
#
|
@@ -498,24 +506,29 @@ module Aws::LexModelsV2
|
|
498
506
|
req.send_request(options)
|
499
507
|
end
|
500
508
|
|
501
|
-
#
|
502
|
-
#
|
509
|
+
# Update a batch of custom vocabulary items for a given bot locale's
|
510
|
+
# custom vocabulary.
|
503
511
|
#
|
504
512
|
# @option params [required, String] :bot_id
|
505
|
-
# The
|
506
|
-
# custom vocabulary item.
|
513
|
+
# The identifier of the bot associated with this custom vocabulary
|
507
514
|
#
|
508
515
|
# @option params [required, String] :bot_version
|
509
|
-
# The
|
510
|
-
# vocabulary
|
516
|
+
# The identifier of the version of the bot associated with this custom
|
517
|
+
# vocabulary.
|
511
518
|
#
|
512
519
|
# @option params [required, String] :locale_id
|
513
|
-
# The
|
514
|
-
#
|
520
|
+
# The identifier of the language and locale where this custom vocabulary
|
521
|
+
# is used. The string must match one of the supported locales. For more
|
522
|
+
# information, see [ Supported Languages ][1].
|
523
|
+
#
|
524
|
+
#
|
525
|
+
#
|
526
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
515
527
|
#
|
516
528
|
# @option params [required, Array<Types::CustomVocabularyItem>] :custom_vocabulary_item_list
|
517
|
-
#
|
518
|
-
#
|
529
|
+
# A list of custom vocabulary items with updated fields. Each entry must
|
530
|
+
# contain a phrase and can optionally contain a displayAs and/or a
|
531
|
+
# weight.
|
519
532
|
#
|
520
533
|
# @return [Types::BatchUpdateCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
521
534
|
#
|
@@ -575,7 +588,7 @@ module Aws::LexModelsV2
|
|
575
588
|
#
|
576
589
|
#
|
577
590
|
#
|
578
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
591
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html
|
579
592
|
#
|
580
593
|
# @option params [required, String] :bot_version
|
581
594
|
# The version of the bot to build. This can only be the draft version of
|
@@ -663,6 +676,12 @@ module Aws::LexModelsV2
|
|
663
676
|
# to update tags. To update tags on the test alias, use the
|
664
677
|
# `TagResource` operation.
|
665
678
|
#
|
679
|
+
# @option params [String] :bot_type
|
680
|
+
# The type of a bot to create.
|
681
|
+
#
|
682
|
+
# @option params [Array<Types::BotMember>] :bot_members
|
683
|
+
# The list of bot members in a network to be created.
|
684
|
+
#
|
666
685
|
# @return [Types::CreateBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
667
686
|
#
|
668
687
|
# * {Types::CreateBotResponse#bot_id #bot_id} => String
|
@@ -675,6 +694,8 @@ module Aws::LexModelsV2
|
|
675
694
|
# * {Types::CreateBotResponse#creation_date_time #creation_date_time} => Time
|
676
695
|
# * {Types::CreateBotResponse#bot_tags #bot_tags} => Hash<String,String>
|
677
696
|
# * {Types::CreateBotResponse#test_bot_alias_tags #test_bot_alias_tags} => Hash<String,String>
|
697
|
+
# * {Types::CreateBotResponse#bot_type #bot_type} => String
|
698
|
+
# * {Types::CreateBotResponse#bot_members #bot_members} => Array<Types::BotMember>
|
678
699
|
#
|
679
700
|
# @example Request syntax with placeholder values
|
680
701
|
#
|
@@ -692,6 +713,16 @@ module Aws::LexModelsV2
|
|
692
713
|
# test_bot_alias_tags: {
|
693
714
|
# "TagKey" => "TagValue",
|
694
715
|
# },
|
716
|
+
# bot_type: "Bot", # accepts Bot, BotNetwork
|
717
|
+
# bot_members: [
|
718
|
+
# {
|
719
|
+
# bot_member_id: "Id", # required
|
720
|
+
# bot_member_name: "Name", # required
|
721
|
+
# bot_member_alias_id: "BotAliasId", # required
|
722
|
+
# bot_member_alias_name: "BotAliasName", # required
|
723
|
+
# bot_member_version: "BotVersion", # required
|
724
|
+
# },
|
725
|
+
# ],
|
695
726
|
# })
|
696
727
|
#
|
697
728
|
# @example Response structure
|
@@ -702,12 +733,19 @@ module Aws::LexModelsV2
|
|
702
733
|
# resp.role_arn #=> String
|
703
734
|
# resp.data_privacy.child_directed #=> Boolean
|
704
735
|
# resp.idle_session_ttl_in_seconds #=> Integer
|
705
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
736
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
706
737
|
# resp.creation_date_time #=> Time
|
707
738
|
# resp.bot_tags #=> Hash
|
708
739
|
# resp.bot_tags["TagKey"] #=> String
|
709
740
|
# resp.test_bot_alias_tags #=> Hash
|
710
741
|
# resp.test_bot_alias_tags["TagKey"] #=> String
|
742
|
+
# resp.bot_type #=> String, one of "Bot", "BotNetwork"
|
743
|
+
# resp.bot_members #=> Array
|
744
|
+
# resp.bot_members[0].bot_member_id #=> String
|
745
|
+
# resp.bot_members[0].bot_member_name #=> String
|
746
|
+
# resp.bot_members[0].bot_member_alias_id #=> String
|
747
|
+
# resp.bot_members[0].bot_member_alias_name #=> String
|
748
|
+
# resp.bot_members[0].bot_member_version #=> String
|
711
749
|
#
|
712
750
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBot AWS API Documentation
|
713
751
|
#
|
@@ -739,7 +777,7 @@ module Aws::LexModelsV2
|
|
739
777
|
#
|
740
778
|
#
|
741
779
|
#
|
742
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
780
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_UpdateBotAlias.html
|
743
781
|
#
|
744
782
|
# @option params [Hash<String,Types::BotAliasLocaleSettings>] :bot_alias_locale_settings
|
745
783
|
# Maps configuration information to a specific locale. You can use this
|
@@ -1013,7 +1051,7 @@ module Aws::LexModelsV2
|
|
1013
1051
|
# resp.bot_version #=> String
|
1014
1052
|
# resp.bot_version_locale_specification #=> Hash
|
1015
1053
|
# resp.bot_version_locale_specification["LocaleId"].source_bot_version #=> String
|
1016
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
1054
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
1017
1055
|
# resp.creation_date_time #=> Time
|
1018
1056
|
#
|
1019
1057
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotVersion AWS API Documentation
|
@@ -2439,8 +2477,11 @@ module Aws::LexModelsV2
|
|
2439
2477
|
# The identifier of the bot to delete.
|
2440
2478
|
#
|
2441
2479
|
# @option params [Boolean] :skip_resource_in_use_check
|
2442
|
-
#
|
2443
|
-
#
|
2480
|
+
# By default, Amazon Lex checks if any other resource, such as an alias
|
2481
|
+
# or bot network, is using the bot version before it is deleted and
|
2482
|
+
# throws a `ResourceInUseException` exception if the bot is being used
|
2483
|
+
# by another resource. Set this parameter to `true` to skip this check
|
2484
|
+
# and remove the bot even if it is being used by another resource.
|
2444
2485
|
#
|
2445
2486
|
# @return [Types::DeleteBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2446
2487
|
#
|
@@ -2457,7 +2498,7 @@ module Aws::LexModelsV2
|
|
2457
2498
|
# @example Response structure
|
2458
2499
|
#
|
2459
2500
|
# resp.bot_id #=> String
|
2460
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
2501
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
2461
2502
|
#
|
2462
2503
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBot AWS API Documentation
|
2463
2504
|
#
|
@@ -2477,8 +2518,11 @@ module Aws::LexModelsV2
|
|
2477
2518
|
# The unique identifier of the bot associated with the alias to delete.
|
2478
2519
|
#
|
2479
2520
|
# @option params [Boolean] :skip_resource_in_use_check
|
2480
|
-
#
|
2481
|
-
#
|
2521
|
+
# By default, Amazon Lex checks if any other resource, such as a bot
|
2522
|
+
# network, is using the bot alias before it is deleted and throws a
|
2523
|
+
# `ResourceInUseException` exception if the alias is being used by
|
2524
|
+
# another resource. Set this parameter to `true` to skip this check and
|
2525
|
+
# remove the alias even if it is being used by another resource.
|
2482
2526
|
#
|
2483
2527
|
# @return [Types::DeleteBotAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2484
2528
|
#
|
@@ -2560,12 +2604,12 @@ module Aws::LexModelsV2
|
|
2560
2604
|
req.send_request(options)
|
2561
2605
|
end
|
2562
2606
|
|
2563
|
-
# Deletes a specific version of a bot. To delete all
|
2607
|
+
# Deletes a specific version of a bot. To delete all versions of a bot,
|
2564
2608
|
# use the [DeleteBot][1] operation.
|
2565
2609
|
#
|
2566
2610
|
#
|
2567
2611
|
#
|
2568
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
2612
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html
|
2569
2613
|
#
|
2570
2614
|
# @option params [required, String] :bot_id
|
2571
2615
|
# The identifier of the bot that contains the version.
|
@@ -2574,11 +2618,12 @@ module Aws::LexModelsV2
|
|
2574
2618
|
# The version of the bot to delete.
|
2575
2619
|
#
|
2576
2620
|
# @option params [Boolean] :skip_resource_in_use_check
|
2577
|
-
# By default,
|
2578
|
-
#
|
2579
|
-
#
|
2580
|
-
# parameter to `true` to skip this
|
2581
|
-
#
|
2621
|
+
# By default, Amazon Lex checks if any other resource, such as an alias
|
2622
|
+
# or bot network, is using the bot version before it is deleted and
|
2623
|
+
# throws a `ResourceInUseException` exception if the version is being
|
2624
|
+
# used by another resource. Set this parameter to `true` to skip this
|
2625
|
+
# check and remove the version even if it is being used by another
|
2626
|
+
# resource.
|
2582
2627
|
#
|
2583
2628
|
# @return [Types::DeleteBotVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2584
2629
|
#
|
@@ -2598,7 +2643,7 @@ module Aws::LexModelsV2
|
|
2598
2643
|
#
|
2599
2644
|
# resp.bot_id #=> String
|
2600
2645
|
# resp.bot_version #=> String
|
2601
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
2646
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
2602
2647
|
#
|
2603
2648
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotVersion AWS API Documentation
|
2604
2649
|
#
|
@@ -2956,7 +3001,7 @@ module Aws::LexModelsV2
|
|
2956
3001
|
#
|
2957
3002
|
#
|
2958
3003
|
#
|
2959
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
3004
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html
|
2960
3005
|
#
|
2961
3006
|
# @option params [required, String] :bot_id
|
2962
3007
|
# The unique identifier of the bot that contains the utterances.
|
@@ -2977,8 +3022,8 @@ module Aws::LexModelsV2
|
|
2977
3022
|
#
|
2978
3023
|
#
|
2979
3024
|
#
|
2980
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
2981
|
-
# [2]: https://docs.aws.amazon.com/lexv2/latest/
|
3025
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeText.html
|
3026
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html
|
2982
3027
|
#
|
2983
3028
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2984
3029
|
#
|
@@ -3015,6 +3060,9 @@ module Aws::LexModelsV2
|
|
3015
3060
|
# * {Types::DescribeBotResponse#bot_status #bot_status} => String
|
3016
3061
|
# * {Types::DescribeBotResponse#creation_date_time #creation_date_time} => Time
|
3017
3062
|
# * {Types::DescribeBotResponse#last_updated_date_time #last_updated_date_time} => Time
|
3063
|
+
# * {Types::DescribeBotResponse#bot_type #bot_type} => String
|
3064
|
+
# * {Types::DescribeBotResponse#bot_members #bot_members} => Array<Types::BotMember>
|
3065
|
+
# * {Types::DescribeBotResponse#failure_reasons #failure_reasons} => Array<String>
|
3018
3066
|
#
|
3019
3067
|
# @example Request syntax with placeholder values
|
3020
3068
|
#
|
@@ -3030,9 +3078,18 @@ module Aws::LexModelsV2
|
|
3030
3078
|
# resp.role_arn #=> String
|
3031
3079
|
# resp.data_privacy.child_directed #=> Boolean
|
3032
3080
|
# resp.idle_session_ttl_in_seconds #=> Integer
|
3033
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
3081
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
3034
3082
|
# resp.creation_date_time #=> Time
|
3035
3083
|
# resp.last_updated_date_time #=> Time
|
3084
|
+
# resp.bot_type #=> String, one of "Bot", "BotNetwork"
|
3085
|
+
# resp.bot_members #=> Array
|
3086
|
+
# resp.bot_members[0].bot_member_id #=> String
|
3087
|
+
# resp.bot_members[0].bot_member_name #=> String
|
3088
|
+
# resp.bot_members[0].bot_member_alias_id #=> String
|
3089
|
+
# resp.bot_members[0].bot_member_alias_name #=> String
|
3090
|
+
# resp.bot_members[0].bot_member_version #=> String
|
3091
|
+
# resp.failure_reasons #=> Array
|
3092
|
+
# resp.failure_reasons[0] #=> String
|
3036
3093
|
#
|
3037
3094
|
#
|
3038
3095
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3070,6 +3127,7 @@ module Aws::LexModelsV2
|
|
3070
3127
|
# * {Types::DescribeBotAliasResponse#bot_id #bot_id} => String
|
3071
3128
|
# * {Types::DescribeBotAliasResponse#creation_date_time #creation_date_time} => Time
|
3072
3129
|
# * {Types::DescribeBotAliasResponse#last_updated_date_time #last_updated_date_time} => Time
|
3130
|
+
# * {Types::DescribeBotAliasResponse#parent_bot_networks #parent_bot_networks} => Array<Types::ParentBotNetwork>
|
3073
3131
|
#
|
3074
3132
|
# @example Request syntax with placeholder values
|
3075
3133
|
#
|
@@ -3106,6 +3164,9 @@ module Aws::LexModelsV2
|
|
3106
3164
|
# resp.bot_id #=> String
|
3107
3165
|
# resp.creation_date_time #=> Time
|
3108
3166
|
# resp.last_updated_date_time #=> Time
|
3167
|
+
# resp.parent_bot_networks #=> Array
|
3168
|
+
# resp.parent_bot_networks[0].bot_id #=> String
|
3169
|
+
# resp.parent_bot_networks[0].bot_version #=> String
|
3109
3170
|
#
|
3110
3171
|
#
|
3111
3172
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3309,6 +3370,9 @@ module Aws::LexModelsV2
|
|
3309
3370
|
# * {Types::DescribeBotVersionResponse#bot_status #bot_status} => String
|
3310
3371
|
# * {Types::DescribeBotVersionResponse#failure_reasons #failure_reasons} => Array<String>
|
3311
3372
|
# * {Types::DescribeBotVersionResponse#creation_date_time #creation_date_time} => Time
|
3373
|
+
# * {Types::DescribeBotVersionResponse#parent_bot_networks #parent_bot_networks} => Array<Types::ParentBotNetwork>
|
3374
|
+
# * {Types::DescribeBotVersionResponse#bot_type #bot_type} => String
|
3375
|
+
# * {Types::DescribeBotVersionResponse#bot_members #bot_members} => Array<Types::BotMember>
|
3312
3376
|
#
|
3313
3377
|
# @example Request syntax with placeholder values
|
3314
3378
|
#
|
@@ -3326,10 +3390,20 @@ module Aws::LexModelsV2
|
|
3326
3390
|
# resp.role_arn #=> String
|
3327
3391
|
# resp.data_privacy.child_directed #=> Boolean
|
3328
3392
|
# resp.idle_session_ttl_in_seconds #=> Integer
|
3329
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
3393
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
3330
3394
|
# resp.failure_reasons #=> Array
|
3331
3395
|
# resp.failure_reasons[0] #=> String
|
3332
3396
|
# resp.creation_date_time #=> Time
|
3397
|
+
# resp.parent_bot_networks #=> Array
|
3398
|
+
# resp.parent_bot_networks[0].bot_id #=> String
|
3399
|
+
# resp.parent_bot_networks[0].bot_version #=> String
|
3400
|
+
# resp.bot_type #=> String, one of "Bot", "BotNetwork"
|
3401
|
+
# resp.bot_members #=> Array
|
3402
|
+
# resp.bot_members[0].bot_member_id #=> String
|
3403
|
+
# resp.bot_members[0].bot_member_name #=> String
|
3404
|
+
# resp.bot_members[0].bot_member_alias_id #=> String
|
3405
|
+
# resp.bot_members[0].bot_member_alias_name #=> String
|
3406
|
+
# resp.bot_members[0].bot_member_version #=> String
|
3333
3407
|
#
|
3334
3408
|
#
|
3335
3409
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -4872,7 +4946,7 @@ module Aws::LexModelsV2
|
|
4872
4946
|
# resp.bot_version_summaries[0].bot_name #=> String
|
4873
4947
|
# resp.bot_version_summaries[0].bot_version #=> String
|
4874
4948
|
# resp.bot_version_summaries[0].description #=> String
|
4875
|
-
# resp.bot_version_summaries[0].bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
4949
|
+
# resp.bot_version_summaries[0].bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
4876
4950
|
# resp.bot_version_summaries[0].creation_date_time #=> Time
|
4877
4951
|
# resp.next_token #=> String
|
4878
4952
|
#
|
@@ -4927,9 +5001,9 @@ module Aws::LexModelsV2
|
|
4927
5001
|
# },
|
4928
5002
|
# filters: [
|
4929
5003
|
# {
|
4930
|
-
# name: "BotName", # required, accepts BotName
|
5004
|
+
# name: "BotName", # required, accepts BotName, BotType
|
4931
5005
|
# values: ["FilterValue"], # required
|
4932
|
-
# operator: "CO", # required, accepts CO, EQ
|
5006
|
+
# operator: "CO", # required, accepts CO, EQ, NE
|
4933
5007
|
# },
|
4934
5008
|
# ],
|
4935
5009
|
# max_results: 1,
|
@@ -4942,9 +5016,10 @@ module Aws::LexModelsV2
|
|
4942
5016
|
# resp.bot_summaries[0].bot_id #=> String
|
4943
5017
|
# resp.bot_summaries[0].bot_name #=> String
|
4944
5018
|
# resp.bot_summaries[0].description #=> String
|
4945
|
-
# resp.bot_summaries[0].bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
5019
|
+
# resp.bot_summaries[0].bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
4946
5020
|
# resp.bot_summaries[0].latest_bot_version #=> String
|
4947
5021
|
# resp.bot_summaries[0].last_updated_date_time #=> Time
|
5022
|
+
# resp.bot_summaries[0].bot_type #=> String, one of "Bot", "BotNetwork"
|
4948
5023
|
# resp.next_token #=> String
|
4949
5024
|
#
|
4950
5025
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBots AWS API Documentation
|
@@ -4966,7 +5041,7 @@ module Aws::LexModelsV2
|
|
4966
5041
|
#
|
4967
5042
|
#
|
4968
5043
|
#
|
4969
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
5044
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateIntent.html
|
4970
5045
|
#
|
4971
5046
|
# @option params [required, String] :locale_id
|
4972
5047
|
# The identifier of the language and locale of the intents to list. The
|
@@ -5094,22 +5169,24 @@ module Aws::LexModelsV2
|
|
5094
5169
|
req.send_request(options)
|
5095
5170
|
end
|
5096
5171
|
|
5097
|
-
#
|
5098
|
-
#
|
5172
|
+
# Paginated list of custom vocabulary items for a given bot locale's
|
5173
|
+
# custom vocabulary.
|
5099
5174
|
#
|
5100
5175
|
# @option params [required, String] :bot_id
|
5101
|
-
# The
|
5102
|
-
#
|
5176
|
+
# The identifier of the version of the bot associated with this custom
|
5177
|
+
# vocabulary.
|
5103
5178
|
#
|
5104
5179
|
# @option params [required, String] :bot_version
|
5105
5180
|
# The bot version of the bot to the list custom vocabulary request.
|
5106
5181
|
#
|
5107
5182
|
# @option params [required, String] :locale_id
|
5108
|
-
# The
|
5109
|
-
#
|
5183
|
+
# The identifier of the language and locale where this custom vocabulary
|
5184
|
+
# is used. The string must match one of the supported locales. For more
|
5185
|
+
# information, see Supported languages
|
5186
|
+
# (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
|
5110
5187
|
#
|
5111
5188
|
# @option params [Integer] :max_results
|
5112
|
-
# The maximum
|
5189
|
+
# The maximum number of items returned by the list operation.
|
5113
5190
|
#
|
5114
5191
|
# @option params [String] :next_token
|
5115
5192
|
# The nextToken identifier to the list custom vocabulary request.
|
@@ -5974,7 +6051,7 @@ module Aws::LexModelsV2
|
|
5974
6051
|
#
|
5975
6052
|
#
|
5976
6053
|
#
|
5977
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
6054
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html
|
5978
6055
|
#
|
5979
6056
|
# @option params [required, Types::ImportResourceSpecification] :resource_specification
|
5980
6057
|
# Parameters for creating the bot, bot locale or custom vocabulary.
|
@@ -6192,7 +6269,7 @@ module Aws::LexModelsV2
|
|
6192
6269
|
#
|
6193
6270
|
#
|
6194
6271
|
#
|
6195
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
6272
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html
|
6196
6273
|
#
|
6197
6274
|
# @option params [required, String] :bot_name
|
6198
6275
|
# The new name of the bot. The name must be unique in the account that
|
@@ -6219,6 +6296,13 @@ module Aws::LexModelsV2
|
|
6219
6296
|
#
|
6220
6297
|
# You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
|
6221
6298
|
#
|
6299
|
+
# @option params [String] :bot_type
|
6300
|
+
# The type of the bot to be updated.
|
6301
|
+
#
|
6302
|
+
# @option params [Array<Types::BotMember>] :bot_members
|
6303
|
+
# The list of bot members in the network associated with the update
|
6304
|
+
# action.
|
6305
|
+
#
|
6222
6306
|
# @return [Types::UpdateBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6223
6307
|
#
|
6224
6308
|
# * {Types::UpdateBotResponse#bot_id #bot_id} => String
|
@@ -6230,6 +6314,8 @@ module Aws::LexModelsV2
|
|
6230
6314
|
# * {Types::UpdateBotResponse#bot_status #bot_status} => String
|
6231
6315
|
# * {Types::UpdateBotResponse#creation_date_time #creation_date_time} => Time
|
6232
6316
|
# * {Types::UpdateBotResponse#last_updated_date_time #last_updated_date_time} => Time
|
6317
|
+
# * {Types::UpdateBotResponse#bot_type #bot_type} => String
|
6318
|
+
# * {Types::UpdateBotResponse#bot_members #bot_members} => Array<Types::BotMember>
|
6233
6319
|
#
|
6234
6320
|
# @example Request syntax with placeholder values
|
6235
6321
|
#
|
@@ -6242,6 +6328,16 @@ module Aws::LexModelsV2
|
|
6242
6328
|
# child_directed: false, # required
|
6243
6329
|
# },
|
6244
6330
|
# idle_session_ttl_in_seconds: 1, # required
|
6331
|
+
# bot_type: "Bot", # accepts Bot, BotNetwork
|
6332
|
+
# bot_members: [
|
6333
|
+
# {
|
6334
|
+
# bot_member_id: "Id", # required
|
6335
|
+
# bot_member_name: "Name", # required
|
6336
|
+
# bot_member_alias_id: "BotAliasId", # required
|
6337
|
+
# bot_member_alias_name: "BotAliasName", # required
|
6338
|
+
# bot_member_version: "BotVersion", # required
|
6339
|
+
# },
|
6340
|
+
# ],
|
6245
6341
|
# })
|
6246
6342
|
#
|
6247
6343
|
# @example Response structure
|
@@ -6252,9 +6348,16 @@ module Aws::LexModelsV2
|
|
6252
6348
|
# resp.role_arn #=> String
|
6253
6349
|
# resp.data_privacy.child_directed #=> Boolean
|
6254
6350
|
# resp.idle_session_ttl_in_seconds #=> Integer
|
6255
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
6351
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
6256
6352
|
# resp.creation_date_time #=> Time
|
6257
6353
|
# resp.last_updated_date_time #=> Time
|
6354
|
+
# resp.bot_type #=> String, one of "Bot", "BotNetwork"
|
6355
|
+
# resp.bot_members #=> Array
|
6356
|
+
# resp.bot_members[0].bot_member_id #=> String
|
6357
|
+
# resp.bot_members[0].bot_member_name #=> String
|
6358
|
+
# resp.bot_members[0].bot_member_alias_id #=> String
|
6359
|
+
# resp.bot_members[0].bot_member_alias_name #=> String
|
6360
|
+
# resp.bot_members[0].bot_member_version #=> String
|
6258
6361
|
#
|
6259
6362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBot AWS API Documentation
|
6260
6363
|
#
|
@@ -6567,7 +6670,7 @@ module Aws::LexModelsV2
|
|
6567
6670
|
#
|
6568
6671
|
#
|
6569
6672
|
#
|
6570
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
6673
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html
|
6571
6674
|
#
|
6572
6675
|
# @option params [required, String] :export_id
|
6573
6676
|
# The unique identifier Amazon Lex assigned to the export.
|
@@ -7741,7 +7844,7 @@ module Aws::LexModelsV2
|
|
7741
7844
|
params: params,
|
7742
7845
|
config: config)
|
7743
7846
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
7744
|
-
context[:gem_version] = '1.
|
7847
|
+
context[:gem_version] = '1.32.0'
|
7745
7848
|
Seahorse::Client::Request.new(handlers, context)
|
7746
7849
|
end
|
7747
7850
|
|