Skip to content

AcceptHandshake

Source: src/AWS/Organizations/AcceptHandshake.ts

Runtime binding for organizations:AcceptHandshake.

Accepts a pending handshake — e.g. an invitation to join an organization, called from the invited 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.AcceptHandshakeHttp).

// init — account-level binding, no resource argument
const acceptHandshake = yield* AWS.Organizations.AcceptHandshake();
// runtime
const { Handshake } = yield* acceptHandshake({ HandshakeId: handshakeId });