amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 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.LexV2Models.Types.CustomVocabularyItem

Description

 
Synopsis

Documentation

data CustomVocabularyItem Source #

The unique custom vocabulary item from the custom vocabulary list.

See: newCustomVocabularyItem smart constructor.

Constructors

CustomVocabularyItem' 

Fields

  • displayAs :: Maybe Text

    The display as value for the custom vocabulary item from the custom vocabulary list.

  • weight :: Maybe Natural

    The weight assigned for the custom vocabulary item from the custom vocabulary list.

  • itemId :: Text

    The unique item identifer for the custom vocabulary item from the custom vocabulary list.

  • phrase :: Text

    The unique phrase for the custom vocabulary item from the custom vocabulary list.

Instances

Instances details
FromJSON CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

ToJSON CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

Generic CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

Associated Types

type Rep CustomVocabularyItem :: Type -> Type #

Read CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

Show CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

NFData CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

Methods

rnf :: CustomVocabularyItem -> () #

Eq CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

Hashable CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

type Rep CustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.CustomVocabularyItem

type Rep CustomVocabularyItem = D1 ('MetaData "CustomVocabularyItem" "Amazonka.LexV2Models.Types.CustomVocabularyItem" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "CustomVocabularyItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "displayAs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "itemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "phrase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCustomVocabularyItem Source #

Create a value of CustomVocabularyItem 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:displayAs:CustomVocabularyItem', customVocabularyItem_displayAs - The display as value for the custom vocabulary item from the custom vocabulary list.

$sel:weight:CustomVocabularyItem', customVocabularyItem_weight - The weight assigned for the custom vocabulary item from the custom vocabulary list.

$sel:itemId:CustomVocabularyItem', customVocabularyItem_itemId - The unique item identifer for the custom vocabulary item from the custom vocabulary list.

$sel:phrase:CustomVocabularyItem', customVocabularyItem_phrase - The unique phrase for the custom vocabulary item from the custom vocabulary list.

customVocabularyItem_displayAs :: Lens' CustomVocabularyItem (Maybe Text) Source #

The display as value for the custom vocabulary item from the custom vocabulary list.

customVocabularyItem_weight :: Lens' CustomVocabularyItem (Maybe Natural) Source #

The weight assigned for the custom vocabulary item from the custom vocabulary list.

customVocabularyItem_itemId :: Lens' CustomVocabularyItem Text Source #

The unique item identifer for the custom vocabulary item from the custom vocabulary list.

customVocabularyItem_phrase :: Lens' CustomVocabularyItem Text Source #

The unique phrase for the custom vocabulary item from the custom vocabulary list.