"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! ***
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Table = exports.ScheduledQuery = exports.InfluxDbInstance = exports.InfluxDbCluster = exports.getTableOutput = exports.getTable = exports.getScheduledQueryOutput = exports.getScheduledQuery = exports.getInfluxDbInstanceOutput = exports.getInfluxDbInstance = exports.getInfluxDbClusterOutput = exports.getInfluxDbCluster = exports.getDatabaseOutput = exports.getDatabase = exports.Database = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Database = null;
utilities.lazyLoad(exports, ["Database"], () => require("./database"));
exports.getDatabase = null;
exports.getDatabaseOutput = null;
utilities.lazyLoad(exports, ["getDatabase", "getDatabaseOutput"], () => require("./getDatabase"));
exports.getInfluxDbCluster = null;
exports.getInfluxDbClusterOutput = null;
utilities.lazyLoad(exports, ["getInfluxDbCluster", "getInfluxDbClusterOutput"], () => require("./getInfluxDbCluster"));
exports.getInfluxDbInstance = null;
exports.getInfluxDbInstanceOutput = null;
utilities.lazyLoad(exports, ["getInfluxDbInstance", "getInfluxDbInstanceOutput"], () => require("./getInfluxDbInstance"));
exports.getScheduledQuery = null;
exports.getScheduledQueryOutput = null;
utilities.lazyLoad(exports, ["getScheduledQuery", "getScheduledQueryOutput"], () => require("./getScheduledQuery"));
exports.getTable = null;
exports.getTableOutput = null;
utilities.lazyLoad(exports, ["getTable", "getTableOutput"], () => require("./getTable"));
exports.InfluxDbCluster = null;
utilities.lazyLoad(exports, ["InfluxDbCluster"], () => require("./influxDbCluster"));
exports.InfluxDbInstance = null;
utilities.lazyLoad(exports, ["InfluxDbInstance"], () => require("./influxDbInstance"));
exports.ScheduledQuery = null;
utilities.lazyLoad(exports, ["ScheduledQuery"], () => require("./scheduledQuery"));
exports.Table = null;
utilities.lazyLoad(exports, ["Table"], () => require("./table"));
// Export enums:
__exportStar(require("../types/enums/timestream"), exports);
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "aws-native:timestream:Database":
                return new exports.Database(name, undefined, { urn });
            case "aws-native:timestream:InfluxDbCluster":
                return new exports.InfluxDbCluster(name, undefined, { urn });
            case "aws-native:timestream:InfluxDbInstance":
                return new exports.InfluxDbInstance(name, undefined, { urn });
            case "aws-native:timestream:ScheduledQuery":
                return new exports.ScheduledQuery(name, undefined, { urn });
            case "aws-native:timestream:Table":
                return new exports.Table(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("aws-native", "timestream", _module);
//# sourceMappingURL=index.js.map