Skip to content

DescribeHandshake

Source: src/AWS/Organizations/DescribeHandshake.ts

Runtime binding for organizations:DescribeHandshake.

Returns the details and current state of a handshake — accepted, declined, or canceled handshakes stay readable for 30 days. 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.DescribeHandshakeHttp).

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