Skip to content

GetArchiveSearchResults

Source: src/AWS/MailManager/GetArchiveSearchResults.ts

Runtime binding for ses:GetArchiveSearchResults.

Fetches the result rows of a completed archive search (by SearchId): sender, subject, envelope, and the ArchivedMessageId used to download each message. IAM access is granted on the bound archive’s ARN. Provide the implementation with Effect.provide(AWS.MailManager.GetArchiveSearchResultsHttp).

const getSearchResults = yield* MailManager.GetArchiveSearchResults(archive);
// runtime
const { Rows } = yield* getSearchResults({ SearchId });