AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ApiGatewayV2::Errors::TooManyRequestsException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException

Returns a new instance of TooManyRequestsException.

Parameters:



112
113
114
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb', line 112

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#limit_typeString

Returns:

  • (String)


117
118
119
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb', line 117

def limit_type
  @data[:limit_type]
end

#messageString

Returns:

  • (String)


122
123
124
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb', line 122

def message
  @message || @data[:message]
end