Class: Aws::Connect::Types::Validation
- Inherits:
-
Struct
- Object
- Struct
- Aws::Connect::Types::Validation
- Defined in:
- gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb
Overview
Defines validation rules for data table attribute values. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations. Validation rules ensure data integrity and consistency across the data table.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#enum ⇒ Types::ValidationEnum
Defines enumeration constraints for attribute values.
-
#exclusive_maximum ⇒ Float
The largest exclusive numeric value for NUMBER value type.
-
#exclusive_minimum ⇒ Float
The smallest exclusive numeric value for NUMBER value type.
-
#ignore_case ⇒ Boolean
Boolean that defaults to false.
-
#max_length ⇒ Integer
The maximum number of characters a text value can contain.
-
#max_values ⇒ Integer
The maximum number of values in a list.
-
#maximum ⇒ Float
The largest inclusive numeric value for NUMBER value type.
-
#min_length ⇒ Integer
The minimum number of characters a text value can contain.
-
#min_values ⇒ Integer
The minimum number of values in a list.
-
#minimum ⇒ Float
The smallest inclusive numeric value for NUMBER value type.
-
#multiple_of ⇒ Float
Specifies that numeric values must be multiples of this number.
Instance Attribute Details
#enum ⇒ Types::ValidationEnum
Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#exclusive_maximum ⇒ Float
The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#exclusive_minimum ⇒ Float
The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#ignore_case ⇒ Boolean
Boolean that defaults to false. Applies to text lists and text primary attributes. When true, enforces case-insensitive uniqueness for primary attributes and allows case-insensitive lookups.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#max_length ⇒ Integer
The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#max_values ⇒ Integer
The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#maximum ⇒ Float
The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#min_length ⇒ Integer
The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#min_values ⇒ Integer
The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#minimum ⇒ Float
The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |
#multiple_of ⇒ Float
Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.
35396 35397 35398 35399 35400 35401 35402 35403 35404 35405 35406 35407 35408 35409 35410 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 35396 class Validation < Struct.new( :min_length, :max_length, :min_values, :max_values, :ignore_case, :minimum, :maximum, :exclusive_minimum, :exclusive_maximum, :multiple_of, :enum) SENSITIVE = [] include Aws::Structure end |