// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListPrefetchSchedules`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`max_results(i32)`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> prefetch schedules, use the value of <code>NextToken</code> in the response to get the next page of results.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::set_next_token):<br>required: **false**<br><p>(Optional) If the playback configuration has more than <code>MaxResults</code> prefetch schedules, use <code>NextToken</code> to get the second and subsequent pages of results.</p> <p>For the first <code>ListPrefetchSchedulesRequest</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 prefetch schedules to get.</p><br>
/// - [`playback_configuration_name(impl Into<String>)`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::playback_configuration_name) / [`set_playback_configuration_name(Option<String>)`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::set_playback_configuration_name):<br>required: **true**<br><p>Retrieves the prefetch schedule(s) for a specific playback configuration.</p><br>
/// - [`stream_id(impl Into<String>)`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::stream_id) / [`set_stream_id(Option<String>)`](crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::set_stream_id):<br>required: **false**<br><p>An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.</p><br>
/// - On success, responds with [`ListPrefetchSchedulesOutput`](crate::operation::list_prefetch_schedules::ListPrefetchSchedulesOutput) with field(s):
/// - [`items(Option<Vec::<PrefetchSchedule>>)`](crate::operation::list_prefetch_schedules::ListPrefetchSchedulesOutput::items): <p>Lists the prefetch schedules. An empty <code>Items</code> list doesn't mean there aren't more items to fetch, just that that page was empty.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_prefetch_schedules::ListPrefetchSchedulesOutput::next_token): <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p>
/// - On failure, responds with [`SdkError<ListPrefetchSchedulesError>`](crate::operation::list_prefetch_schedules::ListPrefetchSchedulesError)
pub fn list_prefetch_schedules(&self) -> crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder {
crate::operation::list_prefetch_schedules::builders::ListPrefetchSchedulesFluentBuilder::new(self.handle.clone())
}
}