aws-sdk-lexmodelbuildingservice 1.3.0 → 1.4.0
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: c4ff7c208ee353970154664842259162ce61f9a0
|
4
|
+
data.tar.gz: e670b2eb69d996366f7cc5a1fb9f4d0b7f4b636a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3d30b48129b5222a83e319d66755f9f2b0d4ff4f52b3aa26c8f15f126e2f64dd0e6b58f977fb49b571f92f46ab5d74b602e2a445b61533694631e6e3d107ea6
|
7
|
+
data.tar.gz: abbaf3253b04615af8b48b12cd0c746192821def7714f3adefc76d4b48df229bcf4d9c4548bd35f2637521b2e40ffecdd8017bf6d2c4f7212ae0739510f06b03
|
@@ -207,13 +207,15 @@ module Aws::LexModelBuildingService
|
|
207
207
|
# resp.intents[0].intent_name #=> String
|
208
208
|
# resp.intents[0].intent_version #=> String
|
209
209
|
# resp.clarification_prompt.messages #=> Array
|
210
|
-
# resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
210
|
+
# resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
211
211
|
# resp.clarification_prompt.messages[0].content #=> String
|
212
|
+
# resp.clarification_prompt.messages[0].group_number #=> Integer
|
212
213
|
# resp.clarification_prompt.max_attempts #=> Integer
|
213
214
|
# resp.clarification_prompt.response_card #=> String
|
214
215
|
# resp.abort_statement.messages #=> Array
|
215
|
-
# resp.abort_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
216
|
+
# resp.abort_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
216
217
|
# resp.abort_statement.messages[0].content #=> String
|
218
|
+
# resp.abort_statement.messages[0].group_number #=> Integer
|
217
219
|
# resp.abort_statement.response_card #=> String
|
218
220
|
# resp.status #=> String, one of "BUILDING", "READY", "FAILED", "NOT_BUILT"
|
219
221
|
# resp.failure_reason #=> String
|
@@ -301,8 +303,9 @@ module Aws::LexModelBuildingService
|
|
301
303
|
# resp.slots[0].slot_type #=> String
|
302
304
|
# resp.slots[0].slot_type_version #=> String
|
303
305
|
# resp.slots[0].value_elicitation_prompt.messages #=> Array
|
304
|
-
# resp.slots[0].value_elicitation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
306
|
+
# resp.slots[0].value_elicitation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
305
307
|
# resp.slots[0].value_elicitation_prompt.messages[0].content #=> String
|
308
|
+
# resp.slots[0].value_elicitation_prompt.messages[0].group_number #=> Integer
|
306
309
|
# resp.slots[0].value_elicitation_prompt.max_attempts #=> Integer
|
307
310
|
# resp.slots[0].value_elicitation_prompt.response_card #=> String
|
308
311
|
# resp.slots[0].priority #=> Integer
|
@@ -312,26 +315,31 @@ module Aws::LexModelBuildingService
|
|
312
315
|
# resp.sample_utterances #=> Array
|
313
316
|
# resp.sample_utterances[0] #=> String
|
314
317
|
# resp.confirmation_prompt.messages #=> Array
|
315
|
-
# resp.confirmation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
318
|
+
# resp.confirmation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
316
319
|
# resp.confirmation_prompt.messages[0].content #=> String
|
320
|
+
# resp.confirmation_prompt.messages[0].group_number #=> Integer
|
317
321
|
# resp.confirmation_prompt.max_attempts #=> Integer
|
318
322
|
# resp.confirmation_prompt.response_card #=> String
|
319
323
|
# resp.rejection_statement.messages #=> Array
|
320
|
-
# resp.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
324
|
+
# resp.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
321
325
|
# resp.rejection_statement.messages[0].content #=> String
|
326
|
+
# resp.rejection_statement.messages[0].group_number #=> Integer
|
322
327
|
# resp.rejection_statement.response_card #=> String
|
323
328
|
# resp.follow_up_prompt.prompt.messages #=> Array
|
324
|
-
# resp.follow_up_prompt.prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
329
|
+
# resp.follow_up_prompt.prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
325
330
|
# resp.follow_up_prompt.prompt.messages[0].content #=> String
|
331
|
+
# resp.follow_up_prompt.prompt.messages[0].group_number #=> Integer
|
326
332
|
# resp.follow_up_prompt.prompt.max_attempts #=> Integer
|
327
333
|
# resp.follow_up_prompt.prompt.response_card #=> String
|
328
334
|
# resp.follow_up_prompt.rejection_statement.messages #=> Array
|
329
|
-
# resp.follow_up_prompt.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
335
|
+
# resp.follow_up_prompt.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
330
336
|
# resp.follow_up_prompt.rejection_statement.messages[0].content #=> String
|
337
|
+
# resp.follow_up_prompt.rejection_statement.messages[0].group_number #=> Integer
|
331
338
|
# resp.follow_up_prompt.rejection_statement.response_card #=> String
|
332
339
|
# resp.conclusion_statement.messages #=> Array
|
333
|
-
# resp.conclusion_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
340
|
+
# resp.conclusion_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
334
341
|
# resp.conclusion_statement.messages[0].content #=> String
|
342
|
+
# resp.conclusion_statement.messages[0].group_number #=> Integer
|
335
343
|
# resp.conclusion_statement.response_card #=> String
|
336
344
|
# resp.dialog_code_hook.uri #=> String
|
337
345
|
# resp.dialog_code_hook.message_version #=> String
|
@@ -705,11 +713,10 @@ module Aws::LexModelBuildingService
|
|
705
713
|
|
706
714
|
# Deletes stored utterances.
|
707
715
|
#
|
708
|
-
# Amazon Lex stores the utterances that users send to your bot
|
709
|
-
#
|
710
|
-
#
|
711
|
-
#
|
712
|
-
# to respond to user input.
|
716
|
+
# Amazon Lex stores the utterances that users send to your bot.
|
717
|
+
# Utterances are stored for 15 days for use with the GetUtterancesView
|
718
|
+
# operation, and then stored indefinitely for use in improving the
|
719
|
+
# ability of your bot to respond to user input.
|
713
720
|
#
|
714
721
|
# Use the `DeleteStoredUtterances` operation to manually delete stored
|
715
722
|
# utterances for a specific user.
|
@@ -847,13 +854,15 @@ module Aws::LexModelBuildingService
|
|
847
854
|
# resp.intents[0].intent_name #=> String
|
848
855
|
# resp.intents[0].intent_version #=> String
|
849
856
|
# resp.clarification_prompt.messages #=> Array
|
850
|
-
# resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
857
|
+
# resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
851
858
|
# resp.clarification_prompt.messages[0].content #=> String
|
859
|
+
# resp.clarification_prompt.messages[0].group_number #=> Integer
|
852
860
|
# resp.clarification_prompt.max_attempts #=> Integer
|
853
861
|
# resp.clarification_prompt.response_card #=> String
|
854
862
|
# resp.abort_statement.messages #=> Array
|
855
|
-
# resp.abort_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
863
|
+
# resp.abort_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
856
864
|
# resp.abort_statement.messages[0].content #=> String
|
865
|
+
# resp.abort_statement.messages[0].group_number #=> Integer
|
857
866
|
# resp.abort_statement.response_card #=> String
|
858
867
|
# resp.status #=> String, one of "BUILDING", "READY", "FAILED", "NOT_BUILT"
|
859
868
|
# resp.failure_reason #=> String
|
@@ -1024,7 +1033,7 @@ module Aws::LexModelBuildingService
|
|
1024
1033
|
# resp.bot_alias #=> String
|
1025
1034
|
# resp.bot_name #=> String
|
1026
1035
|
# resp.created_date #=> Time
|
1027
|
-
# resp.type #=> String, one of "Facebook", "Slack", "Twilio-Sms"
|
1036
|
+
# resp.type #=> String, one of "Facebook", "Slack", "Twilio-Sms", "Kik"
|
1028
1037
|
# resp.bot_configuration #=> Hash
|
1029
1038
|
# resp.bot_configuration["String"] #=> String
|
1030
1039
|
# resp.status #=> String, one of "IN_PROGRESS", "CREATED", "FAILED"
|
@@ -1092,7 +1101,7 @@ module Aws::LexModelBuildingService
|
|
1092
1101
|
# resp.bot_channel_associations[0].bot_alias #=> String
|
1093
1102
|
# resp.bot_channel_associations[0].bot_name #=> String
|
1094
1103
|
# resp.bot_channel_associations[0].created_date #=> Time
|
1095
|
-
# resp.bot_channel_associations[0].type #=> String, one of "Facebook", "Slack", "Twilio-Sms"
|
1104
|
+
# resp.bot_channel_associations[0].type #=> String, one of "Facebook", "Slack", "Twilio-Sms", "Kik"
|
1096
1105
|
# resp.bot_channel_associations[0].bot_configuration #=> Hash
|
1097
1106
|
# resp.bot_channel_associations[0].bot_configuration["String"] #=> String
|
1098
1107
|
# resp.bot_channel_associations[0].status #=> String, one of "IN_PROGRESS", "CREATED", "FAILED"
|
@@ -1660,8 +1669,9 @@ module Aws::LexModelBuildingService
|
|
1660
1669
|
# resp.slots[0].slot_type #=> String
|
1661
1670
|
# resp.slots[0].slot_type_version #=> String
|
1662
1671
|
# resp.slots[0].value_elicitation_prompt.messages #=> Array
|
1663
|
-
# resp.slots[0].value_elicitation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
1672
|
+
# resp.slots[0].value_elicitation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
1664
1673
|
# resp.slots[0].value_elicitation_prompt.messages[0].content #=> String
|
1674
|
+
# resp.slots[0].value_elicitation_prompt.messages[0].group_number #=> Integer
|
1665
1675
|
# resp.slots[0].value_elicitation_prompt.max_attempts #=> Integer
|
1666
1676
|
# resp.slots[0].value_elicitation_prompt.response_card #=> String
|
1667
1677
|
# resp.slots[0].priority #=> Integer
|
@@ -1671,26 +1681,31 @@ module Aws::LexModelBuildingService
|
|
1671
1681
|
# resp.sample_utterances #=> Array
|
1672
1682
|
# resp.sample_utterances[0] #=> String
|
1673
1683
|
# resp.confirmation_prompt.messages #=> Array
|
1674
|
-
# resp.confirmation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
1684
|
+
# resp.confirmation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
1675
1685
|
# resp.confirmation_prompt.messages[0].content #=> String
|
1686
|
+
# resp.confirmation_prompt.messages[0].group_number #=> Integer
|
1676
1687
|
# resp.confirmation_prompt.max_attempts #=> Integer
|
1677
1688
|
# resp.confirmation_prompt.response_card #=> String
|
1678
1689
|
# resp.rejection_statement.messages #=> Array
|
1679
|
-
# resp.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
1690
|
+
# resp.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
1680
1691
|
# resp.rejection_statement.messages[0].content #=> String
|
1692
|
+
# resp.rejection_statement.messages[0].group_number #=> Integer
|
1681
1693
|
# resp.rejection_statement.response_card #=> String
|
1682
1694
|
# resp.follow_up_prompt.prompt.messages #=> Array
|
1683
|
-
# resp.follow_up_prompt.prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
1695
|
+
# resp.follow_up_prompt.prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
1684
1696
|
# resp.follow_up_prompt.prompt.messages[0].content #=> String
|
1697
|
+
# resp.follow_up_prompt.prompt.messages[0].group_number #=> Integer
|
1685
1698
|
# resp.follow_up_prompt.prompt.max_attempts #=> Integer
|
1686
1699
|
# resp.follow_up_prompt.prompt.response_card #=> String
|
1687
1700
|
# resp.follow_up_prompt.rejection_statement.messages #=> Array
|
1688
|
-
# resp.follow_up_prompt.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
1701
|
+
# resp.follow_up_prompt.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
1689
1702
|
# resp.follow_up_prompt.rejection_statement.messages[0].content #=> String
|
1703
|
+
# resp.follow_up_prompt.rejection_statement.messages[0].group_number #=> Integer
|
1690
1704
|
# resp.follow_up_prompt.rejection_statement.response_card #=> String
|
1691
1705
|
# resp.conclusion_statement.messages #=> Array
|
1692
|
-
# resp.conclusion_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
1706
|
+
# resp.conclusion_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
1693
1707
|
# resp.conclusion_statement.messages[0].content #=> String
|
1708
|
+
# resp.conclusion_statement.messages[0].group_number #=> Integer
|
1694
1709
|
# resp.conclusion_statement.response_card #=> String
|
1695
1710
|
# resp.dialog_code_hook.uri #=> String
|
1696
1711
|
# resp.dialog_code_hook.message_version #=> String
|
@@ -2100,13 +2115,12 @@ module Aws::LexModelBuildingService
|
|
2100
2115
|
# about the old version and the new so that you can compare the
|
2101
2116
|
# performance across the two versions.
|
2102
2117
|
#
|
2103
|
-
#
|
2104
|
-
# for up to 5 versions in
|
2105
|
-
# information about a maximum of 100
|
2118
|
+
# <note markdown="1"> Utterance statistics are generated once a day. Data is available for
|
2119
|
+
# the last 15 days. You can request information for up to 5 versions in
|
2120
|
+
# each request. The response contains information about a maximum of 100
|
2121
|
+
# utterances for each version.
|
2106
2122
|
#
|
2107
|
-
#
|
2108
|
-
# the bot are not stored and cannot be retrieved with the
|
2109
|
-
# `GetUtterancesView` operation. For more information, see PutBot.
|
2123
|
+
# </note>
|
2110
2124
|
#
|
2111
2125
|
# This operation requires permissions for the `lex:GetUtterancesView`
|
2112
2126
|
# action.
|
@@ -2159,19 +2173,20 @@ module Aws::LexModelBuildingService
|
|
2159
2173
|
|
2160
2174
|
# Creates an Amazon Lex conversational bot or replaces an existing bot.
|
2161
2175
|
# When you create or update a bot you are only required to specify a
|
2162
|
-
# name
|
2163
|
-
#
|
2164
|
-
#
|
2165
|
-
#
|
2166
|
-
#
|
2167
|
-
#
|
2168
|
-
#
|
2169
|
-
#
|
2170
|
-
#
|
2171
|
-
#
|
2172
|
-
#
|
2173
|
-
#
|
2174
|
-
#
|
2176
|
+
# name, a locale, and whether the bot is directed toward children under
|
2177
|
+
# age 13. You can use this to add intents later, or to remove intents
|
2178
|
+
# from an existing bot. When you create a bot with the minimum
|
2179
|
+
# information, the bot is created or updated but Amazon Lex returns the
|
2180
|
+
# ` response FAILED. You can build the bot after you add one or more
|
2181
|
+
# intents. For more information about Amazon Lex bots, see how-it-works.
|
2182
|
+
# </p> If you specify the name of an existing bot, the fields in the
|
2183
|
+
# request replace the existing values in the $LATEST version of the bot.
|
2184
|
+
# Amazon Lex removes any fields that you don't provide values for in the
|
2185
|
+
# request, except for the idleTTLInSeconds and privacySettings fields,
|
2186
|
+
# which are set to their default values. If you don't specify values for
|
2187
|
+
# required fields, Amazon Lex throws an exception. This operation
|
2188
|
+
# requires permissions for the lex:PutBot action. For more information,
|
2189
|
+
# see auth-and-access-control.
|
2175
2190
|
# `
|
2176
2191
|
#
|
2177
2192
|
# @option params [required, String] :name
|
@@ -2424,8 +2439,9 @@ module Aws::LexModelBuildingService
|
|
2424
2439
|
# clarification_prompt: {
|
2425
2440
|
# messages: [ # required
|
2426
2441
|
# {
|
2427
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2442
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2428
2443
|
# content: "ContentString", # required
|
2444
|
+
# group_number: 1,
|
2429
2445
|
# },
|
2430
2446
|
# ],
|
2431
2447
|
# max_attempts: 1, # required
|
@@ -2434,8 +2450,9 @@ module Aws::LexModelBuildingService
|
|
2434
2450
|
# abort_statement: {
|
2435
2451
|
# messages: [ # required
|
2436
2452
|
# {
|
2437
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2453
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2438
2454
|
# content: "ContentString", # required
|
2455
|
+
# group_number: 1,
|
2439
2456
|
# },
|
2440
2457
|
# ],
|
2441
2458
|
# response_card: "ResponseCard",
|
@@ -2456,13 +2473,15 @@ module Aws::LexModelBuildingService
|
|
2456
2473
|
# resp.intents[0].intent_name #=> String
|
2457
2474
|
# resp.intents[0].intent_version #=> String
|
2458
2475
|
# resp.clarification_prompt.messages #=> Array
|
2459
|
-
# resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
2476
|
+
# resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
2460
2477
|
# resp.clarification_prompt.messages[0].content #=> String
|
2478
|
+
# resp.clarification_prompt.messages[0].group_number #=> Integer
|
2461
2479
|
# resp.clarification_prompt.max_attempts #=> Integer
|
2462
2480
|
# resp.clarification_prompt.response_card #=> String
|
2463
2481
|
# resp.abort_statement.messages #=> Array
|
2464
|
-
# resp.abort_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
2482
|
+
# resp.abort_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
2465
2483
|
# resp.abort_statement.messages[0].content #=> String
|
2484
|
+
# resp.abort_statement.messages[0].group_number #=> Integer
|
2466
2485
|
# resp.abort_statement.response_card #=> String
|
2467
2486
|
# resp.status #=> String, one of "BUILDING", "READY", "FAILED", "NOT_BUILT"
|
2468
2487
|
# resp.failure_reason #=> String
|
@@ -3041,8 +3060,9 @@ module Aws::LexModelBuildingService
|
|
3041
3060
|
# value_elicitation_prompt: {
|
3042
3061
|
# messages: [ # required
|
3043
3062
|
# {
|
3044
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
3063
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
3045
3064
|
# content: "ContentString", # required
|
3065
|
+
# group_number: 1,
|
3046
3066
|
# },
|
3047
3067
|
# ],
|
3048
3068
|
# max_attempts: 1, # required
|
@@ -3057,8 +3077,9 @@ module Aws::LexModelBuildingService
|
|
3057
3077
|
# confirmation_prompt: {
|
3058
3078
|
# messages: [ # required
|
3059
3079
|
# {
|
3060
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
3080
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
3061
3081
|
# content: "ContentString", # required
|
3082
|
+
# group_number: 1,
|
3062
3083
|
# },
|
3063
3084
|
# ],
|
3064
3085
|
# max_attempts: 1, # required
|
@@ -3067,8 +3088,9 @@ module Aws::LexModelBuildingService
|
|
3067
3088
|
# rejection_statement: {
|
3068
3089
|
# messages: [ # required
|
3069
3090
|
# {
|
3070
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
3091
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
3071
3092
|
# content: "ContentString", # required
|
3093
|
+
# group_number: 1,
|
3072
3094
|
# },
|
3073
3095
|
# ],
|
3074
3096
|
# response_card: "ResponseCard",
|
@@ -3077,8 +3099,9 @@ module Aws::LexModelBuildingService
|
|
3077
3099
|
# prompt: { # required
|
3078
3100
|
# messages: [ # required
|
3079
3101
|
# {
|
3080
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
3102
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
3081
3103
|
# content: "ContentString", # required
|
3104
|
+
# group_number: 1,
|
3082
3105
|
# },
|
3083
3106
|
# ],
|
3084
3107
|
# max_attempts: 1, # required
|
@@ -3087,8 +3110,9 @@ module Aws::LexModelBuildingService
|
|
3087
3110
|
# rejection_statement: { # required
|
3088
3111
|
# messages: [ # required
|
3089
3112
|
# {
|
3090
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
3113
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
3091
3114
|
# content: "ContentString", # required
|
3115
|
+
# group_number: 1,
|
3092
3116
|
# },
|
3093
3117
|
# ],
|
3094
3118
|
# response_card: "ResponseCard",
|
@@ -3097,8 +3121,9 @@ module Aws::LexModelBuildingService
|
|
3097
3121
|
# conclusion_statement: {
|
3098
3122
|
# messages: [ # required
|
3099
3123
|
# {
|
3100
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
3124
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
3101
3125
|
# content: "ContentString", # required
|
3126
|
+
# group_number: 1,
|
3102
3127
|
# },
|
3103
3128
|
# ],
|
3104
3129
|
# response_card: "ResponseCard",
|
@@ -3129,8 +3154,9 @@ module Aws::LexModelBuildingService
|
|
3129
3154
|
# resp.slots[0].slot_type #=> String
|
3130
3155
|
# resp.slots[0].slot_type_version #=> String
|
3131
3156
|
# resp.slots[0].value_elicitation_prompt.messages #=> Array
|
3132
|
-
# resp.slots[0].value_elicitation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
3157
|
+
# resp.slots[0].value_elicitation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
3133
3158
|
# resp.slots[0].value_elicitation_prompt.messages[0].content #=> String
|
3159
|
+
# resp.slots[0].value_elicitation_prompt.messages[0].group_number #=> Integer
|
3134
3160
|
# resp.slots[0].value_elicitation_prompt.max_attempts #=> Integer
|
3135
3161
|
# resp.slots[0].value_elicitation_prompt.response_card #=> String
|
3136
3162
|
# resp.slots[0].priority #=> Integer
|
@@ -3140,26 +3166,31 @@ module Aws::LexModelBuildingService
|
|
3140
3166
|
# resp.sample_utterances #=> Array
|
3141
3167
|
# resp.sample_utterances[0] #=> String
|
3142
3168
|
# resp.confirmation_prompt.messages #=> Array
|
3143
|
-
# resp.confirmation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
3169
|
+
# resp.confirmation_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
3144
3170
|
# resp.confirmation_prompt.messages[0].content #=> String
|
3171
|
+
# resp.confirmation_prompt.messages[0].group_number #=> Integer
|
3145
3172
|
# resp.confirmation_prompt.max_attempts #=> Integer
|
3146
3173
|
# resp.confirmation_prompt.response_card #=> String
|
3147
3174
|
# resp.rejection_statement.messages #=> Array
|
3148
|
-
# resp.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
3175
|
+
# resp.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
3149
3176
|
# resp.rejection_statement.messages[0].content #=> String
|
3177
|
+
# resp.rejection_statement.messages[0].group_number #=> Integer
|
3150
3178
|
# resp.rejection_statement.response_card #=> String
|
3151
3179
|
# resp.follow_up_prompt.prompt.messages #=> Array
|
3152
|
-
# resp.follow_up_prompt.prompt.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
3180
|
+
# resp.follow_up_prompt.prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
3153
3181
|
# resp.follow_up_prompt.prompt.messages[0].content #=> String
|
3182
|
+
# resp.follow_up_prompt.prompt.messages[0].group_number #=> Integer
|
3154
3183
|
# resp.follow_up_prompt.prompt.max_attempts #=> Integer
|
3155
3184
|
# resp.follow_up_prompt.prompt.response_card #=> String
|
3156
3185
|
# resp.follow_up_prompt.rejection_statement.messages #=> Array
|
3157
|
-
# resp.follow_up_prompt.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
3186
|
+
# resp.follow_up_prompt.rejection_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
3158
3187
|
# resp.follow_up_prompt.rejection_statement.messages[0].content #=> String
|
3188
|
+
# resp.follow_up_prompt.rejection_statement.messages[0].group_number #=> Integer
|
3159
3189
|
# resp.follow_up_prompt.rejection_statement.response_card #=> String
|
3160
3190
|
# resp.conclusion_statement.messages #=> Array
|
3161
|
-
# resp.conclusion_statement.messages[0].content_type #=> String, one of "PlainText", "SSML"
|
3191
|
+
# resp.conclusion_statement.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
3162
3192
|
# resp.conclusion_statement.messages[0].content #=> String
|
3193
|
+
# resp.conclusion_statement.messages[0].group_number #=> Integer
|
3163
3194
|
# resp.conclusion_statement.response_card #=> String
|
3164
3195
|
# resp.dialog_code_hook.uri #=> String
|
3165
3196
|
# resp.dialog_code_hook.message_version #=> String
|
@@ -3353,7 +3384,7 @@ module Aws::LexModelBuildingService
|
|
3353
3384
|
params: params,
|
3354
3385
|
config: config)
|
3355
3386
|
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
|
3356
|
-
context[:gem_version] = '1.
|
3387
|
+
context[:gem_version] = '1.4.0'
|
3357
3388
|
Seahorse::Client::Request.new(handlers, context)
|
3358
3389
|
end
|
3359
3390
|
|
@@ -100,6 +100,7 @@ module Aws::LexModelBuildingService
|
|
100
100
|
GetSlotTypesResponse = Shapes::StructureShape.new(name: 'GetSlotTypesResponse')
|
101
101
|
GetUtterancesViewRequest = Shapes::StructureShape.new(name: 'GetUtterancesViewRequest')
|
102
102
|
GetUtterancesViewResponse = Shapes::StructureShape.new(name: 'GetUtterancesViewResponse')
|
103
|
+
GroupNumber = Shapes::IntegerShape.new(name: 'GroupNumber')
|
103
104
|
Intent = Shapes::StructureShape.new(name: 'Intent')
|
104
105
|
IntentList = Shapes::ListShape.new(name: 'IntentList')
|
105
106
|
IntentMetadata = Shapes::StructureShape.new(name: 'IntentMetadata')
|
@@ -564,6 +565,7 @@ module Aws::LexModelBuildingService
|
|
564
565
|
|
565
566
|
Message.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
|
566
567
|
Message.add_member(:content, Shapes::ShapeRef.new(shape: ContentString, required: true, location_name: "content"))
|
568
|
+
Message.add_member(:group_number, Shapes::ShapeRef.new(shape: GroupNumber, location_name: "groupNumber"))
|
567
569
|
Message.struct_class = Types::Message
|
568
570
|
|
569
571
|
MessageList.member = Shapes::ShapeRef.new(shape: Message)
|
@@ -869,8 +869,9 @@ module Aws::LexModelBuildingService
|
|
869
869
|
# prompt: { # required
|
870
870
|
# messages: [ # required
|
871
871
|
# {
|
872
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
872
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
873
873
|
# content: "ContentString", # required
|
874
|
+
# group_number: 1,
|
874
875
|
# },
|
875
876
|
# ],
|
876
877
|
# max_attempts: 1, # required
|
@@ -879,8 +880,9 @@ module Aws::LexModelBuildingService
|
|
879
880
|
# rejection_statement: { # required
|
880
881
|
# messages: [ # required
|
881
882
|
# {
|
882
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
883
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
883
884
|
# content: "ContentString", # required
|
885
|
+
# group_number: 1,
|
884
886
|
# },
|
885
887
|
# ],
|
886
888
|
# response_card: "ResponseCard",
|
@@ -2289,8 +2291,9 @@ module Aws::LexModelBuildingService
|
|
2289
2291
|
# data as a hash:
|
2290
2292
|
#
|
2291
2293
|
# {
|
2292
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2294
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2293
2295
|
# content: "ContentString", # required
|
2296
|
+
# group_number: 1,
|
2294
2297
|
# }
|
2295
2298
|
#
|
2296
2299
|
# @!attribute [rw] content_type
|
@@ -2301,11 +2304,18 @@ module Aws::LexModelBuildingService
|
|
2301
2304
|
# The text of the message.
|
2302
2305
|
# @return [String]
|
2303
2306
|
#
|
2307
|
+
# @!attribute [rw] group_number
|
2308
|
+
# Identifies the message group that the message belongs to. When a
|
2309
|
+
# group is assigned to a message, Amazon Lex returns one message from
|
2310
|
+
# each group in the response.
|
2311
|
+
# @return [Integer]
|
2312
|
+
#
|
2304
2313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Message AWS API Documentation
|
2305
2314
|
#
|
2306
2315
|
class Message < Struct.new(
|
2307
2316
|
:content_type,
|
2308
|
-
:content
|
2317
|
+
:content,
|
2318
|
+
:group_number)
|
2309
2319
|
include Aws::Structure
|
2310
2320
|
end
|
2311
2321
|
|
@@ -2321,8 +2331,9 @@ module Aws::LexModelBuildingService
|
|
2321
2331
|
# {
|
2322
2332
|
# messages: [ # required
|
2323
2333
|
# {
|
2324
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2334
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2325
2335
|
# content: "ContentString", # required
|
2336
|
+
# group_number: 1,
|
2326
2337
|
# },
|
2327
2338
|
# ],
|
2328
2339
|
# max_attempts: 1, # required
|
@@ -2463,8 +2474,9 @@ module Aws::LexModelBuildingService
|
|
2463
2474
|
# clarification_prompt: {
|
2464
2475
|
# messages: [ # required
|
2465
2476
|
# {
|
2466
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2477
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2467
2478
|
# content: "ContentString", # required
|
2479
|
+
# group_number: 1,
|
2468
2480
|
# },
|
2469
2481
|
# ],
|
2470
2482
|
# max_attempts: 1, # required
|
@@ -2473,8 +2485,9 @@ module Aws::LexModelBuildingService
|
|
2473
2485
|
# abort_statement: {
|
2474
2486
|
# messages: [ # required
|
2475
2487
|
# {
|
2476
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2488
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2477
2489
|
# content: "ContentString", # required
|
2490
|
+
# group_number: 1,
|
2478
2491
|
# },
|
2479
2492
|
# ],
|
2480
2493
|
# response_card: "ResponseCard",
|
@@ -2785,8 +2798,9 @@ module Aws::LexModelBuildingService
|
|
2785
2798
|
# value_elicitation_prompt: {
|
2786
2799
|
# messages: [ # required
|
2787
2800
|
# {
|
2788
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2801
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2789
2802
|
# content: "ContentString", # required
|
2803
|
+
# group_number: 1,
|
2790
2804
|
# },
|
2791
2805
|
# ],
|
2792
2806
|
# max_attempts: 1, # required
|
@@ -2801,8 +2815,9 @@ module Aws::LexModelBuildingService
|
|
2801
2815
|
# confirmation_prompt: {
|
2802
2816
|
# messages: [ # required
|
2803
2817
|
# {
|
2804
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2818
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2805
2819
|
# content: "ContentString", # required
|
2820
|
+
# group_number: 1,
|
2806
2821
|
# },
|
2807
2822
|
# ],
|
2808
2823
|
# max_attempts: 1, # required
|
@@ -2811,8 +2826,9 @@ module Aws::LexModelBuildingService
|
|
2811
2826
|
# rejection_statement: {
|
2812
2827
|
# messages: [ # required
|
2813
2828
|
# {
|
2814
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2829
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2815
2830
|
# content: "ContentString", # required
|
2831
|
+
# group_number: 1,
|
2816
2832
|
# },
|
2817
2833
|
# ],
|
2818
2834
|
# response_card: "ResponseCard",
|
@@ -2821,8 +2837,9 @@ module Aws::LexModelBuildingService
|
|
2821
2837
|
# prompt: { # required
|
2822
2838
|
# messages: [ # required
|
2823
2839
|
# {
|
2824
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2840
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2825
2841
|
# content: "ContentString", # required
|
2842
|
+
# group_number: 1,
|
2826
2843
|
# },
|
2827
2844
|
# ],
|
2828
2845
|
# max_attempts: 1, # required
|
@@ -2831,8 +2848,9 @@ module Aws::LexModelBuildingService
|
|
2831
2848
|
# rejection_statement: { # required
|
2832
2849
|
# messages: [ # required
|
2833
2850
|
# {
|
2834
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2851
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2835
2852
|
# content: "ContentString", # required
|
2853
|
+
# group_number: 1,
|
2836
2854
|
# },
|
2837
2855
|
# ],
|
2838
2856
|
# response_card: "ResponseCard",
|
@@ -2841,8 +2859,9 @@ module Aws::LexModelBuildingService
|
|
2841
2859
|
# conclusion_statement: {
|
2842
2860
|
# messages: [ # required
|
2843
2861
|
# {
|
2844
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
2862
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
2845
2863
|
# content: "ContentString", # required
|
2864
|
+
# group_number: 1,
|
2846
2865
|
# },
|
2847
2866
|
# ],
|
2848
2867
|
# response_card: "ResponseCard",
|
@@ -3297,8 +3316,9 @@ module Aws::LexModelBuildingService
|
|
3297
3316
|
# value_elicitation_prompt: {
|
3298
3317
|
# messages: [ # required
|
3299
3318
|
# {
|
3300
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
3319
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
3301
3320
|
# content: "ContentString", # required
|
3321
|
+
# group_number: 1,
|
3302
3322
|
# },
|
3303
3323
|
# ],
|
3304
3324
|
# max_attempts: 1, # required
|
@@ -3415,8 +3435,9 @@ module Aws::LexModelBuildingService
|
|
3415
3435
|
# {
|
3416
3436
|
# messages: [ # required
|
3417
3437
|
# {
|
3418
|
-
# content_type: "PlainText", # required, accepts PlainText, SSML
|
3438
|
+
# content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
|
3419
3439
|
# content: "ContentString", # required
|
3440
|
+
# group_number: 1,
|
3420
3441
|
# },
|
3421
3442
|
# ],
|
3422
3443
|
# response_card: "ResponseCard",
|
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.
|
4
|
+
version: 1.4.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:
|
11
|
+
date: 2018-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|