amazonka-lex-models-2.0: Amazon Lex Model Building Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexModels.Types.EnumerationValue

Description

 
Synopsis

Documentation

data EnumerationValue Source #

Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.

For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values

  • thick
  • thin
  • stuffed

See: newEnumerationValue smart constructor.

Constructors

EnumerationValue' 

Fields

Instances

Instances details
FromJSON EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

ToJSON EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

Generic EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

Associated Types

type Rep EnumerationValue :: Type -> Type #

Read EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

Show EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

NFData EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

Methods

rnf :: EnumerationValue -> () #

Eq EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

Hashable EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

type Rep EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

type Rep EnumerationValue = D1 ('MetaData "EnumerationValue" "Amazonka.LexModels.Types.EnumerationValue" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "EnumerationValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "synonyms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEnumerationValue Source #

Create a value of EnumerationValue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:synonyms:EnumerationValue', enumerationValue_synonyms - Additional values related to the slot type value.

$sel:value:EnumerationValue', enumerationValue_value - The value of the slot type.

enumerationValue_synonyms :: Lens' EnumerationValue (Maybe [Text]) Source #

Additional values related to the slot type value.