Class: Aws::Lambda::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lambda::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-lambda/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
- #message ⇒ String
- #reason ⇒ String
- #retry_after_seconds ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
1183 1184 1185 |
# File 'lib/aws-sdk-lambda/errors.rb', line 1183 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1198 1199 1200 |
# File 'lib/aws-sdk-lambda/errors.rb', line 1198 def @message || @data[:message] end |
#reason ⇒ String
1203 1204 1205 |
# File 'lib/aws-sdk-lambda/errors.rb', line 1203 def reason @data[:reason] end |
#retry_after_seconds ⇒ String
1188 1189 1190 |
# File 'lib/aws-sdk-lambda/errors.rb', line 1188 def retry_after_seconds @data[:retry_after_seconds] end |
#type ⇒ String
1193 1194 1195 |
# File 'lib/aws-sdk-lambda/errors.rb', line 1193 def type @data[:type] end |