{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.ServiceQuotas.DeleteServiceQuotaIncreaseRequestFromTemplate
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Deletes the quota increase request for the specified quota from your
-- quota request template.
module Amazonka.ServiceQuotas.DeleteServiceQuotaIncreaseRequestFromTemplate
  ( -- * Creating a Request
    DeleteServiceQuotaIncreaseRequestFromTemplate (..),
    newDeleteServiceQuotaIncreaseRequestFromTemplate,

    -- * Request Lenses
    deleteServiceQuotaIncreaseRequestFromTemplate_serviceCode,
    deleteServiceQuotaIncreaseRequestFromTemplate_quotaCode,
    deleteServiceQuotaIncreaseRequestFromTemplate_awsRegion,

    -- * Destructuring the Response
    DeleteServiceQuotaIncreaseRequestFromTemplateResponse (..),
    newDeleteServiceQuotaIncreaseRequestFromTemplateResponse,

    -- * Response Lenses
    deleteServiceQuotaIncreaseRequestFromTemplateResponse_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

-- | /See:/ 'newDeleteServiceQuotaIncreaseRequestFromTemplate' smart constructor.
data DeleteServiceQuotaIncreaseRequestFromTemplate = DeleteServiceQuotaIncreaseRequestFromTemplate'
  { -- | The service identifier.
    DeleteServiceQuotaIncreaseRequestFromTemplate -> Text
serviceCode :: Prelude.Text,
    -- | The quota identifier.
    DeleteServiceQuotaIncreaseRequestFromTemplate -> Text
quotaCode :: Prelude.Text,
    -- | The AWS Region.
    DeleteServiceQuotaIncreaseRequestFromTemplate -> Text
awsRegion :: Prelude.Text
  }
  deriving (DeleteServiceQuotaIncreaseRequestFromTemplate
-> DeleteServiceQuotaIncreaseRequestFromTemplate -> Bool
(DeleteServiceQuotaIncreaseRequestFromTemplate
 -> DeleteServiceQuotaIncreaseRequestFromTemplate -> Bool)
-> (DeleteServiceQuotaIncreaseRequestFromTemplate
    -> DeleteServiceQuotaIncreaseRequestFromTemplate -> Bool)
-> Eq DeleteServiceQuotaIncreaseRequestFromTemplate
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteServiceQuotaIncreaseRequestFromTemplate
-> DeleteServiceQuotaIncreaseRequestFromTemplate -> Bool
$c/= :: DeleteServiceQuotaIncreaseRequestFromTemplate
-> DeleteServiceQuotaIncreaseRequestFromTemplate -> Bool
== :: DeleteServiceQuotaIncreaseRequestFromTemplate
-> DeleteServiceQuotaIncreaseRequestFromTemplate -> Bool
$c== :: DeleteServiceQuotaIncreaseRequestFromTemplate
-> DeleteServiceQuotaIncreaseRequestFromTemplate -> Bool
Prelude.Eq, ReadPrec [DeleteServiceQuotaIncreaseRequestFromTemplate]
ReadPrec DeleteServiceQuotaIncreaseRequestFromTemplate
Int -> ReadS DeleteServiceQuotaIncreaseRequestFromTemplate
ReadS [DeleteServiceQuotaIncreaseRequestFromTemplate]
(Int -> ReadS DeleteServiceQuotaIncreaseRequestFromTemplate)
-> ReadS [DeleteServiceQuotaIncreaseRequestFromTemplate]
-> ReadPrec DeleteServiceQuotaIncreaseRequestFromTemplate
-> ReadPrec [DeleteServiceQuotaIncreaseRequestFromTemplate]
-> Read DeleteServiceQuotaIncreaseRequestFromTemplate
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteServiceQuotaIncreaseRequestFromTemplate]
$creadListPrec :: ReadPrec [DeleteServiceQuotaIncreaseRequestFromTemplate]
readPrec :: ReadPrec DeleteServiceQuotaIncreaseRequestFromTemplate
$creadPrec :: ReadPrec DeleteServiceQuotaIncreaseRequestFromTemplate
readList :: ReadS [DeleteServiceQuotaIncreaseRequestFromTemplate]
$creadList :: ReadS [DeleteServiceQuotaIncreaseRequestFromTemplate]
readsPrec :: Int -> ReadS DeleteServiceQuotaIncreaseRequestFromTemplate
$creadsPrec :: Int -> ReadS DeleteServiceQuotaIncreaseRequestFromTemplate
Prelude.Read, Int -> DeleteServiceQuotaIncreaseRequestFromTemplate -> ShowS
[DeleteServiceQuotaIncreaseRequestFromTemplate] -> ShowS
DeleteServiceQuotaIncreaseRequestFromTemplate -> String
(Int -> DeleteServiceQuotaIncreaseRequestFromTemplate -> ShowS)
-> (DeleteServiceQuotaIncreaseRequestFromTemplate -> String)
-> ([DeleteServiceQuotaIncreaseRequestFromTemplate] -> ShowS)
-> Show DeleteServiceQuotaIncreaseRequestFromTemplate
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteServiceQuotaIncreaseRequestFromTemplate] -> ShowS
$cshowList :: [DeleteServiceQuotaIncreaseRequestFromTemplate] -> ShowS
show :: DeleteServiceQuotaIncreaseRequestFromTemplate -> String
$cshow :: DeleteServiceQuotaIncreaseRequestFromTemplate -> String
showsPrec :: Int -> DeleteServiceQuotaIncreaseRequestFromTemplate -> ShowS
$cshowsPrec :: Int -> DeleteServiceQuotaIncreaseRequestFromTemplate -> ShowS
Prelude.Show, (forall x.
 DeleteServiceQuotaIncreaseRequestFromTemplate
 -> Rep DeleteServiceQuotaIncreaseRequestFromTemplate x)
-> (forall x.
    Rep DeleteServiceQuotaIncreaseRequestFromTemplate x
    -> DeleteServiceQuotaIncreaseRequestFromTemplate)
-> Generic DeleteServiceQuotaIncreaseRequestFromTemplate
forall x.
Rep DeleteServiceQuotaIncreaseRequestFromTemplate x
-> DeleteServiceQuotaIncreaseRequestFromTemplate
forall x.
DeleteServiceQuotaIncreaseRequestFromTemplate
-> Rep DeleteServiceQuotaIncreaseRequestFromTemplate x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteServiceQuotaIncreaseRequestFromTemplate x
-> DeleteServiceQuotaIncreaseRequestFromTemplate
$cfrom :: forall x.
DeleteServiceQuotaIncreaseRequestFromTemplate
-> Rep DeleteServiceQuotaIncreaseRequestFromTemplate x
Prelude.Generic)

