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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



5436
5437
5438
5439
5440
5441
5442
# File 'lib/aws-sdk-partnercentralselling/types.rb', line 5436

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

#messageString

Returns:

  • (String)


5436
5437
5438
5439
5440
5441
5442
# File 'lib/aws-sdk-partnercentralselling/types.rb', line 5436

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)


5436
5437
5438
5439
5440
5441
5442
# File 'lib/aws-sdk-partnercentralselling/types.rb', line 5436

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