/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Build status of a SearchIndex's OpenSearch index. Read it to find out whether the index is ready, still being built, or in a failed state — and, if FAILED, what went wrong. * @export * @interface SearchIndexStatus */ export interface SearchIndexStatus { /** * The ID of the SearchIndex entity. * @type {string} * @memberof SearchIndexStatus */ searchIndexId?: string; /** * The state of a search index's OpenSearch index. * @type {string} * @memberof SearchIndexStatus */ state?: SearchIndexStatusStateEnum; /** * The date-time when the status last changed. * @type {string} * @memberof SearchIndexStatus */ changedOn?: string; /** * Set when state is FAILED. Captures the diagnostic from the failed build — pre-flight validation errors (e.g. 'TextAnalyzer X does not resolve'), AOSS rejection messages from index creation, or sample per-document failures from bulk indexing. Capped at 3000 characters; the most-recent failure replaces any earlier message. * @type {string} * @memberof SearchIndexStatus */ errorMessage?: string; } /** * @export */ export declare const SearchIndexStatusStateEnum: { readonly CREATING: "CREATING"; readonly ACTIVE: "ACTIVE"; readonly FAILED: "FAILED"; }; export type SearchIndexStatusStateEnum = typeof SearchIndexStatusStateEnum[keyof typeof SearchIndexStatusStateEnum]; /** * Check if a given object implements the SearchIndexStatus interface. */ export declare function instanceOfSearchIndexStatus(value: object): value is SearchIndexStatus; export declare function SearchIndexStatusFromJSON(json: any): SearchIndexStatus; export declare function SearchIndexStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchIndexStatus; export declare function SearchIndexStatusToJSON(json: any): SearchIndexStatus; export declare function SearchIndexStatusToJSONTyped(value?: SearchIndexStatus | null, ignoreDiscriminator?: boolean): any;