Class: Aws::IoTSiteWise::Errors::PreconditionFailedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoTSiteWise::Errors::PreconditionFailedException
- Defined in:
- lib/aws-sdk-iotsitewise/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PreconditionFailedException
constructor
A new instance of PreconditionFailedException.
- #message ⇒ String
- #resource_arn ⇒ String
- #resource_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PreconditionFailedException
Returns a new instance of PreconditionFailedException.
141 142 143 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 141 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
146 147 148 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 146 def @message || @data[:message] end |
#resource_arn ⇒ String
156 157 158 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 156 def resource_arn @data[:resource_arn] end |
#resource_id ⇒ String
151 152 153 |
# File 'lib/aws-sdk-iotsitewise/errors.rb', line 151 def resource_id @data[:resource_id] end |