Skip to content

SendInvites

Source: src/AWS/RePostSpace/SendInvites.ts

Runtime binding for the SendInvites operation (IAM action repostspace:SendInvites on the space ARN).

Sends invitation emails (with a custom title and body) to users or groups of the bound Space, identified by their IAM Identity Center accessor ids. Provide the implementation with Effect.provide(AWS.RePostSpace.SendInvitesHttp).

const sendInvites = yield* AWS.RePostSpace.SendInvites(space);
yield* sendInvites({
accessorIds: ["94682c8d-1234-5678-9abc-e001c76e2c44"],
title: "Join our internal re:Post",
body: "Ask and answer questions about our AWS workloads.",
});