import type * as kendra from "@distilled.cloud/aws/kendra"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Index } from "./SearchIndex.ts"; /** * `ListGroupsOlderThanOrderingId` request with `IndexId` injected from the bound index. */ export interface ListGroupsOlderThanOrderingIdRequest extends Omit { } /** * Runtime binding for the `ListGroupsOlderThanOrderingId` operation (IAM action * `kendra:ListGroupsOlderThanOrderingId`), scoped to one {@link Index}. * * Lists groups whose principal mapping is older than the given ordering * id — used to find stale group mappings to refresh or delete. * Provide the implementation with * `Effect.provide(AWS.Kendra.ListGroupsOlderThanOrderingIdHttp)`. * * ### Principal Mapping * **Example:** List Stale Groups * ```typescript * const listGroups = yield* AWS.Kendra.ListGroupsOlderThanOrderingId(index); * * const stale = yield* listGroups({ OrderingId: orderingId }); * console.log(stale.GroupsSummaries); * ``` * * @binding */ export interface ListGroupsOlderThanOrderingId extends Binding.Service Effect.Effect<(request: ListGroupsOlderThanOrderingIdRequest) => Effect.Effect>> { } export declare const ListGroupsOlderThanOrderingId: ListGroupsOlderThanOrderingId; //# sourceMappingURL=ListGroupsOlderThanOrderingId.d.ts.map