{-# 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.FraudDetector.GetBatchImportJobs
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Gets all batch import jobs or a specific job of the specified ID. This
-- is a paginated API. If you provide a null @maxResults@, this action
-- retrieves a maximum of 50 records per page. If you provide a
-- @maxResults@, the value must be between 1 and 50. To get the next page
-- results, provide the pagination token from the
-- @GetBatchImportJobsResponse@ as part of your request. A null pagination
-- token fetches the records from the beginning.
module Amazonka.FraudDetector.GetBatchImportJobs
  ( -- * Creating a Request
    GetBatchImportJobs (..),
    newGetBatchImportJobs,

    -- * Request Lenses
    getBatchImportJobs_jobId,
    getBatchImportJobs_maxResults,
    getBatchImportJobs_nextToken,

    -- * Destructuring the Response
    GetBatchImportJobsResponse (..),
    newGetBatchImportJobsResponse,

    -- * Response Lenses
    getBatchImportJobsResponse_batchImports,
    getBatchImportJobsResponse_nextToken,
    getBatchImportJobsResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.FraudDetector.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newGetBatchImportJobs' smart constructor.
data GetBatchImportJobs = GetBatchImportJobs'
  { -- | The ID of the batch import job to get.
    GetBatchImportJobs -> Maybe Text
jobId :: Prelude.Maybe Prelude.Text,
    -- | The maximum number of objects to return for request.
    GetBatchImportJobs -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | The next token from the previous request.
    GetBatchImportJobs -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
  }
  deriving (GetBatchImportJobs -> GetBatchImportJobs -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetBatchImportJobs -> GetBatchImportJobs -> Bool
$c/= :: GetBatchImportJobs -> GetBatchImportJobs -> Bool
== :: GetBatchImportJobs -> GetBatchImportJobs -> Bool
$c== :: GetBatchImportJobs -> GetBatchImportJobs -> Bool
Prelude.Eq, ReadPrec [GetBatchImportJobs]
ReadPrec GetBatchImportJobs
Int -> ReadS GetBatchImportJobs
ReadS [GetBatchImportJobs]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetBatchImportJobs]
$creadListPrec :: ReadPrec [GetBatchImportJobs]
readPrec :: ReadPrec GetBatchImportJobs
$creadPrec :: ReadPrec GetBatchImportJobs
readList :: ReadS [GetBatchImportJobs]
$creadList :: ReadS [GetBatchImportJobs]
readsPrec :: Int -> ReadS GetBatchImportJobs
$creadsPrec :: Int -> ReadS GetBatchImportJobs
Prelude.Read, Int -> GetBatchImportJobs -> ShowS
[GetBatchImportJobs] -> ShowS
GetBatchImportJobs -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetBatchImportJobs] -> ShowS
$cshowList :: [GetBatchImportJobs] -> ShowS
show :: GetBatchImportJobs -> String
$cshow :: GetBatchImportJobs -> String
showsPrec :: Int -> GetBatchImportJobs -> ShowS
$cshowsPrec :: Int -> GetBatchImportJobs -> ShowS
Prelude.Show, forall x. Rep GetBatchImportJobs x -> GetBatchImportJobs
forall x. GetBatchImportJobs -> Rep GetBatchImportJobs x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetBatchImportJobs x -> GetBatchImportJobs
$cfrom :: forall x. GetBatchImportJobs -> Rep GetBatchImportJobs x
Prelude.Generic)

-- |
-- Create a value of 'GetBatchImportJobs' 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:
--
-- 'jobId', 'getBatchImportJobs_jobId' - The ID of the batch import job to get.
--
-- 'maxResults', 'getBatchImportJobs_maxResults' - The maximum number of objects to return for request.
--
-- 'nextToken', 'getBatchImportJobs_nextToken' - The next token from the previous request.
newGetBatchImportJobs ::
  GetBatchImportJobs
newGetBatchImportJobs :: GetBatchImportJobs
newGetBatchImportJobs =
  GetBatchImportJobs'
    { $sel:jobId:GetBatchImportJobs' :: Maybe Text
jobId = forall a. Maybe a
Prelude.Nothing,
      $sel:maxResults:GetBatchImportJobs' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:GetBatchImportJobs' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
    }

-- | The ID of the batch import job to get.
getBatchImportJobs_jobId :: Lens.Lens' GetBatchImportJobs (Prelude.Maybe Prelude.Text)
getBatchImportJobs_jobId :: Lens' GetBatchImportJobs (Maybe Text)
getBatchImportJobs_jobId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBatchImportJobs' {Maybe Text
jobId :: Maybe Text
$sel:jobId:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Text
jobId} -> Maybe Text
jobId) (\s :: GetBatchImportJobs
s@GetBatchImportJobs' {} Maybe Text
a -> GetBatchImportJobs
s {$sel:jobId:GetBatchImportJobs' :: Maybe Text
jobId = Maybe Text
a} :: GetBatchImportJobs)

