Class: Aws::IoT1ClickProjects::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoT1ClickProjects::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-iot1clickprojects/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
127 128 129 |
# File 'lib/aws-sdk-iot1clickprojects/errors.rb', line 127 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
132 133 134 |
# File 'lib/aws-sdk-iot1clickprojects/errors.rb', line 132 def code @code || @data[:code] end |
#message ⇒ String
137 138 139 |
# File 'lib/aws-sdk-iot1clickprojects/errors.rb', line 137 def @message || @data[:message] end |