{-# 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.GetAWSDefaultServiceQuota
-- 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)
--
-- Retrieves the default value for the specified quota. The default value
-- does not reflect any quota increases.
module Amazonka.ServiceQuotas.GetAWSDefaultServiceQuota
  ( -- * Creating a Request
    GetAWSDefaultServiceQuota (..),
    newGetAWSDefaultServiceQuota,

    -- * Request Lenses
    getAWSDefaultServiceQuota_serviceCode,
    getAWSDefaultServiceQuota_quotaCode,

    -- * Destructuring the Response
    GetAWSDefaultServiceQuotaResponse (..),
    newGetAWSDefaultServiceQuotaResponse,

    -- * Response Lenses
    getAWSDefaultServiceQuotaResponse_quota,
    getAWSDefaultServiceQuotaResponse_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:/ 'newGetAWSDefaultServiceQuota' smart constructor.
data GetAWSDefaultServiceQuota = GetAWSDefaultServiceQuota'
  { -- | The service identifier.
    GetAWSDefaultServiceQuota -> Text
serviceCode :: Prelude.Text,
    -- | The quota identifier.
    GetAWSDefaultServiceQuota -> Text
quotaCode :: Prelude.Text
  }
  deriving (GetAWSDefaultServiceQuota -> GetAWSDefaultServiceQuota -> Bool
(GetAWSDefaultServiceQuota -> GetAWSDefaultServiceQuota -> Bool)
-> (GetAWSDefaultServiceQuota -> GetAWSDefaultServiceQuota -> Bool)
-> Eq GetAWSDefaultServiceQuota
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAWSDefaultServiceQuota -> GetAWSDefaultServiceQuota -> Bool
$c/= :: GetAWSDefaultServiceQuota -> GetAWSDefaultServiceQuota -> Bool
== :: GetAWSDefaultServiceQuota -> GetAWSDefaultServiceQuota -> Bool
$c== :: GetAWSDefaultServiceQuota -> GetAWSDefaultServiceQuota -> Bool
Prelude.Eq, ReadPrec [GetAWSDefaultServiceQuota]
ReadPrec GetAWSDefaultServiceQuota
Int -> ReadS GetAWSDefaultServiceQuota
ReadS [GetAWSDefaultServiceQuota]
(Int -> ReadS GetAWSDefaultServiceQuota)
-> ReadS [GetAWSDefaultServiceQuota]
-> ReadPrec GetAWSDefaultServiceQuota
-> ReadPrec [GetAWSDefaultServiceQuota]
-> Read GetAWSDefaultServiceQuota
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetAWSDefaultServiceQuota]
$creadListPrec :: ReadPrec [GetAWSDefaultServiceQuota]
readPrec :: ReadPrec GetAWSDefaultServiceQuota
$creadPrec :: ReadPrec GetAWSDefaultServiceQuota
readList :: ReadS [GetAWSDefaultServiceQuota]
$creadList :: ReadS [GetAWSDefaultServiceQuota]
readsPrec :: Int -> ReadS GetAWSDefaultServiceQuota
$creadsPrec :: Int -> ReadS GetAWSDefaultServiceQuota
Prelude.Read, Int -> GetAWSDefaultServiceQuota -> ShowS
[GetAWSDefaultServiceQuota] -> ShowS
GetAWSDefaultServiceQuota -> String
(Int -> GetAWSDefaultServiceQuota -> ShowS)
-> (GetAWSDefaultServiceQuota -> String)
-> ([GetAWSDefaultServiceQuota] -> ShowS)
-> Show GetAWSDefaultServiceQuota
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAWSDefaultServiceQuota] -> ShowS
$cshowList :: [GetAWSDefaultServiceQuota] -> ShowS
show :: GetAWSDefaultServiceQuota -> String
$cshow :: GetAWSDefaultServiceQuota -> String
showsPrec :: Int -> GetAWSDefaultServiceQuota -> ShowS
$cshowsPrec :: Int -> GetAWSDefaultServiceQuota -> ShowS
Prelude.Show, (forall x.
 GetAWSDefaultServiceQuota -> Rep GetAWSDefaultServiceQuota x)
-> (forall x.
    Rep GetAWSDefaultServiceQuota x -> GetAWSDefaultServiceQuota)
-> Generic GetAWSDefaultServiceQuota
forall x.
Rep GetAWSDefaultServiceQuota x -> GetAWSDefaultServiceQuota
forall x.
GetAWSDefaultServiceQuota -> Rep GetAWSDefaultServiceQuota x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetAWSDefaultServiceQuota x -> GetAWSDefaultServiceQuota
$cfrom :: forall x.
GetAWSDefaultServiceQuota -> Rep GetAWSDefaultServiceQuota x
Prelude.Generic)

-- |
-- Create a value of 'GetAWSDefaultServiceQuota' 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', 'getAWSDefaultServiceQuota_serviceCode' - The service identifier.
--
-- 'quotaCode', 'getAWSDefaultServiceQuota_quotaCode' - The quota identifier.
newGetAWSDefaultServiceQuota ::
  -- | 'serviceCode'
  Prelude.Text ->
  -- | 'quotaCode'
  Prelude.Text ->
  GetAWSDefaultServiceQuota
