| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LexV2Models.Types.MultipleValuesSetting
Description
Documentation
data MultipleValuesSetting Source #
Indicates whether a slot can return multiple values.
See: newMultipleValuesSetting smart constructor.
Constructors
| MultipleValuesSetting' | |
Fields
| |
Instances
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.