Struct aws_sdk_storagegateway::client::fluent_builders::UpdateBandwidthRateLimitSchedule [−][src]
pub struct UpdateBandwidthRateLimitSchedule<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateBandwidthRateLimitSchedule
.
Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This operation is supported in the volume and tape gateway types.
Implementations
impl<C, M, R> UpdateBandwidthRateLimitSchedule<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateBandwidthRateLimitSchedule<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateBandwidthRateLimitScheduleOutput, SdkError<UpdateBandwidthRateLimitScheduleError>> where
R::Policy: SmithyRetryPolicy<UpdateBandwidthRateLimitScheduleInputOperationOutputAlias, UpdateBandwidthRateLimitScheduleOutput, UpdateBandwidthRateLimitScheduleError, UpdateBandwidthRateLimitScheduleInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateBandwidthRateLimitScheduleOutput, SdkError<UpdateBandwidthRateLimitScheduleError>> where
R::Policy: SmithyRetryPolicy<UpdateBandwidthRateLimitScheduleInputOperationOutputAlias, UpdateBandwidthRateLimitScheduleOutput, UpdateBandwidthRateLimitScheduleError, UpdateBandwidthRateLimitScheduleInputOperationRetryAlias>,
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.
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.
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.
pub fn bandwidth_rate_limit_intervals(
self,
inp: impl Into<BandwidthRateLimitInterval>
) -> Self
pub fn bandwidth_rate_limit_intervals(
self,
inp: impl Into<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.
pub 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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateBandwidthRateLimitSchedule<C, M, R>
impl<C, M, R> Send for UpdateBandwidthRateLimitSchedule<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateBandwidthRateLimitSchedule<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateBandwidthRateLimitSchedule<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateBandwidthRateLimitSchedule<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more