alert element

Type: alert
Namespace: http://eurotech.com/edc/2.0
XML Schema: edc.xsd

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

Example XML

<?xml version="1.0" encoding="UTF-8"?> <alert xmlns="http://eurotech.com/edc/2.0"> <account>...</account> <uuid>...</uuid> <createdOn>...</createdOn> <createdBy>...</createdBy> <source>...</source> <severity>...</severity> <category>...</category> <code>...</code> <message>...</message> <attachment>...</attachment> </alert>

Example JSON

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