Skip to content

UpdateMemberDetectors

Source: src/AWS/GuardDuty/UpdateMemberDetectors.ts

Runtime binding for guardduty:UpdateMemberDetectors.

Updates the feature configuration of member detectors from the administrator account. The detector id is injected from the bound Detector. Provide the implementation with Effect.provide(AWS.GuardDuty.UpdateMemberDetectorsHttp).

// init
const updateMemberDetectors = yield* AWS.GuardDuty.UpdateMemberDetectors(detector);
// runtime
yield* updateMemberDetectors({
AccountIds: ["111122223333"],
Features: [{ Name: "S3_DATA_EVENTS", Status: "ENABLED" }],
});