Class: Aws::InternetMonitor::Errors::TooManyRequestsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TooManyRequestsException.

Parameters:



204
205
206
# File 'gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/errors.rb', line 204

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

Instance Method Details

#messageString

Returns:

  • (String)


209
210
211
# File 'gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/errors.rb', line 209

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

#retryable?Boolean

Returns:

  • (Boolean)


213
214
215
# File 'gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/errors.rb', line 213

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


217
218
219
# File 'gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/errors.rb', line 217

def throttling?
  true
end