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.NewCustomVocabularyItem

Description

 
Synopsis

Documentation

data NewCustomVocabularyItem Source #

The new custom vocabulary item from the custom vocabulary list.

See: newNewCustomVocabularyItem smart constructor.

Constructors

NewCustomVocabularyItem' 

Fields

  • displayAs :: Maybe Text

    The display as value assigned to the new custom vocabulary item from the custom vocabulary list.

  • weight :: Maybe Natural

    The weight assigned to the new custom vocabulary item from the custom vocabulary list.

  • phrase :: Text

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

Instances

Instances details
ToJSON NewCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.NewCustomVocabularyItem

Generic NewCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.NewCustomVocabularyItem

Associated Types

type Rep NewCustomVocabularyItem :: Type -> Type #

Read NewCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.NewCustomVocabularyItem

Show NewCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.NewCustomVocabularyItem

NFData NewCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.NewCustomVocabularyItem

Methods

rnf :: NewCustomVocabularyItem -> () #

Eq NewCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.NewCustomVocabularyItem

Hashable NewCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.NewCustomVocabularyItem

type Rep NewCustomVocabularyItem Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.NewCustomVocabularyItem

type Rep NewCustomVocabularyItem = D1 ('MetaData "NewCustomVocabularyItem" "Amazonka.LexV2Models.Types.NewCustomVocabularyItem" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "NewCustomVocabularyItem'" '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 "phrase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newNewCustomVocabularyItem Source #

Create a value of NewCustomVocabularyItem 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:NewCustomVocabularyItem', newCustomVocabularyItem_displayAs - The display as value assigned to the new custom vocabulary item from the custom vocabulary list.

$sel:weight:NewCustomVocabularyItem', newCustomVocabularyItem_weight - The weight assigned to the new custom vocabulary item from the custom vocabulary list.

$sel:phrase:NewCustomVocabularyItem', newCustomVocabularyItem_phrase - The unique phrase for the new custom vocabulary item from the custom vocabulary list.

newCustomVocabularyItem_displayAs :: Lens' NewCustomVocabularyItem (Maybe Text) Source #

The display as value assigned to the new custom vocabulary item from the custom vocabulary list.

newCustomVocabularyItem_weight :: Lens' NewCustomVocabularyItem (Maybe Natural) Source #

The weight assigned to the new custom vocabulary item from the custom vocabulary list.

newCustomVocabularyItem_phrase :: Lens' NewCustomVocabularyItem Text Source #

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