Class: Aws::PartnerCentralSelling::Types::ValidationException

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

Overview

The input fails to satisfy the constraints specified by the service or business validation rules.

Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_listArray<Types::ValidationExceptionError>

A list of issues that were discovered in the submitted request or the resource state.



5554
5555
5556
5557
5558
5559
5560
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 5554

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

#messageString

Returns:

  • (String)


5554
5555
5556
5557
5558
5559
5560
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 5554

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

#reasonString

The primary reason for this validation exception to occur.

  • REQUEST_VALIDATION_FAILED: The request format is not valid.

    Fix: Verify your request payload includes all required fields, uses correct data types and string formats.

  • BUSINESS_VALIDATION_FAILED: The requested change doesn't pass the business validation rules.

    Fix: Check that your change aligns with the business rules defined by AWS Partner Central.

Returns:

  • (String)


5554
5555
5556
5557
5558
5559
5560
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 5554

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