{-# 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.LakeFormation.ListTransactions
-- 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 metadata about transactions and their status. To prevent the
-- response from growing indefinitely, only uncommitted transactions and
-- those available for time-travel queries are returned.
--
-- This operation can help you identify uncommitted transactions or to get
-- information about transactions.
module Amazonka.LakeFormation.ListTransactions
  ( -- * Creating a Request
    ListTransactions (..),
    newListTransactions,

    -- * Request Lenses
    listTransactions_catalogId,
    listTransactions_maxResults,
    listTransactions_nextToken,
    listTransactions_statusFilter,

    -- * Destructuring the Response
    ListTransactionsResponse (..),
    newListTransactionsResponse,

    -- * Response Lenses
    listTransactionsResponse_nextToken,
    listTransactionsResponse_transactions,
    listTransactionsResponse_httpStatus,
  )
where

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

-- | /See:/ 'newListTransactions' smart constructor.
data ListTransactions = ListTransactions'
  { -- | The catalog for which to list transactions. Defaults to the account ID
    -- of the caller.
    ListTransactions -> Maybe Text
catalogId :: Prelude.Maybe Prelude.Text,
    -- | The maximum number of transactions to return in a single call.
    ListTransactions -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | A continuation token if this is not the first call to retrieve
    -- transactions.
    ListTransactions -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | A filter indicating the status of transactions to return. Options are
    -- ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is @ALL@.
    ListTransactions -> Maybe TransactionStatusFilter
statusFilter :: Prelude.Maybe TransactionStatusFilter
  }
  deriving (ListTransactions -> ListTransactions -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListTransactions -> ListTransactions -> Bool
$c/= :: ListTransactions -> ListTransactions -> Bool
== :: ListTransactions -> ListTransactions -> Bool
$c== :: ListTransactions -> ListTransactions -> Bool
Prelude.Eq, ReadPrec [ListTransactions]
ReadPrec ListTransactions
Int -> ReadS ListTransactions
ReadS [ListTransactions]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListTransactions]
$creadListPrec :: ReadPrec [ListTransactions]
readPrec :: ReadPrec ListTransactions
$creadPrec :: ReadPrec ListTransactions
readList :: ReadS [ListTransactions]
$creadList :: ReadS [ListTransactions]
readsPrec :: Int -> ReadS ListTransactions
$creadsPrec :: Int -> ReadS ListTransactions
Prelude.Read, Int -> ListTransactions -> ShowS
[ListTransactions] -> ShowS
ListTransactions -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListTransactions] -> ShowS
$cshowList :: [ListTransactions] -> ShowS
show :: ListTransactions -> String
$cshow :: ListTransactions -> String
showsPrec :: Int -> ListTransactions -> ShowS
$cshowsPrec :: Int -> ListTransactions -> ShowS
Prelude.Show, forall x. Rep ListTransactions x -> ListTransactions
forall x. ListTransactions -> Rep ListTransactions x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListTransactions x -> ListTransactions
$cfrom :: forall x. ListTransactions -> Rep ListTransactions x
Prelude.Generic)

-- |
-- Create a value of 'ListTransactions' 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:
--
-- 'catalogId', 'listTransactions_catalogId' - The catalog for which to list transactions. Defaults to the account ID
-- of the caller.
--
-- 'maxResults', 'listTransactions_maxResults' - The maximum number of transactions to return in a single call.
--
-- 'nextToken', 'listTransactions_nextToken' - A continuation token if this is not the first call to retrieve
-- transactions.
--
-- 'statusFilter', 'listTransactions_statusFilter' - A filter indicating the status of transactions to return. Options are
-- ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is @ALL@.
newListTransactions ::
  ListTransactions
newListTransactions :: ListTransactions
newListTransactions =
  ListTransactions'
    { $sel:catalogId:ListTransactions' :: Maybe Text
catalogId = forall a. Maybe a
Prelude.Nothing,
      $sel:maxResults:ListTransactions' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListTransactions' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:statusFilter:ListTransactions' :: Maybe TransactionStatusFilter
statusFilter = forall a. Maybe a
Prelude.Nothing
    }

-- | The catalog for which to list transactions. Defaults to the account ID
-- of the caller.
listTransactions_catalogId :: Lens.Lens' ListTransactions (Prelude.Maybe Prelude.Text)
listTransactions_catalogId :: Lens' ListTransactions (Maybe Text)
listTransactions_catalogId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTransactions' {Maybe Text
catalogId :: Maybe Text
$sel:catalogId:ListTransactions' :: ListTransactions -> Maybe Text
catalogId} -> Maybe Text
catalogId) (\s :: ListTransactions
s@ListTransactions' {} Maybe Text
a -> ListTransactions
s {$sel:catalogId:ListTransactions' :: Maybe Text
catalogId = Maybe Text
a} :: ListTransactions)

