ListChannels - AWS Elemental MediaTailor

ListChannels

Retrieves information about the channels that are associated with the current AWS account.

Request Syntax

GET /channels?maxResults=MaxResults&nextToken=NextToken HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

MaxResults

The maximum number of channels that you want MediaTailor to return in response to the current request. If there are more than MaxResults channels, use the value of NextToken in the response to get the next page of results.

Valid Range: Minimum value of 1. Maximum value of 100.

NextToken

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Items": [ { "Arn": "string", "Audiences": [ "string" ], "ChannelName": "string", "ChannelState": "string", "CreationTime": number, "FillerSlate": { "SourceLocationName": "string", "VodSourceName": "string" }, "LastModifiedTime": number, "LogConfiguration": { "LogTypes": [ "string" ] }, "Outputs": [ { "DashPlaylistSettings": { "ManifestWindowSeconds": number, "MinBufferTimeSeconds": number, "MinUpdatePeriodSeconds": number, "SuggestedPresentationDelaySeconds": number }, "HlsPlaylistSettings": { "AdMarkupType": [ "string" ], "ManifestWindowSeconds": number }, "ManifestName": "string", "PlaybackUrl": "string", "SourceGroup": "string" } ], "PlaybackMode": "string", "tags": { "string" : "string" }, "Tier": "string" } ], "NextToken": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Items

A list of channels that are associated with this account.

Type: Array of Channel objects

NextToken

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

See Also

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