Skip to content

List Automated Discovery Accounts

macie2_list_automated_discovery_accounts R Documentation

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

Description

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

Usage

macie2_list_automated_discovery_accounts(accountIds, maxResults,
  nextToken)

Arguments

accountIds

The Amazon Web Services account ID for each account, for as many as 50 accounts. To retrieve the status for multiple accounts, append the accountIds parameter and argument for each account, separated by an ampersand (&). To retrieve the status for all the accounts in an organization, omit this parameter.

maxResults

The maximum number of items to include in each page of a paginated response.

nextToken

The nextToken string that specifies which page of results to return in a paginated response.

Value

A list with the following syntax:

list(
  items = list(
    list(
      accountId = "string",
      status = "ENABLED"|"DISABLED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_automated_discovery_accounts(
  accountIds = list(
    "string"
  ),
  maxResults = 123,
  nextToken = "string"
)