Class: Aws::IoTFleetWise::Errors::ConflictException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoTFleetWise::Errors::ConflictException
- Defined in:
- lib/aws-sdk-iotfleetwise/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConflictException
constructor
A new instance of ConflictException.
- #message ⇒ String
- #resource ⇒ String
- #resource_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ConflictException
Returns a new instance of ConflictException.
67 68 69 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 67 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
72 73 74 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 72 def @message || @data[:message] end |
#resource ⇒ String
77 78 79 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 77 def resource @data[:resource] end |
#resource_type ⇒ String
82 83 84 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 82 def resource_type @data[:resource_type] end |