Class: Aws::IoTFleetWise::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::IoTFleetWise::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-iotfleetwise/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
- #service_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
232 233 234 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 232 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
237 238 239 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 237 def @message || @data[:message] end |
#quota_code ⇒ String
242 243 244 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 242 def quota_code @data[:quota_code] end |
#retry_after_seconds ⇒ String
252 253 254 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 252 def retry_after_seconds @data[:retry_after_seconds] end |
#service_code ⇒ String
247 248 249 |
# File 'lib/aws-sdk-iotfleetwise/errors.rb', line 247 def service_code @data[:service_code] end |