Class: Aws::Payments::Types::ValidationException
- Inherits:
-
Struct
- Object
- Struct
- Aws::Payments::Types::ValidationException
- Defined in:
- gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb
Overview
The request isn't valid. Check reason and fieldList for the
cause, correct the request, and try again.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#field_list ⇒ Array<Types::ValidationExceptionField>
The request members that failed validation.
-
#message ⇒ String
-
#reason ⇒ String
The reason that validation failed.
Instance Attribute Details
#field_list ⇒ Array<Types::ValidationExceptionField>
The request members that failed validation. This member is populated
when reason is FIELD_VALIDATION_FAILED.
1443 1444 1445 1446 1447 1448 1449 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1443 class ValidationException < Struct.new( :message, :reason, :field_list) SENSITIVE = [] include Aws::Structure end |
#message ⇒ String
1443 1444 1445 1446 1447 1448 1449 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1443 class ValidationException < Struct.new( :message, :reason, :field_list) SENSITIVE = [] include Aws::Structure end |
#reason ⇒ String
The reason that validation failed. The following values are valid:
CANNOT_PARSE– The request body couldn't be parsed, or a value isn't of the expected type.FIELD_VALIDATION_FAILED– One or more members failed validation.fieldListnames them.INVALID_PAGINATION_TOKEN– ThenextTokenis malformed or expired, or doesn't match the original request. Start again from the first page.UNSUPPORTED_ACTION– The request is well formed, but the action isn't supported for your account, Region, or resource.OTHER– The request isn't valid for another reason.
1443 1444 1445 1446 1447 1448 1449 |
# File 'gems/aws-sdk-payments/lib/aws-sdk-payments/types.rb', line 1443 class ValidationException < Struct.new( :message, :reason, :field_list) SENSITIVE = [] include Aws::Structure end |