-- | The maximum number of transactions to return in a single call.
listTransactions_maxResults :: Lens.Lens' ListTransactions (Prelude.Maybe Prelude.Natural)
listTransactions_maxResults :: Lens' ListTransactions (Maybe Natural)
listTransactions_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTransactions' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListTransactions' :: ListTransactions -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListTransactions
s@ListTransactions' {} Maybe Natural
a -> ListTransactions
s {$sel:maxResults:ListTransactions' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListTransactions)

-- | A continuation token if this is not the first call to retrieve
-- transactions.
listTransactions_nextToken :: Lens.Lens' ListTransactions (Prelude.Maybe Prelude.Text)
listTransactions_nextToken :: Lens' ListTransactions (Maybe Text)
listTransactions_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTransactions' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListTransactions' :: ListTransactions -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListTransactions
s@ListTransactions' {} Maybe Text
a -> ListTransactions
s {$sel:nextToken:ListTransactions' :: Maybe Text
nextToken = Maybe Text
a} :: ListTransactions)

-- | A filter indicating the status of transactions to return. Options are
-- ALL | COMPLETED | COMMITTED | ABORTED | ACTIVE. The default is @ALL@.
listTransactions_statusFilter :: Lens.Lens' ListTransactions (Prelude.Maybe TransactionStatusFilter)
listTransactions_statusFilter :: Lens' ListTransactions (Maybe TransactionStatusFilter)
listTransactions_statusFilter = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTransactions' {Maybe TransactionStatusFilter
statusFilter :: Maybe TransactionStatusFilter
$sel:statusFilter:ListTransactions' :: ListTransactions -> Maybe TransactionStatusFilter
statusFilter} -> Maybe TransactionStatusFilter
statusFilter) (\s :: ListTransactions
s@ListTransactions' {} Maybe TransactionStatusFilter
a -> ListTransactions
s {$sel:statusFilter:ListTransactions' :: Maybe TransactionStatusFilter
statusFilter = Maybe TransactionStatusFilter
a} :: ListTransactions)

instance Core.AWSRequest ListTransactions where
  type
    AWSResponse ListTransactions =
      ListTransactionsResponse
  request :: (Service -> Service)
-> ListTransactions -> Request ListTransactions
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 ListTransactions
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListTransactions)))
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 [TransactionDescription]
-> Int
-> ListTransactionsResponse
ListTransactionsResponse'
            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
"Transactions" 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 ListTransactions where
  hashWithSalt :: Int -> ListTransactions -> Int
