Class: Aws::IoTFleetWise::Errors::LimitExceededException

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) ⇒ LimitExceededException

Returns a new instance of LimitExceededException.

Parameters:



182
183
184
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 182

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

Instance Method Details

#messageString

Returns:

  • (String)


187
188
189
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 187

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

#resource_idString

Returns:

  • (String)


192
193
194
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 192

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


197
198
199
# File 'gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/errors.rb', line 197

def resource_type
  @data[:resource_type]
end