Get started
Setup
- Add the following library dependency to the
dependenciessection of your package.json file.
- The
kepler-content-personalizationpackage provides functionality for sending your content personalization data to the system. - The
amzn/kepler-epg-providerpackage would provide the dependencies used forchannelDescriptorinPlaybackEventdata model. - The
headless-task-managerpackage provides functionality to register your data-pull background service with the system.
-
In your manifest.toml, add the following privileges.
Related topics
Get Started with Vega Content PersonalizationAPI Reference
Classes
- BaseError
- ContentEntitlementBuilder — Builder to create a
ContentEntitlementobject. - ContentIdBuilder — Builder to create a
ContentIdobject. - ContentInteractionBuilder — Builder to create a
ContentInteractionobject. - CustomerListEntryBuilder — Builder to create a
CustomerListEntryobject. - InvalidArgumentError — Error thrown when invalid argument is passed to method.
- PlaybackEventBuilder — Builder to create a
PlaybackEventobject. - ProfileIdBuilder — Builder to create a
ProfileIdobject.
Interfaces
- IContentEntitlement — Interface representing a customer’s individual content entitlement. Created using
ContentEntitlementBuilder. - IContentEntitlementsHandler — Interface that content provider applications implement to handle commands from Amazon’s content personalization service to fetch content entitlement data.
- IContentEntitlementsProvider — Used to provide responses to commands requesting content entitlement data.
- IContentId — Interface representing a content ID. Create using
ContentIdBuilder. - IContentInteraction — Interface representing a customer’s interaction with content. Create using
ContentInteractionBuilder. - IContentPersonalizationServer — Interface for Content Personalization Server
- ICustomerListEntriesHandler — Interface that content provider applications implement to handle commands from Amazon’s content personalization service to fetch customer managed list data.
- ICustomerListEntriesProvider — Used to provide responses to commands requesting customer managed list data.
- ICustomerListEntry — Interface representing an entry in a customer managed list. Create using
CustomerListEntryBuilder. - IPlaybackEvent — Interface representing a customers playback state at a moment in time. Create using
PlaybackEventBuilder. - IPlaybackEventsHandler — Interface that content provider applications implement to handle commands from Amazon’s content personalization service to fetch playback event data.
- IPlaybackEventsProvider — Used to provide responses to commands requesting playback event data.
- IProfileId — Interface representing a profile ID within a namespace.
Enumerations
- ContentIdNamespaces — Enum representing options for
ContentIdnamespaces. - ContentInteractionType — Enum representing the type of content interaction.
- CustomerListType — Enum representing the type of list the customer manages.
- EntitlementType — Enum representing the type of content entitlement.
- PlaybackState — Enum representing the state of content playback.
- ProfileIdNamespaces — Enum representing options for
ProfileIdnamespaces.

