|
760 | 760 | "member":{"shape":"Message"},
|
761 | 761 | "max":10
|
762 | 762 | },
|
| 763 | + "Name":{ |
| 764 | + "type":"string", |
| 765 | + "max":100, |
| 766 | + "min":1, |
| 767 | + "pattern":"^([0-9a-zA-Z][_-]?)+$" |
| 768 | + }, |
763 | 769 | "NonEmptyString":{
|
764 | 770 | "type":"string",
|
765 | 771 | "min":1
|
|
1111 | 1117 | "error":{"httpStatusCode":404},
|
1112 | 1118 | "exception":true
|
1113 | 1119 | },
|
| 1120 | + "RuntimeHintDetails":{ |
| 1121 | + "type":"structure", |
| 1122 | + "required":["runtimeHintValues"], |
| 1123 | + "members":{ |
| 1124 | + "runtimeHintValues":{ |
| 1125 | + "shape":"RuntimeHintValuesList", |
| 1126 | + "documentation":"<p>One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.</p>" |
| 1127 | + } |
| 1128 | + }, |
| 1129 | + "documentation":"<p>Provides an array of phrases that should be given preference when resolving values for a slot.</p>" |
| 1130 | + }, |
| 1131 | + "RuntimeHintPhrase":{ |
| 1132 | + "type":"string", |
| 1133 | + "max":140, |
| 1134 | + "min":1 |
| 1135 | + }, |
| 1136 | + "RuntimeHintValue":{ |
| 1137 | + "type":"structure", |
| 1138 | + "required":["phrase"], |
| 1139 | + "members":{ |
| 1140 | + "phrase":{ |
| 1141 | + "shape":"RuntimeHintPhrase", |
| 1142 | + "documentation":"<p>The phrase that Amazon Lex V2 should look for in the user's input to the bot.</p>" |
| 1143 | + } |
| 1144 | + }, |
| 1145 | + "documentation":"<p>Provides the phrase that Amazon Lex V2 should look for in the user's input to the bot.</p>" |
| 1146 | + }, |
| 1147 | + "RuntimeHintValuesList":{ |
| 1148 | + "type":"list", |
| 1149 | + "member":{"shape":"RuntimeHintValue"}, |
| 1150 | + "max":100, |
| 1151 | + "min":1 |
| 1152 | + }, |
| 1153 | + "RuntimeHints":{ |
| 1154 | + "type":"structure", |
| 1155 | + "members":{ |
| 1156 | + "slotHints":{ |
| 1157 | + "shape":"SlotHintsIntentMap", |
| 1158 | + "documentation":"<p>A list of the slots in the intent that should have runtime hints added, and the phrases that should be added for each slot.</p> <p>The first level of the <code>slotHints</code> map is the name of the intent. The second level is the name of the slot within the intent. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.xml\">Using hints to improve accuracy</a>.</p> <p>The intent name and slot name must exist.</p>" |
| 1159 | + } |
| 1160 | + }, |
| 1161 | + "documentation":"<p>You can provide Amazon Lex V2 with hints to the phrases that a customer is likely to use for a slot. When a slot with hints is resolved, the phrases in the runtime hints are preferred in the resolution. You can provide hints for a maximum of 100 intents. You can provide a maximum of 100 slots.</p> <p>Before you can use runtime hints with an existing bot, you must first rebuild the bot.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.xml\">Using hints to improve accuracy</a>.</p>" |
| 1162 | + }, |
1114 | 1163 | "SensitiveNonEmptyString":{
|
1115 | 1164 | "type":"string",
|
1116 | 1165 | "sensitive":true
|
|
1184 | 1233 | },
|
1185 | 1234 | "originatingRequestId":{
|
1186 | 1235 | "shape":"NonEmptyString",
|
1187 |
| - "documentation":"<p/>" |
| 1236 | + "documentation":"<p>A unique identifier for a specific request.</p>" |
| 1237 | + }, |
| 1238 | + "runtimeHints":{ |
| 1239 | + "shape":"RuntimeHints", |
| 1240 | + "documentation":"<p>Hints for phrases that a customer is likely to use for a slot. Amazon Lex V2 uses the hints to help determine the correct value of a slot.</p>" |
1188 | 1241 | }
|
1189 | 1242 | },
|
1190 | 1243 | "documentation":"<p>The state of the user's session with Amazon Lex V2.</p>"
|
|
1214 | 1267 | },
|
1215 | 1268 | "documentation":"<p>A value that Amazon Lex V2 uses to fulfill an intent. </p>"
|
1216 | 1269 | },
|
| 1270 | + "SlotHintsIntentMap":{ |
| 1271 | + "type":"map", |
| 1272 | + "key":{"shape":"Name"}, |
| 1273 | + "value":{"shape":"SlotHintsSlotMap"} |
| 1274 | + }, |
| 1275 | + "SlotHintsSlotMap":{ |
| 1276 | + "type":"map", |
| 1277 | + "key":{"shape":"Name"}, |
| 1278 | + "value":{"shape":"RuntimeHintDetails"} |
| 1279 | + }, |
1217 | 1280 | "Slots":{
|
1218 | 1281 | "type":"map",
|
1219 | 1282 | "key":{"shape":"NonEmptyString"},
|
|
0 commit comments