aws_sdk_storagegateway/client/
describe_bandwidth_rate_limit_schedule.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 [`DescribeBandwidthRateLimitSchedule`](crate::operation::describe_bandwidth_rate_limit_schedule::builders::DescribeBandwidthRateLimitScheduleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::describe_bandwidth_rate_limit_schedule::builders::DescribeBandwidthRateLimitScheduleFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::describe_bandwidth_rate_limit_schedule::builders::DescribeBandwidthRateLimitScheduleFluentBuilder::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    /// - On success, responds with [`DescribeBandwidthRateLimitScheduleOutput`](crate::operation::describe_bandwidth_rate_limit_schedule::DescribeBandwidthRateLimitScheduleOutput) with field(s):
8    ///   - [`gateway_arn(Option<String>)`](crate::operation::describe_bandwidth_rate_limit_schedule::DescribeBandwidthRateLimitScheduleOutput::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>
9    ///   - [`bandwidth_rate_limit_intervals(Option<Vec::<BandwidthRateLimitInterval>>)`](crate::operation::describe_bandwidth_rate_limit_schedule::DescribeBandwidthRateLimitScheduleOutput::bandwidth_rate_limit_intervals): <p>An array that contains the bandwidth rate limit intervals for a tape or volume gateway.</p>
10    /// - On failure, responds with [`SdkError<DescribeBandwidthRateLimitScheduleError>`](crate::operation::describe_bandwidth_rate_limit_schedule::DescribeBandwidthRateLimitScheduleError)
11    pub fn describe_bandwidth_rate_limit_schedule(
12        &self,
13    ) -> crate::operation::describe_bandwidth_rate_limit_schedule::builders::DescribeBandwidthRateLimitScheduleFluentBuilder {
14        crate::operation::describe_bandwidth_rate_limit_schedule::builders::DescribeBandwidthRateLimitScheduleFluentBuilder::new(self.handle.clone())
15    }
16}