Class: Aws::CredentialBroker::Types::ValidationException

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

Overview

The request is not valid. The request was rejected before any change was made, so it is safe to correct the input and retry. Use reason to branch in code and message for the human-readable detail of which field or combination of fields was at fault.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#message ⇒ String

Returns:

  • (String)


439
440
441
442
443
444
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 439

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

#reason ⇒ String

Identifies which validation check a request failed. New values may be added over time, so treat an unrecognized value as a generic validation failure and rely on message for detail.

Returns:

  • (String)


439
440
441
442
443
444
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/types.rb', line 439

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