list_vod_sources
async
¶
list_vod_sources(
source_location_name: __string,
*,
config_overrides: Optional[AsyncMediaTailorClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
) -> ListVodSourcesResponse
Lists the VOD sources contained in a source location. A source represents a piece of content.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of VOD sources that you want MediaTailor to return in response to the current request. If there are more than
MaxResultsVOD sources, use the value ofNextTokenin the response to get the next page of results.The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response might contain fewer than
MaxResultsitems, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using theNextTokenvalue from each response until the response no longer includes aNextTokenvalue. -
next_token(Optional[__string], default:None) –Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
For the first
ListVodSourcesrequest, omit this value. For subsequent requests, get the value ofNextTokenfrom the previous response and specify that value forNextTokenin the request. Continue making requests until the response no longer includes aNextTokenvalue, which indicates that all results have been retrieved. -
source_location_name(__string) –The name of the source location associated with this VOD Source list.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.