Class: Aws::IoTSiteWise::Errors::ResourceAlreadyExistsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceAlreadyExistsException.

Parameters:



181
182
183
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 181

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

Instance Method Details

#messageString

Returns:

  • (String)


186
187
188
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 186

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

#resource_arnString

Returns:

  • (String)


196
197
198
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 196

def resource_arn
  @data[:resource_arn]
end

#resource_idString

Returns:

  • (String)


191
192
193
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 191

def resource_id
  @data[:resource_id]
end