Scheduled query notification messages
This section describes the messages sent by Timestream for LiveAnalytics when creating, deleting, running, or updating the state of a scheduled query.
Notification message name | Structure | Description |
---|---|---|
CreatingNotificationMessage |
|
This notification message is sent before sending the response for
arn - The ARN of the scheduled query that is being created. type - SCHEDULED_QUERY_CREATING |
UpdateNotificationMessage |
|
This notification message is sent when a scheduled query is updated. Timestream for LiveAnalytics can disable the scheduled query, automatically, in case non-recoverable error is encountered, such as:
arn - The ARN of the scheduled query that is being updated. type - SCHEDULED_QUERY_UPDATE state - ENABLED or DISABLED |
DeleteNotificationMessage |
|
This notification message is sent when a scheduled query has been deleted. arn - The ARN of the scheduled query that is being created. type - SCHEDULED_QUERY_DELETED |
SuccessNotificationMessage |
|
This notification message is sent after the scheduled query is run and the results are successfully ingested. ARN - The ARN of the scheduled query that is being deleted. NotificationType - AUTO_TRIGGER_SUCCESS or MANUAL_TRIGGER_SUCCESS. nextInvocationEpochSecond - The next time Timestream for LiveAnalytics will run the scheduled query. runSummary - Information about the scheduled query run. |
FailureNotificationMessage |
|
This notification message is sent when a failure is encountered during a scheduled query run or when ingesting the query results. arn - The ARN of the scheduled query that is being run. type - AUTO_TRIGGER_FAILURE or MANUAL_TRIGGER_FAILURE. runSummary - Information about the scheduled query run. |