Skip to content

BatchUpdateAutomatedDiscoveryAccounts

Source: src/AWS/Macie2/BatchUpdateAutomatedDiscoveryAccounts.ts

Runtime binding for macie2:BatchUpdateAutomatedDiscoveryAccounts.

Changes the status of automated sensitive data discovery for one or more accounts. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.Macie2.BatchUpdateAutomatedDiscoveryAccountsHttp).

// init — account-level binding, no resource argument
const batchUpdateAutomatedDiscoveryAccounts = yield* AWS.Macie2.BatchUpdateAutomatedDiscoveryAccounts();
// runtime
yield* batchUpdateAutomatedDiscoveryAccounts({
accounts: [{ accountId, status: "ENABLED" }],
});