Class: Aws::LexModelsV2::Types::SlotValueRegexFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#pattern ⇒ String

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

Returns:

  • (String)


13439
13440
13441
13442
13443
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 13439

class SlotValueRegexFilter < Struct.new(
  :pattern)
  SENSITIVE = []
  include Aws::Structure
end