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_policies ⇒ Array<String>

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

Returns:

  • (Array<String>)


2182
2183
2184
2185
2186
2187
2188
2189
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2182

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

#error_code ⇒ String

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

Returns:

  • (String)


2182
2183
2184
2185
2186
2187
2188
2189
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2182

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

#error_message ⇒ String

The error message for the validation error.

Returns:

  • (String)


2182
2183
2184
2185
2186
2187
2188
2189
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2182

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

#path_to_error ⇒ String

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

Returns:

  • (String)


2182
2183
2184
2185
2186
2187
2188
2189
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 2182

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