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

Description

 
Synopsis

Documentation

data SlotValue Source #

The value to set in a slot.

See: newSlotValue smart constructor.

Constructors

SlotValue' 

Fields

  • interpretedValue :: Maybe Text

    The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.

Instances

Instances details
FromJSON SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

ToJSON SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

Generic SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

Associated Types

type Rep SlotValue :: Type -> Type #

Read SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

Show SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

NFData SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

Methods

rnf :: SlotValue -> () #

Eq SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

Hashable SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

type Rep SlotValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValue

type Rep SlotValue = D1 ('MetaData "SlotValue" "Amazonka.LexV2Models.Types.SlotValue" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "SlotValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "interpretedValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSlotValue :: SlotValue Source #

Create a value of SlotValue 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:interpretedValue:SlotValue', slotValue_interpretedValue - The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.

slotValue_interpretedValue :: Lens' SlotValue (Maybe Text) Source #

The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.