{-# 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.Athena.ListPreparedStatements
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Lists the prepared statements in the specified workgroup.
module Amazonka.Athena.ListPreparedStatements
  ( -- * Creating a Request
    ListPreparedStatements (..),
    newListPreparedStatements,

    -- * Request Lenses
    listPreparedStatements_maxResults,
    listPreparedStatements_nextToken,
    listPreparedStatements_workGroup,

    -- * Destructuring the Response
    ListPreparedStatementsResponse (..),
    newListPreparedStatementsResponse,

    -- * Response Lenses
    listPreparedStatementsResponse_nextToken,
    listPreparedStatementsResponse_preparedStatements,
    listPreparedStatementsResponse_httpStatus,
  )
where

import Amazonka.Athena.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:/ 'newListPreparedStatements' smart constructor.
data ListPreparedStatements = ListPreparedStatements'
  { -- | The maximum number of results to return in this request.
    ListPreparedStatements -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | A token generated by the Athena service that specifies where to continue
    -- pagination if a previous request was truncated. To obtain the next set
    -- of pages, pass in the @NextToken@ from the response object of the
    -- previous page call.
    ListPreparedStatements -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The workgroup to list the prepared statements for.
    ListPreparedStatements -> Text
workGroup :: Prelude.Text
  }
  deriving (ListPreparedStatements -> ListPreparedStatements -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListPreparedStatements -> ListPreparedStatements -> Bool
$c/= :: ListPreparedStatements -> ListPreparedStatements -> Bool
== :: ListPreparedStatements -> ListPreparedStatements -> Bool
$c== :: ListPreparedStatements -> ListPreparedStatements -> Bool
Prelude.Eq, ReadPrec [ListPreparedStatements]
ReadPrec ListPreparedStatements
Int -> ReadS ListPreparedStatements
ReadS [ListPreparedStatements]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListPreparedStatements]
$creadListPrec :: ReadPrec [ListPreparedStatements]
readPrec :: ReadPrec ListPreparedStatements
$creadPrec :: ReadPrec ListPreparedStatements
readList :: ReadS [ListPreparedStatements]
$creadList :: ReadS [ListPreparedStatements]
readsPrec :: Int -> ReadS ListPreparedStatements
$creadsPrec :: Int -> ReadS ListPreparedStatements
Prelude.Read, Int -> ListPreparedStatements -> ShowS
[ListPreparedStatements] -> ShowS
ListPreparedStatements -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListPreparedStatements] -> ShowS
$cshowList :: [ListPreparedStatements] -> ShowS
show :: ListPreparedStatements -> String
$cshow :: ListPreparedStatements -> String
showsPrec :: Int -> ListPreparedStatements -> ShowS
$cshowsPrec :: Int -> ListPreparedStatements -> ShowS
Prelude.Show, forall x. Rep ListPreparedStatements x -> ListPreparedStatements
forall x. ListPreparedStatements -> Rep ListPreparedStatements x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListPreparedStatements x -> ListPreparedStatements
$cfrom :: forall x. ListPreparedStatements -> Rep ListPreparedStatements x
Prelude.Generic)

-- |
-- Create a value of 'ListPreparedStatements' 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', 'listPreparedStatements_maxResults' - The maximum number of results to return in this request.
--
-- 'nextToken', 'listPreparedStatements_nextToken' - A token generated by the Athena service that specifies where to continue
-- pagination if a previous request was truncated. To obtain the next set
-- of pages, pass in the @NextToken@ from the response object of the
-- previous page call.
--
-- 'workGroup', 'listPreparedStatements_workGroup' - The workgroup to list the prepared statements for.
newListPreparedStatements ::
  -- | 'workGroup'
  Prelude.Text ->
  ListPreparedStatements
newListPreparedStatements :: Text -> ListPreparedStatements
newListPreparedStatements Text
pWorkGroup_ =
  ListPreparedStatements'
    { $sel:maxResults:ListPreparedStatements' :: Maybe Natural
maxResults =
        forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListPreparedStatements' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:workGroup:ListPreparedStatements' :: Text
workGroup = Text
pWorkGroup_
    }

-- | The maximum number of results to return in this request.
listPreparedStatements_maxResults :: Lens.Lens' ListPreparedStatements (Prelude.Maybe Prelude.Natural)
listPreparedStatements_maxResults :: Lens' ListPreparedStatements (Maybe Natural)
listPreparedStatements_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPreparedStatements' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListPreparedStatements' :: ListPreparedStatements -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListPreparedStatements
s@ListPreparedStatements' {} Maybe Natural
a -> ListPreparedStatements
s {$sel:maxResults:ListPreparedStatements' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListPreparedStatements)

-- | A token generated by the Athena service that specifies where to continue
-- pagination if a previous request was truncated. To obtain the next set
-- of pages, pass in the @NextToken@ from the response object of the
-- previous page call.
listPreparedStatements_nextToken :: Lens.Lens' ListPreparedStatements (Prelude.Maybe Prelude.Text)
listPreparedStatements_nextToken :: Lens' ListPreparedStatements (Maybe Text)
listPreparedStatements_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPreparedStatements' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListPreparedStatements' :: ListPreparedStatements -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListPreparedStatements
s@ListPreparedStatements' {} Maybe Text
a -> ListPreparedStatements
s {$sel:nextToken:ListPreparedStatements' :: Maybe Text
nextToken = Maybe Text
a} :: ListPreparedStatements)

