GetDataGrant
Source:
src/AWS/DataExchange/GetDataGrant.ts
Runtime binding for dataexchange:GetDataGrant.
Reads a sent data grant’s detail — receiver, acceptance state, and
expiration.
Provide the implementation with
Effect.provide(AWS.DataExchange.GetDataGrantHttp).
Data Grants
Section titled “Data Grants”const getDataGrant = yield* AWS.DataExchange.GetDataGrant();
// runtimeconst grant = yield* getDataGrant({ DataGrantId: grantId });yield* Effect.log(`state: ${grant.AcceptanceState}`);