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

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

Overview

Note:

When making an API call, you may pass SlotValueRegexFilter data as a hash:

{
  pattern: "RegexPattern", # required
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#patternString

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)


7618
7619
7620
7621
7622
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 7618

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