{-# 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.AuditManager.ListKeywordsForDataSource
-- 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 a list of keywords that are pre-mapped to the specified control
-- data source.
module Amazonka.AuditManager.ListKeywordsForDataSource
  ( -- * Creating a Request
    ListKeywordsForDataSource (..),
    newListKeywordsForDataSource,

    -- * Request Lenses
    listKeywordsForDataSource_maxResults,
    listKeywordsForDataSource_nextToken,
    listKeywordsForDataSource_source,

    -- * Destructuring the Response
    ListKeywordsForDataSourceResponse (..),
    newListKeywordsForDataSourceResponse,

    -- * Response Lenses
    listKeywordsForDataSourceResponse_keywords,
    listKeywordsForDataSourceResponse_nextToken,
    listKeywordsForDataSourceResponse_httpStatus,
  )
where

import Amazonka.AuditManager.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

-- | /See:/ 'newListKeywordsForDataSource' smart constructor.
data ListKeywordsForDataSource = ListKeywordsForDataSource'
  { -- | Represents the maximum number of results on a page or for an API request
    -- call.
    ListKeywordsForDataSource -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | The pagination token that\'s used to fetch the next set of results.
    ListKeywordsForDataSource -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The control mapping data source that the keywords apply to.
    ListKeywordsForDataSource -> SourceType
source :: SourceType
  }
  deriving (ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
$c/= :: ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
== :: ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
$c== :: ListKeywordsForDataSource -> ListKeywordsForDataSource -> Bool
Prelude.Eq, ReadPrec [ListKeywordsForDataSource]
ReadPrec ListKeywordsForDataSource
Int -> ReadS ListKeywordsForDataSource
ReadS [ListKeywordsForDataSource]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListKeywordsForDataSource]
$creadListPrec :: ReadPrec [ListKeywordsForDataSource]
readPrec :: ReadPrec ListKeywordsForDataSource
$creadPrec :: ReadPrec ListKeywordsForDataSource
readList :: ReadS [ListKeywordsForDataSource]
$creadList :: ReadS [ListKeywordsForDataSource]
readsPrec :: Int -> ReadS ListKeywordsForDataSource
$creadsPrec :: Int -> ReadS ListKeywordsForDataSource
Prelude.Read, Int -> ListKeywordsForDataSource -> ShowS
[ListKeywordsForDataSource] -> ShowS
ListKeywordsForDataSource -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListKeywordsForDataSource] -> ShowS
$cshowList :: [ListKeywordsForDataSource] -> ShowS
show :: ListKeywordsForDataSource -> String
$cshow :: ListKeywordsForDataSource -> String
showsPrec :: Int -> ListKeywordsForDataSource -> ShowS
$cshowsPrec :: Int -> ListKeywordsForDataSource -> ShowS
Prelude.Show, forall x.
Rep ListKeywordsForDataSource x -> ListKeywordsForDataSource
forall x.
ListKeywordsForDataSource -> Rep ListKeywordsForDataSource x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListKeywordsForDataSource x -> ListKeywordsForDataSource
$cfrom :: forall x.
ListKeywordsForDataSource -> Rep ListKeywordsForDataSource x
Prelude.Generic)

-- |
-- Create a value of 'ListKeywordsForDataSource' 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:
--
-- 'maxResults', 'listKeywordsForDataSource_maxResults' - Represents the maximum number of results on a page or for an API request
-- call.
--
-- 'nextToken', 'listKeywordsForDataSource_nextToken' - The pagination token that\'s used to fetch the next set of results.
--
-- 'source', 'listKeywordsForDataSource_source' - The control mapping data source that the keywords apply to.
newListKeywordsForDataSource ::
  -- | 'source'
  SourceType ->
  ListKeywordsForDataSource
newListKeywordsForDataSource :: SourceType -> ListKeywordsForDataSource
newListKeywordsForDataSource SourceType
pSource_ =
  ListKeywordsForDataSource'
    { $sel:maxResults:ListKeywordsForDataSource' :: Maybe Natural
maxResults =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListKeywordsForDataSource' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:source:ListKeywordsForDataSource' :: SourceType
source = SourceType
pSource_
    }

