Skip to content

BatchGetGraphMemberDatasources

Source: src/AWS/Detective/BatchGetGraphMemberDatasources.ts

Runtime binding for detective:BatchGetGraphMemberDatasources.

Reads per-member data source ingest history for the behavior graph — which packages each member account is contributing and when their ingest state last changed. The graph ARN is injected from the bound Graph. Provide the implementation with Effect.provide(AWS.Detective.BatchGetGraphMemberDatasourcesHttp).

// init
const batchGetGraphMemberDatasources =
yield* AWS.Detective.BatchGetGraphMemberDatasources(graph);
// runtime
const { MemberDatasources } = yield* batchGetGraphMemberDatasources({
AccountIds: ["111122223333"],
});