sns-q.js
function(arn, token) {
        var params = {
            PlatformApplicationArn: arn,
            NextToken: token
        };

        return this.svc.listEndpointsByPlatformApplication(params);
    }
function(arn, token) {
        var params = {
            PlatformApplicationArn: arn,
            NextToken: token
        };

        return this.svc.listEndpointsByPlatformApplication(params);
    }
function ( arn , token ) { var params = { PlatformApplicationArn : arn , NextToken : token } ; return this . svc . listEndpointsByPlatformApplication ( params ) ; }
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
returns a list of all endpoints for the specified platform application