sns-q.js
function(arn, attributes) {
        var params = {
            EndpointArn: arn,
            Attributes: attributes
        };

        return this.svc.setEndpointAttributes(params);
    }
function(arn, attributes) {
        var params = {
            EndpointArn: arn,
            Attributes: attributes
        };

        return this.svc.setEndpointAttributes(params);
    }
function ( arn , attributes ) { var params = { EndpointArn : arn , Attributes : attributes } ; return this . svc . setEndpointAttributes ( params ) ; }
updates the attributes for the specified endpoint

@param {String} arn the EndpointArn of the target platform endpoint
@param {Object} attributes the Attributes map; a collection of fields to update
updates the attributes for the specified endpoint