-- | Represents the maximum number of results on a page or for an API request
-- call.
listKeywordsForDataSource_maxResults :: Lens.Lens' ListKeywordsForDataSource (Prelude.Maybe Prelude.Natural)
listKeywordsForDataSource_maxResults :: Lens' ListKeywordsForDataSource (Maybe Natural)
listKeywordsForDataSource_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSource' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListKeywordsForDataSource
s@ListKeywordsForDataSource' {} Maybe Natural
a -> ListKeywordsForDataSource
s {$sel:maxResults:ListKeywordsForDataSource' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListKeywordsForDataSource)

-- | The pagination token that\'s used to fetch the next set of results.
listKeywordsForDataSource_nextToken :: Lens.Lens' ListKeywordsForDataSource (Prelude.Maybe Prelude.Text)
listKeywordsForDataSource_nextToken :: Lens' ListKeywordsForDataSource (Maybe Text)
listKeywordsForDataSource_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSource' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListKeywordsForDataSource
s@ListKeywordsForDataSource' {} Maybe Text
a -> ListKeywordsForDataSource
s {$sel:nextToken:ListKeywordsForDataSource' :: Maybe Text
nextToken = Maybe Text
a} :: ListKeywordsForDataSource)

-- | The control mapping data source that the keywords apply to.
listKeywordsForDataSource_source :: Lens.Lens' ListKeywordsForDataSource SourceType
listKeywordsForDataSource_source :: Lens' ListKeywordsForDataSource SourceType
listKeywordsForDataSource_source = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSource' {SourceType
source :: SourceType
$sel:source:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> SourceType
source} -> SourceType
source) (\s :: ListKeywordsForDataSource
s@ListKeywordsForDataSource' {} SourceType
a -> ListKeywordsForDataSource
s {$sel:source:ListKeywordsForDataSource' :: SourceType
source = SourceType
a} :: ListKeywordsForDataSource)

instance Core.AWSRequest ListKeywordsForDataSource where
  type
    AWSResponse ListKeywordsForDataSource =
      ListKeywordsForDataSourceResponse
  request :: (Service -> Service)
-> ListKeywordsForDataSource -> Request ListKeywordsForDataSource
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 ListKeywordsForDataSource
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListKeywordsForDataSource)))
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 -> Int -> ListKeywordsForDataSourceResponse
ListKeywordsForDataSourceResponse'
            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
"keywords" 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 ListKeywordsForDataSource where
  hashWithSalt :: Int -> ListKeywordsForDataSource -> Int
