{-# 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.SESV2.GetContactList
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns contact list metadata. It does not return any information about
-- the contacts present in the list.
module Amazonka.SESV2.GetContactList
  ( -- * Creating a Request
    GetContactList (..),
    newGetContactList,

    -- * Request Lenses
    getContactList_contactListName,

    -- * Destructuring the Response
    GetContactListResponse (..),
    newGetContactListResponse,

    -- * Response Lenses
    getContactListResponse_contactListName,
    getContactListResponse_createdTimestamp,
    getContactListResponse_description,
    getContactListResponse_lastUpdatedTimestamp,
    getContactListResponse_tags,
    getContactListResponse_topics,
    getContactListResponse_httpStatus,
  )
where

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
import Amazonka.SESV2.Types

-- | /See:/ 'newGetContactList' smart constructor.
data GetContactList = GetContactList'
  { -- | The name of the contact list.
    GetContactList -> Text
contactListName :: Prelude.Text
  }
  deriving (GetContactList -> GetContactList -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetContactList -> GetContactList -> Bool
$c/= :: GetContactList -> GetContactList -> Bool
== :: GetContactList -> GetContactList -> Bool
$c== :: GetContactList -> GetContactList -> Bool
Prelude.Eq, ReadPrec [GetContactList]
ReadPrec GetContactList
Int -> ReadS GetContactList
ReadS [GetContactList]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetContactList]
$creadListPrec :: ReadPrec [GetContactList]
readPrec :: ReadPrec GetContactList
$creadPrec :: ReadPrec GetContactList
readList :: ReadS [GetContactList]
$creadList :: ReadS [GetContactList]
readsPrec :: Int -> ReadS GetContactList
$creadsPrec :: Int -> ReadS GetContactList
Prelude.Read, Int -> GetContactList -> ShowS
[GetContactList] -> ShowS
GetContactList -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetContactList] -> ShowS
$cshowList :: [GetContactList] -> ShowS
show :: GetContactList -> String
$cshow :: GetContactList -> String
showsPrec :: Int -> GetContactList -> ShowS
$cshowsPrec :: Int -> GetContactList -> ShowS
Prelude.Show, forall x. Rep GetContactList x -> GetContactList
forall x. GetContactList -> Rep GetContactList x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetContactList x -> GetContactList
$cfrom :: forall x. GetContactList -> Rep GetContactList x
Prelude.Generic)

-- |
-- Create a value of 'GetContactList' 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:
--
-- 'contactListName', 'getContactList_contactListName' - The name of the contact list.
newGetContactList ::
  -- | 'contactListName'
  Prelude.Text ->
  GetContactList
newGetContactList :: Text -> GetContactList
newGetContactList Text
pContactListName_ =
  GetContactList'
    { $sel:contactListName:GetContactList' :: Text
contactListName =
        Text
pContactListName_
    }

-- | The name of the contact list.
getContactList_contactListName :: Lens.Lens' GetContactList Prelude.Text
getContactList_contactListName :: Lens' GetContactList Text
getContactList_contactListName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetContactList' {Text
contactListName :: Text
$sel:contactListName:GetContactList' :: GetContactList -> Text
contactListName} -> Text
contactListName) (\s :: GetContactList
s@GetContactList' {} Text
a -> GetContactList
s {$sel:contactListName:GetContactList' :: Text
contactListName = Text
a} :: GetContactList)

instance Core.AWSRequest GetContactList where
  type
    AWSResponse GetContactList =
      GetContactListResponse
  request :: (Service -> Service) -> GetContactList -> Request GetContactList
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 GetContactList
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse GetContactList)))
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 POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe [Tag]
-> Maybe [Topic]
-> Int
-> GetContactListResponse
GetContactListResponse'
            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
"ContactListName")
            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
"CreatedTimestamp")
            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
"Description")
            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
"LastUpdatedTimestamp")
            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
