Class: Aws::Organizations::Errors::PolicyTypeNotEnabledException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Organizations::Errors::PolicyTypeNotEnabledException
- Defined in:
- lib/aws-sdk-organizations/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyTypeNotEnabledException
constructor
A new instance of PolicyTypeNotEnabledException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyTypeNotEnabledException
Returns a new instance of PolicyTypeNotEnabledException.
694 695 696 |
# File 'lib/aws-sdk-organizations/errors.rb', line 694 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
699 700 701 |
# File 'lib/aws-sdk-organizations/errors.rb', line 699 def @message || @data[:message] end |