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.
721 722 723 |
# File 'lib/aws-sdk-lambda/errors.rb', line 721 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
736 737 738 |
# File 'lib/aws-sdk-lambda/errors.rb', line 736 def @message || @data[:message] end |
#reason ⇒ String
741 742 743 |
# File 'lib/aws-sdk-lambda/errors.rb', line 741 def reason @data[:reason] end |
#retry_after_seconds ⇒ String
726 727 728 |
# File 'lib/aws-sdk-lambda/errors.rb', line 726 def retry_after_seconds @data[:retry_after_seconds] end |
#type ⇒ String
731 732 733 |
# File 'lib/aws-sdk-lambda/errors.rb', line 731 def type @data[:type] end |