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

Description

 
Synopsis

Documentation

data SlotDefaultValue Source #

A default value for a slot.

See: newSlotDefaultValue smart constructor.

Constructors

SlotDefaultValue' 

Fields

  • defaultValue :: Text

    The default value for the slot. You can specify one of the following:

    • #context-name.slot-name - The slot value "slot-name" in the context "context-name."
    • {attribute} - The slot value of the session attribute "attribute."
    • 'value' - The discrete value "value."

Instances

Instances details
Eq SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

Read SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

Show SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

Generic SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

Associated Types

type Rep SlotDefaultValue :: Type -> Type #

NFData SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

Methods

rnf :: SlotDefaultValue -> () #

Hashable SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

ToJSON SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

FromJSON SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

type Rep SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotDefaultValue

type Rep SlotDefaultValue = D1 ('MetaData "SlotDefaultValue" "Amazonka.LexModels.Types.SlotDefaultValue" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "SlotDefaultValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSlotDefaultValue Source #

Create a value of SlotDefaultValue 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:defaultValue:SlotDefaultValue', slotDefaultValue_defaultValue - The default value for the slot. You can specify one of the following:

  • #context-name.slot-name - The slot value "slot-name" in the context "context-name."
  • {attribute} - The slot value of the session attribute "attribute."
  • 'value' - The discrete value "value."

slotDefaultValue_defaultValue :: Lens' SlotDefaultValue Text Source #

The default value for the slot. You can specify one of the following:

  • #context-name.slot-name - The slot value "slot-name" in the context "context-name."
  • {attribute} - The slot value of the session attribute "attribute."
  • 'value' - The discrete value "value."