aws-sdk-lexmodelsv2 1.31.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +177 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9074eb3b0c959aaab8ddfac579ebbe50599c318e29d87a90beb18c9e039eac7
|
4
|
+
data.tar.gz: 1b58c2fad0dd7c59a5cd0b60cea89557724964ba4ae1a30bba73fda399ad0d7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a45246040634698d2ebe972c81c3e54821c08ed5bd658cde59b978fe2cf93ab6d1d0e41fcb1fa9d0f47ec71eb3ebc21ccaa7909897ce2c738a41d9477acb23f
|
7
|
+
data.tar.gz: 0d3b45b8a2ac4887e27d84d42a5259acc4b4a768d165beb785f8b7685b2dd9c2978d75a5602c87ff3e00a725c05fbc6524d9bef8903bc61f723089015601f3f1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.33.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.32.0 (2023-02-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS Lex now supports Network of Bots.
|
13
|
+
|
4
14
|
1.31.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.33.0
|
@@ -275,6 +275,11 @@ module Aws::LexModelsV2
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -368,24 +373,28 @@ module Aws::LexModelsV2
|
|
368
373
|
|
369
374
|
# @!group API Operations
|
370
375
|
|
371
|
-
#
|
372
|
-
#
|
376
|
+
# Create a batch of custom vocabulary items for a given bot locale's
|
377
|
+
# custom vocabulary.
|
373
378
|
#
|
374
379
|
# @option params [required, String] :bot_id
|
375
|
-
# The
|
376
|
-
# item for.
|
380
|
+
# The identifier of the bot associated with this custom vocabulary.
|
377
381
|
#
|
378
382
|
# @option params [required, String] :bot_version
|
379
|
-
# The
|
380
|
-
#
|
383
|
+
# The identifier of the version of the bot associated with this custom
|
384
|
+
# vocabulary.
|
381
385
|
#
|
382
386
|
# @option params [required, String] :locale_id
|
383
|
-
# The
|
384
|
-
#
|
387
|
+
# The identifier of the language and locale where this custom vocabulary
|
388
|
+
# is used. The string must match one of the supported locales. For more
|
389
|
+
# information, see [ Supported Languages ][1].
|
390
|
+
#
|
391
|
+
#
|
392
|
+
#
|
393
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
385
394
|
#
|
386
395
|
# @option params [required, Array<Types::NewCustomVocabularyItem>] :custom_vocabulary_item_list
|
387
|
-
#
|
388
|
-
#
|
396
|
+
# A list of new custom vocabulary items. Each entry must contain a
|
397
|
+
# phrase and can optionally contain a displayAs and/or a weight.
|
389
398
|
#
|
390
399
|
# @return [Types::BatchCreateCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
391
400
|
#
|
@@ -434,24 +443,28 @@ module Aws::LexModelsV2
|
|
434
443
|
req.send_request(options)
|
435
444
|
end
|
436
445
|
|
437
|
-
#
|
438
|
-
#
|
446
|
+
# Delete a batch of custom vocabulary items for a given bot locale's
|
447
|
+
# custom vocabulary.
|
439
448
|
#
|
440
449
|
# @option params [required, String] :bot_id
|
441
|
-
# The
|
442
|
-
# custom vocabulary item.
|
450
|
+
# The identifier of the bot associated with this custom vocabulary.
|
443
451
|
#
|
444
452
|
# @option params [required, String] :bot_version
|
445
|
-
# The
|
446
|
-
# vocabulary
|
453
|
+
# The identifier of the version of the bot associated with this custom
|
454
|
+
# vocabulary.
|
447
455
|
#
|
448
456
|
# @option params [required, String] :locale_id
|
449
|
-
# The
|
450
|
-
#
|
457
|
+
# The identifier of the language and locale where this custom vocabulary
|
458
|
+
# is used. The string must match one of the supported locales. For more
|
459
|
+
# information, see [ Supported Languages ][1].
|
460
|
+
#
|
461
|
+
#
|
462
|
+
#
|
463
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
451
464
|
#
|
452
465
|
# @option params [required, Array<Types::CustomVocabularyEntryId>] :custom_vocabulary_item_list
|
453
|
-
#
|
454
|
-
# vocabulary
|
466
|
+
# A list of custom vocabulary items requested to be deleted. Each entry
|
467
|
+
# must contain the unique custom vocabulary entry identifier.
|
455
468
|
#
|
456
469
|
# @return [Types::BatchDeleteCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
457
470
|
#
|
@@ -498,24 +511,29 @@ module Aws::LexModelsV2
|
|
498
511
|
req.send_request(options)
|
499
512
|
end
|
500
513
|
|
501
|
-
#
|
502
|
-
#
|
514
|
+
# Update a batch of custom vocabulary items for a given bot locale's
|
515
|
+
# custom vocabulary.
|
503
516
|
#
|
504
517
|
# @option params [required, String] :bot_id
|
505
|
-
# The
|
506
|
-
# custom vocabulary item.
|
518
|
+
# The identifier of the bot associated with this custom vocabulary
|
507
519
|
#
|
508
520
|
# @option params [required, String] :bot_version
|
509
|
-
# The
|
510
|
-
# vocabulary
|
521
|
+
# The identifier of the version of the bot associated with this custom
|
522
|
+
# vocabulary.
|
511
523
|
#
|
512
524
|
# @option params [required, String] :locale_id
|
513
|
-
# The
|
514
|
-
#
|
525
|
+
# The identifier of the language and locale where this custom vocabulary
|
526
|
+
# is used. The string must match one of the supported locales. For more
|
527
|
+
# information, see [ Supported Languages ][1].
|
528
|
+
#
|
529
|
+
#
|
530
|
+
#
|
531
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
515
532
|
#
|
516
533
|
# @option params [required, Array<Types::CustomVocabularyItem>] :custom_vocabulary_item_list
|
517
|
-
#
|
518
|
-
#
|
534
|
+
# A list of custom vocabulary items with updated fields. Each entry must
|
535
|
+
# contain a phrase and can optionally contain a displayAs and/or a
|
536
|
+
# weight.
|
519
537
|
#
|
520
538
|
# @return [Types::BatchUpdateCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
521
539
|
#
|
@@ -575,7 +593,7 @@ module Aws::LexModelsV2
|
|
575
593
|
#
|
576
594
|
#
|
577
595
|
#
|
578
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
596
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html
|
579
597
|
#
|
580
598
|
# @option params [required, String] :bot_version
|
581
599
|
# The version of the bot to build. This can only be the draft version of
|
@@ -663,6 +681,12 @@ module Aws::LexModelsV2
|
|
663
681
|
# to update tags. To update tags on the test alias, use the
|
664
682
|
# `TagResource` operation.
|
665
683
|
#
|
684
|
+
# @option params [String] :bot_type
|
685
|
+
# The type of a bot to create.
|
686
|
+
#
|
687
|
+
# @option params [Array<Types::BotMember>] :bot_members
|
688
|
+
# The list of bot members in a network to be created.
|
689
|
+
#
|
666
690
|
# @return [Types::CreateBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
667
691
|
#
|
668
692
|
# * {Types::CreateBotResponse#bot_id #bot_id} => String
|
@@ -675,6 +699,8 @@ module Aws::LexModelsV2
|
|
675
699
|
# * {Types::CreateBotResponse#creation_date_time #creation_date_time} => Time
|
676
700
|
# * {Types::CreateBotResponse#bot_tags #bot_tags} => Hash<String,String>
|
677
701
|
# * {Types::CreateBotResponse#test_bot_alias_tags #test_bot_alias_tags} => Hash<String,String>
|
702
|
+
# * {Types::CreateBotResponse#bot_type #bot_type} => String
|
703
|
+
# * {Types::CreateBotResponse#bot_members #bot_members} => Array<Types::BotMember>
|
678
704
|
#
|
679
705
|
# @example Request syntax with placeholder values
|
680
706
|
#
|
@@ -692,6 +718,16 @@ module Aws::LexModelsV2
|
|
692
718
|
# test_bot_alias_tags: {
|
693
719
|
# "TagKey" => "TagValue",
|
694
720
|
# },
|
721
|
+
# bot_type: "Bot", # accepts Bot, BotNetwork
|
722
|
+
# bot_members: [
|
723
|
+
# {
|
724
|
+
# bot_member_id: "Id", # required
|
725
|
+
# bot_member_name: "Name", # required
|
726
|
+
# bot_member_alias_id: "BotAliasId", # required
|
727
|
+
# bot_member_alias_name: "BotAliasName", # required
|
728
|
+
# bot_member_version: "BotVersion", # required
|
729
|
+
# },
|
730
|
+
# ],
|
695
731
|
# })
|
696
732
|
#
|
697
733
|
# @example Response structure
|
@@ -702,12 +738,19 @@ module Aws::LexModelsV2
|
|
702
738
|
# resp.role_arn #=> String
|
703
739
|
# resp.data_privacy.child_directed #=> Boolean
|
704
740
|
# resp.idle_session_ttl_in_seconds #=> Integer
|
705
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
741
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
706
742
|
# resp.creation_date_time #=> Time
|
707
743
|
# resp.bot_tags #=> Hash
|
708
744
|
# resp.bot_tags["TagKey"] #=> String
|
709
745
|
# resp.test_bot_alias_tags #=> Hash
|
710
746
|
# resp.test_bot_alias_tags["TagKey"] #=> String
|
747
|
+
# resp.bot_type #=> String, one of "Bot", "BotNetwork"
|
748
|
+
# resp.bot_members #=> Array
|
749
|
+
# resp.bot_members[0].bot_member_id #=> String
|
750
|
+
# resp.bot_members[0].bot_member_name #=> String
|
751
|
+
# resp.bot_members[0].bot_member_alias_id #=> String
|
752
|
+
# resp.bot_members[0].bot_member_alias_name #=> String
|
753
|
+
# resp.bot_members[0].bot_member_version #=> String
|
711
754
|
#
|
712
755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBot AWS API Documentation
|
713
756
|
#
|
@@ -739,7 +782,7 @@ module Aws::LexModelsV2
|
|
739
782
|
#
|
740
783
|
#
|
741
784
|
#
|
742
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
785
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_UpdateBotAlias.html
|
743
786
|
#
|
744
787
|
# @option params [Hash<String,Types::BotAliasLocaleSettings>] :bot_alias_locale_settings
|
745
788
|
# Maps configuration information to a specific locale. You can use this
|
@@ -1013,7 +1056,7 @@ module Aws::LexModelsV2
|
|
1013
1056
|
# resp.bot_version #=> String
|
1014
1057
|
# resp.bot_version_locale_specification #=> Hash
|
1015
1058
|
# resp.bot_version_locale_specification["LocaleId"].source_bot_version #=> String
|
1016
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
1059
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
1017
1060
|
# resp.creation_date_time #=> Time
|
1018
1061
|
#
|
1019
1062
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotVersion AWS API Documentation
|
@@ -2439,8 +2482,11 @@ module Aws::LexModelsV2
|
|
2439
2482
|
# The identifier of the bot to delete.
|
2440
2483
|
#
|
2441
2484
|
# @option params [Boolean] :skip_resource_in_use_check
|
2442
|
-
#
|
2443
|
-
#
|
2485
|
+
# By default, Amazon Lex checks if any other resource, such as an alias
|
2486
|
+
# or bot network, is using the bot version before it is deleted and
|
2487
|
+
# throws a `ResourceInUseException` exception if the bot is being used
|
2488
|
+
# by another resource. Set this parameter to `true` to skip this check
|
2489
|
+
# and remove the bot even if it is being used by another resource.
|
2444
2490
|
#
|
2445
2491
|
# @return [Types::DeleteBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2446
2492
|
#
|
@@ -2457,7 +2503,7 @@ module Aws::LexModelsV2
|
|
2457
2503
|
# @example Response structure
|
2458
2504
|
#
|
2459
2505
|
# resp.bot_id #=> String
|
2460
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
2506
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
2461
2507
|
#
|
2462
2508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBot AWS API Documentation
|
2463
2509
|
#
|
@@ -2477,8 +2523,11 @@ module Aws::LexModelsV2
|
|
2477
2523
|
# The unique identifier of the bot associated with the alias to delete.
|
2478
2524
|
#
|
2479
2525
|
# @option params [Boolean] :skip_resource_in_use_check
|
2480
|
-
#
|
2481
|
-
#
|
2526
|
+
# By default, Amazon Lex checks if any other resource, such as a bot
|
2527
|
+
# network, is using the bot alias before it is deleted and throws a
|
2528
|
+
# `ResourceInUseException` exception if the alias is being used by
|
2529
|
+
# another resource. Set this parameter to `true` to skip this check and
|
2530
|
+
# remove the alias even if it is being used by another resource.
|
2482
2531
|
#
|
2483
2532
|
# @return [Types::DeleteBotAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2484
2533
|
#
|
@@ -2560,12 +2609,12 @@ module Aws::LexModelsV2
|
|
2560
2609
|
req.send_request(options)
|
2561
2610
|
end
|
2562
2611
|
|
2563
|
-
# Deletes a specific version of a bot. To delete all
|
2612
|
+
# Deletes a specific version of a bot. To delete all versions of a bot,
|
2564
2613
|
# use the [DeleteBot][1] operation.
|
2565
2614
|
#
|
2566
2615
|
#
|
2567
2616
|
#
|
2568
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
2617
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html
|
2569
2618
|
#
|
2570
2619
|
# @option params [required, String] :bot_id
|
2571
2620
|
# The identifier of the bot that contains the version.
|
@@ -2574,11 +2623,12 @@ module Aws::LexModelsV2
|
|
2574
2623
|
# The version of the bot to delete.
|
2575
2624
|
#
|
2576
2625
|
# @option params [Boolean] :skip_resource_in_use_check
|
2577
|
-
# By default,
|
2578
|
-
#
|
2579
|
-
#
|
2580
|
-
# parameter to `true` to skip this
|
2581
|
-
#
|
2626
|
+
# By default, Amazon Lex checks if any other resource, such as an alias
|
2627
|
+
# or bot network, is using the bot version before it is deleted and
|
2628
|
+
# throws a `ResourceInUseException` exception if the version is being
|
2629
|
+
# used by another resource. Set this parameter to `true` to skip this
|
2630
|
+
# check and remove the version even if it is being used by another
|
2631
|
+
# resource.
|
2582
2632
|
#
|
2583
2633
|
# @return [Types::DeleteBotVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2584
2634
|
#
|
@@ -2598,7 +2648,7 @@ module Aws::LexModelsV2
|
|
2598
2648
|
#
|
2599
2649
|
# resp.bot_id #=> String
|
2600
2650
|
# resp.bot_version #=> String
|
2601
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
2651
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
2602
2652
|
#
|
2603
2653
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotVersion AWS API Documentation
|
2604
2654
|
#
|
@@ -2956,7 +3006,7 @@ module Aws::LexModelsV2
|
|
2956
3006
|
#
|
2957
3007
|
#
|
2958
3008
|
#
|
2959
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
3009
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html
|
2960
3010
|
#
|
2961
3011
|
# @option params [required, String] :bot_id
|
2962
3012
|
# The unique identifier of the bot that contains the utterances.
|
@@ -2977,8 +3027,8 @@ module Aws::LexModelsV2
|
|
2977
3027
|
#
|
2978
3028
|
#
|
2979
3029
|
#
|
2980
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
2981
|
-
# [2]: https://docs.aws.amazon.com/lexv2/latest/
|
3030
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeText.html
|
3031
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html
|
2982
3032
|
#
|
2983
3033
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2984
3034
|
#
|
@@ -3015,6 +3065,9 @@ module Aws::LexModelsV2
|
|
3015
3065
|
# * {Types::DescribeBotResponse#bot_status #bot_status} => String
|
3016
3066
|
# * {Types::DescribeBotResponse#creation_date_time #creation_date_time} => Time
|
3017
3067
|
# * {Types::DescribeBotResponse#last_updated_date_time #last_updated_date_time} => Time
|
3068
|
+
# * {Types::DescribeBotResponse#bot_type #bot_type} => String
|
3069
|
+
# * {Types::DescribeBotResponse#bot_members #bot_members} => Array<Types::BotMember>
|
3070
|
+
# * {Types::DescribeBotResponse#failure_reasons #failure_reasons} => Array<String>
|
3018
3071
|
#
|
3019
3072
|
# @example Request syntax with placeholder values
|
3020
3073
|
#
|
@@ -3030,9 +3083,18 @@ module Aws::LexModelsV2
|
|
3030
3083
|
# resp.role_arn #=> String
|
3031
3084
|
# resp.data_privacy.child_directed #=> Boolean
|
3032
3085
|
# resp.idle_session_ttl_in_seconds #=> Integer
|
3033
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
3086
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
3034
3087
|
# resp.creation_date_time #=> Time
|
3035
3088
|
# resp.last_updated_date_time #=> Time
|
3089
|
+
# resp.bot_type #=> String, one of "Bot", "BotNetwork"
|
3090
|
+
# resp.bot_members #=> Array
|
3091
|
+
# resp.bot_members[0].bot_member_id #=> String
|
3092
|
+
# resp.bot_members[0].bot_member_name #=> String
|
3093
|
+
# resp.bot_members[0].bot_member_alias_id #=> String
|
3094
|
+
# resp.bot_members[0].bot_member_alias_name #=> String
|
3095
|
+
# resp.bot_members[0].bot_member_version #=> String
|
3096
|
+
# resp.failure_reasons #=> Array
|
3097
|
+
# resp.failure_reasons[0] #=> String
|
3036
3098
|
#
|
3037
3099
|
#
|
3038
3100
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3070,6 +3132,7 @@ module Aws::LexModelsV2
|
|
3070
3132
|
# * {Types::DescribeBotAliasResponse#bot_id #bot_id} => String
|
3071
3133
|
# * {Types::DescribeBotAliasResponse#creation_date_time #creation_date_time} => Time
|
3072
3134
|
# * {Types::DescribeBotAliasResponse#last_updated_date_time #last_updated_date_time} => Time
|
3135
|
+
# * {Types::DescribeBotAliasResponse#parent_bot_networks #parent_bot_networks} => Array<Types::ParentBotNetwork>
|
3073
3136
|
#
|
3074
3137
|
# @example Request syntax with placeholder values
|
3075
3138
|
#
|
@@ -3106,6 +3169,9 @@ module Aws::LexModelsV2
|
|
3106
3169
|
# resp.bot_id #=> String
|
3107
3170
|
# resp.creation_date_time #=> Time
|
3108
3171
|
# resp.last_updated_date_time #=> Time
|
3172
|
+
# resp.parent_bot_networks #=> Array
|
3173
|
+
# resp.parent_bot_networks[0].bot_id #=> String
|
3174
|
+
# resp.parent_bot_networks[0].bot_version #=> String
|
3109
3175
|
#
|
3110
3176
|
#
|
3111
3177
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3309,6 +3375,9 @@ module Aws::LexModelsV2
|
|
3309
3375
|
# * {Types::DescribeBotVersionResponse#bot_status #bot_status} => String
|
3310
3376
|
# * {Types::DescribeBotVersionResponse#failure_reasons #failure_reasons} => Array<String>
|
3311
3377
|
# * {Types::DescribeBotVersionResponse#creation_date_time #creation_date_time} => Time
|
3378
|
+
# * {Types::DescribeBotVersionResponse#parent_bot_networks #parent_bot_networks} => Array<Types::ParentBotNetwork>
|
3379
|
+
# * {Types::DescribeBotVersionResponse#bot_type #bot_type} => String
|
3380
|
+
# * {Types::DescribeBotVersionResponse#bot_members #bot_members} => Array<Types::BotMember>
|
3312
3381
|
#
|
3313
3382
|
# @example Request syntax with placeholder values
|
3314
3383
|
#
|
@@ -3326,10 +3395,20 @@ module Aws::LexModelsV2
|
|
3326
3395
|
# resp.role_arn #=> String
|
3327
3396
|
# resp.data_privacy.child_directed #=> Boolean
|
3328
3397
|
# resp.idle_session_ttl_in_seconds #=> Integer
|
3329
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
3398
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
3330
3399
|
# resp.failure_reasons #=> Array
|
3331
3400
|
# resp.failure_reasons[0] #=> String
|
3332
3401
|
# resp.creation_date_time #=> Time
|
3402
|
+
# resp.parent_bot_networks #=> Array
|
3403
|
+
# resp.parent_bot_networks[0].bot_id #=> String
|
3404
|
+
# resp.parent_bot_networks[0].bot_version #=> String
|
3405
|
+
# resp.bot_type #=> String, one of "Bot", "BotNetwork"
|
3406
|
+
# resp.bot_members #=> Array
|
3407
|
+
# resp.bot_members[0].bot_member_id #=> String
|
3408
|
+
# resp.bot_members[0].bot_member_name #=> String
|
3409
|
+
# resp.bot_members[0].bot_member_alias_id #=> String
|
3410
|
+
# resp.bot_members[0].bot_member_alias_name #=> String
|
3411
|
+
# resp.bot_members[0].bot_member_version #=> String
|
3333
3412
|
#
|
3334
3413
|
#
|
3335
3414
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -4872,7 +4951,7 @@ module Aws::LexModelsV2
|
|
4872
4951
|
# resp.bot_version_summaries[0].bot_name #=> String
|
4873
4952
|
# resp.bot_version_summaries[0].bot_version #=> String
|
4874
4953
|
# 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"
|
4954
|
+
# resp.bot_version_summaries[0].bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
4876
4955
|
# resp.bot_version_summaries[0].creation_date_time #=> Time
|
4877
4956
|
# resp.next_token #=> String
|
4878
4957
|
#
|
@@ -4927,9 +5006,9 @@ module Aws::LexModelsV2
|
|
4927
5006
|
# },
|
4928
5007
|
# filters: [
|
4929
5008
|
# {
|
4930
|
-
# name: "BotName", # required, accepts BotName
|
5009
|
+
# name: "BotName", # required, accepts BotName, BotType
|
4931
5010
|
# values: ["FilterValue"], # required
|
4932
|
-
# operator: "CO", # required, accepts CO, EQ
|
5011
|
+
# operator: "CO", # required, accepts CO, EQ, NE
|
4933
5012
|
# },
|
4934
5013
|
# ],
|
4935
5014
|
# max_results: 1,
|
@@ -4942,9 +5021,10 @@ module Aws::LexModelsV2
|
|
4942
5021
|
# resp.bot_summaries[0].bot_id #=> String
|
4943
5022
|
# resp.bot_summaries[0].bot_name #=> String
|
4944
5023
|
# resp.bot_summaries[0].description #=> String
|
4945
|
-
# resp.bot_summaries[0].bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
5024
|
+
# resp.bot_summaries[0].bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
4946
5025
|
# resp.bot_summaries[0].latest_bot_version #=> String
|
4947
5026
|
# resp.bot_summaries[0].last_updated_date_time #=> Time
|
5027
|
+
# resp.bot_summaries[0].bot_type #=> String, one of "Bot", "BotNetwork"
|
4948
5028
|
# resp.next_token #=> String
|
4949
5029
|
#
|
4950
5030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBots AWS API Documentation
|
@@ -4966,7 +5046,7 @@ module Aws::LexModelsV2
|
|
4966
5046
|
#
|
4967
5047
|
#
|
4968
5048
|
#
|
4969
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
5049
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateIntent.html
|
4970
5050
|
#
|
4971
5051
|
# @option params [required, String] :locale_id
|
4972
5052
|
# The identifier of the language and locale of the intents to list. The
|
@@ -5094,22 +5174,24 @@ module Aws::LexModelsV2
|
|
5094
5174
|
req.send_request(options)
|
5095
5175
|
end
|
5096
5176
|
|
5097
|
-
#
|
5098
|
-
#
|
5177
|
+
# Paginated list of custom vocabulary items for a given bot locale's
|
5178
|
+
# custom vocabulary.
|
5099
5179
|
#
|
5100
5180
|
# @option params [required, String] :bot_id
|
5101
|
-
# The
|
5102
|
-
#
|
5181
|
+
# The identifier of the version of the bot associated with this custom
|
5182
|
+
# vocabulary.
|
5103
5183
|
#
|
5104
5184
|
# @option params [required, String] :bot_version
|
5105
5185
|
# The bot version of the bot to the list custom vocabulary request.
|
5106
5186
|
#
|
5107
5187
|
# @option params [required, String] :locale_id
|
5108
|
-
# The
|
5109
|
-
#
|
5188
|
+
# The identifier of the language and locale where this custom vocabulary
|
5189
|
+
# is used. The string must match one of the supported locales. For more
|
5190
|
+
# information, see Supported languages
|
5191
|
+
# (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
|
5110
5192
|
#
|
5111
5193
|
# @option params [Integer] :max_results
|
5112
|
-
# The maximum
|
5194
|
+
# The maximum number of items returned by the list operation.
|
5113
5195
|
#
|
5114
5196
|
# @option params [String] :next_token
|
5115
5197
|
# The nextToken identifier to the list custom vocabulary request.
|
@@ -5974,7 +6056,7 @@ module Aws::LexModelsV2
|
|
5974
6056
|
#
|
5975
6057
|
#
|
5976
6058
|
#
|
5977
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
6059
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html
|
5978
6060
|
#
|
5979
6061
|
# @option params [required, Types::ImportResourceSpecification] :resource_specification
|
5980
6062
|
# Parameters for creating the bot, bot locale or custom vocabulary.
|
@@ -6192,7 +6274,7 @@ module Aws::LexModelsV2
|
|
6192
6274
|
#
|
6193
6275
|
#
|
6194
6276
|
#
|
6195
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
6277
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html
|
6196
6278
|
#
|
6197
6279
|
# @option params [required, String] :bot_name
|
6198
6280
|
# The new name of the bot. The name must be unique in the account that
|
@@ -6219,6 +6301,13 @@ module Aws::LexModelsV2
|
|
6219
6301
|
#
|
6220
6302
|
# You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
|
6221
6303
|
#
|
6304
|
+
# @option params [String] :bot_type
|
6305
|
+
# The type of the bot to be updated.
|
6306
|
+
#
|
6307
|
+
# @option params [Array<Types::BotMember>] :bot_members
|
6308
|
+
# The list of bot members in the network associated with the update
|
6309
|
+
# action.
|
6310
|
+
#
|
6222
6311
|
# @return [Types::UpdateBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6223
6312
|
#
|
6224
6313
|
# * {Types::UpdateBotResponse#bot_id #bot_id} => String
|
@@ -6230,6 +6319,8 @@ module Aws::LexModelsV2
|
|
6230
6319
|
# * {Types::UpdateBotResponse#bot_status #bot_status} => String
|
6231
6320
|
# * {Types::UpdateBotResponse#creation_date_time #creation_date_time} => Time
|
6232
6321
|
# * {Types::UpdateBotResponse#last_updated_date_time #last_updated_date_time} => Time
|
6322
|
+
# * {Types::UpdateBotResponse#bot_type #bot_type} => String
|
6323
|
+
# * {Types::UpdateBotResponse#bot_members #bot_members} => Array<Types::BotMember>
|
6233
6324
|
#
|
6234
6325
|
# @example Request syntax with placeholder values
|
6235
6326
|
#
|
@@ -6242,6 +6333,16 @@ module Aws::LexModelsV2
|
|
6242
6333
|
# child_directed: false, # required
|
6243
6334
|
# },
|
6244
6335
|
# idle_session_ttl_in_seconds: 1, # required
|
6336
|
+
# bot_type: "Bot", # accepts Bot, BotNetwork
|
6337
|
+
# bot_members: [
|
6338
|
+
# {
|
6339
|
+
# bot_member_id: "Id", # required
|
6340
|
+
# bot_member_name: "Name", # required
|
6341
|
+
# bot_member_alias_id: "BotAliasId", # required
|
6342
|
+
# bot_member_alias_name: "BotAliasName", # required
|
6343
|
+
# bot_member_version: "BotVersion", # required
|
6344
|
+
# },
|
6345
|
+
# ],
|
6245
6346
|
# })
|
6246
6347
|
#
|
6247
6348
|
# @example Response structure
|
@@ -6252,9 +6353,16 @@ module Aws::LexModelsV2
|
|
6252
6353
|
# resp.role_arn #=> String
|
6253
6354
|
# resp.data_privacy.child_directed #=> Boolean
|
6254
6355
|
# resp.idle_session_ttl_in_seconds #=> Integer
|
6255
|
-
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing"
|
6356
|
+
# resp.bot_status #=> String, one of "Creating", "Available", "Inactive", "Deleting", "Failed", "Versioning", "Importing", "Updating"
|
6256
6357
|
# resp.creation_date_time #=> Time
|
6257
6358
|
# resp.last_updated_date_time #=> Time
|
6359
|
+
# resp.bot_type #=> String, one of "Bot", "BotNetwork"
|
6360
|
+
# resp.bot_members #=> Array
|
6361
|
+
# resp.bot_members[0].bot_member_id #=> String
|
6362
|
+
# resp.bot_members[0].bot_member_name #=> String
|
6363
|
+
# resp.bot_members[0].bot_member_alias_id #=> String
|
6364
|
+
# resp.bot_members[0].bot_member_alias_name #=> String
|
6365
|
+
# resp.bot_members[0].bot_member_version #=> String
|
6258
6366
|
#
|
6259
6367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBot AWS API Documentation
|
6260
6368
|
#
|
@@ -6567,7 +6675,7 @@ module Aws::LexModelsV2
|
|
6567
6675
|
#
|
6568
6676
|
#
|
6569
6677
|
#
|
6570
|
-
# [1]: https://docs.aws.amazon.com/lexv2/latest/
|
6678
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html
|
6571
6679
|
#
|
6572
6680
|
# @option params [required, String] :export_id
|
6573
6681
|
# The unique identifier Amazon Lex assigned to the export.
|
@@ -7741,7 +7849,7 @@ module Aws::LexModelsV2
|
|
7741
7849
|
params: params,
|
7742
7850
|
config: config)
|
7743
7851
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
7744
|
-
context[:gem_version] = '1.
|
7852
|
+
context[:gem_version] = '1.33.0'
|
7745
7853
|
Seahorse::Client::Request.new(handlers, context)
|
7746
7854
|
end
|
7747
7855
|
|