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.
805 806 807 |
# File 'lib/aws-sdk-lambda/errors.rb', line 805 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
820 821 822 |
# File 'lib/aws-sdk-lambda/errors.rb', line 820 def @message || @data[:message] end |
#reason ⇒ String
825 826 827 |
# File 'lib/aws-sdk-lambda/errors.rb', line 825 def reason @data[:reason] end |
#retry_after_seconds ⇒ String
810 811 812 |
# File 'lib/aws-sdk-lambda/errors.rb', line 810 def retry_after_seconds @data[:retry_after_seconds] end |
#type ⇒ String
815 816 817 |
# File 'lib/aws-sdk-lambda/errors.rb', line 815 def type @data[:type] end |