|
2936 | 2936 | "type":"structure",
|
2937 | 2937 | "required":[
|
2938 | 2938 | "slotTypeName",
|
2939 |
| - "valueSelectionSetting", |
2940 | 2939 | "botId",
|
2941 | 2940 | "botVersion",
|
2942 | 2941 | "localeId"
|
|
2979 | 2978 | "documentation":"<p>The identifier of the language and locale that the slot type will be used in. The string must match one of the supported locales. All of the bots, intents, and slots used by the slot type must have the same locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
2980 | 2979 | "location":"uri",
|
2981 | 2980 | "locationName":"localeId"
|
| 2981 | + }, |
| 2982 | + "externalSourceSetting":{ |
| 2983 | + "shape":"ExternalSourceSetting", |
| 2984 | + "documentation":"<p>Sets the type of external information used to create the slot type.</p>" |
2982 | 2985 | }
|
2983 | 2986 | }
|
2984 | 2987 | },
|
|
3024 | 3027 | "creationDateTime":{
|
3025 | 3028 | "shape":"Timestamp",
|
3026 | 3029 | "documentation":"<p>A timestamp of the date and time that the slot type was created.</p>"
|
| 3030 | + }, |
| 3031 | + "externalSourceSetting":{ |
| 3032 | + "shape":"ExternalSourceSetting", |
| 3033 | + "documentation":"<p>The type of external information used to create the slot type.</p>" |
3027 | 3034 | }
|
3028 | 3035 | }
|
3029 | 3036 | },
|
|
3687 | 3694 | "botLocaleHistoryEvents":{
|
3688 | 3695 | "shape":"BotLocaleHistoryEventsList",
|
3689 | 3696 | "documentation":"<p>History of changes, such as when a locale is used in an alias, that have taken place for the locale.</p>"
|
| 3697 | + }, |
| 3698 | + "recommendedActions":{ |
| 3699 | + "shape":"RecommendedActions", |
| 3700 | + "documentation":"<p>Recommended actions to take to resolve an error in the <code>failureReasons</code> field.</p>" |
3690 | 3701 | }
|
3691 | 3702 | }
|
3692 | 3703 | },
|
|
4316 | 4327 | "lastUpdatedDateTime":{
|
4317 | 4328 | "shape":"Timestamp",
|
4318 | 4329 | "documentation":"<p>A timestamp of the date and time that the slot type was last updated.</p>"
|
4319 |
| - } |
| 4330 | + }, |
| 4331 | + "externalSourceSetting":{"shape":"ExternalSourceSetting"} |
4320 | 4332 | }
|
4321 | 4333 | },
|
4322 | 4334 | "Description":{
|
|
4486 | 4498 | "type":"list",
|
4487 | 4499 | "member":{"shape":"ExportSummary"}
|
4488 | 4500 | },
|
| 4501 | + "ExternalSourceSetting":{ |
| 4502 | + "type":"structure", |
| 4503 | + "members":{ |
| 4504 | + "grammarSlotTypeSetting":{ |
| 4505 | + "shape":"GrammarSlotTypeSetting", |
| 4506 | + "documentation":"<p>Settings required for a slot type based on a grammar that you provide.</p>" |
| 4507 | + } |
| 4508 | + }, |
| 4509 | + "documentation":"<p>Provides information about the external source of the slot type's definition.</p>" |
| 4510 | + }, |
4489 | 4511 | "FailureReason":{"type":"string"},
|
4490 | 4512 | "FailureReasons":{
|
4491 | 4513 | "type":"list",
|
|
4610 | 4632 | },
|
4611 | 4633 | "documentation":"<p>Provides information for updating the user on the progress of fulfilling an intent.</p>"
|
4612 | 4634 | },
|
| 4635 | + "GrammarSlotTypeSetting":{ |
| 4636 | + "type":"structure", |
| 4637 | + "members":{ |
| 4638 | + "source":{ |
| 4639 | + "shape":"GrammarSlotTypeSource", |
| 4640 | + "documentation":"<p>The source of the grammar used to create the slot type.</p>" |
| 4641 | + } |
| 4642 | + }, |
| 4643 | + "documentation":"<p>Settings requried for a slot type based on a grammar that you provide.</p>" |
| 4644 | + }, |
| 4645 | + "GrammarSlotTypeSource":{ |
| 4646 | + "type":"structure", |
| 4647 | + "required":[ |
| 4648 | + "s3BucketName", |
| 4649 | + "s3ObjectKey" |
| 4650 | + ], |
| 4651 | + "members":{ |
| 4652 | + "s3BucketName":{ |
| 4653 | + "shape":"S3BucketName", |
| 4654 | + "documentation":"<p>The name of the S3 bucket that contains the grammar source.</p>" |
| 4655 | + }, |
| 4656 | + "s3ObjectKey":{ |
| 4657 | + "shape":"S3ObjectPath", |
| 4658 | + "documentation":"<p>The path to the grammar in the S3 bucket.</p>" |
| 4659 | + }, |
| 4660 | + "kmsKeyArn":{ |
| 4661 | + "shape":"KmsKeyArn", |
| 4662 | + "documentation":"<p>The Amazon KMS key required to decrypt the contents of the grammar, if any.</p>" |
| 4663 | + } |
| 4664 | + }, |
| 4665 | + "documentation":"<p>Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.</p>" |
| 4666 | + }, |
4613 | 4667 | "HitCount":{"type":"integer"},
|
4614 | 4668 | "Id":{
|
4615 | 4669 | "type":"string",
|
|
6120 | 6174 | "max":5000,
|
6121 | 6175 | "min":1
|
6122 | 6176 | },
|
| 6177 | + "RecommendedAction":{"type":"string"}, |
| 6178 | + "RecommendedActions":{ |
| 6179 | + "type":"list", |
| 6180 | + "member":{"shape":"RecommendedAction"} |
| 6181 | + }, |
6123 | 6182 | "RecommendedIntentSummary":{
|
6124 | 6183 | "type":"structure",
|
6125 | 6184 | "members":{
|
|
6267 | 6326 | },
|
6268 | 6327 | "documentation":"<p>The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.</p>"
|
6269 | 6328 | },
|
| 6329 | + "S3ObjectPath":{ |
| 6330 | + "type":"string", |
| 6331 | + "max":1024, |
| 6332 | + "min":1, |
| 6333 | + "pattern":"[\\.\\-\\!\\*\\_\\'\\(\\)a-zA-Z0-9][\\.\\-\\!\\*\\_\\'\\(\\)\\/a-zA-Z0-9]*$" |
| 6334 | + }, |
6270 | 6335 | "SSMLMessage":{
|
6271 | 6336 | "type":"structure",
|
6272 | 6337 | "required":["value"],
|
|
6605 | 6670 | "type":"list",
|
6606 | 6671 | "member":{"shape":"SlotSummary"}
|
6607 | 6672 | },
|
| 6673 | + "SlotTypeCategory":{ |
| 6674 | + "type":"string", |
| 6675 | + "enum":[ |
| 6676 | + "Custom", |
| 6677 | + "Extended", |
| 6678 | + "ExternalGrammar" |
| 6679 | + ] |
| 6680 | + }, |
6608 | 6681 | "SlotTypeFilter":{
|
6609 | 6682 | "type":"structure",
|
6610 | 6683 | "required":[
|
|
6630 | 6703 | },
|
6631 | 6704 | "SlotTypeFilterName":{
|
6632 | 6705 | "type":"string",
|
6633 |
| - "enum":["SlotTypeName"] |
| 6706 | + "enum":[ |
| 6707 | + "SlotTypeName", |
| 6708 | + "ExternalSourceType" |
| 6709 | + ] |
6634 | 6710 | },
|
6635 | 6711 | "SlotTypeFilterOperator":{
|
6636 | 6712 | "type":"string",
|
|
6703 | 6779 | "lastUpdatedDateTime":{
|
6704 | 6780 | "shape":"Timestamp",
|
6705 | 6781 | "documentation":"<p>A timestamp of the date and time that the slot type was last updated.</p>"
|
| 6782 | + }, |
| 6783 | + "slotTypeCategory":{ |
| 6784 | + "shape":"SlotTypeCategory", |
| 6785 | + "documentation":"<p>Indicates the type of the slot type.</p> <ul> <li> <p> <code>Custom</code> - A slot type that you created using custom values. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html\">Creating custom slot types</a>.</p> </li> <li> <p> <code>Extended</code> - A slot type created by extending the AMAZON.AlphaNumeric built-in slot type. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html\">AMAZON.AlphaNumeric</a>.</p> </li> <li> <p> <code>ExternalGrammar</code> - A slot type using a custom GRXML grammar to define values. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/building-grxml.html\">Using a custom grammar slot type</a>.</p> </li> </ul>" |
6706 | 6786 | }
|
6707 | 6787 | },
|
6708 | 6788 | "documentation":"<p>Provides summary information about a slot type.</p>"
|
|
7302 | 7382 | "lastUpdatedDateTime":{
|
7303 | 7383 | "shape":"Timestamp",
|
7304 | 7384 | "documentation":"<p>A timestamp of the date and time that the locale was last updated.</p>"
|
| 7385 | + }, |
| 7386 | + "recommendedActions":{ |
| 7387 | + "shape":"RecommendedActions", |
| 7388 | + "documentation":"<p>Recommended actions to take to resolve an error in the <code>failureReasons</code> field.</p>" |
7305 | 7389 | }
|
7306 | 7390 | }
|
7307 | 7391 | },
|
|
7840 | 7924 | "required":[
|
7841 | 7925 | "slotTypeId",
|
7842 | 7926 | "slotTypeName",
|
7843 |
| - "valueSelectionSetting", |
7844 | 7927 | "botId",
|
7845 | 7928 | "botVersion",
|
7846 | 7929 | "localeId"
|
|
7889 | 7972 | "documentation":"<p>The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>",
|
7890 | 7973 | "location":"uri",
|
7891 | 7974 | "locationName":"localeId"
|
7892 |
| - } |
| 7975 | + }, |
| 7976 | + "externalSourceSetting":{"shape":"ExternalSourceSetting"} |
7893 | 7977 | }
|
7894 | 7978 | },
|
7895 | 7979 | "UpdateSlotTypeResponse":{
|
|
7938 | 8022 | "lastUpdatedDateTime":{
|
7939 | 8023 | "shape":"Timestamp",
|
7940 | 8024 | "documentation":"<p>A timestamp of the date and time that the slot type was last updated.</p>"
|
7941 |
| - } |
| 8025 | + }, |
| 8026 | + "externalSourceSetting":{"shape":"ExternalSourceSetting"} |
7942 | 8027 | }
|
7943 | 8028 | },
|
7944 | 8029 | "Utterance":{"type":"string"},
|
|
7985 | 8070 | },
|
7986 | 8071 | "engine":{
|
7987 | 8072 | "shape":"VoiceEngine",
|
7988 |
| - "documentation":"<p>Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see <a href=\"https://docs.aws.amazon.com/polly/latest/dg/voicelist.html\">Voices in Amazon Polly</a>.</p>" |
| 8073 | + "documentation":"<p>Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the <a href=\"https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine\"> <code>engine</code> parameter of the <code>SynthesizeSpeech</code> operation</a> in the <i>Amazon Polly developer guide</i>.</p> <p>If you do not specify a value, the default is <code>standard</code>.</p>" |
7989 | 8074 | }
|
7990 | 8075 | },
|
7991 | 8076 | "documentation":"<p>Defines settings for using an Amazon Polly voice to communicate with a user.</p>"
|
|
0 commit comments