1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeLimits`](crate::operation::describe_limits::builders::DescribeLimitsFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_limits::builders::DescribeLimitsFluentBuilder::send) it.
    /// - On success, responds with [`DescribeLimitsOutput`](crate::operation::describe_limits::DescribeLimitsOutput) with field(s):
    ///   - [`shard_limit(i32)`](crate::operation::describe_limits::DescribeLimitsOutput::shard_limit): <p>The maximum number of shards.</p>
    ///   - [`open_shard_count(i32)`](crate::operation::describe_limits::DescribeLimitsOutput::open_shard_count): <p>The number of open shards.</p>
    ///   - [`on_demand_stream_count(i32)`](crate::operation::describe_limits::DescribeLimitsOutput::on_demand_stream_count): <p> Indicates the number of data streams with the on-demand capacity mode.</p>
    ///   - [`on_demand_stream_count_limit(i32)`](crate::operation::describe_limits::DescribeLimitsOutput::on_demand_stream_count_limit): <p> The maximum number of data streams with the on-demand capacity mode. </p>
    /// - On failure, responds with [`SdkError<DescribeLimitsError>`](crate::operation::describe_limits::DescribeLimitsError)
    pub fn describe_limits(&self) -> crate::operation::describe_limits::builders::DescribeLimitsFluentBuilder {
        crate::operation::describe_limits::builders::DescribeLimitsFluentBuilder::new(self.handle.clone())
    }
}