aws_sdk_backupgateway/client/put_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 [`PutBandwidthRateLimitSchedule`](crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`PutBandwidthRateLimitScheduleOutput`](crate::operation::put_bandwidth_rate_limit_schedule::PutBandwidthRateLimitScheduleOutput) with field(s):
9 /// - [`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>
10 /// - On failure, responds with [`SdkError<PutBandwidthRateLimitScheduleError>`](crate::operation::put_bandwidth_rate_limit_schedule::PutBandwidthRateLimitScheduleError)
11 pub fn put_bandwidth_rate_limit_schedule(
12 &self,
13 ) -> crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder {
14 crate::operation::put_bandwidth_rate_limit_schedule::builders::PutBandwidthRateLimitScheduleFluentBuilder::new(self.handle.clone())
15 }
16}