Class: Aws::SnowDeviceManagement::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SnowDeviceManagement::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-snowdevicemanagement/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #retryable? ⇒ Boolean
- #throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
112 113 114 |
# File 'lib/aws-sdk-snowdevicemanagement/errors.rb', line 112 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
117 118 119 |
# File 'lib/aws-sdk-snowdevicemanagement/errors.rb', line 117 def @message || @data[:message] end |
#retryable? ⇒ Boolean
121 122 123 |
# File 'lib/aws-sdk-snowdevicemanagement/errors.rb', line 121 def retryable? true end |
#throttling? ⇒ Boolean
125 126 127 |
# File 'lib/aws-sdk-snowdevicemanagement/errors.rb', line 125 def throttling? true end |