|
1165 | 1165 | "valueSelectionStrategy":{
|
1166 | 1166 | "shape":"SlotValueSelectionStrategy",
|
1167 | 1167 | "documentation":"<p>The strategy that Amazon Lex uses to determine the value of the slot. For more information, see <a>PutSlotType</a>.</p>"
|
| 1168 | + }, |
| 1169 | + "parentSlotTypeSignature":{ |
| 1170 | + "shape":"CustomOrBuiltinSlotTypeName", |
| 1171 | + "documentation":"<p>The built-in slot type used a the parent of the slot type.</p>" |
| 1172 | + }, |
| 1173 | + "slotTypeConfigurations":{ |
| 1174 | + "shape":"SlotTypeConfigurations", |
| 1175 | + "documentation":"<p>Configuration information that extends the parent built-in slot type.</p>" |
1168 | 1176 | }
|
1169 | 1177 | }
|
1170 | 1178 | },
|
|
1374 | 1382 | "type":"list",
|
1375 | 1383 | "member":{"shape":"EnumerationValue"},
|
1376 | 1384 | "max":10000,
|
1377 |
| - "min":1 |
| 1385 | + "min":0 |
1378 | 1386 | },
|
1379 | 1387 | "ExportStatus":{
|
1380 | 1388 | "type":"string",
|
|
2256 | 2264 | "valueSelectionStrategy":{
|
2257 | 2265 | "shape":"SlotValueSelectionStrategy",
|
2258 | 2266 | "documentation":"<p>The strategy that Amazon Lex uses to determine the value of the slot. For more information, see <a>PutSlotType</a>.</p>"
|
| 2267 | + }, |
| 2268 | + "parentSlotTypeSignature":{ |
| 2269 | + "shape":"CustomOrBuiltinSlotTypeName", |
| 2270 | + "documentation":"<p>The built-in slot type used as a parent for the slot type.</p>" |
| 2271 | + }, |
| 2272 | + "slotTypeConfigurations":{ |
| 2273 | + "shape":"SlotTypeConfigurations", |
| 2274 | + "documentation":"<p>Configuration information that extends the parent built-in slot type.</p>" |
2259 | 2275 | }
|
2260 | 2276 | }
|
2261 | 2277 | },
|
|
3074 | 3090 | "createVersion":{
|
3075 | 3091 | "shape":"Boolean",
|
3076 | 3092 | "documentation":"<p>When set to <code>true</code> a new numbered version of the slot type is created. This is the same as calling the <code>CreateSlotTypeVersion</code> operation. If you do not specify <code>createVersion</code>, the default is <code>false</code>.</p>"
|
| 3093 | + }, |
| 3094 | + "parentSlotTypeSignature":{ |
| 3095 | + "shape":"CustomOrBuiltinSlotTypeName", |
| 3096 | + "documentation":"<p>The built-in slot type used as the parent of the slot type. When you define a parent slot type, the new slot type has all of the same configuration as the parent.</p> <p>Only <code>AMAZON.AlphaNumeric</code> is supported.</p>" |
| 3097 | + }, |
| 3098 | + "slotTypeConfigurations":{ |
| 3099 | + "shape":"SlotTypeConfigurations", |
| 3100 | + "documentation":"<p>Configuration information that extends the parent built-in slot type. The configuration is added to the settings for the parent slot type.</p>" |
3077 | 3101 | }
|
3078 | 3102 | }
|
3079 | 3103 | },
|
|
3115 | 3139 | "createVersion":{
|
3116 | 3140 | "shape":"Boolean",
|
3117 | 3141 | "documentation":"<p> <code>True</code> if a new version of the slot type was created. If the <code>createVersion</code> field was not specified in the request, the <code>createVersion</code> field is set to false in the response.</p>"
|
| 3142 | + }, |
| 3143 | + "parentSlotTypeSignature":{ |
| 3144 | + "shape":"CustomOrBuiltinSlotTypeName", |
| 3145 | + "documentation":"<p>The built-in slot type used as the parent of the slot type.</p>" |
| 3146 | + }, |
| 3147 | + "slotTypeConfigurations":{ |
| 3148 | + "shape":"SlotTypeConfigurations", |
| 3149 | + "documentation":"<p>Configuration information that extends the parent built-in slot type.</p>" |
3118 | 3150 | }
|
3119 | 3151 | }
|
3120 | 3152 | },
|
|
3127 | 3159 | "BotChannel"
|
3128 | 3160 | ]
|
3129 | 3161 | },
|
| 3162 | + "RegexPattern":{ |
| 3163 | + "type":"string", |
| 3164 | + "max":100, |
| 3165 | + "min":1 |
| 3166 | + }, |
3130 | 3167 | "ResourceArn":{
|
3131 | 3168 | "type":"string",
|
3132 | 3169 | "max":2048,
|
|
3248 | 3285 | "min":1,
|
3249 | 3286 | "pattern":"^([A-Za-z](-|_|.)?)+$"
|
3250 | 3287 | },
|
| 3288 | + "SlotTypeConfiguration":{ |
| 3289 | + "type":"structure", |
| 3290 | + "members":{ |
| 3291 | + "regexConfiguration":{ |
| 3292 | + "shape":"SlotTypeRegexConfiguration", |
| 3293 | + "documentation":"<p>A regular expression used to validate the value of a slot.</p>" |
| 3294 | + } |
| 3295 | + }, |
| 3296 | + "documentation":"<p>Provides configuration information for a slot type.</p>" |
| 3297 | + }, |
| 3298 | + "SlotTypeConfigurations":{ |
| 3299 | + "type":"list", |
| 3300 | + "member":{"shape":"SlotTypeConfiguration"}, |
| 3301 | + "max":10, |
| 3302 | + "min":0 |
| 3303 | + }, |
3251 | 3304 | "SlotTypeMetadata":{
|
3252 | 3305 | "type":"structure",
|
3253 | 3306 | "members":{
|
|
3284 | 3337 | "min":1,
|
3285 | 3338 | "pattern":"^([A-Za-z]_?)+$"
|
3286 | 3339 | },
|
| 3340 | + "SlotTypeRegexConfiguration":{ |
| 3341 | + "type":"structure", |
| 3342 | + "required":["pattern"], |
| 3343 | + "members":{ |
| 3344 | + "pattern":{ |
| 3345 | + "shape":"RegexPattern", |
| 3346 | + "documentation":"<p>A regular expression used to validate the value of a slot. </p> <p>Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:</p> <ul> <li> <p>A-Z, a-z</p> </li> <li> <p>0-9</p> </li> <li> <p>Unicode characters (\"\\ u<Unicode>\")</p> </li> </ul> <p>Represent Unicode characters with four digits, for example \"\\u0041\" or \"\\u005A\".</p> <p>The following regular expression operators are not supported:</p> <ul> <li> <p>Infinite repeaters: *, +, or {x,} with no upper bound.</p> </li> <li> <p>Wild card (.)</p> </li> </ul>" |
| 3347 | + } |
| 3348 | + }, |
| 3349 | + "documentation":"<p>Provides a regular expression used to validate the value of a slot.</p>" |
| 3350 | + }, |
3287 | 3351 | "SlotUtteranceList":{
|
3288 | 3352 | "type":"list",
|
3289 | 3353 | "member":{"shape":"Utterance"},
|
|
0 commit comments