| 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.LexModels.Types.SlotTypeRegexConfiguration
Description
Documentation
data SlotTypeRegexConfiguration Source #
Provides a regular expression used to validate the value of a slot.
See: newSlotTypeRegexConfiguration smart constructor.
Constructors
| SlotTypeRegexConfiguration' | |
Fields 
  | |
Instances
newSlotTypeRegexConfiguration Source #
Create a value of SlotTypeRegexConfiguration 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:pattern':SlotTypeRegexConfiguration', slotTypeRegexConfiguration_pattern - A regular expression used to validate the value of a slot.
Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:
- A-Z, a-z
 - 0-9
 - Unicode characters ("\ u<Unicode>")
 
Represent Unicode characters with four digits, for example "\u0041" or "\u005A".
The following regular expression operators are not supported:
- Infinite repeaters: *, +, or {x,} with no upper bound.
 - Wild card (.)
 
slotTypeRegexConfiguration_pattern :: Lens' SlotTypeRegexConfiguration Text Source #
A regular expression used to validate the value of a slot.
Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:
- A-Z, a-z
 - 0-9
 - Unicode characters ("\ u<Unicode>")
 
Represent Unicode characters with four digits, for example "\u0041" or "\u005A".
The following regular expression operators are not supported:
- Infinite repeaters: *, +, or {x,} with no upper bound.
 - Wild card (.)