"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.getDomainUnitOutput = exports.getDomainUnit = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * A domain unit enables you to easily organize your assets and other domain entities under specific business units and teams.
 */
function getDomainUnit(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:datazone:getDomainUnit", {
        "domainId": args.domainId,
        "id": args.id,
    }, opts);
}
exports.getDomainUnit = getDomainUnit;
/**
 * A domain unit enables you to easily organize your assets and other domain entities under specific business units and teams.
 */
function getDomainUnitOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:datazone:getDomainUnit", {
        "domainId": args.domainId,
        "id": args.id,
    }, opts);
}
exports.getDomainUnitOutput = getDomainUnitOutput;
//# sourceMappingURL=getDomainUnit.js.map