InviteAccountToOrganization
Source:
src/AWS/Organizations/InviteAccountToOrganization.ts
Runtime binding for organizations:InviteAccountToOrganization.
Sends an invitation (handshake) to another account to join the organization as a member account.
Account-level operation — Organizations is a management-account-scoped
global service, so the binding takes no resource argument. Provide the
implementation with Effect.provide(AWS.Organizations.InviteAccountToOrganizationHttp).
Handshakes & Invitations
Section titled “Handshakes & Invitations”// init — account-level binding, no resource argumentconst inviteAccountToOrganization = yield* AWS.Organizations.InviteAccountToOrganization();
// runtimeconst { Handshake } = yield* inviteAccountToOrganization({ Target: { Id: "111122223333", Type: "ACCOUNT" },});