Amazon Mobile Analytics
User Guide

Signing Requests


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.

The method to use to sign your request depends on where the request originates. If the request comes from a server, use AWS Identity and Access Management. If the request comes from a mobile device, use Amazon Cognito or IAM.

All requests to the Amazon Mobile Analytics REST API must be signed and the following headers must be present.

Accept: application/hal+json X-Amz-Date: <TIMESTAMP in format of YYYYMMDDTHHmmSSZ e.g. 20151208T063435Z> Authorization: AWS4-HMAC-SHA256 Credential=<YOUR ACCESS KEY ID>/20151208/us-east-1/mobileanalytics/aws4_request, SignedHeaders=accept;host;x-amz-date, Signature=<Sig V4 signature>

Both IAM and Amazon Cognito support signature version 4. For more information, see Signature Version 4 Signing Process.