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"; /** * `DeletePrincipalMapping` request with `IndexId` injected from the bound index. */ export interface DeletePrincipalMappingRequest extends Omit { } /** * Runtime binding for the `DeletePrincipalMapping` operation (IAM action * `kendra:DeletePrincipalMapping`), scoped to one {@link Index}. * * Deletes a group's user-to-group mapping created with * {@link PutPrincipalMapping}. * Provide the implementation with * `Effect.provide(AWS.Kendra.DeletePrincipalMappingHttp)`. * * ### Principal Mapping * **Example:** Remove a Group Mapping * ```typescript * const deleteMapping = yield* AWS.Kendra.DeletePrincipalMapping(index); * * yield* deleteMapping({ GroupId: "engineering" }); * ``` * * @binding */ export interface DeletePrincipalMapping extends Binding.Service Effect.Effect<(request: DeletePrincipalMappingRequest) => Effect.Effect>> { } export declare const DeletePrincipalMapping: DeletePrincipalMapping; //# sourceMappingURL=DeletePrincipalMapping.d.ts.map