Class: Aws::IoTFleetWise::Errors::ThrottlingException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException

Returns a new instance of ThrottlingException.

Parameters:



232
233
234
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 232

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


237
238
239
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 237

def message
  @message || @data[:message]
end

#quota_codeString

Returns:

  • (String)


242
243
244
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 242

def quota_code
  @data[:quota_code]
end

#retry_after_secondsString

Returns:

  • (String)


252
253
254
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 252

def retry_after_seconds
  @data[:retry_after_seconds]
end

#service_codeString

Returns:

  • (String)


247
248
249
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 247

def service_code
  @data[:service_code]
end