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
Used to provide responses to commands requesting content entitlement data.

Methods

addContentEntitlementChunk()

addContentEntitlementChunk(entitlements: IContentEntitlement[]): void Adds content entitlement data to response. Use repeated calls to addContentEntitlementChunk to paginate data to prevent loading large lists into memory. Must eventually be followed by a call to commit() after all entitlements have been sent.

Parameters

entitlements
IContentEntitlement[] A list of entitlements.

commit()

commit(): void Indicates the end of responses. Must be called after the final call of addContentEntitlementChunk.
Last modified on July 22, 2026