title: How to pause an OpenWhisk trigger
body: <p>Following the documentation at <a href="https://github.com/apache/openwhisk/blob/master/docs/feeds.md" rel="nofollow noreferrer">https://github.com/apache/openwhisk/blob/master/docs/feeds.md</a></p>
  <p>I have implemented a feed, and am capturing trigger <code>livecycleEvent</code> events. From the command line and from the console in IBM Cloud I am able to test the <code>CREATE</code> and <code>DELETE</code>.</p>
  <p>What I have not been able to figure out is how to invoke the <code>PAUSE</code> and by extension the <code>UNPAUSE</code>.</p>
  <p><code>wsk trigger</code></p>
  <p>doesn't appear to have this option.</p>
  <pre class="lang-js prettyprint-override"><code>function main (args) {
    let event = args.lifecycleEvent;
    let triggerName = args.triggerName;
    let authKey = args.authKey;
  
  
    if ('CREATE' === event) {
      console.log('Create event for trigger ', triggerName);
      ...
    } else if ('DELETE' === event) {
      console.log('Delete event for trigger ', triggerName);
      ...
    } else if ('PAUSE' === event) {
      console.log('Pause event for trigger ', triggerName);
      ...
    } else if ('UNPAUSE' === event) {
      ...
    } else {
      console.log('Check for other non lifecycle actions ');
    }
  
  
    return {};
  }
  </code></pre>