Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListEntitlementsCommandProtected

Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.

Example

Use a bare-bones client and the command you need to make an API call.

import { MediaConnectClient, ListEntitlementsCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
// const { MediaConnectClient, ListEntitlementsCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
const client = new MediaConnectClient(config);
const input = { // ListEntitlementsRequest
MaxResults: Number("int"),
NextToken: "STRING_VALUE",
};
const command = new ListEntitlementsCommand(input);
const response = await client.send(command);
// { // ListEntitlementsResponse
// Entitlements: [ // __listOfListedEntitlement
// { // ListedEntitlement
// DataTransferSubscriberFeePercent: Number("int"),
// EntitlementArn: "STRING_VALUE", // required
// EntitlementName: "STRING_VALUE", // required
// },
// ],
// NextToken: "STRING_VALUE",
// };

Param

ListEntitlementsCommandInput

Returns

ListEntitlementsCommandOutput

See

Throws

BadRequestException (client fault) Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

Throws

InternalServerErrorException (server fault) Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

Throws

ServiceUnavailableException (server fault) Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

Throws

TooManyRequestsException (client fault) Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

Throws

MediaConnectServiceException

Base exception class for all service exceptions from MediaConnect service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods