"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.getBasePathMappingOutput = exports.getBasePathMapping = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * The ``AWS::ApiGateway::BasePathMapping`` resource creates a base path that clients who call your API must use in the invocation URL. Supported only for public custom domain names.
 */
function getBasePathMapping(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:apigateway:getBasePathMapping", {
        "basePath": args.basePath,
        "domainName": args.domainName,
    }, opts);
}
exports.getBasePathMapping = getBasePathMapping;
/**
 * The ``AWS::ApiGateway::BasePathMapping`` resource creates a base path that clients who call your API must use in the invocation URL. Supported only for public custom domain names.
 */
function getBasePathMappingOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:apigateway:getBasePathMapping", {
        "basePath": args.basePath,
        "domainName": args.domainName,
    }, opts);
}
exports.getBasePathMappingOutput = getBasePathMappingOutput;
//# sourceMappingURL=getBasePathMapping.js.map