Values.ExecuteScheduledQueryRequestSourceYou 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.
type nonrec t = {scheduledQueryArn : AmazonResourceName.t;ARN of the scheduled query.
*)invocationTime : Time.t;The timestamp in UTC. Query will be run as if it was invoked at this timestamp.
*)clientToken : ClientToken.t option;Not used.
*)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.
*)}val make :
?clientToken:??? ->
?queryInsights:??? ->
scheduledQueryArn:AmazonResourceName.t ->
invocationTime:Time.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of AmazonResourceName.t
| `Structure of (string * [> `Enum of string ]) list
| `Timestamp of Time.t ])
list ]