1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListApiDestinations`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name_prefix(impl Into<String>)`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::name_prefix) / [`set_name_prefix(Option<String>)`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::set_name_prefix):<br>required: **false**<br><p>A name prefix to filter results returned. Only API destinations with a name that starts with the prefix are returned.</p><br>
    ///   - [`connection_arn(impl Into<String>)`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::connection_arn) / [`set_connection_arn(Option<String>)`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::set_connection_arn):<br>required: **false**<br><p>The ARN of the connection specified for the API destination.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned by a previous call to retrieve the next set of results.</p><br>
    ///   - [`limit(i32)`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of API destinations to include in the response.</p><br>
    /// - On success, responds with [`ListApiDestinationsOutput`](crate::operation::list_api_destinations::ListApiDestinationsOutput) with field(s):
    ///   - [`api_destinations(Option<Vec::<ApiDestination>>)`](crate::operation::list_api_destinations::ListApiDestinationsOutput::api_destinations): <p>An array of <code>ApiDestination</code> objects that include information about an API destination.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_api_destinations::ListApiDestinationsOutput::next_token): <p>A token you can use in a subsequent request to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListApiDestinationsError>`](crate::operation::list_api_destinations::ListApiDestinationsError)
    pub fn list_api_destinations(&self) -> crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder {
        crate::operation::list_api_destinations::builders::ListApiDestinationsFluentBuilder::new(self.handle.clone())
    }
}