{-# 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.AmplifyBackend.GetBackendAuth
(
GetBackendAuth (..),
newGetBackendAuth,
getBackendAuth_appId,
getBackendAuth_backendEnvironmentName,
getBackendAuth_resourceName,
GetBackendAuthResponse (..),
newGetBackendAuthResponse,
getBackendAuthResponse_appId,
getBackendAuthResponse_backendEnvironmentName,
getBackendAuthResponse_error,
getBackendAuthResponse_resourceConfig,
getBackendAuthResponse_resourceName,
getBackendAuthResponse_httpStatus,
)
where
import Amazonka.AmplifyBackend.Types
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
data GetBackendAuth = GetBackendAuth'
{
GetBackendAuth -> Text
appId :: Prelude.Text,
GetBackendAuth -> Text
backendEnvironmentName :: Prelude.Text,
GetBackendAuth -> Text
resourceName :: Prelude.Text
}
deriving (GetBackendAuth -> GetBackendAuth -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetBackendAuth -> GetBackendAuth -> Bool
$c/= :: GetBackendAuth -> GetBackendAuth -> Bool
== :: GetBackendAuth -> GetBackendAuth -> Bool
$c== :: GetBackendAuth -> GetBackendAuth -> Bool
Prelude.Eq, ReadPrec [GetBackendAuth]
ReadPrec GetBackendAuth
Int -> ReadS GetBackendAuth
ReadS [GetBackendAuth]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetBackendAuth]
$creadListPrec :: ReadPrec [GetBackendAuth]
readPrec :: ReadPrec GetBackendAuth
$creadPrec :: ReadPrec GetBackendAuth
readList :: ReadS [GetBackendAuth]
$creadList :: ReadS [GetBackendAuth]
readsPrec :: Int -> ReadS GetBackendAuth
$creadsPrec :: Int -> ReadS GetBackendAuth
Prelude.Read, Int -> GetBackendAuth -> ShowS
[GetBackendAuth] -> ShowS
GetBackendAuth -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetBackendAuth] -> ShowS
$cshowList :: [GetBackendAuth] -> ShowS
show :: GetBackendAuth -> String
$cshow :: GetBackendAuth -> String
showsPrec :: Int -> GetBackendAuth -> ShowS
$cshowsPrec :: Int -> GetBackendAuth -> ShowS
Prelude.Show, forall x. Rep GetBackendAuth x -> GetBackendAuth
forall x. GetBackendAuth -> Rep GetBackendAuth x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetBackendAuth x -> GetBackendAuth
$cfrom :: forall x. GetBackendAuth -> Rep GetBackendAuth x
Prelude.Generic)
newGetBackendAuth ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
GetBackendAuth
newGetBackendAuth :: Text -> Text -> Text -> GetBackendAuth
newGetBackendAuth
Text
pAppId_
Text
pBackendEnvironmentName_
Text
pResourceName_ =
GetBackendAuth'
{ $sel:appId:GetBackendAuth' :: Text
appId = Text
pAppId_,
$sel:backendEnvironmentName:GetBackendAuth' :: Text
backendEnvironmentName = Text
pBackendEnvironmentName_,
$sel:resourceName:GetBackendAuth' :: Text
resourceName = Text
pResourceName_
}
getBackendAuth_appId :: Lens.Lens' GetBackendAuth Prelude.Text
getBackendAuth_appId :: Lens' GetBackendAuth Text
getBackendAuth_appId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuth' {Text
appId :: Text
$sel:appId:GetBackendAuth' :: GetBackendAuth -> Text
appId} -> Text
appId) (\s :: GetBackendAuth
s@GetBackendAuth' {} Text
a -> GetBackendAuth
s {$sel:appId:GetBackendAuth' :: Text
appId = Text
a} :: GetBackendAuth)
getBackendAuth_backendEnvironmentName :: Lens.Lens' GetBackendAuth Prelude.Text
getBackendAuth_backendEnvironmentName :: Lens' GetBackendAuth Text
getBackendAuth_backendEnvironmentName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuth' {Text
backendEnvironmentName :: Text
$sel:backendEnvironmentName:GetBackendAuth' :: GetBackendAuth -> Text
backendEnvironmentName} -> Text
backendEnvironmentName) (\s :: GetBackendAuth
s@GetBackendAuth' {} Text
a -> GetBackendAuth
s {$sel:backendEnvironmentName:GetBackendAuth' :: Text
backendEnvironmentName = Text
a} :: GetBackendAuth)
getBackendAuth_resourceName :: Lens.Lens' GetBackendAuth Prelude.Text
getBackendAuth_resourceName :: Lens' GetBackendAuth Text
getBackendAuth_resourceName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuth' {Text
resourceName :: Text
$sel:resourceName:GetBackendAuth' :: GetBackendAuth -> Text
resourceName} -> Text
resourceName) (\s :: GetBackendAuth
s@GetBackendAuth' {} Text
a -> GetBackendAuth
s {$sel:resourceName:GetBackendAuth' :: Text
resourceName = Text
a} :: GetBackendAuth)
instance Core.AWSRequest GetBackendAuth where
type
AWSResponse GetBackendAuth =
GetBackendAuthResponse
request :: (Service -> Service) -> GetBackendAuth -> Request GetBackendAuth
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 GetBackendAuth
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetBackendAuth)))
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 Text
-> Maybe Text
-> Maybe CreateBackendAuthResourceConfig
-> Maybe Text
-> Int
-> GetBackendAuthResponse
GetBackendAuthResponse'
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
"appId")
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
"backendEnvironmentName")
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
"error")
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
"resourceConfig")
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
"resourceName")
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 GetBackendAuth where
hashWithSalt :: Int -> GetBackendAuth -> Int
hashWithSalt Int
_salt GetBackendAuth' {Text
resourceName :: Text
backendEnvironmentName :: Text
appId :: Text
$sel:resourceName:GetBackendAuth' :: GetBackendAuth -> Text
$sel:backendEnvironmentName:GetBackendAuth' :: GetBackendAuth -> Text
$sel:appId:GetBackendAuth' :: GetBackendAuth -> Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
appId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
backendEnvironmentName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
resourceName
instance Prelude.NFData GetBackendAuth where
rnf :: GetBackendAuth -> ()
rnf GetBackendAuth' {Text
resourceName :: Text
backendEnvironmentName :: Text
appId :: Text
$sel:resourceName:GetBackendAuth' :: GetBackendAuth -> Text
$sel:backendEnvironmentName:GetBackendAuth' :: GetBackendAuth -> Text
$sel:appId:GetBackendAuth' :: GetBackendAuth -> Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Text
appId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
backendEnvironmentName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
resourceName
instance Data.ToHeaders GetBackendAuth where
toHeaders :: GetBackendAuth -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON GetBackendAuth where
toJSON :: GetBackendAuth -> Value
toJSON GetBackendAuth' {Text
resourceName :: Text
backendEnvironmentName :: Text
appId :: Text
$sel:resourceName:GetBackendAuth' :: GetBackendAuth -> Text
$sel:backendEnvironmentName:GetBackendAuth' :: GetBackendAuth -> Text
$sel:appId:GetBackendAuth' :: GetBackendAuth -> Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[forall a. a -> Maybe a
Prelude.Just (Key
"resourceName" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
resourceName)]
)
instance Data.ToPath GetBackendAuth where
toPath :: GetBackendAuth -> ByteString
toPath GetBackendAuth' {Text
resourceName :: Text
backendEnvironmentName :: Text
appId :: Text
$sel:resourceName:GetBackendAuth' :: GetBackendAuth -> Text
$sel:backendEnvironmentName:GetBackendAuth' :: GetBackendAuth -> Text
$sel:appId:GetBackendAuth' :: GetBackendAuth -> Text
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/backend/",
forall a. ToByteString a => a -> ByteString
Data.toBS Text
appId,
ByteString
"/auth/",
forall a. ToByteString a => a -> ByteString
Data.toBS Text
backendEnvironmentName,
ByteString
"/details"
]
instance Data.ToQuery GetBackendAuth where
toQuery :: GetBackendAuth -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data GetBackendAuthResponse = GetBackendAuthResponse'
{
GetBackendAuthResponse -> Maybe Text
appId :: Prelude.Maybe Prelude.Text,
GetBackendAuthResponse -> Maybe Text
backendEnvironmentName :: Prelude.Maybe Prelude.Text,
GetBackendAuthResponse -> Maybe Text
error :: Prelude.Maybe Prelude.Text,
GetBackendAuthResponse -> Maybe CreateBackendAuthResourceConfig
resourceConfig :: Prelude.Maybe CreateBackendAuthResourceConfig,
GetBackendAuthResponse -> Maybe Text
resourceName :: Prelude.Maybe Prelude.Text,
GetBackendAuthResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetBackendAuthResponse -> GetBackendAuthResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetBackendAuthResponse -> GetBackendAuthResponse -> Bool
$c/= :: GetBackendAuthResponse -> GetBackendAuthResponse -> Bool
== :: GetBackendAuthResponse -> GetBackendAuthResponse -> Bool
$c== :: GetBackendAuthResponse -> GetBackendAuthResponse -> Bool
Prelude.Eq, ReadPrec [GetBackendAuthResponse]
ReadPrec GetBackendAuthResponse
Int -> ReadS GetBackendAuthResponse
ReadS [GetBackendAuthResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetBackendAuthResponse]
$creadListPrec :: ReadPrec [GetBackendAuthResponse]
readPrec :: ReadPrec GetBackendAuthResponse
$creadPrec :: ReadPrec GetBackendAuthResponse
readList :: ReadS [GetBackendAuthResponse]
$creadList :: ReadS [GetBackendAuthResponse]
readsPrec :: Int -> ReadS GetBackendAuthResponse
$creadsPrec :: Int -> ReadS GetBackendAuthResponse
Prelude.Read, Int -> GetBackendAuthResponse -> ShowS
[GetBackendAuthResponse] -> ShowS
GetBackendAuthResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetBackendAuthResponse] -> ShowS
$cshowList :: [GetBackendAuthResponse] -> ShowS
show :: GetBackendAuthResponse -> String
$cshow :: GetBackendAuthResponse -> String
showsPrec :: Int -> GetBackendAuthResponse -> ShowS
$cshowsPrec :: Int -> GetBackendAuthResponse -> ShowS
Prelude.Show, forall x. Rep GetBackendAuthResponse x -> GetBackendAuthResponse
forall x. GetBackendAuthResponse -> Rep GetBackendAuthResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetBackendAuthResponse x -> GetBackendAuthResponse
$cfrom :: forall x. GetBackendAuthResponse -> Rep GetBackendAuthResponse x
Prelude.Generic)
newGetBackendAuthResponse ::
Prelude.Int ->
GetBackendAuthResponse
newGetBackendAuthResponse :: Int -> GetBackendAuthResponse
newGetBackendAuthResponse Int
pHttpStatus_ =
GetBackendAuthResponse'
{ $sel:appId:GetBackendAuthResponse' :: Maybe Text
appId = forall a. Maybe a
Prelude.Nothing,
$sel:backendEnvironmentName:GetBackendAuthResponse' :: Maybe Text
backendEnvironmentName = forall a. Maybe a
Prelude.Nothing,
$sel:error:GetBackendAuthResponse' :: Maybe Text
error = forall a. Maybe a
Prelude.Nothing,
$sel:resourceConfig:GetBackendAuthResponse' :: Maybe CreateBackendAuthResourceConfig
resourceConfig = forall a. Maybe a
Prelude.Nothing,
$sel:resourceName:GetBackendAuthResponse' :: Maybe Text
resourceName = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetBackendAuthResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getBackendAuthResponse_appId :: Lens.Lens' GetBackendAuthResponse (Prelude.Maybe Prelude.Text)
getBackendAuthResponse_appId :: Lens' GetBackendAuthResponse (Maybe Text)
getBackendAuthResponse_appId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuthResponse' {Maybe Text
appId :: Maybe Text
$sel:appId:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe Text
appId} -> Maybe Text
appId) (\s :: GetBackendAuthResponse
s@GetBackendAuthResponse' {} Maybe Text
a -> GetBackendAuthResponse
s {$sel:appId:GetBackendAuthResponse' :: Maybe Text
appId = Maybe Text
a} :: GetBackendAuthResponse)
getBackendAuthResponse_backendEnvironmentName :: Lens.Lens' GetBackendAuthResponse (Prelude.Maybe Prelude.Text)
getBackendAuthResponse_backendEnvironmentName :: Lens' GetBackendAuthResponse (Maybe Text)
getBackendAuthResponse_backendEnvironmentName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuthResponse' {Maybe Text
backendEnvironmentName :: Maybe Text
$sel:backendEnvironmentName:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe Text
backendEnvironmentName} -> Maybe Text
backendEnvironmentName) (\s :: GetBackendAuthResponse
s@GetBackendAuthResponse' {} Maybe Text
a -> GetBackendAuthResponse
s {$sel:backendEnvironmentName:GetBackendAuthResponse' :: Maybe Text
backendEnvironmentName = Maybe Text
a} :: GetBackendAuthResponse)
getBackendAuthResponse_error :: Lens.Lens' GetBackendAuthResponse (Prelude.Maybe Prelude.Text)
getBackendAuthResponse_error :: Lens' GetBackendAuthResponse (Maybe Text)
getBackendAuthResponse_error = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuthResponse' {Maybe Text
error :: Maybe Text
$sel:error:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe Text
error} -> Maybe Text
error) (\s :: GetBackendAuthResponse
s@GetBackendAuthResponse' {} Maybe Text
a -> GetBackendAuthResponse
s {$sel:error:GetBackendAuthResponse' :: Maybe Text
error = Maybe Text
a} :: GetBackendAuthResponse)
getBackendAuthResponse_resourceConfig :: Lens.Lens' GetBackendAuthResponse (Prelude.Maybe CreateBackendAuthResourceConfig)
getBackendAuthResponse_resourceConfig :: Lens'
GetBackendAuthResponse (Maybe CreateBackendAuthResourceConfig)
getBackendAuthResponse_resourceConfig = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuthResponse' {Maybe CreateBackendAuthResourceConfig
resourceConfig :: Maybe CreateBackendAuthResourceConfig
$sel:resourceConfig:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe CreateBackendAuthResourceConfig
resourceConfig} -> Maybe CreateBackendAuthResourceConfig
resourceConfig) (\s :: GetBackendAuthResponse
s@GetBackendAuthResponse' {} Maybe CreateBackendAuthResourceConfig
a -> GetBackendAuthResponse
s {$sel:resourceConfig:GetBackendAuthResponse' :: Maybe CreateBackendAuthResourceConfig
resourceConfig = Maybe CreateBackendAuthResourceConfig
a} :: GetBackendAuthResponse)
getBackendAuthResponse_resourceName :: Lens.Lens' GetBackendAuthResponse (Prelude.Maybe Prelude.Text)
getBackendAuthResponse_resourceName :: Lens' GetBackendAuthResponse (Maybe Text)
getBackendAuthResponse_resourceName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuthResponse' {Maybe Text
resourceName :: Maybe Text
$sel:resourceName:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe Text
resourceName} -> Maybe Text
resourceName) (\s :: GetBackendAuthResponse
s@GetBackendAuthResponse' {} Maybe Text
a -> GetBackendAuthResponse
s {$sel:resourceName:GetBackendAuthResponse' :: Maybe Text
resourceName = Maybe Text
a} :: GetBackendAuthResponse)
getBackendAuthResponse_httpStatus :: Lens.Lens' GetBackendAuthResponse Prelude.Int
getBackendAuthResponse_httpStatus :: Lens' GetBackendAuthResponse Int
getBackendAuthResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBackendAuthResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetBackendAuthResponse' :: GetBackendAuthResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetBackendAuthResponse
s@GetBackendAuthResponse' {} Int
a -> GetBackendAuthResponse
s {$sel:httpStatus:GetBackendAuthResponse' :: Int
httpStatus = Int
a} :: GetBackendAuthResponse)
instance Prelude.NFData GetBackendAuthResponse where
rnf :: GetBackendAuthResponse -> ()
rnf GetBackendAuthResponse' {Int
Maybe Text
Maybe CreateBackendAuthResourceConfig
httpStatus :: Int
resourceName :: Maybe Text
resourceConfig :: Maybe CreateBackendAuthResourceConfig
error :: Maybe Text
backendEnvironmentName :: Maybe Text
appId :: Maybe Text
$sel:httpStatus:GetBackendAuthResponse' :: GetBackendAuthResponse -> Int
$sel:resourceName:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe Text
$sel:resourceConfig:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe CreateBackendAuthResourceConfig
$sel:error:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe Text
$sel:backendEnvironmentName:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe Text
$sel:appId:GetBackendAuthResponse' :: GetBackendAuthResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
appId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
backendEnvironmentName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
error
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CreateBackendAuthResourceConfig
resourceConfig
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
resourceName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus