// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListCapacityReservations`](crate::operation::list_capacity_reservations::builders::ListCapacityReservationsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_capacity_reservations::builders::ListCapacityReservationsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`next_token(impl Into<String>)`](crate::operation::list_capacity_reservations::builders::ListCapacityReservationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_capacity_reservations::builders::ListCapacityReservationsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.</p><br>
/// - [`max_results(i32)`](crate::operation::list_capacity_reservations::builders::ListCapacityReservationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_capacity_reservations::builders::ListCapacityReservationsFluentBuilder::set_max_results):<br>required: **false**<br><p>Specifies the maximum number of results to return.</p><br>
/// - On success, responds with [`ListCapacityReservationsOutput`](crate::operation::list_capacity_reservations::ListCapacityReservationsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::list_capacity_reservations::ListCapacityReservationsOutput::next_token): <p>A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.</p>
/// - [`capacity_reservations(Vec::<CapacityReservation>)`](crate::operation::list_capacity_reservations::ListCapacityReservationsOutput::capacity_reservations): <p>The capacity reservations for the current account.</p>
/// - On failure, responds with [`SdkError<ListCapacityReservationsError>`](crate::operation::list_capacity_reservations::ListCapacityReservationsError)
pub fn list_capacity_reservations(&self) -> crate::operation::list_capacity_reservations::builders::ListCapacityReservationsFluentBuilder {
crate::operation::list_capacity_reservations::builders::ListCapacityReservationsFluentBuilder::new(self.handle.clone())
}
}