-- | The maximum number of objects to return for request.
getBatchImportJobs_maxResults :: Lens.Lens' GetBatchImportJobs (Prelude.Maybe Prelude.Natural)
getBatchImportJobs_maxResults :: Lens' GetBatchImportJobs (Maybe Natural)
getBatchImportJobs_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBatchImportJobs' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: GetBatchImportJobs
s@GetBatchImportJobs' {} Maybe Natural
a -> GetBatchImportJobs
s {$sel:maxResults:GetBatchImportJobs' :: Maybe Natural
maxResults = Maybe Natural
a} :: GetBatchImportJobs)

-- | The next token from the previous request.
getBatchImportJobs_nextToken :: Lens.Lens' GetBatchImportJobs (Prelude.Maybe Prelude.Text)
getBatchImportJobs_nextToken :: Lens' GetBatchImportJobs (Maybe Text)
getBatchImportJobs_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBatchImportJobs' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetBatchImportJobs
s@GetBatchImportJobs' {} Maybe Text
a -> GetBatchImportJobs
s {$sel:nextToken:GetBatchImportJobs' :: Maybe Text
nextToken = Maybe Text
a} :: GetBatchImportJobs)

instance Core.AWSRequest GetBatchImportJobs where
  type
    AWSResponse GetBatchImportJobs =
      GetBatchImportJobsResponse
  request :: (Service -> Service)
-> GetBatchImportJobs -> Request GetBatchImportJobs
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 GetBatchImportJobs
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse GetBatchImportJobs)))
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 [BatchImport]
-> Maybe Text -> Int -> GetBatchImportJobsResponse
GetBatchImportJobsResponse'
            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
"batchImports" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty)
            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
"nextToken")
            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 GetBatchImportJobs where
  hashWithSalt :: Int -> GetBatchImportJobs -> Int
hashWithSalt Int
_salt GetBatchImportJobs' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
jobId :: Maybe Text
$sel:nextToken:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Text
$sel:maxResults:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Natural
$sel:jobId:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
jobId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken

instance Prelude.NFData GetBatchImportJobs where
  rnf :: GetBatchImportJobs -> ()
rnf GetBatchImportJobs' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
jobId :: Maybe Text
$sel:nextToken:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Text
$sel:maxResults:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Natural
$sel:jobId:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
jobId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
maxResults
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken

instance Data.ToHeaders GetBatchImportJobs where
  toHeaders :: GetBatchImportJobs -> ResponseHeaders
toHeaders =
    forall a b. a -> b -> a
Prelude.const
      ( forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"AWSHawksNestServiceFacade.GetBatchImportJobs" ::
                          Prelude.ByteString
                      ),
            HeaderName
"Content-Type"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Data.ToJSON GetBatchImportJobs where
  toJSON :: GetBatchImportJobs -> Value
toJSON GetBatchImportJobs' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
jobId :: Maybe Text
$sel:nextToken:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Text
$sel:maxResults:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Natural
$sel:jobId:GetBatchImportJobs' :: GetBatchImportJobs -> Maybe Text
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"jobId" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
jobId,
            (Key
"maxResults" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults,
            (Key
"nextToken" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken
          ]
      )

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

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

