Cloud Storage Element
The cloud storage element is used to persistently store data on Atmosphere. This is most commonly used alongside the Device Event element to store the embedded data sent to Atmosphere from a device.
The cloud storage element is located in the Element Toolbox within Studio’s Cloud tab.
Properties
The following properties can be changed for the cloud storage element:
Name
The name of the element.
Triggers
The following triggers are available to execute events from within the cloud storage element:
Triggered
Execute an event when the source element connected to the Device Event triggers.
Data Added
Execute an event when data is added to the cloud storage.
Data Updated
Execute an event when data in the cloud storage is updated.
Data Quiried
Execute an event when data is quiried from the database to the cloud storage.
Data Removed
Execute an event when data is removed from the cloud storage.
Abilities
The following abilities are available for the cloud storage element when its source element triggers:
Trigger
Trigger the element(s) that follow the cloud storage element.
Add Data
Add data to the cloud storage.
Add Data Arguments | ||
---|---|---|
Name | Type | Description |
Value | Object | Value of the data being stored. By default, this is the name of the dataset sent to the cloud storage element. This name can be changed with JavaScript, such as: {"Humidity":value} |
Update Data
Update the existing data in the cloud storage.
Query Data
Query data from the cloud storage.
Remove Data
Remove the data from the cloud storage.