amazonka-storagegateway-1.4.3: Amazon Storage Gateway SDK.

Copyright(c) 2013-2016 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.DescribeBandwidthRateLimit

Contents

Description

Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect.

This operation only returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request.

Synopsis

Creating a Request

describeBandwidthRateLimit Source #

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

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

data DescribeBandwidthRateLimit Source #

A JSON object containing the of the gateway.

See: describeBandwidthRateLimit smart constructor.

Instances

Eq DescribeBandwidthRateLimit Source # 
Data DescribeBandwidthRateLimit Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeBandwidthRateLimit -> c DescribeBandwidthRateLimit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeBandwidthRateLimit #

toConstr :: DescribeBandwidthRateLimit -> Constr #

dataTypeOf :: DescribeBandwidthRateLimit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeBandwidthRateLimit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeBandwidthRateLimit) #

gmapT :: (forall b. Data b => b -> b) -> DescribeBandwidthRateLimit -> DescribeBandwidthRateLimit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeBandwidthRateLimit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeBandwidthRateLimit -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeBandwidthRateLimit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeBandwidthRateLimit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeBandwidthRateLimit -> m DescribeBandwidthRateLimit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeBandwidthRateLimit -> m DescribeBandwidthRateLimit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeBandwidthRateLimit -> m DescribeBandwidthRateLimit #

Read DescribeBandwidthRateLimit Source # 
Show DescribeBandwidthRateLimit Source # 
Generic DescribeBandwidthRateLimit Source # 
ToJSON DescribeBandwidthRateLimit Source # 
Hashable DescribeBandwidthRateLimit Source # 
NFData DescribeBandwidthRateLimit Source # 
AWSRequest DescribeBandwidthRateLimit Source # 
ToPath DescribeBandwidthRateLimit Source # 
ToHeaders DescribeBandwidthRateLimit Source # 
ToQuery DescribeBandwidthRateLimit Source # 
type Rep DescribeBandwidthRateLimit Source # 
type Rep DescribeBandwidthRateLimit = D1 (MetaData "DescribeBandwidthRateLimit" "Network.AWS.StorageGateway.DescribeBandwidthRateLimit" "amazonka-storagegateway-1.4.3-1vbLkcG6haz5xfGUV2OLbS" True) (C1 (MetaCons "DescribeBandwidthRateLimit'" PrefixI True) (S1 (MetaSel (Just Symbol "_dbrlGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeBandwidthRateLimit Source # 

Request Lenses

Destructuring the Response

data DescribeBandwidthRateLimitResponse Source #

A JSON object containing the following fields:

See: describeBandwidthRateLimitResponse smart constructor.

Instances

Eq DescribeBandwidthRateLimitResponse Source # 
Data DescribeBandwidthRateLimitResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeBandwidthRateLimitResponse -> c DescribeBandwidthRateLimitResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeBandwidthRateLimitResponse #

toConstr :: DescribeBandwidthRateLimitResponse -> Constr #

dataTypeOf :: DescribeBandwidthRateLimitResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeBandwidthRateLimitResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeBandwidthRateLimitResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeBandwidthRateLimitResponse -> DescribeBandwidthRateLimitResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeBandwidthRateLimitResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeBandwidthRateLimitResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeBandwidthRateLimitResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeBandwidthRateLimitResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeBandwidthRateLimitResponse -> m DescribeBandwidthRateLimitResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeBandwidthRateLimitResponse -> m DescribeBandwidthRateLimitResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeBandwidthRateLimitResponse -> m DescribeBandwidthRateLimitResponse #

Read DescribeBandwidthRateLimitResponse Source # 
Show DescribeBandwidthRateLimitResponse Source # 
Generic DescribeBandwidthRateLimitResponse Source # 
NFData DescribeBandwidthRateLimitResponse Source # 
type Rep DescribeBandwidthRateLimitResponse Source # 
type Rep DescribeBandwidthRateLimitResponse = D1 (MetaData "DescribeBandwidthRateLimitResponse" "Network.AWS.StorageGateway.DescribeBandwidthRateLimit" "amazonka-storagegateway-1.4.3-1vbLkcG6haz5xfGUV2OLbS" False) (C1 (MetaCons "DescribeBandwidthRateLimitResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dbrlrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dbrlrsAverageUploadRateLimitInBitsPerSec") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) ((:*:) (S1 (MetaSel (Just Symbol "_dbrlrsAverageDownloadRateLimitInBitsPerSec") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dbrlrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dbrlrsAverageUploadRateLimitInBitsPerSec :: Lens' DescribeBandwidthRateLimitResponse (Maybe Natural) Source #

The average upload bandwidth rate limit in bits per second. This field does not appear in the response if the upload rate limit is not set.

dbrlrsAverageDownloadRateLimitInBitsPerSec :: Lens' DescribeBandwidthRateLimitResponse (Maybe Natural) Source #

The average download bandwidth rate limit in bits per second. This field does not appear in the response if the download rate limit is not set.