{-# 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.ServiceQuotas.ListRequestedServiceQuotaChangeHistoryByQuota
(
ListRequestedServiceQuotaChangeHistoryByQuota (..),
newListRequestedServiceQuotaChangeHistoryByQuota,
listRequestedServiceQuotaChangeHistoryByQuota_status,
listRequestedServiceQuotaChangeHistoryByQuota_nextToken,
listRequestedServiceQuotaChangeHistoryByQuota_maxResults,
listRequestedServiceQuotaChangeHistoryByQuota_serviceCode,
listRequestedServiceQuotaChangeHistoryByQuota_quotaCode,
ListRequestedServiceQuotaChangeHistoryByQuotaResponse (..),
newListRequestedServiceQuotaChangeHistoryByQuotaResponse,
listRequestedServiceQuotaChangeHistoryByQuotaResponse_nextToken,
listRequestedServiceQuotaChangeHistoryByQuotaResponse_requestedQuotas,
listRequestedServiceQuotaChangeHistoryByQuotaResponse_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.ServiceQuotas.Types
data ListRequestedServiceQuotaChangeHistoryByQuota = ListRequestedServiceQuotaChangeHistoryByQuota'
{
ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe RequestStatus
status :: Prelude.Maybe RequestStatus,
ListRequestedServiceQuotaChangeHistoryByQuota -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListRequestedServiceQuotaChangeHistoryByQuota -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListRequestedServiceQuotaChangeHistoryByQuota -> Text
serviceCode :: Prelude.Text,
ListRequestedServiceQuotaChangeHistoryByQuota -> Text
quotaCode :: Prelude.Text
}
deriving (ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota -> Bool
(ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota -> Bool)
-> (ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota -> Bool)
-> Eq ListRequestedServiceQuotaChangeHistoryByQuota
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota -> Bool
$c/= :: ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota -> Bool
== :: ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota -> Bool
$c== :: ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota -> Bool
Prelude.Eq, ReadPrec [ListRequestedServiceQuotaChangeHistoryByQuota]
ReadPrec ListRequestedServiceQuotaChangeHistoryByQuota
Int -> ReadS ListRequestedServiceQuotaChangeHistoryByQuota
ReadS [ListRequestedServiceQuotaChangeHistoryByQuota]
(Int -> ReadS ListRequestedServiceQuotaChangeHistoryByQuota)
-> ReadS [ListRequestedServiceQuotaChangeHistoryByQuota]
-> ReadPrec ListRequestedServiceQuotaChangeHistoryByQuota
-> ReadPrec [ListRequestedServiceQuotaChangeHistoryByQuota]
-> Read ListRequestedServiceQuotaChangeHistoryByQuota
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListRequestedServiceQuotaChangeHistoryByQuota]
$creadListPrec :: ReadPrec [ListRequestedServiceQuotaChangeHistoryByQuota]
readPrec :: ReadPrec ListRequestedServiceQuotaChangeHistoryByQuota
$creadPrec :: ReadPrec ListRequestedServiceQuotaChangeHistoryByQuota
readList :: ReadS [ListRequestedServiceQuotaChangeHistoryByQuota]
$creadList :: ReadS [ListRequestedServiceQuotaChangeHistoryByQuota]
readsPrec :: Int -> ReadS ListRequestedServiceQuotaChangeHistoryByQuota
$creadsPrec :: Int -> ReadS ListRequestedServiceQuotaChangeHistoryByQuota
Prelude.Read, Int -> ListRequestedServiceQuotaChangeHistoryByQuota -> ShowS
[ListRequestedServiceQuotaChangeHistoryByQuota] -> ShowS
ListRequestedServiceQuotaChangeHistoryByQuota -> String
(Int -> ListRequestedServiceQuotaChangeHistoryByQuota -> ShowS)
-> (ListRequestedServiceQuotaChangeHistoryByQuota -> String)
-> ([ListRequestedServiceQuotaChangeHistoryByQuota] -> ShowS)
-> Show ListRequestedServiceQuotaChangeHistoryByQuota
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListRequestedServiceQuotaChangeHistoryByQuota] -> ShowS
$cshowList :: [ListRequestedServiceQuotaChangeHistoryByQuota] -> ShowS
show :: ListRequestedServiceQuotaChangeHistoryByQuota -> String
$cshow :: ListRequestedServiceQuotaChangeHistoryByQuota -> String
showsPrec :: Int -> ListRequestedServiceQuotaChangeHistoryByQuota -> ShowS
$cshowsPrec :: Int -> ListRequestedServiceQuotaChangeHistoryByQuota -> ShowS
Prelude.Show, (forall x.
ListRequestedServiceQuotaChangeHistoryByQuota
-> Rep ListRequestedServiceQuotaChangeHistoryByQuota x)
-> (forall x.
Rep ListRequestedServiceQuotaChangeHistoryByQuota x
-> ListRequestedServiceQuotaChangeHistoryByQuota)
-> Generic ListRequestedServiceQuotaChangeHistoryByQuota
forall x.
Rep ListRequestedServiceQuotaChangeHistoryByQuota x
-> ListRequestedServiceQuotaChangeHistoryByQuota
forall x.
ListRequestedServiceQuotaChangeHistoryByQuota
-> Rep ListRequestedServiceQuotaChangeHistoryByQuota x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListRequestedServiceQuotaChangeHistoryByQuota x
-> ListRequestedServiceQuotaChangeHistoryByQuota
$cfrom :: forall x.
ListRequestedServiceQuotaChangeHistoryByQuota
-> Rep ListRequestedServiceQuotaChangeHistoryByQuota x
Prelude.Generic)
newListRequestedServiceQuotaChangeHistoryByQuota ::
Prelude.Text ->
Prelude.Text ->
ListRequestedServiceQuotaChangeHistoryByQuota
newListRequestedServiceQuotaChangeHistoryByQuota :: Text -> Text -> ListRequestedServiceQuotaChangeHistoryByQuota
newListRequestedServiceQuotaChangeHistoryByQuota
Text
pServiceCode_
Text
pQuotaCode_ =
ListRequestedServiceQuotaChangeHistoryByQuota' :: Maybe RequestStatus
-> Maybe Text
-> Maybe Natural
-> Text
-> Text
-> ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuota'
{ $sel:status:ListRequestedServiceQuotaChangeHistoryByQuota' :: Maybe RequestStatus
status =
Maybe RequestStatus
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListRequestedServiceQuotaChangeHistoryByQuota' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListRequestedServiceQuotaChangeHistoryByQuota' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:serviceCode:ListRequestedServiceQuotaChangeHistoryByQuota' :: Text
serviceCode = Text
pServiceCode_,
$sel:quotaCode:ListRequestedServiceQuotaChangeHistoryByQuota' :: Text
quotaCode = Text
pQuotaCode_
}
listRequestedServiceQuotaChangeHistoryByQuota_status :: Lens.Lens' ListRequestedServiceQuotaChangeHistoryByQuota (Prelude.Maybe RequestStatus)
listRequestedServiceQuotaChangeHistoryByQuota_status :: (Maybe RequestStatus -> f (Maybe RequestStatus))
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> f ListRequestedServiceQuotaChangeHistoryByQuota
listRequestedServiceQuotaChangeHistoryByQuota_status = (ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe RequestStatus)
-> (ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe RequestStatus
-> ListRequestedServiceQuotaChangeHistoryByQuota)
-> Lens
ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuota
(Maybe RequestStatus)
(Maybe RequestStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRequestedServiceQuotaChangeHistoryByQuota' {Maybe RequestStatus
status :: Maybe RequestStatus
$sel:status:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe RequestStatus
status} -> Maybe RequestStatus
status) (\s :: ListRequestedServiceQuotaChangeHistoryByQuota
s@ListRequestedServiceQuotaChangeHistoryByQuota' {} Maybe RequestStatus
a -> ListRequestedServiceQuotaChangeHistoryByQuota
s {$sel:status:ListRequestedServiceQuotaChangeHistoryByQuota' :: Maybe RequestStatus
status = Maybe RequestStatus
a} :: ListRequestedServiceQuotaChangeHistoryByQuota)
listRequestedServiceQuotaChangeHistoryByQuota_nextToken :: Lens.Lens' ListRequestedServiceQuotaChangeHistoryByQuota (Prelude.Maybe Prelude.Text)
listRequestedServiceQuotaChangeHistoryByQuota_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> f ListRequestedServiceQuotaChangeHistoryByQuota
listRequestedServiceQuotaChangeHistoryByQuota_nextToken = (ListRequestedServiceQuotaChangeHistoryByQuota -> Maybe Text)
-> (ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe Text -> ListRequestedServiceQuotaChangeHistoryByQuota)
-> Lens
ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuota
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRequestedServiceQuotaChangeHistoryByQuota' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListRequestedServiceQuotaChangeHistoryByQuota
s@ListRequestedServiceQuotaChangeHistoryByQuota' {} Maybe Text
a -> ListRequestedServiceQuotaChangeHistoryByQuota
s {$sel:nextToken:ListRequestedServiceQuotaChangeHistoryByQuota' :: Maybe Text
nextToken = Maybe Text
a} :: ListRequestedServiceQuotaChangeHistoryByQuota)
listRequestedServiceQuotaChangeHistoryByQuota_maxResults :: Lens.Lens' ListRequestedServiceQuotaChangeHistoryByQuota (Prelude.Maybe Prelude.Natural)
listRequestedServiceQuotaChangeHistoryByQuota_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> f ListRequestedServiceQuotaChangeHistoryByQuota
listRequestedServiceQuotaChangeHistoryByQuota_maxResults = (ListRequestedServiceQuotaChangeHistoryByQuota -> Maybe Natural)
-> (ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe Natural -> ListRequestedServiceQuotaChangeHistoryByQuota)
-> Lens
ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuota
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRequestedServiceQuotaChangeHistoryByQuota' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListRequestedServiceQuotaChangeHistoryByQuota
s@ListRequestedServiceQuotaChangeHistoryByQuota' {} Maybe Natural
a -> ListRequestedServiceQuotaChangeHistoryByQuota
s {$sel:maxResults:ListRequestedServiceQuotaChangeHistoryByQuota' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListRequestedServiceQuotaChangeHistoryByQuota)
listRequestedServiceQuotaChangeHistoryByQuota_serviceCode :: Lens.Lens' ListRequestedServiceQuotaChangeHistoryByQuota Prelude.Text
listRequestedServiceQuotaChangeHistoryByQuota_serviceCode :: (Text -> f Text)
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> f ListRequestedServiceQuotaChangeHistoryByQuota
listRequestedServiceQuotaChangeHistoryByQuota_serviceCode = (ListRequestedServiceQuotaChangeHistoryByQuota -> Text)
-> (ListRequestedServiceQuotaChangeHistoryByQuota
-> Text -> ListRequestedServiceQuotaChangeHistoryByQuota)
-> Lens
ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuota
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRequestedServiceQuotaChangeHistoryByQuota' {Text
serviceCode :: Text
$sel:serviceCode:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota -> Text
serviceCode} -> Text
serviceCode) (\s :: ListRequestedServiceQuotaChangeHistoryByQuota
s@ListRequestedServiceQuotaChangeHistoryByQuota' {} Text
a -> ListRequestedServiceQuotaChangeHistoryByQuota
s {$sel:serviceCode:ListRequestedServiceQuotaChangeHistoryByQuota' :: Text
serviceCode = Text
a} :: ListRequestedServiceQuotaChangeHistoryByQuota)
listRequestedServiceQuotaChangeHistoryByQuota_quotaCode :: Lens.Lens' ListRequestedServiceQuotaChangeHistoryByQuota Prelude.Text
listRequestedServiceQuotaChangeHistoryByQuota_quotaCode :: (Text -> f Text)
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> f ListRequestedServiceQuotaChangeHistoryByQuota
listRequestedServiceQuotaChangeHistoryByQuota_quotaCode = (ListRequestedServiceQuotaChangeHistoryByQuota -> Text)
-> (ListRequestedServiceQuotaChangeHistoryByQuota
-> Text -> ListRequestedServiceQuotaChangeHistoryByQuota)
-> Lens
ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuota
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRequestedServiceQuotaChangeHistoryByQuota' {Text
quotaCode :: Text
$sel:quotaCode:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota -> Text
quotaCode} -> Text
quotaCode) (\s :: ListRequestedServiceQuotaChangeHistoryByQuota
s@ListRequestedServiceQuotaChangeHistoryByQuota' {} Text
a -> ListRequestedServiceQuotaChangeHistoryByQuota
s {$sel:quotaCode:ListRequestedServiceQuotaChangeHistoryByQuota' :: Text
quotaCode = Text
a} :: ListRequestedServiceQuotaChangeHistoryByQuota)
instance
Core.AWSPager
ListRequestedServiceQuotaChangeHistoryByQuota
where
page :: ListRequestedServiceQuotaChangeHistoryByQuota
-> AWSResponse ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe ListRequestedServiceQuotaChangeHistoryByQuota
page ListRequestedServiceQuotaChangeHistoryByQuota
rq AWSResponse ListRequestedServiceQuotaChangeHistoryByQuota
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
rs
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Getting
(First Text)
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Const
(First Text) ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Lens'
ListRequestedServiceQuotaChangeHistoryByQuotaResponse (Maybe Text)
listRequestedServiceQuotaChangeHistoryByQuotaResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Const
(First Text) ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text)
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListRequestedServiceQuotaChangeHistoryByQuota
forall a. Maybe a
Prelude.Nothing
| Maybe [RequestedServiceQuotaChange] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
rs
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Getting
(First [RequestedServiceQuotaChange])
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
[RequestedServiceQuotaChange]
-> Maybe [RequestedServiceQuotaChange]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [RequestedServiceQuotaChange]
-> Const
(First [RequestedServiceQuotaChange])
(Maybe [RequestedServiceQuotaChange]))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Const
(First [RequestedServiceQuotaChange])
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Lens'
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
(Maybe [RequestedServiceQuotaChange])
listRequestedServiceQuotaChangeHistoryByQuotaResponse_requestedQuotas
((Maybe [RequestedServiceQuotaChange]
-> Const
(First [RequestedServiceQuotaChange])
(Maybe [RequestedServiceQuotaChange]))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Const
(First [RequestedServiceQuotaChange])
ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> (([RequestedServiceQuotaChange]
-> Const
(First [RequestedServiceQuotaChange])
[RequestedServiceQuotaChange])
-> Maybe [RequestedServiceQuotaChange]
-> Const
(First [RequestedServiceQuotaChange])
(Maybe [RequestedServiceQuotaChange]))
-> Getting
(First [RequestedServiceQuotaChange])
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
[RequestedServiceQuotaChange]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([RequestedServiceQuotaChange]
-> Const
(First [RequestedServiceQuotaChange])
[RequestedServiceQuotaChange])
-> Maybe [RequestedServiceQuotaChange]
-> Const
(First [RequestedServiceQuotaChange])
(Maybe [RequestedServiceQuotaChange])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListRequestedServiceQuotaChangeHistoryByQuota
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe ListRequestedServiceQuotaChangeHistoryByQuota
forall a. a -> Maybe a
Prelude.Just (ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe ListRequestedServiceQuotaChangeHistoryByQuota)
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe ListRequestedServiceQuotaChangeHistoryByQuota
forall a b. (a -> b) -> a -> b
Prelude.$
ListRequestedServiceQuotaChangeHistoryByQuota
rq
ListRequestedServiceQuotaChangeHistoryByQuota
-> (ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota)
-> ListRequestedServiceQuotaChangeHistoryByQuota
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> Identity ListRequestedServiceQuotaChangeHistoryByQuota
Lens
ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuota
(Maybe Text)
(Maybe Text)
listRequestedServiceQuotaChangeHistoryByQuota_nextToken
((Maybe Text -> Identity (Maybe Text))
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> Identity ListRequestedServiceQuotaChangeHistoryByQuota)
-> Maybe Text
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> ListRequestedServiceQuotaChangeHistoryByQuota
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListRequestedServiceQuotaChangeHistoryByQuota
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
rs
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Getting
(First Text)
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Const
(First Text) ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Lens'
ListRequestedServiceQuotaChangeHistoryByQuotaResponse (Maybe Text)
listRequestedServiceQuotaChangeHistoryByQuotaResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Const
(First Text) ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text)
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance
Core.AWSRequest
ListRequestedServiceQuotaChangeHistoryByQuota
where
type
AWSResponse
ListRequestedServiceQuotaChangeHistoryByQuota =
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
request :: ListRequestedServiceQuotaChangeHistoryByQuota
-> Request ListRequestedServiceQuotaChangeHistoryByQuota
request = Service
-> ListRequestedServiceQuotaChangeHistoryByQuota
-> Request ListRequestedServiceQuotaChangeHistoryByQuota
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListRequestedServiceQuotaChangeHistoryByQuota
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse ListRequestedServiceQuotaChangeHistoryByQuota)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse ListRequestedServiceQuotaChangeHistoryByQuota))
-> Logger
-> Service
-> Proxy ListRequestedServiceQuotaChangeHistoryByQuota
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse ListRequestedServiceQuotaChangeHistoryByQuota)))
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 [RequestedServiceQuotaChange]
-> Int
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
ListRequestedServiceQuotaChangeHistoryByQuotaResponse'
(Maybe Text
-> Maybe [RequestedServiceQuotaChange]
-> Int
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe [RequestedServiceQuotaChange]
-> Int -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
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
"NextToken")
Either
String
(Maybe [RequestedServiceQuotaChange]
-> Int -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> Either String (Maybe [RequestedServiceQuotaChange])
-> Either
String
(Int -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Either String (Maybe (Maybe [RequestedServiceQuotaChange]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"RequestedQuotas"
Either String (Maybe (Maybe [RequestedServiceQuotaChange]))
-> Maybe [RequestedServiceQuotaChange]
-> Either String (Maybe [RequestedServiceQuotaChange])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [RequestedServiceQuotaChange]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Int -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> Either String Int
-> Either
String ListRequestedServiceQuotaChangeHistoryByQuotaResponse
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
ListRequestedServiceQuotaChangeHistoryByQuota
instance
Prelude.NFData
ListRequestedServiceQuotaChangeHistoryByQuota
instance
Core.ToHeaders
ListRequestedServiceQuotaChangeHistoryByQuota
where
toHeaders :: ListRequestedServiceQuotaChangeHistoryByQuota -> ResponseHeaders
toHeaders =
ResponseHeaders
-> ListRequestedServiceQuotaChangeHistoryByQuota -> 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
"ServiceQuotasV20190624.ListRequestedServiceQuotaChangeHistoryByQuota" ::
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
ListRequestedServiceQuotaChangeHistoryByQuota
where
toJSON :: ListRequestedServiceQuotaChangeHistoryByQuota -> Value
toJSON
ListRequestedServiceQuotaChangeHistoryByQuota' {Maybe Natural
Maybe Text
Maybe RequestStatus
Text
quotaCode :: Text
serviceCode :: Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
status :: Maybe RequestStatus
$sel:quotaCode:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota -> Text
$sel:serviceCode:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota -> Text
$sel:maxResults:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota -> Maybe Natural
$sel:nextToken:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota -> Maybe Text
$sel:status:ListRequestedServiceQuotaChangeHistoryByQuota' :: ListRequestedServiceQuotaChangeHistoryByQuota
-> Maybe RequestStatus
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"Status" Text -> RequestStatus -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (RequestStatus -> Pair) -> Maybe RequestStatus -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RequestStatus
status,
(Text
"NextToken" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken,
(Text
"MaxResults" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"ServiceCode" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
serviceCode),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"QuotaCode" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
quotaCode)
]
)
instance
Core.ToPath
ListRequestedServiceQuotaChangeHistoryByQuota
where
toPath :: ListRequestedServiceQuotaChangeHistoryByQuota -> ByteString
toPath = ByteString
-> ListRequestedServiceQuotaChangeHistoryByQuota -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
ListRequestedServiceQuotaChangeHistoryByQuota
where
toQuery :: ListRequestedServiceQuotaChangeHistoryByQuota -> QueryString
toQuery = QueryString
-> ListRequestedServiceQuotaChangeHistoryByQuota -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListRequestedServiceQuotaChangeHistoryByQuotaResponse = ListRequestedServiceQuotaChangeHistoryByQuotaResponse'
{
ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Maybe [RequestedServiceQuotaChange]
requestedQuotas :: Prelude.Maybe [RequestedServiceQuotaChange],
ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Bool
(ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Bool)
-> (ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Bool)
-> Eq ListRequestedServiceQuotaChangeHistoryByQuotaResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Bool
$c/= :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Bool
== :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Bool
$c== :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Bool
Prelude.Eq, ReadPrec [ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
ReadPrec ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Int -> ReadS ListRequestedServiceQuotaChangeHistoryByQuotaResponse
ReadS [ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
(Int
-> ReadS ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> ReadS [ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
-> ReadPrec ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> ReadPrec [ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
-> Read ListRequestedServiceQuotaChangeHistoryByQuotaResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
$creadListPrec :: ReadPrec [ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
readPrec :: ReadPrec ListRequestedServiceQuotaChangeHistoryByQuotaResponse
$creadPrec :: ReadPrec ListRequestedServiceQuotaChangeHistoryByQuotaResponse
readList :: ReadS [ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
$creadList :: ReadS [ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
readsPrec :: Int -> ReadS ListRequestedServiceQuotaChangeHistoryByQuotaResponse
$creadsPrec :: Int -> ReadS ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Prelude.Read, Int
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> ShowS
[ListRequestedServiceQuotaChangeHistoryByQuotaResponse] -> ShowS
ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> String
(Int
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> ShowS)
-> (ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> String)
-> ([ListRequestedServiceQuotaChangeHistoryByQuotaResponse]
-> ShowS)
-> Show ListRequestedServiceQuotaChangeHistoryByQuotaResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListRequestedServiceQuotaChangeHistoryByQuotaResponse] -> ShowS
$cshowList :: [ListRequestedServiceQuotaChangeHistoryByQuotaResponse] -> ShowS
show :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> String
$cshow :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> String
showsPrec :: Int
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> ShowS
$cshowsPrec :: Int
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> ShowS
Prelude.Show, (forall x.
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Rep ListRequestedServiceQuotaChangeHistoryByQuotaResponse x)
-> (forall x.
Rep ListRequestedServiceQuotaChangeHistoryByQuotaResponse x
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> Generic ListRequestedServiceQuotaChangeHistoryByQuotaResponse
forall x.
Rep ListRequestedServiceQuotaChangeHistoryByQuotaResponse x
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
forall x.
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Rep ListRequestedServiceQuotaChangeHistoryByQuotaResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListRequestedServiceQuotaChangeHistoryByQuotaResponse x
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
$cfrom :: forall x.
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Rep ListRequestedServiceQuotaChangeHistoryByQuotaResponse x
Prelude.Generic)
newListRequestedServiceQuotaChangeHistoryByQuotaResponse ::
Prelude.Int ->
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
newListRequestedServiceQuotaChangeHistoryByQuotaResponse :: Int -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
newListRequestedServiceQuotaChangeHistoryByQuotaResponse
Int
pHttpStatus_ =
ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: Maybe Text
-> Maybe [RequestedServiceQuotaChange]
-> Int
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
ListRequestedServiceQuotaChangeHistoryByQuotaResponse'
{ $sel:nextToken:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:requestedQuotas:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: Maybe [RequestedServiceQuotaChange]
requestedQuotas =
Maybe [RequestedServiceQuotaChange]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
listRequestedServiceQuotaChangeHistoryByQuotaResponse_nextToken :: Lens.Lens' ListRequestedServiceQuotaChangeHistoryByQuotaResponse (Prelude.Maybe Prelude.Text)
listRequestedServiceQuotaChangeHistoryByQuotaResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> f ListRequestedServiceQuotaChangeHistoryByQuotaResponse
listRequestedServiceQuotaChangeHistoryByQuotaResponse_nextToken = (ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Maybe Text)
-> (ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Maybe Text
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> Lens'
ListRequestedServiceQuotaChangeHistoryByQuotaResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRequestedServiceQuotaChangeHistoryByQuotaResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse
s@ListRequestedServiceQuotaChangeHistoryByQuotaResponse' {} Maybe Text
a -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
s {$sel:nextToken:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
listRequestedServiceQuotaChangeHistoryByQuotaResponse_requestedQuotas :: Lens.Lens' ListRequestedServiceQuotaChangeHistoryByQuotaResponse (Prelude.Maybe [RequestedServiceQuotaChange])
listRequestedServiceQuotaChangeHistoryByQuotaResponse_requestedQuotas :: (Maybe [RequestedServiceQuotaChange]
-> f (Maybe [RequestedServiceQuotaChange]))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> f ListRequestedServiceQuotaChangeHistoryByQuotaResponse
listRequestedServiceQuotaChangeHistoryByQuotaResponse_requestedQuotas = (ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Maybe [RequestedServiceQuotaChange])
-> (ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Maybe [RequestedServiceQuotaChange]
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> Lens'
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
(Maybe [RequestedServiceQuotaChange])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRequestedServiceQuotaChangeHistoryByQuotaResponse' {Maybe [RequestedServiceQuotaChange]
requestedQuotas :: Maybe [RequestedServiceQuotaChange]
$sel:requestedQuotas:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Maybe [RequestedServiceQuotaChange]
requestedQuotas} -> Maybe [RequestedServiceQuotaChange]
requestedQuotas) (\s :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse
s@ListRequestedServiceQuotaChangeHistoryByQuotaResponse' {} Maybe [RequestedServiceQuotaChange]
a -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
s {$sel:requestedQuotas:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: Maybe [RequestedServiceQuotaChange]
requestedQuotas = Maybe [RequestedServiceQuotaChange]
a} :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse) ((Maybe [RequestedServiceQuotaChange]
-> f (Maybe [RequestedServiceQuotaChange]))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> f ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> ((Maybe [RequestedServiceQuotaChange]
-> f (Maybe [RequestedServiceQuotaChange]))
-> Maybe [RequestedServiceQuotaChange]
-> f (Maybe [RequestedServiceQuotaChange]))
-> (Maybe [RequestedServiceQuotaChange]
-> f (Maybe [RequestedServiceQuotaChange]))
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> f ListRequestedServiceQuotaChangeHistoryByQuotaResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[RequestedServiceQuotaChange]
[RequestedServiceQuotaChange]
[RequestedServiceQuotaChange]
[RequestedServiceQuotaChange]
-> Iso
(Maybe [RequestedServiceQuotaChange])
(Maybe [RequestedServiceQuotaChange])
(Maybe [RequestedServiceQuotaChange])
(Maybe [RequestedServiceQuotaChange])
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
[RequestedServiceQuotaChange]
[RequestedServiceQuotaChange]
[RequestedServiceQuotaChange]
[RequestedServiceQuotaChange]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listRequestedServiceQuotaChangeHistoryByQuotaResponse_httpStatus :: Lens.Lens' ListRequestedServiceQuotaChangeHistoryByQuotaResponse Prelude.Int
listRequestedServiceQuotaChangeHistoryByQuotaResponse_httpStatus :: (Int -> f Int)
-> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> f ListRequestedServiceQuotaChangeHistoryByQuotaResponse
listRequestedServiceQuotaChangeHistoryByQuotaResponse_httpStatus = (ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Int)
-> (ListRequestedServiceQuotaChangeHistoryByQuotaResponse
-> Int -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
-> Lens
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
ListRequestedServiceQuotaChangeHistoryByQuotaResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRequestedServiceQuotaChangeHistoryByQuotaResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse
s@ListRequestedServiceQuotaChangeHistoryByQuotaResponse' {} Int
a -> ListRequestedServiceQuotaChangeHistoryByQuotaResponse
s {$sel:httpStatus:ListRequestedServiceQuotaChangeHistoryByQuotaResponse' :: Int
httpStatus = Int
a} :: ListRequestedServiceQuotaChangeHistoryByQuotaResponse)
instance
Prelude.NFData
ListRequestedServiceQuotaChangeHistoryByQuotaResponse