You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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:



71
72
73
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb', line 71

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

Instance Method Details

#limit_typeString

Returns:

  • (String)


76
77
78
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb', line 76

def limit_type
  @data[:limit_type]
end

#messageString

Returns:

  • (String)


81
82
83
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/errors.rb', line 81

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