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

Description

 
Synopsis

Documentation

data IntentOverride Source #

Override settings to configure the intent state.

See: newIntentOverride smart constructor.

Constructors

IntentOverride' 

Fields

  • name :: Maybe Text

    The name of the intent. Only required when you're switching intents.

  • slots :: Maybe (HashMap Text SlotValueOverride)

    A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.,

Instances

Instances details
FromJSON IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

ToJSON IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

Generic IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

Associated Types

type Rep IntentOverride :: Type -> Type #

Read IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

Show IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

NFData IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

Methods

rnf :: IntentOverride -> () #

Eq IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

Hashable IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

type Rep IntentOverride Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentOverride

type Rep IntentOverride = D1 ('MetaData "IntentOverride" "Amazonka.LexV2Models.Types.IntentOverride" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "IntentOverride'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "slots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text SlotValueOverride)))))

newIntentOverride :: IntentOverride Source #

Create a value of IntentOverride 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:name:IntentOverride', intentOverride_name - The name of the intent. Only required when you're switching intents.

$sel:slots:IntentOverride', intentOverride_slots - A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.,

intentOverride_name :: Lens' IntentOverride (Maybe Text) Source #

The name of the intent. Only required when you're switching intents.

intentOverride_slots :: Lens' IntentOverride (Maybe (HashMap Text SlotValueOverride)) Source #

A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.,