Skip to content

List Member Accounts

fms_list_member_accounts R Documentation

Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web Services organization

Description

Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web Services organization.

Either an Firewall Manager administrator or the organization's management account can make this request.

Usage

fms_list_member_accounts(NextToken, MaxResults)

Arguments

NextToken

If you specify a value for MaxResults and you have more account IDs than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response that allows you to list another group of IDs. For the second and subsequent ListMemberAccountsRequest requests, specify the value of NextToken from the previous response to get information about another batch of member account IDs.

MaxResults

Specifies the number of member account IDs that you want Firewall Manager to return for this request. If you have more IDs than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of member account IDs.

Value

A list with the following syntax:

list(
  MemberAccounts = list(
    "string"
  ),
  NextToken = "string"
)

Request syntax

svc$list_member_accounts(
  NextToken = "string",
  MaxResults = 123
)