-- | /See:/ 'newGetBatchImportJobsResponse' smart constructor.
data GetBatchImportJobsResponse = GetBatchImportJobsResponse'
  { -- | An array containing the details of each batch import job.
    GetBatchImportJobsResponse -> Maybe [BatchImport]
batchImports :: Prelude.Maybe [BatchImport],
    -- | The next token for the subsequent resquest.
    GetBatchImportJobsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    GetBatchImportJobsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (GetBatchImportJobsResponse -> GetBatchImportJobsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetBatchImportJobsResponse -> GetBatchImportJobsResponse -> Bool
$c/= :: GetBatchImportJobsResponse -> GetBatchImportJobsResponse -> Bool
== :: GetBatchImportJobsResponse -> GetBatchImportJobsResponse -> Bool
$c== :: GetBatchImportJobsResponse -> GetBatchImportJobsResponse -> Bool
Prelude.Eq, ReadPrec [GetBatchImportJobsResponse]
ReadPrec GetBatchImportJobsResponse
Int -> ReadS GetBatchImportJobsResponse
ReadS [GetBatchImportJobsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetBatchImportJobsResponse]
$creadListPrec :: ReadPrec [GetBatchImportJobsResponse]
readPrec :: ReadPrec GetBatchImportJobsResponse
$creadPrec :: ReadPrec GetBatchImportJobsResponse
readList :: ReadS [GetBatchImportJobsResponse]
$creadList :: ReadS [GetBatchImportJobsResponse]
readsPrec :: Int -> ReadS GetBatchImportJobsResponse
$creadsPrec :: Int -> ReadS GetBatchImportJobsResponse
Prelude.Read, Int -> GetBatchImportJobsResponse -> ShowS
[GetBatchImportJobsResponse] -> ShowS
GetBatchImportJobsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetBatchImportJobsResponse] -> ShowS
$cshowList :: [GetBatchImportJobsResponse] -> ShowS
show :: GetBatchImportJobsResponse -> String
$cshow :: GetBatchImportJobsResponse -> String
showsPrec :: Int -> GetBatchImportJobsResponse -> ShowS
$cshowsPrec :: Int -> GetBatchImportJobsResponse -> ShowS
Prelude.Show, forall x.
Rep GetBatchImportJobsResponse x -> GetBatchImportJobsResponse
forall x.
GetBatchImportJobsResponse -> Rep GetBatchImportJobsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetBatchImportJobsResponse x -> GetBatchImportJobsResponse
$cfrom :: forall x.
GetBatchImportJobsResponse -> Rep GetBatchImportJobsResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetBatchImportJobsResponse' 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:
--
-- 'batchImports', 'getBatchImportJobsResponse_batchImports' - An array containing the details of each batch import job.
--
-- 'nextToken', 'getBatchImportJobsResponse_nextToken' - The next token for the subsequent resquest.
--
-- 'httpStatus', 'getBatchImportJobsResponse_httpStatus' - The response's http status code.
newGetBatchImportJobsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetBatchImportJobsResponse
newGetBatchImportJobsResponse :: Int -> GetBatchImportJobsResponse
newGetBatchImportJobsResponse Int
pHttpStatus_ =
  GetBatchImportJobsResponse'
    { $sel:batchImports:GetBatchImportJobsResponse' :: Maybe [BatchImport]
batchImports =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:GetBatchImportJobsResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:GetBatchImportJobsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | An array containing the details of each batch import job.
getBatchImportJobsResponse_batchImports :: Lens.Lens' GetBatchImportJobsResponse (Prelude.Maybe [BatchImport])
getBatchImportJobsResponse_batchImports :: Lens' GetBatchImportJobsResponse (Maybe [BatchImport])
getBatchImportJobsResponse_batchImports = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBatchImportJobsResponse' {Maybe [BatchImport]
batchImports :: Maybe [BatchImport]
$sel:batchImports:GetBatchImportJobsResponse' :: GetBatchImportJobsResponse -> Maybe [BatchImport]
batchImports} -> Maybe [BatchImport]
batchImports) (\s :: GetBatchImportJobsResponse
s@GetBatchImportJobsResponse' {} Maybe [BatchImport]
a -> GetBatchImportJobsResponse
s {$sel:batchImports:GetBatchImportJobsResponse' :: Maybe [BatchImport]
batchImports = Maybe [BatchImport]
a} :: GetBatchImportJobsResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The next token for the subsequent resquest.
getBatchImportJobsResponse_nextToken :: Lens.Lens' GetBatchImportJobsResponse (Prelude.Maybe Prelude.Text)
getBatchImportJobsResponse_nextToken :: Lens' GetBatchImportJobsResponse (Maybe Text)
getBatchImportJobsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetBatchImportJobsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetBatchImportJobsResponse' :: GetBatchImportJobsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetBatchImportJobsResponse
s@GetBatchImportJobsResponse' {} Maybe Text
a -> GetBatchImportJobsResponse
s {$sel:nextToken:GetBatchImportJobsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: GetBatchImportJobsResponse)

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

instance Prelude.NFData GetBatchImportJobsResponse where
  rnf :: GetBatchImportJobsResponse -> ()
rnf GetBatchImportJobsResponse' {Int
Maybe [BatchImport]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
batchImports :: Maybe [BatchImport]
$sel:httpStatus:GetBatchImportJobsResponse' :: GetBatchImportJobsResponse -> Int
$sel:nextToken:GetBatchImportJobsResponse' :: GetBatchImportJobsResponse -> Maybe Text
$sel:batchImports:GetBatchImportJobsResponse' :: GetBatchImportJobsResponse -> Maybe [BatchImport]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [BatchImport]
batchImports
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus