Class: Aws::IAM::Errors::PasswordPolicyViolationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IAM::Errors::PasswordPolicyViolationException
- Defined in:
- lib/aws-sdk-iam/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PasswordPolicyViolationException
constructor
A new instance of PasswordPolicyViolationException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PasswordPolicyViolationException
Returns a new instance of PasswordPolicyViolationException.
415 416 417 |
# File 'lib/aws-sdk-iam/errors.rb', line 415 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
420 421 422 |
# File 'lib/aws-sdk-iam/errors.rb', line 420 def @message || @data[:message] end |