aws_sdk_cloudwatchlogs/client/
describe_delivery_sources.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DescribeDeliverySources`](crate::operation::describe_delivery_sources::builders::DescribeDeliverySourcesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_delivery_sources::builders::DescribeDeliverySourcesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_delivery_sources::builders::DescribeDeliverySourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_delivery_sources::builders::DescribeDeliverySourcesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. The token expires after 24 hours.</p><br>
8    ///   - [`limit(i32)`](crate::operation::describe_delivery_sources::builders::DescribeDeliverySourcesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::describe_delivery_sources::builders::DescribeDeliverySourcesFluentBuilder::set_limit):<br>required: **false**<br><p>Optionally specify the maximum number of delivery sources to return in the response.</p><br>
9    /// - On success, responds with [`DescribeDeliverySourcesOutput`](crate::operation::describe_delivery_sources::DescribeDeliverySourcesOutput) with field(s):
10    ///   - [`delivery_sources(Option<Vec::<DeliverySource>>)`](crate::operation::describe_delivery_sources::DescribeDeliverySourcesOutput::delivery_sources): <p>An array of structures. Each structure contains information about one delivery source in the account.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::describe_delivery_sources::DescribeDeliverySourcesOutput::next_token): <p>The token for the next set of items to return. The token expires after 24 hours.</p>
12    /// - On failure, responds with [`SdkError<DescribeDeliverySourcesError>`](crate::operation::describe_delivery_sources::DescribeDeliverySourcesError)
13    pub fn describe_delivery_sources(&self) -> crate::operation::describe_delivery_sources::builders::DescribeDeliverySourcesFluentBuilder {
14        crate::operation::describe_delivery_sources::builders::DescribeDeliverySourcesFluentBuilder::new(self.handle.clone())
15    }
16}