Class: Aws::SSM::Errors::InvalidRole
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SSM::Errors::InvalidRole
- Defined in:
- lib/aws-sdk-ssm/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRole
constructor
A new instance of InvalidRole.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRole
Returns a new instance of InvalidRole.
1205 1206 1207 |
# File 'lib/aws-sdk-ssm/errors.rb', line 1205 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1210 1211 1212 |
# File 'lib/aws-sdk-ssm/errors.rb', line 1210 def @message || @data[:message] end |