code: def get_rest_apis(self, project_name):
          
          all_apis = self.apigateway_client.get_rest_apis(
              limit=500
          )
  
          for api in all_apis['items']:
              if api['name'] != project_name:
                  continue
              yield api
docs: Generator that allows to iterate per every available apis.