libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

Read EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

Show 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 #

NFData EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

Methods

rnf :: EnumerationValue -> () #

Hashable EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

ToJSON EnumerationValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.EnumerationValue

FromJSON 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" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" '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.