Skip to content

Commit f973686

Browse files
author
AWS
committed
Amazon Lex Model Building V2 Update: This release introduces additional optional parameters "messageSelectionStrategy" to PromptSpecification, which enables the users to configure the bot to play messages in orderly manner.
1 parent 35ee934 commit f973686

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
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": "This release introduces additional optional parameters \"messageSelectionStrategy\" to PromptSpecification, which enables the users to configure the bot to play messages in orderly manner."
6+
}

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

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@
13271327
"members":{
13281328
"transcript":{
13291329
"shape":"Transcript",
1330-
"documentation":"<p>The content of the transcript that meets the search filter criteria. For the JSON format of the transcript, see <a href=\"https://docs.aws.amazon.com/lex/latest/dg/designing-output-format.html\">Output transcript format</a>.</p>"
1330+
"documentation":"<p>The content of the transcript that meets the search filter criteria. For the JSON format of the transcript, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/designing-output-format.html\">Output transcript format</a>.</p>"
13311331
}
13321332
},
13331333
"documentation":"<p>The object containing information that associates the recommended intent/slot type with a conversation.</p>"
@@ -1814,7 +1814,7 @@
18141814
"documentation":"<p>The statistical summary of the bot recommendation results.</p>"
18151815
}
18161816
},
1817-
"documentation":"<p>The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.</p>"
1817+
"documentation":"<p>The object representing the URL of the bot definition, the URL of the associated transcript, and a statistical summary of the bot recommendation results.</p>"
18181818
},
18191819
"BotRecommendationStatus":{
18201820
"type":"string",
@@ -2629,7 +2629,7 @@
26292629
},
26302630
"exportStatus":{
26312631
"shape":"ExportStatus",
2632-
"documentation":"<p>The status of the export. When the status is <code>Completed</code>, you can use the <a href=\"https://docs.aws.amazon.com/latest/dg/API_DescribeExport.html\">DescribeExport</a> operation to get the pre-signed S3 URL link to your exported bot or bot locale.</p>"
2632+
"documentation":"<p>The status of the export. When the status is <code>Completed</code>, you can use the <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html\">DescribeExport</a> operation to get the pre-signed S3 URL link to your exported bot or bot locale.</p>"
26332633
},
26342634
"creationDateTime":{
26352635
"shape":"Timestamp",
@@ -6204,6 +6204,13 @@
62046204
"max":5,
62056205
"min":1
62066206
},
6207+
"MessageSelectionStrategy":{
6208+
"type":"string",
6209+
"enum":[
6210+
"Random",
6211+
"Ordered"
6212+
]
6213+
},
62076214
"MessageVariationsList":{
62086215
"type":"list",
62096216
"member":{"shape":"Message"},
@@ -6413,6 +6420,10 @@
64136420
"allowInterrupt":{
64146421
"shape":"BoxedBoolean",
64156422
"documentation":"<p>Indicates whether the user can interrupt a speech prompt from the bot.</p>"
6423+
},
6424+
"messageSelectionStrategy":{
6425+
"shape":"MessageSelectionStrategy",
6426+
"documentation":"<p>Indicates how a message is selected from a message group among retries.</p>"
64166427
}
64176428
},
64186429
"documentation":"<p>Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.</p>"

0 commit comments

Comments
 (0)