async def METHOD_NAME(self, api_name, method, **kwargs):
    """
    Fetch the results through pagination for the corresponding GuardDuty method.
    :param api_name,str
    :param method,str
    :return: dict containing a list of finding ids/detector ids with next page token
    """
    result_response_list = []
    session = await self.get_session()
    config = botocore.config.Config(
        read_timeout=self.timeout,
        connect_timeout=self.timeout
    )
    async with session.client(api_name, verify=self.verify, config=config) as cl:
        paginator = cl.get_paginator(method)
        get_query_response = paginator.paginate(**kwargs)
        async for page in get_query_response:
            if page.get('ResponseMetadata').get('HTTPStatusCode') == 200:
                if page.get('DetectorIds'):
                    result_response_list.extend(page.get('DetectorIds'))
                elif page.get('FindingIds'):
                    result_response_list.extend(page.get('FindingIds'))
            else:
                return page['ResponseMetadata']
    result_dict = {'data': result_response_list, 'next_token': page.get('NextToken')}
    return result_dict