Class: Aws::IAM::Errors::PolicyNotAttachableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IAM::Errors::PolicyNotAttachableException
- Defined in:
- lib/aws-sdk-iam/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyNotAttachableException
constructor
A new instance of PolicyNotAttachableException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PolicyNotAttachableException
Returns a new instance of PolicyNotAttachableException.
384 385 386 |
# File 'lib/aws-sdk-iam/errors.rb', line 384 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
389 390 391 |
# File 'lib/aws-sdk-iam/errors.rb', line 389 def @message || @data[:message] end |