ContactInformation
Source:
src/AWS/Account/ContactInformation.ts
The primary contact information of an AWS account — the account-global
mailing address and phone number AWS uses to reach the account owner. Every
account has exactly one primary contact; this resource upserts it via
account:PutContactInformation. AWS does not allow deleting the primary
contact, so destroying the resource stops managing it and leaves the last
value in place.
Setting the Primary Contact
Section titled “Setting the Primary Contact”Primary Contact for the Calling Account
const contact = yield* ContactInformation("PrimaryContact", { fullName: "Jane Doe", addressLine1: "123 Any Street", city: "Seattle", stateOrRegion: "WA", postalCode: "98101", countryCode: "US", phoneNumber: "+12065551234", companyName: "Acme Corp", websiteUrl: "https://acme.example.com",});Primary Contact for an Organizations Member Account
const contact = yield* ContactInformation("MemberContact", { fullName: "Acme Ops", addressLine1: "123 Any Street", city: "Seattle", postalCode: "98101", countryCode: "US", phoneNumber: "+12065551234", accountId: "123456789012",});