-- | The workgroup to list the prepared statements for.
listPreparedStatements_workGroup :: Lens.Lens' ListPreparedStatements Prelude.Text
listPreparedStatements_workGroup :: Lens' ListPreparedStatements Text
listPreparedStatements_workGroup = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPreparedStatements' {Text
workGroup :: Text
$sel:workGroup:ListPreparedStatements' :: ListPreparedStatements -> Text
workGroup} -> Text
workGroup) (\s :: ListPreparedStatements
s@ListPreparedStatements' {} Text
a -> ListPreparedStatements
s {$sel:workGroup:ListPreparedStatements' :: Text
workGroup = Text
a} :: ListPreparedStatements)

instance Core.AWSRequest ListPreparedStatements where
  type
    AWSResponse ListPreparedStatements =
      ListPreparedStatementsResponse
  request :: (Service -> Service)
-> ListPreparedStatements -> Request ListPreparedStatements
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 ListPreparedStatements
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListPreparedStatements)))
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 [PreparedStatementSummary]
-> Int
-> ListPreparedStatementsResponse
ListPreparedStatementsResponse'
            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
"NextToken")
            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
"PreparedStatements"
                            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 ListPreparedStatements where
  hashWithSalt :: Int -> ListPreparedStatements -> Int
hashWithSalt Int
_salt ListPreparedStatements' {Maybe Natural
Maybe Text
Text
workGroup :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:workGroup:ListPreparedStatements' :: ListPreparedStatements -> Text
$sel:nextToken:ListPreparedStatements' :: ListPreparedStatements -> Maybe Text
$sel:maxResults:ListPreparedStatements' :: ListPreparedStatements -> 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
workGroup

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

instance Data.ToHeaders ListPreparedStatements where
  toHeaders :: ListPreparedStatements -> 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
"AmazonAthena.ListPreparedStatements" ::
                          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 ListPreparedStatements where
  toJSON :: ListPreparedStatements -> Value
toJSON ListPreparedStatements' {Maybe Natural
Maybe Text
Text
workGroup :: Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:workGroup:ListPreparedStatements' :: ListPreparedStatements -> Text
$sel:nextToken:ListPreparedStatements' :: ListPreparedStatements -> Maybe Text
$sel:maxResults:ListPreparedStatements' :: ListPreparedStatements -> Maybe Natural
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (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,
            forall a. a -> Maybe a
Prelude.Just (Key
"WorkGroup" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
workGroup)
          ]
      )

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

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

