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:


1179
1180
1181
# File 'lib/aws-sdk-ssm/errors.rb', line 1179

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

Instance Method Details

#messageString

Returns:

  • (String)

1184
1185
1186
# File 'lib/aws-sdk-ssm/errors.rb', line 1184

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