Struct aws_sdk_storagegateway::client::fluent_builders::UpdateBandwidthRateLimitSchedule
source · [−]pub struct UpdateBandwidthRateLimitSchedule<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
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 only for volume, tape and S3 file gateways. FSx file gateways do not support bandwidth rate limits.
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.
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 = DefaultMiddleware, 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 = DefaultMiddleware, 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