// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "./types";
import * as utilities from "./utilities";

export function doFoo(args: DoFooArgs, opts?: pulumi.InvokeOptions): Promise<void> {
    if (!opts) {
        opts = {}
    }

    if (!opts.version) {
        opts.version = utilities.getVersion();
    }
    return pulumi.runtime.invoke("example::doFoo", {
        "foo": args.foo,
    }, opts);
}

export interface DoFooArgs {
    foo: inputs.Foo;
}
