Skip to content

ListHandshakesForAccount

Source: src/AWS/Organizations/ListHandshakesForAccount.ts

Runtime binding for organizations:ListHandshakesForAccount.

Lists the handshakes that are associated with the calling account — pending and recently concluded invitations. 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.ListHandshakesForAccountHttp).

// init — account-level binding, no resource argument
const listHandshakesForAccount = yield* AWS.Organizations.ListHandshakesForAccount();
// runtime
const { Handshakes } = yield* listHandshakesForAccount();