hashWithSalt Int
_salt ListTransactions' {Maybe Natural
Maybe Text
Maybe TransactionStatusFilter
statusFilter :: Maybe TransactionStatusFilter
nextToken :: Maybe Text
maxResults :: Maybe Natural
catalogId :: Maybe Text
$sel:statusFilter:ListTransactions' :: ListTransactions -> Maybe TransactionStatusFilter
$sel:nextToken:ListTransactions' :: ListTransactions -> Maybe Text
$sel:maxResults:ListTransactions' :: ListTransactions -> Maybe Natural
$sel:catalogId:ListTransactions' :: ListTransactions -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
catalogId
      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` Maybe TransactionStatusFilter
statusFilter

instance Prelude.NFData ListTransactions where
  rnf :: ListTransactions -> ()
rnf ListTransactions' {Maybe Natural
Maybe Text
Maybe TransactionStatusFilter
statusFilter :: Maybe TransactionStatusFilter
nextToken :: Maybe Text
maxResults :: Maybe Natural
catalogId :: Maybe Text
$sel:statusFilter:ListTransactions' :: ListTransactions -> Maybe TransactionStatusFilter
$sel:nextToken:ListTransactions' :: ListTransactions -> Maybe Text
$sel:maxResults:ListTransactions' :: ListTransactions -> Maybe Natural
$sel:catalogId:ListTransactions' :: ListTransactions -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
catalogId
      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
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe TransactionStatusFilter
statusFilter

instance Data.ToHeaders ListTransactions where
  toHeaders :: ListTransactions -> 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.ToJSON ListTransactions where
  toJSON :: ListTransactions -> Value
toJSON ListTransactions' {Maybe Natural
Maybe Text
Maybe TransactionStatusFilter
statusFilter :: Maybe TransactionStatusFilter
nextToken :: Maybe Text
maxResults :: Maybe Natural
catalogId :: Maybe Text
$sel:statusFilter:ListTransactions' :: ListTransactions -> Maybe TransactionStatusFilter
$sel:nextToken:ListTransactions' :: ListTransactions -> Maybe Text
$sel:maxResults:ListTransactions' :: ListTransactions -> Maybe Natural
$sel:catalogId:ListTransactions' :: ListTransactions -> Maybe Text
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"CatalogId" 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
catalogId,
            (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,
            (Key
"StatusFilter" 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 TransactionStatusFilter
statusFilter
          ]
      )

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

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

-- | /See:/ 'newListTransactionsResponse' smart constructor.
data ListTransactionsResponse = ListTransactionsResponse'
  { -- | A continuation token indicating whether additional data is available.
    ListTransactionsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | A list of transactions. The record for each transaction is a
    -- @TransactionDescription@ object.
    ListTransactionsResponse -> Maybe [TransactionDescription]
transactions :: Prelude.Maybe [TransactionDescription],
    -- | The response's http status code.
    ListTransactionsResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListTransactionsResponse -> ListTransactionsResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListTransactionsResponse -> ListTransactionsResponse -> Bool
$c/= :: ListTransactionsResponse -> ListTransactionsResponse -> Bool
== :: ListTransactionsResponse -> ListTransactionsResponse -> Bool
$c== :: ListTransactionsResponse -> ListTransactionsResponse -> Bool
Prelude.Eq, ReadPrec [ListTransactionsResponse]
ReadPrec ListTransactionsResponse
Int -> ReadS ListTransactionsResponse
ReadS [ListTransactionsResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListTransactionsResponse]
$creadListPrec :: ReadPrec [ListTransactionsResponse]
readPrec :: ReadPrec ListTransactionsResponse
$creadPrec :: ReadPrec ListTransactionsResponse
readList :: ReadS [ListTransactionsResponse]
$creadList :: ReadS [ListTransactionsResponse]
readsPrec :: Int -> ReadS ListTransactionsResponse
$creadsPrec :: Int -> ReadS ListTransactionsResponse
Prelude.Read, Int -> ListTransactionsResponse -> ShowS
[ListTransactionsResponse] -> ShowS
ListTransactionsResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListTransactionsResponse] -> ShowS
$cshowList :: [ListTransactionsResponse] -> ShowS
show :: ListTransactionsResponse -> String
$cshow :: ListTransactionsResponse -> String
showsPrec :: Int -> ListTransactionsResponse -> ShowS
$cshowsPrec :: Int -> ListTransactionsResponse -> ShowS
Prelude.Show, forall x.
Rep ListTransactionsResponse x -> ListTransactionsResponse
forall x.
ListTransactionsResponse -> Rep ListTransactionsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListTransactionsResponse x -> ListTransactionsResponse
$cfrom :: forall x.
ListTransactionsResponse -> Rep ListTransactionsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListTransactionsResponse' 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', 'listTransactionsResponse_nextToken' - A continuation token indicating whether additional data is available.
--
-- 'transactions', 'listTransactionsResponse_transactions' - A list of transactions. The record for each transaction is a
-- @TransactionDescription@ object.
--
-- 'httpStatus', 'listTransactionsResponse_httpStatus' - The response's http status code.
newListTransactionsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListTransactionsResponse
newListTransactionsResponse :: Int -> ListTransactionsResponse
newListTransactionsResponse Int
pHttpStatus_ =
  ListTransactionsResponse'
    { $sel:nextToken:ListTransactionsResponse' :: Maybe Text
nextToken =
        forall a. Maybe a
Prelude.Nothing,
      $sel:transactions:ListTransactionsResponse' :: Maybe [TransactionDescription]
transactions = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListTransactionsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | A continuation token indicating whether additional data is available.
listTransactionsResponse_nextToken :: Lens.Lens' ListTransactionsResponse (Prelude.Maybe Prelude.Text)
listTransactionsResponse_nextToken :: Lens' ListTransactionsResponse (Maybe Text)
listTransactionsResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTransactionsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListTransactionsResponse' :: ListTransactionsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListTransactionsResponse
s@ListTransactionsResponse' {} Maybe Text
a -> ListTransactionsResponse
s {$sel:nextToken:ListTransactionsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListTransactionsResponse)

-- | A list of transactions. The record for each transaction is a
-- @TransactionDescription@ object.
listTransactionsResponse_transactions :: Lens.Lens' ListTransactionsResponse (Prelude.Maybe [TransactionDescription])
listTransactionsResponse_transactions :: Lens' ListTransactionsResponse (Maybe [TransactionDescription])
listTransactionsResponse_transactions = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTransactionsResponse' {Maybe [TransactionDescription]
transactions :: Maybe [TransactionDescription]
$sel:transactions:ListTransactionsResponse' :: ListTransactionsResponse -> Maybe [TransactionDescription]
transactions} -> Maybe [TransactionDescription]
transactions) (\s :: ListTransactionsResponse
s@ListTransactionsResponse' {} Maybe [TransactionDescription]
a -> ListTransactionsResponse
s {$sel:transactions:ListTransactionsResponse' :: Maybe [TransactionDescription]
transactions = Maybe [TransactionDescription]
a} :: ListTransactionsResponse) 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.
listTransactionsResponse_httpStatus :: Lens.Lens' ListTransactionsResponse Prelude.Int
listTransactionsResponse_httpStatus :: Lens' ListTransactionsResponse Int
listTransactionsResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListTransactionsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListTransactionsResponse' :: ListTransactionsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListTransactionsResponse
s@ListTransactionsResponse' {} Int
a -> ListTransactionsResponse
s {$sel:httpStatus:ListTransactionsResponse' :: Int
httpStatus = Int
a} :: ListTransactionsResponse)

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