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

Description

 
Synopsis

Documentation

data SlotValueOverride Source #

The slot values that Amazon Lex uses when it sets slot values in a dialog step.

See: newSlotValueOverride smart constructor.

Constructors

SlotValueOverride' 

Fields

  • shape :: Maybe SlotShape

    When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

  • value :: Maybe SlotValue

    The current value of the slot.

  • values :: Maybe [SlotValueOverride]

    A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

Instances

Instances details
FromJSON SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

ToJSON SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

Generic SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

Associated Types

type Rep SlotValueOverride :: Type -> Type #

Read SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

Show SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

NFData SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

Methods

rnf :: SlotValueOverride -> () #

Eq SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

Hashable SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

type Rep SlotValueOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueOverride

type Rep SlotValueOverride = D1 ('MetaData "SlotValueOverride" "Amazonka.LexV2Models.Types.SlotValueOverride" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "SlotValueOverride'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shape") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlotShape)) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlotValue)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SlotValueOverride])))))

newSlotValueOverride :: SlotValueOverride Source #

Create a value of SlotValueOverride 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:shape:SlotValueOverride', slotValueOverride_shape - When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

$sel:value:SlotValueOverride', slotValueOverride_value - The current value of the slot.

$sel:values:SlotValueOverride', slotValueOverride_values - A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."

slotValueOverride_shape :: Lens' SlotValueOverride (Maybe SlotShape) Source #

When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

slotValueOverride_values :: Lens' SlotValueOverride (Maybe [SlotValueOverride]) Source #

A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."