// Returns a MemberAccounts object that lists the member accounts in the
// administrator's AWS organization. The ListMemberAccounts must be submitted by
// the account that is set as the AWS Firewall Manager administrator.
Returns a MemberAccounts object that lists the member accounts in the
administrator's AWS organization. The ListMemberAccounts must be submitted by
the account that is set as the AWS Firewall Manager administrator.
// Returns a MemberAccounts object that lists the member accounts in the // administrator ' s AWS organization . The ListMemberAccounts must be submitted by // the account that is set as the AWS Firewall Manager administrator .
func (c *Client) ListMemberAccounts(ctx context.Context, params *ListMemberAccountsInput, optFns ...func(*Options)) (*ListMemberAccountsOutput, error) {
	if params == nil {
		params = &ListMemberAccountsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListMemberAccounts", params, optFns, addOperationListMemberAccountsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListMemberAccountsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListMemberAccounts ( ctx context . Context , params * ListMemberAccountsInput , optFns ... func ( * Options ) ) ( * ListMemberAccountsOutput , error ) { if params == nil { params = & ListMemberAccountsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListMemberAccountsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListMemberAccountsOutput ) out . ResultMetadata = metadata return out , nil }
Returns a MemberAccounts object that lists the member accounts in the
administrator's AWS organization.
Returns a MemberAccounts object that lists the member accounts in the administrator ' s AWS organization .