Skip to content

StopArchiveSearch

Source: src/AWS/MailManager/StopArchiveSearch.ts

Runtime binding for ses:StopArchiveSearch.

Cancels a queued or running archive search (by SearchId). IAM access is granted on the bound archive’s ARN. Provide the implementation with Effect.provide(AWS.MailManager.StopArchiveSearchHttp).

const stopSearch = yield* MailManager.StopArchiveSearch(archive);
// runtime
yield* stopSearch({ SearchId });