Skip to content

ListReceivedDataGrants

Source: src/AWS/DataExchange/ListReceivedDataGrants.ts

Runtime binding for dataexchange:ListReceivedDataGrants.

Enumerates the data grants this account has received, optionally filtered by acceptance state (PENDING_RECEIVER_ACCEPTANCE, ACCEPTED). Provide the implementation with Effect.provide(AWS.DataExchange.ListReceivedDataGrantsHttp).

const listReceivedDataGrants =
yield* AWS.DataExchange.ListReceivedDataGrants();
// runtime
const { DataGrantSummaries } = yield* listReceivedDataGrants({
AcceptanceState: ["PENDING_RECEIVER_ACCEPTANCE"],
});