docs: function(apiId) {
          return new Promise(function(resolve, reject) {
              APIG.deleteRestApi({
                  restApiId: apiId
              }, function(err) {
                  if (err) {
                      if (err.code === 404 || err.code === 'NotFoundException') {
                          // API didn't exist to begin with
                          return resolve(apiId);
                      }
  
                      return reject(err);
                  }
  
                  resolve(apiId);
              });
          });
      }