Class: Aws::SnowDeviceManagement::Errors::ThrottlingException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ThrottlingException.

Parameters:



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

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

Instance Method Details

#messageString

Returns:

  • (String)


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

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

#retryable?Boolean

Returns:

  • (Boolean)


121
122
123
# File 'lib/aws-sdk-snowdevicemanagement/errors.rb', line 121

def retryable?
  true
end

#throttling?Boolean

Returns:

  • (Boolean)


125
126
127
# File 'lib/aws-sdk-snowdevicemanagement/errors.rb', line 125

def throttling?
  true
end