code: def create_api(self):
          
          created_api = self.client.create_rest_api(name=self.trigger_settings.get('api_name', self.app_name))
          api_id = created_api['id']
          self.log.info("Successfully created API")
          return api_id
docs: Create the REST API.