Skip to content

GetChannelScheduleRequest

Source code in docs_src/capo_mediatailor/types/get_channel_schedule_request.py
class GetChannelScheduleRequest(TypedDict, closed=True):
    channel_name: "capo_mediatailor.types.__string.__string"
    """<p>The name of the channel associated with this Channel Schedule.</p>"""
    duration_minutes: NotRequired["capo_mediatailor.types.__string.__string"]
    """<p>The duration in minutes of the channel schedule.</p>"""
    max_results: NotRequired["capo_mediatailor.types.max_results.MaxResults"]
    """<p>The maximum number of channel schedules that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> channel schedules, use the value of <code>NextToken</code> in the response to get the next page of results.</p>"""
    next_token: NotRequired["capo_mediatailor.types.__string.__string"]
    """<p>(Optional) If the playback configuration has more than <code>MaxResults</code> channel schedules, use <code>NextToken</code> to get the second and subsequent pages of results.</p> <p>For the first <code>GetChannelScheduleRequest</code> request, omit this value.</p> <p>For the second and subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request.</p> <p>If the previous response didn't include a <code>NextToken</code> element, there are no more channel schedules to get.</p>"""
    audience: NotRequired["capo_mediatailor.types.__string.__string"]
    """<p>The single audience for GetChannelScheduleRequest.</p>"""

audience instance-attribute

audience: NotRequired[__string]

The single audience for GetChannelScheduleRequest.

channel_name instance-attribute

channel_name: __string

The name of the channel associated with this Channel Schedule.

duration_minutes instance-attribute

duration_minutes: NotRequired[__string]

The duration in minutes of the channel schedule.

max_results instance-attribute

max_results: NotRequired[MaxResults]

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

next_token instance-attribute

next_token: NotRequired[__string]

(Optional) If the playback configuration has more than MaxResults channel schedules, use NextToken to get the second and subsequent pages of results.

For the first GetChannelScheduleRequest request, omit this value.

For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

If the previous response didn't include a NextToken element, there are no more channel schedules to get.