Class: Aws::LexModelBuildingService::Types::SlotTypeRegexConfiguration

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

Overview

Note:

When making an API call, you may pass SlotTypeRegexConfiguration 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)


4430
4431
4432
4433
4434
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4430

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