"Tags" 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
"Topics" 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.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable GetContactList where
  hashWithSalt :: Int -> GetContactList -> Int
hashWithSalt Int
_salt GetContactList' {Text
contactListName :: Text
$sel:contactListName:GetContactList' :: GetContactList -> Text
..} =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
contactListName

instance Prelude.NFData GetContactList where
  rnf :: GetContactList -> ()
rnf GetContactList' {Text
contactListName :: Text
$sel:contactListName:GetContactList' :: GetContactList -> Text
..} = forall a. NFData a => a -> ()
Prelude.rnf Text
contactListName

instance Data.ToHeaders GetContactList where
  toHeaders :: GetContactList -> 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 GetContactList where
  toPath :: GetContactList -> ByteString
toPath GetContactList' {Text
contactListName :: Text
$sel:contactListName:GetContactList' :: GetContactList -> Text
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"/v2/email/contact-lists/",
        forall a. ToByteString a => a -> ByteString
Data.toBS Text
contactListName
      ]

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

-- | /See:/ 'newGetContactListResponse' smart constructor.
data GetContactListResponse = GetContactListResponse'
  { -- | The name of the contact list.
    GetContactListResponse -> Maybe Text
contactListName :: Prelude.Maybe Prelude.Text,
    -- | A timestamp noting when the contact list was created.
    GetContactListResponse -> Maybe POSIX
createdTimestamp :: Prelude.Maybe Data.POSIX,
    -- | A description of what the contact list is about.
    GetContactListResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | A timestamp noting the last time the contact list was updated.
    GetContactListResponse -> Maybe POSIX
lastUpdatedTimestamp :: Prelude.Maybe Data.POSIX,
    -- | The tags associated with a contact list.
    GetContactListResponse -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
    -- | An interest group, theme, or label within a list. A contact list can
    -- have multiple topics.
    GetContactListResponse -> Maybe [Topic]
topics :: Prelude.Maybe [Topic],
    -- | The response's http status code.
    GetContactListResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (GetContactListResponse -> GetContactListResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetContactListResponse -> GetContactListResponse -> Bool
$c/= :: GetContactListResponse -> GetContactListResponse -> Bool
== :: GetContactListResponse -> GetContactListResponse -> Bool
$c== :: GetContactListResponse -> GetContactListResponse -> Bool
Prelude.Eq, ReadPrec [GetContactListResponse]
ReadPrec GetContactListResponse
Int -> ReadS GetContactListResponse
ReadS [GetContactListResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetContactListResponse]
$creadListPrec :: ReadPrec [GetContactListResponse]
readPrec :: ReadPrec GetContactListResponse
$creadPrec :: ReadPrec GetContactListResponse
readList :: ReadS [GetContactListResponse]
$creadList :: ReadS [GetContactListResponse]
readsPrec :: Int -> ReadS GetContactListResponse
$creadsPrec :: Int -> ReadS GetContactListResponse
Prelude.Read, Int -> GetContactListResponse -> ShowS
[GetContactListResponse] -> ShowS
GetContactListResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetContactListResponse] -> ShowS
$cshowList :: [GetContactListResponse] -> ShowS
show :: GetContactListResponse -> String
$cshow :: GetContactListResponse -> String
showsPrec :: Int -> GetContactListResponse -> ShowS
$cshowsPrec :: Int -> GetContactListResponse -> ShowS
Prelude.Show, forall x. Rep GetContactListResponse x -> GetContactListResponse
forall x. GetContactListResponse -> Rep GetContactListResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep GetContactListResponse x -> GetContactListResponse
$cfrom :: forall x. GetContactListResponse -> Rep GetContactListResponse x
Prelude.Generic)

