Class: Aws::SSM::Errors::InvalidTarget

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) ⇒ InvalidTarget

Returns a new instance of InvalidTarget.

Parameters:



1252
1253
1254
# File 'lib/aws-sdk-ssm/errors.rb', line 1252

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

Instance Method Details

#messageString

Returns:

  • (String)


1257
1258
1259
# File 'lib/aws-sdk-ssm/errors.rb', line 1257

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