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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-prometheusservice/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_list ⇒ Array<Types::ValidationExceptionField>

The field that caused the error, if applicable.



3309
3310
3311
3312
3313
3314
3315
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 3309

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

#message ⇒ String

Description of the error.

Returns:

  • (String)


3309
3310
3311
3312
3313
3314
3315
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 3309

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

#reason ⇒ String

Reason the request failed validation.

Returns:

  • (String)


3309
3310
3311
3312
3313
3314
3315
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 3309

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