Class: Aws::ApiGatewayV2::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ApiGatewayV2::Errors::TooManyRequestsException
- Defined in:
- gems/aws-sdk-apigatewayv2/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 'gems/aws-sdk-apigatewayv2/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 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb', line 117 def limit_type @data[:limit_type] end |
#message ⇒ String
122 123 124 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb', line 122 def @message || @data[:message] end |