AcceptDataGrant
Source:
src/AWS/DataExchange/AcceptDataGrant.ts
Runtime binding for dataexchange:AcceptDataGrant.
Accepts a data grant another account sent to this account, creating
an entitled copy of the granted data set — the receiver-side
automation of direct data sharing.
Provide the implementation with
Effect.provide(AWS.DataExchange.AcceptDataGrantHttp).
Data Grants
Section titled “Data Grants”const acceptDataGrant = yield* AWS.DataExchange.AcceptDataGrant();
// runtimeconst accepted = yield* acceptDataGrant({ DataGrantArn: grantArn });yield* Effect.log(`entitled data set: ${accepted.DataSetId}`);