Amazon Mobile Analytics
User Guide

Listing Custom Event Attribute Values

Note

After April 30, 2018, Amazon Mobile Analytics features will be provided only by Amazon Pinpoint. If you're new to Mobile Analytics, use Amazon Pinpoint instead. If you're currently using Mobile Analytics, see Migrating from Amazon Mobile Analytics to Amazon Pinpoint.

This query returns the valid attribute values for a specific custom event and attribute. The URL for this query is:

https://mobileanalytics.us-east-1.amazonaws.com/2014-06-05/apps/<YOUR APP ID>/events/<CUSTOM EVENT NAME>/attributes/<ATTRIBUTE NAME>/values

Example Response

Here is an example of the JSON returned in the response of a query for values of the "EndState" attribute of the "LevelComplete" custom event. It returns two example attribute values in the item attribute.

{ "_links" : { "curies" : [{ "href" : "http://docs.aws.amazon.com/mobileanalytics/latest/ug/server-reference.html#event:{rel}, "name" : "attributevalue", "templated" : true } ], "self" : { "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/EndState/values", "name" : "values", "title" : "Attribute Values Collection" }, "attributevalue:by-name" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/EndState/values/{attributeValueName}", "name" : "attribute-value-by-name", "templated" : true } ], "item" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/EndState/values/Lose", "name" : "Lose" }, { "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/EndState/values/Win", "name" : "Win" } ], "up" : [{ "href" : "/2014-06-05/apps/<YOUR APP ID>/events/LevelComplete/attributes/EndState", "name" : "EndState" } ] }, "appId" : "<YOUR APP ID>", "attributeName" : "EndState", "eventName" : "LevelComplete", "itemCount" : 2, "pageCount" : 1 }

On this page: