Class: Aws::Deadline::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Deadline::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-deadline/errors.rb
Instance Method Summary collapse
- #context ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #quota_code ⇒ String
- #retry_after_seconds ⇒ String
- #retryable? ⇒ Boolean
- #service_code ⇒ String
- #throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
203 204 205 |
# File 'lib/aws-sdk-deadline/errors.rb', line 203 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#context ⇒ String
228 229 230 |
# File 'lib/aws-sdk-deadline/errors.rb', line 228 def context @data[:context] end |
#message ⇒ String
208 209 210 |
# File 'lib/aws-sdk-deadline/errors.rb', line 208 def @message || @data[:message] end |
#quota_code ⇒ String
218 219 220 |
# File 'lib/aws-sdk-deadline/errors.rb', line 218 def quota_code @data[:quota_code] end |
#retry_after_seconds ⇒ String
223 224 225 |
# File 'lib/aws-sdk-deadline/errors.rb', line 223 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
232 233 234 |
# File 'lib/aws-sdk-deadline/errors.rb', line 232 def retryable? true end |
#service_code ⇒ String
213 214 215 |
# File 'lib/aws-sdk-deadline/errors.rb', line 213 def service_code @data[:service_code] end |
#throttling? ⇒ Boolean
236 237 238 |
# File 'lib/aws-sdk-deadline/errors.rb', line 236 def throttling? true end |