Skip to content

GetReceivedDataGrant

Source: src/AWS/DataExchange/GetReceivedDataGrant.ts

Runtime binding for dataexchange:GetReceivedDataGrant.

Reads a received data grant’s detail — sender, acceptance state, and expiration. Provide the implementation with Effect.provide(AWS.DataExchange.GetReceivedDataGrantHttp).

const getReceivedDataGrant =
yield* AWS.DataExchange.GetReceivedDataGrant();
// runtime
const grant = yield* getReceivedDataGrant({ DataGrantArn: grantArn });