Class: Aws::Connect::Errors::TooManyRequestsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TooManyRequestsException.

Parameters:



453
454
455
# File 'lib/aws-sdk-connect/errors.rb', line 453

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

Instance Method Details

#messageString

Returns:

  • (String)


458
459
460
# File 'lib/aws-sdk-connect/errors.rb', line 458

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