"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.DsIndex = exports.IndexStatistics = exports.TextDocumentStatistics = exports.FaqStatistics = exports.UserGroupResolutionConfiguration = exports.ServerSideEncryptionConfiguration = exports.DocumentMetadataConfigurationUpdates = exports.Search = exports.Relevance = exports.CapacityUnits = exports.UserTokenConfigurations = exports.JwtTokenTypeConfiguration = exports.JsonTokenTypeConfiguration = void 0;
const core = __importStar(require("@terrascript/core"));
class JsonTokenTypeConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JsonTokenTypeConfiguration.prototype, "groupAttributeField", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JsonTokenTypeConfiguration.prototype, "userNameAttributeField", void 0);
exports.JsonTokenTypeConfiguration = JsonTokenTypeConfiguration;
class JwtTokenTypeConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JwtTokenTypeConfiguration.prototype, "claimRegex", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JwtTokenTypeConfiguration.prototype, "groupAttributeField", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JwtTokenTypeConfiguration.prototype, "issuer", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JwtTokenTypeConfiguration.prototype, "keyLocation", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JwtTokenTypeConfiguration.prototype, "secretsManagerArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JwtTokenTypeConfiguration.prototype, "url", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], JwtTokenTypeConfiguration.prototype, "userNameAttributeField", void 0);
exports.JwtTokenTypeConfiguration = JwtTokenTypeConfiguration;
class UserTokenConfigurations extends core.Schema {
}
__decorate([
    core.attr(JsonTokenTypeConfiguration, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], UserTokenConfigurations.prototype, "jsonTokenTypeConfiguration", void 0);
__decorate([
    core.attr(JwtTokenTypeConfiguration, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], UserTokenConfigurations.prototype, "jwtTokenTypeConfiguration", void 0);
exports.UserTokenConfigurations = UserTokenConfigurations;
class CapacityUnits extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], CapacityUnits.prototype, "queryCapacityUnits", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], CapacityUnits.prototype, "storageCapacityUnits", void 0);
exports.CapacityUnits = CapacityUnits;
class Relevance extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Relevance.prototype, "duration", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], Relevance.prototype, "freshness", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Relevance.prototype, "importance", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Relevance.prototype, "rankOrder", void 0);
__decorate([
    core.attr(Number, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], Relevance.prototype, "valuesImportanceMap", void 0);
exports.Relevance = Relevance;
class Search extends core.Schema {
}
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], Search.prototype, "displayable", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], Search.prototype, "facetable", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], Search.prototype, "searchable", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], Search.prototype, "sortable", void 0);
exports.Search = Search;
class DocumentMetadataConfigurationUpdates extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DocumentMetadataConfigurationUpdates.prototype, "name", void 0);
__decorate([
    core.attr(Relevance, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DocumentMetadataConfigurationUpdates.prototype, "relevance", void 0);
__decorate([
    core.attr(Search, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DocumentMetadataConfigurationUpdates.prototype, "search", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DocumentMetadataConfigurationUpdates.prototype, "type", void 0);
exports.DocumentMetadataConfigurationUpdates = DocumentMetadataConfigurationUpdates;
class ServerSideEncryptionConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], ServerSideEncryptionConfiguration.prototype, "kmsKeyId", void 0);
exports.ServerSideEncryptionConfiguration = ServerSideEncryptionConfiguration;
class UserGroupResolutionConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], UserGroupResolutionConfiguration.prototype, "userGroupResolutionMode", void 0);
exports.UserGroupResolutionConfiguration = UserGroupResolutionConfiguration;
class FaqStatistics extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], FaqStatistics.prototype, "indexedQuestionAnswersCount", void 0);
exports.FaqStatistics = FaqStatistics;
class TextDocumentStatistics extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], TextDocumentStatistics.prototype, "indexedTextBytes", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], TextDocumentStatistics.prototype, "indexedTextDocumentsCount", void 0);
exports.TextDocumentStatistics = TextDocumentStatistics;
class IndexStatistics extends core.Schema {
}
__decorate([
    core.attr(FaqStatistics, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], IndexStatistics.prototype, "faqStatistics", void 0);
__decorate([
    core.attr(TextDocumentStatistics, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], IndexStatistics.prototype, "textDocumentStatistics", void 0);
exports.IndexStatistics = IndexStatistics;
class DsIndex extends core.Data {
    constructor(name, args) {
        super(name, "aws_kendra_index", args);
    }
    getNamespace() {
        return "aws_kendra";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "arn", void 0);
__decorate([
    core.attr(CapacityUnits, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsIndex.prototype, "capacityUnits", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "createdAt", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "description", void 0);
__decorate([
    core.attr(DocumentMetadataConfigurationUpdates, {
        computed: true,
        kind: "array",
    }),
    __metadata("design:type", Object)
], DsIndex.prototype, "documentMetadataConfigurationUpdates", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "edition", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "errorMessage", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsIndex.prototype, "id", void 0);
__decorate([
    core.attr(IndexStatistics, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsIndex.prototype, "indexStatistics", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "name", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "roleArn", void 0);
__decorate([
    core.attr(ServerSideEncryptionConfiguration, {
        computed: true,
        kind: "array",
    }),
    __metadata("design:type", Object)
], DsIndex.prototype, "serverSideEncryptionConfiguration", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "status", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], DsIndex.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "updatedAt", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsIndex.prototype, "userContextPolicy", void 0);
__decorate([
    core.attr(UserGroupResolutionConfiguration, {
        computed: true,
        kind: "array",
    }),
    __metadata("design:type", Object)
], DsIndex.prototype, "userGroupResolutionConfiguration", void 0);
__decorate([
    core.attr(UserTokenConfigurations, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsIndex.prototype, "userTokenConfigurations", void 0);
exports.DsIndex = DsIndex;
//# sourceMappingURL=ds_index.js.map