import type * as qbusiness from "@distilled.cloud/aws/qbusiness"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Index } from "./SearchIndex.ts"; /** * `ListDocuments` request with `applicationId` + `indexId` injected from the bound index. */ export interface ListDocumentsRequest extends Omit { } /** * Runtime binding for the `ListDocuments` operation (IAM action * `qbusiness:ListDocuments`), scoped to one {@link Index}. * * Lists the documents the index holds and their ingestion status. * Provide the implementation with * `Effect.provide(AWS.QBusiness.ListDocumentsHttp)`. * * ### Document Ingestion * **Example:** List Indexed Documents * ```typescript * const listDocuments = yield* AWS.QBusiness.ListDocuments(index); * * const { documentDetailList } = yield* listDocuments(); * ``` * * @binding */ export interface ListDocuments extends Binding.Service Effect.Effect<(request?: ListDocumentsRequest) => Effect.Effect>> { } export declare const ListDocuments: ListDocuments; //# sourceMappingURL=ListDocuments.d.ts.map