newGetAWSDefaultServiceQuota :: Text -> Text -> GetAWSDefaultServiceQuota
newGetAWSDefaultServiceQuota
  Text
pServiceCode_
  Text
pQuotaCode_ =
    GetAWSDefaultServiceQuota' :: Text -> Text -> GetAWSDefaultServiceQuota
GetAWSDefaultServiceQuota'
      { $sel:serviceCode:GetAWSDefaultServiceQuota' :: Text
serviceCode =
          Text
pServiceCode_,
        $sel:quotaCode:GetAWSDefaultServiceQuota' :: Text
quotaCode = Text
pQuotaCode_
      }

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

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

instance Core.AWSRequest GetAWSDefaultServiceQuota where
  type
    AWSResponse GetAWSDefaultServiceQuota =
      GetAWSDefaultServiceQuotaResponse
  request :: GetAWSDefaultServiceQuota -> Request GetAWSDefaultServiceQuota
request = Service
-> GetAWSDefaultServiceQuota -> Request GetAWSDefaultServiceQuota
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy GetAWSDefaultServiceQuota
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetAWSDefaultServiceQuota)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse GetAWSDefaultServiceQuota))
-> Logger
-> Service
-> Proxy GetAWSDefaultServiceQuota
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetAWSDefaultServiceQuota)))
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 ServiceQuota -> Int -> GetAWSDefaultServiceQuotaResponse
GetAWSDefaultServiceQuotaResponse'
            (Maybe ServiceQuota -> Int -> GetAWSDefaultServiceQuotaResponse)
-> Either String (Maybe ServiceQuota)
-> Either String (Int -> GetAWSDefaultServiceQuotaResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe ServiceQuota)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Quota")
            Either String (Int -> GetAWSDefaultServiceQuotaResponse)
-> Either String Int
-> Either String GetAWSDefaultServiceQuotaResponse
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 GetAWSDefaultServiceQuota

instance Prelude.NFData GetAWSDefaultServiceQuota

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

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

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

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

-- |
-- Create a value of 'GetAWSDefaultServiceQuotaResponse' 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:
--
-- 'quota', 'getAWSDefaultServiceQuotaResponse_quota' - Information about the quota.
--
-- 'httpStatus', 'getAWSDefaultServiceQuotaResponse_httpStatus' - The response's http status code.
newGetAWSDefaultServiceQuotaResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetAWSDefaultServiceQuotaResponse
newGetAWSDefaultServiceQuotaResponse :: Int -> GetAWSDefaultServiceQuotaResponse
newGetAWSDefaultServiceQuotaResponse Int
pHttpStatus_ =
  GetAWSDefaultServiceQuotaResponse' :: Maybe ServiceQuota -> Int -> GetAWSDefaultServiceQuotaResponse
GetAWSDefaultServiceQuotaResponse'
    { $sel:quota:GetAWSDefaultServiceQuotaResponse' :: Maybe ServiceQuota
quota =
        Maybe ServiceQuota
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:GetAWSDefaultServiceQuotaResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Information about the quota.
getAWSDefaultServiceQuotaResponse_quota :: Lens.Lens' GetAWSDefaultServiceQuotaResponse (Prelude.Maybe ServiceQuota)
getAWSDefaultServiceQuotaResponse_quota :: (Maybe ServiceQuota -> f (Maybe ServiceQuota))
-> GetAWSDefaultServiceQuotaResponse
-> f GetAWSDefaultServiceQuotaResponse
getAWSDefaultServiceQuotaResponse_quota = (GetAWSDefaultServiceQuotaResponse -> Maybe ServiceQuota)
-> (GetAWSDefaultServiceQuotaResponse
    -> Maybe ServiceQuota -> GetAWSDefaultServiceQuotaResponse)
-> Lens
     GetAWSDefaultServiceQuotaResponse
     GetAWSDefaultServiceQuotaResponse
     (Maybe ServiceQuota)
     (Maybe ServiceQuota)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAWSDefaultServiceQuotaResponse' {Maybe ServiceQuota
quota :: Maybe ServiceQuota
$sel:quota:GetAWSDefaultServiceQuotaResponse' :: GetAWSDefaultServiceQuotaResponse -> Maybe ServiceQuota
quota} -> Maybe ServiceQuota
quota) (\s :: GetAWSDefaultServiceQuotaResponse
s@GetAWSDefaultServiceQuotaResponse' {} Maybe ServiceQuota
a -> GetAWSDefaultServiceQuotaResponse
s {$sel:quota:GetAWSDefaultServiceQuotaResponse' :: Maybe ServiceQuota
quota = Maybe ServiceQuota
a} :: GetAWSDefaultServiceQuotaResponse)

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

instance
  Prelude.NFData
    GetAWSDefaultServiceQuotaResponse