Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::PinpointSMSVoiceV2::Types::TextValidation

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

Overview

Validation rules for a text field.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_lengthInteger

The maximum number of characters for the text field.

Returns:

  • (Integer)

6908
6909
6910
6911
6912
6913
6914
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6908

class TextValidation < Struct.new(
  :min_length,
  :max_length,
  :pattern)
  SENSITIVE = []
  include Aws::Structure
end

#min_lengthInteger

The minimum number of characters for the text field.

Returns:

  • (Integer)

6908
6909
6910
6911
6912
6913
6914
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6908

class TextValidation < Struct.new(
  :min_length,
  :max_length,
  :pattern)
  SENSITIVE = []
  include Aws::Structure
end

#patternString

The regular expression used to validate the text field.

Returns:

  • (String)

6908
6909
6910
6911
6912
6913
6914
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6908

class TextValidation < Struct.new(
  :min_length,
  :max_length,
  :pattern)
  SENSITIVE = []
  include Aws::Structure
end