Class: Aws::CredentialBrokerControl::Types::ValidationException
- Inherits:
-
Struct
- Object
- Struct
- Aws::CredentialBrokerControl::Types::ValidationException
- Defined in:
- gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/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
-
#message ⇒ String
-
#reason ⇒ String
Identifies which validation check a request failed.
Instance Attribute Details
#message ⇒ String
2827 2828 2829 2830 2831 2832 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2827 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.
2827 2828 2829 2830 2831 2832 |
# File 'gems/aws-sdk-credentialbrokercontrol/lib/aws-sdk-credentialbrokercontrol/types.rb', line 2827 class ValidationException < Struct.new( :message, :reason) SENSITIVE = [] include Aws::Structure end |