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

Description

 
Synopsis

Documentation

data SubSlotValueElicitationSetting Source #

Subslot elicitation settings.

DefaultValueSpecification is a list of default values for a constituent sub slot in a composite slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values. This is similar to DefaultValueSpecification for slots.

PromptSpecification is the prompt that Amazon Lex uses to elicit the sub slot value from the user. This is similar to PromptSpecification for slots.

See: newSubSlotValueElicitationSetting smart constructor.

Constructors

SubSlotValueElicitationSetting' 

Fields

Instances

Instances details
FromJSON SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

ToJSON SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

Generic SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

Associated Types

type Rep SubSlotValueElicitationSetting :: Type -> Type #

Read SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

Show SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

NFData SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

Eq SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

Hashable SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

type Rep SubSlotValueElicitationSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting

type Rep SubSlotValueElicitationSetting = D1 ('MetaData "SubSlotValueElicitationSetting" "Amazonka.LexV2Models.Types.SubSlotValueElicitationSetting" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "SubSlotValueElicitationSetting'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultValueSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlotDefaultValueSpecification)) :*: S1 ('MetaSel ('Just "sampleUtterances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SampleUtterance]))) :*: (S1 ('MetaSel ('Just "waitAndContinueSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WaitAndContinueSpecification)) :*: S1 ('MetaSel ('Just "promptSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PromptSpecification))))

newSubSlotValueElicitationSetting Source #

Create a value of SubSlotValueElicitationSetting 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:defaultValueSpecification:SubSlotValueElicitationSetting', subSlotValueElicitationSetting_defaultValueSpecification - Undocumented member.

$sel:sampleUtterances:SubSlotValueElicitationSetting', subSlotValueElicitationSetting_sampleUtterances - If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of understanding user utterances. This is similar to SampleUtterances for slots.

$sel:waitAndContinueSpecification:SubSlotValueElicitationSetting', subSlotValueElicitationSetting_waitAndContinueSpecification - Undocumented member.

$sel:promptSpecification:SubSlotValueElicitationSetting', subSlotValueElicitationSetting_promptSpecification - Undocumented member.

subSlotValueElicitationSetting_sampleUtterances :: Lens' SubSlotValueElicitationSetting (Maybe [SampleUtterance]) Source #

If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of understanding user utterances. This is similar to SampleUtterances for slots.