Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import type * as qbusiness from "@distilled.cloud/aws/qbusiness";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";
import type { Application } from "./Application.ts";
/**
* `DeleteAttachment` request with `applicationId` injected from the bound application.
*/
export interface DeleteAttachmentRequest extends Omit<
qbusiness.DeleteAttachmentRequest,
"applicationId"
> {}
/**
* Runtime binding for the `DeleteAttachment` operation (IAM action
* `qbusiness:DeleteAttachment`), scoped to one {@link Application}.
*
* Deletes an attachment associated with a chat conversation.
* Provide the implementation with
* `Effect.provide(AWS.QBusiness.DeleteAttachmentHttp)`.
*
* @binding
* @section Conversations
* @example Delete an Attachment
* ```typescript
* const deleteAttachment = yield* AWS.QBusiness.DeleteAttachment(app);
*
* yield* deleteAttachment({ conversationId, attachmentId });
* ```
*/
export interface DeleteAttachment extends Binding.Service<
DeleteAttachment,
"AWS.QBusiness.DeleteAttachment",
(
application: Application,
) => Effect.Effect<
(
request: DeleteAttachmentRequest,
) => Effect.Effect<
qbusiness.DeleteAttachmentResponse,
qbusiness.DeleteAttachmentError
>
>
> {}
export const DeleteAttachment = Binding.Service<DeleteAttachment>(
"AWS.QBusiness.DeleteAttachment",
);