Class: Aws::AppMesh::Errors::TooManyRequestsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TooManyRequestsException.

Parameters:



180
181
182
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/errors.rb', line 180

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

Instance Method Details

#messageString

Returns:

  • (String)


185
186
187
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/errors.rb', line 185

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

#retryable?Boolean

Returns:

  • (Boolean)


189
190
191
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/errors.rb', line 189

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


193
194
195
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/errors.rb', line 193

def throttling?
  true
end