aws-sdk-core 2.9.27 → 2.9.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/codedeploy/2014-10-06/api-2.json +57 -2
- data/apis/cognito-idp/2016-04-18/api-2.json +531 -9
- data/apis/cognito-idp/2016-04-18/paginators-1.json +4 -0
- data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +8 -3
- data/apis/email/2010-12-01/examples-1.json +1 -1
- data/apis/lex-models/2017-04-19/examples-1.json +753 -0
- data/endpoints.json +26 -1
- data/lib/aws-sdk-core/cognitoidentityprovider.rb +1 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +3 -2
@@ -406,7 +406,9 @@
|
|
406
406
|
{"shape":"TargetGroupAssociationLimitException"},
|
407
407
|
{"shape":"RuleNotFoundException"},
|
408
408
|
{"shape":"OperationNotPermittedException"},
|
409
|
-
{"shape":"TooManyRegistrationsForTargetIdException"}
|
409
|
+
{"shape":"TooManyRegistrationsForTargetIdException"},
|
410
|
+
{"shape":"TooManyTargetsException"},
|
411
|
+
{"shape":"TargetGroupNotFoundException"}
|
410
412
|
]
|
411
413
|
},
|
412
414
|
"ModifyTargetGroup":{
|
@@ -856,13 +858,16 @@
|
|
856
858
|
"type":"structure",
|
857
859
|
"members":{
|
858
860
|
"ListenerArn":{"shape":"ListenerArn"},
|
859
|
-
"RuleArns":{"shape":"RuleArns"}
|
861
|
+
"RuleArns":{"shape":"RuleArns"},
|
862
|
+
"Marker":{"shape":"Marker"},
|
863
|
+
"PageSize":{"shape":"PageSize"}
|
860
864
|
}
|
861
865
|
},
|
862
866
|
"DescribeRulesOutput":{
|
863
867
|
"type":"structure",
|
864
868
|
"members":{
|
865
|
-
"Rules":{"shape":"Rules"}
|
869
|
+
"Rules":{"shape":"Rules"},
|
870
|
+
"NextMarker":{"shape":"Marker"}
|
866
871
|
}
|
867
872
|
},
|
868
873
|
"DescribeSSLPoliciesInput":{
|
@@ -703,7 +703,7 @@
|
|
703
703
|
],
|
704
704
|
"FromArn": "",
|
705
705
|
"RawMessage": {
|
706
|
-
"Data": "From: sender@example.com
|
706
|
+
"Data": "From: sender@example.com\nTo: recipient@example.com\nSubject: Test email (contains an attachment)\nMIME-Version: 1.0\nContent-type: Multipart/Mixed; boundary=\"NextPart\"\n\n--NextPart\nContent-Type: text/plain\n\nThis is the message body.\n\n--NextPart\nContent-Type: text/plain;\nContent-Disposition: attachment; filename=\"attachment.txt\"\n\nThis is the text in the attachment.\n\n--NextPart--"
|
707
707
|
},
|
708
708
|
"ReturnPathArn": "",
|
709
709
|
"Source": "",
|
@@ -1,5 +1,758 @@
|
|
1
1
|
{
|
2
2
|
"version": "1.0",
|
3
3
|
"examples": {
|
4
|
+
"GetBot": [
|
5
|
+
{
|
6
|
+
"input": {
|
7
|
+
"name": "DocOrderPizza",
|
8
|
+
"versionOrAlias": "$LATEST"
|
9
|
+
},
|
10
|
+
"output": {
|
11
|
+
"version": "$LATEST",
|
12
|
+
"name": "DocOrderPizzaBot",
|
13
|
+
"abortStatement": {
|
14
|
+
"messages": [
|
15
|
+
{
|
16
|
+
"content": "I don't understand. Can you try again?",
|
17
|
+
"contentType": "PlainText"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"content": "I'm sorry, I don't understand.",
|
21
|
+
"contentType": "PlainText"
|
22
|
+
}
|
23
|
+
]
|
24
|
+
},
|
25
|
+
"checksum": "20172ee3-fa06-49b2-bbc5-667c090303e9",
|
26
|
+
"childDirected": true,
|
27
|
+
"clarificationPrompt": {
|
28
|
+
"maxAttempts": 1,
|
29
|
+
"messages": [
|
30
|
+
{
|
31
|
+
"content": "I'm sorry, I didn't hear that. Can you repeate what you just said?",
|
32
|
+
"contentType": "PlainText"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"content": "Can you say that again?",
|
36
|
+
"contentType": "PlainText"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
},
|
40
|
+
"createdDate": 1494360160.133,
|
41
|
+
"description": "Orders a pizza from a local pizzeria.",
|
42
|
+
"idleSessionTTLInSeconds": 300,
|
43
|
+
"intents": [
|
44
|
+
{
|
45
|
+
"intentName": "DocOrderPizza",
|
46
|
+
"intentVersion": "$LATEST"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"lastUpdatedDate": 1494360160.133,
|
50
|
+
"locale": "en-US",
|
51
|
+
"status": "NOT_BUILT"
|
52
|
+
},
|
53
|
+
"comments": {
|
54
|
+
"input": {
|
55
|
+
},
|
56
|
+
"output": {
|
57
|
+
}
|
58
|
+
},
|
59
|
+
"description": "This example shows how to get configuration information for a bot.",
|
60
|
+
"id": "to-get-information-about-a-bot-1494431724188",
|
61
|
+
"title": "To get information about a bot"
|
62
|
+
}
|
63
|
+
],
|
64
|
+
"GetBots": [
|
65
|
+
{
|
66
|
+
"input": {
|
67
|
+
"maxResults": 5,
|
68
|
+
"nextToken": ""
|
69
|
+
},
|
70
|
+
"output": {
|
71
|
+
"bots": [
|
72
|
+
{
|
73
|
+
"version": "$LATEST",
|
74
|
+
"name": "DocOrderPizzaBot",
|
75
|
+
"createdDate": 1494360160.133,
|
76
|
+
"description": "Orders a pizza from a local pizzeria.",
|
77
|
+
"lastUpdatedDate": 1494360160.133,
|
78
|
+
"status": "NOT_BUILT"
|
79
|
+
}
|
80
|
+
]
|
81
|
+
},
|
82
|
+
"comments": {
|
83
|
+
"input": {
|
84
|
+
},
|
85
|
+
"output": {
|
86
|
+
}
|
87
|
+
},
|
88
|
+
"description": "This example shows how to get a list of all of the bots in your account.",
|
89
|
+
"id": "to-get-a-list-of-bots-1494432220036",
|
90
|
+
"title": "To get a list of bots"
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"GetIntent": [
|
94
|
+
{
|
95
|
+
"input": {
|
96
|
+
"version": "$LATEST",
|
97
|
+
"name": "DocOrderPizza"
|
98
|
+
},
|
99
|
+
"output": {
|
100
|
+
"version": "$LATEST",
|
101
|
+
"name": "DocOrderPizza",
|
102
|
+
"checksum": "ca9bc13d-afc8-4706-bbaf-091f7a5935d6",
|
103
|
+
"conclusionStatement": {
|
104
|
+
"messages": [
|
105
|
+
{
|
106
|
+
"content": "All right, I ordered you a {Crust} crust {Type} pizza with {Sauce} sauce.",
|
107
|
+
"contentType": "PlainText"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"content": "OK, your {Crust} crust {Type} pizza with {Sauce} sauce is on the way.",
|
111
|
+
"contentType": "PlainText"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"responseCard": "foo"
|
115
|
+
},
|
116
|
+
"confirmationPrompt": {
|
117
|
+
"maxAttempts": 1,
|
118
|
+
"messages": [
|
119
|
+
{
|
120
|
+
"content": "Should I order your {Crust} crust {Type} pizza with {Sauce} sauce?",
|
121
|
+
"contentType": "PlainText"
|
122
|
+
}
|
123
|
+
]
|
124
|
+
},
|
125
|
+
"createdDate": 1494359783.453,
|
126
|
+
"description": "Order a pizza from a local pizzeria.",
|
127
|
+
"fulfillmentActivity": {
|
128
|
+
"type": "ReturnIntent"
|
129
|
+
},
|
130
|
+
"lastUpdatedDate": 1494359783.453,
|
131
|
+
"rejectionStatement": {
|
132
|
+
"messages": [
|
133
|
+
{
|
134
|
+
"content": "Ok, I'll cancel your order.",
|
135
|
+
"contentType": "PlainText"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"content": "I cancelled your order.",
|
139
|
+
"contentType": "PlainText"
|
140
|
+
}
|
141
|
+
]
|
142
|
+
},
|
143
|
+
"sampleUtterances": [
|
144
|
+
"Order me a pizza.",
|
145
|
+
"Order me a {Type} pizza.",
|
146
|
+
"I want a {Crust} crust {Type} pizza",
|
147
|
+
"I want a {Crust} crust {Type} pizza with {Sauce} sauce."
|
148
|
+
],
|
149
|
+
"slots": [
|
150
|
+
{
|
151
|
+
"name": "Type",
|
152
|
+
"description": "The type of pizza to order.",
|
153
|
+
"priority": 1,
|
154
|
+
"sampleUtterances": [
|
155
|
+
"Get me a {Type} pizza.",
|
156
|
+
"A {Type} pizza please.",
|
157
|
+
"I'd like a {Type} pizza."
|
158
|
+
],
|
159
|
+
"slotConstraint": "Required",
|
160
|
+
"slotType": "DocPizzaType",
|
161
|
+
"slotTypeVersion": "$LATEST",
|
162
|
+
"valueElicitationPrompt": {
|
163
|
+
"maxAttempts": 1,
|
164
|
+
"messages": [
|
165
|
+
{
|
166
|
+
"content": "What type of pizza would you like?",
|
167
|
+
"contentType": "PlainText"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"content": "Vegie or cheese pizza?",
|
171
|
+
"contentType": "PlainText"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"content": "I can get you a vegie or a cheese pizza.",
|
175
|
+
"contentType": "PlainText"
|
176
|
+
}
|
177
|
+
]
|
178
|
+
}
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"name": "Crust",
|
182
|
+
"description": "The type of pizza crust to order.",
|
183
|
+
"priority": 2,
|
184
|
+
"sampleUtterances": [
|
185
|
+
"Make it a {Crust} crust.",
|
186
|
+
"I'd like a {Crust} crust."
|
187
|
+
],
|
188
|
+
"slotConstraint": "Required",
|
189
|
+
"slotType": "DocPizzaCrustType",
|
190
|
+
"slotTypeVersion": "$LATEST",
|
191
|
+
"valueElicitationPrompt": {
|
192
|
+
"maxAttempts": 1,
|
193
|
+
"messages": [
|
194
|
+
{
|
195
|
+
"content": "What type of crust would you like?",
|
196
|
+
"contentType": "PlainText"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"content": "Thick or thin crust?",
|
200
|
+
"contentType": "PlainText"
|
201
|
+
}
|
202
|
+
]
|
203
|
+
}
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"name": "Sauce",
|
207
|
+
"description": "The type of sauce to use on the pizza.",
|
208
|
+
"priority": 3,
|
209
|
+
"sampleUtterances": [
|
210
|
+
"Make it {Sauce} sauce.",
|
211
|
+
"I'd like {Sauce} sauce."
|
212
|
+
],
|
213
|
+
"slotConstraint": "Required",
|
214
|
+
"slotType": "DocPizzaSauceType",
|
215
|
+
"slotTypeVersion": "$LATEST",
|
216
|
+
"valueElicitationPrompt": {
|
217
|
+
"maxAttempts": 1,
|
218
|
+
"messages": [
|
219
|
+
{
|
220
|
+
"content": "White or red sauce?",
|
221
|
+
"contentType": "PlainText"
|
222
|
+
},
|
223
|
+
{
|
224
|
+
"content": "Garlic or tomato sauce?",
|
225
|
+
"contentType": "PlainText"
|
226
|
+
}
|
227
|
+
]
|
228
|
+
}
|
229
|
+
}
|
230
|
+
]
|
231
|
+
},
|
232
|
+
"comments": {
|
233
|
+
"input": {
|
234
|
+
},
|
235
|
+
"output": {
|
236
|
+
}
|
237
|
+
},
|
238
|
+
"description": "This example shows how to get information about an intent.",
|
239
|
+
"id": "to-get-a-information-about-an-intent-1494432574147",
|
240
|
+
"title": "To get a information about an intent"
|
241
|
+
}
|
242
|
+
],
|
243
|
+
"GetIntents": [
|
244
|
+
{
|
245
|
+
"input": {
|
246
|
+
"maxResults": 10,
|
247
|
+
"nextToken": ""
|
248
|
+
},
|
249
|
+
"output": {
|
250
|
+
"intents": [
|
251
|
+
{
|
252
|
+
"version": "$LATEST",
|
253
|
+
"name": "DocOrderPizza",
|
254
|
+
"createdDate": 1494359783.453,
|
255
|
+
"description": "Order a pizza from a local pizzeria.",
|
256
|
+
"lastUpdatedDate": 1494359783.453
|
257
|
+
}
|
258
|
+
]
|
259
|
+
},
|
260
|
+
"comments": {
|
261
|
+
"input": {
|
262
|
+
},
|
263
|
+
"output": {
|
264
|
+
}
|
265
|
+
},
|
266
|
+
"description": "This example shows how to get a list of all of the intents in your account.",
|
267
|
+
"id": "to-get-a-list-of-intents-1494432416363",
|
268
|
+
"title": "To get a list of intents"
|
269
|
+
}
|
270
|
+
],
|
271
|
+
"GetSlotType": [
|
272
|
+
{
|
273
|
+
"input": {
|
274
|
+
"version": "$LATEST",
|
275
|
+
"name": "DocPizzaCrustType"
|
276
|
+
},
|
277
|
+
"output": {
|
278
|
+
"version": "$LATEST",
|
279
|
+
"name": "DocPizzaCrustType",
|
280
|
+
"checksum": "210b3d5a-90a3-4b22-ac7e-f50c2c71095f",
|
281
|
+
"createdDate": 1494359274.403,
|
282
|
+
"description": "Available crust types",
|
283
|
+
"enumerationValues": [
|
284
|
+
{
|
285
|
+
"value": "thick"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"value": "thin"
|
289
|
+
}
|
290
|
+
],
|
291
|
+
"lastUpdatedDate": 1494359274.403
|
292
|
+
},
|
293
|
+
"comments": {
|
294
|
+
"input": {
|
295
|
+
},
|
296
|
+
"output": {
|
297
|
+
}
|
298
|
+
},
|
299
|
+
"description": "This example shows how to get information about a slot type.",
|
300
|
+
"id": "to-get-information-about-a-slot-type-1494432961004",
|
301
|
+
"title": "To get information about a slot type"
|
302
|
+
}
|
303
|
+
],
|
304
|
+
"GetSlotTypes": [
|
305
|
+
{
|
306
|
+
"input": {
|
307
|
+
"maxResults": 10,
|
308
|
+
"nextToken": ""
|
309
|
+
},
|
310
|
+
"output": {
|
311
|
+
"slotTypes": [
|
312
|
+
{
|
313
|
+
"version": "$LATEST",
|
314
|
+
"name": "DocPizzaCrustType",
|
315
|
+
"createdDate": 1494359274.403,
|
316
|
+
"description": "Available crust types",
|
317
|
+
"lastUpdatedDate": 1494359274.403
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"version": "$LATEST",
|
321
|
+
"name": "DocPizzaSauceType",
|
322
|
+
"createdDate": 1494356442.23,
|
323
|
+
"description": "Available pizza sauces",
|
324
|
+
"lastUpdatedDate": 1494356442.23
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"version": "$LATEST",
|
328
|
+
"name": "DocPizzaType",
|
329
|
+
"createdDate": 1494359198.656,
|
330
|
+
"description": "Available pizzas",
|
331
|
+
"lastUpdatedDate": 1494359198.656
|
332
|
+
}
|
333
|
+
]
|
334
|
+
},
|
335
|
+
"comments": {
|
336
|
+
"input": {
|
337
|
+
},
|
338
|
+
"output": {
|
339
|
+
}
|
340
|
+
},
|
341
|
+
"description": "This example shows how to get a list of all of the slot types in your account.",
|
342
|
+
"id": "to-get-a-list-of-slot-types-1494432757458",
|
343
|
+
"title": "To get a list of slot types"
|
344
|
+
}
|
345
|
+
],
|
346
|
+
"PutBot": [
|
347
|
+
{
|
348
|
+
"input": {
|
349
|
+
"name": "DocOrderPizzaBot",
|
350
|
+
"abortStatement": {
|
351
|
+
"messages": [
|
352
|
+
{
|
353
|
+
"content": "I don't understand. Can you try again?",
|
354
|
+
"contentType": "PlainText"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"content": "I'm sorry, I don't understand.",
|
358
|
+
"contentType": "PlainText"
|
359
|
+
}
|
360
|
+
]
|
361
|
+
},
|
362
|
+
"childDirected": true,
|
363
|
+
"clarificationPrompt": {
|
364
|
+
"maxAttempts": 1,
|
365
|
+
"messages": [
|
366
|
+
{
|
367
|
+
"content": "I'm sorry, I didn't hear that. Can you repeate what you just said?",
|
368
|
+
"contentType": "PlainText"
|
369
|
+
},
|
370
|
+
{
|
371
|
+
"content": "Can you say that again?",
|
372
|
+
"contentType": "PlainText"
|
373
|
+
}
|
374
|
+
]
|
375
|
+
},
|
376
|
+
"description": "Orders a pizza from a local pizzeria.",
|
377
|
+
"idleSessionTTLInSeconds": 300,
|
378
|
+
"intents": [
|
379
|
+
{
|
380
|
+
"intentName": "DocOrderPizza",
|
381
|
+
"intentVersion": "$LATEST"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"locale": "en-US",
|
385
|
+
"processBehavior": "SAVE"
|
386
|
+
},
|
387
|
+
"output": {
|
388
|
+
"version": "$LATEST",
|
389
|
+
"name": "DocOrderPizzaBot",
|
390
|
+
"abortStatement": {
|
391
|
+
"messages": [
|
392
|
+
{
|
393
|
+
"content": "I don't understand. Can you try again?",
|
394
|
+
"contentType": "PlainText"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"content": "I'm sorry, I don't understand.",
|
398
|
+
"contentType": "PlainText"
|
399
|
+
}
|
400
|
+
]
|
401
|
+
},
|
402
|
+
"checksum": "20172ee3-fa06-49b2-bbc5-667c090303e9",
|
403
|
+
"childDirected": true,
|
404
|
+
"clarificationPrompt": {
|
405
|
+
"maxAttempts": 1,
|
406
|
+
"messages": [
|
407
|
+
{
|
408
|
+
"content": "I'm sorry, I didn't hear that. Can you repeate what you just said?",
|
409
|
+
"contentType": "PlainText"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"content": "Can you say that again?",
|
413
|
+
"contentType": "PlainText"
|
414
|
+
}
|
415
|
+
]
|
416
|
+
},
|
417
|
+
"createdDate": 1494360160.133,
|
418
|
+
"description": "Orders a pizza from a local pizzeria.",
|
419
|
+
"idleSessionTTLInSeconds": 300,
|
420
|
+
"intents": [
|
421
|
+
{
|
422
|
+
"intentName": "DocOrderPizza",
|
423
|
+
"intentVersion": "$LATEST"
|
424
|
+
}
|
425
|
+
],
|
426
|
+
"lastUpdatedDate": 1494360160.133,
|
427
|
+
"locale": "en-US",
|
428
|
+
"status": "NOT_BUILT"
|
429
|
+
},
|
430
|
+
"comments": {
|
431
|
+
"input": {
|
432
|
+
},
|
433
|
+
"output": {
|
434
|
+
}
|
435
|
+
},
|
436
|
+
"description": "This example shows how to create a bot for ordering pizzas.",
|
437
|
+
"id": "to-create-a-bot-1494360003886",
|
438
|
+
"title": "To create a bot"
|
439
|
+
}
|
440
|
+
],
|
441
|
+
"PutIntent": [
|
442
|
+
{
|
443
|
+
"input": {
|
444
|
+
"name": "DocOrderPizza",
|
445
|
+
"conclusionStatement": {
|
446
|
+
"messages": [
|
447
|
+
{
|
448
|
+
"content": "All right, I ordered you a {Crust} crust {Type} pizza with {Sauce} sauce.",
|
449
|
+
"contentType": "PlainText"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"content": "OK, your {Crust} crust {Type} pizza with {Sauce} sauce is on the way.",
|
453
|
+
"contentType": "PlainText"
|
454
|
+
}
|
455
|
+
],
|
456
|
+
"responseCard": "foo"
|
457
|
+
},
|
458
|
+
"confirmationPrompt": {
|
459
|
+
"maxAttempts": 1,
|
460
|
+
"messages": [
|
461
|
+
{
|
462
|
+
"content": "Should I order your {Crust} crust {Type} pizza with {Sauce} sauce?",
|
463
|
+
"contentType": "PlainText"
|
464
|
+
}
|
465
|
+
]
|
466
|
+
},
|
467
|
+
"description": "Order a pizza from a local pizzeria.",
|
468
|
+
"fulfillmentActivity": {
|
469
|
+
"type": "ReturnIntent"
|
470
|
+
},
|
471
|
+
"rejectionStatement": {
|
472
|
+
"messages": [
|
473
|
+
{
|
474
|
+
"content": "Ok, I'll cancel your order.",
|
475
|
+
"contentType": "PlainText"
|
476
|
+
},
|
477
|
+
{
|
478
|
+
"content": "I cancelled your order.",
|
479
|
+
"contentType": "PlainText"
|
480
|
+
}
|
481
|
+
]
|
482
|
+
},
|
483
|
+
"sampleUtterances": [
|
484
|
+
"Order me a pizza.",
|
485
|
+
"Order me a {Type} pizza.",
|
486
|
+
"I want a {Crust} crust {Type} pizza",
|
487
|
+
"I want a {Crust} crust {Type} pizza with {Sauce} sauce."
|
488
|
+
],
|
489
|
+
"slots": [
|
490
|
+
{
|
491
|
+
"name": "Type",
|
492
|
+
"description": "The type of pizza to order.",
|
493
|
+
"priority": 1,
|
494
|
+
"sampleUtterances": [
|
495
|
+
"Get me a {Type} pizza.",
|
496
|
+
"A {Type} pizza please.",
|
497
|
+
"I'd like a {Type} pizza."
|
498
|
+
],
|
499
|
+
"slotConstraint": "Required",
|
500
|
+
"slotType": "DocPizzaType",
|
501
|
+
"slotTypeVersion": "$LATEST",
|
502
|
+
"valueElicitationPrompt": {
|
503
|
+
"maxAttempts": 1,
|
504
|
+
"messages": [
|
505
|
+
{
|
506
|
+
"content": "What type of pizza would you like?",
|
507
|
+
"contentType": "PlainText"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"content": "Vegie or cheese pizza?",
|
511
|
+
"contentType": "PlainText"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"content": "I can get you a vegie or a cheese pizza.",
|
515
|
+
"contentType": "PlainText"
|
516
|
+
}
|
517
|
+
]
|
518
|
+
}
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"name": "Crust",
|
522
|
+
"description": "The type of pizza crust to order.",
|
523
|
+
"priority": 2,
|
524
|
+
"sampleUtterances": [
|
525
|
+
"Make it a {Crust} crust.",
|
526
|
+
"I'd like a {Crust} crust."
|
527
|
+
],
|
528
|
+
"slotConstraint": "Required",
|
529
|
+
"slotType": "DocPizzaCrustType",
|
530
|
+
"slotTypeVersion": "$LATEST",
|
531
|
+
"valueElicitationPrompt": {
|
532
|
+
"maxAttempts": 1,
|
533
|
+
"messages": [
|
534
|
+
{
|
535
|
+
"content": "What type of crust would you like?",
|
536
|
+
"contentType": "PlainText"
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"content": "Thick or thin crust?",
|
540
|
+
"contentType": "PlainText"
|
541
|
+
}
|
542
|
+
]
|
543
|
+
}
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"name": "Sauce",
|
547
|
+
"description": "The type of sauce to use on the pizza.",
|
548
|
+
"priority": 3,
|
549
|
+
"sampleUtterances": [
|
550
|
+
"Make it {Sauce} sauce.",
|
551
|
+
"I'd like {Sauce} sauce."
|
552
|
+
],
|
553
|
+
"slotConstraint": "Required",
|
554
|
+
"slotType": "DocPizzaSauceType",
|
555
|
+
"slotTypeVersion": "$LATEST",
|
556
|
+
"valueElicitationPrompt": {
|
557
|
+
"maxAttempts": 1,
|
558
|
+
"messages": [
|
559
|
+
{
|
560
|
+
"content": "White or red sauce?",
|
561
|
+
"contentType": "PlainText"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"content": "Garlic or tomato sauce?",
|
565
|
+
"contentType": "PlainText"
|
566
|
+
}
|
567
|
+
]
|
568
|
+
}
|
569
|
+
}
|
570
|
+
]
|
571
|
+
},
|
572
|
+
"output": {
|
573
|
+
"version": "$LATEST",
|
574
|
+
"name": "DocOrderPizza",
|
575
|
+
"checksum": "ca9bc13d-afc8-4706-bbaf-091f7a5935d6",
|
576
|
+
"conclusionStatement": {
|
577
|
+
"messages": [
|
578
|
+
{
|
579
|
+
"content": "All right, I ordered you a {Crust} crust {Type} pizza with {Sauce} sauce.",
|
580
|
+
"contentType": "PlainText"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"content": "OK, your {Crust} crust {Type} pizza with {Sauce} sauce is on the way.",
|
584
|
+
"contentType": "PlainText"
|
585
|
+
}
|
586
|
+
],
|
587
|
+
"responseCard": "foo"
|
588
|
+
},
|
589
|
+
"confirmationPrompt": {
|
590
|
+
"maxAttempts": 1,
|
591
|
+
"messages": [
|
592
|
+
{
|
593
|
+
"content": "Should I order your {Crust} crust {Type} pizza with {Sauce} sauce?",
|
594
|
+
"contentType": "PlainText"
|
595
|
+
}
|
596
|
+
]
|
597
|
+
},
|
598
|
+
"createdDate": 1494359783.453,
|
599
|
+
"description": "Order a pizza from a local pizzeria.",
|
600
|
+
"fulfillmentActivity": {
|
601
|
+
"type": "ReturnIntent"
|
602
|
+
},
|
603
|
+
"lastUpdatedDate": 1494359783.453,
|
604
|
+
"rejectionStatement": {
|
605
|
+
"messages": [
|
606
|
+
{
|
607
|
+
"content": "Ok, I'll cancel your order.",
|
608
|
+
"contentType": "PlainText"
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"content": "I cancelled your order.",
|
612
|
+
"contentType": "PlainText"
|
613
|
+
}
|
614
|
+
]
|
615
|
+
},
|
616
|
+
"sampleUtterances": [
|
617
|
+
"Order me a pizza.",
|
618
|
+
"Order me a {Type} pizza.",
|
619
|
+
"I want a {Crust} crust {Type} pizza",
|
620
|
+
"I want a {Crust} crust {Type} pizza with {Sauce} sauce."
|
621
|
+
],
|
622
|
+
"slots": [
|
623
|
+
{
|
624
|
+
"name": "Sauce",
|
625
|
+
"description": "The type of sauce to use on the pizza.",
|
626
|
+
"priority": 3,
|
627
|
+
"sampleUtterances": [
|
628
|
+
"Make it {Sauce} sauce.",
|
629
|
+
"I'd like {Sauce} sauce."
|
630
|
+
],
|
631
|
+
"slotConstraint": "Required",
|
632
|
+
"slotType": "DocPizzaSauceType",
|
633
|
+
"slotTypeVersion": "$LATEST",
|
634
|
+
"valueElicitationPrompt": {
|
635
|
+
"maxAttempts": 1,
|
636
|
+
"messages": [
|
637
|
+
{
|
638
|
+
"content": "White or red sauce?",
|
639
|
+
"contentType": "PlainText"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"content": "Garlic or tomato sauce?",
|
643
|
+
"contentType": "PlainText"
|
644
|
+
}
|
645
|
+
]
|
646
|
+
}
|
647
|
+
},
|
648
|
+
{
|
649
|
+
"name": "Type",
|
650
|
+
"description": "The type of pizza to order.",
|
651
|
+
"priority": 1,
|
652
|
+
"sampleUtterances": [
|
653
|
+
"Get me a {Type} pizza.",
|
654
|
+
"A {Type} pizza please.",
|
655
|
+
"I'd like a {Type} pizza."
|
656
|
+
],
|
657
|
+
"slotConstraint": "Required",
|
658
|
+
"slotType": "DocPizzaType",
|
659
|
+
"slotTypeVersion": "$LATEST",
|
660
|
+
"valueElicitationPrompt": {
|
661
|
+
"maxAttempts": 1,
|
662
|
+
"messages": [
|
663
|
+
{
|
664
|
+
"content": "What type of pizza would you like?",
|
665
|
+
"contentType": "PlainText"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"content": "Vegie or cheese pizza?",
|
669
|
+
"contentType": "PlainText"
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"content": "I can get you a vegie or a cheese pizza.",
|
673
|
+
"contentType": "PlainText"
|
674
|
+
}
|
675
|
+
]
|
676
|
+
}
|
677
|
+
},
|
678
|
+
{
|
679
|
+
"name": "Crust",
|
680
|
+
"description": "The type of pizza crust to order.",
|
681
|
+
"priority": 2,
|
682
|
+
"sampleUtterances": [
|
683
|
+
"Make it a {Crust} crust.",
|
684
|
+
"I'd like a {Crust} crust."
|
685
|
+
],
|
686
|
+
"slotConstraint": "Required",
|
687
|
+
"slotType": "DocPizzaCrustType",
|
688
|
+
"slotTypeVersion": "$LATEST",
|
689
|
+
"valueElicitationPrompt": {
|
690
|
+
"maxAttempts": 1,
|
691
|
+
"messages": [
|
692
|
+
{
|
693
|
+
"content": "What type of crust would you like?",
|
694
|
+
"contentType": "PlainText"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"content": "Thick or thin crust?",
|
698
|
+
"contentType": "PlainText"
|
699
|
+
}
|
700
|
+
]
|
701
|
+
}
|
702
|
+
}
|
703
|
+
]
|
704
|
+
},
|
705
|
+
"comments": {
|
706
|
+
"input": {
|
707
|
+
},
|
708
|
+
"output": {
|
709
|
+
}
|
710
|
+
},
|
711
|
+
"description": "This example shows how to create an intent for ordering pizzas.",
|
712
|
+
"id": "to-create-an-intent-1494358144659",
|
713
|
+
"title": "To create an intent"
|
714
|
+
}
|
715
|
+
],
|
716
|
+
"PutSlotType": [
|
717
|
+
{
|
718
|
+
"input": {
|
719
|
+
"name": "PizzaSauceType",
|
720
|
+
"description": "Available pizza sauces",
|
721
|
+
"enumerationValues": [
|
722
|
+
{
|
723
|
+
"value": "red"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"value": "white"
|
727
|
+
}
|
728
|
+
]
|
729
|
+
},
|
730
|
+
"output": {
|
731
|
+
"version": "$LATEST",
|
732
|
+
"name": "DocPizzaSauceType",
|
733
|
+
"checksum": "cfd00ed1-775d-4357-947c-aca7e73b44ba",
|
734
|
+
"createdDate": 1494356442.23,
|
735
|
+
"description": "Available pizza sauces",
|
736
|
+
"enumerationValues": [
|
737
|
+
{
|
738
|
+
"value": "red"
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"value": "white"
|
742
|
+
}
|
743
|
+
],
|
744
|
+
"lastUpdatedDate": 1494356442.23
|
745
|
+
},
|
746
|
+
"comments": {
|
747
|
+
"input": {
|
748
|
+
},
|
749
|
+
"output": {
|
750
|
+
}
|
751
|
+
},
|
752
|
+
"description": "This example shows how to create a slot type that describes pizza sauces.",
|
753
|
+
"id": "to-create-a-slot-type-1494357262258",
|
754
|
+
"title": "To Create a Slot Type"
|
755
|
+
}
|
756
|
+
]
|
4
757
|
}
|
5
758
|
}
|