pub struct PutBandwidthRateLimitSchedule { /* private fields */ }
Expand description
Fluent builder constructing a request to PutBandwidthRateLimitSchedule
.
This action sets the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have a bandwidth rate limit schedule, which means no bandwidth rate limiting is in effect. Use this to initiate a gateway's bandwidth rate limit schedule.
Implementations§
source§impl PutBandwidthRateLimitSchedule
impl PutBandwidthRateLimitSchedule
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PutBandwidthRateLimitSchedule, AwsResponseRetryClassifier>, SdkError<PutBandwidthRateLimitScheduleError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PutBandwidthRateLimitSchedule, AwsResponseRetryClassifier>, SdkError<PutBandwidthRateLimitScheduleError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<PutBandwidthRateLimitScheduleOutput, SdkError<PutBandwidthRateLimitScheduleError>>
pub async fn send(
self
) -> Result<PutBandwidthRateLimitScheduleOutput, SdkError<PutBandwidthRateLimitScheduleError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn bandwidth_rate_limit_intervals(
self,
input: BandwidthRateLimitInterval
) -> Self
pub fn bandwidth_rate_limit_intervals(
self,
input: BandwidthRateLimitInterval
) -> Self
Appends an item to BandwidthRateLimitIntervals
.
To override the contents of this collection use set_bandwidth_rate_limit_intervals
.
An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
sourcepub fn set_bandwidth_rate_limit_intervals(
self,
input: Option<Vec<BandwidthRateLimitInterval>>
) -> Self
pub fn set_bandwidth_rate_limit_intervals(
self,
input: Option<Vec<BandwidthRateLimitInterval>>
) -> Self
An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
Trait Implementations§
source§impl Clone for PutBandwidthRateLimitSchedule
impl Clone for PutBandwidthRateLimitSchedule
source§fn clone(&self) -> PutBandwidthRateLimitSchedule
fn clone(&self) -> PutBandwidthRateLimitSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more