

终止支持通知：2025年9月15日， AWS 我们将停止对Amazon Lex V1的支持。2025 年 9 月 15 日之后，您将无法再访问 Amazon Lex V1 控制台或 Amazon Lex V1 资源。如果您使用的是 Amazon Lex V2，请改为参阅 [Amazon Lex V2 指南](https://docs.aws.amazon.com/lexv2/latest/dg/what-is.html)。

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# EnumerationValue
<a name="API_EnumerationValue"></a>

每种槽类型可以有一组值。每个枚举值表示插槽类型可采用的值。

例如，订购披萨机器人可能有一个插槽类型，用于指定披萨应有的饼皮类型。插槽类型可以包含值 
+ 厚
+ thin
+ 装馅

## 内容
<a name="API_EnumerationValue_Contents"></a>

 ** value **   <a name="lex-Type-EnumerationValue-value"></a>
插槽类型的值。  
类型：字符串  
长度限制：最小长度为 1。长度上限为 140。  
必需：是

 ** synonyms **   <a name="lex-Type-EnumerationValue-synonyms"></a>
与插槽类型值相关的额外值。  
类型：字符串数组  
长度限制：最小长度为 1。长度上限为 140。  
必需：否

## 另请参阅
<a name="API_EnumerationValue_SeeAlso"></a>

有关以特定语言之一使用此 API 的更多信息 AWS SDKs，请参阅以下内容：
+  [AWS 适用于 C\$1\$1 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/lex-models-2017-04-19/EnumerationValue) 
+  [AWS 适用于 Java 的 SDK V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lex-models-2017-04-19/EnumerationValue) 
+  [AWS 适用于 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/lex-models-2017-04-19/EnumerationValue) 