-- |
-- Create a value of 'DeleteServiceQuotaIncreaseRequestFromTemplate' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'serviceCode', 'deleteServiceQuotaIncreaseRequestFromTemplate_serviceCode' - The service identifier.
--
-- 'quotaCode', 'deleteServiceQuotaIncreaseRequestFromTemplate_quotaCode' - The quota identifier.
--
-- 'awsRegion', 'deleteServiceQuotaIncreaseRequestFromTemplate_awsRegion' - The AWS Region.
newDeleteServiceQuotaIncreaseRequestFromTemplate ::
  -- | 'serviceCode'
  Prelude.Text ->
  -- | 'quotaCode'
  Prelude.Text ->
  -- | 'awsRegion'
  Prelude.Text ->
  DeleteServiceQuotaIncreaseRequestFromTemplate
newDeleteServiceQuotaIncreaseRequestFromTemplate :: Text
-> Text -> Text -> DeleteServiceQuotaIncreaseRequestFromTemplate
newDeleteServiceQuotaIncreaseRequestFromTemplate
  Text
pServiceCode_
  Text
pQuotaCode_
  Text
pAwsRegion_ =
    DeleteServiceQuotaIncreaseRequestFromTemplate' :: Text
-> Text -> Text -> DeleteServiceQuotaIncreaseRequestFromTemplate
DeleteServiceQuotaIncreaseRequestFromTemplate'
      { $sel:serviceCode:DeleteServiceQuotaIncreaseRequestFromTemplate' :: Text
serviceCode =
          Text
pServiceCode_,
        $sel:quotaCode:DeleteServiceQuotaIncreaseRequestFromTemplate' :: Text
quotaCode = Text
pQuotaCode_,
        $sel:awsRegion:DeleteServiceQuotaIncreaseRequestFromTemplate' :: Text
awsRegion = Text
pAwsRegion_
      }

-- | The service identifier.
deleteServiceQuotaIncreaseRequestFromTemplate_serviceCode :: Lens.Lens' DeleteServiceQuotaIncreaseRequestFromTemplate Prelude.Text
deleteServiceQuotaIncreaseRequestFromTemplate_serviceCode :: (Text -> f Text)
-> DeleteServiceQuotaIncreaseRequestFromTemplate
-> f DeleteServiceQuotaIncreaseRequestFromTemplate
deleteServiceQuotaIncreaseRequestFromTemplate_serviceCode = (DeleteServiceQuotaIncreaseRequestFromTemplate -> Text)
-> (DeleteServiceQuotaIncreaseRequestFromTemplate
    -> Text -> DeleteServiceQuotaIncreaseRequestFromTemplate)
