"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.getIntegrationOutput = exports.getIntegration = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for AWS::ApiGatewayV2::Integration
 */
function getIntegration(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:apigatewayv2:getIntegration", {
        "apiId": args.apiId,
        "integrationId": args.integrationId,
    }, opts);
}
exports.getIntegration = getIntegration;
/**
 * Resource Type definition for AWS::ApiGatewayV2::Integration
 */
function getIntegrationOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:apigatewayv2:getIntegration", {
        "apiId": args.apiId,
        "integrationId": args.integrationId,
    }, opts);
}
exports.getIntegrationOutput = getIntegrationOutput;
//# sourceMappingURL=getIntegration.js.map