{-# 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.PutServiceQuotaIncreaseRequestIntoTemplate
(
PutServiceQuotaIncreaseRequestIntoTemplate (..),
newPutServiceQuotaIncreaseRequestIntoTemplate,
putServiceQuotaIncreaseRequestIntoTemplate_quotaCode,
putServiceQuotaIncreaseRequestIntoTemplate_serviceCode,
putServiceQuotaIncreaseRequestIntoTemplate_awsRegion,
putServiceQuotaIncreaseRequestIntoTemplate_desiredValue,
PutServiceQuotaIncreaseRequestIntoTemplateResponse (..),
newPutServiceQuotaIncreaseRequestIntoTemplateResponse,
putServiceQuotaIncreaseRequestIntoTemplateResponse_serviceQuotaIncreaseRequestInTemplate,
putServiceQuotaIncreaseRequestIntoTemplateResponse_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 PutServiceQuotaIncreaseRequestIntoTemplate = PutServiceQuotaIncreaseRequestIntoTemplate'
{
PutServiceQuotaIncreaseRequestIntoTemplate -> Text
quotaCode :: Prelude.Text,
PutServiceQuotaIncreaseRequestIntoTemplate -> Text
serviceCode :: Prelude.Text,
PutServiceQuotaIncreaseRequestIntoTemplate -> Text
awsRegion :: Prelude.Text,
PutServiceQuotaIncreaseRequestIntoTemplate -> Double
desiredValue :: Prelude.Double
}
deriving (PutServiceQuotaIncreaseRequestIntoTemplate
-> PutServiceQuotaIncreaseRequestIntoTemplate -> Bool
(PutServiceQuotaIncreaseRequestIntoTemplate
-> PutServiceQuotaIncreaseRequestIntoTemplate -> Bool)
-> (PutServiceQuotaIncreaseRequestIntoTemplate
-> PutServiceQuotaIncreaseRequestIntoTemplate -> Bool)
-> Eq PutServiceQuotaIncreaseRequestIntoTemplate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutServiceQuotaIncreaseRequestIntoTemplate
-> PutServiceQuotaIncreaseRequestIntoTemplate -> Bool
$c/= :: PutServiceQuotaIncreaseRequestIntoTemplate
-> PutServiceQuotaIncreaseRequestIntoTemplate -> Bool
== :: PutServiceQuotaIncreaseRequestIntoTemplate
-> PutServiceQuotaIncreaseRequestIntoTemplate -> Bool
$c== :: PutServiceQuotaIncreaseRequestIntoTemplate
-> PutServiceQuotaIncreaseRequestIntoTemplate -> Bool
Prelude.Eq, ReadPrec [PutServiceQuotaIncreaseRequestIntoTemplate]
ReadPrec PutServiceQuotaIncreaseRequestIntoTemplate
Int -> ReadS PutServiceQuotaIncreaseRequestIntoTemplate
ReadS [PutServiceQuotaIncreaseRequestIntoTemplate]
(Int -> ReadS PutServiceQuotaIncreaseRequestIntoTemplate)
-> ReadS [PutServiceQuotaIncreaseRequestIntoTemplate]
-> ReadPrec PutServiceQuotaIncreaseRequestIntoTemplate
-> ReadPrec [PutServiceQuotaIncreaseRequestIntoTemplate]
-> Read PutServiceQuotaIncreaseRequestIntoTemplate
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutServiceQuotaIncreaseRequestIntoTemplate]
$creadListPrec :: ReadPrec [PutServiceQuotaIncreaseRequestIntoTemplate]
readPrec :: ReadPrec PutServiceQuotaIncreaseRequestIntoTemplate
$creadPrec :: ReadPrec PutServiceQuotaIncreaseRequestIntoTemplate
readList :: ReadS [PutServiceQuotaIncreaseRequestIntoTemplate]
$creadList :: ReadS [PutServiceQuotaIncreaseRequestIntoTemplate]
readsPrec :: Int -> ReadS PutServiceQuotaIncreaseRequestIntoTemplate
$creadsPrec :: Int -> ReadS PutServiceQuotaIncreaseRequestIntoTemplate
Prelude.Read, Int -> PutServiceQuotaIncreaseRequestIntoTemplate -> ShowS
[PutServiceQuotaIncreaseRequestIntoTemplate] -> ShowS
PutServiceQuotaIncreaseRequestIntoTemplate -> String
(Int -> PutServiceQuotaIncreaseRequestIntoTemplate -> ShowS)
-> (PutServiceQuotaIncreaseRequestIntoTemplate -> String)
-> ([PutServiceQuotaIncreaseRequestIntoTemplate] -> ShowS)
-> Show PutServiceQuotaIncreaseRequestIntoTemplate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutServiceQuotaIncreaseRequestIntoTemplate] -> ShowS
$cshowList :: [PutServiceQuotaIncreaseRequestIntoTemplate] -> ShowS
show :: PutServiceQuotaIncreaseRequestIntoTemplate -> String
$cshow :: PutServiceQuotaIncreaseRequestIntoTemplate -> String
showsPrec :: Int -> PutServiceQuotaIncreaseRequestIntoTemplate -> ShowS
$cshowsPrec :: Int -> PutServiceQuotaIncreaseRequestIntoTemplate -> ShowS
Prelude.Show, (forall x.
PutServiceQuotaIncreaseRequestIntoTemplate
-> Rep PutServiceQuotaIncreaseRequestIntoTemplate x)
-> (forall x.
Rep PutServiceQuotaIncreaseRequestIntoTemplate x
-> PutServiceQuotaIncreaseRequestIntoTemplate)
-> Generic PutServiceQuotaIncreaseRequestIntoTemplate
forall x.
Rep PutServiceQuotaIncreaseRequestIntoTemplate x
-> PutServiceQuotaIncreaseRequestIntoTemplate
forall x.
PutServiceQuotaIncreaseRequestIntoTemplate
-> Rep PutServiceQuotaIncreaseRequestIntoTemplate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PutServiceQuotaIncreaseRequestIntoTemplate x
-> PutServiceQuotaIncreaseRequestIntoTemplate
$cfrom :: forall x.
PutServiceQuotaIncreaseRequestIntoTemplate
-> Rep PutServiceQuotaIncreaseRequestIntoTemplate x
Prelude.Generic)
newPutServiceQuotaIncreaseRequestIntoTemplate ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Double ->
PutServiceQuotaIncreaseRequestIntoTemplate
newPutServiceQuotaIncreaseRequestIntoTemplate :: Text
-> Text
-> Text
-> Double
-> PutServiceQuotaIncreaseRequestIntoTemplate
newPutServiceQuotaIncreaseRequestIntoTemplate
Text
pQuotaCode_
Text
pServiceCode_
Text
pAwsRegion_
Double
pDesiredValue_ =
PutServiceQuotaIncreaseRequestIntoTemplate' :: Text
-> Text
-> Text
-> Double
-> PutServiceQuotaIncreaseRequestIntoTemplate
PutServiceQuotaIncreaseRequestIntoTemplate'
{ $sel:quotaCode:PutServiceQuotaIncreaseRequestIntoTemplate' :: Text
quotaCode =
Text
pQuotaCode_,
$sel:serviceCode:PutServiceQuotaIncreaseRequestIntoTemplate' :: Text
serviceCode = Text
pServiceCode_,
$sel:awsRegion:PutServiceQuotaIncreaseRequestIntoTemplate' :: Text
awsRegion = Text
pAwsRegion_,
$sel:desiredValue:PutServiceQuotaIncreaseRequestIntoTemplate' :: Double
desiredValue = Double
pDesiredValue_
}
putServiceQuotaIncreaseRequestIntoTemplate_quotaCode :: Lens.Lens' PutServiceQuotaIncreaseRequestIntoTemplate Prelude.Text
putServiceQuotaIncreaseRequestIntoTemplate_quotaCode :: (Text -> f Text)
-> PutServiceQuotaIncreaseRequestIntoTemplate
-> f PutServiceQuotaIncreaseRequestIntoTemplate
putServiceQuotaIncreaseRequestIntoTemplate_quotaCode = (PutServiceQuotaIncreaseRequestIntoTemplate -> Text)
-> (PutServiceQuotaIncreaseRequestIntoTemplate
-> Text -> PutServiceQuotaIncreaseRequestIntoTemplate)
-> Lens
PutServiceQuotaIncreaseRequestIntoTemplate
PutServiceQuotaIncreaseRequestIntoTemplate
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutServiceQuotaIncreaseRequestIntoTemplate' {Text
quotaCode :: Text
$sel:quotaCode:PutServiceQuotaIncreaseRequestIntoTemplate' :: PutServiceQuotaIncreaseRequestIntoTemplate -> Text
quotaCode} -> Text
quotaCode) (\s :: PutServiceQuotaIncreaseRequestIntoTemplate
s@PutServiceQuotaIncreaseRequestIntoTemplate' {} Text
a -> PutServiceQuotaIncreaseRequestIntoTemplate
s {$sel:quotaCode:PutServiceQuotaIncreaseRequestIntoTemplate' :: Text
quotaCode = Text
a} :: PutServiceQuotaIncreaseRequestIntoTemplate)
putServiceQuotaIncreaseRequestIntoTemplate_serviceCode :: Lens.Lens' PutServiceQuotaIncreaseRequestIntoTemplate Prelude.Text
putServiceQuotaIncreaseRequestIntoTemplate_serviceCode :: (Text -> f Text)
-> PutServiceQuotaIncreaseRequestIntoTemplate
-> f PutServiceQuotaIncreaseRequestIntoTemplate
putServiceQuotaIncreaseRequestIntoTemplate_serviceCode = (PutServiceQuotaIncreaseRequestIntoTemplate -> Text)
-> (PutServiceQuotaIncreaseRequestIntoTemplate
-> Text -> PutServiceQuotaIncreaseRequestIntoTemplate)
-> Lens
PutServiceQuotaIncreaseRequestIntoTemplate
PutServiceQuotaIncreaseRequestIntoTemplate
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutServiceQuotaIncreaseRequestIntoTemplate' {Text
serviceCode :: Text
$sel:serviceCode:PutServiceQuotaIncreaseRequestIntoTemplate' :: PutServiceQuotaIncreaseRequestIntoTemplate -> Text
serviceCode} -> Text
serviceCode) (\s :: PutServiceQuotaIncreaseRequestIntoTemplate
s@PutServiceQuotaIncreaseRequestIntoTemplate' {} Text
a -> PutServiceQuotaIncreaseRequestIntoTemplate
s {$sel:serviceCode:PutServiceQuotaIncreaseRequestIntoTemplate' :: Text
serviceCode = Text
a} :: PutServiceQuotaIncreaseRequestIntoTemplate)
putServiceQuotaIncreaseRequestIntoTemplate_awsRegion :: Lens.Lens' PutServiceQuotaIncreaseRequestIntoTemplate Prelude.Text
putServiceQuotaIncreaseRequestIntoTemplate_awsRegion :: (Text -> f Text)
-> PutServiceQuotaIncreaseRequestIntoTemplate
-> f PutServiceQuotaIncreaseRequestIntoTemplate
putServiceQuotaIncreaseRequestIntoTemplate_awsRegion = (PutServiceQuotaIncreaseRequestIntoTemplate -> Text)
-> (PutServiceQuotaIncreaseRequestIntoTemplate
-> Text -> PutServiceQuotaIncreaseRequestIntoTemplate)
-> Lens
PutServiceQuotaIncreaseRequestIntoTemplate
PutServiceQuotaIncreaseRequestIntoTemplate
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutServiceQuotaIncreaseRequestIntoTemplate' {Text
awsRegion :: Text
$sel:awsRegion:PutServiceQuotaIncreaseRequestIntoTemplate' :: PutServiceQuotaIncreaseRequestIntoTemplate -> Text
awsRegion} -> Text
awsRegion) (\s :: PutServiceQuotaIncreaseRequestIntoTemplate
s@PutServiceQuotaIncreaseRequestIntoTemplate' {} Text
a -> PutServiceQuotaIncreaseRequestIntoTemplate
s {$sel:awsRegion:PutServiceQuotaIncreaseRequestIntoTemplate' :: Text
awsRegion = Text
a} :: PutServiceQuotaIncreaseRequestIntoTemplate)
putServiceQuotaIncreaseRequestIntoTemplate_desiredValue :: Lens.Lens' PutServiceQuotaIncreaseRequestIntoTemplate Prelude.Double
putServiceQuotaIncreaseRequestIntoTemplate_desiredValue :: (Double -> f Double)
-> PutServiceQuotaIncreaseRequestIntoTemplate
-> f PutServiceQuotaIncreaseRequestIntoTemplate
putServiceQuotaIncreaseRequestIntoTemplate_desiredValue = (PutServiceQuotaIncreaseRequestIntoTemplate -> Double)
-> (PutServiceQuotaIncreaseRequestIntoTemplate
-> Double -> PutServiceQuotaIncreaseRequestIntoTemplate)
-> Lens
PutServiceQuotaIncreaseRequestIntoTemplate
PutServiceQuotaIncreaseRequestIntoTemplate
Double
Double
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutServiceQuotaIncreaseRequestIntoTemplate' {Double
desiredValue :: Double
$sel:desiredValue:PutServiceQuotaIncreaseRequestIntoTemplate' :: PutServiceQuotaIncreaseRequestIntoTemplate -> Double
desiredValue} -> Double
desiredValue) (\s :: PutServiceQuotaIncreaseRequestIntoTemplate
s@PutServiceQuotaIncreaseRequestIntoTemplate' {} Double
a -> PutServiceQuotaIncreaseRequestIntoTemplate
s {$sel:desiredValue:PutServiceQuotaIncreaseRequestIntoTemplate' :: Double
desiredValue = Double
a} :: PutServiceQuotaIncreaseRequestIntoTemplate)
instance
Core.AWSRequest
PutServiceQuotaIncreaseRequestIntoTemplate
where
type
AWSResponse
PutServiceQuotaIncreaseRequestIntoTemplate =
PutServiceQuotaIncreaseRequestIntoTemplateResponse
request :: PutServiceQuotaIncreaseRequestIntoTemplate
-> Request PutServiceQuotaIncreaseRequestIntoTemplate
request = Service
-> PutServiceQuotaIncreaseRequestIntoTemplate
-> Request PutServiceQuotaIncreaseRequestIntoTemplate
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy PutServiceQuotaIncreaseRequestIntoTemplate
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse PutServiceQuotaIncreaseRequestIntoTemplate)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse PutServiceQuotaIncreaseRequestIntoTemplate))
-> Logger
-> Service
-> Proxy PutServiceQuotaIncreaseRequestIntoTemplate
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse PutServiceQuotaIncreaseRequestIntoTemplate)))
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 ServiceQuotaIncreaseRequestInTemplate
-> Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse
PutServiceQuotaIncreaseRequestIntoTemplateResponse'
(Maybe ServiceQuotaIncreaseRequestInTemplate
-> Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse)
-> Either String (Maybe ServiceQuotaIncreaseRequestInTemplate)
-> Either
String (Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text
-> Either String (Maybe ServiceQuotaIncreaseRequestInTemplate)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ServiceQuotaIncreaseRequestInTemplate")
Either
String (Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse)
-> Either String Int
-> Either String PutServiceQuotaIncreaseRequestIntoTemplateResponse
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
PutServiceQuotaIncreaseRequestIntoTemplate
instance
Prelude.NFData
PutServiceQuotaIncreaseRequestIntoTemplate
instance
Core.ToHeaders
PutServiceQuotaIncreaseRequestIntoTemplate
where
toHeaders :: PutServiceQuotaIncreaseRequestIntoTemplate -> ResponseHeaders
toHeaders =
ResponseHeaders
-> PutServiceQuotaIncreaseRequestIntoTemplate -> 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.PutServiceQuotaIncreaseRequestIntoTemplate" ::
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
PutServiceQuotaIncreaseRequestIntoTemplate
where
toJSON :: PutServiceQuotaIncreaseRequestIntoTemplate -> Value
toJSON
PutServiceQuotaIncreaseRequestIntoTemplate' {Double
Text
desiredValue :: Double
awsRegion :: Text
serviceCode :: Text
quotaCode :: Text
$sel:desiredValue:PutServiceQuotaIncreaseRequestIntoTemplate' :: PutServiceQuotaIncreaseRequestIntoTemplate -> Double
$sel:awsRegion:PutServiceQuotaIncreaseRequestIntoTemplate' :: PutServiceQuotaIncreaseRequestIntoTemplate -> Text
$sel:serviceCode:PutServiceQuotaIncreaseRequestIntoTemplate' :: PutServiceQuotaIncreaseRequestIntoTemplate -> Text
$sel:quotaCode:PutServiceQuotaIncreaseRequestIntoTemplate' :: PutServiceQuotaIncreaseRequestIntoTemplate -> 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
"QuotaCode" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
quotaCode),
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
"AwsRegion" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
awsRegion),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"DesiredValue" Text -> Double -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Double
desiredValue)
]
)
instance
Core.ToPath
PutServiceQuotaIncreaseRequestIntoTemplate
where
toPath :: PutServiceQuotaIncreaseRequestIntoTemplate -> ByteString
toPath = ByteString
-> PutServiceQuotaIncreaseRequestIntoTemplate -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
PutServiceQuotaIncreaseRequestIntoTemplate
where
toQuery :: PutServiceQuotaIncreaseRequestIntoTemplate -> QueryString
toQuery = QueryString
-> PutServiceQuotaIncreaseRequestIntoTemplate -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data PutServiceQuotaIncreaseRequestIntoTemplateResponse = PutServiceQuotaIncreaseRequestIntoTemplateResponse'
{
PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> Maybe ServiceQuotaIncreaseRequestInTemplate
serviceQuotaIncreaseRequestInTemplate :: Prelude.Maybe ServiceQuotaIncreaseRequestInTemplate,
PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Int
httpStatus :: Prelude.Int
}
deriving (PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Bool
(PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Bool)
-> (PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Bool)
-> Eq PutServiceQuotaIncreaseRequestIntoTemplateResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Bool
$c/= :: PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Bool
== :: PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Bool
$c== :: PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Bool
Prelude.Eq, ReadPrec [PutServiceQuotaIncreaseRequestIntoTemplateResponse]
ReadPrec PutServiceQuotaIncreaseRequestIntoTemplateResponse
Int -> ReadS PutServiceQuotaIncreaseRequestIntoTemplateResponse
ReadS [PutServiceQuotaIncreaseRequestIntoTemplateResponse]
(Int -> ReadS PutServiceQuotaIncreaseRequestIntoTemplateResponse)
-> ReadS [PutServiceQuotaIncreaseRequestIntoTemplateResponse]
-> ReadPrec PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> ReadPrec [PutServiceQuotaIncreaseRequestIntoTemplateResponse]
-> Read PutServiceQuotaIncreaseRequestIntoTemplateResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutServiceQuotaIncreaseRequestIntoTemplateResponse]
$creadListPrec :: ReadPrec [PutServiceQuotaIncreaseRequestIntoTemplateResponse]
readPrec :: ReadPrec PutServiceQuotaIncreaseRequestIntoTemplateResponse
$creadPrec :: ReadPrec PutServiceQuotaIncreaseRequestIntoTemplateResponse
readList :: ReadS [PutServiceQuotaIncreaseRequestIntoTemplateResponse]
$creadList :: ReadS [PutServiceQuotaIncreaseRequestIntoTemplateResponse]
readsPrec :: Int -> ReadS PutServiceQuotaIncreaseRequestIntoTemplateResponse
$creadsPrec :: Int -> ReadS PutServiceQuotaIncreaseRequestIntoTemplateResponse
Prelude.Read, Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> ShowS
[PutServiceQuotaIncreaseRequestIntoTemplateResponse] -> ShowS
PutServiceQuotaIncreaseRequestIntoTemplateResponse -> String
(Int
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> ShowS)
-> (PutServiceQuotaIncreaseRequestIntoTemplateResponse -> String)
-> ([PutServiceQuotaIncreaseRequestIntoTemplateResponse] -> ShowS)
-> Show PutServiceQuotaIncreaseRequestIntoTemplateResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutServiceQuotaIncreaseRequestIntoTemplateResponse] -> ShowS
$cshowList :: [PutServiceQuotaIncreaseRequestIntoTemplateResponse] -> ShowS
show :: PutServiceQuotaIncreaseRequestIntoTemplateResponse -> String
$cshow :: PutServiceQuotaIncreaseRequestIntoTemplateResponse -> String
showsPrec :: Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> ShowS
$cshowsPrec :: Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse -> ShowS
Prelude.Show, (forall x.
PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> Rep PutServiceQuotaIncreaseRequestIntoTemplateResponse x)
-> (forall x.
Rep PutServiceQuotaIncreaseRequestIntoTemplateResponse x
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse)
-> Generic PutServiceQuotaIncreaseRequestIntoTemplateResponse
forall x.
Rep PutServiceQuotaIncreaseRequestIntoTemplateResponse x
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse
forall x.
PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> Rep PutServiceQuotaIncreaseRequestIntoTemplateResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PutServiceQuotaIncreaseRequestIntoTemplateResponse x
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse
$cfrom :: forall x.
PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> Rep PutServiceQuotaIncreaseRequestIntoTemplateResponse x
Prelude.Generic)
newPutServiceQuotaIncreaseRequestIntoTemplateResponse ::
Prelude.Int ->
PutServiceQuotaIncreaseRequestIntoTemplateResponse
newPutServiceQuotaIncreaseRequestIntoTemplateResponse :: Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse
newPutServiceQuotaIncreaseRequestIntoTemplateResponse
Int
pHttpStatus_ =
PutServiceQuotaIncreaseRequestIntoTemplateResponse' :: Maybe ServiceQuotaIncreaseRequestInTemplate
-> Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse
PutServiceQuotaIncreaseRequestIntoTemplateResponse'
{ $sel:serviceQuotaIncreaseRequestInTemplate:PutServiceQuotaIncreaseRequestIntoTemplateResponse' :: Maybe ServiceQuotaIncreaseRequestInTemplate
serviceQuotaIncreaseRequestInTemplate =
Maybe ServiceQuotaIncreaseRequestInTemplate
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:PutServiceQuotaIncreaseRequestIntoTemplateResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
putServiceQuotaIncreaseRequestIntoTemplateResponse_serviceQuotaIncreaseRequestInTemplate :: Lens.Lens' PutServiceQuotaIncreaseRequestIntoTemplateResponse (Prelude.Maybe ServiceQuotaIncreaseRequestInTemplate)
putServiceQuotaIncreaseRequestIntoTemplateResponse_serviceQuotaIncreaseRequestInTemplate :: (Maybe ServiceQuotaIncreaseRequestInTemplate
-> f (Maybe ServiceQuotaIncreaseRequestInTemplate))
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> f PutServiceQuotaIncreaseRequestIntoTemplateResponse
putServiceQuotaIncreaseRequestIntoTemplateResponse_serviceQuotaIncreaseRequestInTemplate = (PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> Maybe ServiceQuotaIncreaseRequestInTemplate)
-> (PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> Maybe ServiceQuotaIncreaseRequestInTemplate
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse)
-> Lens
PutServiceQuotaIncreaseRequestIntoTemplateResponse
PutServiceQuotaIncreaseRequestIntoTemplateResponse
(Maybe ServiceQuotaIncreaseRequestInTemplate)
(Maybe ServiceQuotaIncreaseRequestInTemplate)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutServiceQuotaIncreaseRequestIntoTemplateResponse' {Maybe ServiceQuotaIncreaseRequestInTemplate
serviceQuotaIncreaseRequestInTemplate :: Maybe ServiceQuotaIncreaseRequestInTemplate
$sel:serviceQuotaIncreaseRequestInTemplate:PutServiceQuotaIncreaseRequestIntoTemplateResponse' :: PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> Maybe ServiceQuotaIncreaseRequestInTemplate
serviceQuotaIncreaseRequestInTemplate} -> Maybe ServiceQuotaIncreaseRequestInTemplate
serviceQuotaIncreaseRequestInTemplate) (\s :: PutServiceQuotaIncreaseRequestIntoTemplateResponse
s@PutServiceQuotaIncreaseRequestIntoTemplateResponse' {} Maybe ServiceQuotaIncreaseRequestInTemplate
a -> PutServiceQuotaIncreaseRequestIntoTemplateResponse
s {$sel:serviceQuotaIncreaseRequestInTemplate:PutServiceQuotaIncreaseRequestIntoTemplateResponse' :: Maybe ServiceQuotaIncreaseRequestInTemplate
serviceQuotaIncreaseRequestInTemplate = Maybe ServiceQuotaIncreaseRequestInTemplate
a} :: PutServiceQuotaIncreaseRequestIntoTemplateResponse)
putServiceQuotaIncreaseRequestIntoTemplateResponse_httpStatus :: Lens.Lens' PutServiceQuotaIncreaseRequestIntoTemplateResponse Prelude.Int
putServiceQuotaIncreaseRequestIntoTemplateResponse_httpStatus :: (Int -> f Int)
-> PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> f PutServiceQuotaIncreaseRequestIntoTemplateResponse
putServiceQuotaIncreaseRequestIntoTemplateResponse_httpStatus = (PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Int)
-> (PutServiceQuotaIncreaseRequestIntoTemplateResponse
-> Int -> PutServiceQuotaIncreaseRequestIntoTemplateResponse)
-> Lens
PutServiceQuotaIncreaseRequestIntoTemplateResponse
PutServiceQuotaIncreaseRequestIntoTemplateResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutServiceQuotaIncreaseRequestIntoTemplateResponse' {Int
httpStatus :: Int
$sel:httpStatus:PutServiceQuotaIncreaseRequestIntoTemplateResponse' :: PutServiceQuotaIncreaseRequestIntoTemplateResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: PutServiceQuotaIncreaseRequestIntoTemplateResponse
s@PutServiceQuotaIncreaseRequestIntoTemplateResponse' {} Int
a -> PutServiceQuotaIncreaseRequestIntoTemplateResponse
s {$sel:httpStatus:PutServiceQuotaIncreaseRequestIntoTemplateResponse' :: Int
httpStatus = Int
a} :: PutServiceQuotaIncreaseRequestIntoTemplateResponse)
instance
Prelude.NFData
PutServiceQuotaIncreaseRequestIntoTemplateResponse