Module Values.ExecuteScheduledQueryRequestSource

You can use this API to run a scheduled query manually. If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed as part of an Amazon SNS notification. QueryInsights helps with performance tuning of your query. For more information about QueryInsights, see Using query insights to optimize queries in Amazon Timestream.

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

    ARN of the scheduled query.

    *)
  2. invocationTime : Time.t;
    (*

    The timestamp in UTC. Query will be run as if it was invoked at this timestamp.

    *)
  3. clientToken : ClientToken.t option;
    (*

    Not used.

    *)
  4. queryInsights : ScheduledQueryInsights.t option;
    (*

    Encapsulates settings for enabling QueryInsights. Enabling QueryInsights returns insights and metrics as a part of the Amazon SNS notification for the query that you executed. You can use QueryInsights to tune your query performance and cost.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?queryInsights:??? -> scheduledQueryArn:AmazonResourceName.t -> invocationTime:Time.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AmazonResourceName.t | `Structure of (string * [> `Enum of string ]) list | `Timestamp of Time.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