"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.getTermsOutput = exports.getTerms = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for AWS::Cognito::Terms
 */
function getTerms(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:cognito:getTerms", {
        "termsId": args.termsId,
        "userPoolId": args.userPoolId,
    }, opts);
}
exports.getTerms = getTerms;
/**
 * Resource Type definition for AWS::Cognito::Terms
 */
function getTermsOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:cognito:getTerms", {
        "termsId": args.termsId,
        "userPoolId": args.userPoolId,
    }, opts);
}
exports.getTermsOutput = getTermsOutput;
//# sourceMappingURL=getTerms.js.map