class Aws::IoTSiteWise::Errors::ResourceAlreadyExistsException
Public Class Methods
new(context, message, data = Aws::EmptyStructure.new)
click to toggle source
@param [Seahorse::Client::RequestContext] context @param [String] message @param [Aws::IoTSiteWise::Types::ResourceAlreadyExistsException] data
Calls superclass method
# File lib/aws-sdk-iotsitewise/errors.rb, line 122 def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end
Public Instance Methods
message()
click to toggle source
@return [String]
# File lib/aws-sdk-iotsitewise/errors.rb, line 127 def message @message || @data[:message] end
resource_arn()
click to toggle source
@return [String]
# File lib/aws-sdk-iotsitewise/errors.rb, line 137 def resource_arn @data[:resource_arn] end
resource_id()
click to toggle source
@return [String]
# File lib/aws-sdk-iotsitewise/errors.rb, line 132 def resource_id @data[:resource_id] end