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