"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.getOrganizationTelemetryRuleOutput = exports.getOrganizationTelemetryRule = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * The AWS::ObservabilityAdmin::OrganizationTelemetryRule resource defines a CloudWatch Observability Admin Organization Telemetry Rule.
 */
function getOrganizationTelemetryRule(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:observabilityadmin:getOrganizationTelemetryRule", {
        "ruleArn": args.ruleArn,
    }, opts);
}
exports.getOrganizationTelemetryRule = getOrganizationTelemetryRule;
/**
 * The AWS::ObservabilityAdmin::OrganizationTelemetryRule resource defines a CloudWatch Observability Admin Organization Telemetry Rule.
 */
function getOrganizationTelemetryRuleOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:observabilityadmin:getOrganizationTelemetryRule", {
        "ruleArn": args.ruleArn,
    }, opts);
}
exports.getOrganizationTelemetryRuleOutput = getOrganizationTelemetryRuleOutput;
//# sourceMappingURL=getOrganizationTelemetryRule.js.map