aws-sdk-lexmodelbuildingservice 1.0.0.rc7 → 1.0.0.rc8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e8df6df84f266a1ebca777af17d351c9d397521
|
4
|
+
data.tar.gz: 784fb029af40034417dfac016e2a8c19802c90fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 222d7325731d5ece6a07411a16ef43b19c0ac0ec6b0096428912755ae293a321f849057c76b757d314aaa9a7fe904900a7a898b16b666ba24c0962996d5b38a6
|
7
|
+
data.tar.gz: 7dd684f700a0b5e86150f20e5d1875115a572952cf08bb49399f5c569f94502f4bbdeb4870d9bb859d31b2f3ad59d1a7d02f070ffcf89bda8d0fe88bbad488bb
|
@@ -422,7 +422,8 @@ module Aws::LexModelBuildingService
|
|
422
422
|
end
|
423
423
|
|
424
424
|
# Deletes all versions of the bot, including the `$LATEST` version. To
|
425
|
-
# delete a specific version of the bot, use the
|
425
|
+
# delete a specific version of the bot, use the DeleteBotVersion
|
426
|
+
# operation.
|
426
427
|
#
|
427
428
|
# If a bot has an alias, you can't delete it. Instead, the `DeleteBot`
|
428
429
|
# operation returns a `ResourceInUseException` exception that includes a
|
@@ -524,7 +525,7 @@ module Aws::LexModelBuildingService
|
|
524
525
|
end
|
525
526
|
|
526
527
|
# Deletes a specific version of a bot. To delete all versions of a bot,
|
527
|
-
# use the operation.
|
528
|
+
# use the DeleteBot operation.
|
528
529
|
#
|
529
530
|
# This operation requires permissions for the `lex:DeleteBotVersion`
|
530
531
|
# action.
|
@@ -534,7 +535,7 @@ module Aws::LexModelBuildingService
|
|
534
535
|
#
|
535
536
|
# @option params [required, String] :version
|
536
537
|
# The version of the bot to delete. You cannot delete the `$LATEST`
|
537
|
-
# version of the bot. To delete the `$LATEST` version, use the
|
538
|
+
# version of the bot. To delete the `$LATEST` version, use the DeleteBot
|
538
539
|
# operation.
|
539
540
|
#
|
540
541
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -556,7 +557,8 @@ module Aws::LexModelBuildingService
|
|
556
557
|
end
|
557
558
|
|
558
559
|
# Deletes all versions of the intent, including the `$LATEST` version.
|
559
|
-
# To delete a specific version of the intent, use the
|
560
|
+
# To delete a specific version of the intent, use the
|
561
|
+
# DeleteIntentVersion operation.
|
560
562
|
#
|
561
563
|
# You can delete a version of an intent only if it is not referenced. To
|
562
564
|
# delete an intent that is referred to in one or more bots (see
|
@@ -594,7 +596,7 @@ module Aws::LexModelBuildingService
|
|
594
596
|
end
|
595
597
|
|
596
598
|
# Deletes a specific version of an intent. To delete all versions of a
|
597
|
-
# intent, use the operation.
|
599
|
+
# intent, use the DeleteIntent operation.
|
598
600
|
#
|
599
601
|
# This operation requires permissions for the `lex:DeleteIntentVersion`
|
600
602
|
# action.
|
@@ -605,7 +607,7 @@ module Aws::LexModelBuildingService
|
|
605
607
|
# @option params [required, String] :version
|
606
608
|
# The version of the intent to delete. You cannot delete the `$LATEST`
|
607
609
|
# version of the intent. To delete the `$LATEST` version, use the
|
608
|
-
# operation.
|
610
|
+
# DeleteIntent operation.
|
609
611
|
#
|
610
612
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
611
613
|
#
|
@@ -627,7 +629,7 @@ module Aws::LexModelBuildingService
|
|
627
629
|
|
628
630
|
# Deletes all versions of the slot type, including the `$LATEST`
|
629
631
|
# version. To delete a specific version of the slot type, use the
|
630
|
-
# operation.
|
632
|
+
# DeleteSlotTypeVersion operation.
|
631
633
|
#
|
632
634
|
# You can delete a version of a slot type only if it is not referenced.
|
633
635
|
# To delete a slot type that is referred to in one or more intents, you
|
@@ -666,7 +668,7 @@ module Aws::LexModelBuildingService
|
|
666
668
|
end
|
667
669
|
|
668
670
|
# Deletes a specific version of a slot type. To delete all versions of a
|
669
|
-
# slot type, use the operation.
|
671
|
+
# slot type, use the DeleteSlotType operation.
|
670
672
|
#
|
671
673
|
# This operation requires permissions for the
|
672
674
|
# `lex:DeleteSlotTypeVersion` action.
|
@@ -677,7 +679,7 @@ module Aws::LexModelBuildingService
|
|
677
679
|
# @option params [required, String] :version
|
678
680
|
# The version of the slot type to delete. You cannot delete the
|
679
681
|
# `$LATEST` version of the slot type. To delete the `$LATEST` version,
|
680
|
-
# use the operation.
|
682
|
+
# use the DeleteSlotType operation.
|
681
683
|
#
|
682
684
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
683
685
|
#
|
@@ -701,9 +703,9 @@ module Aws::LexModelBuildingService
|
|
701
703
|
#
|
702
704
|
# Amazon Lex stores the utterances that users send to your bot unless
|
703
705
|
# the `childDirected` field in the bot is set to `true`. Utterances are
|
704
|
-
# stored for 15 days for use with the operation, and
|
705
|
-
# indefinately for use in improving the ability of your bot
|
706
|
-
# to user input.
|
706
|
+
# stored for 15 days for use with the GetUtterancesView operation, and
|
707
|
+
# then stored indefinately for use in improving the ability of your bot
|
708
|
+
# to respond to user input.
|
707
709
|
#
|
708
710
|
# Use the `DeleteStoredUtterances` operation to manually delete stored
|
709
711
|
# utterances for a specific user.
|
@@ -716,8 +718,13 @@ module Aws::LexModelBuildingService
|
|
716
718
|
#
|
717
719
|
# @option params [required, String] :user_id
|
718
720
|
# The unique identifier for the user that made the utterances. This is
|
719
|
-
# the user ID that was sent in the or
|
720
|
-
# the utterance.
|
721
|
+
# the user ID that was sent in the [PostContent][1] or [PostText][2]
|
722
|
+
# operation request that contained the utterance.
|
723
|
+
#
|
724
|
+
#
|
725
|
+
#
|
726
|
+
# [1]: http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
727
|
+
# [2]: http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
721
728
|
#
|
722
729
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
723
730
|
#
|
@@ -2033,7 +2040,7 @@ module Aws::LexModelBuildingService
|
|
2033
2040
|
#
|
2034
2041
|
# If the bot's `childDirected` field is set to `true`, utterances for
|
2035
2042
|
# the bot are not stored and cannot be retrieved with the
|
2036
|
-
# `GetUtterancesView` operation. For more information, see .
|
2043
|
+
# `GetUtterancesView` operation. For more information, see PutBot.
|
2037
2044
|
#
|
2038
2045
|
# This operation requires permissions for the `lex:GetUtterancesView`
|
2039
2046
|
# action.
|
@@ -2085,9 +2092,9 @@ module Aws::LexModelBuildingService
|
|
2085
2092
|
end
|
2086
2093
|
|
2087
2094
|
# Creates an Amazon Lex conversational bot or replaces an existing bot.
|
2088
|
-
# When you create or update a bot you only required to specify a
|
2089
|
-
# You can use this to add intents later, or to remove intents from
|
2090
|
-
# existing bot. When you create a bot with a name only, the bot is
|
2095
|
+
# When you create or update a bot you are only required to specify a
|
2096
|
+
# name. You can use this to add intents later, or to remove intents from
|
2097
|
+
# an existing bot. When you create a bot with a name only, the bot is
|
2091
2098
|
# created or updated but Amazon Lex returns the ` response FAILED. You
|
2092
2099
|
# can build the bot after you add one or more intents. For more
|
2093
2100
|
# information about Amazon Lex bots, see how-it-works. </p> If you
|
@@ -2113,12 +2120,17 @@ module Aws::LexModelBuildingService
|
|
2113
2120
|
# OrderPizza intent. For more information, see how-it-works.
|
2114
2121
|
#
|
2115
2122
|
# @option params [Types::Prompt] :clarification_prompt
|
2116
|
-
# When Amazon Lex doesn't understand the user's intent, it uses
|
2117
|
-
#
|
2118
|
-
#
|
2119
|
-
#
|
2120
|
-
#
|
2121
|
-
#
|
2123
|
+
# When Amazon Lex doesn't understand the user's intent, it uses this
|
2124
|
+
# message to get clarification. To specify how many times Amazon Lex
|
2125
|
+
# should repeate the clarification prompt, use the `maxAttempts` field.
|
2126
|
+
# If Amazon Lex still doesn't understand, it sends the message in the
|
2127
|
+
# `abortStatement` field.
|
2128
|
+
#
|
2129
|
+
# When you create a clarification prompt, make sure that it suggests the
|
2130
|
+
# correct response from the user. for example, for a bot that orders
|
2131
|
+
# pizza and drinks, you might create this clarification prompt: "What
|
2132
|
+
# would you like to do? You can say 'Order a pizza' or 'Order a
|
2133
|
+
# drink.'"
|
2122
2134
|
#
|
2123
2135
|
# @option params [Types::Statement] :abort_statement
|
2124
2136
|
# When Amazon Lex can't understand the user's input in context, it
|
@@ -2161,12 +2173,12 @@ module Aws::LexModelBuildingService
|
|
2161
2173
|
# @option params [String] :voice_id
|
2162
2174
|
# The Amazon Polly voice ID that you want Amazon Lex to use for voice
|
2163
2175
|
# interactions with the user. The locale configured for the voice must
|
2164
|
-
# match the locale of the bot. For more information, see [
|
2165
|
-
# the *Amazon Polly Developer Guide*.
|
2176
|
+
# match the locale of the bot. For more information, see [Available
|
2177
|
+
# Voices][1] in the *Amazon Polly Developer Guide*.
|
2166
2178
|
#
|
2167
2179
|
#
|
2168
2180
|
#
|
2169
|
-
# [1]: http://docs.aws.amazon.com/polly/latest/dg/
|
2181
|
+
# [1]: http://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
2170
2182
|
#
|
2171
2183
|
# @option params [String] :checksum
|
2172
2184
|
# Identifies a specific revision of the `$LATEST` version.
|
@@ -2580,23 +2592,27 @@ module Aws::LexModelBuildingService
|
|
2580
2592
|
# </note>
|
2581
2593
|
#
|
2582
2594
|
# @option params [Types::FollowUpPrompt] :follow_up_prompt
|
2583
|
-
#
|
2584
|
-
# For example, after the `OrderPizza` intent is
|
2585
|
-
#
|
2586
|
-
# to find if they want to order a drink (assuming that you have defined
|
2587
|
-
# an `OrderDrink` intent in your bot).
|
2595
|
+
# Amazon Lex uses this prompt to solicit additional activity after
|
2596
|
+
# fulfilling an intent. For example, after the `OrderPizza` intent is
|
2597
|
+
# fulfilled, you might prompt the user to order a drink.
|
2588
2598
|
#
|
2589
|
-
#
|
2590
|
-
#
|
2591
|
-
# the following:
|
2599
|
+
# The action that Amazon Lex takes depends on the user's response, as
|
2600
|
+
# follows:
|
2592
2601
|
#
|
2593
|
-
#
|
2594
|
-
#
|
2602
|
+
# * If the user says "Yes" it responds with the clarification prompt
|
2603
|
+
# that is configured for the bot.
|
2595
2604
|
#
|
2596
|
-
#
|
2597
|
-
#
|
2605
|
+
# * if the user says "Yes" and continues with an utterance that
|
2606
|
+
# triggers an intent it starts a conversation for the intent.
|
2598
2607
|
#
|
2599
|
-
#
|
2608
|
+
# * If the user says "No" it responds with the rejection statement
|
2609
|
+
# configured for the the follow-up prompt.
|
2610
|
+
#
|
2611
|
+
# * If it doesn't recognize the utterance it repeats the follow-up
|
2612
|
+
# prompt again.
|
2613
|
+
#
|
2614
|
+
# The `followUpPrompt` field and the `conclusionStatement` field are
|
2615
|
+
# mutually exclusive. You can specify only one.
|
2600
2616
|
#
|
2601
2617
|
# @option params [Types::Statement] :conclusion_statement
|
2602
2618
|
# The statement that you want Amazon Lex to convey to the user after the
|
@@ -3237,7 +3253,7 @@ module Aws::LexModelBuildingService
|
|
3237
3253
|
params: params,
|
3238
3254
|
config: config)
|
3239
3255
|
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
|
3240
|
-
context[:gem_version] = '1.0.0.
|
3256
|
+
context[:gem_version] = '1.0.0.rc8'
|
3241
3257
|
Seahorse::Client::Request.new(handlers, context)
|
3242
3258
|
end
|
3243
3259
|
|
@@ -276,17 +276,17 @@ module Aws::LexModelBuildingService
|
|
276
276
|
# @return [String]
|
277
277
|
#
|
278
278
|
# @!attribute [rw] intents
|
279
|
-
# An array of `Intent` objects. For more information, see .
|
279
|
+
# An array of `Intent` objects. For more information, see PutBot.
|
280
280
|
# @return [Array<Types::Intent>]
|
281
281
|
#
|
282
282
|
# @!attribute [rw] clarification_prompt
|
283
283
|
# The message that Amazon Lex uses when it doesn't understand the
|
284
|
-
# user's request. For more information, see .
|
284
|
+
# user's request. For more information, see PutBot.
|
285
285
|
# @return [Types::Prompt]
|
286
286
|
#
|
287
287
|
# @!attribute [rw] abort_statement
|
288
288
|
# The message that Amazon Lex uses to abort a conversation. For more
|
289
|
-
# information, see .
|
289
|
+
# information, see PutBot.
|
290
290
|
# @return [Types::Statement]
|
291
291
|
#
|
292
292
|
# @!attribute [rw] status
|
@@ -312,7 +312,7 @@ module Aws::LexModelBuildingService
|
|
312
312
|
#
|
313
313
|
# @!attribute [rw] idle_session_ttl_in_seconds
|
314
314
|
# The maximum time in seconds that Amazon Lex retains the data
|
315
|
-
# gathered in a conversation. For more information, see .
|
315
|
+
# gathered in a conversation. For more information, see PutBot.
|
316
316
|
# @return [Integer]
|
317
317
|
#
|
318
318
|
# @!attribute [rw] voice_id
|
@@ -666,7 +666,7 @@ module Aws::LexModelBuildingService
|
|
666
666
|
# @!attribute [rw] version
|
667
667
|
# The version of the bot to delete. You cannot delete the `$LATEST`
|
668
668
|
# version of the bot. To delete the `$LATEST` version, use the
|
669
|
-
# operation.
|
669
|
+
# DeleteBot operation.
|
670
670
|
# @return [String]
|
671
671
|
#
|
672
672
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersionRequest AWS API Documentation
|
@@ -710,7 +710,7 @@ module Aws::LexModelBuildingService
|
|
710
710
|
# @!attribute [rw] version
|
711
711
|
# The version of the intent to delete. You cannot delete the `$LATEST`
|
712
712
|
# version of the intent. To delete the `$LATEST` version, use the
|
713
|
-
# operation.
|
713
|
+
# DeleteIntent operation.
|
714
714
|
# @return [String]
|
715
715
|
#
|
716
716
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersionRequest AWS API Documentation
|
@@ -754,7 +754,7 @@ module Aws::LexModelBuildingService
|
|
754
754
|
# @!attribute [rw] version
|
755
755
|
# The version of the slot type to delete. You cannot delete the
|
756
756
|
# `$LATEST` version of the slot type. To delete the `$LATEST` version,
|
757
|
-
# use the operation.
|
757
|
+
# use the DeleteSlotType operation.
|
758
758
|
# @return [String]
|
759
759
|
#
|
760
760
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersionRequest AWS API Documentation
|
@@ -779,8 +779,13 @@ module Aws::LexModelBuildingService
|
|
779
779
|
#
|
780
780
|
# @!attribute [rw] user_id
|
781
781
|
# The unique identifier for the user that made the utterances. This is
|
782
|
-
# the user ID that was sent in the or
|
783
|
-
# the utterance.
|
782
|
+
# the user ID that was sent in the [PostContent][1] or [PostText][2]
|
783
|
+
# operation request that contained the utterance.
|
784
|
+
#
|
785
|
+
#
|
786
|
+
#
|
787
|
+
# [1]: http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
788
|
+
# [2]: http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
784
789
|
# @return [String]
|
785
790
|
#
|
786
791
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterancesRequest AWS API Documentation
|
@@ -822,11 +827,9 @@ module Aws::LexModelBuildingService
|
|
822
827
|
include Aws::Structure
|
823
828
|
end
|
824
829
|
|
825
|
-
#
|
826
|
-
#
|
827
|
-
#
|
828
|
-
# find out whether the user wants to order drinks (another intent you
|
829
|
-
# defined in your bot).
|
830
|
+
# A prompt for additional activity after an intent is fulfilled. For
|
831
|
+
# example, after the `OrderPizza` intent is fulfilled, you might prompt
|
832
|
+
# the user to find out whether the user wants to order drinks.
|
830
833
|
#
|
831
834
|
# @note When making an API call, you may pass FollowUpPrompt
|
832
835
|
# data as a hash:
|
@@ -854,13 +857,13 @@ module Aws::LexModelBuildingService
|
|
854
857
|
# }
|
855
858
|
#
|
856
859
|
# @!attribute [rw] prompt
|
857
|
-
#
|
860
|
+
# Prompts for information from the user.
|
858
861
|
# @return [Types::Prompt]
|
859
862
|
#
|
860
863
|
# @!attribute [rw] rejection_statement
|
861
|
-
# If the user answers "no" to the question defined in
|
862
|
-
#
|
863
|
-
#
|
864
|
+
# If the user answers "no" to the question defined in the `prompt`
|
865
|
+
# field, Amazon Lex responds with this statement to acknowledge that
|
866
|
+
# the intent was canceled.
|
864
867
|
# @return [Types::Statement]
|
865
868
|
#
|
866
869
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/FollowUpPrompt AWS API Documentation
|
@@ -1228,17 +1231,18 @@ module Aws::LexModelBuildingService
|
|
1228
1231
|
# @return [String]
|
1229
1232
|
#
|
1230
1233
|
# @!attribute [rw] intents
|
1231
|
-
# An array of `intent` objects. For more information, see .
|
1234
|
+
# An array of `intent` objects. For more information, see PutBot.
|
1232
1235
|
# @return [Array<Types::Intent>]
|
1233
1236
|
#
|
1234
1237
|
# @!attribute [rw] clarification_prompt
|
1235
1238
|
# The message Amazon Lex uses when it doesn't understand the user's
|
1236
|
-
# request. For more information, see .
|
1239
|
+
# request. For more information, see PutBot.
|
1237
1240
|
# @return [Types::Prompt]
|
1238
1241
|
#
|
1239
1242
|
# @!attribute [rw] abort_statement
|
1240
1243
|
# The message that Amazon Lex returns when the user elects to end the
|
1241
|
-
# conversation without completing it. For more information, see
|
1244
|
+
# conversation without completing it. For more information, see
|
1245
|
+
# PutBot.
|
1242
1246
|
# @return [Types::Statement]
|
1243
1247
|
#
|
1244
1248
|
# @!attribute [rw] status
|
@@ -1264,12 +1268,12 @@ module Aws::LexModelBuildingService
|
|
1264
1268
|
#
|
1265
1269
|
# @!attribute [rw] idle_session_ttl_in_seconds
|
1266
1270
|
# The maximum time in seconds that Amazon Lex retains the data
|
1267
|
-
# gathered in a conversation. For more information, see .
|
1271
|
+
# gathered in a conversation. For more information, see PutBot.
|
1268
1272
|
# @return [Integer]
|
1269
1273
|
#
|
1270
1274
|
# @!attribute [rw] voice_id
|
1271
1275
|
# The Amazon Polly voice ID that Amazon Lex uses for voice interaction
|
1272
|
-
# with the user. For more information, see .
|
1276
|
+
# with the user. For more information, see PutBot.
|
1273
1277
|
# @return [String]
|
1274
1278
|
#
|
1275
1279
|
# @!attribute [rw] checksum
|
@@ -1664,7 +1668,8 @@ module Aws::LexModelBuildingService
|
|
1664
1668
|
#
|
1665
1669
|
# @!attribute [rw] confirmation_prompt
|
1666
1670
|
# If defined in the bot, Amazon Lex uses prompt to confirm the intent
|
1667
|
-
# before fulfilling the user's request. For more information, see
|
1671
|
+
# before fulfilling the user's request. For more information, see
|
1672
|
+
# PutIntent.
|
1668
1673
|
# @return [Types::Prompt]
|
1669
1674
|
#
|
1670
1675
|
# @!attribute [rw] rejection_statement
|
@@ -1676,7 +1681,7 @@ module Aws::LexModelBuildingService
|
|
1676
1681
|
# @!attribute [rw] follow_up_prompt
|
1677
1682
|
# If defined in the bot, Amazon Lex uses this prompt to solicit
|
1678
1683
|
# additional user activity after the intent is fulfilled. For more
|
1679
|
-
# information, see .
|
1684
|
+
# information, see PutIntent.
|
1680
1685
|
# @return [Types::FollowUpPrompt]
|
1681
1686
|
#
|
1682
1687
|
# @!attribute [rw] conclusion_statement
|
@@ -1687,11 +1692,12 @@ module Aws::LexModelBuildingService
|
|
1687
1692
|
#
|
1688
1693
|
# @!attribute [rw] dialog_code_hook
|
1689
1694
|
# If defined in the bot, Amazon Amazon Lex invokes this Lambda
|
1690
|
-
# function for each user input. For more information, see .
|
1695
|
+
# function for each user input. For more information, see PutIntent.
|
1691
1696
|
# @return [Types::CodeHook]
|
1692
1697
|
#
|
1693
1698
|
# @!attribute [rw] fulfillment_activity
|
1694
|
-
# Describes how the intent is fulfilled. For more information, see
|
1699
|
+
# Describes how the intent is fulfilled. For more information, see
|
1700
|
+
# PutIntent.
|
1695
1701
|
# @return [Types::FulfillmentActivity]
|
1696
1702
|
#
|
1697
1703
|
# @!attribute [rw] parent_intent_signature
|
@@ -1827,7 +1833,7 @@ module Aws::LexModelBuildingService
|
|
1827
1833
|
end
|
1828
1834
|
|
1829
1835
|
# @!attribute [rw] intents
|
1830
|
-
# An array of `Intent` objects. For more information, see .
|
1836
|
+
# An array of `Intent` objects. For more information, see PutBot.
|
1831
1837
|
# @return [Array<Types::IntentMetadata>]
|
1832
1838
|
#
|
1833
1839
|
# @!attribute [rw] next_token
|
@@ -2060,9 +2066,10 @@ module Aws::LexModelBuildingService
|
|
2060
2066
|
# @return [String]
|
2061
2067
|
#
|
2062
2068
|
# @!attribute [rw] utterances
|
2063
|
-
# An array of objects, each containing a list of
|
2064
|
-
# the utterances that were processed
|
2065
|
-
# contains a maximum of 100 `UtteranceData`
|
2069
|
+
# An array of UtteranceList objects, each containing a list of
|
2070
|
+
# UtteranceData objects describing the utterances that were processed
|
2071
|
+
# by your bot. The response contains a maximum of 100 `UtteranceData`
|
2072
|
+
# objects for each version.
|
2066
2073
|
# @return [Array<Types::UtteranceList>]
|
2067
2074
|
#
|
2068
2075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesViewResponse AWS API Documentation
|
@@ -2352,12 +2359,17 @@ module Aws::LexModelBuildingService
|
|
2352
2359
|
# @return [Array<Types::Intent>]
|
2353
2360
|
#
|
2354
2361
|
# @!attribute [rw] clarification_prompt
|
2355
|
-
# When Amazon Lex doesn't understand the user's intent, it uses
|
2356
|
-
#
|
2357
|
-
#
|
2358
|
-
#
|
2359
|
-
#
|
2360
|
-
#
|
2362
|
+
# When Amazon Lex doesn't understand the user's intent, it uses this
|
2363
|
+
# message to get clarification. To specify how many times Amazon Lex
|
2364
|
+
# should repeate the clarification prompt, use the `maxAttempts`
|
2365
|
+
# field. If Amazon Lex still doesn't understand, it sends the message
|
2366
|
+
# in the `abortStatement` field.
|
2367
|
+
#
|
2368
|
+
# When you create a clarification prompt, make sure that it suggests
|
2369
|
+
# the correct response from the user. for example, for a bot that
|
2370
|
+
# orders pizza and drinks, you might create this clarification prompt:
|
2371
|
+
# "What would you like to do? You can say 'Order a pizza' or
|
2372
|
+
# 'Order a drink.'"
|
2361
2373
|
# @return [Types::Prompt]
|
2362
2374
|
#
|
2363
2375
|
# @!attribute [rw] abort_statement
|
@@ -2403,12 +2415,12 @@ module Aws::LexModelBuildingService
|
|
2403
2415
|
# @!attribute [rw] voice_id
|
2404
2416
|
# The Amazon Polly voice ID that you want Amazon Lex to use for voice
|
2405
2417
|
# interactions with the user. The locale configured for the voice must
|
2406
|
-
# match the locale of the bot. For more information, see [
|
2407
|
-
# the *Amazon Polly Developer Guide*.
|
2418
|
+
# match the locale of the bot. For more information, see [Available
|
2419
|
+
# Voices][1] in the *Amazon Polly Developer Guide*.
|
2408
2420
|
#
|
2409
2421
|
#
|
2410
2422
|
#
|
2411
|
-
# [1]: http://docs.aws.amazon.com/polly/latest/dg/
|
2423
|
+
# [1]: http://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
2412
2424
|
# @return [String]
|
2413
2425
|
#
|
2414
2426
|
# @!attribute [rw] checksum
|
@@ -2498,17 +2510,17 @@ module Aws::LexModelBuildingService
|
|
2498
2510
|
# @return [String]
|
2499
2511
|
#
|
2500
2512
|
# @!attribute [rw] intents
|
2501
|
-
# An array of `Intent` objects. For more information, see .
|
2513
|
+
# An array of `Intent` objects. For more information, see PutBot.
|
2502
2514
|
# @return [Array<Types::Intent>]
|
2503
2515
|
#
|
2504
2516
|
# @!attribute [rw] clarification_prompt
|
2505
2517
|
# The prompts that Amazon Lex uses when it doesn't understand the
|
2506
|
-
# user's intent. For more information, see .
|
2518
|
+
# user's intent. For more information, see PutBot.
|
2507
2519
|
# @return [Types::Prompt]
|
2508
2520
|
#
|
2509
2521
|
# @!attribute [rw] abort_statement
|
2510
2522
|
# The message that Amazon Lex uses to abort a conversation. For more
|
2511
|
-
# information, see .
|
2523
|
+
# information, see PutBot.
|
2512
2524
|
# @return [Types::Statement]
|
2513
2525
|
#
|
2514
2526
|
# @!attribute [rw] status
|
@@ -2539,12 +2551,12 @@ module Aws::LexModelBuildingService
|
|
2539
2551
|
#
|
2540
2552
|
# @!attribute [rw] idle_session_ttl_in_seconds
|
2541
2553
|
# The maximum length of time that Amazon Lex retains the data gathered
|
2542
|
-
# in a conversation. For more information, see .
|
2554
|
+
# in a conversation. For more information, see PutBot.
|
2543
2555
|
# @return [Integer]
|
2544
2556
|
#
|
2545
2557
|
# @!attribute [rw] voice_id
|
2546
2558
|
# The Amazon Polly voice ID that Amazon Lex uses for voice interaction
|
2547
|
-
# with the user. For more information, see .
|
2559
|
+
# with the user. For more information, see PutBot.
|
2548
2560
|
# @return [String]
|
2549
2561
|
#
|
2550
2562
|
# @!attribute [rw] checksum
|
@@ -2770,23 +2782,27 @@ module Aws::LexModelBuildingService
|
|
2770
2782
|
# @return [Types::Statement]
|
2771
2783
|
#
|
2772
2784
|
# @!attribute [rw] follow_up_prompt
|
2773
|
-
#
|
2774
|
-
# For example, after the `OrderPizza` intent is
|
2775
|
-
#
|
2776
|
-
# to find if they want to order a drink (assuming that you have
|
2777
|
-
# defined an `OrderDrink` intent in your bot).
|
2785
|
+
# Amazon Lex uses this prompt to solicit additional activity after
|
2786
|
+
# fulfilling an intent. For example, after the `OrderPizza` intent is
|
2787
|
+
# fulfilled, you might prompt the user to order a drink.
|
2778
2788
|
#
|
2779
|
-
#
|
2780
|
-
#
|
2781
|
-
# solicit both the following:
|
2789
|
+
# The action that Amazon Lex takes depends on the user's response, as
|
2790
|
+
# follows:
|
2782
2791
|
#
|
2783
|
-
#
|
2784
|
-
#
|
2792
|
+
# * If the user says "Yes" it responds with the clarification prompt
|
2793
|
+
# that is configured for the bot.
|
2785
2794
|
#
|
2786
|
-
#
|
2787
|
-
#
|
2795
|
+
# * if the user says "Yes" and continues with an utterance that
|
2796
|
+
# triggers an intent it starts a conversation for the intent.
|
2788
2797
|
#
|
2789
|
-
#
|
2798
|
+
# * If the user says "No" it responds with the rejection statement
|
2799
|
+
# configured for the the follow-up prompt.
|
2800
|
+
#
|
2801
|
+
# * If it doesn't recognize the utterance it repeats the follow-up
|
2802
|
+
# prompt again.
|
2803
|
+
#
|
2804
|
+
# The `followUpPrompt` field and the `conclusionStatement` field are
|
2805
|
+
# mutually exclusive. You can specify only one.
|
2790
2806
|
# @return [Types::FollowUpPrompt]
|
2791
2807
|
#
|
2792
2808
|
# @!attribute [rw] conclusion_statement
|
@@ -3233,9 +3249,14 @@ module Aws::LexModelBuildingService
|
|
3233
3249
|
# @return [Array<Types::Message>]
|
3234
3250
|
#
|
3235
3251
|
# @!attribute [rw] response_card
|
3236
|
-
# At runtime, if the client is using the API, Amazon Lex
|
3237
|
-
# response card in the response. It substitutes all of
|
3238
|
-
# attributes and slot values for placeholders in the
|
3252
|
+
# At runtime, if the client is using the [PostText][1] API, Amazon Lex
|
3253
|
+
# includes the response card in the response. It substitutes all of
|
3254
|
+
# the session attributes and slot values for placeholders in the
|
3255
|
+
# response card.
|
3256
|
+
#
|
3257
|
+
#
|
3258
|
+
#
|
3259
|
+
# [1]: http://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
3239
3260
|
# @return [String]
|
3240
3261
|
#
|
3241
3262
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Statement AWS API Documentation
|
@@ -3289,8 +3310,9 @@ module Aws::LexModelBuildingService
|
|
3289
3310
|
# @return [String]
|
3290
3311
|
#
|
3291
3312
|
# @!attribute [rw] utterances
|
3292
|
-
# One or more objects that contain information about the
|
3293
|
-
# that have been made to a bot. The maximum number of
|
3313
|
+
# One or more UtteranceData objects that contain information about the
|
3314
|
+
# utterances that have been made to a bot. The maximum number of
|
3315
|
+
# object is 100.
|
3294
3316
|
# @return [Array<Types::UtteranceData>]
|
3295
3317
|
#
|
3296
3318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UtteranceList AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelbuildingservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc8
|
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: 2017-07-
|
11
|
+
date: 2017-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc17
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc17
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|