Class: Aws::Context::Types::ValidationException

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

Overview

The input fails to satisfy the constraints of the operation. Correct the input before you retry the request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_list ⇒ Array<Types::ValidationExceptionField>

The fields that failed validation, each with a message that describes why.



8214
8215
8216
8217
8218
8219
8220
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8214

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

#message ⇒ String

A message that describes the error.

Returns:

  • (String)


8214
8215
8216
8217
8218
8219
8220
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8214

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

#reason ⇒ String

The reason that the input failed validation. Valid values:

  • unknownOperation - The operation isn't recognized.

  • cannotParse - The request couldn't be parsed.

  • fieldValidationFailed - One or more fields failed validation. fieldList describes them.

  • other - Another reason. message describes it.

Returns:

  • (String)


8214
8215
8216
8217
8218
8219
8220
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 8214

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