aws_sdk_dynamodb/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    ///   - [`account_max_read_capacity_units(Option<i64>)`](crate::operation::describe_limits::DescribeLimitsOutput::account_max_read_capacity_units): <p>The maximum total read capacity units that your account allows you to provision across all of your tables in this Region.</p>
8    ///   - [`account_max_write_capacity_units(Option<i64>)`](crate::operation::describe_limits::DescribeLimitsOutput::account_max_write_capacity_units): <p>The maximum total write capacity units that your account allows you to provision across all of your tables in this Region.</p>
9    ///   - [`table_max_read_capacity_units(Option<i64>)`](crate::operation::describe_limits::DescribeLimitsOutput::table_max_read_capacity_units): <p>The maximum read capacity units that your account allows you to provision for a new table that you are creating in this Region, including the read capacity units provisioned for its global secondary indexes (GSIs).</p>
10    ///   - [`table_max_write_capacity_units(Option<i64>)`](crate::operation::describe_limits::DescribeLimitsOutput::table_max_write_capacity_units): <p>The maximum write capacity units that your account allows you to provision for a new table that you are creating in this Region, including the write capacity units provisioned for its global secondary indexes (GSIs).</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}