lib/plugins/aws/deployList/index.js/AwsDeployList/constructor
class AwsDeployList:  constructor(serverless, options) {
    this.serverless = serverless;
    this.options = options || {};
    this.provider = this.serverless.getProvider('aws');

    Object.assign(
      this,
      validate,
      setBucketName
    );

    this.hooks = {
      'before:deploy:list:log': () => BbPromise.bind(this)
        .then(this.validate),
      'before:deploy:list:functions:log': () => BbPromise.bind(this)
        .then(this.validate),

      'deploy:list:log': () => BbPromise.bind(this)
        .then(this.setBucketName)
        .then(this.listDeployments),
      'deploy:list:functions:log': () => BbPromise.bind(this)
        .then(this.listFunctions),
    };
  }