Class: Aws::Organizations::Errors::AccessDeniedForDependencyException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Organizations::Errors::AccessDeniedForDependencyException
- Defined in:
- lib/aws-sdk-organizations/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedForDependencyException
constructor
A new instance of AccessDeniedForDependencyException.
- #message ⇒ String
- #reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedForDependencyException
Returns a new instance of AccessDeniedForDependencyException.
119 120 121 |
# File 'lib/aws-sdk-organizations/errors.rb', line 119 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
124 125 126 |
# File 'lib/aws-sdk-organizations/errors.rb', line 124 def @message || @data[:message] end |
#reason ⇒ String
129 130 131 |
# File 'lib/aws-sdk-organizations/errors.rb', line 129 def reason @data[:reason] end |