Module Values.ScheduledQueryDescriptionSource

Structure that describes scheduled query.

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

    Scheduled query ARN.

    *)
  2. name : ScheduledQueryName.t option;
    (*

    Name of the scheduled query.

    *)
  3. queryString : QueryString.t option;
    (*

    The query to be run.

    *)
  4. creationTime : Time.t option;
    (*

    Creation time of the scheduled query.

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

    State of the scheduled query.

    *)
  6. previousInvocationTime : Time.t option;
    (*

    Last time the query was run.

    *)
  7. nextInvocationTime : Time.t option;
    (*

    The next time the scheduled query is scheduled to run.

    *)
  8. scheduleConfiguration : ScheduleConfiguration.t option;
    (*

    Schedule configuration.

    *)
  9. notificationConfiguration : NotificationConfiguration.t option;
    (*

    Notification configuration.

    *)
  10. targetConfiguration : TargetConfiguration.t option;
    (*

    Scheduled query target store configuration.

    *)
  11. scheduledQueryExecutionRoleArn : AmazonResourceName.t option;
    (*

    IAM role that Timestream uses to run the schedule query.

    *)
  12. kmsKeyId : StringValue2048.t option;
    (*

    A customer provided KMS key used to encrypt the scheduled query resource.

    *)
  13. errorReportConfiguration : ErrorReportConfiguration.t option;
    (*

    Error-reporting configuration for the scheduled query.

    *)
  14. lastRunSummary : ScheduledQueryRunSummary.t option;
    (*

    Runtime summary for the last scheduled query run.

    *)
  15. recentlyFailedRuns : ScheduledQueryRunSummaryList.t option;
    (*

    Runtime summary for the last five failed scheduled query runs.

    *)
}
Sourceval make : ?arn:??? -> ?name:??? -> ?queryString:??? -> ?creationTime:??? -> ?state:??? -> ?previousInvocationTime:??? -> ?nextInvocationTime:??? -> ?scheduleConfiguration:??? -> ?notificationConfiguration:??? -> ?targetConfiguration:??? -> ?scheduledQueryExecutionRoleArn:??? -> ?kmsKeyId:??? -> ?errorReportConfiguration:??? -> ?lastRunSummary:??? -> ?recentlyFailedRuns:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of ErrorMessage.t | `Structure of (string * [> `Long of Long.t | `Structure of (string * [> `String of S3BucketName.t | `Structure of (string * [> `Double of Double.t | `List of [> `String of PartitionKey.t ] list | `Long of Long.t | `String of AmazonResourceName.t ]) list ]) list ]) list | `Timestamp of Time.t ]) list ] list | `String of AmazonResourceName.t | `Structure of (string * [> `Enum of string | `String of ScheduleExpression.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of SchemaName.t ]) list ] list | `String of SchemaName.t ]) list ] list | `Long of Long.t | `String of AmazonResourceName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of SchemaName.t ]) list ] list | `String of SchemaName.t | `Structure of (string * [> `Double of Double.t | `List of [> `String of PartitionKey.t ] list | `Long of Long.t | `String of AmazonResourceName.t ]) list ]) list ]) list | `Timestamp of Time.t ]) 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