-> Lens
     DeleteServiceQuotaIncreaseRequestFromTemplate
     DeleteServiceQuotaIncreaseRequestFromTemplate
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteServiceQuotaIncreaseRequestFromTemplate' {Text
serviceCode :: Text
$sel:serviceCode:DeleteServiceQuotaIncreaseRequestFromTemplate' :: DeleteServiceQuotaIncreaseRequestFromTemplate -> Text
serviceCode} -> Text
serviceCode) (\s :: DeleteServiceQuotaIncreaseRequestFromTemplate
s@DeleteServiceQuotaIncreaseRequestFromTemplate' {} Text
a -> DeleteServiceQuotaIncreaseRequestFromTemplate
s {$sel:serviceCode:DeleteServiceQuotaIncreaseRequestFromTemplate' :: Text
serviceCode = Text
a} :: DeleteServiceQuotaIncreaseRequestFromTemplate)

-- | The quota identifier.
deleteServiceQuotaIncreaseRequestFromTemplate_quotaCode :: Lens.Lens' DeleteServiceQuotaIncreaseRequestFromTemplate Prelude.Text
deleteServiceQuotaIncreaseRequestFromTemplate_quotaCode :: (Text -> f Text)
-> DeleteServiceQuotaIncreaseRequestFromTemplate
-> f DeleteServiceQuotaIncreaseRequestFromTemplate
deleteServiceQuotaIncreaseRequestFromTemplate_quotaCode = (DeleteServiceQuotaIncreaseRequestFromTemplate -> Text)
-> (DeleteServiceQuotaIncreaseRequestFromTemplate
    -> Text -> DeleteServiceQuotaIncreaseRequestFromTemplate)
-> Lens
     DeleteServiceQuotaIncreaseRequestFromTemplate
     DeleteServiceQuotaIncreaseRequestFromTemplate
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteServiceQuotaIncreaseRequestFromTemplate' {Text
quotaCode :: Text
$sel:quotaCode:DeleteServiceQuotaIncreaseRequestFromTemplate' :: DeleteServiceQuotaIncreaseRequestFromTemplate -> Text
quotaCode} -> Text
quotaCode) (\s :: DeleteServiceQuotaIncreaseRequestFromTemplate
s@DeleteServiceQuotaIncreaseRequestFromTemplate' {} Text
a -> DeleteServiceQuotaIncreaseRequestFromTemplate
s {$sel:quotaCode:DeleteServiceQuotaIncreaseRequestFromTemplate' :: Text
quotaCode = Text
a} :: DeleteServiceQuotaIncreaseRequestFromTemplate)

-- | The AWS Region.
deleteServiceQuotaIncreaseRequestFromTemplate_awsRegion :: Lens.Lens' DeleteServiceQuotaIncreaseRequestFromTemplate Prelude.Text
deleteServiceQuotaIncreaseRequestFromTemplate_awsRegion :: (Text -> f Text)
-> DeleteServiceQuotaIncreaseRequestFromTemplate
-> f DeleteServiceQuotaIncreaseRequestFromTemplate
deleteServiceQuotaIncreaseRequestFromTemplate_awsRegion = (DeleteServiceQuotaIncreaseRequestFromTemplate -> Text)
-> (DeleteServiceQuotaIncreaseRequestFromTemplate
    -> Text -> DeleteServiceQuotaIncreaseRequestFromTemplate)
-> Lens
     DeleteServiceQuotaIncreaseRequestFromTemplate
     DeleteServiceQuotaIncreaseRequestFromTemplate
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteServiceQuotaIncreaseRequestFromTemplate' {Text
awsRegion :: Text
$sel:awsRegion:DeleteServiceQuotaIncreaseRequestFromTemplate' :: DeleteServiceQuotaIncreaseRequestFromTemplate -> Text
awsRegion} -> Text
awsRegion) (\s :: DeleteServiceQuotaIncreaseRequestFromTemplate
s@DeleteServiceQuotaIncreaseRequestFromTemplate' {} Text
a -> DeleteServiceQuotaIncreaseRequestFromTemplate
s {$sel:awsRegion:DeleteServiceQuotaIncreaseRequestFromTemplate' :: Text
awsRegion = Text
a} :: DeleteServiceQuotaIncreaseRequestFromTemplate)

