Skip to content

Batch Update Automated Discovery Accounts

macie2_batch_update_automated_discovery_accounts R Documentation

Changes the status of automated sensitive data discovery for one or more accounts

Description

Changes the status of automated sensitive data discovery for one or more accounts.

Usage

macie2_batch_update_automated_discovery_accounts(accounts)

Arguments

accounts

An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.

Value

A list with the following syntax:

list(
  errors = list(
    list(
      accountId = "string",
      errorCode = "ACCOUNT_PAUSED"|"ACCOUNT_NOT_FOUND"
    )
  )
)

Request syntax

svc$batch_update_automated_discovery_accounts(
  accounts = list(
    list(
      accountId = "string",
      status = "ENABLED"|"DISABLED"
    )
  )
)