{-# 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.SESV2.GetAccount
(
GetAccount (..),
newGetAccount,
GetAccountResponse (..),
newGetAccountResponse,
getAccountResponse_enforcementStatus,
getAccountResponse_dedicatedIpAutoWarmupEnabled,
getAccountResponse_sendQuota,
getAccountResponse_productionAccessEnabled,
getAccountResponse_details,
getAccountResponse_suppressionAttributes,
getAccountResponse_sendingEnabled,
getAccountResponse_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.SESV2.Types
data GetAccount = GetAccount'
{
}
deriving (GetAccount -> GetAccount -> Bool
(GetAccount -> GetAccount -> Bool)
-> (GetAccount -> GetAccount -> Bool) -> Eq GetAccount
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAccount -> GetAccount -> Bool
$c/= :: GetAccount -> GetAccount -> Bool
== :: GetAccount -> GetAccount -> Bool
$c== :: GetAccount -> GetAccount -> Bool
Prelude.Eq, ReadPrec [GetAccount]
ReadPrec GetAccount
Int -> ReadS GetAccount
ReadS [GetAccount]
(Int -> ReadS GetAccount)
-> ReadS [GetAccount]
-> ReadPrec GetAccount
-> ReadPrec [GetAccount]
-> Read GetAccount
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetAccount]
$creadListPrec :: ReadPrec [GetAccount]
readPrec :: ReadPrec GetAccount
$creadPrec :: ReadPrec GetAccount
readList :: ReadS [GetAccount]
$creadList :: ReadS [GetAccount]
readsPrec :: Int -> ReadS GetAccount
$creadsPrec :: Int -> ReadS GetAccount
Prelude.Read, Int -> GetAccount -> ShowS
[GetAccount] -> ShowS
GetAccount -> String
(Int -> GetAccount -> ShowS)
-> (GetAccount -> String)
-> ([GetAccount] -> ShowS)
-> Show GetAccount
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAccount] -> ShowS
$cshowList :: [GetAccount] -> ShowS
show :: GetAccount -> String
$cshow :: GetAccount -> String
showsPrec :: Int -> GetAccount -> ShowS
$cshowsPrec :: Int -> GetAccount -> ShowS
Prelude.Show, (forall x. GetAccount -> Rep GetAccount x)
-> (forall x. Rep GetAccount x -> GetAccount) -> Generic GetAccount
forall x. Rep GetAccount x -> GetAccount
forall x. GetAccount -> Rep GetAccount x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetAccount x -> GetAccount
$cfrom :: forall x. GetAccount -> Rep GetAccount x
Prelude.Generic)
newGetAccount ::
GetAccount
newGetAccount :: GetAccount
newGetAccount = GetAccount
GetAccount'
instance Core.AWSRequest GetAccount where
type AWSResponse GetAccount = GetAccountResponse
request :: GetAccount -> Request GetAccount
request = Service -> GetAccount -> Request GetAccount
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetAccount
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetAccount)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetAccount))
-> Logger
-> Service
-> Proxy GetAccount
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetAccount)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe Bool
-> Maybe SendQuota
-> Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse
GetAccountResponse'
(Maybe Text
-> Maybe Bool
-> Maybe SendQuota
-> Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Bool
-> Maybe SendQuota
-> Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"EnforcementStatus")
Either
String
(Maybe Bool
-> Maybe SendQuota
-> Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
-> Either String (Maybe Bool)
-> Either
String
(Maybe SendQuota
-> Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"DedicatedIpAutoWarmupEnabled")
Either
String
(Maybe SendQuota
-> Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
-> Either String (Maybe SendQuota)
-> Either
String
(Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe SendQuota)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SendQuota")
Either
String
(Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
-> Either String (Maybe Bool)
-> Either
String
(Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ProductionAccessEnabled")
Either
String
(Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse)
-> Either String (Maybe AccountDetails)
-> Either
String
(Maybe SuppressionAttributes
-> Maybe Bool -> Int -> GetAccountResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe AccountDetails)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Details")
Either
String
(Maybe SuppressionAttributes
-> Maybe Bool -> Int -> GetAccountResponse)
-> Either String (Maybe SuppressionAttributes)
-> Either String (Maybe Bool -> Int -> GetAccountResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe SuppressionAttributes)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SuppressionAttributes")
Either String (Maybe Bool -> Int -> GetAccountResponse)
-> Either String (Maybe Bool)
-> Either String (Int -> GetAccountResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SendingEnabled")
Either String (Int -> GetAccountResponse)
-> Either String Int -> Either String GetAccountResponse
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 GetAccount
instance Prelude.NFData GetAccount
instance Core.ToHeaders GetAccount where
toHeaders :: GetAccount -> ResponseHeaders
toHeaders =
ResponseHeaders -> GetAccount -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ 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.ToPath GetAccount where
toPath :: GetAccount -> ByteString
toPath = ByteString -> GetAccount -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/v2/email/account"
instance Core.ToQuery GetAccount where
toQuery :: GetAccount -> QueryString
toQuery = QueryString -> GetAccount -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data GetAccountResponse = GetAccountResponse'
{
GetAccountResponse -> Maybe Text
enforcementStatus :: Prelude.Maybe Prelude.Text,
GetAccountResponse -> Maybe Bool
dedicatedIpAutoWarmupEnabled :: Prelude.Maybe Prelude.Bool,
GetAccountResponse -> Maybe SendQuota
sendQuota :: Prelude.Maybe SendQuota,
GetAccountResponse -> Maybe Bool
productionAccessEnabled :: Prelude.Maybe Prelude.Bool,
GetAccountResponse -> Maybe AccountDetails
details :: Prelude.Maybe AccountDetails,
GetAccountResponse -> Maybe SuppressionAttributes
suppressionAttributes :: Prelude.Maybe SuppressionAttributes,
GetAccountResponse -> Maybe Bool
sendingEnabled :: Prelude.Maybe Prelude.Bool,
GetAccountResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetAccountResponse -> GetAccountResponse -> Bool
(GetAccountResponse -> GetAccountResponse -> Bool)
-> (GetAccountResponse -> GetAccountResponse -> Bool)
-> Eq GetAccountResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetAccountResponse -> GetAccountResponse -> Bool
$c/= :: GetAccountResponse -> GetAccountResponse -> Bool
== :: GetAccountResponse -> GetAccountResponse -> Bool
$c== :: GetAccountResponse -> GetAccountResponse -> Bool
Prelude.Eq, Int -> GetAccountResponse -> ShowS
[GetAccountResponse] -> ShowS
GetAccountResponse -> String
(Int -> GetAccountResponse -> ShowS)
-> (GetAccountResponse -> String)
-> ([GetAccountResponse] -> ShowS)
-> Show GetAccountResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetAccountResponse] -> ShowS
$cshowList :: [GetAccountResponse] -> ShowS
show :: GetAccountResponse -> String
$cshow :: GetAccountResponse -> String
showsPrec :: Int -> GetAccountResponse -> ShowS
$cshowsPrec :: Int -> GetAccountResponse -> ShowS
Prelude.Show, (forall x. GetAccountResponse -> Rep GetAccountResponse x)
-> (forall x. Rep GetAccountResponse x -> GetAccountResponse)
-> Generic GetAccountResponse
forall x. Rep GetAccountResponse x -> GetAccountResponse
forall x. GetAccountResponse -> Rep GetAccountResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetAccountResponse x -> GetAccountResponse
$cfrom :: forall x. GetAccountResponse -> Rep GetAccountResponse x
Prelude.Generic)
newGetAccountResponse ::
Prelude.Int ->
GetAccountResponse
newGetAccountResponse :: Int -> GetAccountResponse
newGetAccountResponse Int
pHttpStatus_ =
GetAccountResponse' :: Maybe Text
-> Maybe Bool
-> Maybe SendQuota
-> Maybe Bool
-> Maybe AccountDetails
-> Maybe SuppressionAttributes
-> Maybe Bool
-> Int
-> GetAccountResponse
GetAccountResponse'
{ $sel:enforcementStatus:GetAccountResponse' :: Maybe Text
enforcementStatus =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dedicatedIpAutoWarmupEnabled:GetAccountResponse' :: Maybe Bool
dedicatedIpAutoWarmupEnabled = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:sendQuota:GetAccountResponse' :: Maybe SendQuota
sendQuota = Maybe SendQuota
forall a. Maybe a
Prelude.Nothing,
$sel:productionAccessEnabled:GetAccountResponse' :: Maybe Bool
productionAccessEnabled = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:details:GetAccountResponse' :: Maybe AccountDetails
details = Maybe AccountDetails
forall a. Maybe a
Prelude.Nothing,
$sel:suppressionAttributes:GetAccountResponse' :: Maybe SuppressionAttributes
suppressionAttributes = Maybe SuppressionAttributes
forall a. Maybe a
Prelude.Nothing,
$sel:sendingEnabled:GetAccountResponse' :: Maybe Bool
sendingEnabled = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetAccountResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getAccountResponse_enforcementStatus :: Lens.Lens' GetAccountResponse (Prelude.Maybe Prelude.Text)
getAccountResponse_enforcementStatus :: (Maybe Text -> f (Maybe Text))
-> GetAccountResponse -> f GetAccountResponse
getAccountResponse_enforcementStatus = (GetAccountResponse -> Maybe Text)
-> (GetAccountResponse -> Maybe Text -> GetAccountResponse)
-> Lens
GetAccountResponse GetAccountResponse (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAccountResponse' {Maybe Text
enforcementStatus :: Maybe Text
$sel:enforcementStatus:GetAccountResponse' :: GetAccountResponse -> Maybe Text
enforcementStatus} -> Maybe Text
enforcementStatus) (\s :: GetAccountResponse
s@GetAccountResponse' {} Maybe Text
a -> GetAccountResponse
s {$sel:enforcementStatus:GetAccountResponse' :: Maybe Text
enforcementStatus = Maybe Text
a} :: GetAccountResponse)
getAccountResponse_dedicatedIpAutoWarmupEnabled :: Lens.Lens' GetAccountResponse (Prelude.Maybe Prelude.Bool)
getAccountResponse_dedicatedIpAutoWarmupEnabled :: (Maybe Bool -> f (Maybe Bool))
-> GetAccountResponse -> f GetAccountResponse
getAccountResponse_dedicatedIpAutoWarmupEnabled = (GetAccountResponse -> Maybe Bool)
-> (GetAccountResponse -> Maybe Bool -> GetAccountResponse)
-> Lens
GetAccountResponse GetAccountResponse (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAccountResponse' {Maybe Bool
dedicatedIpAutoWarmupEnabled :: Maybe Bool
$sel:dedicatedIpAutoWarmupEnabled:GetAccountResponse' :: GetAccountResponse -> Maybe Bool
dedicatedIpAutoWarmupEnabled} -> Maybe Bool
dedicatedIpAutoWarmupEnabled) (\s :: GetAccountResponse
s@GetAccountResponse' {} Maybe Bool
a -> GetAccountResponse
s {$sel:dedicatedIpAutoWarmupEnabled:GetAccountResponse' :: Maybe Bool
dedicatedIpAutoWarmupEnabled = Maybe Bool
a} :: GetAccountResponse)
getAccountResponse_sendQuota :: Lens.Lens' GetAccountResponse (Prelude.Maybe SendQuota)
getAccountResponse_sendQuota :: (Maybe SendQuota -> f (Maybe SendQuota))
-> GetAccountResponse -> f GetAccountResponse
getAccountResponse_sendQuota = (GetAccountResponse -> Maybe SendQuota)
-> (GetAccountResponse -> Maybe SendQuota -> GetAccountResponse)
-> Lens
GetAccountResponse
GetAccountResponse
(Maybe SendQuota)
(Maybe SendQuota)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAccountResponse' {Maybe SendQuota
sendQuota :: Maybe SendQuota
$sel:sendQuota:GetAccountResponse' :: GetAccountResponse -> Maybe SendQuota
sendQuota} -> Maybe SendQuota
sendQuota) (\s :: GetAccountResponse
s@GetAccountResponse' {} Maybe SendQuota
a -> GetAccountResponse
s {$sel:sendQuota:GetAccountResponse' :: Maybe SendQuota
sendQuota = Maybe SendQuota
a} :: GetAccountResponse)
getAccountResponse_productionAccessEnabled :: Lens.Lens' GetAccountResponse (Prelude.Maybe Prelude.Bool)
getAccountResponse_productionAccessEnabled :: (Maybe Bool -> f (Maybe Bool))
-> GetAccountResponse -> f GetAccountResponse
getAccountResponse_productionAccessEnabled = (GetAccountResponse -> Maybe Bool)
-> (GetAccountResponse -> Maybe Bool -> GetAccountResponse)
-> Lens
GetAccountResponse GetAccountResponse (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAccountResponse' {Maybe Bool
productionAccessEnabled :: Maybe Bool
$sel:productionAccessEnabled:GetAccountResponse' :: GetAccountResponse -> Maybe Bool
productionAccessEnabled} -> Maybe Bool
productionAccessEnabled) (\s :: GetAccountResponse
s@GetAccountResponse' {} Maybe Bool
a -> GetAccountResponse
s {$sel:productionAccessEnabled:GetAccountResponse' :: Maybe Bool
productionAccessEnabled = Maybe Bool
a} :: GetAccountResponse)
getAccountResponse_details :: Lens.Lens' GetAccountResponse (Prelude.Maybe AccountDetails)
getAccountResponse_details :: (Maybe AccountDetails -> f (Maybe AccountDetails))
-> GetAccountResponse -> f GetAccountResponse
getAccountResponse_details = (GetAccountResponse -> Maybe AccountDetails)
-> (GetAccountResponse
-> Maybe AccountDetails -> GetAccountResponse)
-> Lens
GetAccountResponse
GetAccountResponse
(Maybe AccountDetails)
(Maybe AccountDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAccountResponse' {Maybe AccountDetails
details :: Maybe AccountDetails
$sel:details:GetAccountResponse' :: GetAccountResponse -> Maybe AccountDetails
details} -> Maybe AccountDetails
details) (\s :: GetAccountResponse
s@GetAccountResponse' {} Maybe AccountDetails
a -> GetAccountResponse
s {$sel:details:GetAccountResponse' :: Maybe AccountDetails
details = Maybe AccountDetails
a} :: GetAccountResponse)
getAccountResponse_suppressionAttributes :: Lens.Lens' GetAccountResponse (Prelude.Maybe SuppressionAttributes)
getAccountResponse_suppressionAttributes :: (Maybe SuppressionAttributes -> f (Maybe SuppressionAttributes))
-> GetAccountResponse -> f GetAccountResponse
getAccountResponse_suppressionAttributes = (GetAccountResponse -> Maybe SuppressionAttributes)
-> (GetAccountResponse
-> Maybe SuppressionAttributes -> GetAccountResponse)
-> Lens
GetAccountResponse
GetAccountResponse
(Maybe SuppressionAttributes)
(Maybe SuppressionAttributes)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAccountResponse' {Maybe SuppressionAttributes
suppressionAttributes :: Maybe SuppressionAttributes
$sel:suppressionAttributes:GetAccountResponse' :: GetAccountResponse -> Maybe SuppressionAttributes
suppressionAttributes} -> Maybe SuppressionAttributes
suppressionAttributes) (\s :: GetAccountResponse
s@GetAccountResponse' {} Maybe SuppressionAttributes
a -> GetAccountResponse
s {$sel:suppressionAttributes:GetAccountResponse' :: Maybe SuppressionAttributes
suppressionAttributes = Maybe SuppressionAttributes
a} :: GetAccountResponse)
getAccountResponse_sendingEnabled :: Lens.Lens' GetAccountResponse (Prelude.Maybe Prelude.Bool)
getAccountResponse_sendingEnabled :: (Maybe Bool -> f (Maybe Bool))
-> GetAccountResponse -> f GetAccountResponse
getAccountResponse_sendingEnabled = (GetAccountResponse -> Maybe Bool)
-> (GetAccountResponse -> Maybe Bool -> GetAccountResponse)
-> Lens
GetAccountResponse GetAccountResponse (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAccountResponse' {Maybe Bool
sendingEnabled :: Maybe Bool
$sel:sendingEnabled:GetAccountResponse' :: GetAccountResponse -> Maybe Bool
sendingEnabled} -> Maybe Bool
sendingEnabled) (\s :: GetAccountResponse
s@GetAccountResponse' {} Maybe Bool
a -> GetAccountResponse
s {$sel:sendingEnabled:GetAccountResponse' :: Maybe Bool
sendingEnabled = Maybe Bool
a} :: GetAccountResponse)
getAccountResponse_httpStatus :: Lens.Lens' GetAccountResponse Prelude.Int
getAccountResponse_httpStatus :: (Int -> f Int) -> GetAccountResponse -> f GetAccountResponse
getAccountResponse_httpStatus = (GetAccountResponse -> Int)
-> (GetAccountResponse -> Int -> GetAccountResponse)
-> Lens GetAccountResponse GetAccountResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetAccountResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetAccountResponse' :: GetAccountResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetAccountResponse
s@GetAccountResponse' {} Int
a -> GetAccountResponse
s {$sel:httpStatus:GetAccountResponse' :: Int
httpStatus = Int
a} :: GetAccountResponse)
instance Prelude.NFData GetAccountResponse