Class: Aws::ApiGatewayV2::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ApiGatewayV2::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-apigatewayv2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
- #limit_type ⇒ String
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
112 113 114 |
# File 'lib/aws-sdk-apigatewayv2/errors.rb', line 112 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#limit_type ⇒ String
117 118 119 |
# File 'lib/aws-sdk-apigatewayv2/errors.rb', line 117 def limit_type @data[:limit_type] end |
#message ⇒ String
122 123 124 |
# File 'lib/aws-sdk-apigatewayv2/errors.rb', line 122 def @message || @data[:message] end |