aws-sdk-lexmodelsv2 1.19.0 → 1.22.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +188 -23
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +82 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +351 -29
- 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: 6fce080f6b64af288c5c8b561d887ecc6f52b77092674001cac68339570aba5d
|
4
|
+
data.tar.gz: 6f49028ca8a73dae5b05d5bb61df1dd34c7da5b93f85b58ba18b203b52f6c2d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 838e7f75e61638d155313ab13b421dd442419ca50da62d5f29efe417ff9e21c7c105dba9f246afe071d94072b71f29690f383298ef6190a7cac304d25b5c0575
|
7
|
+
data.tar.gz: a5a26aecf8ac7bfc430eb6c871193182011ad2632a6399210845fdacf6cc0d7ed88ab6df3e65aad2cc28a5c07f6bede466166b18a23307efc8db9b65fddbcd1e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.22.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.21.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.20.0 (2022-01-12)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support for Custom vocabulary in Amazon Lex V2 APIs for model building. Customers can give Amazon Lex V2 more information about how to process audio conversations with a bot by creating a custom vocabulary in a specific language.
|
18
|
+
|
4
19
|
1.19.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::LexModelsV2
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -855,8 +859,13 @@ module Aws::LexModelsV2
|
|
855
859
|
# bot_version: "BotVersion", # required
|
856
860
|
# locale_id: "LocaleId", # required
|
857
861
|
# },
|
862
|
+
# custom_vocabulary_export_specification: {
|
863
|
+
# bot_id: "Id", # required
|
864
|
+
# bot_version: "BotVersion", # required
|
865
|
+
# locale_id: "LocaleId", # required
|
866
|
+
# },
|
858
867
|
# },
|
859
|
-
# file_format: "LexJson", # required, accepts LexJson
|
868
|
+
# file_format: "LexJson", # required, accepts LexJson, TSV
|
860
869
|
# file_password: "ImportExportFilePassword",
|
861
870
|
# })
|
862
871
|
#
|
@@ -868,7 +877,10 @@ module Aws::LexModelsV2
|
|
868
877
|
# resp.resource_specification.bot_locale_export_specification.bot_id #=> String
|
869
878
|
# resp.resource_specification.bot_locale_export_specification.bot_version #=> String
|
870
879
|
# resp.resource_specification.bot_locale_export_specification.locale_id #=> String
|
871
|
-
# resp.
|
880
|
+
# resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
|
881
|
+
# resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
|
882
|
+
# resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
|
883
|
+
# resp.file_format #=> String, one of "LexJson", "TSV"
|
872
884
|
# resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
873
885
|
# resp.creation_date_time #=> Time
|
874
886
|
#
|
@@ -2404,6 +2416,9 @@ module Aws::LexModelsV2
|
|
2404
2416
|
# regex_filter: {
|
2405
2417
|
# pattern: "RegexPattern", # required
|
2406
2418
|
# },
|
2419
|
+
# advanced_recognition_setting: {
|
2420
|
+
# audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
|
2421
|
+
# },
|
2407
2422
|
# },
|
2408
2423
|
# parent_slot_type_signature: "SlotTypeSignature",
|
2409
2424
|
# bot_id: "Id", # required
|
@@ -2431,6 +2446,7 @@ module Aws::LexModelsV2
|
|
2431
2446
|
# resp.slot_type_values[0].synonyms[0].value #=> String
|
2432
2447
|
# resp.value_selection_setting.resolution_strategy #=> String, one of "OriginalValue", "TopResolution"
|
2433
2448
|
# resp.value_selection_setting.regex_filter.pattern #=> String
|
2449
|
+
# resp.value_selection_setting.advanced_recognition_setting.audio_recognition_strategy #=> String, one of "UseSlotValuesAsCustomVocabulary"
|
2434
2450
|
# resp.parent_slot_type_signature #=> String
|
2435
2451
|
# resp.bot_id #=> String
|
2436
2452
|
# resp.bot_version #=> String
|
@@ -2656,6 +2672,50 @@ module Aws::LexModelsV2
|
|
2656
2672
|
req.send_request(options)
|
2657
2673
|
end
|
2658
2674
|
|
2675
|
+
# Removes a custom vocabulary from the specified locale in the specified
|
2676
|
+
# bot.
|
2677
|
+
#
|
2678
|
+
# @option params [required, String] :bot_id
|
2679
|
+
# The unique identifier of the bot to remove the custom vocabulary from.
|
2680
|
+
#
|
2681
|
+
# @option params [required, String] :bot_version
|
2682
|
+
# The version of the bot to remove the custom vocabulary from.
|
2683
|
+
#
|
2684
|
+
# @option params [required, String] :locale_id
|
2685
|
+
# The locale identifier for the locale that contains the custom
|
2686
|
+
# vocabulary to remove.
|
2687
|
+
#
|
2688
|
+
# @return [Types::DeleteCustomVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2689
|
+
#
|
2690
|
+
# * {Types::DeleteCustomVocabularyResponse#bot_id #bot_id} => String
|
2691
|
+
# * {Types::DeleteCustomVocabularyResponse#bot_version #bot_version} => String
|
2692
|
+
# * {Types::DeleteCustomVocabularyResponse#locale_id #locale_id} => String
|
2693
|
+
# * {Types::DeleteCustomVocabularyResponse#custom_vocabulary_status #custom_vocabulary_status} => String
|
2694
|
+
#
|
2695
|
+
# @example Request syntax with placeholder values
|
2696
|
+
#
|
2697
|
+
# resp = client.delete_custom_vocabulary({
|
2698
|
+
# bot_id: "Id", # required
|
2699
|
+
# bot_version: "DraftBotVersion", # required
|
2700
|
+
# locale_id: "LocaleId", # required
|
2701
|
+
# })
|
2702
|
+
#
|
2703
|
+
# @example Response structure
|
2704
|
+
#
|
2705
|
+
# resp.bot_id #=> String
|
2706
|
+
# resp.bot_version #=> String
|
2707
|
+
# resp.locale_id #=> String
|
2708
|
+
# resp.custom_vocabulary_status #=> String, one of "Ready", "Deleting", "Exporting", "Importing", "Creating"
|
2709
|
+
#
|
2710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteCustomVocabulary AWS API Documentation
|
2711
|
+
#
|
2712
|
+
# @overload delete_custom_vocabulary(params = {})
|
2713
|
+
# @param [Hash] params ({})
|
2714
|
+
def delete_custom_vocabulary(params = {}, options = {})
|
2715
|
+
req = build_request(:delete_custom_vocabulary, params)
|
2716
|
+
req.send_request(options)
|
2717
|
+
end
|
2718
|
+
|
2659
2719
|
# Removes a previous export and the associated files stored in an S3
|
2660
2720
|
# bucket.
|
2661
2721
|
#
|
@@ -3348,6 +3408,53 @@ module Aws::LexModelsV2
|
|
3348
3408
|
req.send_request(options)
|
3349
3409
|
end
|
3350
3410
|
|
3411
|
+
# Provides metadata information about a custom vocabulary.
|
3412
|
+
#
|
3413
|
+
# @option params [required, String] :bot_id
|
3414
|
+
# The unique identifier of the bot that contains the custom vocabulary.
|
3415
|
+
#
|
3416
|
+
# @option params [required, String] :bot_version
|
3417
|
+
# The bot version of the bot to return metadata for.
|
3418
|
+
#
|
3419
|
+
# @option params [required, String] :locale_id
|
3420
|
+
# The locale to return the custom vocabulary information for. The locale
|
3421
|
+
# must be `en_GB`.
|
3422
|
+
#
|
3423
|
+
# @return [Types::DescribeCustomVocabularyMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3424
|
+
#
|
3425
|
+
# * {Types::DescribeCustomVocabularyMetadataResponse#bot_id #bot_id} => String
|
3426
|
+
# * {Types::DescribeCustomVocabularyMetadataResponse#bot_version #bot_version} => String
|
3427
|
+
# * {Types::DescribeCustomVocabularyMetadataResponse#locale_id #locale_id} => String
|
3428
|
+
# * {Types::DescribeCustomVocabularyMetadataResponse#custom_vocabulary_status #custom_vocabulary_status} => String
|
3429
|
+
# * {Types::DescribeCustomVocabularyMetadataResponse#creation_date_time #creation_date_time} => Time
|
3430
|
+
# * {Types::DescribeCustomVocabularyMetadataResponse#last_updated_date_time #last_updated_date_time} => Time
|
3431
|
+
#
|
3432
|
+
# @example Request syntax with placeholder values
|
3433
|
+
#
|
3434
|
+
# resp = client.describe_custom_vocabulary_metadata({
|
3435
|
+
# bot_id: "Id", # required
|
3436
|
+
# bot_version: "BotVersion", # required
|
3437
|
+
# locale_id: "LocaleId", # required
|
3438
|
+
# })
|
3439
|
+
#
|
3440
|
+
# @example Response structure
|
3441
|
+
#
|
3442
|
+
# resp.bot_id #=> String
|
3443
|
+
# resp.bot_version #=> String
|
3444
|
+
# resp.locale_id #=> String
|
3445
|
+
# resp.custom_vocabulary_status #=> String, one of "Ready", "Deleting", "Exporting", "Importing", "Creating"
|
3446
|
+
# resp.creation_date_time #=> Time
|
3447
|
+
# resp.last_updated_date_time #=> Time
|
3448
|
+
#
|
3449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeCustomVocabularyMetadata AWS API Documentation
|
3450
|
+
#
|
3451
|
+
# @overload describe_custom_vocabulary_metadata(params = {})
|
3452
|
+
# @param [Hash] params ({})
|
3453
|
+
def describe_custom_vocabulary_metadata(params = {}, options = {})
|
3454
|
+
req = build_request(:describe_custom_vocabulary_metadata, params)
|
3455
|
+
req.send_request(options)
|
3456
|
+
end
|
3457
|
+
|
3351
3458
|
# Gets information about a specific export.
|
3352
3459
|
#
|
3353
3460
|
# @option params [required, String] :export_id
|
@@ -3378,7 +3485,10 @@ module Aws::LexModelsV2
|
|
3378
3485
|
# resp.resource_specification.bot_locale_export_specification.bot_id #=> String
|
3379
3486
|
# resp.resource_specification.bot_locale_export_specification.bot_version #=> String
|
3380
3487
|
# resp.resource_specification.bot_locale_export_specification.locale_id #=> String
|
3381
|
-
# resp.
|
3488
|
+
# resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
|
3489
|
+
# resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
|
3490
|
+
# resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
|
3491
|
+
# resp.file_format #=> String, one of "LexJson", "TSV"
|
3382
3492
|
# resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
3383
3493
|
# resp.failure_reasons #=> Array
|
3384
3494
|
# resp.failure_reasons[0] #=> String
|
@@ -3440,6 +3550,9 @@ module Aws::LexModelsV2
|
|
3440
3550
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
3441
3551
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
3442
3552
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural"
|
3553
|
+
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
3554
|
+
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
3555
|
+
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
3443
3556
|
# resp.imported_resource_id #=> String
|
3444
3557
|
# resp.imported_resource_name #=> String
|
3445
3558
|
# resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
|
@@ -3979,6 +4092,7 @@ module Aws::LexModelsV2
|
|
3979
4092
|
# resp.slot_type_values[0].synonyms[0].value #=> String
|
3980
4093
|
# resp.value_selection_setting.resolution_strategy #=> String, one of "OriginalValue", "TopResolution"
|
3981
4094
|
# resp.value_selection_setting.regex_filter.pattern #=> String
|
4095
|
+
# resp.value_selection_setting.advanced_recognition_setting.audio_recognition_strategy #=> String, one of "UseSlotValuesAsCustomVocabulary"
|
3982
4096
|
# resp.parent_slot_type_signature #=> String
|
3983
4097
|
# resp.bot_id #=> String
|
3984
4098
|
# resp.bot_version #=> String
|
@@ -4424,8 +4538,12 @@ module Aws::LexModelsV2
|
|
4424
4538
|
# @option params [String] :next_token
|
4425
4539
|
# If the response from the `ListBots` operation contains more results
|
4426
4540
|
# than specified in the `maxResults` parameter, a token is returned in
|
4427
|
-
# the response.
|
4428
|
-
#
|
4541
|
+
# the response.
|
4542
|
+
#
|
4543
|
+
# Use the returned token in the `nextToken` parameter of a `ListBots`
|
4544
|
+
# request to return the next page of results. For a complete set of
|
4545
|
+
# results, call the `ListBots` operation until the `nextToken` returned
|
4546
|
+
# in the response is null.
|
4429
4547
|
#
|
4430
4548
|
# @return [Types::ListBotsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4431
4549
|
#
|
@@ -4610,8 +4728,8 @@ module Aws::LexModelsV2
|
|
4610
4728
|
req.send_request(options)
|
4611
4729
|
end
|
4612
4730
|
|
4613
|
-
# Lists the exports for a bot
|
4614
|
-
# list for 7 days.
|
4731
|
+
# Lists the exports for a bot, bot locale, or custom vocabulary. Exports
|
4732
|
+
# are kept in the list for 7 days.
|
4615
4733
|
#
|
4616
4734
|
# @option params [String] :bot_id
|
4617
4735
|
# The unique identifier that Amazon Lex assigned to the bot.
|
@@ -4637,8 +4755,17 @@ module Aws::LexModelsV2
|
|
4637
4755
|
# @option params [String] :next_token
|
4638
4756
|
# If the response from the `ListExports` operation contains more results
|
4639
4757
|
# that specified in the `maxResults` parameter, a token is returned in
|
4640
|
-
# the response.
|
4641
|
-
#
|
4758
|
+
# the response.
|
4759
|
+
#
|
4760
|
+
# Use the returned token in the `nextToken` parameter of a `ListExports`
|
4761
|
+
# request to return the next page of results. For a complete set of
|
4762
|
+
# results, call the `ListExports` operation until the `nextToken`
|
4763
|
+
# returned in the response is null.
|
4764
|
+
#
|
4765
|
+
# @option params [String] :locale_id
|
4766
|
+
# Specifies the resources that should be exported. If you don't specify
|
4767
|
+
# a resource type in the `filters` parameter, both bot locales and
|
4768
|
+
# custom vocabularies are exported.
|
4642
4769
|
#
|
4643
4770
|
# @return [Types::ListExportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4644
4771
|
#
|
@@ -4646,6 +4773,7 @@ module Aws::LexModelsV2
|
|
4646
4773
|
# * {Types::ListExportsResponse#bot_version #bot_version} => String
|
4647
4774
|
# * {Types::ListExportsResponse#export_summaries #export_summaries} => Array<Types::ExportSummary>
|
4648
4775
|
# * {Types::ListExportsResponse#next_token #next_token} => String
|
4776
|
+
# * {Types::ListExportsResponse#locale_id #locale_id} => String
|
4649
4777
|
#
|
4650
4778
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4651
4779
|
#
|
@@ -4667,6 +4795,7 @@ module Aws::LexModelsV2
|
|
4667
4795
|
# ],
|
4668
4796
|
# max_results: 1,
|
4669
4797
|
# next_token: "NextToken",
|
4798
|
+
# locale_id: "LocaleId",
|
4670
4799
|
# })
|
4671
4800
|
#
|
4672
4801
|
# @example Response structure
|
@@ -4680,11 +4809,15 @@ module Aws::LexModelsV2
|
|
4680
4809
|
# resp.export_summaries[0].resource_specification.bot_locale_export_specification.bot_id #=> String
|
4681
4810
|
# resp.export_summaries[0].resource_specification.bot_locale_export_specification.bot_version #=> String
|
4682
4811
|
# resp.export_summaries[0].resource_specification.bot_locale_export_specification.locale_id #=> String
|
4683
|
-
# resp.export_summaries[0].
|
4812
|
+
# resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.bot_id #=> String
|
4813
|
+
# resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.bot_version #=> String
|
4814
|
+
# resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.locale_id #=> String
|
4815
|
+
# resp.export_summaries[0].file_format #=> String, one of "LexJson", "TSV"
|
4684
4816
|
# resp.export_summaries[0].export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
4685
4817
|
# resp.export_summaries[0].creation_date_time #=> Time
|
4686
4818
|
# resp.export_summaries[0].last_updated_date_time #=> Time
|
4687
4819
|
# resp.next_token #=> String
|
4820
|
+
# resp.locale_id #=> String
|
4688
4821
|
#
|
4689
4822
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExports AWS API Documentation
|
4690
4823
|
#
|
@@ -4695,8 +4828,8 @@ module Aws::LexModelsV2
|
|
4695
4828
|
req.send_request(options)
|
4696
4829
|
end
|
4697
4830
|
|
4698
|
-
# Lists the imports for a bot
|
4699
|
-
# list for 7 days.
|
4831
|
+
# Lists the imports for a bot, bot locale, or custom vocabulary. Imports
|
4832
|
+
# are kept in the list for 7 days.
|
4700
4833
|
#
|
4701
4834
|
# @option params [String] :bot_id
|
4702
4835
|
# The unique identifier that Amazon Lex assigned to the bot.
|
@@ -4722,8 +4855,17 @@ module Aws::LexModelsV2
|
|
4722
4855
|
# @option params [String] :next_token
|
4723
4856
|
# If the response from the `ListImports` operation contains more results
|
4724
4857
|
# than specified in the `maxResults` parameter, a token is returned in
|
4725
|
-
# the response.
|
4726
|
-
#
|
4858
|
+
# the response.
|
4859
|
+
#
|
4860
|
+
# Use the returned token in the `nextToken` parameter of a `ListImports`
|
4861
|
+
# request to return the next page of results. For a complete set of
|
4862
|
+
# results, call the `ListImports` operation until the `nextToken`
|
4863
|
+
# returned in the response is null.
|
4864
|
+
#
|
4865
|
+
# @option params [String] :locale_id
|
4866
|
+
# Specifies the locale that should be present in the list. If you don't
|
4867
|
+
# specify a resource type in the `filters` parameter, the list contains
|
4868
|
+
# both bot locales and custom vocabularies.
|
4727
4869
|
#
|
4728
4870
|
# @return [Types::ListImportsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4729
4871
|
#
|
@@ -4731,6 +4873,7 @@ module Aws::LexModelsV2
|
|
4731
4873
|
# * {Types::ListImportsResponse#bot_version #bot_version} => String
|
4732
4874
|
# * {Types::ListImportsResponse#import_summaries #import_summaries} => Array<Types::ImportSummary>
|
4733
4875
|
# * {Types::ListImportsResponse#next_token #next_token} => String
|
4876
|
+
# * {Types::ListImportsResponse#locale_id #locale_id} => String
|
4734
4877
|
#
|
4735
4878
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4736
4879
|
#
|
@@ -4752,6 +4895,7 @@ module Aws::LexModelsV2
|
|
4752
4895
|
# ],
|
4753
4896
|
# max_results: 1,
|
4754
4897
|
# next_token: "NextToken",
|
4898
|
+
# locale_id: "LocaleId",
|
4755
4899
|
# })
|
4756
4900
|
#
|
4757
4901
|
# @example Response structure
|
@@ -4766,7 +4910,9 @@ module Aws::LexModelsV2
|
|
4766
4910
|
# resp.import_summaries[0].merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
|
4767
4911
|
# resp.import_summaries[0].creation_date_time #=> Time
|
4768
4912
|
# resp.import_summaries[0].last_updated_date_time #=> Time
|
4913
|
+
# resp.import_summaries[0].imported_resource_type #=> String, one of "Bot", "BotLocale", "CustomVocabulary"
|
4769
4914
|
# resp.next_token #=> String
|
4915
|
+
# resp.locale_id #=> String
|
4770
4916
|
#
|
4771
4917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImports AWS API Documentation
|
4772
4918
|
#
|
@@ -4812,8 +4958,12 @@ module Aws::LexModelsV2
|
|
4812
4958
|
# @option params [String] :next_token
|
4813
4959
|
# If the response from the `ListIntents` operation contains more results
|
4814
4960
|
# than specified in the `maxResults` parameter, a token is returned in
|
4815
|
-
# the response.
|
4816
|
-
#
|
4961
|
+
# the response.
|
4962
|
+
#
|
4963
|
+
# Use the returned token in the `nextToken` parameter of a `ListIntents`
|
4964
|
+
# request to return the next page of results. For a complete set of
|
4965
|
+
# results, call the `ListIntents` operation until the `nextToken`
|
4966
|
+
# returned in the response is null.
|
4817
4967
|
#
|
4818
4968
|
# @return [Types::ListIntentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4819
4969
|
#
|
@@ -5374,8 +5524,8 @@ module Aws::LexModelsV2
|
|
5374
5524
|
req.send_request(options)
|
5375
5525
|
end
|
5376
5526
|
|
5377
|
-
# Starts importing a bot
|
5378
|
-
# uploaded to an S3 bucket.
|
5527
|
+
# Starts importing a bot, bot locale, or custom vocabulary from a zip
|
5528
|
+
# archive that you uploaded to an S3 bucket.
|
5379
5529
|
#
|
5380
5530
|
# @option params [required, String] :import_id
|
5381
5531
|
# The unique identifier for the import. It is included in the response
|
@@ -5386,7 +5536,7 @@ module Aws::LexModelsV2
|
|
5386
5536
|
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html
|
5387
5537
|
#
|
5388
5538
|
# @option params [required, Types::ImportResourceSpecification] :resource_specification
|
5389
|
-
# Parameters for creating the bot or
|
5539
|
+
# Parameters for creating the bot, bot locale or custom vocabulary.
|
5390
5540
|
#
|
5391
5541
|
# @option params [required, String] :merge_strategy
|
5392
5542
|
# The strategy to use when there is a name conflict between the imported
|
@@ -5395,8 +5545,8 @@ module Aws::LexModelsV2
|
|
5395
5545
|
# fails.
|
5396
5546
|
#
|
5397
5547
|
# @option params [String] :file_password
|
5398
|
-
# The password used to encrypt the zip archive that contains the
|
5399
|
-
#
|
5548
|
+
# The password used to encrypt the zip archive that contains the
|
5549
|
+
# resource definition. You should always encrypt the zip archive to
|
5400
5550
|
# protect it during transit between your site and Amazon Lex.
|
5401
5551
|
#
|
5402
5552
|
# @return [Types::StartImportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -5436,6 +5586,11 @@ module Aws::LexModelsV2
|
|
5436
5586
|
# engine: "standard", # accepts standard, neural
|
5437
5587
|
# },
|
5438
5588
|
# },
|
5589
|
+
# custom_vocabulary_import_specification: {
|
5590
|
+
# bot_id: "Id", # required
|
5591
|
+
# bot_version: "DraftBotVersion", # required
|
5592
|
+
# locale_id: "LocaleId", # required
|
5593
|
+
# },
|
5439
5594
|
# },
|
5440
5595
|
# merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict, Append
|
5441
5596
|
# file_password: "ImportExportFilePassword",
|
@@ -5458,6 +5613,9 @@ module Aws::LexModelsV2
|
|
5458
5613
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
5459
5614
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
5460
5615
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural"
|
5616
|
+
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
5617
|
+
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
5618
|
+
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
5461
5619
|
# resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
|
5462
5620
|
# resp.import_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
5463
5621
|
# resp.creation_date_time #=> Time
|
@@ -5945,7 +6103,10 @@ module Aws::LexModelsV2
|
|
5945
6103
|
# resp.resource_specification.bot_locale_export_specification.bot_id #=> String
|
5946
6104
|
# resp.resource_specification.bot_locale_export_specification.bot_version #=> String
|
5947
6105
|
# resp.resource_specification.bot_locale_export_specification.locale_id #=> String
|
5948
|
-
# resp.
|
6106
|
+
# resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
|
6107
|
+
# resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
|
6108
|
+
# resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
|
6109
|
+
# resp.file_format #=> String, one of "LexJson", "TSV"
|
5949
6110
|
# resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
5950
6111
|
# resp.creation_date_time #=> Time
|
5951
6112
|
# resp.last_updated_date_time #=> Time
|
@@ -7312,6 +7473,9 @@ module Aws::LexModelsV2
|
|
7312
7473
|
# regex_filter: {
|
7313
7474
|
# pattern: "RegexPattern", # required
|
7314
7475
|
# },
|
7476
|
+
# advanced_recognition_setting: {
|
7477
|
+
# audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
|
7478
|
+
# },
|
7315
7479
|
# },
|
7316
7480
|
# parent_slot_type_signature: "SlotTypeSignature",
|
7317
7481
|
# bot_id: "Id", # required
|
@@ -7339,6 +7503,7 @@ module Aws::LexModelsV2
|
|
7339
7503
|
# resp.slot_type_values[0].synonyms[0].value #=> String
|
7340
7504
|
# resp.value_selection_setting.resolution_strategy #=> String, one of "OriginalValue", "TopResolution"
|
7341
7505
|
# resp.value_selection_setting.regex_filter.pattern #=> String
|
7506
|
+
# resp.value_selection_setting.advanced_recognition_setting.audio_recognition_strategy #=> String, one of "UseSlotValuesAsCustomVocabulary"
|
7342
7507
|
# resp.parent_slot_type_signature #=> String
|
7343
7508
|
# resp.bot_id #=> String
|
7344
7509
|
# resp.bot_version #=> String
|
@@ -7371,7 +7536,7 @@ module Aws::LexModelsV2
|
|
7371
7536
|
params: params,
|
7372
7537
|
config: config)
|
7373
7538
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
7374
|
-
context[:gem_version] = '1.
|
7539
|
+
context[:gem_version] = '1.22.0'
|
7375
7540
|
Seahorse::Client::Request.new(handlers, context)
|
7376
7541
|
end
|
7377
7542
|
|