aws_sdk_storagegateway/client/update_bandwidth_rate_limit.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 [`UpdateBandwidthRateLimit`](crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`gateway_arn(impl Into<String>)`](crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder::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>
7 /// - [`average_upload_rate_limit_in_bits_per_sec(i64)`](crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder::average_upload_rate_limit_in_bits_per_sec) / [`set_average_upload_rate_limit_in_bits_per_sec(Option<i64>)`](crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder::set_average_upload_rate_limit_in_bits_per_sec):<br>required: **false**<br><p>The average upload bandwidth rate limit in bits per second.</p><br>
8 /// - [`average_download_rate_limit_in_bits_per_sec(i64)`](crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder::average_download_rate_limit_in_bits_per_sec) / [`set_average_download_rate_limit_in_bits_per_sec(Option<i64>)`](crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder::set_average_download_rate_limit_in_bits_per_sec):<br>required: **false**<br><p>The average download bandwidth rate limit in bits per second.</p><br>
9 /// - On success, responds with [`UpdateBandwidthRateLimitOutput`](crate::operation::update_bandwidth_rate_limit::UpdateBandwidthRateLimitOutput) with field(s):
10 /// - [`gateway_arn(Option<String>)`](crate::operation::update_bandwidth_rate_limit::UpdateBandwidthRateLimitOutput::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>
11 /// - On failure, responds with [`SdkError<UpdateBandwidthRateLimitError>`](crate::operation::update_bandwidth_rate_limit::UpdateBandwidthRateLimitError)
12 pub fn update_bandwidth_rate_limit(&self) -> crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder {
13 crate::operation::update_bandwidth_rate_limit::builders::UpdateBandwidthRateLimitFluentBuilder::new(self.handle.clone())
14 }
15}