"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInvocationResultsOutput = exports.getInvocationResults = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of ecs invocation results
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.ecs.getInvocationResults({
 *     invocationId: "ivk-ych9y4vujvl8j01c****",
 *     invocationResultStatuses: ["Success"],
 * });
 * ```
 */
function getInvocationResults(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:ecs/getInvocationResults:getInvocationResults", {
        "commandId": args.commandId,
        "instanceId": args.instanceId,
        "invocationId": args.invocationId,
        "invocationResultStatuses": args.invocationResultStatuses,
        "outputFile": args.outputFile,
    }, opts);
}
exports.getInvocationResults = getInvocationResults;
/**
 * Use this data source to query detailed information of ecs invocation results
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.ecs.getInvocationResults({
 *     invocationId: "ivk-ych9y4vujvl8j01c****",
 *     invocationResultStatuses: ["Success"],
 * });
 * ```
 */
function getInvocationResultsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getInvocationResults(a, opts));
}
exports.getInvocationResultsOutput = getInvocationResultsOutput;
//# sourceMappingURL=getInvocationResults.js.map