CreateDataGrant
Source:
src/AWS/DataExchange/CreateDataGrant.ts
Runtime binding for dataexchange:CreateDataGrant.
Creates a data grant sharing an owned data set with another AWS
account directly (without an AWS Marketplace product). The receiver
must accept the grant to get an entitled copy of the data set.
Provide the implementation with
Effect.provide(AWS.DataExchange.CreateDataGrantHttp).
Data Grants
Section titled “Data Grants”const createDataGrant = yield* AWS.DataExchange.CreateDataGrant();
// runtimeconst grant = yield* createDataGrant({ Name: "prices-for-analytics", SourceDataSetId: dataSetId, ReceiverPrincipal: "111122223333", GrantDistributionScope: "NONE",});