Class: Aws::IoTEvents::Errors::ResourceAlreadyExistsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceAlreadyExistsException.

Parameters:



96
97
98
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/errors.rb', line 96

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

Instance Method Details

#messageString

Returns:

  • (String)


101
102
103
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/errors.rb', line 101

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

#resource_arnString

Returns:

  • (String)


111
112
113
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/errors.rb', line 111

def resource_arn
  @data[:resource_arn]
end

#resource_idString

Returns:

  • (String)


106
107
108
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/errors.rb', line 106

def resource_id
  @data[:resource_id]
end