-- |
-- Create a value of 'GetContactListResponse' 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:
--
-- 'contactListName', 'getContactListResponse_contactListName' - The name of the contact list.
--
-- 'createdTimestamp', 'getContactListResponse_createdTimestamp' - A timestamp noting when the contact list was created.
--
-- 'description', 'getContactListResponse_description' - A description of what the contact list is about.
--
-- 'lastUpdatedTimestamp', 'getContactListResponse_lastUpdatedTimestamp' - A timestamp noting the last time the contact list was updated.
--
-- 'tags', 'getContactListResponse_tags' - The tags associated with a contact list.
--
-- 'topics', 'getContactListResponse_topics' - An interest group, theme, or label within a list. A contact list can
-- have multiple topics.
--
-- 'httpStatus', 'getContactListResponse_httpStatus' - The response's http status code.
newGetContactListResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  GetContactListResponse
newGetContactListResponse :: Int -> GetContactListResponse
newGetContactListResponse Int
pHttpStatus_ =
  GetContactListResponse'
    { $sel:contactListName:GetContactListResponse' :: Maybe Text
contactListName =
        forall a. Maybe a
Prelude.Nothing,
      $sel:createdTimestamp:GetContactListResponse' :: Maybe POSIX
createdTimestamp = forall a. Maybe a
Prelude.Nothing,
      $sel:description:GetContactListResponse' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
      $sel:lastUpdatedTimestamp:GetContactListResponse' :: Maybe POSIX
lastUpdatedTimestamp = forall a. Maybe a
Prelude.Nothing,
      $sel:tags:GetContactListResponse' :: Maybe [Tag]
tags = forall a. Maybe a
Prelude.Nothing,
      $sel:topics:GetContactListResponse' :: Maybe [Topic]
topics = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:GetContactListResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The name of the contact list.
getContactListResponse_contactListName :: Lens.Lens' GetContactListResponse (Prelude.Maybe Prelude.Text)
getContactListResponse_contactListName :: Lens' GetContactListResponse (Maybe Text)
getContactListResponse_contactListName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetContactListResponse' {Maybe Text
contactListName :: Maybe Text
$sel:contactListName:GetContactListResponse' :: GetContactListResponse -> Maybe Text
contactListName} -> Maybe Text
contactListName) (\s :: GetContactListResponse
s@GetContactListResponse' {} Maybe Text
a -> GetContactListResponse
s {$sel:contactListName:GetContactListResponse' :: Maybe Text
contactListName = Maybe Text
a} :: GetContactListResponse)

-- | A timestamp noting when the contact list was created.
getContactListResponse_createdTimestamp :: Lens.Lens' GetContactListResponse (Prelude.Maybe Prelude.UTCTime)
getContactListResponse_createdTimestamp :: Lens' GetContactListResponse (Maybe UTCTime)
getContactListResponse_createdTimestamp = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetContactListResponse' {Maybe POSIX
createdTimestamp :: Maybe POSIX
$sel:createdTimestamp:GetContactListResponse' :: GetContactListResponse -> Maybe POSIX
createdTimestamp} -> Maybe POSIX
createdTimestamp) (\s :: GetContactListResponse
s@GetContactListResponse' {} Maybe POSIX
a -> GetContactListResponse
s {$sel:createdTimestamp:GetContactListResponse' :: Maybe POSIX
createdTimestamp = Maybe POSIX
a} :: GetContactListResponse) 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 (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | A description of what the contact list is about.
getContactListResponse_description :: Lens.Lens' GetContactListResponse (Prelude.Maybe Prelude.Text)
getContactListResponse_description :: Lens' GetContactListResponse (Maybe Text)
getContactListResponse_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetContactListResponse' {Maybe Text
description :: Maybe Text
$sel:description:GetContactListResponse' :: GetContactListResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: GetContactListResponse
s@GetContactListResponse' {} Maybe Text
a -> GetContactListResponse
s {$sel:description:GetContactListResponse' :: Maybe Text
description = Maybe Text
a} :: GetContactListResponse)

