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