aws-sdk-cloudwatchlogs 0.25.1

AWS SDK for Amazon CloudWatch Logs
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeDestinations`](crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`destination_name_prefix(impl Into<String>)`](crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder::destination_name_prefix) / [`set_destination_name_prefix(Option<String>)`](crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder::set_destination_name_prefix): <p>The prefix to match. If you don't specify a value, no prefix filter is applied.</p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder::set_next_token): <p>The token for the next set of items to return. (You received this token from a previous call.)</p>
    ///   - [`limit(i32)`](crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder::set_limit): <p>The maximum number of items returned. If you don't specify a value, the default maximum value of 50 items is used.</p>
    /// - On success, responds with [`DescribeDestinationsOutput`](crate::operation::describe_destinations::DescribeDestinationsOutput) with field(s):
    ///   - [`destinations(Option<Vec<Destination>>)`](crate::operation::describe_destinations::DescribeDestinationsOutput::destinations): <p>The destinations.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_destinations::DescribeDestinationsOutput::next_token): <p>The token for the next set of items to return. The token expires after 24 hours.</p>
    /// - On failure, responds with [`SdkError<DescribeDestinationsError>`](crate::operation::describe_destinations::DescribeDestinationsError)
    pub fn describe_destinations(
        &self,
    ) -> crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder {
        crate::operation::describe_destinations::builders::DescribeDestinationsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}