instance
  Core.AWSRequest
    DeleteServiceQuotaIncreaseRequestFromTemplate
  where
  type
    AWSResponse
      DeleteServiceQuotaIncreaseRequestFromTemplate =
      DeleteServiceQuotaIncreaseRequestFromTemplateResponse
  request :: DeleteServiceQuotaIncreaseRequestFromTemplate
-> Request DeleteServiceQuotaIncreaseRequestFromTemplate
request = Service
-> DeleteServiceQuotaIncreaseRequestFromTemplate
-> Request DeleteServiceQuotaIncreaseRequestFromTemplate
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DeleteServiceQuotaIncreaseRequestFromTemplate
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse
           (AWSResponse DeleteServiceQuotaIncreaseRequestFromTemplate)))
response =
    (Int
 -> ResponseHeaders
 -> ()
 -> Either
      String (AWSResponse DeleteServiceQuotaIncreaseRequestFromTemplate))
-> Logger
-> Service
-> Proxy DeleteServiceQuotaIncreaseRequestFromTemplate
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse
           (AWSResponse DeleteServiceQuotaIncreaseRequestFromTemplate)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> () -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveEmpty
      ( \Int
s ResponseHeaders
h ()
x ->
          Int -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse
DeleteServiceQuotaIncreaseRequestFromTemplateResponse'
            (Int -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse)
-> Either String Int
-> Either
     String DeleteServiceQuotaIncreaseRequestFromTemplateResponse
forall (f :: * -> *) a b. Functor 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
    DeleteServiceQuotaIncreaseRequestFromTemplate

instance
  Prelude.NFData
    DeleteServiceQuotaIncreaseRequestFromTemplate

instance
  Core.ToHeaders
    DeleteServiceQuotaIncreaseRequestFromTemplate
  where
  toHeaders :: DeleteServiceQuotaIncreaseRequestFromTemplate -> ResponseHeaders
toHeaders =
    ResponseHeaders
-> DeleteServiceQuotaIncreaseRequestFromTemplate -> 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.DeleteServiceQuotaIncreaseRequestFromTemplate" ::
                          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
    DeleteServiceQuotaIncreaseRequestFromTemplate
  where
  toJSON :: DeleteServiceQuotaIncreaseRequestFromTemplate -> Value
toJSON
    DeleteServiceQuotaIncreaseRequestFromTemplate' {Text
awsRegion :: Text
quotaCode :: Text
serviceCode :: Text
$sel:awsRegion:DeleteServiceQuotaIncreaseRequestFromTemplate' :: DeleteServiceQuotaIncreaseRequestFromTemplate -> Text
$sel:quotaCode:DeleteServiceQuotaIncreaseRequestFromTemplate' :: DeleteServiceQuotaIncreaseRequestFromTemplate -> Text
$sel:serviceCode:DeleteServiceQuotaIncreaseRequestFromTemplate' :: DeleteServiceQuotaIncreaseRequestFromTemplate -> 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
"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),
              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)
            ]
        )

instance
  Core.ToPath
    DeleteServiceQuotaIncreaseRequestFromTemplate
  where
  toPath :: DeleteServiceQuotaIncreaseRequestFromTemplate -> ByteString
toPath = ByteString
-> DeleteServiceQuotaIncreaseRequestFromTemplate -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance
  Core.ToQuery
    DeleteServiceQuotaIncreaseRequestFromTemplate
  where
  toQuery :: DeleteServiceQuotaIncreaseRequestFromTemplate -> QueryString
