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 |
Documentation
data SlotValueRegexFilter Source #
Provides a regular expression used to validate the value of a slot.
See: newSlotValueRegexFilter
smart constructor.
SlotValueRegexFilter' | |
|
Instances
newSlotValueRegexFilter Source #
Create a value of SlotValueRegexFilter
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':SlotValueRegexFilter'
, slotValueRegexFilter_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 (.)
slotValueRegexFilter_pattern :: Lens' SlotValueRegexFilter 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 (.)