Class: Aws::AppMonetization::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::AppMonetization::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/errors.rb
Instance Method Summary collapse
-
#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.
251 252 253 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/errors.rb', line 251 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
256 257 258 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/errors.rb', line 256 def @message || @data[:message] end |
#quota_code ⇒ String
266 267 268 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/errors.rb', line 266 def quota_code @data[:quota_code] end |
#retry_after_seconds ⇒ String
271 272 273 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/errors.rb', line 271 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
275 276 277 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/errors.rb', line 275 def retryable? true end |
#service_code ⇒ String
261 262 263 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/errors.rb', line 261 def service_code @data[:service_code] end |
#throttling? ⇒ Boolean
279 280 281 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/errors.rb', line 279 def throttling? true end |