

Para obtener capacidades similares a las de Amazon Timestream, considere Amazon Timestream LiveAnalytics para InfluxDB. Ofrece una ingesta de datos simplificada y tiempos de respuesta a las consultas en milisegundos de un solo dígito para realizar análisis en tiempo real. Obtenga más información [aquí](https://docs.aws.amazon.com//timestream/latest/developerguide/timestream-for-influxdb.html).

Las traducciones son generadas a través de traducción automática. En caso de conflicto entre la traducción y la version original de inglés, prevalecerá la version en inglés.

# Mensajes de notificación de consultas programadas
<a name="scheduledqueries-notification"></a>

En esta sección se describen los mensajes que envía Timestream LiveAnalytics al crear, eliminar, ejecutar o actualizar el estado de una consulta programada. 


| Nombre del mensaje de notificación | Estructura | Description (Descripción) | 
| --- | --- | --- | 
|  CreatingNotificationMessage  |  <pre>CreatingNotificationMessage {<br />    String arn;<br />    NotificationType type;<br />}</pre>  |  Este mensaje de notificación se envía antes de enviar la respuesta para `CreateScheduledQuery`. La consulta programada se habilita después de enviar esta notificación.  *ARN*: el ARN de la consulta programada que se está creando. *tipo*: SCHEDULED\$1QUERY\$1CREATING  | 
|  UpdateNotificationMessage  |  <pre> UpdateNotificationMessage {<br />    String arn;<br />    NotificationType type;<br />    QueryState state;<br />}</pre>  |  Este mensaje de notificación se envía cuando se actualiza una consulta programada. Timestream for LiveAnalytics puede deshabilitar la consulta programada automáticamente en caso de que se produzca un error irrecuperable, como: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/es_es/timestream/latest/developerguide/scheduledqueries-notification.html) *arn*: el ARN de la consulta programada que se está actualizando. *type*: SCHEDULED\$1QUERY\$1UPDATE *state*: ACTIVADO o DESACTIVADO  | 
|  DeleteNotificationMessage  |  <pre>DeletionNotificationMessage {<br />    String arn;<br />    NotificationType type;<br />}</pre>  |  Este mensaje de notificación se envía tras haber eliminado una consulta programada.  *arn*: el ARN de la consulta programada que se está creando. *type*: SCHEDULED\$1QUERY\$1DELETED  | 
|  SuccessNotificationMessage  |  <pre>SuccessNotificationMessage {<br />    NotificationType type;<br />    String arn;<br />    Date nextInvocationEpochSecond;<br />    ScheduledQueryRunSummary runSummary;<br />}<br /><br />ScheduledQueryRunSummary {<br />    Date invocationTime;<br />    Date triggerTime;<br />    String runStatus;<br />    ExecutionStats executionstats;<br />    ErrorReportLocation errorReportLocation;<br />    String failureReason;<br />}<br /><br /><br />ExecutionStats {<br />    Long bytesMetered;<br />    Long dataWrites;<br />    Long queryResultRows;<br />    Long recordsIngested;<br />    Long executionTimeInMillis;<br />}<br /><br /><br />ErrorReportLocation {<br />    S3ReportLocation s3ReportLocation;<br />}<br /><br /><br />S3ReportLocation {<br />    String bucketName;<br />    String objectKey;<br />}</pre>  |  Este mensaje de notificación se envía una vez ejecutada la consulta programada y después de que los resultados se hayan ingerido correctamente.  *ARN*: el ARN de la consulta programada que se eliminará. *NotificationType*- AUTO\$1TRIGGER\$1SUCCESS o MANUAL\$1TRIGGER\$1SUCCESS. *nextInvocationEpochSegundo: la* próxima vez que Timestream for ejecute la consulta programada. LiveAnalytics *runSummary*: información sobre la ejecución de la consulta programada.  | 
|  FailureNotificationMessage  |  <pre>FailureNotificationMessage {<br />    NotificationType type;<br />    String arn;<br />    ScheduledQueryRunSummary runSummary;<br />}<br /><br />ScheduledQueryRunSummary {<br />    Date invocationTime;<br />    Date triggerTime;<br />    String runStatus;<br />    ExecutionStats executionstats;<br />    ErrorReportLocation errorReportLocation;<br />    String failureReason;<br />}<br /><br /><br />ExecutionStats {<br />    Long bytesMetered;<br />    Long dataWrites;<br />    Long queryResultRows;<br />    Long recordsIngested;<br />    Long executionTimeInMillis;<br />}<br /><br /><br />ErrorReportLocation {<br />    S3ReportLocation s3ReportLocation;<br />}<br /><br /><br />S3ReportLocation {<br />    String bucketName;<br />    String objectKey;<br />}</pre>  |  Este mensaje de notificación se envía cuando se detecta un error durante la ejecución de una consulta programada o al ingerir los resultados de la consulta.  *arn*: el ARN de la consulta programada que se está ejecutando. *type*: AUTO\$1TRIGGER\$1FAILURE o MANUAL\$1TRIGGER\$1FAILURE. *runSummary*: información sobre la ejecución de la consulta programada.  | 