code: function waitForSchemaCreation(handle, apiId, callback){
      if(isWaitNeededForSchema(handle)){
          let appsyncClient = awsClient.AppSync(handle.awsDetails)
          let param = {
              apiId: apiId,
          }
          schemaCreationWaitLoop(appsyncClient, param, handle, 1, callback)
      }else{
          callback(null, handle)
      }
  }
docs: ////////////////////////////////////////////////////// /////// wait for schema creation ///////////////////// //////////////////////////////////////////////////////