{-# 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.UpdateBandwidthRateLimitSchedule
(
UpdateBandwidthRateLimitSchedule (..),
newUpdateBandwidthRateLimitSchedule,
updateBandwidthRateLimitSchedule_gatewayARN,
updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals,
UpdateBandwidthRateLimitScheduleResponse (..),
newUpdateBandwidthRateLimitScheduleResponse,
updateBandwidthRateLimitScheduleResponse_gatewayARN,
updateBandwidthRateLimitScheduleResponse_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 UpdateBandwidthRateLimitSchedule = UpdateBandwidthRateLimitSchedule'
{ UpdateBandwidthRateLimitSchedule -> Text
gatewayARN :: Prelude.Text,
UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals :: [BandwidthRateLimitInterval]
}
deriving (UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
(UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool)
-> (UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool)
-> Eq UpdateBandwidthRateLimitSchedule
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
$c/= :: UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
== :: UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
$c== :: UpdateBandwidthRateLimitSchedule
-> UpdateBandwidthRateLimitSchedule -> Bool
Prelude.Eq, ReadPrec [UpdateBandwidthRateLimitSchedule]
ReadPrec UpdateBandwidthRateLimitSchedule
Int -> ReadS UpdateBandwidthRateLimitSchedule
ReadS [UpdateBandwidthRateLimitSchedule]
(Int -> ReadS UpdateBandwidthRateLimitSchedule)
-> ReadS [UpdateBandwidthRateLimitSchedule]
-> ReadPrec UpdateBandwidthRateLimitSchedule
-> ReadPrec [UpdateBandwidthRateLimitSchedule]
-> Read UpdateBandwidthRateLimitSchedule
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateBandwidthRateLimitSchedule]
$creadListPrec :: ReadPrec [UpdateBandwidthRateLimitSchedule]
readPrec :: ReadPrec UpdateBandwidthRateLimitSchedule
$creadPrec :: ReadPrec UpdateBandwidthRateLimitSchedule
readList :: ReadS [UpdateBandwidthRateLimitSchedule]
$creadList :: ReadS [UpdateBandwidthRateLimitSchedule]
readsPrec :: Int -> ReadS UpdateBandwidthRateLimitSchedule
$creadsPrec :: Int -> ReadS UpdateBandwidthRateLimitSchedule
Prelude.Read, Int -> UpdateBandwidthRateLimitSchedule -> ShowS
[UpdateBandwidthRateLimitSchedule] -> ShowS
UpdateBandwidthRateLimitSchedule -> String
(Int -> UpdateBandwidthRateLimitSchedule -> ShowS)
-> (UpdateBandwidthRateLimitSchedule -> String)
-> ([UpdateBandwidthRateLimitSchedule] -> ShowS)
-> Show UpdateBandwidthRateLimitSchedule
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateBandwidthRateLimitSchedule] -> ShowS
$cshowList :: [UpdateBandwidthRateLimitSchedule] -> ShowS
show :: UpdateBandwidthRateLimitSchedule -> String
$cshow :: UpdateBandwidthRateLimitSchedule -> String
showsPrec :: Int -> UpdateBandwidthRateLimitSchedule -> ShowS
$cshowsPrec :: Int -> UpdateBandwidthRateLimitSchedule -> ShowS
Prelude.Show, (forall x.
UpdateBandwidthRateLimitSchedule
-> Rep UpdateBandwidthRateLimitSchedule x)
-> (forall x.
Rep UpdateBandwidthRateLimitSchedule x
-> UpdateBandwidthRateLimitSchedule)
-> Generic UpdateBandwidthRateLimitSchedule
forall x.
Rep UpdateBandwidthRateLimitSchedule x
-> UpdateBandwidthRateLimitSchedule
forall x.
UpdateBandwidthRateLimitSchedule
-> Rep UpdateBandwidthRateLimitSchedule x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateBandwidthRateLimitSchedule x
-> UpdateBandwidthRateLimitSchedule
$cfrom :: forall x.
UpdateBandwidthRateLimitSchedule
-> Rep UpdateBandwidthRateLimitSchedule x
Prelude.Generic)
newUpdateBandwidthRateLimitSchedule ::
Prelude.Text ->
UpdateBandwidthRateLimitSchedule
newUpdateBandwidthRateLimitSchedule :: Text -> UpdateBandwidthRateLimitSchedule
newUpdateBandwidthRateLimitSchedule Text
pGatewayARN_ =
UpdateBandwidthRateLimitSchedule' :: Text
-> [BandwidthRateLimitInterval] -> UpdateBandwidthRateLimitSchedule
UpdateBandwidthRateLimitSchedule'
{ $sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: Text
gatewayARN =
Text
pGatewayARN_,
$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals =
[BandwidthRateLimitInterval]
forall a. Monoid a => a
Prelude.mempty
}
updateBandwidthRateLimitSchedule_gatewayARN :: Lens.Lens' UpdateBandwidthRateLimitSchedule Prelude.Text
updateBandwidthRateLimitSchedule_gatewayARN :: (Text -> f Text)
-> UpdateBandwidthRateLimitSchedule
-> f UpdateBandwidthRateLimitSchedule
updateBandwidthRateLimitSchedule_gatewayARN = (UpdateBandwidthRateLimitSchedule -> Text)
-> (UpdateBandwidthRateLimitSchedule
-> Text -> UpdateBandwidthRateLimitSchedule)
-> Lens
UpdateBandwidthRateLimitSchedule
UpdateBandwidthRateLimitSchedule
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateBandwidthRateLimitSchedule' {Text
gatewayARN :: Text
$sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> Text
gatewayARN} -> Text
gatewayARN) (\s :: UpdateBandwidthRateLimitSchedule
s@UpdateBandwidthRateLimitSchedule' {} Text
a -> UpdateBandwidthRateLimitSchedule
s {$sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: Text
gatewayARN = Text
a} :: UpdateBandwidthRateLimitSchedule)
updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals :: Lens.Lens' UpdateBandwidthRateLimitSchedule [BandwidthRateLimitInterval]
updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals :: ([BandwidthRateLimitInterval] -> f [BandwidthRateLimitInterval])
-> UpdateBandwidthRateLimitSchedule
-> f UpdateBandwidthRateLimitSchedule
updateBandwidthRateLimitSchedule_bandwidthRateLimitIntervals = (UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval])
-> (UpdateBandwidthRateLimitSchedule
-> [BandwidthRateLimitInterval]
-> UpdateBandwidthRateLimitSchedule)
-> Lens
UpdateBandwidthRateLimitSchedule
UpdateBandwidthRateLimitSchedule
[BandwidthRateLimitInterval]
[BandwidthRateLimitInterval]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateBandwidthRateLimitSchedule' {[BandwidthRateLimitInterval]
bandwidthRateLimitIntervals :: [BandwidthRateLimitInterval]
$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals} -> [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals) (\s :: UpdateBandwidthRateLimitSchedule
s@UpdateBandwidthRateLimitSchedule' {} [BandwidthRateLimitInterval]
a -> UpdateBandwidthRateLimitSchedule
s {$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals = [BandwidthRateLimitInterval]
a} :: UpdateBandwidthRateLimitSchedule) (([BandwidthRateLimitInterval] -> f [BandwidthRateLimitInterval])
-> UpdateBandwidthRateLimitSchedule
-> f UpdateBandwidthRateLimitSchedule)
-> (([BandwidthRateLimitInterval]
-> f [BandwidthRateLimitInterval])
-> [BandwidthRateLimitInterval] -> f [BandwidthRateLimitInterval])
-> ([BandwidthRateLimitInterval] -> f [BandwidthRateLimitInterval])
-> UpdateBandwidthRateLimitSchedule
-> f UpdateBandwidthRateLimitSchedule
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([BandwidthRateLimitInterval] -> f [BandwidthRateLimitInterval])
-> [BandwidthRateLimitInterval] -> f [BandwidthRateLimitInterval]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Core.AWSRequest
UpdateBandwidthRateLimitSchedule
where
type
AWSResponse UpdateBandwidthRateLimitSchedule =
UpdateBandwidthRateLimitScheduleResponse
request :: UpdateBandwidthRateLimitSchedule
-> Request UpdateBandwidthRateLimitSchedule
request = Service
-> UpdateBandwidthRateLimitSchedule
-> Request UpdateBandwidthRateLimitSchedule
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateBandwidthRateLimitSchedule
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse UpdateBandwidthRateLimitSchedule)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse UpdateBandwidthRateLimitSchedule))
-> Logger
-> Service
-> Proxy UpdateBandwidthRateLimitSchedule
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse UpdateBandwidthRateLimitSchedule)))
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 -> Int -> UpdateBandwidthRateLimitScheduleResponse
UpdateBandwidthRateLimitScheduleResponse'
(Maybe Text -> Int -> UpdateBandwidthRateLimitScheduleResponse)
-> Either String (Maybe Text)
-> Either String (Int -> UpdateBandwidthRateLimitScheduleResponse)
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 (Int -> UpdateBandwidthRateLimitScheduleResponse)
-> Either String Int
-> Either String UpdateBandwidthRateLimitScheduleResponse
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
UpdateBandwidthRateLimitSchedule
instance
Prelude.NFData
UpdateBandwidthRateLimitSchedule
instance
Core.ToHeaders
UpdateBandwidthRateLimitSchedule
where
toHeaders :: UpdateBandwidthRateLimitSchedule -> ResponseHeaders
toHeaders =
ResponseHeaders
-> UpdateBandwidthRateLimitSchedule -> 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.UpdateBandwidthRateLimitSchedule" ::
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 UpdateBandwidthRateLimitSchedule where
toJSON :: UpdateBandwidthRateLimitSchedule -> Value
toJSON UpdateBandwidthRateLimitSchedule' {[BandwidthRateLimitInterval]
Text
bandwidthRateLimitIntervals :: [BandwidthRateLimitInterval]
gatewayARN :: Text
$sel:bandwidthRateLimitIntervals:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> [BandwidthRateLimitInterval]
$sel:gatewayARN:UpdateBandwidthRateLimitSchedule' :: UpdateBandwidthRateLimitSchedule -> 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),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"BandwidthRateLimitIntervals"
Text -> [BandwidthRateLimitInterval] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals
)
]
)
instance Core.ToPath UpdateBandwidthRateLimitSchedule where
toPath :: UpdateBandwidthRateLimitSchedule -> ByteString
toPath = ByteString -> UpdateBandwidthRateLimitSchedule -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
UpdateBandwidthRateLimitSchedule
where
toQuery :: UpdateBandwidthRateLimitSchedule -> QueryString
toQuery = QueryString -> UpdateBandwidthRateLimitSchedule -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpdateBandwidthRateLimitScheduleResponse = UpdateBandwidthRateLimitScheduleResponse'
{ UpdateBandwidthRateLimitScheduleResponse -> Maybe Text
gatewayARN :: Prelude.Maybe Prelude.Text,
UpdateBandwidthRateLimitScheduleResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
(UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool)
-> (UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool)
-> Eq UpdateBandwidthRateLimitScheduleResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
$c/= :: UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
== :: UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
$c== :: UpdateBandwidthRateLimitScheduleResponse
-> UpdateBandwidthRateLimitScheduleResponse -> Bool
Prelude.Eq, ReadPrec [UpdateBandwidthRateLimitScheduleResponse]
ReadPrec UpdateBandwidthRateLimitScheduleResponse
Int -> ReadS UpdateBandwidthRateLimitScheduleResponse
ReadS [UpdateBandwidthRateLimitScheduleResponse]
(Int -> ReadS UpdateBandwidthRateLimitScheduleResponse)
-> ReadS [UpdateBandwidthRateLimitScheduleResponse]
-> ReadPrec UpdateBandwidthRateLimitScheduleResponse
-> ReadPrec [UpdateBandwidthRateLimitScheduleResponse]
-> Read UpdateBandwidthRateLimitScheduleResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateBandwidthRateLimitScheduleResponse]
$creadListPrec :: ReadPrec [UpdateBandwidthRateLimitScheduleResponse]
readPrec :: ReadPrec UpdateBandwidthRateLimitScheduleResponse
$creadPrec :: ReadPrec UpdateBandwidthRateLimitScheduleResponse
readList :: ReadS [UpdateBandwidthRateLimitScheduleResponse]
$creadList :: ReadS [UpdateBandwidthRateLimitScheduleResponse]
readsPrec :: Int -> ReadS UpdateBandwidthRateLimitScheduleResponse
$creadsPrec :: Int -> ReadS UpdateBandwidthRateLimitScheduleResponse
Prelude.Read, Int -> UpdateBandwidthRateLimitScheduleResponse -> ShowS
[UpdateBandwidthRateLimitScheduleResponse] -> ShowS
UpdateBandwidthRateLimitScheduleResponse -> String
(Int -> UpdateBandwidthRateLimitScheduleResponse -> ShowS)
-> (UpdateBandwidthRateLimitScheduleResponse -> String)
-> ([UpdateBandwidthRateLimitScheduleResponse] -> ShowS)
-> Show UpdateBandwidthRateLimitScheduleResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateBandwidthRateLimitScheduleResponse] -> ShowS
$cshowList :: [UpdateBandwidthRateLimitScheduleResponse] -> ShowS
show :: UpdateBandwidthRateLimitScheduleResponse -> String
$cshow :: UpdateBandwidthRateLimitScheduleResponse -> String
showsPrec :: Int -> UpdateBandwidthRateLimitScheduleResponse -> ShowS
$cshowsPrec :: Int -> UpdateBandwidthRateLimitScheduleResponse -> ShowS
Prelude.Show, (forall x.
UpdateBandwidthRateLimitScheduleResponse
-> Rep UpdateBandwidthRateLimitScheduleResponse x)
-> (forall x.
Rep UpdateBandwidthRateLimitScheduleResponse x
-> UpdateBandwidthRateLimitScheduleResponse)
-> Generic UpdateBandwidthRateLimitScheduleResponse
forall x.
Rep UpdateBandwidthRateLimitScheduleResponse x
-> UpdateBandwidthRateLimitScheduleResponse
forall x.
UpdateBandwidthRateLimitScheduleResponse
-> Rep UpdateBandwidthRateLimitScheduleResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateBandwidthRateLimitScheduleResponse x
-> UpdateBandwidthRateLimitScheduleResponse
$cfrom :: forall x.
UpdateBandwidthRateLimitScheduleResponse
-> Rep UpdateBandwidthRateLimitScheduleResponse x
Prelude.Generic)
newUpdateBandwidthRateLimitScheduleResponse ::
Prelude.Int ->
UpdateBandwidthRateLimitScheduleResponse
newUpdateBandwidthRateLimitScheduleResponse :: Int -> UpdateBandwidthRateLimitScheduleResponse
newUpdateBandwidthRateLimitScheduleResponse
Int
pHttpStatus_ =
UpdateBandwidthRateLimitScheduleResponse' :: Maybe Text -> Int -> UpdateBandwidthRateLimitScheduleResponse
UpdateBandwidthRateLimitScheduleResponse'
{ $sel:gatewayARN:UpdateBandwidthRateLimitScheduleResponse' :: Maybe Text
gatewayARN =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:UpdateBandwidthRateLimitScheduleResponse' :: Int
httpStatus = Int
pHttpStatus_
}
updateBandwidthRateLimitScheduleResponse_gatewayARN :: Lens.Lens' UpdateBandwidthRateLimitScheduleResponse (Prelude.Maybe Prelude.Text)
updateBandwidthRateLimitScheduleResponse_gatewayARN :: (Maybe Text -> f (Maybe Text))
-> UpdateBandwidthRateLimitScheduleResponse
-> f UpdateBandwidthRateLimitScheduleResponse
updateBandwidthRateLimitScheduleResponse_gatewayARN = (UpdateBandwidthRateLimitScheduleResponse -> Maybe Text)
-> (UpdateBandwidthRateLimitScheduleResponse
-> Maybe Text -> UpdateBandwidthRateLimitScheduleResponse)
-> Lens
UpdateBandwidthRateLimitScheduleResponse
UpdateBandwidthRateLimitScheduleResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateBandwidthRateLimitScheduleResponse' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:UpdateBandwidthRateLimitScheduleResponse' :: UpdateBandwidthRateLimitScheduleResponse -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: UpdateBandwidthRateLimitScheduleResponse
s@UpdateBandwidthRateLimitScheduleResponse' {} Maybe Text
a -> UpdateBandwidthRateLimitScheduleResponse
s {$sel:gatewayARN:UpdateBandwidthRateLimitScheduleResponse' :: Maybe Text
gatewayARN = Maybe Text
a} :: UpdateBandwidthRateLimitScheduleResponse)
updateBandwidthRateLimitScheduleResponse_httpStatus :: Lens.Lens' UpdateBandwidthRateLimitScheduleResponse Prelude.Int
updateBandwidthRateLimitScheduleResponse_httpStatus :: (Int -> f Int)
-> UpdateBandwidthRateLimitScheduleResponse
-> f UpdateBandwidthRateLimitScheduleResponse
updateBandwidthRateLimitScheduleResponse_httpStatus = (UpdateBandwidthRateLimitScheduleResponse -> Int)
-> (UpdateBandwidthRateLimitScheduleResponse
-> Int -> UpdateBandwidthRateLimitScheduleResponse)
-> Lens
UpdateBandwidthRateLimitScheduleResponse
UpdateBandwidthRateLimitScheduleResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateBandwidthRateLimitScheduleResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateBandwidthRateLimitScheduleResponse' :: UpdateBandwidthRateLimitScheduleResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateBandwidthRateLimitScheduleResponse
s@UpdateBandwidthRateLimitScheduleResponse' {} Int
a -> UpdateBandwidthRateLimitScheduleResponse
s {$sel:httpStatus:UpdateBandwidthRateLimitScheduleResponse' :: Int
httpStatus = Int
a} :: UpdateBandwidthRateLimitScheduleResponse)
instance
Prelude.NFData
UpdateBandwidthRateLimitScheduleResponse