libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LexModels.Types.SlotTypeRegexConfiguration

Description

 
Synopsis

Documentation

data SlotTypeRegexConfiguration Source #

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

See: newSlotTypeRegexConfiguration smart constructor.

Constructors

SlotTypeRegexConfiguration' 

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
Eq SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

Read SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

Show SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

Generic SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

Associated Types

type Rep SlotTypeRegexConfiguration :: Type -> Type #

NFData SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

Hashable SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

ToJSON SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

FromJSON SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

type Rep SlotTypeRegexConfiguration Source # 
Instance details

Defined in Amazonka.LexModels.Types.SlotTypeRegexConfiguration

type Rep SlotTypeRegexConfiguration = D1 ('MetaData "SlotTypeRegexConfiguration" "Amazonka.LexModels.Types.SlotTypeRegexConfiguration" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "SlotTypeRegexConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pattern'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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