lib/service.js
function defineMethods(svc) {
    AWS.util.each(svc.prototype.api.operations, function iterator(method) {
      if (svc.prototype[method]) return;
      var operation = svc.prototype.api.operations[method];
      if (operation.authtype === 'none') {
        svc.prototype[method] = function (params, callback) {
          return this.makeUnauthenticatedRequest(method, params, callback);
        };
      } else {
        svc.prototype[method] = function (params, callback) {
          return this.makeRequest(method, params, callback);
        };
      }
    });
  }
function defineMethods(svc) {
    AWS.util.each(svc.prototype.api.operations, function iterator(method) {
      if (svc.prototype[method]) return;
      var operation = svc.prototype.api.operations[method];
      if (operation.authtype === 'none') {
        svc.prototype[method] = function (params, callback) {
          return this.makeUnauthenticatedRequest(method, params, callback);
        };
      } else {
        svc.prototype[method] = function (params, callback) {
          return this.makeRequest(method, params, callback);
        };
      }
    });
  }
function defineMethods ( svc ) { AWS . util . each ( svc . prototype . api . operations , function iterator ( method ) { if ( svc . prototype [ method ] ) return ; var operation = svc . prototype . api . operations [ method ] ; if ( operation . authtype === 'none' ) { svc . prototype [ method ] = function ( params , callback ) { return this . makeUnauthenticatedRequest ( method , params , callback ) ; } ; } else { svc . prototype [ method ] = function ( params , callback ) { return this . makeRequest ( method , params , callback ) ; } ; } } ) ; }
Adds one method for each operation described in the api configuration

@api private
Adds one method for each operation described in the api configuration