'Lists all of the Cognito identity pools registered for your
account.
:type max_results: integer
:param max_results: The maximum number of identities to return.
:type next_token: string
:param next_token: A pagination token.'

def list_identity_pools(self, max_results, next_token=None):

    params = {'MaxResults': max_results}
    if (next_token is not None):
        params['NextToken'] = next_token
    return self.make_request(action='ListIdentityPools', body=json.dumps(params))
