"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getScheduledQueryOutput = exports.getScheduledQuery = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * 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.
 */
function getScheduledQuery(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:logs:getScheduledQuery", {
        "scheduledQueryArn": args.scheduledQueryArn,
    }, opts);
}
exports.getScheduledQuery = getScheduledQuery;
/**
 * 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.
 */
function getScheduledQueryOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:logs:getScheduledQuery", {
        "scheduledQueryArn": args.scheduledQueryArn,
    }, opts);
}
exports.getScheduledQueryOutput = getScheduledQueryOutput;
//# sourceMappingURL=getScheduledQuery.js.map