Skip to content

Commit b4d9da5

Browse files
author
AWS
committed
Amazon Lex Model Building V2 Update: Customers can now toggle the active field on prompts and responses.
1 parent bbce8dc commit b4d9da5

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Lex Model Building V2",
4+
"contributor": "",
5+
"description": "Customers can now toggle the active field on prompts and responses."
6+
}

services/lexmodelsv2/src/main/resources/codegen-resources/service-2.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@
11861186
"documentation":"<p>The version of the bot that was exported. This will be either <code>DRAFT</code> or the version number.</p>"
11871187
}
11881188
},
1189-
"documentation":"<p>Provided the identity of a the bot that was exported.</p>"
1189+
"documentation":"<p>Provides the identity of a the bot that was exported.</p>"
11901190
},
11911191
"BotFilter":{
11921192
"type":"structure",
@@ -4192,6 +4192,10 @@
41924192
"closingResponse":{
41934193
"shape":"ResponseSpecification",
41944194
"documentation":"<p>The response that Amazon Lex sends to the user when the intent is complete.</p>"
4195+
},
4196+
"active":{
4197+
"shape":"BoxedBoolean",
4198+
"documentation":"<p>Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user and no closing input from the user is used. If the <code>active</code> field isn't specified, the default is true.</p>"
41954199
}
41964200
},
41974201
"documentation":"<p>Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.</p>"
@@ -4210,6 +4214,10 @@
42104214
"declinationResponse":{
42114215
"shape":"ResponseSpecification",
42124216
"documentation":"<p>When the user answers \"no\" to the question defined in <code>promptSpecification</code>, Amazon Lex responds with this response to acknowledge that the intent was canceled. </p>"
4217+
},
4218+
"active":{
4219+
"shape":"BoxedBoolean",
4220+
"documentation":"<p>Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent and processing continues as if the responses aren't present. If the <code>active</code> field isn't specified, the default is true.</p>"
42134221
}
42144222
},
42154223
"documentation":"<p>Provides a prompt for making sure that the user is ready for the intent to be fulfilled.</p>"
@@ -5182,7 +5190,7 @@
51825190
},
51835191
"PriorityValue":{
51845192
"type":"integer",
5185-
"max":25,
5193+
"max":100,
51865194
"min":0
51875195
},
51885196
"PromptMaxRetries":{
@@ -6700,6 +6708,10 @@
67006708
"stillWaitingResponse":{
67016709
"shape":"StillWaitingResponseSpecification",
67026710
"documentation":"<p>A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.</p>"
6711+
},
6712+
"active":{
6713+
"shape":"BoxedBoolean",
6714+
"documentation":"<p>Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used and the bot expects an appropriate response within the configured timeout. If the <code>active</code> field isn't specified, the default is true.</p>"
67036715
}
67046716
},
67056717
"documentation":"<p>Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input. </p>"

0 commit comments

Comments
 (0)