Skip to content

DeleteAttachment

Source: src/AWS/QBusiness/DeleteAttachment.ts

Runtime binding for the DeleteAttachment operation (IAM action qbusiness:DeleteAttachment), scoped to one Application.

Deletes an attachment associated with a chat conversation. Provide the implementation with Effect.provide(AWS.QBusiness.DeleteAttachmentHttp).

const deleteAttachment = yield* AWS.QBusiness.DeleteAttachment(app);
yield* deleteAttachment({ conversationId, attachmentId });