GetContactInformation
Source:
src/AWS/Account/GetContactInformation.ts
Runtime binding for account:GetContactInformation.
Reads the calling account’s primary contact — full name, address, phone
number, and company. The contact fields are marked sensitive at the wire
level, so distilled returns them as string | Redacted<string>. Account
Management is an account singleton, so the binding takes no resource
argument. Provide the implementation with
Effect.provide(AWS.Account.GetContactInformationHttp).
Reading Account Settings
Section titled “Reading Account Settings”// init — account-level binding, no resource argumentconst getContactInformation = yield* AWS.Account.GetContactInformation();
// runtimeconst { ContactInformation } = yield* getContactInformation();console.log(ContactInformation?.CountryCode);