list_prefetch_schedules
async
¶
list_prefetch_schedules(
playback_configuration_name: __string,
*,
config_overrides: Optional[AsyncMediaTailorClientConfig] = None,
max_results: Optional[__integerMin1Max100] = None,
next_token: Optional[__string] = None,
schedule_type: Optional[ListPrefetchScheduleType] = None,
stream_id: Optional[__string] = None,
) -> ListPrefetchSchedulesResponse
Lists the prefetch schedules for a playback configuration.
Parameters:
-
max_results(Optional[__integerMin1Max100], default:None) –The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If there are more than
MaxResultsprefetch schedules, 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
ListPrefetchSchedulesrequest, 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. -
playback_configuration_name(__string) –Retrieves the prefetch schedule(s) for a specific playback configuration.
-
schedule_type(Optional[ListPrefetchScheduleType], default:None) –The type of prefetch schedules that you want to list.
SINGLEindicates that you want to list the configured single prefetch schedules.RECURRINGindicates that you want to list the configured recurring prefetch schedules.ALLindicates that you want to list all configured prefetch schedules. -
stream_id(Optional[__string], default:None) –An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediatailor/_services/async_media_tailor.py
2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 | |