toQuery = QueryString
-> DeleteServiceQuotaIncreaseRequestFromTemplate -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newDeleteServiceQuotaIncreaseRequestFromTemplateResponse' smart constructor.
data DeleteServiceQuotaIncreaseRequestFromTemplateResponse = DeleteServiceQuotaIncreaseRequestFromTemplateResponse'
  { -- | The response's http status code.
    DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Bool
(DeleteServiceQuotaIncreaseRequestFromTemplateResponse
 -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Bool)
-> (DeleteServiceQuotaIncreaseRequestFromTemplateResponse
    -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Bool)
-> Eq DeleteServiceQuotaIncreaseRequestFromTemplateResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Bool
$c/= :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Bool
== :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Bool
$c== :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Bool
Prelude.Eq, ReadPrec [DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
ReadPrec DeleteServiceQuotaIncreaseRequestFromTemplateResponse
Int -> ReadS DeleteServiceQuotaIncreaseRequestFromTemplateResponse
ReadS [DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
(Int
 -> ReadS DeleteServiceQuotaIncreaseRequestFromTemplateResponse)
-> ReadS [DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
-> ReadPrec DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> ReadPrec [DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
-> Read DeleteServiceQuotaIncreaseRequestFromTemplateResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
$creadListPrec :: ReadPrec [DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
readPrec :: ReadPrec DeleteServiceQuotaIncreaseRequestFromTemplateResponse
$creadPrec :: ReadPrec DeleteServiceQuotaIncreaseRequestFromTemplateResponse
readList :: ReadS [DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
$creadList :: ReadS [DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
readsPrec :: Int -> ReadS DeleteServiceQuotaIncreaseRequestFromTemplateResponse
$creadsPrec :: Int -> ReadS DeleteServiceQuotaIncreaseRequestFromTemplateResponse
Prelude.Read, Int
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> ShowS
[DeleteServiceQuotaIncreaseRequestFromTemplateResponse] -> ShowS
DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> String
(Int
 -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> ShowS)
-> (DeleteServiceQuotaIncreaseRequestFromTemplateResponse
    -> String)
-> ([DeleteServiceQuotaIncreaseRequestFromTemplateResponse]
    -> ShowS)
-> Show DeleteServiceQuotaIncreaseRequestFromTemplateResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteServiceQuotaIncreaseRequestFromTemplateResponse] -> ShowS
$cshowList :: [DeleteServiceQuotaIncreaseRequestFromTemplateResponse] -> ShowS
show :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> String
$cshow :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> String
showsPrec :: Int
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> ShowS
$cshowsPrec :: Int
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> ShowS
Prelude.Show, (forall x.
 DeleteServiceQuotaIncreaseRequestFromTemplateResponse
 -> Rep DeleteServiceQuotaIncreaseRequestFromTemplateResponse x)
-> (forall x.
    Rep DeleteServiceQuotaIncreaseRequestFromTemplateResponse x
    -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse)
-> Generic DeleteServiceQuotaIncreaseRequestFromTemplateResponse
forall x.
Rep DeleteServiceQuotaIncreaseRequestFromTemplateResponse x
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse
forall x.
DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> Rep DeleteServiceQuotaIncreaseRequestFromTemplateResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteServiceQuotaIncreaseRequestFromTemplateResponse x
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse
$cfrom :: forall x.
DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> Rep DeleteServiceQuotaIncreaseRequestFromTemplateResponse x
Prelude.Generic)

-- |
-- Create a value of 'DeleteServiceQuotaIncreaseRequestFromTemplateResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'httpStatus', 'deleteServiceQuotaIncreaseRequestFromTemplateResponse_httpStatus' - The response's http status code.
newDeleteServiceQuotaIncreaseRequestFromTemplateResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DeleteServiceQuotaIncreaseRequestFromTemplateResponse
newDeleteServiceQuotaIncreaseRequestFromTemplateResponse :: Int -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse
newDeleteServiceQuotaIncreaseRequestFromTemplateResponse
  Int
pHttpStatus_ =
    DeleteServiceQuotaIncreaseRequestFromTemplateResponse' :: Int -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse
DeleteServiceQuotaIncreaseRequestFromTemplateResponse'
      { $sel:httpStatus:DeleteServiceQuotaIncreaseRequestFromTemplateResponse' :: Int
httpStatus =
          Int
pHttpStatus_
      }

-- | The response's http status code.
deleteServiceQuotaIncreaseRequestFromTemplateResponse_httpStatus :: Lens.Lens' DeleteServiceQuotaIncreaseRequestFromTemplateResponse Prelude.Int
deleteServiceQuotaIncreaseRequestFromTemplateResponse_httpStatus :: (Int -> f Int)
-> DeleteServiceQuotaIncreaseRequestFromTemplateResponse
-> f DeleteServiceQuotaIncreaseRequestFromTemplateResponse
deleteServiceQuotaIncreaseRequestFromTemplateResponse_httpStatus = (DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Int)
-> (DeleteServiceQuotaIncreaseRequestFromTemplateResponse
    -> Int -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse)
-> Lens
     DeleteServiceQuotaIncreaseRequestFromTemplateResponse
     DeleteServiceQuotaIncreaseRequestFromTemplateResponse
     Int
     Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteServiceQuotaIncreaseRequestFromTemplateResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteServiceQuotaIncreaseRequestFromTemplateResponse' :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse
s@DeleteServiceQuotaIncreaseRequestFromTemplateResponse' {} Int
a -> DeleteServiceQuotaIncreaseRequestFromTemplateResponse
s {$sel:httpStatus:DeleteServiceQuotaIncreaseRequestFromTemplateResponse' :: Int
httpStatus = Int
a} :: DeleteServiceQuotaIncreaseRequestFromTemplateResponse)

instance
  Prelude.NFData
    DeleteServiceQuotaIncreaseRequestFromTemplateResponse