Entitlements: list - AWS Elemental MediaConnect

Entitlements: list

URI

/v1/entitlements

HTTP methods

GET

Operation ID: ListEntitlements

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

Query parameters
NameTypeRequiredDescription
nextTokenStringFalse

The token that identifies which batch of results that you want to see. For example, you submit a ListEntitlements request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListEntitlements request a second time and specify the NextToken value.

maxResultsStringFalse

The maximum number of results to return per API request. For example, you submit a ListEntitlements request with MaxResults set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.) The service might return fewer results than the MaxResults value. If MaxResults is not included in the request, the service defaults to pagination with a maximum of 20 results per page.

Responses
Status codeResponse modelDescription
200ListEntitlementsResponse

MediaConnect returned the list of entitlements successfully.

400ResponseError

The request that you submitted is not valid.

429ResponseError

You have exceeded the service request rate limit for your MediaConnect account.

500ResponseError

MediaConnect can't fulfill your request because it encountered an unexpected condition.

503ResponseError

MediaConnect is currently unavailable. Try again later.

Schemas

Response bodies

{ "entitlements": [ { "dataTransferSubscriberFeePercent": integer, "entitlementArn": "string", "entitlementName": "string" } ], "nextToken": "string" }
{ "message": "string" }

Properties

ListEntitlementsResponse

The result of a successful ListEntitlements request. The response includes the Amazon Resource Name (ARN) of each entitlement, the name of the associated flow, and the NextToken to use in a subsequent ListEntitlements request.

PropertyTypeRequiredDescription
entitlements

Array of type ListedEntitlement

True

A list of entitlements that have been granted to you from other AWS accounts.

nextToken

string

False

The token that identifies which batch of results that you want to see. For example, you submit a ListEntitlements request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListEntitlements request a second time and specify the NextToken value.

ListedEntitlement

An entitlement that has been granted to you from other AWS accounts.

PropertyTypeRequiredDescription
dataTransferSubscriberFeePercent

integer

False

The percentage of the entitlement data transfer fee that you are responsible for.

entitlementArn

string

True

The ARN of the entitlement.

entitlementName

string

True

The name of the entitlement.

ResponseError

An exception raised by MediaConnect when you submit a request that cannot be completed. For more information, see the error message and documentation for the operation.

PropertyTypeRequiredDescription
message

string

True

The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

ListEntitlements