Class: Aws::Organizations::Types::EffectivePolicyValidationError

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

Overview

Contains details about the validation errors that occurred when generating or enforcing an effective policy, such as which policies contributed to the error and location of the error.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contributing_policiesArray<String>

The individual policies inherited and attached to the account which contributed to the validation error.

Returns:

  • (Array<String>)


2057
2058
2059
2060
2061
2062
2063
2064
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2057

class EffectivePolicyValidationError < Struct.new(
  :error_code,
  :error_message,
  :path_to_error,
  :contributing_policies)
  SENSITIVE = []
  include Aws::Structure
end

#error_codeString

The error code for the validation error. For example, ELEMENTS_TOO_MANY.

Returns:

  • (String)


2057
2058
2059
2060
2061
2062
2063
2064
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2057

class EffectivePolicyValidationError < Struct.new(
  :error_code,
  :error_message,
  :path_to_error,
  :contributing_policies)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

The error message for the validation error.

Returns:

  • (String)


2057
2058
2059
2060
2061
2062
2063
2064
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2057

class EffectivePolicyValidationError < Struct.new(
  :error_code,
  :error_message,
  :path_to_error,
  :contributing_policies)
  SENSITIVE = []
  include Aws::Structure
end

#path_to_errorString

The path within the effective policy where the validation error occurred.

Returns:

  • (String)


2057
2058
2059
2060
2061
2062
2063
2064
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2057

class EffectivePolicyValidationError < Struct.new(
  :error_code,
  :error_message,
  :path_to_error,
  :contributing_policies)
  SENSITIVE = []
  include Aws::Structure
end