Class: Aws::IoTSiteWise::Errors::ResourceAlreadyExistsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoTSiteWise::Errors::ResourceAlreadyExistsException
- Defined in:
- lib/aws-sdk-iotsitewise/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceAlreadyExistsException
constructor
A new instance of ResourceAlreadyExistsException.
- #message ⇒ String
- #resource_arn ⇒ String
- #resource_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceAlreadyExistsException
Returns a new instance of ResourceAlreadyExistsException.
181 182 183 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 181 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
186 187 188 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 186 def @message || @data[:message] end |
#resource_arn ⇒ String
196 197 198 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 196 def resource_arn @data[:resource_arn] end |
#resource_id ⇒ String
191 192 193 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 191 def resource_id @data[:resource_id] end |