{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.StorageGateway.DescribeBandwidthRateLimit
(
DescribeBandwidthRateLimit (..),
newDescribeBandwidthRateLimit,
describeBandwidthRateLimit_gatewayARN,
DescribeBandwidthRateLimitResponse (..),
newDescribeBandwidthRateLimitResponse,
describeBandwidthRateLimitResponse_gatewayARN,
describeBandwidthRateLimitResponse_averageUploadRateLimitInBitsPerSec,
describeBandwidthRateLimitResponse_averageDownloadRateLimitInBitsPerSec,
describeBandwidthRateLimitResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.StorageGateway.Types
data DescribeBandwidthRateLimit = DescribeBandwidthRateLimit'
{ DescribeBandwidthRateLimit -> Text
gatewayARN :: Prelude.Text
}
deriving (DescribeBandwidthRateLimit -> DescribeBandwidthRateLimit -> Bool
(DescribeBandwidthRateLimit -> DescribeBandwidthRateLimit -> Bool)
-> (DescribeBandwidthRateLimit
-> DescribeBandwidthRateLimit -> Bool)
-> Eq DescribeBandwidthRateLimit
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeBandwidthRateLimit -> DescribeBandwidthRateLimit -> Bool
$c/= :: DescribeBandwidthRateLimit -> DescribeBandwidthRateLimit -> Bool
== :: DescribeBandwidthRateLimit -> DescribeBandwidthRateLimit -> Bool
$c== :: DescribeBandwidthRateLimit -> DescribeBandwidthRateLimit -> Bool
Prelude.Eq, ReadPrec [DescribeBandwidthRateLimit]
ReadPrec DescribeBandwidthRateLimit
Int -> ReadS DescribeBandwidthRateLimit
ReadS [DescribeBandwidthRateLimit]
(Int -> ReadS DescribeBandwidthRateLimit)
-> ReadS [DescribeBandwidthRateLimit]
-> ReadPrec DescribeBandwidthRateLimit
-> ReadPrec [DescribeBandwidthRateLimit]
-> Read DescribeBandwidthRateLimit
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeBandwidthRateLimit]
$creadListPrec :: ReadPrec [DescribeBandwidthRateLimit]
readPrec :: ReadPrec DescribeBandwidthRateLimit
$creadPrec :: ReadPrec DescribeBandwidthRateLimit
readList :: ReadS [DescribeBandwidthRateLimit]
$creadList :: ReadS [DescribeBandwidthRateLimit]
readsPrec :: Int -> ReadS DescribeBandwidthRateLimit
$creadsPrec :: Int -> ReadS DescribeBandwidthRateLimit
Prelude.Read, Int -> DescribeBandwidthRateLimit -> ShowS
[DescribeBandwidthRateLimit] -> ShowS
DescribeBandwidthRateLimit -> String
(Int -> DescribeBandwidthRateLimit -> ShowS)
-> (DescribeBandwidthRateLimit -> String)
-> ([DescribeBandwidthRateLimit] -> ShowS)
-> Show DescribeBandwidthRateLimit
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeBandwidthRateLimit] -> ShowS
$cshowList :: [DescribeBandwidthRateLimit] -> ShowS
show :: DescribeBandwidthRateLimit -> String
$cshow :: DescribeBandwidthRateLimit -> String
showsPrec :: Int -> DescribeBandwidthRateLimit -> ShowS
$cshowsPrec :: Int -> DescribeBandwidthRateLimit -> ShowS
Prelude.Show, (forall x.
DescribeBandwidthRateLimit -> Rep DescribeBandwidthRateLimit x)
-> (forall x.
Rep DescribeBandwidthRateLimit x -> DescribeBandwidthRateLimit)
-> Generic DescribeBandwidthRateLimit
forall x.
Rep DescribeBandwidthRateLimit x -> DescribeBandwidthRateLimit
forall x.
DescribeBandwidthRateLimit -> Rep DescribeBandwidthRateLimit x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeBandwidthRateLimit x -> DescribeBandwidthRateLimit
$cfrom :: forall x.
DescribeBandwidthRateLimit -> Rep DescribeBandwidthRateLimit x
Prelude.Generic)
newDescribeBandwidthRateLimit ::
Prelude.Text ->
DescribeBandwidthRateLimit
newDescribeBandwidthRateLimit :: Text -> DescribeBandwidthRateLimit
newDescribeBandwidthRateLimit Text
pGatewayARN_ =
DescribeBandwidthRateLimit' :: Text -> DescribeBandwidthRateLimit
DescribeBandwidthRateLimit'
{ $sel:gatewayARN:DescribeBandwidthRateLimit' :: Text
gatewayARN =
Text
pGatewayARN_
}
describeBandwidthRateLimit_gatewayARN :: Lens.Lens' DescribeBandwidthRateLimit Prelude.Text
describeBandwidthRateLimit_gatewayARN :: (Text -> f Text)
-> DescribeBandwidthRateLimit -> f DescribeBandwidthRateLimit
describeBandwidthRateLimit_gatewayARN = (DescribeBandwidthRateLimit -> Text)
-> (DescribeBandwidthRateLimit
-> Text -> DescribeBandwidthRateLimit)
-> Lens
DescribeBandwidthRateLimit DescribeBandwidthRateLimit Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimit' {Text
gatewayARN :: Text
$sel:gatewayARN:DescribeBandwidthRateLimit' :: DescribeBandwidthRateLimit -> Text
gatewayARN} -> Text
gatewayARN) (\s :: DescribeBandwidthRateLimit
s@DescribeBandwidthRateLimit' {} Text
a -> DescribeBandwidthRateLimit
s {$sel:gatewayARN:DescribeBandwidthRateLimit' :: Text
gatewayARN = Text
a} :: DescribeBandwidthRateLimit)
instance Core.AWSRequest DescribeBandwidthRateLimit where
type
AWSResponse DescribeBandwidthRateLimit =
DescribeBandwidthRateLimitResponse
request :: DescribeBandwidthRateLimit -> Request DescribeBandwidthRateLimit
request = Service
-> DescribeBandwidthRateLimit -> Request DescribeBandwidthRateLimit
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeBandwidthRateLimit
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeBandwidthRateLimit)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeBandwidthRateLimit))
-> Logger
-> Service
-> Proxy DescribeBandwidthRateLimit
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeBandwidthRateLimit)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Int
-> DescribeBandwidthRateLimitResponse
DescribeBandwidthRateLimitResponse'
(Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Int
-> DescribeBandwidthRateLimitResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Natural
-> Maybe Natural -> Int -> DescribeBandwidthRateLimitResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"GatewayARN")
Either
String
(Maybe Natural
-> Maybe Natural -> Int -> DescribeBandwidthRateLimitResponse)
-> Either String (Maybe Natural)
-> Either
String (Maybe Natural -> Int -> DescribeBandwidthRateLimitResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"AverageUploadRateLimitInBitsPerSec")
Either
String (Maybe Natural -> Int -> DescribeBandwidthRateLimitResponse)
-> Either String (Maybe Natural)
-> Either String (Int -> DescribeBandwidthRateLimitResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"AverageDownloadRateLimitInBitsPerSec")
Either String (Int -> DescribeBandwidthRateLimitResponse)
-> Either String Int
-> Either String DescribeBandwidthRateLimitResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable DescribeBandwidthRateLimit
instance Prelude.NFData DescribeBandwidthRateLimit
instance Core.ToHeaders DescribeBandwidthRateLimit where
toHeaders :: DescribeBandwidthRateLimit -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeBandwidthRateLimit -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"StorageGateway_20130630.DescribeBandwidthRateLimit" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON DescribeBandwidthRateLimit where
toJSON :: DescribeBandwidthRateLimit -> Value
toJSON DescribeBandwidthRateLimit' {Text
gatewayARN :: Text
$sel:gatewayARN:DescribeBandwidthRateLimit' :: DescribeBandwidthRateLimit -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"GatewayARN" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
gatewayARN)]
)
instance Core.ToPath DescribeBandwidthRateLimit where
toPath :: DescribeBandwidthRateLimit -> ByteString
toPath = ByteString -> DescribeBandwidthRateLimit -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeBandwidthRateLimit where
toQuery :: DescribeBandwidthRateLimit -> QueryString
toQuery = QueryString -> DescribeBandwidthRateLimit -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeBandwidthRateLimitResponse = DescribeBandwidthRateLimitResponse'
{ DescribeBandwidthRateLimitResponse -> Maybe Text
gatewayARN :: Prelude.Maybe Prelude.Text,
DescribeBandwidthRateLimitResponse -> Maybe Natural
averageUploadRateLimitInBitsPerSec :: Prelude.Maybe Prelude.Natural,
DescribeBandwidthRateLimitResponse -> Maybe Natural
averageDownloadRateLimitInBitsPerSec :: Prelude.Maybe Prelude.Natural,
DescribeBandwidthRateLimitResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeBandwidthRateLimitResponse
-> DescribeBandwidthRateLimitResponse -> Bool
(DescribeBandwidthRateLimitResponse
-> DescribeBandwidthRateLimitResponse -> Bool)
-> (DescribeBandwidthRateLimitResponse
-> DescribeBandwidthRateLimitResponse -> Bool)
-> Eq DescribeBandwidthRateLimitResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeBandwidthRateLimitResponse
-> DescribeBandwidthRateLimitResponse -> Bool
$c/= :: DescribeBandwidthRateLimitResponse
-> DescribeBandwidthRateLimitResponse -> Bool
== :: DescribeBandwidthRateLimitResponse
-> DescribeBandwidthRateLimitResponse -> Bool
$c== :: DescribeBandwidthRateLimitResponse
-> DescribeBandwidthRateLimitResponse -> Bool
Prelude.Eq, ReadPrec [DescribeBandwidthRateLimitResponse]
ReadPrec DescribeBandwidthRateLimitResponse
Int -> ReadS DescribeBandwidthRateLimitResponse
ReadS [DescribeBandwidthRateLimitResponse]
(Int -> ReadS DescribeBandwidthRateLimitResponse)
-> ReadS [DescribeBandwidthRateLimitResponse]
-> ReadPrec DescribeBandwidthRateLimitResponse
-> ReadPrec [DescribeBandwidthRateLimitResponse]
-> Read DescribeBandwidthRateLimitResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeBandwidthRateLimitResponse]
$creadListPrec :: ReadPrec [DescribeBandwidthRateLimitResponse]
readPrec :: ReadPrec DescribeBandwidthRateLimitResponse
$creadPrec :: ReadPrec DescribeBandwidthRateLimitResponse
readList :: ReadS [DescribeBandwidthRateLimitResponse]
$creadList :: ReadS [DescribeBandwidthRateLimitResponse]
readsPrec :: Int -> ReadS DescribeBandwidthRateLimitResponse
$creadsPrec :: Int -> ReadS DescribeBandwidthRateLimitResponse
Prelude.Read, Int -> DescribeBandwidthRateLimitResponse -> ShowS
[DescribeBandwidthRateLimitResponse] -> ShowS
DescribeBandwidthRateLimitResponse -> String
(Int -> DescribeBandwidthRateLimitResponse -> ShowS)
-> (DescribeBandwidthRateLimitResponse -> String)
-> ([DescribeBandwidthRateLimitResponse] -> ShowS)
-> Show DescribeBandwidthRateLimitResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeBandwidthRateLimitResponse] -> ShowS
$cshowList :: [DescribeBandwidthRateLimitResponse] -> ShowS
show :: DescribeBandwidthRateLimitResponse -> String
$cshow :: DescribeBandwidthRateLimitResponse -> String
showsPrec :: Int -> DescribeBandwidthRateLimitResponse -> ShowS
$cshowsPrec :: Int -> DescribeBandwidthRateLimitResponse -> ShowS
Prelude.Show, (forall x.
DescribeBandwidthRateLimitResponse
-> Rep DescribeBandwidthRateLimitResponse x)
-> (forall x.
Rep DescribeBandwidthRateLimitResponse x
-> DescribeBandwidthRateLimitResponse)
-> Generic DescribeBandwidthRateLimitResponse
forall x.
Rep DescribeBandwidthRateLimitResponse x
-> DescribeBandwidthRateLimitResponse
forall x.
DescribeBandwidthRateLimitResponse
-> Rep DescribeBandwidthRateLimitResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeBandwidthRateLimitResponse x
-> DescribeBandwidthRateLimitResponse
$cfrom :: forall x.
DescribeBandwidthRateLimitResponse
-> Rep DescribeBandwidthRateLimitResponse x
Prelude.Generic)
newDescribeBandwidthRateLimitResponse ::
Prelude.Int ->
DescribeBandwidthRateLimitResponse
newDescribeBandwidthRateLimitResponse :: Int -> DescribeBandwidthRateLimitResponse
newDescribeBandwidthRateLimitResponse Int
pHttpStatus_ =
DescribeBandwidthRateLimitResponse' :: Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Int
-> DescribeBandwidthRateLimitResponse
DescribeBandwidthRateLimitResponse'
{ $sel:gatewayARN:DescribeBandwidthRateLimitResponse' :: Maybe Text
gatewayARN =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:averageUploadRateLimitInBitsPerSec:DescribeBandwidthRateLimitResponse' :: Maybe Natural
averageUploadRateLimitInBitsPerSec =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:averageDownloadRateLimitInBitsPerSec:DescribeBandwidthRateLimitResponse' :: Maybe Natural
averageDownloadRateLimitInBitsPerSec =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeBandwidthRateLimitResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeBandwidthRateLimitResponse_gatewayARN :: Lens.Lens' DescribeBandwidthRateLimitResponse (Prelude.Maybe Prelude.Text)
describeBandwidthRateLimitResponse_gatewayARN :: (Maybe Text -> f (Maybe Text))
-> DescribeBandwidthRateLimitResponse
-> f DescribeBandwidthRateLimitResponse
describeBandwidthRateLimitResponse_gatewayARN = (DescribeBandwidthRateLimitResponse -> Maybe Text)
-> (DescribeBandwidthRateLimitResponse
-> Maybe Text -> DescribeBandwidthRateLimitResponse)
-> Lens
DescribeBandwidthRateLimitResponse
DescribeBandwidthRateLimitResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimitResponse' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:DescribeBandwidthRateLimitResponse' :: DescribeBandwidthRateLimitResponse -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: DescribeBandwidthRateLimitResponse
s@DescribeBandwidthRateLimitResponse' {} Maybe Text
a -> DescribeBandwidthRateLimitResponse
s {$sel:gatewayARN:DescribeBandwidthRateLimitResponse' :: Maybe Text
gatewayARN = Maybe Text
a} :: DescribeBandwidthRateLimitResponse)
describeBandwidthRateLimitResponse_averageUploadRateLimitInBitsPerSec :: Lens.Lens' DescribeBandwidthRateLimitResponse (Prelude.Maybe Prelude.Natural)
describeBandwidthRateLimitResponse_averageUploadRateLimitInBitsPerSec :: (Maybe Natural -> f (Maybe Natural))
-> DescribeBandwidthRateLimitResponse
-> f DescribeBandwidthRateLimitResponse
describeBandwidthRateLimitResponse_averageUploadRateLimitInBitsPerSec = (DescribeBandwidthRateLimitResponse -> Maybe Natural)
-> (DescribeBandwidthRateLimitResponse
-> Maybe Natural -> DescribeBandwidthRateLimitResponse)
-> Lens
DescribeBandwidthRateLimitResponse
DescribeBandwidthRateLimitResponse
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimitResponse' {Maybe Natural
averageUploadRateLimitInBitsPerSec :: Maybe Natural
$sel:averageUploadRateLimitInBitsPerSec:DescribeBandwidthRateLimitResponse' :: DescribeBandwidthRateLimitResponse -> Maybe Natural
averageUploadRateLimitInBitsPerSec} -> Maybe Natural
averageUploadRateLimitInBitsPerSec) (\s :: DescribeBandwidthRateLimitResponse
s@DescribeBandwidthRateLimitResponse' {} Maybe Natural
a -> DescribeBandwidthRateLimitResponse
s {$sel:averageUploadRateLimitInBitsPerSec:DescribeBandwidthRateLimitResponse' :: Maybe Natural
averageUploadRateLimitInBitsPerSec = Maybe Natural
a} :: DescribeBandwidthRateLimitResponse)
describeBandwidthRateLimitResponse_averageDownloadRateLimitInBitsPerSec :: Lens.Lens' DescribeBandwidthRateLimitResponse (Prelude.Maybe Prelude.Natural)
describeBandwidthRateLimitResponse_averageDownloadRateLimitInBitsPerSec :: (Maybe Natural -> f (Maybe Natural))
-> DescribeBandwidthRateLimitResponse
-> f DescribeBandwidthRateLimitResponse
describeBandwidthRateLimitResponse_averageDownloadRateLimitInBitsPerSec = (DescribeBandwidthRateLimitResponse -> Maybe Natural)
-> (DescribeBandwidthRateLimitResponse
-> Maybe Natural -> DescribeBandwidthRateLimitResponse)
-> Lens
DescribeBandwidthRateLimitResponse
DescribeBandwidthRateLimitResponse
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimitResponse' {Maybe Natural
averageDownloadRateLimitInBitsPerSec :: Maybe Natural
$sel:averageDownloadRateLimitInBitsPerSec:DescribeBandwidthRateLimitResponse' :: DescribeBandwidthRateLimitResponse -> Maybe Natural
averageDownloadRateLimitInBitsPerSec} -> Maybe Natural
averageDownloadRateLimitInBitsPerSec) (\s :: DescribeBandwidthRateLimitResponse
s@DescribeBandwidthRateLimitResponse' {} Maybe Natural
a -> DescribeBandwidthRateLimitResponse
s {$sel:averageDownloadRateLimitInBitsPerSec:DescribeBandwidthRateLimitResponse' :: Maybe Natural
averageDownloadRateLimitInBitsPerSec = Maybe Natural
a} :: DescribeBandwidthRateLimitResponse)
describeBandwidthRateLimitResponse_httpStatus :: Lens.Lens' DescribeBandwidthRateLimitResponse Prelude.Int
describeBandwidthRateLimitResponse_httpStatus :: (Int -> f Int)
-> DescribeBandwidthRateLimitResponse
-> f DescribeBandwidthRateLimitResponse
describeBandwidthRateLimitResponse_httpStatus = (DescribeBandwidthRateLimitResponse -> Int)
-> (DescribeBandwidthRateLimitResponse
-> Int -> DescribeBandwidthRateLimitResponse)
-> Lens
DescribeBandwidthRateLimitResponse
DescribeBandwidthRateLimitResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimitResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeBandwidthRateLimitResponse' :: DescribeBandwidthRateLimitResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeBandwidthRateLimitResponse
s@DescribeBandwidthRateLimitResponse' {} Int
a -> DescribeBandwidthRateLimitResponse
s {$sel:httpStatus:DescribeBandwidthRateLimitResponse' :: Int
httpStatus = Int
a} :: DescribeBandwidthRateLimitResponse)
instance
Prelude.NFData
DescribeBandwidthRateLimitResponse