Class: Aws::PrometheusService::Types::ValidationException

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

Overview

The input fails to satisfy the constraints specified by an Amazon Web Services service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_listArray<Types::ValidationExceptionField>

The field that caused the error, if applicable.



1778
1779
1780
1781
1782
1783
1784
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1778

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

#messageString

Description of the error.

Returns:

  • (String)


1778
1779
1780
1781
1782
1783
1784
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1778

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

#reasonString

Reason the request failed validation.

Returns:

  • (String)


1778
1779
1780
1781
1782
1783
1784
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1778

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