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

Description

 
Synopsis

Documentation

data SlotValueRegexFilter Source #

Provides a regular expression used to validate the value of a slot.

See: newSlotValueRegexFilter smart constructor.

Constructors

SlotValueRegexFilter' 

Fields

  • pattern' :: Text

    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 (.)

Instances

Instances details
FromJSON SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

ToJSON SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

Generic SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

Associated Types

type Rep SlotValueRegexFilter :: Type -> Type #

Read SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

Show SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

NFData SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

Methods

rnf :: SlotValueRegexFilter -> () #

Eq SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

Hashable SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

type Rep SlotValueRegexFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotValueRegexFilter

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

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 (.)