Class: Aws::IoTDataPlane::Errors::MethodNotAllowedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoTDataPlane::Errors::MethodNotAllowedException
- Defined in:
- gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MethodNotAllowedException
constructor
A new instance of MethodNotAllowedException.
-
#message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ MethodNotAllowedException
Returns a new instance of MethodNotAllowedException.
113 114 115 |
# File 'gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/errors.rb', line 113 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
118 119 120 |
# File 'gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/errors.rb', line 118 def @message || @data[:message] end |