aws_sdk_kinesis/client/
describe_limits.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 [`DescribeLimits`](crate::operation::describe_limits::builders::DescribeLimitsFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_limits::builders::DescribeLimitsFluentBuilder::send) it.
6    /// - On success, responds with [`DescribeLimitsOutput`](crate::operation::describe_limits::DescribeLimitsOutput) with field(s):
7    ///   - [`shard_limit(i32)`](crate::operation::describe_limits::DescribeLimitsOutput::shard_limit): <p>The maximum number of shards.</p>
8    ///   - [`open_shard_count(i32)`](crate::operation::describe_limits::DescribeLimitsOutput::open_shard_count): <p>The number of open shards.</p>
9    ///   - [`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>
10    ///   - [`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>
11    /// - On failure, responds with [`SdkError<DescribeLimitsError>`](crate::operation::describe_limits::DescribeLimitsError)
12    pub fn describe_limits(&self) -> crate::operation::describe_limits::builders::DescribeLimitsFluentBuilder {
13        crate::operation::describe_limits::builders::DescribeLimitsFluentBuilder::new(self.handle.clone())
14    }
15}