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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



7269
7270
7271
7272
7273
7274
7275
# File 'lib/aws-sdk-inspector2/types.rb', line 7269

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

#messageString

Returns:

  • (String)


7269
7270
7271
7272
7273
7274
7275
# File 'lib/aws-sdk-inspector2/types.rb', line 7269

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

#reasonString

The reason for the validation failure.

Returns:

  • (String)


7269
7270
7271
7272
7273
7274
7275
# File 'lib/aws-sdk-inspector2/types.rb', line 7269

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