Class: Aws::IoT::Errors::ConflictException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoT::Errors::ConflictException
- Defined in:
- lib/aws-sdk-iot/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConflictException
constructor
A new instance of ConflictException.
- #message ⇒ String
- #resource_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConflictException
Returns a new instance of ConflictException.
120 121 122 |
# File 'lib/aws-sdk-iot/errors.rb', line 120 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
125 126 127 |
# File 'lib/aws-sdk-iot/errors.rb', line 125 def @message || @data[:message] end |
#resource_id ⇒ String
130 131 132 |
# File 'lib/aws-sdk-iot/errors.rb', line 130 def resource_id @data[:resource_id] end |