hashWithSalt Int
_salt ListKeywordsForDataSource' {Maybe Natural
Maybe Text
SourceType
source :: SourceType
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:source:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> SourceType
$sel:nextToken:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Text
$sel:maxResults:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> 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` SourceType
source

instance Prelude.NFData ListKeywordsForDataSource where
  rnf :: ListKeywordsForDataSource -> ()
rnf ListKeywordsForDataSource' {Maybe Natural
Maybe Text
SourceType
source :: SourceType
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:source:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> SourceType
$sel:nextToken:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Text
$sel:maxResults:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> 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 SourceType
source

instance Data.ToHeaders ListKeywordsForDataSource where
  toHeaders :: ListKeywordsForDataSource -> 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 ListKeywordsForDataSource where
  toPath :: ListKeywordsForDataSource -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/dataSourceKeywords"

instance Data.ToQuery ListKeywordsForDataSource where
  toQuery :: ListKeywordsForDataSource -> QueryString
toQuery ListKeywordsForDataSource' {Maybe Natural
Maybe Text
SourceType
source :: SourceType
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:source:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> SourceType
$sel:nextToken:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> Maybe Text
$sel:maxResults:ListKeywordsForDataSource' :: ListKeywordsForDataSource -> 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,
        ByteString
"source" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: SourceType
source
      ]

-- | /See:/ 'newListKeywordsForDataSourceResponse' smart constructor.
data ListKeywordsForDataSourceResponse = ListKeywordsForDataSourceResponse'
  { -- | The list of keywords for the event mapping source.
    ListKeywordsForDataSourceResponse -> Maybe [Text]
keywords :: Prelude.Maybe [Prelude.Text],
    -- | The pagination token that\'s used to fetch the next set of results.
    ListKeywordsForDataSourceResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListKeywordsForDataSourceResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
$c/= :: ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
== :: ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
$c== :: ListKeywordsForDataSourceResponse
-> ListKeywordsForDataSourceResponse -> Bool
Prelude.Eq, ReadPrec [ListKeywordsForDataSourceResponse]
ReadPrec ListKeywordsForDataSourceResponse
Int -> ReadS ListKeywordsForDataSourceResponse
ReadS [ListKeywordsForDataSourceResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListKeywordsForDataSourceResponse]
$creadListPrec :: ReadPrec [ListKeywordsForDataSourceResponse]
readPrec :: ReadPrec ListKeywordsForDataSourceResponse
$creadPrec :: ReadPrec ListKeywordsForDataSourceResponse
readList :: ReadS [ListKeywordsForDataSourceResponse]
$creadList :: ReadS [ListKeywordsForDataSourceResponse]
readsPrec :: Int -> ReadS ListKeywordsForDataSourceResponse
$creadsPrec :: Int -> ReadS ListKeywordsForDataSourceResponse
Prelude.Read, Int -> ListKeywordsForDataSourceResponse -> ShowS
[ListKeywordsForDataSourceResponse] -> ShowS
ListKeywordsForDataSourceResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListKeywordsForDataSourceResponse] -> ShowS
$cshowList :: [ListKeywordsForDataSourceResponse] -> ShowS
show :: ListKeywordsForDataSourceResponse -> String
$cshow :: ListKeywordsForDataSourceResponse -> String
showsPrec :: Int -> ListKeywordsForDataSourceResponse -> ShowS
$cshowsPrec :: Int -> ListKeywordsForDataSourceResponse -> ShowS
Prelude.Show, forall x.
Rep ListKeywordsForDataSourceResponse x
-> ListKeywordsForDataSourceResponse
forall x.
ListKeywordsForDataSourceResponse
-> Rep ListKeywordsForDataSourceResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListKeywordsForDataSourceResponse x
-> ListKeywordsForDataSourceResponse
$cfrom :: forall x.
ListKeywordsForDataSourceResponse
-> Rep ListKeywordsForDataSourceResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListKeywordsForDataSourceResponse' 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:
--
-- 'keywords', 'listKeywordsForDataSourceResponse_keywords' - The list of keywords for the event mapping source.
--
-- 'nextToken', 'listKeywordsForDataSourceResponse_nextToken' - The pagination token that\'s used to fetch the next set of results.
--
-- 'httpStatus', 'listKeywordsForDataSourceResponse_httpStatus' - The response's http status code.
newListKeywordsForDataSourceResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListKeywordsForDataSourceResponse
newListKeywordsForDataSourceResponse :: Int -> ListKeywordsForDataSourceResponse
newListKeywordsForDataSourceResponse Int
pHttpStatus_ =
  ListKeywordsForDataSourceResponse'
    { $sel:keywords:ListKeywordsForDataSourceResponse' :: Maybe [Text]
keywords =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListKeywordsForDataSourceResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListKeywordsForDataSourceResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The list of keywords for the event mapping source.
listKeywordsForDataSourceResponse_keywords :: Lens.Lens' ListKeywordsForDataSourceResponse (Prelude.Maybe [Prelude.Text])
listKeywordsForDataSourceResponse_keywords :: Lens' ListKeywordsForDataSourceResponse (Maybe [Text])
listKeywordsForDataSourceResponse_keywords = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSourceResponse' {Maybe [Text]
keywords :: Maybe [Text]
$sel:keywords:ListKeywordsForDataSourceResponse' :: ListKeywordsForDataSourceResponse -> Maybe [Text]
keywords} -> Maybe [Text]
keywords) (\s :: ListKeywordsForDataSourceResponse
s@ListKeywordsForDataSourceResponse' {} Maybe [Text]
a -> ListKeywordsForDataSourceResponse
s {$sel:keywords:ListKeywordsForDataSourceResponse' :: Maybe [Text]
keywords = Maybe [Text]
a} :: ListKeywordsForDataSourceResponse) 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 pagination token that\'s used to fetch the next set of results.
listKeywordsForDataSourceResponse_nextToken :: Lens.Lens' ListKeywordsForDataSourceResponse (Prelude.Maybe Prelude.Text)
listKeywordsForDataSourceResponse_nextToken :: Lens' ListKeywordsForDataSourceResponse (Maybe Text)
listKeywordsForDataSourceResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListKeywordsForDataSourceResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListKeywordsForDataSourceResponse' :: ListKeywordsForDataSourceResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListKeywordsForDataSourceResponse
s@ListKeywordsForDataSourceResponse' {} Maybe Text
a -> ListKeywordsForDataSourceResponse
s {$sel:nextToken:ListKeywordsForDataSourceResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListKeywordsForDataSourceResponse)

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

instance
  Prelude.NFData
    ListKeywordsForDataSourceResponse
  where
  rnf :: ListKeywordsForDataSourceResponse -> ()
rnf ListKeywordsForDataSourceResponse' {Int
Maybe [Text]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
keywords :: Maybe [Text]
$sel:httpStatus:ListKeywordsForDataSourceResponse' :: ListKeywordsForDataSourceResponse -> Int
$sel:nextToken:ListKeywordsForDataSourceResponse' :: ListKeywordsForDataSourceResponse -> Maybe Text
$sel:keywords:ListKeywordsForDataSourceResponse' :: ListKeywordsForDataSourceResponse -> Maybe [Text]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
keywords
      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