Class: Aws::IAM::Errors::MalformedPolicyDocumentException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IAM::Errors::MalformedPolicyDocumentException
- Defined in:
- lib/aws-sdk-iam/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MalformedPolicyDocumentException
constructor
A new instance of MalformedPolicyDocumentException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MalformedPolicyDocumentException
Returns a new instance of MalformedPolicyDocumentException.
325 326 327 |
# File 'lib/aws-sdk-iam/errors.rb', line 325 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
330 331 332 |
# File 'lib/aws-sdk-iam/errors.rb', line 330 def @message || @data[:message] end |