{-# 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.DescribeBandwidthRateLimitSchedule
(
DescribeBandwidthRateLimitSchedule (..),
newDescribeBandwidthRateLimitSchedule,
describeBandwidthRateLimitSchedule_gatewayARN,
DescribeBandwidthRateLimitScheduleResponse (..),
newDescribeBandwidthRateLimitScheduleResponse,
describeBandwidthRateLimitScheduleResponse_gatewayARN,
describeBandwidthRateLimitScheduleResponse_bandwidthRateLimitIntervals,
describeBandwidthRateLimitScheduleResponse_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 DescribeBandwidthRateLimitSchedule = DescribeBandwidthRateLimitSchedule'
{ DescribeBandwidthRateLimitSchedule -> Text
gatewayARN :: Prelude.Text
}
deriving (DescribeBandwidthRateLimitSchedule
-> DescribeBandwidthRateLimitSchedule -> Bool
(DescribeBandwidthRateLimitSchedule
-> DescribeBandwidthRateLimitSchedule -> Bool)
-> (DescribeBandwidthRateLimitSchedule
-> DescribeBandwidthRateLimitSchedule -> Bool)
-> Eq DescribeBandwidthRateLimitSchedule
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeBandwidthRateLimitSchedule
-> DescribeBandwidthRateLimitSchedule -> Bool
$c/= :: DescribeBandwidthRateLimitSchedule
-> DescribeBandwidthRateLimitSchedule -> Bool
== :: DescribeBandwidthRateLimitSchedule
-> DescribeBandwidthRateLimitSchedule -> Bool
$c== :: DescribeBandwidthRateLimitSchedule
-> DescribeBandwidthRateLimitSchedule -> Bool
Prelude.Eq, ReadPrec [DescribeBandwidthRateLimitSchedule]
ReadPrec DescribeBandwidthRateLimitSchedule
Int -> ReadS DescribeBandwidthRateLimitSchedule
ReadS [DescribeBandwidthRateLimitSchedule]
(Int -> ReadS DescribeBandwidthRateLimitSchedule)
-> ReadS [DescribeBandwidthRateLimitSchedule]
-> ReadPrec DescribeBandwidthRateLimitSchedule
-> ReadPrec [DescribeBandwidthRateLimitSchedule]
-> Read DescribeBandwidthRateLimitSchedule
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeBandwidthRateLimitSchedule]
$creadListPrec :: ReadPrec [DescribeBandwidthRateLimitSchedule]
readPrec :: ReadPrec DescribeBandwidthRateLimitSchedule
$creadPrec :: ReadPrec DescribeBandwidthRateLimitSchedule
readList :: ReadS [DescribeBandwidthRateLimitSchedule]
$creadList :: ReadS [DescribeBandwidthRateLimitSchedule]
readsPrec :: Int -> ReadS DescribeBandwidthRateLimitSchedule
$creadsPrec :: Int -> ReadS DescribeBandwidthRateLimitSchedule
Prelude.Read, Int -> DescribeBandwidthRateLimitSchedule -> ShowS
[DescribeBandwidthRateLimitSchedule] -> ShowS
DescribeBandwidthRateLimitSchedule -> String
(Int -> DescribeBandwidthRateLimitSchedule -> ShowS)
-> (DescribeBandwidthRateLimitSchedule -> String)
-> ([DescribeBandwidthRateLimitSchedule] -> ShowS)
-> Show DescribeBandwidthRateLimitSchedule
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeBandwidthRateLimitSchedule] -> ShowS
$cshowList :: [DescribeBandwidthRateLimitSchedule] -> ShowS
show :: DescribeBandwidthRateLimitSchedule -> String
$cshow :: DescribeBandwidthRateLimitSchedule -> String
showsPrec :: Int -> DescribeBandwidthRateLimitSchedule -> ShowS
$cshowsPrec :: Int -> DescribeBandwidthRateLimitSchedule -> ShowS
Prelude.Show, (forall x.
DescribeBandwidthRateLimitSchedule
-> Rep DescribeBandwidthRateLimitSchedule x)
-> (forall x.
Rep DescribeBandwidthRateLimitSchedule x
-> DescribeBandwidthRateLimitSchedule)
-> Generic DescribeBandwidthRateLimitSchedule
forall x.
Rep DescribeBandwidthRateLimitSchedule x
-> DescribeBandwidthRateLimitSchedule
forall x.
DescribeBandwidthRateLimitSchedule
-> Rep DescribeBandwidthRateLimitSchedule x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeBandwidthRateLimitSchedule x
-> DescribeBandwidthRateLimitSchedule
$cfrom :: forall x.
DescribeBandwidthRateLimitSchedule
-> Rep DescribeBandwidthRateLimitSchedule x
Prelude.Generic)
newDescribeBandwidthRateLimitSchedule ::
Prelude.Text ->
DescribeBandwidthRateLimitSchedule
newDescribeBandwidthRateLimitSchedule :: Text -> DescribeBandwidthRateLimitSchedule
newDescribeBandwidthRateLimitSchedule Text
pGatewayARN_ =
DescribeBandwidthRateLimitSchedule' :: Text -> DescribeBandwidthRateLimitSchedule
DescribeBandwidthRateLimitSchedule'
{ $sel:gatewayARN:DescribeBandwidthRateLimitSchedule' :: Text
gatewayARN =
Text
pGatewayARN_
}
describeBandwidthRateLimitSchedule_gatewayARN :: Lens.Lens' DescribeBandwidthRateLimitSchedule Prelude.Text
describeBandwidthRateLimitSchedule_gatewayARN :: (Text -> f Text)
-> DescribeBandwidthRateLimitSchedule
-> f DescribeBandwidthRateLimitSchedule
describeBandwidthRateLimitSchedule_gatewayARN = (DescribeBandwidthRateLimitSchedule -> Text)
-> (DescribeBandwidthRateLimitSchedule
-> Text -> DescribeBandwidthRateLimitSchedule)
-> Lens
DescribeBandwidthRateLimitSchedule
DescribeBandwidthRateLimitSchedule
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimitSchedule' {Text
gatewayARN :: Text
$sel:gatewayARN:DescribeBandwidthRateLimitSchedule' :: DescribeBandwidthRateLimitSchedule -> Text
gatewayARN} -> Text
gatewayARN) (\s :: DescribeBandwidthRateLimitSchedule
s@DescribeBandwidthRateLimitSchedule' {} Text
a -> DescribeBandwidthRateLimitSchedule
s {$sel:gatewayARN:DescribeBandwidthRateLimitSchedule' :: Text
gatewayARN = Text
a} :: DescribeBandwidthRateLimitSchedule)
instance
Core.AWSRequest
DescribeBandwidthRateLimitSchedule
where
type
AWSResponse DescribeBandwidthRateLimitSchedule =
DescribeBandwidthRateLimitScheduleResponse
request :: DescribeBandwidthRateLimitSchedule
-> Request DescribeBandwidthRateLimitSchedule
request = Service
-> DescribeBandwidthRateLimitSchedule
-> Request DescribeBandwidthRateLimitSchedule
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeBandwidthRateLimitSchedule
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeBandwidthRateLimitSchedule)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeBandwidthRateLimitSchedule))
-> Logger
-> Service
-> Proxy DescribeBandwidthRateLimitSchedule
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse DescribeBandwidthRateLimitSchedule)))
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 [BandwidthRateLimitInterval]
-> Int
-> DescribeBandwidthRateLimitScheduleResponse
DescribeBandwidthRateLimitScheduleResponse'
(Maybe Text
-> Maybe [BandwidthRateLimitInterval]
-> Int
-> DescribeBandwidthRateLimitScheduleResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [BandwidthRateLimitInterval]
-> Int -> DescribeBandwidthRateLimitScheduleResponse)
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 [BandwidthRateLimitInterval]
-> Int -> DescribeBandwidthRateLimitScheduleResponse)
-> Either String (Maybe [BandwidthRateLimitInterval])
-> Either
String (Int -> DescribeBandwidthRateLimitScheduleResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [BandwidthRateLimitInterval]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"BandwidthRateLimitIntervals"
Either String (Maybe (Maybe [BandwidthRateLimitInterval]))
-> Maybe [BandwidthRateLimitInterval]
-> Either String (Maybe [BandwidthRateLimitInterval])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [BandwidthRateLimitInterval]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Int -> DescribeBandwidthRateLimitScheduleResponse)
-> Either String Int
-> Either String DescribeBandwidthRateLimitScheduleResponse
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
DescribeBandwidthRateLimitSchedule
instance
Prelude.NFData
DescribeBandwidthRateLimitSchedule
instance
Core.ToHeaders
DescribeBandwidthRateLimitSchedule
where
toHeaders :: DescribeBandwidthRateLimitSchedule -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DescribeBandwidthRateLimitSchedule -> 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.DescribeBandwidthRateLimitSchedule" ::
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
DescribeBandwidthRateLimitSchedule
where
toJSON :: DescribeBandwidthRateLimitSchedule -> Value
toJSON DescribeBandwidthRateLimitSchedule' {Text
gatewayARN :: Text
$sel:gatewayARN:DescribeBandwidthRateLimitSchedule' :: DescribeBandwidthRateLimitSchedule -> 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
DescribeBandwidthRateLimitSchedule
where
toPath :: DescribeBandwidthRateLimitSchedule -> ByteString
toPath = ByteString -> DescribeBandwidthRateLimitSchedule -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DescribeBandwidthRateLimitSchedule
where
toQuery :: DescribeBandwidthRateLimitSchedule -> QueryString
toQuery = QueryString -> DescribeBandwidthRateLimitSchedule -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeBandwidthRateLimitScheduleResponse = DescribeBandwidthRateLimitScheduleResponse'
{ DescribeBandwidthRateLimitScheduleResponse -> Maybe Text
gatewayARN :: Prelude.Maybe Prelude.Text,
DescribeBandwidthRateLimitScheduleResponse
-> Maybe [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals :: Prelude.Maybe [BandwidthRateLimitInterval],
DescribeBandwidthRateLimitScheduleResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeBandwidthRateLimitScheduleResponse
-> DescribeBandwidthRateLimitScheduleResponse -> Bool
(DescribeBandwidthRateLimitScheduleResponse
-> DescribeBandwidthRateLimitScheduleResponse -> Bool)
-> (DescribeBandwidthRateLimitScheduleResponse
-> DescribeBandwidthRateLimitScheduleResponse -> Bool)
-> Eq DescribeBandwidthRateLimitScheduleResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeBandwidthRateLimitScheduleResponse
-> DescribeBandwidthRateLimitScheduleResponse -> Bool
$c/= :: DescribeBandwidthRateLimitScheduleResponse
-> DescribeBandwidthRateLimitScheduleResponse -> Bool
== :: DescribeBandwidthRateLimitScheduleResponse
-> DescribeBandwidthRateLimitScheduleResponse -> Bool
$c== :: DescribeBandwidthRateLimitScheduleResponse
-> DescribeBandwidthRateLimitScheduleResponse -> Bool
Prelude.Eq, ReadPrec [DescribeBandwidthRateLimitScheduleResponse]
ReadPrec DescribeBandwidthRateLimitScheduleResponse
Int -> ReadS DescribeBandwidthRateLimitScheduleResponse
ReadS [DescribeBandwidthRateLimitScheduleResponse]
(Int -> ReadS DescribeBandwidthRateLimitScheduleResponse)
-> ReadS [DescribeBandwidthRateLimitScheduleResponse]
-> ReadPrec DescribeBandwidthRateLimitScheduleResponse
-> ReadPrec [DescribeBandwidthRateLimitScheduleResponse]
-> Read DescribeBandwidthRateLimitScheduleResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeBandwidthRateLimitScheduleResponse]
$creadListPrec :: ReadPrec [DescribeBandwidthRateLimitScheduleResponse]
readPrec :: ReadPrec DescribeBandwidthRateLimitScheduleResponse
$creadPrec :: ReadPrec DescribeBandwidthRateLimitScheduleResponse
readList :: ReadS [DescribeBandwidthRateLimitScheduleResponse]
$creadList :: ReadS [DescribeBandwidthRateLimitScheduleResponse]
readsPrec :: Int -> ReadS DescribeBandwidthRateLimitScheduleResponse
$creadsPrec :: Int -> ReadS DescribeBandwidthRateLimitScheduleResponse
Prelude.Read, Int -> DescribeBandwidthRateLimitScheduleResponse -> ShowS
[DescribeBandwidthRateLimitScheduleResponse] -> ShowS
DescribeBandwidthRateLimitScheduleResponse -> String
(Int -> DescribeBandwidthRateLimitScheduleResponse -> ShowS)
-> (DescribeBandwidthRateLimitScheduleResponse -> String)
-> ([DescribeBandwidthRateLimitScheduleResponse] -> ShowS)
-> Show DescribeBandwidthRateLimitScheduleResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeBandwidthRateLimitScheduleResponse] -> ShowS
$cshowList :: [DescribeBandwidthRateLimitScheduleResponse] -> ShowS
show :: DescribeBandwidthRateLimitScheduleResponse -> String
$cshow :: DescribeBandwidthRateLimitScheduleResponse -> String
showsPrec :: Int -> DescribeBandwidthRateLimitScheduleResponse -> ShowS
$cshowsPrec :: Int -> DescribeBandwidthRateLimitScheduleResponse -> ShowS
Prelude.Show, (forall x.
DescribeBandwidthRateLimitScheduleResponse
-> Rep DescribeBandwidthRateLimitScheduleResponse x)
-> (forall x.
Rep DescribeBandwidthRateLimitScheduleResponse x
-> DescribeBandwidthRateLimitScheduleResponse)
-> Generic DescribeBandwidthRateLimitScheduleResponse
forall x.
Rep DescribeBandwidthRateLimitScheduleResponse x
-> DescribeBandwidthRateLimitScheduleResponse
forall x.
DescribeBandwidthRateLimitScheduleResponse
-> Rep DescribeBandwidthRateLimitScheduleResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeBandwidthRateLimitScheduleResponse x
-> DescribeBandwidthRateLimitScheduleResponse
$cfrom :: forall x.
DescribeBandwidthRateLimitScheduleResponse
-> Rep DescribeBandwidthRateLimitScheduleResponse x
Prelude.Generic)
newDescribeBandwidthRateLimitScheduleResponse ::
Prelude.Int ->
DescribeBandwidthRateLimitScheduleResponse
newDescribeBandwidthRateLimitScheduleResponse :: Int -> DescribeBandwidthRateLimitScheduleResponse
newDescribeBandwidthRateLimitScheduleResponse
Int
pHttpStatus_ =
DescribeBandwidthRateLimitScheduleResponse' :: Maybe Text
-> Maybe [BandwidthRateLimitInterval]
-> Int
-> DescribeBandwidthRateLimitScheduleResponse
DescribeBandwidthRateLimitScheduleResponse'
{ $sel:gatewayARN:DescribeBandwidthRateLimitScheduleResponse' :: Maybe Text
gatewayARN =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:bandwidthRateLimitIntervals:DescribeBandwidthRateLimitScheduleResponse' :: Maybe [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals =
Maybe [BandwidthRateLimitInterval]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeBandwidthRateLimitScheduleResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeBandwidthRateLimitScheduleResponse_gatewayARN :: Lens.Lens' DescribeBandwidthRateLimitScheduleResponse (Prelude.Maybe Prelude.Text)
describeBandwidthRateLimitScheduleResponse_gatewayARN :: (Maybe Text -> f (Maybe Text))
-> DescribeBandwidthRateLimitScheduleResponse
-> f DescribeBandwidthRateLimitScheduleResponse
describeBandwidthRateLimitScheduleResponse_gatewayARN = (DescribeBandwidthRateLimitScheduleResponse -> Maybe Text)
-> (DescribeBandwidthRateLimitScheduleResponse
-> Maybe Text -> DescribeBandwidthRateLimitScheduleResponse)
-> Lens
DescribeBandwidthRateLimitScheduleResponse
DescribeBandwidthRateLimitScheduleResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimitScheduleResponse' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:DescribeBandwidthRateLimitScheduleResponse' :: DescribeBandwidthRateLimitScheduleResponse -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: DescribeBandwidthRateLimitScheduleResponse
s@DescribeBandwidthRateLimitScheduleResponse' {} Maybe Text
a -> DescribeBandwidthRateLimitScheduleResponse
s {$sel:gatewayARN:DescribeBandwidthRateLimitScheduleResponse' :: Maybe Text
gatewayARN = Maybe Text
a} :: DescribeBandwidthRateLimitScheduleResponse)
describeBandwidthRateLimitScheduleResponse_bandwidthRateLimitIntervals :: Lens.Lens' DescribeBandwidthRateLimitScheduleResponse (Prelude.Maybe [BandwidthRateLimitInterval])
describeBandwidthRateLimitScheduleResponse_bandwidthRateLimitIntervals :: (Maybe [BandwidthRateLimitInterval]
-> f (Maybe [BandwidthRateLimitInterval]))
-> DescribeBandwidthRateLimitScheduleResponse
-> f DescribeBandwidthRateLimitScheduleResponse
describeBandwidthRateLimitScheduleResponse_bandwidthRateLimitIntervals = (DescribeBandwidthRateLimitScheduleResponse
-> Maybe [BandwidthRateLimitInterval])
-> (DescribeBandwidthRateLimitScheduleResponse
-> Maybe [BandwidthRateLimitInterval]
-> DescribeBandwidthRateLimitScheduleResponse)
-> Lens
DescribeBandwidthRateLimitScheduleResponse
DescribeBandwidthRateLimitScheduleResponse
(Maybe [BandwidthRateLimitInterval])
(Maybe [BandwidthRateLimitInterval])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimitScheduleResponse' {Maybe [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals :: Maybe [BandwidthRateLimitInterval]
$sel:bandwidthRateLimitIntervals:DescribeBandwidthRateLimitScheduleResponse' :: DescribeBandwidthRateLimitScheduleResponse
-> Maybe [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals} -> Maybe [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals) (\s :: DescribeBandwidthRateLimitScheduleResponse
s@DescribeBandwidthRateLimitScheduleResponse' {} Maybe [BandwidthRateLimitInterval]
a -> DescribeBandwidthRateLimitScheduleResponse
s {$sel:bandwidthRateLimitIntervals:DescribeBandwidthRateLimitScheduleResponse' :: Maybe [BandwidthRateLimitInterval]
bandwidthRateLimitIntervals = Maybe [BandwidthRateLimitInterval]
a} :: DescribeBandwidthRateLimitScheduleResponse) ((Maybe [BandwidthRateLimitInterval]
-> f (Maybe [BandwidthRateLimitInterval]))
-> DescribeBandwidthRateLimitScheduleResponse
-> f DescribeBandwidthRateLimitScheduleResponse)
-> ((Maybe [BandwidthRateLimitInterval]
-> f (Maybe [BandwidthRateLimitInterval]))
-> Maybe [BandwidthRateLimitInterval]
-> f (Maybe [BandwidthRateLimitInterval]))
-> (Maybe [BandwidthRateLimitInterval]
-> f (Maybe [BandwidthRateLimitInterval]))
-> DescribeBandwidthRateLimitScheduleResponse
-> f DescribeBandwidthRateLimitScheduleResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[BandwidthRateLimitInterval]
[BandwidthRateLimitInterval]
[BandwidthRateLimitInterval]
[BandwidthRateLimitInterval]
-> Iso
(Maybe [BandwidthRateLimitInterval])
(Maybe [BandwidthRateLimitInterval])
(Maybe [BandwidthRateLimitInterval])
(Maybe [BandwidthRateLimitInterval])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[BandwidthRateLimitInterval]
[BandwidthRateLimitInterval]
[BandwidthRateLimitInterval]
[BandwidthRateLimitInterval]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeBandwidthRateLimitScheduleResponse_httpStatus :: Lens.Lens' DescribeBandwidthRateLimitScheduleResponse Prelude.Int
describeBandwidthRateLimitScheduleResponse_httpStatus :: (Int -> f Int)
-> DescribeBandwidthRateLimitScheduleResponse
-> f DescribeBandwidthRateLimitScheduleResponse
describeBandwidthRateLimitScheduleResponse_httpStatus = (DescribeBandwidthRateLimitScheduleResponse -> Int)
-> (DescribeBandwidthRateLimitScheduleResponse
-> Int -> DescribeBandwidthRateLimitScheduleResponse)
-> Lens
DescribeBandwidthRateLimitScheduleResponse
DescribeBandwidthRateLimitScheduleResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeBandwidthRateLimitScheduleResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeBandwidthRateLimitScheduleResponse' :: DescribeBandwidthRateLimitScheduleResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeBandwidthRateLimitScheduleResponse
s@DescribeBandwidthRateLimitScheduleResponse' {} Int
a -> DescribeBandwidthRateLimitScheduleResponse
s {$sel:httpStatus:DescribeBandwidthRateLimitScheduleResponse' :: Int
httpStatus = Int
a} :: DescribeBandwidthRateLimitScheduleResponse)
instance
Prelude.NFData
DescribeBandwidthRateLimitScheduleResponse