Module Values.CreateScheduledQueryResponseSource

Creates a scheduled query that runs CloudWatch Logs Insights queries at regular intervals. Scheduled queries enable proactive monitoring by automatically executing queries to detect patterns and anomalies in your log data. Query results can be delivered to Amazon S3 for analysis or further processing.

Sourcetype nonrec t = {
  1. scheduledQueryArn : Arn.t option;
    (*

    The ARN of the created scheduled query.

    *)
  2. state : ScheduledQueryState.t option;
    (*

    The current state of the scheduled query.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?scheduledQueryArn:??? -> ?state:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `ConflictException of unit | `InternalServerException of unit | `ResourceNotFoundException of unit | `ServiceQuotaExceededException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of unit | `ConflictException of unit | `InternalServerException of unit | `ResourceNotFoundException of unit | `ServiceQuotaExceededException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Arn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t