amazonka-storagegateway-1.3.0: Amazon Storage Gateway SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.UpdateBandwidthRateLimit

Contents

Description

This operation updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains.

By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth.

To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.

See: AWS API Reference for UpdateBandwidthRateLimit.

Synopsis

Creating a Request

updateBandwidthRateLimit Source

Creates a value of UpdateBandwidthRateLimit with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ubrlAverageUploadRateLimitInBitsPerSec :: Lens' UpdateBandwidthRateLimit (Maybe Natural) Source

The average upload bandwidth rate limit in bits per second.

ubrlAverageDownloadRateLimitInBitsPerSec :: Lens' UpdateBandwidthRateLimit (Maybe Natural) Source

The average download bandwidth rate limit in bits per second.

Destructuring the Response

updateBandwidthRateLimitResponse Source

Creates a value of UpdateBandwidthRateLimitResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses