code: function(arn, token) {
          var params = {
              PlatformApplicationArn: arn,
              NextToken: token
          };
  
          return this.svc.listEndpointsByPlatformApplication(params);
      }
docs: returns a list of all endpoints for the specified platform application
  
  @param {String} arn the PlatformApplicationArn of the application to list endpoints for
  @param {String} token the token returned from the previous call, to access the next set of objects