1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutBandwidthRateLimitSchedule`](crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway. Use the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BGW_ListGateways.html"> <code>ListGateways</code> </a> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
    ///   - [`bandwidth_rate_limit_intervals(BandwidthRateLimitInterval)`](crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder::bandwidth_rate_limit_intervals) / [`set_bandwidth_rate_limit_intervals(Option<Vec::<BandwidthRateLimitInterval>>)`](crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder::set_bandwidth_rate_limit_intervals):<br>required: **true**<br><p>An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.</p><br>
    /// - On success, responds with [`PutBandwidthRateLimitScheduleOutput`](crate::operation::put_bandwidth_rate_limit_schedule::PutBandwidthRateLimitScheduleOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::put_bandwidth_rate_limit_schedule::PutBandwidthRateLimitScheduleOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway. Use the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BGW_ListGateways.html"> <code>ListGateways</code> </a> operation to return a list of gateways for your account and Amazon Web Services Region.</p>
    /// - On failure, responds with [`SdkError<PutBandwidthRateLimitScheduleError>`](crate::operation::put_bandwidth_rate_limit_schedule::PutBandwidthRateLimitScheduleError)
    pub fn put_bandwidth_rate_limit_schedule(
        &self,
    ) -> crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder {
        crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder::new(self.handle.clone())
    }
}