Alert Data Type

Alert provide an abstraction over the alert messages sent in and out of the Everyware Cloud platform. It encapsulates all the information regarding the alert:
the timestamp when it was received by the platform,
the severity (CRITICAL, WARNING, INFO)
the category (VPN, CONNECTION, CPU ...)
the code of the alert
the message explaining the alert
a unique identifier (uuid) is automatically generated when the alert is created, it will be used to be able to delete a single alert.
The Alert class is used both by the alerts/search API to return alert results from the platform, as well as by alerts/store and alerts/publish API to send alerts to the platform. http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricAlarm.html

Properties
name data type constraints description
account string  
uuid string  
createdOn number  
createdBy number required
source string  
severity Severity  
category string  
code string  
message string  
attachment string  

Example

{
  "account" : "...",
  "uuid" : "...",
  "createdOn" : 12345,
  "createdBy" : 12345,
  "source" : "...",
  "severity" : "CRITICAL",
  "category" : "...",
  "code" : "...",
  "message" : "...",
  "attachment" : "..."
}