Skip to content

GetAccount

Source: src/AWS/SES/GetAccount.ts

Runtime binding for sesv2:GetAccount.

Retrieves the SES account’s sending status in the current region — the send quota, whether sending is enabled, and whether the account has production access (or is still in the sandbox). Useful to check remaining quota before a large send. Account-level operation — invoked with no arguments. Provide the implementation with Effect.provide(AWS.SES.GetAccountHttp).

// init — account-level binding, no resource argument
const getAccount = yield* SES.GetAccount();
// runtime
const account = yield* getAccount();
// account.SendQuota?.Max24HourSend, account.ProductionAccessEnabled