GetEmailContact
Source:
src/AWS/NotificationsContacts/GetEmailContact.ts
Runtime binding for notifications-contacts:GetEmailContact.
Read the bound email contact — most usefully its activation status,
which flips from inactive to active once the address owner confirms
the activation email. Provide the implementation with
Effect.provide(AWS.NotificationsContacts.GetEmailContactHttp).
Checking Activation Status
Section titled “Checking Activation Status”// init — bind the operation to the contactconst getContact = yield* AWS.NotificationsContacts.GetEmailContact(contact);
// runtimeconst result = yield* getContact();const isActive = result.emailContact.status === "active";