import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Creates a new Scheduled Query that allows you to define a Logs Insights query that will run on a schedule and configure actions to take with the query results. */ export declare function getScheduledQuery(args: GetScheduledQueryArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetScheduledQueryArgs { scheduledQueryArn: string; } export interface GetScheduledQueryResult { readonly creationTime?: number; readonly description?: string; readonly destinationConfiguration?: outputs.logs.ScheduledQueryDestinationConfiguration; readonly executionRoleArn?: string; readonly lastExecutionStatus?: enums.logs.ScheduledQueryLastExecutionStatus; readonly lastTriggeredTime?: number; readonly lastUpdatedTime?: number; readonly logGroupIdentifiers?: string[]; readonly queryLanguage?: string; readonly queryString?: string; readonly scheduleEndTime?: number; readonly scheduleExpression?: string; readonly scheduleStartTime?: number; readonly scheduledQueryArn?: string; readonly startTimeOffset?: number; readonly state?: enums.logs.ScheduledQueryState; readonly tags?: outputs.Tag[]; readonly timezone?: string; } /** * Creates a new Scheduled Query that allows you to define a Logs Insights query that will run on a schedule and configure actions to take with the query results. */ export declare function getScheduledQueryOutput(args: GetScheduledQueryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetScheduledQueryOutputArgs { scheduledQueryArn: pulumi.Input; }