"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.macVerificationsOutput = exports.macVerifications = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of kms mac verifications
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const mac = volcengine.kms.getMacs({
 *     keyId: "68093dd1-d1a9-44ce-832a****-5a88c4bc31ab",
 *     macAlgorithm: "HMAC_SHA_256",
 *     message: "VGhpcyBpcyBhIHRlc3QgTWVzc2FnZS4=",
 * });
 * const verify = volcengine.kms.getMacVerifications({
 *     keyId: "68093dd1-d1a9-44ce-****-5a88c4bc31ab",
 *     mac: "Vm0D9fk6uDRZD6k9QZE9+d9gpgy6ESSPt0bfaA2p05w=",
 *     macAlgorithm: "HMAC_SHA_256",
 *     message: "VGhpcyBpcyBhIHRlc3QgTWVzc2FnZS4=",
 * });
 * ```
 */
/** @deprecated volcengine.kms.MacVerifications has been deprecated in favor of volcengine.kms.getMacVerifications */
function macVerifications(args, opts) {
    pulumi.log.warn("macVerifications is deprecated: volcengine.kms.MacVerifications has been deprecated in favor of volcengine.kms.getMacVerifications");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:kms/macVerifications:MacVerifications", {
        "keyId": args.keyId,
        "keyName": args.keyName,
        "keyringName": args.keyringName,
        "mac": args.mac,
        "macAlgorithm": args.macAlgorithm,
        "message": args.message,
        "outputFile": args.outputFile,
    }, opts);
}
exports.macVerifications = macVerifications;
/**
 * Use this data source to query detailed information of kms mac verifications
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const mac = volcengine.kms.getMacs({
 *     keyId: "68093dd1-d1a9-44ce-832a****-5a88c4bc31ab",
 *     macAlgorithm: "HMAC_SHA_256",
 *     message: "VGhpcyBpcyBhIHRlc3QgTWVzc2FnZS4=",
 * });
 * const verify = volcengine.kms.getMacVerifications({
 *     keyId: "68093dd1-d1a9-44ce-****-5a88c4bc31ab",
 *     mac: "Vm0D9fk6uDRZD6k9QZE9+d9gpgy6ESSPt0bfaA2p05w=",
 *     macAlgorithm: "HMAC_SHA_256",
 *     message: "VGhpcyBpcyBhIHRlc3QgTWVzc2FnZS4=",
 * });
 * ```
 */
/** @deprecated volcengine.kms.MacVerifications has been deprecated in favor of volcengine.kms.getMacVerifications */
function macVerificationsOutput(args, opts) {
    return pulumi.output(args).apply((a) => macVerifications(a, opts));
}
exports.macVerificationsOutput = macVerificationsOutput;
//# sourceMappingURL=macVerifications.js.map