Class: Aws::TimestreamInfluxDB::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::TimestreamInfluxDB::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-timestreaminfluxdb/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #retry_after_seconds ⇒ String
- #retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
148 149 150 |
# File 'lib/aws-sdk-timestreaminfluxdb/errors.rb', line 148 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
153 154 155 |
# File 'lib/aws-sdk-timestreaminfluxdb/errors.rb', line 153 def @message || @data[:message] end |
#retry_after_seconds ⇒ String
158 159 160 |
# File 'lib/aws-sdk-timestreaminfluxdb/errors.rb', line 158 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
162 163 164 |
# File 'lib/aws-sdk-timestreaminfluxdb/errors.rb', line 162 def retryable? true end |