{-# 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.ListServiceQuotaIncreaseRequestsInTemplate
(
ListServiceQuotaIncreaseRequestsInTemplate (..),
newListServiceQuotaIncreaseRequestsInTemplate,
listServiceQuotaIncreaseRequestsInTemplate_awsRegion,
listServiceQuotaIncreaseRequestsInTemplate_maxResults,
listServiceQuotaIncreaseRequestsInTemplate_nextToken,
listServiceQuotaIncreaseRequestsInTemplate_serviceCode,
ListServiceQuotaIncreaseRequestsInTemplateResponse (..),
newListServiceQuotaIncreaseRequestsInTemplateResponse,
listServiceQuotaIncreaseRequestsInTemplateResponse_nextToken,
listServiceQuotaIncreaseRequestsInTemplateResponse_serviceQuotaIncreaseRequestInTemplateList,
listServiceQuotaIncreaseRequestsInTemplateResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.ServiceQuotas.Types
data ListServiceQuotaIncreaseRequestsInTemplate = ListServiceQuotaIncreaseRequestsInTemplate'
{
ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
awsRegion :: Prelude.Maybe Prelude.Text,
ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
serviceCode :: Prelude.Maybe Prelude.Text
}
deriving (ListServiceQuotaIncreaseRequestsInTemplate
-> ListServiceQuotaIncreaseRequestsInTemplate -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListServiceQuotaIncreaseRequestsInTemplate
-> ListServiceQuotaIncreaseRequestsInTemplate -> Bool
$c/= :: ListServiceQuotaIncreaseRequestsInTemplate
-> ListServiceQuotaIncreaseRequestsInTemplate -> Bool
== :: ListServiceQuotaIncreaseRequestsInTemplate
-> ListServiceQuotaIncreaseRequestsInTemplate -> Bool
$c== :: ListServiceQuotaIncreaseRequestsInTemplate
-> ListServiceQuotaIncreaseRequestsInTemplate -> Bool
Prelude.Eq, ReadPrec [ListServiceQuotaIncreaseRequestsInTemplate]
ReadPrec ListServiceQuotaIncreaseRequestsInTemplate
Int -> ReadS ListServiceQuotaIncreaseRequestsInTemplate
ReadS [ListServiceQuotaIncreaseRequestsInTemplate]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListServiceQuotaIncreaseRequestsInTemplate]
$creadListPrec :: ReadPrec [ListServiceQuotaIncreaseRequestsInTemplate]
readPrec :: ReadPrec ListServiceQuotaIncreaseRequestsInTemplate
$creadPrec :: ReadPrec ListServiceQuotaIncreaseRequestsInTemplate
readList :: ReadS [ListServiceQuotaIncreaseRequestsInTemplate]
$creadList :: ReadS [ListServiceQuotaIncreaseRequestsInTemplate]
readsPrec :: Int -> ReadS ListServiceQuotaIncreaseRequestsInTemplate
$creadsPrec :: Int -> ReadS ListServiceQuotaIncreaseRequestsInTemplate
Prelude.Read, Int -> ListServiceQuotaIncreaseRequestsInTemplate -> ShowS
[ListServiceQuotaIncreaseRequestsInTemplate] -> ShowS
ListServiceQuotaIncreaseRequestsInTemplate -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListServiceQuotaIncreaseRequestsInTemplate] -> ShowS
$cshowList :: [ListServiceQuotaIncreaseRequestsInTemplate] -> ShowS
show :: ListServiceQuotaIncreaseRequestsInTemplate -> String
$cshow :: ListServiceQuotaIncreaseRequestsInTemplate -> String
showsPrec :: Int -> ListServiceQuotaIncreaseRequestsInTemplate -> ShowS
$cshowsPrec :: Int -> ListServiceQuotaIncreaseRequestsInTemplate -> ShowS
Prelude.Show, forall x.
Rep ListServiceQuotaIncreaseRequestsInTemplate x
-> ListServiceQuotaIncreaseRequestsInTemplate
forall x.
ListServiceQuotaIncreaseRequestsInTemplate
-> Rep ListServiceQuotaIncreaseRequestsInTemplate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListServiceQuotaIncreaseRequestsInTemplate x
-> ListServiceQuotaIncreaseRequestsInTemplate
$cfrom :: forall x.
ListServiceQuotaIncreaseRequestsInTemplate
-> Rep ListServiceQuotaIncreaseRequestsInTemplate x
Prelude.Generic)
newListServiceQuotaIncreaseRequestsInTemplate ::
ListServiceQuotaIncreaseRequestsInTemplate
newListServiceQuotaIncreaseRequestsInTemplate :: ListServiceQuotaIncreaseRequestsInTemplate
newListServiceQuotaIncreaseRequestsInTemplate =
ListServiceQuotaIncreaseRequestsInTemplate'
{ $sel:awsRegion:ListServiceQuotaIncreaseRequestsInTemplate' :: Maybe Text
awsRegion =
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListServiceQuotaIncreaseRequestsInTemplate' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplate' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:serviceCode:ListServiceQuotaIncreaseRequestsInTemplate' :: Maybe Text
serviceCode = forall a. Maybe a
Prelude.Nothing
}
listServiceQuotaIncreaseRequestsInTemplate_awsRegion :: Lens.Lens' ListServiceQuotaIncreaseRequestsInTemplate (Prelude.Maybe Prelude.Text)
listServiceQuotaIncreaseRequestsInTemplate_awsRegion :: Lens' ListServiceQuotaIncreaseRequestsInTemplate (Maybe Text)
listServiceQuotaIncreaseRequestsInTemplate_awsRegion = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceQuotaIncreaseRequestsInTemplate' {Maybe Text
awsRegion :: Maybe Text
$sel:awsRegion:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
awsRegion} -> Maybe Text
awsRegion) (\s :: ListServiceQuotaIncreaseRequestsInTemplate
s@ListServiceQuotaIncreaseRequestsInTemplate' {} Maybe Text
a -> ListServiceQuotaIncreaseRequestsInTemplate
s {$sel:awsRegion:ListServiceQuotaIncreaseRequestsInTemplate' :: Maybe Text
awsRegion = Maybe Text
a} :: ListServiceQuotaIncreaseRequestsInTemplate)
listServiceQuotaIncreaseRequestsInTemplate_maxResults :: Lens.Lens' ListServiceQuotaIncreaseRequestsInTemplate (Prelude.Maybe Prelude.Natural)
listServiceQuotaIncreaseRequestsInTemplate_maxResults :: Lens' ListServiceQuotaIncreaseRequestsInTemplate (Maybe Natural)
listServiceQuotaIncreaseRequestsInTemplate_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceQuotaIncreaseRequestsInTemplate' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListServiceQuotaIncreaseRequestsInTemplate
s@ListServiceQuotaIncreaseRequestsInTemplate' {} Maybe Natural
a -> ListServiceQuotaIncreaseRequestsInTemplate
s {$sel:maxResults:ListServiceQuotaIncreaseRequestsInTemplate' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListServiceQuotaIncreaseRequestsInTemplate)
listServiceQuotaIncreaseRequestsInTemplate_nextToken :: Lens.Lens' ListServiceQuotaIncreaseRequestsInTemplate (Prelude.Maybe Prelude.Text)
listServiceQuotaIncreaseRequestsInTemplate_nextToken :: Lens' ListServiceQuotaIncreaseRequestsInTemplate (Maybe Text)
listServiceQuotaIncreaseRequestsInTemplate_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceQuotaIncreaseRequestsInTemplate' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListServiceQuotaIncreaseRequestsInTemplate
s@ListServiceQuotaIncreaseRequestsInTemplate' {} Maybe Text
a -> ListServiceQuotaIncreaseRequestsInTemplate
s {$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplate' :: Maybe Text
nextToken = Maybe Text
a} :: ListServiceQuotaIncreaseRequestsInTemplate)
listServiceQuotaIncreaseRequestsInTemplate_serviceCode :: Lens.Lens' ListServiceQuotaIncreaseRequestsInTemplate (Prelude.Maybe Prelude.Text)
listServiceQuotaIncreaseRequestsInTemplate_serviceCode :: Lens' ListServiceQuotaIncreaseRequestsInTemplate (Maybe Text)
listServiceQuotaIncreaseRequestsInTemplate_serviceCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceQuotaIncreaseRequestsInTemplate' {Maybe Text
serviceCode :: Maybe Text
$sel:serviceCode:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
serviceCode} -> Maybe Text
serviceCode) (\s :: ListServiceQuotaIncreaseRequestsInTemplate
s@ListServiceQuotaIncreaseRequestsInTemplate' {} Maybe Text
a -> ListServiceQuotaIncreaseRequestsInTemplate
s {$sel:serviceCode:ListServiceQuotaIncreaseRequestsInTemplate' :: Maybe Text
serviceCode = Maybe Text
a} :: ListServiceQuotaIncreaseRequestsInTemplate)
instance
Core.AWSPager
ListServiceQuotaIncreaseRequestsInTemplate
where
page :: ListServiceQuotaIncreaseRequestsInTemplate
-> AWSResponse ListServiceQuotaIncreaseRequestsInTemplate
-> Maybe ListServiceQuotaIncreaseRequestsInTemplate
page ListServiceQuotaIncreaseRequestsInTemplate
rq AWSResponse ListServiceQuotaIncreaseRequestsInTemplate
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListServiceQuotaIncreaseRequestsInTemplate
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
ListServiceQuotaIncreaseRequestsInTemplateResponse (Maybe Text)
listServiceQuotaIncreaseRequestsInTemplateResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListServiceQuotaIncreaseRequestsInTemplate
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
ListServiceQuotaIncreaseRequestsInTemplateResponse
(Maybe [ServiceQuotaIncreaseRequestInTemplate])
listServiceQuotaIncreaseRequestsInTemplateResponse_serviceQuotaIncreaseRequestInTemplateList
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ ListServiceQuotaIncreaseRequestsInTemplate
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListServiceQuotaIncreaseRequestsInTemplate (Maybe Text)
listServiceQuotaIncreaseRequestsInTemplate_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListServiceQuotaIncreaseRequestsInTemplate
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens'
ListServiceQuotaIncreaseRequestsInTemplateResponse (Maybe Text)
listServiceQuotaIncreaseRequestsInTemplateResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance
Core.AWSRequest
ListServiceQuotaIncreaseRequestsInTemplate
where
type
AWSResponse
ListServiceQuotaIncreaseRequestsInTemplate =
ListServiceQuotaIncreaseRequestsInTemplateResponse
request :: (Service -> Service)
-> ListServiceQuotaIncreaseRequestsInTemplate
-> Request ListServiceQuotaIncreaseRequestsInTemplate
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ListServiceQuotaIncreaseRequestsInTemplate
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse ListServiceQuotaIncreaseRequestsInTemplate)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe [ServiceQuotaIncreaseRequestInTemplate]
-> Int
-> ListServiceQuotaIncreaseRequestsInTemplateResponse
ListServiceQuotaIncreaseRequestsInTemplateResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"NextToken")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"ServiceQuotaIncreaseRequestInTemplateList"
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance
Prelude.Hashable
ListServiceQuotaIncreaseRequestsInTemplate
where
hashWithSalt :: Int -> ListServiceQuotaIncreaseRequestsInTemplate -> Int
hashWithSalt
Int
_salt
ListServiceQuotaIncreaseRequestsInTemplate' {Maybe Natural
Maybe Text
serviceCode :: Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
awsRegion :: Maybe Text
$sel:serviceCode:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
$sel:maxResults:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Natural
$sel:awsRegion:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
awsRegion
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
serviceCode
instance
Prelude.NFData
ListServiceQuotaIncreaseRequestsInTemplate
where
rnf :: ListServiceQuotaIncreaseRequestsInTemplate -> ()
rnf ListServiceQuotaIncreaseRequestsInTemplate' {Maybe Natural
Maybe Text
serviceCode :: Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
awsRegion :: Maybe Text
$sel:serviceCode:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
$sel:maxResults:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Natural
$sel:awsRegion:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
awsRegion
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
maxResults
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
serviceCode
instance
Data.ToHeaders
ListServiceQuotaIncreaseRequestsInTemplate
where
toHeaders :: ListServiceQuotaIncreaseRequestsInTemplate -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"ServiceQuotasV20190624.ListServiceQuotaIncreaseRequestsInTemplate" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance
Data.ToJSON
ListServiceQuotaIncreaseRequestsInTemplate
where
toJSON :: ListServiceQuotaIncreaseRequestsInTemplate -> Value
toJSON
ListServiceQuotaIncreaseRequestsInTemplate' {Maybe Natural
Maybe Text
serviceCode :: Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
awsRegion :: Maybe Text
$sel:serviceCode:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
$sel:maxResults:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Natural
$sel:awsRegion:ListServiceQuotaIncreaseRequestsInTemplate' :: ListServiceQuotaIncreaseRequestsInTemplate -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"AwsRegion" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
awsRegion,
(Key
"MaxResults" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults,
(Key
"NextToken" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken,
(Key
"ServiceCode" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
serviceCode
]
)
instance
Data.ToPath
ListServiceQuotaIncreaseRequestsInTemplate
where
toPath :: ListServiceQuotaIncreaseRequestsInTemplate -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Data.ToQuery
ListServiceQuotaIncreaseRequestsInTemplate
where
toQuery :: ListServiceQuotaIncreaseRequestsInTemplate -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data ListServiceQuotaIncreaseRequestsInTemplateResponse = ListServiceQuotaIncreaseRequestsInTemplateResponse'
{
ListServiceQuotaIncreaseRequestsInTemplateResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListServiceQuotaIncreaseRequestsInTemplateResponse
-> Maybe [ServiceQuotaIncreaseRequestInTemplate]
serviceQuotaIncreaseRequestInTemplateList :: Prelude.Maybe [ServiceQuotaIncreaseRequestInTemplate],
ListServiceQuotaIncreaseRequestsInTemplateResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListServiceQuotaIncreaseRequestsInTemplateResponse
-> ListServiceQuotaIncreaseRequestsInTemplateResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListServiceQuotaIncreaseRequestsInTemplateResponse
-> ListServiceQuotaIncreaseRequestsInTemplateResponse -> Bool
$c/= :: ListServiceQuotaIncreaseRequestsInTemplateResponse
-> ListServiceQuotaIncreaseRequestsInTemplateResponse -> Bool
== :: ListServiceQuotaIncreaseRequestsInTemplateResponse
-> ListServiceQuotaIncreaseRequestsInTemplateResponse -> Bool
$c== :: ListServiceQuotaIncreaseRequestsInTemplateResponse
-> ListServiceQuotaIncreaseRequestsInTemplateResponse -> Bool
Prelude.Eq, ReadPrec [ListServiceQuotaIncreaseRequestsInTemplateResponse]
ReadPrec ListServiceQuotaIncreaseRequestsInTemplateResponse
Int -> ReadS ListServiceQuotaIncreaseRequestsInTemplateResponse
ReadS [ListServiceQuotaIncreaseRequestsInTemplateResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListServiceQuotaIncreaseRequestsInTemplateResponse]
$creadListPrec :: ReadPrec [ListServiceQuotaIncreaseRequestsInTemplateResponse]
readPrec :: ReadPrec ListServiceQuotaIncreaseRequestsInTemplateResponse
$creadPrec :: ReadPrec ListServiceQuotaIncreaseRequestsInTemplateResponse
readList :: ReadS [ListServiceQuotaIncreaseRequestsInTemplateResponse]
$creadList :: ReadS [ListServiceQuotaIncreaseRequestsInTemplateResponse]
readsPrec :: Int -> ReadS ListServiceQuotaIncreaseRequestsInTemplateResponse
$creadsPrec :: Int -> ReadS ListServiceQuotaIncreaseRequestsInTemplateResponse
Prelude.Read, Int -> ListServiceQuotaIncreaseRequestsInTemplateResponse -> ShowS
[ListServiceQuotaIncreaseRequestsInTemplateResponse] -> ShowS
ListServiceQuotaIncreaseRequestsInTemplateResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListServiceQuotaIncreaseRequestsInTemplateResponse] -> ShowS
$cshowList :: [ListServiceQuotaIncreaseRequestsInTemplateResponse] -> ShowS
show :: ListServiceQuotaIncreaseRequestsInTemplateResponse -> String
$cshow :: ListServiceQuotaIncreaseRequestsInTemplateResponse -> String
showsPrec :: Int -> ListServiceQuotaIncreaseRequestsInTemplateResponse -> ShowS
$cshowsPrec :: Int -> ListServiceQuotaIncreaseRequestsInTemplateResponse -> ShowS
Prelude.Show, forall x.
Rep ListServiceQuotaIncreaseRequestsInTemplateResponse x
-> ListServiceQuotaIncreaseRequestsInTemplateResponse
forall x.
ListServiceQuotaIncreaseRequestsInTemplateResponse
-> Rep ListServiceQuotaIncreaseRequestsInTemplateResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListServiceQuotaIncreaseRequestsInTemplateResponse x
-> ListServiceQuotaIncreaseRequestsInTemplateResponse
$cfrom :: forall x.
ListServiceQuotaIncreaseRequestsInTemplateResponse
-> Rep ListServiceQuotaIncreaseRequestsInTemplateResponse x
Prelude.Generic)
newListServiceQuotaIncreaseRequestsInTemplateResponse ::
Prelude.Int ->
ListServiceQuotaIncreaseRequestsInTemplateResponse
newListServiceQuotaIncreaseRequestsInTemplateResponse :: Int -> ListServiceQuotaIncreaseRequestsInTemplateResponse
newListServiceQuotaIncreaseRequestsInTemplateResponse
Int
pHttpStatus_ =
ListServiceQuotaIncreaseRequestsInTemplateResponse'
{ $sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: Maybe Text
nextToken =
forall a. Maybe a
Prelude.Nothing,
$sel:serviceQuotaIncreaseRequestInTemplateList:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: Maybe [ServiceQuotaIncreaseRequestInTemplate]
serviceQuotaIncreaseRequestInTemplateList =
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
listServiceQuotaIncreaseRequestsInTemplateResponse_nextToken :: Lens.Lens' ListServiceQuotaIncreaseRequestsInTemplateResponse (Prelude.Maybe Prelude.Text)
listServiceQuotaIncreaseRequestsInTemplateResponse_nextToken :: Lens'
ListServiceQuotaIncreaseRequestsInTemplateResponse (Maybe Text)
listServiceQuotaIncreaseRequestsInTemplateResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceQuotaIncreaseRequestsInTemplateResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: ListServiceQuotaIncreaseRequestsInTemplateResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListServiceQuotaIncreaseRequestsInTemplateResponse
s@ListServiceQuotaIncreaseRequestsInTemplateResponse' {} Maybe Text
a -> ListServiceQuotaIncreaseRequestsInTemplateResponse
s {$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListServiceQuotaIncreaseRequestsInTemplateResponse)
listServiceQuotaIncreaseRequestsInTemplateResponse_serviceQuotaIncreaseRequestInTemplateList :: Lens.Lens' ListServiceQuotaIncreaseRequestsInTemplateResponse (Prelude.Maybe [ServiceQuotaIncreaseRequestInTemplate])
listServiceQuotaIncreaseRequestsInTemplateResponse_serviceQuotaIncreaseRequestInTemplateList :: Lens'
ListServiceQuotaIncreaseRequestsInTemplateResponse
(Maybe [ServiceQuotaIncreaseRequestInTemplate])
listServiceQuotaIncreaseRequestsInTemplateResponse_serviceQuotaIncreaseRequestInTemplateList = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceQuotaIncreaseRequestsInTemplateResponse' {Maybe [ServiceQuotaIncreaseRequestInTemplate]
serviceQuotaIncreaseRequestInTemplateList :: Maybe [ServiceQuotaIncreaseRequestInTemplate]
$sel:serviceQuotaIncreaseRequestInTemplateList:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: ListServiceQuotaIncreaseRequestsInTemplateResponse
-> Maybe [ServiceQuotaIncreaseRequestInTemplate]
serviceQuotaIncreaseRequestInTemplateList} -> Maybe [ServiceQuotaIncreaseRequestInTemplate]
serviceQuotaIncreaseRequestInTemplateList) (\s :: ListServiceQuotaIncreaseRequestsInTemplateResponse
s@ListServiceQuotaIncreaseRequestsInTemplateResponse' {} Maybe [ServiceQuotaIncreaseRequestInTemplate]
a -> ListServiceQuotaIncreaseRequestsInTemplateResponse
s {$sel:serviceQuotaIncreaseRequestInTemplateList:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: Maybe [ServiceQuotaIncreaseRequestInTemplate]
serviceQuotaIncreaseRequestInTemplateList = Maybe [ServiceQuotaIncreaseRequestInTemplate]
a} :: ListServiceQuotaIncreaseRequestsInTemplateResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listServiceQuotaIncreaseRequestsInTemplateResponse_httpStatus :: Lens.Lens' ListServiceQuotaIncreaseRequestsInTemplateResponse Prelude.Int
listServiceQuotaIncreaseRequestsInTemplateResponse_httpStatus :: Lens' ListServiceQuotaIncreaseRequestsInTemplateResponse Int
listServiceQuotaIncreaseRequestsInTemplateResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListServiceQuotaIncreaseRequestsInTemplateResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: ListServiceQuotaIncreaseRequestsInTemplateResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListServiceQuotaIncreaseRequestsInTemplateResponse
s@ListServiceQuotaIncreaseRequestsInTemplateResponse' {} Int
a -> ListServiceQuotaIncreaseRequestsInTemplateResponse
s {$sel:httpStatus:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: Int
httpStatus = Int
a} :: ListServiceQuotaIncreaseRequestsInTemplateResponse)
instance
Prelude.NFData
ListServiceQuotaIncreaseRequestsInTemplateResponse
where
rnf :: ListServiceQuotaIncreaseRequestsInTemplateResponse -> ()
rnf
ListServiceQuotaIncreaseRequestsInTemplateResponse' {Int
Maybe [ServiceQuotaIncreaseRequestInTemplate]
Maybe Text
httpStatus :: Int
serviceQuotaIncreaseRequestInTemplateList :: Maybe [ServiceQuotaIncreaseRequestInTemplate]
nextToken :: Maybe Text
$sel:httpStatus:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: ListServiceQuotaIncreaseRequestsInTemplateResponse -> Int
$sel:serviceQuotaIncreaseRequestInTemplateList:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: ListServiceQuotaIncreaseRequestsInTemplateResponse
-> Maybe [ServiceQuotaIncreaseRequestInTemplate]
$sel:nextToken:ListServiceQuotaIncreaseRequestsInTemplateResponse' :: ListServiceQuotaIncreaseRequestsInTemplateResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [ServiceQuotaIncreaseRequestInTemplate]
serviceQuotaIncreaseRequestInTemplateList
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus