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

Namespace
http://eurotech.com/edc/2.0
Schema
edc.xsd
Properties
name data type type namespace min/max occurs constraints description
account string element edc 0/1    
uuid string element edc 0/1    
createdOn dateTime element edc 0/1    
createdBy long element edc 1/1 required  
source string element edc 0/1    
severity severity element edc 0/1    
category string element edc 0/1    
code string element edc 0/1    
message string element edc 0/1    
attachment base64Binary element edc 0/1    

Example

<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>