Skip to content

List Members

macie2_list_members R Documentation

Retrieves information about the accounts that are associated with an Amazon Macie administrator account

Description

Retrieves information about the accounts that are associated with an Amazon Macie administrator account.

Usage

macie2_list_members(maxResults, nextToken, onlyAssociated)

Arguments

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.

onlyAssociated

Specifies which accounts to include in the response, based on the status of an account's relationship with the administrator account. By default, the response includes only current member accounts. To include all accounts, set this value to false.

Value

A list with the following syntax:

list(
  members = list(
    list(
      accountId = "string",
      administratorAccountId = "string",
      arn = "string",
      email = "string",
      invitedAt = as.POSIXct(
        "2015-01-01"
      ),
      masterAccountId = "string",
      relationshipStatus = "Enabled"|"Paused"|"Invited"|"Created"|"Removed"|"Resigned"|"EmailVerificationInProgress"|"EmailVerificationFailed"|"RegionDisabled"|"AccountSuspended",
      tags = list(
        "string"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_members(
  maxResults = 123,
  nextToken = "string",
  onlyAssociated = "string"
)