get_channel_schedule
¶
get_channel_schedule(
channel_name: __string,
*,
config_overrides: Optional[MediaTailorClientConfig] = None,
duration_minutes: Optional[__string] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
audience: Optional[__string] = None,
) -> GetChannelScheduleResponse
Retrieves information about your channel's schedule.
Parameters:
-
channel_name(__string) –The name of the channel associated with this Channel Schedule.
-
duration_minutes(Optional[__string], default:None) –The duration in minutes of the channel schedule.
-
max_results(Optional[MaxResults], default:None) –The maximum number of channel schedules that you want MediaTailor to return in response to the current request. If there are more than
MaxResultschannel schedules, use the value ofNextTokenin the response to get the next page of results. -
next_token(Optional[__string], default:None) –(Optional) If the playback configuration has more than
MaxResultschannel schedules, useNextTokento get the second and subsequent pages of results.For the first
GetChannelScheduleRequestrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the request.If the previous response didn't include a
NextTokenelement, there are no more channel schedules to get. -
audience(Optional[__string], default:None) –The single audience for GetChannelScheduleRequest.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.