// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListOtaTasks`](crate::operation::list_ota_tasks::builders::ListOtaTasksFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_ota_tasks::builders::ListOtaTasksFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`next_token(impl Into<String>)`](crate::operation::list_ota_tasks::builders::ListOtaTasksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_ota_tasks::builders::ListOtaTasksFluentBuilder::set_next_token):<br>required: **false**<br><p>A token that can be used to retrieve the next set of results.</p><br>
/// - [`max_results(i32)`](crate::operation::list_ota_tasks::builders::ListOtaTasksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_ota_tasks::builders::ListOtaTasksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return at one time.</p><br>
/// - On success, responds with [`ListOtaTasksOutput`](crate::operation::list_ota_tasks::ListOtaTasksOutput) with field(s):
/// - [`tasks(Option<Vec::<OtaTaskSummary>>)`](crate::operation::list_ota_tasks::ListOtaTasksOutput::tasks): <p>A list of all of the over-the-air (OTA) tasks.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_ota_tasks::ListOtaTasksOutput::next_token): <p>A token that can be used to retrieve the next set of results.</p>
/// - On failure, responds with [`SdkError<ListOtaTasksError>`](crate::operation::list_ota_tasks::ListOtaTasksError)
pub fn list_ota_tasks(&self) -> crate::operation::list_ota_tasks::builders::ListOtaTasksFluentBuilder {
crate::operation::list_ota_tasks::builders::ListOtaTasksFluentBuilder::new(self.handle.clone())
}
}