Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
The Vega Identifiers API provides functionality for generating, retrieving, and managing identifiers such as UUIDs, device name, and user agent as well as tracking and ad identifiers.

Getting started

Setup

  1. Add the following library dependency to the dependencies section of your package.json file.
  1. In your manifest.toml, add the following privileges required to access the device-friendly name.

Usage

Generate UUID v4

This example demonstrates how to generate a UUID v4. The code shows a simple handler function that wraps the generateUuidV4() method with basic error handling. You can use this pattern to integrate into your app’s event handlers or utility functions.

Get the friendly device name

The getFriendlyDeviceName() method returns the friendly name of the device for the current persona. Returns one of the following:
  • The user-customized device name if it exists and the caller has the com.amazon.devconf.privilege.identifiers.device-friendly-name run-time privilege
  • The device model name in the following cases:
    • No user-customized name is set
    • The caller lacks the required privilege

Request run-time privileges

To acquire run-time privileges, get the consent of the user. You can open the user consent dialog by requesting run-time the “com.amazon.devconf.privilege.identifiers.device-friendly-name” privilege using the Security Manager API.

API Reference

Classes

Interfaces

Enumerations


Last modified on July 22, 2026