Class: Aws::SSM::Errors::InvalidRole

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-ssm/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidRole

Returns a new instance of InvalidRole.

Parameters:



1205
1206
1207
# File 'lib/aws-sdk-ssm/errors.rb', line 1205

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


1210
1211
1212
# File 'lib/aws-sdk-ssm/errors.rb', line 1210

def message
  @message || @data[:message]
end