This documentation applies to older versions of WSO2 ESB connectors. To find the documentation relevant to the version you are using, select the connector from the WSO2 Connector Store and click Documentation.

All docs This doc

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  • endpointArn: Required - The EndpointArn for GetEndpointAttributes inputto get input for retrieving endpoint attributes.
Sample request

Following is a sample REST/XML request that can be handled by the getEndpointAttributes getEndpointAttributes operation.

Code Block
titleSample Request for getEndpointAttributes



Setting Endpoint Attributes

The setEndpointAttributes The setEndpointAttributes operation allows you to sets the endpoint attributes for an endpoint for a device on one of the supported push notification services, such as GCM and APNS.


  • endpointArn: Required - EndpointArn used for SetEndpointAttributes actionThe EndpointArn to set endpoint attributes.
  • attributesEntryKey: Required - The key attribute of endpoints need to be set (CustomUserData). For example, CustomUserData.
  • attributesEntryValue: Required - The new value for that the key attribute key.


attributesEntry is attributesEntry is a map of endpoint attributes. Attributes in this map include the following:  

  •  CustomUserData : arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.   
  •  Enabled : flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token. 
  • Token : device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.