"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.getOAuth2CredentialProviderOutput = exports.getOAuth2CredentialProvider = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for AWS::BedrockAgentCore::OAuth2CredentialProvider
 */
function getOAuth2CredentialProvider(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:bedrockagentcore:getOAuth2CredentialProvider", {
        "credentialProviderArn": args.credentialProviderArn,
    }, opts);
}
exports.getOAuth2CredentialProvider = getOAuth2CredentialProvider;
/**
 * Resource Type definition for AWS::BedrockAgentCore::OAuth2CredentialProvider
 */
function getOAuth2CredentialProviderOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:bedrockagentcore:getOAuth2CredentialProvider", {
        "credentialProviderArn": args.credentialProviderArn,
    }, opts);
}
exports.getOAuth2CredentialProviderOutput = getOAuth2CredentialProviderOutput;
//# sourceMappingURL=getOAuth2CredentialProvider.js.map