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.
400 401 402 |
# File 'lib/aws-sdk-iam/errors.rb', line 400 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
405 406 407 |
# File 'lib/aws-sdk-iam/errors.rb', line 405 def @message || @data[:message] end |