FMS / Client / list_member_accounts
list_member_accounts#
- FMS.Client.list_member_accounts(**kwargs)#
- Returns a - MemberAccountsobject that lists the member accounts in the administrator’s Amazon Web Services organization.- The - ListMemberAccountsmust be submitted by the account that is set as the Firewall Manager administrator.- See also: AWS API Documentation - Request Syntax - response = client.list_member_accounts( NextToken='string', MaxResults=123 ) - Parameters:
- NextToken (string) – If you specify a value for - MaxResultsand you have more account IDs than the number that you specify for- MaxResults, Firewall Manager returns a- NextTokenvalue in the response that allows you to list another group of IDs. For the second and subsequent- ListMemberAccountsRequestrequests, specify the value of- NextTokenfrom the previous response to get information about another batch of member account IDs.
- MaxResults (integer) – 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- NextTokenvalue that you can use to get another batch of member account IDs.
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'MemberAccounts': [ 'string', ], 'NextToken': 'string' } - Response Structure - (dict) – - MemberAccounts (list) – - An array of account IDs. - (string) – 
 
- NextToken (string) – - If you have more member account IDs than the number that you specified for - MaxResultsin the request, the response includes a- NextTokenvalue. To list more IDs, submit another- ListMemberAccountsrequest, and specify the- NextTokenvalue from the response in the- NextTokenvalue in the next request.
 
 
 - Exceptions - FMS.Client.exceptions.ResourceNotFoundException
- FMS.Client.exceptions.InternalErrorException