Class: Aws::Inspector2::Types::ValidationException

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

Overview

The request has failed validation due to missing required fields or having invalid inputs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fieldsArray<Types::ValidationExceptionField>

The fields that failed validation.



7163
7164
7165
7166
7167
7168
7169
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7163

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

#messageString

Returns:

  • (String)


7163
7164
7165
7166
7167
7168
7169
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7163

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

#reasonString

The reason for the validation failure.

Returns:

  • (String)


7163
7164
7165
7166
7167
7168
7169
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 7163

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