-- | /See:/ 'newListPreparedStatementsResponse' smart constructor.
data ListPreparedStatementsResponse = ListPreparedStatementsResponse'
  { -- | A token generated by the Athena service that specifies where to continue
    -- pagination if a previous request was truncated. To obtain the next set
    -- of pages, pass in the @NextToken@ from the response object of the
    -- previous page call.
    ListPreparedStatementsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The list of prepared statements for the workgroup.
    ListPreparedStatementsResponse -> Maybe [PreparedStatementSummary]
preparedStatements :: Prelude.Maybe [PreparedStatementSummary],
    -- | The response's http status code.
    ListPreparedStatementsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListPreparedStatementsResponse
-> ListPreparedStatementsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListPreparedStatementsResponse
-> ListPreparedStatementsResponse -> Bool
$c/= :: ListPreparedStatementsResponse
-> ListPreparedStatementsResponse -> Bool
== :: ListPreparedStatementsResponse
-> ListPreparedStatementsResponse -> Bool
$c== :: ListPreparedStatementsResponse
-> ListPreparedStatementsResponse -> Bool
Prelude.Eq, ReadPrec [ListPreparedStatementsResponse]
ReadPrec ListPreparedStatementsResponse
Int -> ReadS ListPreparedStatementsResponse
ReadS [ListPreparedStatementsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListPreparedStatementsResponse]
$creadListPrec :: ReadPrec [ListPreparedStatementsResponse]
readPrec :: ReadPrec ListPreparedStatementsResponse
$creadPrec :: ReadPrec ListPreparedStatementsResponse
readList :: ReadS [ListPreparedStatementsResponse]
$creadList :: ReadS [ListPreparedStatementsResponse]
readsPrec :: Int -> ReadS ListPreparedStatementsResponse
$creadsPrec :: Int -> ReadS ListPreparedStatementsResponse
Prelude.Read, Int -> ListPreparedStatementsResponse -> ShowS
[ListPreparedStatementsResponse] -> ShowS
ListPreparedStatementsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListPreparedStatementsResponse] -> ShowS
$cshowList :: [ListPreparedStatementsResponse] -> ShowS
show :: ListPreparedStatementsResponse -> String
$cshow :: ListPreparedStatementsResponse -> String
showsPrec :: Int -> ListPreparedStatementsResponse -> ShowS
$cshowsPrec :: Int -> ListPreparedStatementsResponse -> ShowS
Prelude.Show, forall x.
Rep ListPreparedStatementsResponse x
-> ListPreparedStatementsResponse
forall x.
ListPreparedStatementsResponse
-> Rep ListPreparedStatementsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListPreparedStatementsResponse x
-> ListPreparedStatementsResponse
$cfrom :: forall x.
ListPreparedStatementsResponse
-> Rep ListPreparedStatementsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListPreparedStatementsResponse' 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:
--
-- 'nextToken', 'listPreparedStatementsResponse_nextToken' - A token generated by the Athena service that specifies where to continue
-- pagination if a previous request was truncated. To obtain the next set
-- of pages, pass in the @NextToken@ from the response object of the
-- previous page call.
--
-- 'preparedStatements', 'listPreparedStatementsResponse_preparedStatements' - The list of prepared statements for the workgroup.
--
-- 'httpStatus', 'listPreparedStatementsResponse_httpStatus' - The response's http status code.
newListPreparedStatementsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListPreparedStatementsResponse
newListPreparedStatementsResponse :: Int -> ListPreparedStatementsResponse
newListPreparedStatementsResponse Int
pHttpStatus_ =
  ListPreparedStatementsResponse'
    { $sel:nextToken:ListPreparedStatementsResponse' :: Maybe Text
nextToken =
        forall a. Maybe a
Prelude.Nothing,
      $sel:preparedStatements:ListPreparedStatementsResponse' :: Maybe [PreparedStatementSummary]
preparedStatements = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListPreparedStatementsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | A token generated by the Athena service that specifies where to continue
-- pagination if a previous request was truncated. To obtain the next set
-- of pages, pass in the @NextToken@ from the response object of the
-- previous page call.
listPreparedStatementsResponse_nextToken :: Lens.Lens' ListPreparedStatementsResponse (Prelude.Maybe Prelude.Text)
listPreparedStatementsResponse_nextToken :: Lens' ListPreparedStatementsResponse (Maybe Text)
listPreparedStatementsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPreparedStatementsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListPreparedStatementsResponse' :: ListPreparedStatementsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListPreparedStatementsResponse
s@ListPreparedStatementsResponse' {} Maybe Text
a -> ListPreparedStatementsResponse
s {$sel:nextToken:ListPreparedStatementsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListPreparedStatementsResponse)

-- | The list of prepared statements for the workgroup.
listPreparedStatementsResponse_preparedStatements :: Lens.Lens' ListPreparedStatementsResponse (Prelude.Maybe [PreparedStatementSummary])
listPreparedStatementsResponse_preparedStatements :: Lens'
  ListPreparedStatementsResponse (Maybe [PreparedStatementSummary])
listPreparedStatementsResponse_preparedStatements = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPreparedStatementsResponse' {Maybe [PreparedStatementSummary]
preparedStatements :: Maybe [PreparedStatementSummary]
$sel:preparedStatements:ListPreparedStatementsResponse' :: ListPreparedStatementsResponse -> Maybe [PreparedStatementSummary]
preparedStatements} -> Maybe [PreparedStatementSummary]
preparedStatements) (\s :: ListPreparedStatementsResponse
s@ListPreparedStatementsResponse' {} Maybe [PreparedStatementSummary]
a -> ListPreparedStatementsResponse
s {$sel:preparedStatements:ListPreparedStatementsResponse' :: Maybe [PreparedStatementSummary]
preparedStatements = Maybe [PreparedStatementSummary]
a} :: ListPreparedStatementsResponse) 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.
listPreparedStatementsResponse_httpStatus :: Lens.Lens' ListPreparedStatementsResponse Prelude.Int
listPreparedStatementsResponse_httpStatus :: Lens' ListPreparedStatementsResponse Int
listPreparedStatementsResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPreparedStatementsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListPreparedStatementsResponse' :: ListPreparedStatementsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListPreparedStatementsResponse
s@ListPreparedStatementsResponse' {} Int
a -> ListPreparedStatementsResponse
s {$sel:httpStatus:ListPreparedStatementsResponse' :: Int
httpStatus = Int
a} :: ListPreparedStatementsResponse)

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