Class: Aws::SSM::Errors::InvalidRole
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SSM::Errors::InvalidRole
- Defined in:
- gems/aws-sdk-ssm/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.
1207 1208 1209 |
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1207 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1212 1213 1214 |
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/errors.rb', line 1212 def @message || @data[:message] end |