1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeBandwidthRateLimit`](crate::operation::describe_bandwidth_rate_limit::builders::DescribeBandwidthRateLimitFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::describe_bandwidth_rate_limit::builders::DescribeBandwidthRateLimitFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::describe_bandwidth_rate_limit::builders::DescribeBandwidthRateLimitFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
    /// - On success, responds with [`DescribeBandwidthRateLimitOutput`](crate::operation::describe_bandwidth_rate_limit::DescribeBandwidthRateLimitOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::describe_bandwidth_rate_limit::DescribeBandwidthRateLimitOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p>
    ///   - [`average_upload_rate_limit_in_bits_per_sec(Option<i64>)`](crate::operation::describe_bandwidth_rate_limit::DescribeBandwidthRateLimitOutput::average_upload_rate_limit_in_bits_per_sec): <p>The average upload bandwidth rate limit in bits per second. This field does not appear in the response if the upload rate limit is not set.</p>
    ///   - [`average_download_rate_limit_in_bits_per_sec(Option<i64>)`](crate::operation::describe_bandwidth_rate_limit::DescribeBandwidthRateLimitOutput::average_download_rate_limit_in_bits_per_sec): <p>The average download bandwidth rate limit in bits per second. This field does not appear in the response if the download rate limit is not set.</p>
    /// - On failure, responds with [`SdkError<DescribeBandwidthRateLimitError>`](crate::operation::describe_bandwidth_rate_limit::DescribeBandwidthRateLimitError)
    pub fn describe_bandwidth_rate_limit(
        &self,
    ) -> crate::operation::describe_bandwidth_rate_limit::builders::DescribeBandwidthRateLimitFluentBuilder {
        crate::operation::describe_bandwidth_rate_limit::builders::DescribeBandwidthRateLimitFluentBuilder::new(self.handle.clone())
    }
}