View Source AWS.IoTEvents (aws-elixir v1.0.4)
AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur.
You can use AWS IoT Events API operations to create, read, update, and delete inputs and detector models, and to list their versions.
Link to this section Summary
Functions
Creates an alarm model to monitor an AWS IoT Events input attribute.
Creates a detector model.
Creates an input.
Deletes an alarm model.
Deletes a detector model.
Deletes an input.
Retrieves information about an alarm model.
Describes a detector model.
Retrieves runtime information about a detector model analysis.
Describes an input.
Retrieves the current settings of the AWS IoT Events logging options.
Retrieves one or more analysis results of the detector model.
Lists all the versions of an alarm model.
Lists the alarm models that you created.
Lists all the versions of a detector model.
Lists the detector models you have created.
Lists one or more input routings.
Lists the inputs you have created.
Lists the tags (metadata) you have assigned to the resource.
Sets or updates the AWS IoT Events logging options.
Performs an analysis of your detector model.
Adds to or modifies the tags of the given resource.
Removes the given tags (metadata) from the resource.
Updates an alarm model.
Updates a detector model.
Updates an input.
Link to this section Functions
Creates an alarm model to monitor an AWS IoT Events input attribute.
You can use the alarm to get notified when the value is outside a specified range. For more information, see Create an alarm model in the AWS IoT Events Developer Guide.
Creates a detector model.
Creates an input.
delete_alarm_model(client, alarm_model_name, input, options \\ [])
View SourceDeletes an alarm model.
Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
delete_detector_model(client, detector_model_name, input, options \\ [])
View SourceDeletes a detector model.
Any active instances of the detector model are also deleted.
Deletes an input.
describe_alarm_model(client, alarm_model_name, alarm_model_version \\ nil, options \\ [])
View SourceRetrieves information about an alarm model.
If you don't specify a value for the
alarmModelVersion
parameter, the latest version is returned.
describe_detector_model(client, detector_model_name, detector_model_version \\ nil, options \\ [])
View SourceDescribes a detector model.
If the version
parameter is not specified,
information about the latest version is returned.
describe_detector_model_analysis(client, analysis_id, options \\ [])
View SourceRetrieves runtime information about a detector model analysis.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
Describes an input.
Retrieves the current settings of the AWS IoT Events logging options.
get_detector_model_analysis_results(client, analysis_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceRetrieves one or more analysis results of the detector model.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
list_alarm_model_versions(client, alarm_model_name, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists all the versions of an alarm model.
The operation returns only the metadata associated with each alarm model version.
list_alarm_models(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the alarm models that you created.
The operation returns only the metadata associated with each alarm model.
list_detector_model_versions(client, detector_model_name, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists all the versions of a detector model.
Only the metadata associated with each detector model version is returned.
list_detector_models(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the detector models you have created.
Only the metadata associated with each detector model is returned.
Lists one or more input routings.
list_inputs(client, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists the inputs you have created.
Lists the tags (metadata) you have assigned to the resource.
Sets or updates the AWS IoT Events logging options.
If you update the value of any loggingOptions
field, it takes up to one
minute for the change to take effect. If you change the policy attached to the
role you
specified in the roleArn
field (for example, to correct an invalid policy), it
takes up to five minutes for that change to take effect.
Performs an analysis of your detector model.
For more information, see Troubleshooting a detector model in the AWS IoT Events Developer Guide.
Adds to or modifies the tags of the given resource.
Tags are metadata that can be used to manage a resource.
Removes the given tags (metadata) from the resource.
update_alarm_model(client, alarm_model_name, input, options \\ [])
View SourceUpdates an alarm model.
Any alarms that were created based on the previous version are deleted and then created again as new data arrives.
update_detector_model(client, detector_model_name, input, options \\ [])
View SourceUpdates a detector model.
Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
Updates an input.