aws-sdk-lexmodelsv2 1.29.0 → 1.30.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +261 -2
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +162 -0
- data/lib/aws-sdk-lexmodelsv2/endpoints.rb +56 -0
- data/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +459 -0
- data/lib/aws-sdk-lexmodelsv2.rb +2 -2
- 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: 779344c998a2243c51baf5ffa495d93574cf5c2628feef820108a66a3a8e7cb1
|
4
|
+
data.tar.gz: 562a2ff35472716ecab959c2195ac6fa6d0c09d6d7ab674cefc1d8f4cea153ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ddf27394f21aa02d67782b5afd95496bdb51bc8092fe2d603bebcdd4d8159b9c17617e787473598e201e0e8eac71a3504fd9c9e28129bf441823dab320a2eae
|
7
|
+
data.tar.gz: f3293e3e065d8b34f97b641675483bd1fb61466c993284dff73055a01bcc11918fe7cdd6b523b99ac80c94e39858cff9c086819fffc9706e2486c88d699438e2
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -368,6 +368,203 @@ module Aws::LexModelsV2
|
|
368
368
|
|
369
369
|
# @!group API Operations
|
370
370
|
|
371
|
+
# Batch create custom vocabulary item for the specified locale in the
|
372
|
+
# specified bot.
|
373
|
+
#
|
374
|
+
# @option params [required, String] :bot_id
|
375
|
+
# The unique identifier of the bot to batch create the custom vocabulary
|
376
|
+
# item for.
|
377
|
+
#
|
378
|
+
# @option params [required, String] :bot_version
|
379
|
+
# The bot version of the bot to batch create the custom vocabulary item
|
380
|
+
# for.
|
381
|
+
#
|
382
|
+
# @option params [required, String] :locale_id
|
383
|
+
# The unique locale identifier of the bot to batch create the custom
|
384
|
+
# vocabulary item for.
|
385
|
+
#
|
386
|
+
# @option params [required, Array<Types::NewCustomVocabularyItem>] :custom_vocabulary_item_list
|
387
|
+
# The custom vocabulary item list of the bot to batch create the custom
|
388
|
+
# vocabulary item for.
|
389
|
+
#
|
390
|
+
# @return [Types::BatchCreateCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
391
|
+
#
|
392
|
+
# * {Types::BatchCreateCustomVocabularyItemResponse#bot_id #bot_id} => String
|
393
|
+
# * {Types::BatchCreateCustomVocabularyItemResponse#bot_version #bot_version} => String
|
394
|
+
# * {Types::BatchCreateCustomVocabularyItemResponse#locale_id #locale_id} => String
|
395
|
+
# * {Types::BatchCreateCustomVocabularyItemResponse#errors #errors} => Array<Types::FailedCustomVocabularyItem>
|
396
|
+
# * {Types::BatchCreateCustomVocabularyItemResponse#resources #resources} => Array<Types::CustomVocabularyItem>
|
397
|
+
#
|
398
|
+
# @example Request syntax with placeholder values
|
399
|
+
#
|
400
|
+
# resp = client.batch_create_custom_vocabulary_item({
|
401
|
+
# bot_id: "Id", # required
|
402
|
+
# bot_version: "BotVersion", # required
|
403
|
+
# locale_id: "LocaleId", # required
|
404
|
+
# custom_vocabulary_item_list: [ # required
|
405
|
+
# {
|
406
|
+
# phrase: "Phrase", # required
|
407
|
+
# weight: 1,
|
408
|
+
# display_as: "Phrase",
|
409
|
+
# },
|
410
|
+
# ],
|
411
|
+
# })
|
412
|
+
#
|
413
|
+
# @example Response structure
|
414
|
+
#
|
415
|
+
# resp.bot_id #=> String
|
416
|
+
# resp.bot_version #=> String
|
417
|
+
# resp.locale_id #=> String
|
418
|
+
# resp.errors #=> Array
|
419
|
+
# resp.errors[0].item_id #=> String
|
420
|
+
# resp.errors[0].error_message #=> String
|
421
|
+
# resp.errors[0].error_code #=> String, one of "DUPLICATE_INPUT", "RESOURCE_DOES_NOT_EXIST", "RESOURCE_ALREADY_EXISTS", "INTERNAL_SERVER_FAILURE"
|
422
|
+
# resp.resources #=> Array
|
423
|
+
# resp.resources[0].item_id #=> String
|
424
|
+
# resp.resources[0].phrase #=> String
|
425
|
+
# resp.resources[0].weight #=> Integer
|
426
|
+
# resp.resources[0].display_as #=> String
|
427
|
+
#
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchCreateCustomVocabularyItem AWS API Documentation
|
429
|
+
#
|
430
|
+
# @overload batch_create_custom_vocabulary_item(params = {})
|
431
|
+
# @param [Hash] params ({})
|
432
|
+
def batch_create_custom_vocabulary_item(params = {}, options = {})
|
433
|
+
req = build_request(:batch_create_custom_vocabulary_item, params)
|
434
|
+
req.send_request(options)
|
435
|
+
end
|
436
|
+
|
437
|
+
# Batch delete custom vocabulary item for the specified locale in the
|
438
|
+
# specified bot.
|
439
|
+
#
|
440
|
+
# @option params [required, String] :bot_id
|
441
|
+
# The unique identifier of the bot to batch delete request for the
|
442
|
+
# custom vocabulary item.
|
443
|
+
#
|
444
|
+
# @option params [required, String] :bot_version
|
445
|
+
# The version of the bot to batch delete request for the custom
|
446
|
+
# vocabulary item.
|
447
|
+
#
|
448
|
+
# @option params [required, String] :locale_id
|
449
|
+
# The locale identifier of the bot to batch delete request for the
|
450
|
+
# custom vocabulary item.
|
451
|
+
#
|
452
|
+
# @option params [required, Array<Types::CustomVocabularyEntryId>] :custom_vocabulary_item_list
|
453
|
+
# The custom vocabulary list to batch delete request for the custom
|
454
|
+
# vocabulary item.
|
455
|
+
#
|
456
|
+
# @return [Types::BatchDeleteCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
457
|
+
#
|
458
|
+
# * {Types::BatchDeleteCustomVocabularyItemResponse#bot_id #bot_id} => String
|
459
|
+
# * {Types::BatchDeleteCustomVocabularyItemResponse#bot_version #bot_version} => String
|
460
|
+
# * {Types::BatchDeleteCustomVocabularyItemResponse#locale_id #locale_id} => String
|
461
|
+
# * {Types::BatchDeleteCustomVocabularyItemResponse#errors #errors} => Array<Types::FailedCustomVocabularyItem>
|
462
|
+
# * {Types::BatchDeleteCustomVocabularyItemResponse#resources #resources} => Array<Types::CustomVocabularyItem>
|
463
|
+
#
|
464
|
+
# @example Request syntax with placeholder values
|
465
|
+
#
|
466
|
+
# resp = client.batch_delete_custom_vocabulary_item({
|
467
|
+
# bot_id: "Id", # required
|
468
|
+
# bot_version: "BotVersion", # required
|
469
|
+
# locale_id: "LocaleId", # required
|
470
|
+
# custom_vocabulary_item_list: [ # required
|
471
|
+
# {
|
472
|
+
# item_id: "ItemId", # required
|
473
|
+
# },
|
474
|
+
# ],
|
475
|
+
# })
|
476
|
+
#
|
477
|
+
# @example Response structure
|
478
|
+
#
|
479
|
+
# resp.bot_id #=> String
|
480
|
+
# resp.bot_version #=> String
|
481
|
+
# resp.locale_id #=> String
|
482
|
+
# resp.errors #=> Array
|
483
|
+
# resp.errors[0].item_id #=> String
|
484
|
+
# resp.errors[0].error_message #=> String
|
485
|
+
# resp.errors[0].error_code #=> String, one of "DUPLICATE_INPUT", "RESOURCE_DOES_NOT_EXIST", "RESOURCE_ALREADY_EXISTS", "INTERNAL_SERVER_FAILURE"
|
486
|
+
# resp.resources #=> Array
|
487
|
+
# resp.resources[0].item_id #=> String
|
488
|
+
# resp.resources[0].phrase #=> String
|
489
|
+
# resp.resources[0].weight #=> Integer
|
490
|
+
# resp.resources[0].display_as #=> String
|
491
|
+
#
|
492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchDeleteCustomVocabularyItem AWS API Documentation
|
493
|
+
#
|
494
|
+
# @overload batch_delete_custom_vocabulary_item(params = {})
|
495
|
+
# @param [Hash] params ({})
|
496
|
+
def batch_delete_custom_vocabulary_item(params = {}, options = {})
|
497
|
+
req = build_request(:batch_delete_custom_vocabulary_item, params)
|
498
|
+
req.send_request(options)
|
499
|
+
end
|
500
|
+
|
501
|
+
# Batch update custom vocabulary item for the specified locale in the
|
502
|
+
# specified bot.
|
503
|
+
#
|
504
|
+
# @option params [required, String] :bot_id
|
505
|
+
# The unique identifier of the bot to the batch update request for the
|
506
|
+
# custom vocabulary item.
|
507
|
+
#
|
508
|
+
# @option params [required, String] :bot_version
|
509
|
+
# The bot version of the bot to the batch update request for the custom
|
510
|
+
# vocabulary item.
|
511
|
+
#
|
512
|
+
# @option params [required, String] :locale_id
|
513
|
+
# The locale identifier of the bot to the batch update request for the
|
514
|
+
# custom vocabulary item.
|
515
|
+
#
|
516
|
+
# @option params [required, Array<Types::CustomVocabularyItem>] :custom_vocabulary_item_list
|
517
|
+
# The custom vocabulary item list of the bot to the batch update request
|
518
|
+
# for the custom vocabulary item.
|
519
|
+
#
|
520
|
+
# @return [Types::BatchUpdateCustomVocabularyItemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
521
|
+
#
|
522
|
+
# * {Types::BatchUpdateCustomVocabularyItemResponse#bot_id #bot_id} => String
|
523
|
+
# * {Types::BatchUpdateCustomVocabularyItemResponse#bot_version #bot_version} => String
|
524
|
+
# * {Types::BatchUpdateCustomVocabularyItemResponse#locale_id #locale_id} => String
|
525
|
+
# * {Types::BatchUpdateCustomVocabularyItemResponse#errors #errors} => Array<Types::FailedCustomVocabularyItem>
|
526
|
+
# * {Types::BatchUpdateCustomVocabularyItemResponse#resources #resources} => Array<Types::CustomVocabularyItem>
|
527
|
+
#
|
528
|
+
# @example Request syntax with placeholder values
|
529
|
+
#
|
530
|
+
# resp = client.batch_update_custom_vocabulary_item({
|
531
|
+
# bot_id: "Id", # required
|
532
|
+
# bot_version: "BotVersion", # required
|
533
|
+
# locale_id: "LocaleId", # required
|
534
|
+
# custom_vocabulary_item_list: [ # required
|
535
|
+
# {
|
536
|
+
# item_id: "ItemId", # required
|
537
|
+
# phrase: "Phrase", # required
|
538
|
+
# weight: 1,
|
539
|
+
# display_as: "Phrase",
|
540
|
+
# },
|
541
|
+
# ],
|
542
|
+
# })
|
543
|
+
#
|
544
|
+
# @example Response structure
|
545
|
+
#
|
546
|
+
# resp.bot_id #=> String
|
547
|
+
# resp.bot_version #=> String
|
548
|
+
# resp.locale_id #=> String
|
549
|
+
# resp.errors #=> Array
|
550
|
+
# resp.errors[0].item_id #=> String
|
551
|
+
# resp.errors[0].error_message #=> String
|
552
|
+
# resp.errors[0].error_code #=> String, one of "DUPLICATE_INPUT", "RESOURCE_DOES_NOT_EXIST", "RESOURCE_ALREADY_EXISTS", "INTERNAL_SERVER_FAILURE"
|
553
|
+
# resp.resources #=> Array
|
554
|
+
# resp.resources[0].item_id #=> String
|
555
|
+
# resp.resources[0].phrase #=> String
|
556
|
+
# resp.resources[0].weight #=> Integer
|
557
|
+
# resp.resources[0].display_as #=> String
|
558
|
+
#
|
559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchUpdateCustomVocabularyItem AWS API Documentation
|
560
|
+
#
|
561
|
+
# @overload batch_update_custom_vocabulary_item(params = {})
|
562
|
+
# @param [Hash] params ({})
|
563
|
+
def batch_update_custom_vocabulary_item(params = {}, options = {})
|
564
|
+
req = build_request(:batch_update_custom_vocabulary_item, params)
|
565
|
+
req.send_request(options)
|
566
|
+
end
|
567
|
+
|
371
568
|
# Builds a bot, its intents, and its slot types into a specific locale.
|
372
569
|
# A bot can be built into multiple locales. At runtime the locale is
|
373
570
|
# used to choose a specific build of the bot.
|
@@ -13499,6 +13696,67 @@ module Aws::LexModelsV2
|
|
13499
13696
|
req.send_request(options)
|
13500
13697
|
end
|
13501
13698
|
|
13699
|
+
# List custom vocabulary items for the specified locale in the specified
|
13700
|
+
# bot.
|
13701
|
+
#
|
13702
|
+
# @option params [required, String] :bot_id
|
13703
|
+
# The unique identifier of the bot to the list custom vocabulary
|
13704
|
+
# request.
|
13705
|
+
#
|
13706
|
+
# @option params [required, String] :bot_version
|
13707
|
+
# The bot version of the bot to the list custom vocabulary request.
|
13708
|
+
#
|
13709
|
+
# @option params [required, String] :locale_id
|
13710
|
+
# The locale identifier of the bot to the list custom vocabulary
|
13711
|
+
# request.
|
13712
|
+
#
|
13713
|
+
# @option params [Integer] :max_results
|
13714
|
+
# The maximum results to the list custom vocabulary request.
|
13715
|
+
#
|
13716
|
+
# @option params [String] :next_token
|
13717
|
+
# The nextToken identifier to the list custom vocabulary request.
|
13718
|
+
#
|
13719
|
+
# @return [Types::ListCustomVocabularyItemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13720
|
+
#
|
13721
|
+
# * {Types::ListCustomVocabularyItemsResponse#bot_id #bot_id} => String
|
13722
|
+
# * {Types::ListCustomVocabularyItemsResponse#bot_version #bot_version} => String
|
13723
|
+
# * {Types::ListCustomVocabularyItemsResponse#locale_id #locale_id} => String
|
13724
|
+
# * {Types::ListCustomVocabularyItemsResponse#custom_vocabulary_items #custom_vocabulary_items} => Array<Types::CustomVocabularyItem>
|
13725
|
+
# * {Types::ListCustomVocabularyItemsResponse#next_token #next_token} => String
|
13726
|
+
#
|
13727
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
13728
|
+
#
|
13729
|
+
# @example Request syntax with placeholder values
|
13730
|
+
#
|
13731
|
+
# resp = client.list_custom_vocabulary_items({
|
13732
|
+
# bot_id: "Id", # required
|
13733
|
+
# bot_version: "BotVersion", # required
|
13734
|
+
# locale_id: "LocaleId", # required
|
13735
|
+
# max_results: 1,
|
13736
|
+
# next_token: "NextToken",
|
13737
|
+
# })
|
13738
|
+
#
|
13739
|
+
# @example Response structure
|
13740
|
+
#
|
13741
|
+
# resp.bot_id #=> String
|
13742
|
+
# resp.bot_version #=> String
|
13743
|
+
# resp.locale_id #=> String
|
13744
|
+
# resp.custom_vocabulary_items #=> Array
|
13745
|
+
# resp.custom_vocabulary_items[0].item_id #=> String
|
13746
|
+
# resp.custom_vocabulary_items[0].phrase #=> String
|
13747
|
+
# resp.custom_vocabulary_items[0].weight #=> Integer
|
13748
|
+
# resp.custom_vocabulary_items[0].display_as #=> String
|
13749
|
+
# resp.next_token #=> String
|
13750
|
+
#
|
13751
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListCustomVocabularyItems AWS API Documentation
|
13752
|
+
#
|
13753
|
+
# @overload list_custom_vocabulary_items(params = {})
|
13754
|
+
# @param [Hash] params ({})
|
13755
|
+
def list_custom_vocabulary_items(params = {}, options = {})
|
13756
|
+
req = build_request(:list_custom_vocabulary_items, params)
|
13757
|
+
req.send_request(options)
|
13758
|
+
end
|
13759
|
+
|
13502
13760
|
# Lists the exports for a bot, bot locale, or custom vocabulary. Exports
|
13503
13761
|
# are kept in the list for 7 days.
|
13504
13762
|
#
|
@@ -13796,7 +14054,8 @@ module Aws::LexModelsV2
|
|
13796
14054
|
end
|
13797
14055
|
|
13798
14056
|
# Gets a list of recommended intents provided by the bot recommendation
|
13799
|
-
# that you can use in your bot.
|
14057
|
+
# that you can use in your bot. Intents in the response are ordered by
|
14058
|
+
# relevance.
|
13800
14059
|
#
|
13801
14060
|
# @option params [required, String] :bot_id
|
13802
14061
|
# The unique identifier of the bot associated with the recommended
|
@@ -23178,7 +23437,7 @@ module Aws::LexModelsV2
|
|
23178
23437
|
params: params,
|
23179
23438
|
config: config)
|
23180
23439
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
23181
|
-
context[:gem_version] = '1.
|
23440
|
+
context[:gem_version] = '1.30.0'
|
23182
23441
|
Seahorse::Client::Request.new(handlers, context)
|
23183
23442
|
end
|
23184
23443
|
|
@@ -37,6 +37,12 @@ module Aws::LexModelsV2
|
|
37
37
|
AudioLogSettingsList = Shapes::ListShape.new(name: 'AudioLogSettingsList')
|
38
38
|
AudioRecognitionStrategy = Shapes::StringShape.new(name: 'AudioRecognitionStrategy')
|
39
39
|
AudioSpecification = Shapes::StructureShape.new(name: 'AudioSpecification')
|
40
|
+
BatchCreateCustomVocabularyItemRequest = Shapes::StructureShape.new(name: 'BatchCreateCustomVocabularyItemRequest')
|
41
|
+
BatchCreateCustomVocabularyItemResponse = Shapes::StructureShape.new(name: 'BatchCreateCustomVocabularyItemResponse')
|
42
|
+
BatchDeleteCustomVocabularyItemRequest = Shapes::StructureShape.new(name: 'BatchDeleteCustomVocabularyItemRequest')
|
43
|
+
BatchDeleteCustomVocabularyItemResponse = Shapes::StructureShape.new(name: 'BatchDeleteCustomVocabularyItemResponse')
|
44
|
+
BatchUpdateCustomVocabularyItemRequest = Shapes::StructureShape.new(name: 'BatchUpdateCustomVocabularyItemRequest')
|
45
|
+
BatchUpdateCustomVocabularyItemResponse = Shapes::StructureShape.new(name: 'BatchUpdateCustomVocabularyItemResponse')
|
40
46
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
41
47
|
BotAliasHistoryEvent = Shapes::StructureShape.new(name: 'BotAliasHistoryEvent')
|
42
48
|
BotAliasHistoryEventsList = Shapes::ListShape.new(name: 'BotAliasHistoryEventsList')
|
@@ -130,6 +136,7 @@ module Aws::LexModelsV2
|
|
130
136
|
CreateBotResponse = Shapes::StructureShape.new(name: 'CreateBotResponse')
|
131
137
|
CreateBotVersionRequest = Shapes::StructureShape.new(name: 'CreateBotVersionRequest')
|
132
138
|
CreateBotVersionResponse = Shapes::StructureShape.new(name: 'CreateBotVersionResponse')
|
139
|
+
CreateCustomVocabularyItemsList = Shapes::ListShape.new(name: 'CreateCustomVocabularyItemsList')
|
133
140
|
CreateExportRequest = Shapes::StructureShape.new(name: 'CreateExportRequest')
|
134
141
|
CreateExportResponse = Shapes::StructureShape.new(name: 'CreateExportResponse')
|
135
142
|
CreateIntentRequest = Shapes::StructureShape.new(name: 'CreateIntentRequest')
|
@@ -146,8 +153,11 @@ module Aws::LexModelsV2
|
|
146
153
|
CreateUploadUrlResponse = Shapes::StructureShape.new(name: 'CreateUploadUrlResponse')
|
147
154
|
CustomPayload = Shapes::StructureShape.new(name: 'CustomPayload')
|
148
155
|
CustomPayloadValue = Shapes::StringShape.new(name: 'CustomPayloadValue')
|
156
|
+
CustomVocabularyEntryId = Shapes::StructureShape.new(name: 'CustomVocabularyEntryId')
|
149
157
|
CustomVocabularyExportSpecification = Shapes::StructureShape.new(name: 'CustomVocabularyExportSpecification')
|
150
158
|
CustomVocabularyImportSpecification = Shapes::StructureShape.new(name: 'CustomVocabularyImportSpecification')
|
159
|
+
CustomVocabularyItem = Shapes::StructureShape.new(name: 'CustomVocabularyItem')
|
160
|
+
CustomVocabularyItems = Shapes::ListShape.new(name: 'CustomVocabularyItems')
|
151
161
|
CustomVocabularyStatus = Shapes::StringShape.new(name: 'CustomVocabularyStatus')
|
152
162
|
DTMFCharacter = Shapes::StringShape.new(name: 'DTMFCharacter')
|
153
163
|
DTMFSpecification = Shapes::StructureShape.new(name: 'DTMFSpecification')
|
@@ -162,6 +172,7 @@ module Aws::LexModelsV2
|
|
162
172
|
DeleteBotResponse = Shapes::StructureShape.new(name: 'DeleteBotResponse')
|
163
173
|
DeleteBotVersionRequest = Shapes::StructureShape.new(name: 'DeleteBotVersionRequest')
|
164
174
|
DeleteBotVersionResponse = Shapes::StructureShape.new(name: 'DeleteBotVersionResponse')
|
175
|
+
DeleteCustomVocabularyItemsList = Shapes::ListShape.new(name: 'DeleteCustomVocabularyItemsList')
|
165
176
|
DeleteCustomVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteCustomVocabularyRequest')
|
166
177
|
DeleteCustomVocabularyResponse = Shapes::StructureShape.new(name: 'DeleteCustomVocabularyResponse')
|
167
178
|
DeleteExportRequest = Shapes::StructureShape.new(name: 'DeleteExportRequest')
|
@@ -211,6 +222,8 @@ module Aws::LexModelsV2
|
|
211
222
|
Effect = Shapes::StringShape.new(name: 'Effect')
|
212
223
|
ElicitationCodeHookInvocationSetting = Shapes::StructureShape.new(name: 'ElicitationCodeHookInvocationSetting')
|
213
224
|
EncryptionSetting = Shapes::StructureShape.new(name: 'EncryptionSetting')
|
225
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
226
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
214
227
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
215
228
|
ExportFilter = Shapes::StructureShape.new(name: 'ExportFilter')
|
216
229
|
ExportFilterName = Shapes::StringShape.new(name: 'ExportFilterName')
|
@@ -223,6 +236,8 @@ module Aws::LexModelsV2
|
|
223
236
|
ExportSummary = Shapes::StructureShape.new(name: 'ExportSummary')
|
224
237
|
ExportSummaryList = Shapes::ListShape.new(name: 'ExportSummaryList')
|
225
238
|
ExternalSourceSetting = Shapes::StructureShape.new(name: 'ExternalSourceSetting')
|
239
|
+
FailedCustomVocabularyItem = Shapes::StructureShape.new(name: 'FailedCustomVocabularyItem')
|
240
|
+
FailedCustomVocabularyItems = Shapes::ListShape.new(name: 'FailedCustomVocabularyItems')
|
226
241
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
227
242
|
FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
|
228
243
|
FilePassword = Shapes::StringShape.new(name: 'FilePassword')
|
@@ -271,6 +286,7 @@ module Aws::LexModelsV2
|
|
271
286
|
IntentSummary = Shapes::StructureShape.new(name: 'IntentSummary')
|
272
287
|
IntentSummaryList = Shapes::ListShape.new(name: 'IntentSummaryList')
|
273
288
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
289
|
+
ItemId = Shapes::StringShape.new(name: 'ItemId')
|
274
290
|
KendraConfiguration = Shapes::StructureShape.new(name: 'KendraConfiguration')
|
275
291
|
KendraIndexArn = Shapes::StringShape.new(name: 'KendraIndexArn')
|
276
292
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
@@ -293,6 +309,8 @@ module Aws::LexModelsV2
|
|
293
309
|
ListBuiltInIntentsResponse = Shapes::StructureShape.new(name: 'ListBuiltInIntentsResponse')
|
294
310
|
ListBuiltInSlotTypesRequest = Shapes::StructureShape.new(name: 'ListBuiltInSlotTypesRequest')
|
295
311
|
ListBuiltInSlotTypesResponse = Shapes::StructureShape.new(name: 'ListBuiltInSlotTypesResponse')
|
312
|
+
ListCustomVocabularyItemsRequest = Shapes::StructureShape.new(name: 'ListCustomVocabularyItemsRequest')
|
313
|
+
ListCustomVocabularyItemsResponse = Shapes::StructureShape.new(name: 'ListCustomVocabularyItemsResponse')
|
296
314
|
ListExportsRequest = Shapes::StructureShape.new(name: 'ListExportsRequest')
|
297
315
|
ListExportsResponse = Shapes::StructureShape.new(name: 'ListExportsResponse')
|
298
316
|
ListImportsRequest = Shapes::StructureShape.new(name: 'ListImportsRequest')
|
@@ -321,6 +339,7 @@ module Aws::LexModelsV2
|
|
321
339
|
MissedCount = Shapes::IntegerShape.new(name: 'MissedCount')
|
322
340
|
MultipleValuesSetting = Shapes::StructureShape.new(name: 'MultipleValuesSetting')
|
323
341
|
Name = Shapes::StringShape.new(name: 'Name')
|
342
|
+
NewCustomVocabularyItem = Shapes::StructureShape.new(name: 'NewCustomVocabularyItem')
|
324
343
|
NextIndex = Shapes::IntegerShape.new(name: 'NextIndex')
|
325
344
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
326
345
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
@@ -334,6 +353,7 @@ module Aws::LexModelsV2
|
|
334
353
|
OutputContext = Shapes::StructureShape.new(name: 'OutputContext')
|
335
354
|
OutputContextsList = Shapes::ListShape.new(name: 'OutputContextsList')
|
336
355
|
PathFormat = Shapes::StructureShape.new(name: 'PathFormat')
|
356
|
+
Phrase = Shapes::StringShape.new(name: 'Phrase')
|
337
357
|
PlainTextMessage = Shapes::StructureShape.new(name: 'PlainTextMessage')
|
338
358
|
PlainTextMessageValue = Shapes::StringShape.new(name: 'PlainTextMessageValue')
|
339
359
|
Policy = Shapes::StringShape.new(name: 'Policy')
|
@@ -470,6 +490,7 @@ module Aws::LexModelsV2
|
|
470
490
|
UpdateBotRecommendationResponse = Shapes::StructureShape.new(name: 'UpdateBotRecommendationResponse')
|
471
491
|
UpdateBotRequest = Shapes::StructureShape.new(name: 'UpdateBotRequest')
|
472
492
|
UpdateBotResponse = Shapes::StructureShape.new(name: 'UpdateBotResponse')
|
493
|
+
UpdateCustomVocabularyItemsList = Shapes::ListShape.new(name: 'UpdateCustomVocabularyItemsList')
|
473
494
|
UpdateExportRequest = Shapes::StructureShape.new(name: 'UpdateExportRequest')
|
474
495
|
UpdateExportResponse = Shapes::StructureShape.new(name: 'UpdateExportResponse')
|
475
496
|
UpdateIntentRequest = Shapes::StructureShape.new(name: 'UpdateIntentRequest')
|
@@ -488,6 +509,7 @@ module Aws::LexModelsV2
|
|
488
509
|
VoiceId = Shapes::StringShape.new(name: 'VoiceId')
|
489
510
|
VoiceSettings = Shapes::StructureShape.new(name: 'VoiceSettings')
|
490
511
|
WaitAndContinueSpecification = Shapes::StructureShape.new(name: 'WaitAndContinueSpecification')
|
512
|
+
Weight = Shapes::IntegerShape.new(name: 'Weight')
|
491
513
|
|
492
514
|
AdvancedRecognitionSetting.add_member(:audio_recognition_strategy, Shapes::ShapeRef.new(shape: AudioRecognitionStrategy, location_name: "audioRecognitionStrategy"))
|
493
515
|
AdvancedRecognitionSetting.struct_class = Types::AdvancedRecognitionSetting
|
@@ -546,6 +568,45 @@ module Aws::LexModelsV2
|
|
546
568
|
AudioSpecification.add_member(:end_timeout_ms, Shapes::ShapeRef.new(shape: TimeInMilliSeconds, required: true, location_name: "endTimeoutMs"))
|
547
569
|
AudioSpecification.struct_class = Types::AudioSpecification
|
548
570
|
|
571
|
+
BatchCreateCustomVocabularyItemRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
572
|
+
BatchCreateCustomVocabularyItemRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
573
|
+
BatchCreateCustomVocabularyItemRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
574
|
+
BatchCreateCustomVocabularyItemRequest.add_member(:custom_vocabulary_item_list, Shapes::ShapeRef.new(shape: CreateCustomVocabularyItemsList, required: true, location_name: "customVocabularyItemList"))
|
575
|
+
BatchCreateCustomVocabularyItemRequest.struct_class = Types::BatchCreateCustomVocabularyItemRequest
|
576
|
+
|
577
|
+
BatchCreateCustomVocabularyItemResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
578
|
+
BatchCreateCustomVocabularyItemResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
579
|
+
BatchCreateCustomVocabularyItemResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
580
|
+
BatchCreateCustomVocabularyItemResponse.add_member(:errors, Shapes::ShapeRef.new(shape: FailedCustomVocabularyItems, location_name: "errors"))
|
581
|
+
BatchCreateCustomVocabularyItemResponse.add_member(:resources, Shapes::ShapeRef.new(shape: CustomVocabularyItems, location_name: "resources"))
|
582
|
+
BatchCreateCustomVocabularyItemResponse.struct_class = Types::BatchCreateCustomVocabularyItemResponse
|
583
|
+
|
584
|
+
BatchDeleteCustomVocabularyItemRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
585
|
+
BatchDeleteCustomVocabularyItemRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
586
|
+
BatchDeleteCustomVocabularyItemRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
587
|
+
BatchDeleteCustomVocabularyItemRequest.add_member(:custom_vocabulary_item_list, Shapes::ShapeRef.new(shape: DeleteCustomVocabularyItemsList, required: true, location_name: "customVocabularyItemList"))
|
588
|
+
BatchDeleteCustomVocabularyItemRequest.struct_class = Types::BatchDeleteCustomVocabularyItemRequest
|
589
|
+
|
590
|
+
BatchDeleteCustomVocabularyItemResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
591
|
+
BatchDeleteCustomVocabularyItemResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
592
|
+
BatchDeleteCustomVocabularyItemResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
593
|
+
BatchDeleteCustomVocabularyItemResponse.add_member(:errors, Shapes::ShapeRef.new(shape: FailedCustomVocabularyItems, location_name: "errors"))
|
594
|
+
BatchDeleteCustomVocabularyItemResponse.add_member(:resources, Shapes::ShapeRef.new(shape: CustomVocabularyItems, location_name: "resources"))
|
595
|
+
BatchDeleteCustomVocabularyItemResponse.struct_class = Types::BatchDeleteCustomVocabularyItemResponse
|
596
|
+
|
597
|
+
BatchUpdateCustomVocabularyItemRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
598
|
+
BatchUpdateCustomVocabularyItemRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
599
|
+
BatchUpdateCustomVocabularyItemRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
600
|
+
BatchUpdateCustomVocabularyItemRequest.add_member(:custom_vocabulary_item_list, Shapes::ShapeRef.new(shape: UpdateCustomVocabularyItemsList, required: true, location_name: "customVocabularyItemList"))
|
601
|
+
BatchUpdateCustomVocabularyItemRequest.struct_class = Types::BatchUpdateCustomVocabularyItemRequest
|
602
|
+
|
603
|
+
BatchUpdateCustomVocabularyItemResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
604
|
+
BatchUpdateCustomVocabularyItemResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
605
|
+
BatchUpdateCustomVocabularyItemResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
606
|
+
BatchUpdateCustomVocabularyItemResponse.add_member(:errors, Shapes::ShapeRef.new(shape: FailedCustomVocabularyItems, location_name: "errors"))
|
607
|
+
BatchUpdateCustomVocabularyItemResponse.add_member(:resources, Shapes::ShapeRef.new(shape: CustomVocabularyItems, location_name: "resources"))
|
608
|
+
BatchUpdateCustomVocabularyItemResponse.struct_class = Types::BatchUpdateCustomVocabularyItemResponse
|
609
|
+
|
549
610
|
BotAliasHistoryEvent.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
550
611
|
BotAliasHistoryEvent.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startDate"))
|
551
612
|
BotAliasHistoryEvent.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
|
@@ -832,6 +893,8 @@ module Aws::LexModelsV2
|
|
832
893
|
CreateBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
833
894
|
CreateBotVersionResponse.struct_class = Types::CreateBotVersionResponse
|
834
895
|
|
896
|
+
CreateCustomVocabularyItemsList.member = Shapes::ShapeRef.new(shape: NewCustomVocabularyItem)
|
897
|
+
|
835
898
|
CreateExportRequest.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, required: true, location_name: "resourceSpecification"))
|
836
899
|
CreateExportRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, required: true, location_name: "fileFormat"))
|
837
900
|
CreateExportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
|
@@ -964,6 +1027,9 @@ module Aws::LexModelsV2
|
|
964
1027
|
CustomPayload.add_member(:value, Shapes::ShapeRef.new(shape: CustomPayloadValue, required: true, location_name: "value"))
|
965
1028
|
CustomPayload.struct_class = Types::CustomPayload
|
966
1029
|
|
1030
|
+
CustomVocabularyEntryId.add_member(:item_id, Shapes::ShapeRef.new(shape: ItemId, required: true, location_name: "itemId"))
|
1031
|
+
CustomVocabularyEntryId.struct_class = Types::CustomVocabularyEntryId
|
1032
|
+
|
967
1033
|
CustomVocabularyExportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
|
968
1034
|
CustomVocabularyExportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location_name: "botVersion"))
|
969
1035
|
CustomVocabularyExportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
|
@@ -974,6 +1040,14 @@ module Aws::LexModelsV2
|
|
974
1040
|
CustomVocabularyImportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
|
975
1041
|
CustomVocabularyImportSpecification.struct_class = Types::CustomVocabularyImportSpecification
|
976
1042
|
|
1043
|
+
CustomVocabularyItem.add_member(:item_id, Shapes::ShapeRef.new(shape: ItemId, required: true, location_name: "itemId"))
|
1044
|
+
CustomVocabularyItem.add_member(:phrase, Shapes::ShapeRef.new(shape: Phrase, required: true, location_name: "phrase"))
|
1045
|
+
CustomVocabularyItem.add_member(:weight, Shapes::ShapeRef.new(shape: Weight, location_name: "weight"))
|
1046
|
+
CustomVocabularyItem.add_member(:display_as, Shapes::ShapeRef.new(shape: Phrase, location_name: "displayAs"))
|
1047
|
+
CustomVocabularyItem.struct_class = Types::CustomVocabularyItem
|
1048
|
+
|
1049
|
+
CustomVocabularyItems.member = Shapes::ShapeRef.new(shape: CustomVocabularyItem)
|
1050
|
+
|
977
1051
|
DTMFSpecification.add_member(:max_length, Shapes::ShapeRef.new(shape: MaxUtteranceDigits, required: true, location_name: "maxLength"))
|
978
1052
|
DTMFSpecification.add_member(:end_timeout_ms, Shapes::ShapeRef.new(shape: TimeInMilliSeconds, required: true, location_name: "endTimeoutMs"))
|
979
1053
|
DTMFSpecification.add_member(:deletion_character, Shapes::ShapeRef.new(shape: DTMFCharacter, required: true, location_name: "deletionCharacter"))
|
@@ -1030,6 +1104,8 @@ module Aws::LexModelsV2
|
|
1030
1104
|
DeleteBotVersionResponse.add_member(:bot_status, Shapes::ShapeRef.new(shape: BotStatus, location_name: "botStatus"))
|
1031
1105
|
DeleteBotVersionResponse.struct_class = Types::DeleteBotVersionResponse
|
1032
1106
|
|
1107
|
+
DeleteCustomVocabularyItemsList.member = Shapes::ShapeRef.new(shape: CustomVocabularyEntryId)
|
1108
|
+
|
1033
1109
|
DeleteCustomVocabularyRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
1034
1110
|
DeleteCustomVocabularyRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
|
1035
1111
|
DeleteCustomVocabularyRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
@@ -1365,6 +1441,13 @@ module Aws::LexModelsV2
|
|
1365
1441
|
ExternalSourceSetting.add_member(:grammar_slot_type_setting, Shapes::ShapeRef.new(shape: GrammarSlotTypeSetting, location_name: "grammarSlotTypeSetting"))
|
1366
1442
|
ExternalSourceSetting.struct_class = Types::ExternalSourceSetting
|
1367
1443
|
|
1444
|
+
FailedCustomVocabularyItem.add_member(:item_id, Shapes::ShapeRef.new(shape: ItemId, location_name: "itemId"))
|
1445
|
+
FailedCustomVocabularyItem.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
|
1446
|
+
FailedCustomVocabularyItem.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
|
1447
|
+
FailedCustomVocabularyItem.struct_class = Types::FailedCustomVocabularyItem
|
1448
|
+
|
1449
|
+
FailedCustomVocabularyItems.member = Shapes::ShapeRef.new(shape: FailedCustomVocabularyItem)
|
1450
|
+
|
1368
1451
|
FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
|
1369
1452
|
|
1370
1453
|
FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
|
@@ -1613,6 +1696,20 @@ module Aws::LexModelsV2
|
|
1613
1696
|
ListBuiltInSlotTypesResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
1614
1697
|
ListBuiltInSlotTypesResponse.struct_class = Types::ListBuiltInSlotTypesResponse
|
1615
1698
|
|
1699
|
+
ListCustomVocabularyItemsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
1700
|
+
ListCustomVocabularyItemsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
1701
|
+
ListCustomVocabularyItemsRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
1702
|
+
ListCustomVocabularyItemsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1703
|
+
ListCustomVocabularyItemsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1704
|
+
ListCustomVocabularyItemsRequest.struct_class = Types::ListCustomVocabularyItemsRequest
|
1705
|
+
|
1706
|
+
ListCustomVocabularyItemsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1707
|
+
ListCustomVocabularyItemsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
1708
|
+
ListCustomVocabularyItemsResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
1709
|
+
ListCustomVocabularyItemsResponse.add_member(:custom_vocabulary_items, Shapes::ShapeRef.new(shape: CustomVocabularyItems, location_name: "customVocabularyItems"))
|
1710
|
+
ListCustomVocabularyItemsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1711
|
+
ListCustomVocabularyItemsResponse.struct_class = Types::ListCustomVocabularyItemsResponse
|
1712
|
+
|
1616
1713
|
ListExportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1617
1714
|
ListExportsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
1618
1715
|
ListExportsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ExportSortBy, location_name: "sortBy"))
|
@@ -1734,6 +1831,11 @@ module Aws::LexModelsV2
|
|
1734
1831
|
MultipleValuesSetting.add_member(:allow_multiple_values, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowMultipleValues"))
|
1735
1832
|
MultipleValuesSetting.struct_class = Types::MultipleValuesSetting
|
1736
1833
|
|
1834
|
+
NewCustomVocabularyItem.add_member(:phrase, Shapes::ShapeRef.new(shape: Phrase, required: true, location_name: "phrase"))
|
1835
|
+
NewCustomVocabularyItem.add_member(:weight, Shapes::ShapeRef.new(shape: Weight, location_name: "weight"))
|
1836
|
+
NewCustomVocabularyItem.add_member(:display_as, Shapes::ShapeRef.new(shape: Phrase, location_name: "displayAs"))
|
1837
|
+
NewCustomVocabularyItem.struct_class = Types::NewCustomVocabularyItem
|
1838
|
+
|
1737
1839
|
ObfuscationSetting.add_member(:obfuscation_setting_type, Shapes::ShapeRef.new(shape: ObfuscationSettingType, required: true, location_name: "obfuscationSettingType"))
|
1738
1840
|
ObfuscationSetting.struct_class = Types::ObfuscationSetting
|
1739
1841
|
|
@@ -2172,6 +2274,8 @@ module Aws::LexModelsV2
|
|
2172
2274
|
UpdateBotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
2173
2275
|
UpdateBotResponse.struct_class = Types::UpdateBotResponse
|
2174
2276
|
|
2277
|
+
UpdateCustomVocabularyItemsList.member = Shapes::ShapeRef.new(shape: CustomVocabularyItem)
|
2278
|
+
|
2175
2279
|
UpdateExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
|
2176
2280
|
UpdateExportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
|
2177
2281
|
UpdateExportRequest.struct_class = Types::UpdateExportRequest
|
@@ -2326,6 +2430,45 @@ module Aws::LexModelsV2
|
|
2326
2430
|
"uid" => "models.lex.v2-2020-08-07",
|
2327
2431
|
}
|
2328
2432
|
|
2433
|
+
api.add_operation(:batch_create_custom_vocabulary_item, Seahorse::Model::Operation.new.tap do |o|
|
2434
|
+
o.name = "BatchCreateCustomVocabularyItem"
|
2435
|
+
o.http_method = "PUT"
|
2436
|
+
o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchcreate"
|
2437
|
+
o.input = Shapes::ShapeRef.new(shape: BatchCreateCustomVocabularyItemRequest)
|
2438
|
+
o.output = Shapes::ShapeRef.new(shape: BatchCreateCustomVocabularyItemResponse)
|
2439
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2440
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2441
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2442
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2443
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2444
|
+
end)
|
2445
|
+
|
2446
|
+
api.add_operation(:batch_delete_custom_vocabulary_item, Seahorse::Model::Operation.new.tap do |o|
|
2447
|
+
o.name = "BatchDeleteCustomVocabularyItem"
|
2448
|
+
o.http_method = "POST"
|
2449
|
+
o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchdelete"
|
2450
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDeleteCustomVocabularyItemRequest)
|
2451
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDeleteCustomVocabularyItemResponse)
|
2452
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2453
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2454
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2455
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2456
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2457
|
+
end)
|
2458
|
+
|
2459
|
+
api.add_operation(:batch_update_custom_vocabulary_item, Seahorse::Model::Operation.new.tap do |o|
|
2460
|
+
o.name = "BatchUpdateCustomVocabularyItem"
|
2461
|
+
o.http_method = "PUT"
|
2462
|
+
o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchupdate"
|
2463
|
+
o.input = Shapes::ShapeRef.new(shape: BatchUpdateCustomVocabularyItemRequest)
|
2464
|
+
o.output = Shapes::ShapeRef.new(shape: BatchUpdateCustomVocabularyItemResponse)
|
2465
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2466
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2467
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2468
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2469
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2470
|
+
end)
|
2471
|
+
|
2329
2472
|
api.add_operation(:build_bot_locale, Seahorse::Model::Operation.new.tap do |o|
|
2330
2473
|
o.name = "BuildBotLocale"
|
2331
2474
|
o.http_method = "POST"
|
@@ -2962,6 +3105,25 @@ module Aws::LexModelsV2
|
|
2962
3105
|
)
|
2963
3106
|
end)
|
2964
3107
|
|
3108
|
+
api.add_operation(:list_custom_vocabulary_items, Seahorse::Model::Operation.new.tap do |o|
|
3109
|
+
o.name = "ListCustomVocabularyItems"
|
3110
|
+
o.http_method = "POST"
|
3111
|
+
o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/list"
|
3112
|
+
o.input = Shapes::ShapeRef.new(shape: ListCustomVocabularyItemsRequest)
|
3113
|
+
o.output = Shapes::ShapeRef.new(shape: ListCustomVocabularyItemsResponse)
|
3114
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3115
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
3116
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3117
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3118
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3119
|
+
o[:pager] = Aws::Pager.new(
|
3120
|
+
limit_key: "max_results",
|
3121
|
+
tokens: {
|
3122
|
+
"next_token" => "next_token"
|
3123
|
+
}
|
3124
|
+
)
|
3125
|
+
end)
|
3126
|
+
|
2965
3127
|
api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
|
2966
3128
|
o.name = "ListExports"
|
2967
3129
|
o.http_method = "POST"
|
@@ -11,6 +11,48 @@
|
|
11
11
|
module Aws::LexModelsV2
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class BatchCreateCustomVocabularyItem
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::LexModelsV2::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class BatchDeleteCustomVocabularyItem
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::LexModelsV2::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class BatchUpdateCustomVocabularyItem
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::LexModelsV2::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
14
56
|
class BuildBotLocale
|
15
57
|
def self.build(context)
|
16
58
|
unless context.config.regional_endpoint
|
@@ -641,6 +683,20 @@ module Aws::LexModelsV2
|
|
641
683
|
end
|
642
684
|
end
|
643
685
|
|
686
|
+
class ListCustomVocabularyItems
|
687
|
+
def self.build(context)
|
688
|
+
unless context.config.regional_endpoint
|
689
|
+
endpoint = context.config.endpoint.to_s
|
690
|
+
end
|
691
|
+
Aws::LexModelsV2::EndpointParameters.new(
|
692
|
+
region: context.config.region,
|
693
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
694
|
+
use_fips: context.config.use_fips_endpoint,
|
695
|
+
endpoint: endpoint,
|
696
|
+
)
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
644
700
|
class ListExports
|
645
701
|
def self.build(context)
|
646
702
|
unless context.config.regional_endpoint
|
@@ -56,6 +56,12 @@ module Aws::LexModelsV2
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :batch_create_custom_vocabulary_item
|
60
|
+
Aws::LexModelsV2::Endpoints::BatchCreateCustomVocabularyItem.build(context)
|
61
|
+
when :batch_delete_custom_vocabulary_item
|
62
|
+
Aws::LexModelsV2::Endpoints::BatchDeleteCustomVocabularyItem.build(context)
|
63
|
+
when :batch_update_custom_vocabulary_item
|
64
|
+
Aws::LexModelsV2::Endpoints::BatchUpdateCustomVocabularyItem.build(context)
|
59
65
|
when :build_bot_locale
|
60
66
|
Aws::LexModelsV2::Endpoints::BuildBotLocale.build(context)
|
61
67
|
when :create_bot
|
@@ -146,6 +152,8 @@ module Aws::LexModelsV2
|
|
146
152
|
Aws::LexModelsV2::Endpoints::ListBuiltInIntents.build(context)
|
147
153
|
when :list_built_in_slot_types
|
148
154
|
Aws::LexModelsV2::Endpoints::ListBuiltInSlotTypes.build(context)
|
155
|
+
when :list_custom_vocabulary_items
|
156
|
+
Aws::LexModelsV2::Endpoints::ListCustomVocabularyItems.build(context)
|
149
157
|
when :list_exports
|
150
158
|
Aws::LexModelsV2::Endpoints::ListExports.build(context)
|
151
159
|
when :list_imports
|
@@ -368,6 +368,257 @@ module Aws::LexModelsV2
|
|
368
368
|
include Aws::Structure
|
369
369
|
end
|
370
370
|
|
371
|
+
# @note When making an API call, you may pass BatchCreateCustomVocabularyItemRequest
|
372
|
+
# data as a hash:
|
373
|
+
#
|
374
|
+
# {
|
375
|
+
# bot_id: "Id", # required
|
376
|
+
# bot_version: "BotVersion", # required
|
377
|
+
# locale_id: "LocaleId", # required
|
378
|
+
# custom_vocabulary_item_list: [ # required
|
379
|
+
# {
|
380
|
+
# phrase: "Phrase", # required
|
381
|
+
# weight: 1,
|
382
|
+
# display_as: "Phrase",
|
383
|
+
# },
|
384
|
+
# ],
|
385
|
+
# }
|
386
|
+
#
|
387
|
+
# @!attribute [rw] bot_id
|
388
|
+
# The unique identifier of the bot to batch create the custom
|
389
|
+
# vocabulary item for.
|
390
|
+
# @return [String]
|
391
|
+
#
|
392
|
+
# @!attribute [rw] bot_version
|
393
|
+
# The bot version of the bot to batch create the custom vocabulary
|
394
|
+
# item for.
|
395
|
+
# @return [String]
|
396
|
+
#
|
397
|
+
# @!attribute [rw] locale_id
|
398
|
+
# The unique locale identifier of the bot to batch create the custom
|
399
|
+
# vocabulary item for.
|
400
|
+
# @return [String]
|
401
|
+
#
|
402
|
+
# @!attribute [rw] custom_vocabulary_item_list
|
403
|
+
# The custom vocabulary item list of the bot to batch create the
|
404
|
+
# custom vocabulary item for.
|
405
|
+
# @return [Array<Types::NewCustomVocabularyItem>]
|
406
|
+
#
|
407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchCreateCustomVocabularyItemRequest AWS API Documentation
|
408
|
+
#
|
409
|
+
class BatchCreateCustomVocabularyItemRequest < Struct.new(
|
410
|
+
:bot_id,
|
411
|
+
:bot_version,
|
412
|
+
:locale_id,
|
413
|
+
:custom_vocabulary_item_list)
|
414
|
+
SENSITIVE = []
|
415
|
+
include Aws::Structure
|
416
|
+
end
|
417
|
+
|
418
|
+
# @!attribute [rw] bot_id
|
419
|
+
# The unique identifier of the bot to batch create response for the
|
420
|
+
# custom vocabulary item.
|
421
|
+
# @return [String]
|
422
|
+
#
|
423
|
+
# @!attribute [rw] bot_version
|
424
|
+
# The bot version of the bot to batch create the custom vocabulary
|
425
|
+
# item response for.
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] locale_id
|
429
|
+
# The unique locale identifier of the bot to batch create the custom
|
430
|
+
# vocabulary item response for.
|
431
|
+
# @return [String]
|
432
|
+
#
|
433
|
+
# @!attribute [rw] errors
|
434
|
+
# The errors of the action to batch create the custom vocabulary item
|
435
|
+
# response for a bot.
|
436
|
+
# @return [Array<Types::FailedCustomVocabularyItem>]
|
437
|
+
#
|
438
|
+
# @!attribute [rw] resources
|
439
|
+
# The resources of the action to batch create the custom vocabulary
|
440
|
+
# item response for a bot.
|
441
|
+
# @return [Array<Types::CustomVocabularyItem>]
|
442
|
+
#
|
443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchCreateCustomVocabularyItemResponse AWS API Documentation
|
444
|
+
#
|
445
|
+
class BatchCreateCustomVocabularyItemResponse < Struct.new(
|
446
|
+
:bot_id,
|
447
|
+
:bot_version,
|
448
|
+
:locale_id,
|
449
|
+
:errors,
|
450
|
+
:resources)
|
451
|
+
SENSITIVE = []
|
452
|
+
include Aws::Structure
|
453
|
+
end
|
454
|
+
|
455
|
+
# @note When making an API call, you may pass BatchDeleteCustomVocabularyItemRequest
|
456
|
+
# data as a hash:
|
457
|
+
#
|
458
|
+
# {
|
459
|
+
# bot_id: "Id", # required
|
460
|
+
# bot_version: "BotVersion", # required
|
461
|
+
# locale_id: "LocaleId", # required
|
462
|
+
# custom_vocabulary_item_list: [ # required
|
463
|
+
# {
|
464
|
+
# item_id: "ItemId", # required
|
465
|
+
# },
|
466
|
+
# ],
|
467
|
+
# }
|
468
|
+
#
|
469
|
+
# @!attribute [rw] bot_id
|
470
|
+
# The unique identifier of the bot to batch delete request for the
|
471
|
+
# custom vocabulary item.
|
472
|
+
# @return [String]
|
473
|
+
#
|
474
|
+
# @!attribute [rw] bot_version
|
475
|
+
# The version of the bot to batch delete request for the custom
|
476
|
+
# vocabulary item.
|
477
|
+
# @return [String]
|
478
|
+
#
|
479
|
+
# @!attribute [rw] locale_id
|
480
|
+
# The locale identifier of the bot to batch delete request for the
|
481
|
+
# custom vocabulary item.
|
482
|
+
# @return [String]
|
483
|
+
#
|
484
|
+
# @!attribute [rw] custom_vocabulary_item_list
|
485
|
+
# The custom vocabulary list to batch delete request for the custom
|
486
|
+
# vocabulary item.
|
487
|
+
# @return [Array<Types::CustomVocabularyEntryId>]
|
488
|
+
#
|
489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchDeleteCustomVocabularyItemRequest AWS API Documentation
|
490
|
+
#
|
491
|
+
class BatchDeleteCustomVocabularyItemRequest < Struct.new(
|
492
|
+
:bot_id,
|
493
|
+
:bot_version,
|
494
|
+
:locale_id,
|
495
|
+
:custom_vocabulary_item_list)
|
496
|
+
SENSITIVE = []
|
497
|
+
include Aws::Structure
|
498
|
+
end
|
499
|
+
|
500
|
+
# @!attribute [rw] bot_id
|
501
|
+
# The unique identifier of the bot to batch delete response for the
|
502
|
+
# custom vocabulary item.
|
503
|
+
# @return [String]
|
504
|
+
#
|
505
|
+
# @!attribute [rw] bot_version
|
506
|
+
# The version of the bot to batch delete response for the custom
|
507
|
+
# vocabulary item.
|
508
|
+
# @return [String]
|
509
|
+
#
|
510
|
+
# @!attribute [rw] locale_id
|
511
|
+
# The locale identifier of the bot to batch delete response for the
|
512
|
+
# custom vocabulary item.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @!attribute [rw] errors
|
516
|
+
# The errors of the action to batch delete response for the custom
|
517
|
+
# vocabulary item.
|
518
|
+
# @return [Array<Types::FailedCustomVocabularyItem>]
|
519
|
+
#
|
520
|
+
# @!attribute [rw] resources
|
521
|
+
# The resources of the action to batch delete response for the custom
|
522
|
+
# vocabulary item.
|
523
|
+
# @return [Array<Types::CustomVocabularyItem>]
|
524
|
+
#
|
525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchDeleteCustomVocabularyItemResponse AWS API Documentation
|
526
|
+
#
|
527
|
+
class BatchDeleteCustomVocabularyItemResponse < Struct.new(
|
528
|
+
:bot_id,
|
529
|
+
:bot_version,
|
530
|
+
:locale_id,
|
531
|
+
:errors,
|
532
|
+
:resources)
|
533
|
+
SENSITIVE = []
|
534
|
+
include Aws::Structure
|
535
|
+
end
|
536
|
+
|
537
|
+
# @note When making an API call, you may pass BatchUpdateCustomVocabularyItemRequest
|
538
|
+
# data as a hash:
|
539
|
+
#
|
540
|
+
# {
|
541
|
+
# bot_id: "Id", # required
|
542
|
+
# bot_version: "BotVersion", # required
|
543
|
+
# locale_id: "LocaleId", # required
|
544
|
+
# custom_vocabulary_item_list: [ # required
|
545
|
+
# {
|
546
|
+
# item_id: "ItemId", # required
|
547
|
+
# phrase: "Phrase", # required
|
548
|
+
# weight: 1,
|
549
|
+
# display_as: "Phrase",
|
550
|
+
# },
|
551
|
+
# ],
|
552
|
+
# }
|
553
|
+
#
|
554
|
+
# @!attribute [rw] bot_id
|
555
|
+
# The unique identifier of the bot to the batch update request for the
|
556
|
+
# custom vocabulary item.
|
557
|
+
# @return [String]
|
558
|
+
#
|
559
|
+
# @!attribute [rw] bot_version
|
560
|
+
# The bot version of the bot to the batch update request for the
|
561
|
+
# custom vocabulary item.
|
562
|
+
# @return [String]
|
563
|
+
#
|
564
|
+
# @!attribute [rw] locale_id
|
565
|
+
# The locale identifier of the bot to the batch update request for the
|
566
|
+
# custom vocabulary item.
|
567
|
+
# @return [String]
|
568
|
+
#
|
569
|
+
# @!attribute [rw] custom_vocabulary_item_list
|
570
|
+
# The custom vocabulary item list of the bot to the batch update
|
571
|
+
# request for the custom vocabulary item.
|
572
|
+
# @return [Array<Types::CustomVocabularyItem>]
|
573
|
+
#
|
574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchUpdateCustomVocabularyItemRequest AWS API Documentation
|
575
|
+
#
|
576
|
+
class BatchUpdateCustomVocabularyItemRequest < Struct.new(
|
577
|
+
:bot_id,
|
578
|
+
:bot_version,
|
579
|
+
:locale_id,
|
580
|
+
:custom_vocabulary_item_list)
|
581
|
+
SENSITIVE = []
|
582
|
+
include Aws::Structure
|
583
|
+
end
|
584
|
+
|
585
|
+
# @!attribute [rw] bot_id
|
586
|
+
# The unique identifier of the bot to the batch update response for
|
587
|
+
# the custom vocabulary item.
|
588
|
+
# @return [String]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] bot_version
|
591
|
+
# The bot version of the bot to the batch update response for the
|
592
|
+
# custom vocabulary item.
|
593
|
+
# @return [String]
|
594
|
+
#
|
595
|
+
# @!attribute [rw] locale_id
|
596
|
+
# The locale identifier of the bot to the batch update response for
|
597
|
+
# the custom vocabulary item.
|
598
|
+
# @return [String]
|
599
|
+
#
|
600
|
+
# @!attribute [rw] errors
|
601
|
+
# The errors of the action to batch update response for the custom
|
602
|
+
# vocabulary item.
|
603
|
+
# @return [Array<Types::FailedCustomVocabularyItem>]
|
604
|
+
#
|
605
|
+
# @!attribute [rw] resources
|
606
|
+
# The resources of the action to batch update response for the custom
|
607
|
+
# vocabulary item.
|
608
|
+
# @return [Array<Types::CustomVocabularyItem>]
|
609
|
+
#
|
610
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BatchUpdateCustomVocabularyItemResponse AWS API Documentation
|
611
|
+
#
|
612
|
+
class BatchUpdateCustomVocabularyItemResponse < Struct.new(
|
613
|
+
:bot_id,
|
614
|
+
:bot_version,
|
615
|
+
:locale_id,
|
616
|
+
:errors,
|
617
|
+
:resources)
|
618
|
+
SENSITIVE = []
|
619
|
+
include Aws::Structure
|
620
|
+
end
|
621
|
+
|
371
622
|
# Provides a record of an event that affects a bot alias. For example,
|
372
623
|
# when the version of a bot that the alias points to changes.
|
373
624
|
#
|
@@ -8864,6 +9115,27 @@ module Aws::LexModelsV2
|
|
8864
9115
|
include Aws::Structure
|
8865
9116
|
end
|
8866
9117
|
|
9118
|
+
# The unique entry identifier for the custom vocabulary items.
|
9119
|
+
#
|
9120
|
+
# @note When making an API call, you may pass CustomVocabularyEntryId
|
9121
|
+
# data as a hash:
|
9122
|
+
#
|
9123
|
+
# {
|
9124
|
+
# item_id: "ItemId", # required
|
9125
|
+
# }
|
9126
|
+
#
|
9127
|
+
# @!attribute [rw] item_id
|
9128
|
+
# The unique item identifier for the custom vocabulary items.
|
9129
|
+
# @return [String]
|
9130
|
+
#
|
9131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CustomVocabularyEntryId AWS API Documentation
|
9132
|
+
#
|
9133
|
+
class CustomVocabularyEntryId < Struct.new(
|
9134
|
+
:item_id)
|
9135
|
+
SENSITIVE = []
|
9136
|
+
include Aws::Structure
|
9137
|
+
end
|
9138
|
+
|
8867
9139
|
# Provides the parameters required for exporting a custom vocabulary.
|
8868
9140
|
#
|
8869
9141
|
# @note When making an API call, you may pass CustomVocabularyExportSpecification
|
@@ -8933,6 +9205,49 @@ module Aws::LexModelsV2
|
|
8933
9205
|
include Aws::Structure
|
8934
9206
|
end
|
8935
9207
|
|
9208
|
+
# The unique custom vocabulary item from the custom vocabulary list.
|
9209
|
+
#
|
9210
|
+
# @note When making an API call, you may pass CustomVocabularyItem
|
9211
|
+
# data as a hash:
|
9212
|
+
#
|
9213
|
+
# {
|
9214
|
+
# item_id: "ItemId", # required
|
9215
|
+
# phrase: "Phrase", # required
|
9216
|
+
# weight: 1,
|
9217
|
+
# display_as: "Phrase",
|
9218
|
+
# }
|
9219
|
+
#
|
9220
|
+
# @!attribute [rw] item_id
|
9221
|
+
# The unique item identifer for the custom vocabulary item from the
|
9222
|
+
# custom vocabulary list.
|
9223
|
+
# @return [String]
|
9224
|
+
#
|
9225
|
+
# @!attribute [rw] phrase
|
9226
|
+
# The unique phrase for the custom vocabulary item from the custom
|
9227
|
+
# vocabulary list.
|
9228
|
+
# @return [String]
|
9229
|
+
#
|
9230
|
+
# @!attribute [rw] weight
|
9231
|
+
# The weight assigned for the custom vocabulary item from the custom
|
9232
|
+
# vocabulary list.
|
9233
|
+
# @return [Integer]
|
9234
|
+
#
|
9235
|
+
# @!attribute [rw] display_as
|
9236
|
+
# The display as value for the custom vocabulary item from the custom
|
9237
|
+
# vocabulary list.
|
9238
|
+
# @return [String]
|
9239
|
+
#
|
9240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CustomVocabularyItem AWS API Documentation
|
9241
|
+
#
|
9242
|
+
class CustomVocabularyItem < Struct.new(
|
9243
|
+
:item_id,
|
9244
|
+
:phrase,
|
9245
|
+
:weight,
|
9246
|
+
:display_as)
|
9247
|
+
SENSITIVE = []
|
9248
|
+
include Aws::Structure
|
9249
|
+
end
|
9250
|
+
|
8936
9251
|
# Specifies the DTMF input specifications.
|
8937
9252
|
#
|
8938
9253
|
# @note When making an API call, you may pass DTMFSpecification
|
@@ -12173,6 +12488,34 @@ module Aws::LexModelsV2
|
|
12173
12488
|
include Aws::Structure
|
12174
12489
|
end
|
12175
12490
|
|
12491
|
+
# The unique failed custom vocabulary item from the custom vocabulary
|
12492
|
+
# list.
|
12493
|
+
#
|
12494
|
+
# @!attribute [rw] item_id
|
12495
|
+
# The unique item identifer for the failed custom vocabulary item from
|
12496
|
+
# the custom vocabulary list.
|
12497
|
+
# @return [String]
|
12498
|
+
#
|
12499
|
+
# @!attribute [rw] error_message
|
12500
|
+
# The error message for the failed custom vocabulary item from the
|
12501
|
+
# custom vocabulary list.
|
12502
|
+
# @return [String]
|
12503
|
+
#
|
12504
|
+
# @!attribute [rw] error_code
|
12505
|
+
# The unique error code for the failed custom vocabulary item from the
|
12506
|
+
# custom vocabulary list.
|
12507
|
+
# @return [String]
|
12508
|
+
#
|
12509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FailedCustomVocabularyItem AWS API Documentation
|
12510
|
+
#
|
12511
|
+
class FailedCustomVocabularyItem < Struct.new(
|
12512
|
+
:item_id,
|
12513
|
+
:error_message,
|
12514
|
+
:error_code)
|
12515
|
+
SENSITIVE = []
|
12516
|
+
include Aws::Structure
|
12517
|
+
end
|
12518
|
+
|
12176
12519
|
# Determines if a Lambda function should be invoked for a specific
|
12177
12520
|
# intent.
|
12178
12521
|
#
|
@@ -17819,6 +18162,86 @@ module Aws::LexModelsV2
|
|
17819
18162
|
include Aws::Structure
|
17820
18163
|
end
|
17821
18164
|
|
18165
|
+
# @note When making an API call, you may pass ListCustomVocabularyItemsRequest
|
18166
|
+
# data as a hash:
|
18167
|
+
#
|
18168
|
+
# {
|
18169
|
+
# bot_id: "Id", # required
|
18170
|
+
# bot_version: "BotVersion", # required
|
18171
|
+
# locale_id: "LocaleId", # required
|
18172
|
+
# max_results: 1,
|
18173
|
+
# next_token: "NextToken",
|
18174
|
+
# }
|
18175
|
+
#
|
18176
|
+
# @!attribute [rw] bot_id
|
18177
|
+
# The unique identifier of the bot to the list custom vocabulary
|
18178
|
+
# request.
|
18179
|
+
# @return [String]
|
18180
|
+
#
|
18181
|
+
# @!attribute [rw] bot_version
|
18182
|
+
# The bot version of the bot to the list custom vocabulary request.
|
18183
|
+
# @return [String]
|
18184
|
+
#
|
18185
|
+
# @!attribute [rw] locale_id
|
18186
|
+
# The locale identifier of the bot to the list custom vocabulary
|
18187
|
+
# request.
|
18188
|
+
# @return [String]
|
18189
|
+
#
|
18190
|
+
# @!attribute [rw] max_results
|
18191
|
+
# The maximum results to the list custom vocabulary request.
|
18192
|
+
# @return [Integer]
|
18193
|
+
#
|
18194
|
+
# @!attribute [rw] next_token
|
18195
|
+
# The nextToken identifier to the list custom vocabulary request.
|
18196
|
+
# @return [String]
|
18197
|
+
#
|
18198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListCustomVocabularyItemsRequest AWS API Documentation
|
18199
|
+
#
|
18200
|
+
class ListCustomVocabularyItemsRequest < Struct.new(
|
18201
|
+
:bot_id,
|
18202
|
+
:bot_version,
|
18203
|
+
:locale_id,
|
18204
|
+
:max_results,
|
18205
|
+
:next_token)
|
18206
|
+
SENSITIVE = []
|
18207
|
+
include Aws::Structure
|
18208
|
+
end
|
18209
|
+
|
18210
|
+
# @!attribute [rw] bot_id
|
18211
|
+
# The unique identifier of the bot to the list custom vocabulary
|
18212
|
+
# response.
|
18213
|
+
# @return [String]
|
18214
|
+
#
|
18215
|
+
# @!attribute [rw] bot_version
|
18216
|
+
# The bot version of the bot to the list custom vocabulary response.
|
18217
|
+
# @return [String]
|
18218
|
+
#
|
18219
|
+
# @!attribute [rw] locale_id
|
18220
|
+
# The locale identifier of the bot to the list custom vocabulary
|
18221
|
+
# response.
|
18222
|
+
# @return [String]
|
18223
|
+
#
|
18224
|
+
# @!attribute [rw] custom_vocabulary_items
|
18225
|
+
# The custom vocabulary items from the list custom vocabulary
|
18226
|
+
# response.
|
18227
|
+
# @return [Array<Types::CustomVocabularyItem>]
|
18228
|
+
#
|
18229
|
+
# @!attribute [rw] next_token
|
18230
|
+
# The nextToken identifier to the list custom vocabulary response.
|
18231
|
+
# @return [String]
|
18232
|
+
#
|
18233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListCustomVocabularyItemsResponse AWS API Documentation
|
18234
|
+
#
|
18235
|
+
class ListCustomVocabularyItemsResponse < Struct.new(
|
18236
|
+
:bot_id,
|
18237
|
+
:bot_version,
|
18238
|
+
:locale_id,
|
18239
|
+
:custom_vocabulary_items,
|
18240
|
+
:next_token)
|
18241
|
+
SENSITIVE = []
|
18242
|
+
include Aws::Structure
|
18243
|
+
end
|
18244
|
+
|
17822
18245
|
# @note When making an API call, you may pass ListExportsRequest
|
17823
18246
|
# data as a hash:
|
17824
18247
|
#
|
@@ -18723,6 +19146,42 @@ module Aws::LexModelsV2
|
|
18723
19146
|
include Aws::Structure
|
18724
19147
|
end
|
18725
19148
|
|
19149
|
+
# The new custom vocabulary item from the custom vocabulary list.
|
19150
|
+
#
|
19151
|
+
# @note When making an API call, you may pass NewCustomVocabularyItem
|
19152
|
+
# data as a hash:
|
19153
|
+
#
|
19154
|
+
# {
|
19155
|
+
# phrase: "Phrase", # required
|
19156
|
+
# weight: 1,
|
19157
|
+
# display_as: "Phrase",
|
19158
|
+
# }
|
19159
|
+
#
|
19160
|
+
# @!attribute [rw] phrase
|
19161
|
+
# The unique phrase for the new custom vocabulary item from the custom
|
19162
|
+
# vocabulary list.
|
19163
|
+
# @return [String]
|
19164
|
+
#
|
19165
|
+
# @!attribute [rw] weight
|
19166
|
+
# The weight assigned to the new custom vocabulary item from the
|
19167
|
+
# custom vocabulary list.
|
19168
|
+
# @return [Integer]
|
19169
|
+
#
|
19170
|
+
# @!attribute [rw] display_as
|
19171
|
+
# The display as value assigned to the new custom vocabulary item from
|
19172
|
+
# the custom vocabulary list.
|
19173
|
+
# @return [String]
|
19174
|
+
#
|
19175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/NewCustomVocabularyItem AWS API Documentation
|
19176
|
+
#
|
19177
|
+
class NewCustomVocabularyItem < Struct.new(
|
19178
|
+
:phrase,
|
19179
|
+
:weight,
|
19180
|
+
:display_as)
|
19181
|
+
SENSITIVE = []
|
19182
|
+
include Aws::Structure
|
19183
|
+
end
|
19184
|
+
|
18726
19185
|
# Determines whether Amazon Lex obscures slot values in conversation
|
18727
19186
|
# logs.
|
18728
19187
|
#
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
@@ -33,7 +33,7 @@ require_relative 'aws-sdk-lexmodelsv2/customizations'
|
|
33
33
|
# structure.
|
34
34
|
#
|
35
35
|
# lex_models_v2 = Aws::LexModelsV2::Client.new
|
36
|
-
# resp = lex_models_v2.
|
36
|
+
# resp = lex_models_v2.batch_create_custom_vocabulary_item(params)
|
37
37
|
#
|
38
38
|
# See {Client} for more information.
|
39
39
|
#
|
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-lexmodelsv2/customizations'
|
|
53
53
|
# @!group service
|
54
54
|
module Aws::LexModelsV2
|
55
55
|
|
56
|
-
GEM_VERSION = '1.
|
56
|
+
GEM_VERSION = '1.30.0'
|
57
57
|
|
58
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|