{-# 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.DataExchange.ListRevisionAssets
(
ListRevisionAssets (..),
newListRevisionAssets,
listRevisionAssets_maxResults,
listRevisionAssets_nextToken,
listRevisionAssets_dataSetId,
listRevisionAssets_revisionId,
ListRevisionAssetsResponse (..),
newListRevisionAssetsResponse,
listRevisionAssetsResponse_assets,
listRevisionAssetsResponse_nextToken,
listRevisionAssetsResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.DataExchange.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data ListRevisionAssets = ListRevisionAssets'
{
ListRevisionAssets -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
ListRevisionAssets -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListRevisionAssets -> Text
dataSetId :: Prelude.Text,
ListRevisionAssets -> Text
revisionId :: Prelude.Text
}
deriving (ListRevisionAssets -> ListRevisionAssets -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListRevisionAssets -> ListRevisionAssets -> Bool
$c/= :: ListRevisionAssets -> ListRevisionAssets -> Bool
== :: ListRevisionAssets -> ListRevisionAssets -> Bool
$c== :: ListRevisionAssets -> ListRevisionAssets -> Bool
Prelude.Eq, ReadPrec [ListRevisionAssets]
ReadPrec ListRevisionAssets
Int -> ReadS ListRevisionAssets
ReadS [ListRevisionAssets]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListRevisionAssets]
$creadListPrec :: ReadPrec [ListRevisionAssets]
readPrec :: ReadPrec ListRevisionAssets
$creadPrec :: ReadPrec ListRevisionAssets
readList :: ReadS [ListRevisionAssets]
$creadList :: ReadS [ListRevisionAssets]
readsPrec :: Int -> ReadS ListRevisionAssets
$creadsPrec :: Int -> ReadS ListRevisionAssets
Prelude.Read, Int -> ListRevisionAssets -> ShowS
[ListRevisionAssets] -> ShowS
ListRevisionAssets -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListRevisionAssets] -> ShowS
$cshowList :: [ListRevisionAssets] -> ShowS
show :: ListRevisionAssets -> String
$cshow :: ListRevisionAssets -> String
showsPrec :: Int -> ListRevisionAssets -> ShowS
$cshowsPrec :: Int -> ListRevisionAssets -> ShowS
Prelude.Show, forall x. Rep ListRevisionAssets x -> ListRevisionAssets
forall x. ListRevisionAssets -> Rep ListRevisionAssets x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListRevisionAssets x -> ListRevisionAssets
$cfrom :: forall x. ListRevisionAssets -> Rep ListRevisionAssets x
Prelude.Generic)
newListRevisionAssets ::
Prelude.Text ->
Prelude.Text ->
ListRevisionAssets
newListRevisionAssets :: Text -> Text -> ListRevisionAssets
newListRevisionAssets Text
pDataSetId_ Text
pRevisionId_ =
ListRevisionAssets'
{ $sel:maxResults:ListRevisionAssets' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListRevisionAssets' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:dataSetId:ListRevisionAssets' :: Text
dataSetId = Text
pDataSetId_,
$sel:revisionId:ListRevisionAssets' :: Text
revisionId = Text
pRevisionId_
}
listRevisionAssets_maxResults :: Lens.Lens' ListRevisionAssets (Prelude.Maybe Prelude.Natural)
listRevisionAssets_maxResults :: Lens' ListRevisionAssets (Maybe Natural)
listRevisionAssets_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRevisionAssets' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListRevisionAssets' :: ListRevisionAssets -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListRevisionAssets
s@ListRevisionAssets' {} Maybe Natural
a -> ListRevisionAssets
s {$sel:maxResults:ListRevisionAssets' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListRevisionAssets)
listRevisionAssets_nextToken :: Lens.Lens' ListRevisionAssets (Prelude.Maybe Prelude.Text)
listRevisionAssets_nextToken :: Lens' ListRevisionAssets (Maybe Text)
listRevisionAssets_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRevisionAssets' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListRevisionAssets' :: ListRevisionAssets -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListRevisionAssets
s@ListRevisionAssets' {} Maybe Text
a -> ListRevisionAssets
s {$sel:nextToken:ListRevisionAssets' :: Maybe Text
nextToken = Maybe Text
a} :: ListRevisionAssets)
listRevisionAssets_dataSetId :: Lens.Lens' ListRevisionAssets Prelude.Text
listRevisionAssets_dataSetId :: Lens' ListRevisionAssets Text
listRevisionAssets_dataSetId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRevisionAssets' {Text
dataSetId :: Text
$sel:dataSetId:ListRevisionAssets' :: ListRevisionAssets -> Text
dataSetId} -> Text
dataSetId) (\s :: ListRevisionAssets
s@ListRevisionAssets' {} Text
a -> ListRevisionAssets
s {$sel:dataSetId:ListRevisionAssets' :: Text
dataSetId = Text
a} :: ListRevisionAssets)
listRevisionAssets_revisionId :: Lens.Lens' ListRevisionAssets Prelude.Text
listRevisionAssets_revisionId :: Lens' ListRevisionAssets Text
listRevisionAssets_revisionId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRevisionAssets' {Text
revisionId :: Text
$sel:revisionId:ListRevisionAssets' :: ListRevisionAssets -> Text
revisionId} -> Text
revisionId) (\s :: ListRevisionAssets
s@ListRevisionAssets' {} Text
a -> ListRevisionAssets
s {$sel:revisionId:ListRevisionAssets' :: Text
revisionId = Text
a} :: ListRevisionAssets)
instance Core.AWSPager ListRevisionAssets where
page :: ListRevisionAssets
-> AWSResponse ListRevisionAssets -> Maybe ListRevisionAssets
page ListRevisionAssets
rq AWSResponse ListRevisionAssets
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListRevisionAssets
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListRevisionAssetsResponse (Maybe Text)
listRevisionAssetsResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListRevisionAssets
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListRevisionAssetsResponse (Maybe [AssetEntry])
listRevisionAssetsResponse_assets
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ ListRevisionAssets
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListRevisionAssets (Maybe Text)
listRevisionAssets_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListRevisionAssets
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListRevisionAssetsResponse (Maybe Text)
listRevisionAssetsResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListRevisionAssets where
type
AWSResponse ListRevisionAssets =
ListRevisionAssetsResponse
request :: (Service -> Service)
-> ListRevisionAssets -> Request ListRevisionAssets
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.get (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy ListRevisionAssets
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListRevisionAssets)))
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 [AssetEntry]
-> Maybe Text -> Int -> ListRevisionAssetsResponse
ListRevisionAssetsResponse'
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
"Assets" 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 ListRevisionAssets where
hashWithSalt :: Int -> ListRevisionAssets -> Int
hashWithSalt Int
_salt ListRevisionAssets' {Maybe Natural
Maybe Text
Text
revisionId :: Text
dataSetId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:revisionId:ListRevisionAssets' :: ListRevisionAssets -> Text
$sel:dataSetId:ListRevisionAssets' :: ListRevisionAssets -> Text
$sel:nextToken:ListRevisionAssets' :: ListRevisionAssets -> Maybe Text
$sel:maxResults:ListRevisionAssets' :: ListRevisionAssets -> Maybe Natural
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
dataSetId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
revisionId
instance Prelude.NFData ListRevisionAssets where
rnf :: ListRevisionAssets -> ()
rnf ListRevisionAssets' {Maybe Natural
Maybe Text
Text
revisionId :: Text
dataSetId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:revisionId:ListRevisionAssets' :: ListRevisionAssets -> Text
$sel:dataSetId:ListRevisionAssets' :: ListRevisionAssets -> Text
$sel:nextToken:ListRevisionAssets' :: ListRevisionAssets -> Maybe Text
$sel:maxResults:ListRevisionAssets' :: ListRevisionAssets -> Maybe Natural
..} =
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
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
dataSetId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
revisionId
instance Data.ToHeaders ListRevisionAssets where
toHeaders :: ListRevisionAssets -> 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.ToPath ListRevisionAssets where
toPath :: ListRevisionAssets -> ByteString
toPath ListRevisionAssets' {Maybe Natural
Maybe Text
Text
revisionId :: Text
dataSetId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:revisionId:ListRevisionAssets' :: ListRevisionAssets -> Text
$sel:dataSetId:ListRevisionAssets' :: ListRevisionAssets -> Text
$sel:nextToken:ListRevisionAssets' :: ListRevisionAssets -> Maybe Text
$sel:maxResults:ListRevisionAssets' :: ListRevisionAssets -> Maybe Natural
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/v1/data-sets/",
forall a. ToByteString a => a -> ByteString
Data.toBS Text
dataSetId,
ByteString
"/revisions/",
forall a. ToByteString a => a -> ByteString
Data.toBS Text
revisionId,
ByteString
"/assets"
]
instance Data.ToQuery ListRevisionAssets where
toQuery :: ListRevisionAssets -> QueryString
toQuery ListRevisionAssets' {Maybe Natural
Maybe Text
Text
revisionId :: Text
dataSetId :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:revisionId:ListRevisionAssets' :: ListRevisionAssets -> Text
$sel:dataSetId:ListRevisionAssets' :: ListRevisionAssets -> Text
$sel:nextToken:ListRevisionAssets' :: ListRevisionAssets -> Maybe Text
$sel:maxResults:ListRevisionAssets' :: ListRevisionAssets -> Maybe Natural
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"maxResults" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Natural
maxResults,
ByteString
"nextToken" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Text
nextToken
]
data ListRevisionAssetsResponse = ListRevisionAssetsResponse'
{
ListRevisionAssetsResponse -> Maybe [AssetEntry]
assets :: Prelude.Maybe [AssetEntry],
ListRevisionAssetsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListRevisionAssetsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListRevisionAssetsResponse -> ListRevisionAssetsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListRevisionAssetsResponse -> ListRevisionAssetsResponse -> Bool
$c/= :: ListRevisionAssetsResponse -> ListRevisionAssetsResponse -> Bool
== :: ListRevisionAssetsResponse -> ListRevisionAssetsResponse -> Bool
$c== :: ListRevisionAssetsResponse -> ListRevisionAssetsResponse -> Bool
Prelude.Eq, ReadPrec [ListRevisionAssetsResponse]
ReadPrec ListRevisionAssetsResponse
Int -> ReadS ListRevisionAssetsResponse
ReadS [ListRevisionAssetsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListRevisionAssetsResponse]
$creadListPrec :: ReadPrec [ListRevisionAssetsResponse]
readPrec :: ReadPrec ListRevisionAssetsResponse
$creadPrec :: ReadPrec ListRevisionAssetsResponse
readList :: ReadS [ListRevisionAssetsResponse]
$creadList :: ReadS [ListRevisionAssetsResponse]
readsPrec :: Int -> ReadS ListRevisionAssetsResponse
$creadsPrec :: Int -> ReadS ListRevisionAssetsResponse
Prelude.Read, Int -> ListRevisionAssetsResponse -> ShowS
[ListRevisionAssetsResponse] -> ShowS
ListRevisionAssetsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListRevisionAssetsResponse] -> ShowS
$cshowList :: [ListRevisionAssetsResponse] -> ShowS
show :: ListRevisionAssetsResponse -> String
$cshow :: ListRevisionAssetsResponse -> String
showsPrec :: Int -> ListRevisionAssetsResponse -> ShowS
$cshowsPrec :: Int -> ListRevisionAssetsResponse -> ShowS
Prelude.Show, forall x.
Rep ListRevisionAssetsResponse x -> ListRevisionAssetsResponse
forall x.
ListRevisionAssetsResponse -> Rep ListRevisionAssetsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListRevisionAssetsResponse x -> ListRevisionAssetsResponse
$cfrom :: forall x.
ListRevisionAssetsResponse -> Rep ListRevisionAssetsResponse x
Prelude.Generic)
newListRevisionAssetsResponse ::
Prelude.Int ->
ListRevisionAssetsResponse
newListRevisionAssetsResponse :: Int -> ListRevisionAssetsResponse
newListRevisionAssetsResponse Int
pHttpStatus_ =
ListRevisionAssetsResponse'
{ $sel:assets:ListRevisionAssetsResponse' :: Maybe [AssetEntry]
assets =
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListRevisionAssetsResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListRevisionAssetsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listRevisionAssetsResponse_assets :: Lens.Lens' ListRevisionAssetsResponse (Prelude.Maybe [AssetEntry])
listRevisionAssetsResponse_assets :: Lens' ListRevisionAssetsResponse (Maybe [AssetEntry])
listRevisionAssetsResponse_assets = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRevisionAssetsResponse' {Maybe [AssetEntry]
assets :: Maybe [AssetEntry]
$sel:assets:ListRevisionAssetsResponse' :: ListRevisionAssetsResponse -> Maybe [AssetEntry]
assets} -> Maybe [AssetEntry]
assets) (\s :: ListRevisionAssetsResponse
s@ListRevisionAssetsResponse' {} Maybe [AssetEntry]
a -> ListRevisionAssetsResponse
s {$sel:assets:ListRevisionAssetsResponse' :: Maybe [AssetEntry]
assets = Maybe [AssetEntry]
a} :: ListRevisionAssetsResponse) 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
listRevisionAssetsResponse_nextToken :: Lens.Lens' ListRevisionAssetsResponse (Prelude.Maybe Prelude.Text)
listRevisionAssetsResponse_nextToken :: Lens' ListRevisionAssetsResponse (Maybe Text)
listRevisionAssetsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRevisionAssetsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListRevisionAssetsResponse' :: ListRevisionAssetsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListRevisionAssetsResponse
s@ListRevisionAssetsResponse' {} Maybe Text
a -> ListRevisionAssetsResponse
s {$sel:nextToken:ListRevisionAssetsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListRevisionAssetsResponse)
listRevisionAssetsResponse_httpStatus :: Lens.Lens' ListRevisionAssetsResponse Prelude.Int
listRevisionAssetsResponse_httpStatus :: Lens' ListRevisionAssetsResponse Int
listRevisionAssetsResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListRevisionAssetsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListRevisionAssetsResponse' :: ListRevisionAssetsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListRevisionAssetsResponse
s@ListRevisionAssetsResponse' {} Int
a -> ListRevisionAssetsResponse
s {$sel:httpStatus:ListRevisionAssetsResponse' :: Int
httpStatus = Int
a} :: ListRevisionAssetsResponse)
instance Prelude.NFData ListRevisionAssetsResponse where
rnf :: ListRevisionAssetsResponse -> ()
rnf ListRevisionAssetsResponse' {Int
Maybe [AssetEntry]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
assets :: Maybe [AssetEntry]
$sel:httpStatus:ListRevisionAssetsResponse' :: ListRevisionAssetsResponse -> Int
$sel:nextToken:ListRevisionAssetsResponse' :: ListRevisionAssetsResponse -> Maybe Text
$sel:assets:ListRevisionAssetsResponse' :: ListRevisionAssetsResponse -> Maybe [AssetEntry]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [AssetEntry]
assets
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