Module Values.UpdateScheduledQueryRequestSource

Updates an existing scheduled query with new configuration. This operation uses PUT semantics, allowing modification of query parameters, schedule, and destinations.

Sourcetype nonrec t = {
  1. identifier : ScheduledQueryIdentifier.t;
    (*

    The ARN or name of the scheduled query to update.

    *)
  2. description : ScheduledQueryDescription.t option;
    (*

    An updated description for the scheduled query.

    *)
  3. queryLanguage : QueryLanguage.t;
    (*

    The updated query language for the scheduled query.

    *)
  4. queryString : QueryString.t;
    (*

    The updated query string to execute.

    *)
  5. logGroupIdentifiers : ScheduledQueryLogGroupIdentifiers.t option;
    (*

    The updated array of log group names or ARNs to query.

    *)
  6. scheduleExpression : ScheduleExpression.t;
    (*

    The updated cron expression that defines when the scheduled query runs.

    *)
  7. timezone : ScheduleTimezone.t option;
    (*

    The updated timezone for evaluating the schedule expression.

    *)
  8. startTimeOffset : StartTimeOffset.t option;
    (*

    The updated time offset in seconds that defines the lookback period for the query.

    *)
  9. destinationConfiguration : DestinationConfiguration.t option;
    (*

    The updated configuration for where to deliver query results.

    *)
  10. scheduleStartTime : Timestamp.t option;
    (*

    The updated start time for the scheduled query in Unix epoch format.

    *)
  11. scheduleEndTime : Timestamp.t option;
    (*

    The updated end time for the scheduled query in Unix epoch format.

    *)
  12. executionRoleArn : RoleArn.t;
    (*

    The updated ARN of the IAM role that grants permissions to execute the query and deliver results.

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

    The updated state of the scheduled query.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?logGroupIdentifiers:??? -> ?timezone:??? -> ?startTimeOffset:??? -> ?destinationConfiguration:??? -> ?scheduleStartTime:??? -> ?scheduleEndTime:??? -> ?state:??? -> identifier:ScheduledQueryIdentifier.t -> queryLanguage:QueryLanguage.t -> queryString:QueryString.t -> scheduleExpression:ScheduleExpression.t -> executionRoleArn:RoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of LogGroupIdentifier.t ] list | `Long of StartTimeOffset.t | `String of ScheduledQueryIdentifier.t | `Structure of (string * [> `Structure of (string * [> `String of S3Uri.t ]) list ]) list ]) 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