// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDestinations`](crate::operation::list_destinations::builders::ListDestinationsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_destinations::builders::ListDestinationsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`max_results(i32)`](crate::operation::list_destinations::builders::ListDestinationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_destinations::builders::ListDestinationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in this operation.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_destinations::builders::ListDestinationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_destinations::builders::ListDestinationsFluentBuilder::set_next_token):<br>required: **false**<br><p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p><br>
/// - On success, responds with [`ListDestinationsOutput`](crate::operation::list_destinations::ListDestinationsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::list_destinations::ListDestinationsOutput::next_token): <p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>
/// - [`destination_list(Option<Vec::<Destinations>>)`](crate::operation::list_destinations::ListDestinationsOutput::destination_list): <p>The list of destinations.</p>
/// - On failure, responds with [`SdkError<ListDestinationsError>`](crate::operation::list_destinations::ListDestinationsError)
pub fn list_destinations(&self) -> crate::operation::list_destinations::builders::ListDestinationsFluentBuilder {
crate::operation::list_destinations::builders::ListDestinationsFluentBuilder::new(self.handle.clone())
}
}