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

Description

 
Synopsis

Documentation

data MultipleValuesSetting Source #

Indicates whether a slot can return multiple values.

See: newMultipleValuesSetting smart constructor.

Constructors

MultipleValuesSetting' 

Fields

  • allowMultipleValues :: Maybe Bool

    Indicates whether a slot can return multiple values. When true, the slot may return more than one value in a response. When false, the slot returns only a single value.

    Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException.

    If the allowMutlipleValues is not set, the default value is false.

Instances

Instances details
FromJSON MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

ToJSON MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

Generic MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

Associated Types

type Rep MultipleValuesSetting :: Type -> Type #

Read MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

Show MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

NFData MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

Methods

rnf :: MultipleValuesSetting -> () #

Eq MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

Hashable MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

type Rep MultipleValuesSetting Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.MultipleValuesSetting

type Rep MultipleValuesSetting = D1 ('MetaData "MultipleValuesSetting" "Amazonka.LexV2Models.Types.MultipleValuesSetting" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "MultipleValuesSetting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allowMultipleValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newMultipleValuesSetting :: MultipleValuesSetting Source #

Create a value of MultipleValuesSetting 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:allowMultipleValues:MultipleValuesSetting', multipleValuesSetting_allowMultipleValues - Indicates whether a slot can return multiple values. When true, the slot may return more than one value in a response. When false, the slot returns only a single value.

Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException.

If the allowMutlipleValues is not set, the default value is false.

multipleValuesSetting_allowMultipleValues :: Lens' MultipleValuesSetting (Maybe Bool) Source #

Indicates whether a slot can return multiple values. When true, the slot may return more than one value in a response. When false, the slot returns only a single value.

Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException.

If the allowMutlipleValues is not set, the default value is false.