"use strict";
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DsPermissions = exports.Database = exports.DataLocation = exports.TableWithColumns = exports.LfTagPolicy = exports.Expression = exports.LfTag = exports.Table = void 0;
const core = __importStar(require("@terrascript/core"));
class Table extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Table.prototype, "catalogId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Table.prototype, "databaseName", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Table.prototype, "name", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Table.prototype, "wildcard", void 0);
exports.Table = Table;
class LfTag extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LfTag.prototype, "catalogId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LfTag.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], LfTag.prototype, "values", void 0);
exports.LfTag = LfTag;
class Expression extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Expression.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Expression.prototype, "values", void 0);
exports.Expression = Expression;
class LfTagPolicy extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LfTagPolicy.prototype, "catalogId", void 0);
__decorate([
    core.attr(Expression, { kind: "array" }),
    __metadata("design:type", Object)
], LfTagPolicy.prototype, "expression", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LfTagPolicy.prototype, "resourceType", void 0);
exports.LfTagPolicy = LfTagPolicy;
class TableWithColumns extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TableWithColumns.prototype, "catalogId", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], TableWithColumns.prototype, "columnNames", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TableWithColumns.prototype, "databaseName", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], TableWithColumns.prototype, "excludedColumnNames", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], TableWithColumns.prototype, "name", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], TableWithColumns.prototype, "wildcard", void 0);
exports.TableWithColumns = TableWithColumns;
class DataLocation extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DataLocation.prototype, "arn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DataLocation.prototype, "catalogId", void 0);
exports.DataLocation = DataLocation;
class Database extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Database.prototype, "catalogId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Database.prototype, "name", void 0);
exports.Database = Database;
class DsPermissions extends core.Data {
    constructor(name, args) {
        super(name, "aws_lakeformation_permissions", args);
    }
    getNamespace() {
        return "aws_lakeformation";
    }
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsPermissions.prototype, "catalogId", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], DsPermissions.prototype, "catalogResource", void 0);
__decorate([
    core.attr(DataLocation, { computed: true }),
    __metadata("design:type", DataLocation)
], DsPermissions.prototype, "dataLocation", void 0);
__decorate([
    core.attr(Database, { computed: true }),
    __metadata("design:type", Database)
], DsPermissions.prototype, "database", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsPermissions.prototype, "id", void 0);
__decorate([
    core.attr(LfTag, { computed: true }),
    __metadata("design:type", LfTag)
], DsPermissions.prototype, "lfTag", void 0);
__decorate([
    core.attr(LfTagPolicy, { computed: true }),
    __metadata("design:type", LfTagPolicy)
], DsPermissions.prototype, "lfTagPolicy", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsPermissions.prototype, "permissions", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsPermissions.prototype, "permissionsWithGrantOption", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsPermissions.prototype, "principal", void 0);
__decorate([
    core.attr(Table, { computed: true }),
    __metadata("design:type", Table)
], DsPermissions.prototype, "table", void 0);
__decorate([
    core.attr(TableWithColumns, { computed: true }),
    __metadata("design:type", TableWithColumns)
], DsPermissions.prototype, "tableWithColumns", void 0);
exports.DsPermissions = DsPermissions;
//# sourceMappingURL=ds_permissions.js.map