list_member_accounts

list_member_accounts(**kwargs)

(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.

See also: AWS API Documentation

Request Syntax

response = client.list_member_accounts(
    nextToken='string',
    maxResults=123
)
Parameters
  • nextToken (string) -- (Discontinued) Use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListMemberAccounts action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
  • maxResults (integer) -- (Discontinued) Use this parameter to indicate the maximum number of items that you want in the response. The default value is 250.
Return type

dict

Returns

Response Syntax

{
    'memberAccounts': [
        {
            'accountId': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • memberAccounts (list) --

      (Discontinued) A list of the Amazon Macie Classic member accounts returned by the action. The current Macie Classic administrator account is also included in this list.

      • (dict) --

        (Discontinued) Contains information about the Amazon Macie Classic member account.

        • accountId (string) --

          (Discontinued) The Amazon Web Services account ID of the Amazon Macie Classic member account.

    • nextToken (string) --

      (Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.

Exceptions

  • Macie.Client.exceptions.InternalException
  • Macie.Client.exceptions.InvalidInputException