list_prefetch_schedules
¶
list_prefetch_schedules(
playback_configuration_name: __string,
*,
config_overrides: Optional[MediaTailorClientConfig] = 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/media_tailor.py
2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 | |