-- | A timestamp noting the last time the contact list was updated.
getContactListResponse_lastUpdatedTimestamp :: Lens.Lens' GetContactListResponse (Prelude.Maybe Prelude.UTCTime)
getContactListResponse_lastUpdatedTimestamp :: Lens' GetContactListResponse (Maybe UTCTime)
getContactListResponse_lastUpdatedTimestamp = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetContactListResponse' {Maybe POSIX
lastUpdatedTimestamp :: Maybe POSIX
$sel:lastUpdatedTimestamp:GetContactListResponse' :: GetContactListResponse -> Maybe POSIX
lastUpdatedTimestamp} -> Maybe POSIX
lastUpdatedTimestamp) (\s :: GetContactListResponse
s@GetContactListResponse' {} Maybe POSIX
a -> GetContactListResponse
s {$sel:lastUpdatedTimestamp:GetContactListResponse' :: Maybe POSIX
lastUpdatedTimestamp = Maybe POSIX
a} :: GetContactListResponse) 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 (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The tags associated with a contact list.
getContactListResponse_tags :: Lens.Lens' GetContactListResponse (Prelude.Maybe [Tag])
getContactListResponse_tags :: Lens' GetContactListResponse (Maybe [Tag])
getContactListResponse_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetContactListResponse' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:GetContactListResponse' :: GetContactListResponse -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: GetContactListResponse
s@GetContactListResponse' {} Maybe [Tag]
a -> GetContactListResponse
s {$sel:tags:GetContactListResponse' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: GetContactListResponse) 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

-- | An interest group, theme, or label within a list. A contact list can
-- have multiple topics.
getContactListResponse_topics :: Lens.Lens' GetContactListResponse (Prelude.Maybe [Topic])
getContactListResponse_topics :: Lens' GetContactListResponse (Maybe [Topic])
getContactListResponse_topics = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetContactListResponse' {Maybe [Topic]
topics :: Maybe [Topic]
$sel:topics:GetContactListResponse' :: GetContactListResponse -> Maybe [Topic]
topics} -> Maybe [Topic]
topics) (\s :: GetContactListResponse
s@GetContactListResponse' {} Maybe [Topic]
a -> GetContactListResponse
s {$sel:topics:GetContactListResponse' :: Maybe [Topic]
topics = Maybe [Topic]
a} :: GetContactListResponse) 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 response's http status code.
getContactListResponse_httpStatus :: Lens.Lens' GetContactListResponse Prelude.Int
getContactListResponse_httpStatus :: Lens' GetContactListResponse Int
getContactListResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetContactListResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetContactListResponse' :: GetContactListResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetContactListResponse
s@GetContactListResponse' {} Int
a -> GetContactListResponse
s {$sel:httpStatus:GetContactListResponse' :: Int
httpStatus = Int
a} :: GetContactListResponse)

instance Prelude.NFData GetContactListResponse where
  rnf :: GetContactListResponse -> ()
rnf GetContactListResponse' {Int
Maybe [Tag]
Maybe [Topic]
Maybe Text
Maybe POSIX
httpStatus :: Int
topics :: Maybe [Topic]
tags :: Maybe [Tag]
lastUpdatedTimestamp :: Maybe POSIX
description :: Maybe Text
createdTimestamp :: Maybe POSIX
contactListName :: Maybe Text
$sel:httpStatus:GetContactListResponse' :: GetContactListResponse -> Int
$sel:topics:GetContactListResponse' :: GetContactListResponse -> Maybe [Topic]
$sel:tags:GetContactListResponse' :: GetContactListResponse -> Maybe [Tag]
$sel:lastUpdatedTimestamp:GetContactListResponse' :: GetContactListResponse -> Maybe POSIX
$sel:description:GetContactListResponse' :: GetContactListResponse -> Maybe Text
$sel:createdTimestamp:GetContactListResponse' :: GetContactListResponse -> Maybe POSIX
$sel:contactListName:GetContactListResponse' :: GetContactListResponse -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
contactListName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
createdTimestamp
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastUpdatedTimestamp
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Tag]
tags
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Topic]
topics
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus