1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::describe_limits::_describe_limits_output::DescribeLimitsOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::describe_limits::_describe_limits_input::DescribeLimitsInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::describe_limits::_describe_limits_output::DescribeLimitsOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::describe_limits::builders::DescribeLimitsInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::describe_limits::DescribeLimitsOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::describe_limits::DescribeLimitsError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.describe_limits();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DescribeLimits`.
|
24 24 | ///
|
25 25 | /// <p>Returns the current provisioned-capacity quotas for your AWS account in a Region, both for the Region as a whole and for any one DynamoDB table that you create there.</p>
|
26 26 | /// <p>When you establish an AWS account, the account has initial quotas on the maximum read capacity units and write capacity units that you can provision across all of your DynamoDB tables in a given Region. Also, there are per-table quotas that apply when you create a table there. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html">Service, Account, and Table Quotas</a> page in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
27 27 | /// <p>Although you can increase these quotas by filing a case at <a href="https://console.aws.amazon.com/support/home#/">AWS Support Center</a>, obtaining the increase is not instantaneous. The <code>DescribeLimits</code> action lets you write code to compare the capacity you are currently using to those quotas imposed by your account so that you have enough time to apply for an increase before you hit a quota.</p>
|
28 28 | /// <p>For example, you could use one of the AWS SDKs to do the following:</p>
|
29 29 | /// <ol>
|
30 30 | /// <li>
|
31 31 | /// <p>Call <code>DescribeLimits</code> for a particular Region to obtain your current account quotas on provisioned capacity there.</p></li>
|
32 32 | /// <li>
|
33 33 | /// <p>Create a variable to hold the aggregate read capacity units provisioned for all your tables in that Region, and one to hold the aggregate write capacity units. Zero them both.</p></li>
|
34 34 | /// <li>
|
35 35 | /// <p>Call <code>ListTables</code> to obtain a list of all your DynamoDB tables.</p></li>
|