Module Values.GetScheduledQueryResponseSource

Retrieves details about a specific scheduled query, including its configuration, execution status, and metadata.

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

    The ARN of the scheduled query.

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

    The name of the scheduled query.

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

    The description of the scheduled query.

    *)
  4. queryLanguage : QueryLanguage.t option;
    (*

    The query language used by the scheduled query.

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

    The query string executed by the scheduled query.

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

    The log groups queried by the scheduled query.

    *)
  7. scheduleExpression : ScheduleExpression.t option;
    (*

    The cron expression that defines when the scheduled query runs.

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

    The timezone used for evaluating the schedule expression.

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

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

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

    Configuration for where query results are delivered.

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

    The current state of the scheduled query.

    *)
  12. lastTriggeredTime : Timestamp.t option;
    (*

    The timestamp when the scheduled query was last executed.

    *)
  13. lastExecutionStatus : ExecutionStatus.t option;
    (*

    The status of the most recent execution of the scheduled query.

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

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

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

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

    *)
  16. executionRoleArn : RoleArn.t option;
    (*

    The ARN of the IAM role used to execute the query and deliver results.

    *)
  17. creationTime : Timestamp.t option;
    (*

    The timestamp when the scheduled query was created.

    *)
  18. lastUpdatedTime : Timestamp.t option;
    (*

    The timestamp when the scheduled query was last updated.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?scheduledQueryArn:??? -> ?name:??? -> ?description:??? -> ?queryLanguage:??? -> ?queryString:??? -> ?logGroupIdentifiers:??? -> ?scheduleExpression:??? -> ?timezone:??? -> ?startTimeOffset:??? -> ?destinationConfiguration:??? -> ?state:??? -> ?lastTriggeredTime:??? -> ?lastExecutionStatus:??? -> ?scheduleStartTime:??? -> ?scheduleEndTime:??? -> ?executionRoleArn:??? -> ?creationTime:??? -> ?lastUpdatedTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `InternalServerException of unit | `ResourceNotFoundException 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 | `InternalServerException of unit | `ResourceNotFoundException 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 | `List of [> `String of LogGroupIdentifier.t ] list | `Long of StartTimeOffset.t | `String of Arn.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