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

Description

 
Synopsis

Documentation

data SlotDefaultValue Source #

Specifies the default value to use when a user doesn't provide a value for a slot.

See: newSlotDefaultValue smart constructor.

Constructors

SlotDefaultValue' 

Fields

  • defaultValue :: Text

    The default value to use when a user doesn't provide a value for a slot.

Instances

Instances details
FromJSON SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

ToJSON SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

Generic SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

Associated Types

type Rep SlotDefaultValue :: Type -> Type #

Read SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

Show SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

NFData SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

Methods

rnf :: SlotDefaultValue -> () #

Eq SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

Hashable SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

type Rep SlotDefaultValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotDefaultValue

type Rep SlotDefaultValue = D1 ('MetaData "SlotDefaultValue" "Amazonka.LexV2Models.Types.SlotDefaultValue" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" '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 to use when a user doesn't provide a value for a slot.

slotDefaultValue_defaultValue :: Lens' SlotDefaultValue Text Source #

The default value to use when a user doesn't provide a value for a slot.