Class: Aws::PCS::Types::ValidationException

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pcs/types.rb

Overview

The request isn’t valid.

<u>Examples</u>

  • Your request contains malformed JSON or unsupported characters.

  • The scheduler version isn’t supported.

  • There are networking related errors, such as network validation failure.

  • AMI type is ‘CUSTOM` and the launch template doesn’t define the AMI ID, or the AMI type is AL2 and the launch template defines the AMI.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_listArray<Types::ValidationExceptionField>

A list of fields or properties that failed validation.



1921
1922
1923
1924
1925
1926
1927
# File 'lib/aws-sdk-pcs/types.rb', line 1921

class ValidationException < Struct.new(
  :message,
  :reason,
  :field_list)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

Returns:

  • (String)


1921
1922
1923
1924
1925
1926
1927
# File 'lib/aws-sdk-pcs/types.rb', line 1921

class ValidationException < Struct.new(
  :message,
  :reason,
  :field_list)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

The specific reason or cause of the validation error.

Returns:

  • (String)


1921
1922
1923
1924
1925
1926
1927
# File 'lib/aws-sdk-pcs/types.rb', line 1921

class ValidationException < Struct.new(
  :message,
  :reason,
  :field_list)
  SENSITIVE = []
  include Aws::Structure
end