{-# 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.StepFunctions.ListStateMachines
-- 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 existing state machines.
--
-- If @nextToken@ is returned, there are more results available. The value
-- of @nextToken@ is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all other
-- arguments unchanged. Each pagination token expires after 24 hours. Using
-- an expired pagination token will return an /HTTP 400 InvalidToken/
-- error.
--
-- This operation is eventually consistent. The results are best effort and
-- may not reflect very recent updates and changes.
--
-- This operation returns paginated results.
module Amazonka.StepFunctions.ListStateMachines
  ( -- * Creating a Request
    ListStateMachines (..),
    newListStateMachines,

    -- * Request Lenses
    listStateMachines_maxResults,
    listStateMachines_nextToken,

    -- * Destructuring the Response
    ListStateMachinesResponse (..),
    newListStateMachinesResponse,

    -- * Response Lenses
    listStateMachinesResponse_nextToken,
    listStateMachinesResponse_httpStatus,
    listStateMachinesResponse_stateMachines,
  )
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.StepFunctions.Types

-- | /See:/ 'newListStateMachines' smart constructor.
data ListStateMachines = ListStateMachines'
  { -- | The maximum number of results that are returned per call. You can use
    -- @nextToken@ to obtain further pages of results. The default is 100 and
    -- the maximum allowed page size is 1000. A value of 0 uses the default.
    --
    -- This is only an upper limit. The actual number of results returned per
    -- call might be fewer than the specified maximum.
    ListStateMachines -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | If @nextToken@ is returned, there are more results available. The value
    -- of @nextToken@ is a unique pagination token for each page. Make the call
    -- again using the returned token to retrieve the next page. Keep all other
    -- arguments unchanged. Each pagination token expires after 24 hours. Using
    -- an expired pagination token will return an /HTTP 400 InvalidToken/
    -- error.
    ListStateMachines -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
  }
  deriving (ListStateMachines -> ListStateMachines -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListStateMachines -> ListStateMachines -> Bool
$c/= :: ListStateMachines -> ListStateMachines -> Bool
== :: ListStateMachines -> ListStateMachines -> Bool
$c== :: ListStateMachines -> ListStateMachines -> Bool
Prelude.Eq, ReadPrec [ListStateMachines]
ReadPrec ListStateMachines
Int -> ReadS ListStateMachines
ReadS [ListStateMachines]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListStateMachines]
$creadListPrec :: ReadPrec [ListStateMachines]
readPrec :: ReadPrec ListStateMachines
$creadPrec :: ReadPrec ListStateMachines
readList :: ReadS [ListStateMachines]
$creadList :: ReadS [ListStateMachines]
readsPrec :: Int -> ReadS ListStateMachines
$creadsPrec :: Int -> ReadS ListStateMachines
Prelude.Read, Int -> ListStateMachines -> ShowS
[ListStateMachines] -> ShowS
ListStateMachines -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListStateMachines] -> ShowS
$cshowList :: [ListStateMachines] -> ShowS
show :: ListStateMachines -> String
$cshow :: ListStateMachines -> String
showsPrec :: Int -> ListStateMachines -> ShowS
$cshowsPrec :: Int -> ListStateMachines -> ShowS
Prelude.Show, forall x. Rep ListStateMachines x -> ListStateMachines
forall x. ListStateMachines -> Rep ListStateMachines x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListStateMachines x -> ListStateMachines
$cfrom :: forall x. ListStateMachines -> Rep ListStateMachines x
Prelude.Generic)

-- |
-- Create a value of 'ListStateMachines' 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', 'listStateMachines_maxResults' - The maximum number of results that are returned per call. You can use
-- @nextToken@ to obtain further pages of results. The default is 100 and
-- the maximum allowed page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- 'nextToken', 'listStateMachines_nextToken' - If @nextToken@ is returned, there are more results available. The value
-- of @nextToken@ is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all other
-- arguments unchanged. Each pagination token expires after 24 hours. Using
-- an expired pagination token will return an /HTTP 400 InvalidToken/
-- error.
newListStateMachines ::
  ListStateMachines
newListStateMachines :: ListStateMachines
newListStateMachines =
  ListStateMachines'
    { $sel:maxResults:ListStateMachines' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListStateMachines' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
    }

-- | The maximum number of results that are returned per call. You can use
-- @nextToken@ to obtain further pages of results. The default is 100 and
-- the maximum allowed page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listStateMachines_maxResults :: Lens.Lens' ListStateMachines (Prelude.Maybe Prelude.Natural)
listStateMachines_maxResults :: Lens' ListStateMachines (Maybe Natural)
listStateMachines_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStateMachines' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListStateMachines' :: ListStateMachines -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListStateMachines
s@ListStateMachines' {} Maybe Natural
a -> ListStateMachines
s {$sel:maxResults:ListStateMachines' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListStateMachines)

-- | If @nextToken@ is returned, there are more results available. The value
-- of @nextToken@ is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all other
-- arguments unchanged. Each pagination token expires after 24 hours. Using
-- an expired pagination token will return an /HTTP 400 InvalidToken/
-- error.
listStateMachines_nextToken :: Lens.Lens' ListStateMachines (Prelude.Maybe Prelude.Text)
listStateMachines_nextToken :: Lens' ListStateMachines (Maybe Text)
listStateMachines_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStateMachines' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListStateMachines' :: ListStateMachines -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListStateMachines
s@ListStateMachines' {} Maybe Text
a -> ListStateMachines
s {$sel:nextToken:ListStateMachines' :: Maybe Text
nextToken = Maybe Text
a} :: ListStateMachines)

instance Core.AWSPager ListStateMachines where
  page :: ListStateMachines
-> AWSResponse ListStateMachines -> Maybe ListStateMachines
page ListStateMachines
rq AWSResponse ListStateMachines
rs
    | forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse ListStateMachines
rs
            forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListStateMachinesResponse (Maybe Text)
listStateMachinesResponse_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 ListStateMachines
rs forall s a. s -> Getting a s a -> a
Lens.^. Lens' ListStateMachinesResponse [StateMachineListItem]
listStateMachinesResponse_stateMachines) =
        forall a. Maybe a
Prelude.Nothing
    | Bool
Prelude.otherwise =
        forall a. a -> Maybe a
Prelude.Just
          forall a b. (a -> b) -> a -> b
Prelude.$ ListStateMachines
rq
          forall a b. a -> (a -> b) -> b
Prelude.& Lens' ListStateMachines (Maybe Text)
listStateMachines_nextToken
          forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListStateMachines
rs
          forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' ListStateMachinesResponse (Maybe Text)
listStateMachinesResponse_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 ListStateMachines where
  type
    AWSResponse ListStateMachines =
      ListStateMachinesResponse
  request :: (Service -> Service)
-> ListStateMachines -> Request ListStateMachines
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 ListStateMachines
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListStateMachines)))
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
-> Int -> [StateMachineListItem] -> ListStateMachinesResponse
ListStateMachinesResponse'
            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.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
            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
"stateMachines" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty)
      )

instance Prelude.Hashable ListStateMachines where
  hashWithSalt :: Int -> ListStateMachines -> Int
hashWithSalt Int
_salt ListStateMachines' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:ListStateMachines' :: ListStateMachines -> Maybe Text
$sel:maxResults:ListStateMachines' :: ListStateMachines -> 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

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

instance Data.ToHeaders ListStateMachines where
  toHeaders :: ListStateMachines -> 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
"AWSStepFunctions.ListStateMachines" ::
                          Prelude.ByteString
                      ),
            HeaderName
"Content-Type"
              forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.0" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Data.ToJSON ListStateMachines where
  toJSON :: ListStateMachines -> Value
toJSON ListStateMachines' {Maybe Natural
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
$sel:nextToken:ListStateMachines' :: ListStateMachines -> Maybe Text
$sel:maxResults:ListStateMachines' :: ListStateMachines -> 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
          ]
      )

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

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

-- | /See:/ 'newListStateMachinesResponse' smart constructor.
data ListStateMachinesResponse = ListStateMachinesResponse'
  { -- | If @nextToken@ is returned, there are more results available. The value
    -- of @nextToken@ is a unique pagination token for each page. Make the call
    -- again using the returned token to retrieve the next page. Keep all other
    -- arguments unchanged. Each pagination token expires after 24 hours. Using
    -- an expired pagination token will return an /HTTP 400 InvalidToken/
    -- error.
    ListStateMachinesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListStateMachinesResponse -> Int
httpStatus :: Prelude.Int,
    ListStateMachinesResponse -> [StateMachineListItem]
stateMachines :: [StateMachineListItem]
  }
  deriving (ListStateMachinesResponse -> ListStateMachinesResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListStateMachinesResponse -> ListStateMachinesResponse -> Bool
$c/= :: ListStateMachinesResponse -> ListStateMachinesResponse -> Bool
== :: ListStateMachinesResponse -> ListStateMachinesResponse -> Bool
$c== :: ListStateMachinesResponse -> ListStateMachinesResponse -> Bool
Prelude.Eq, ReadPrec [ListStateMachinesResponse]
ReadPrec ListStateMachinesResponse
Int -> ReadS ListStateMachinesResponse
ReadS [ListStateMachinesResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListStateMachinesResponse]
$creadListPrec :: ReadPrec [ListStateMachinesResponse]
readPrec :: ReadPrec ListStateMachinesResponse
$creadPrec :: ReadPrec ListStateMachinesResponse
readList :: ReadS [ListStateMachinesResponse]
$creadList :: ReadS [ListStateMachinesResponse]
readsPrec :: Int -> ReadS ListStateMachinesResponse
$creadsPrec :: Int -> ReadS ListStateMachinesResponse
Prelude.Read, Int -> ListStateMachinesResponse -> ShowS
[ListStateMachinesResponse] -> ShowS
ListStateMachinesResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListStateMachinesResponse] -> ShowS
$cshowList :: [ListStateMachinesResponse] -> ShowS
show :: ListStateMachinesResponse -> String
$cshow :: ListStateMachinesResponse -> String
showsPrec :: Int -> ListStateMachinesResponse -> ShowS
$cshowsPrec :: Int -> ListStateMachinesResponse -> ShowS
Prelude.Show, forall x.
Rep ListStateMachinesResponse x -> ListStateMachinesResponse
forall x.
ListStateMachinesResponse -> Rep ListStateMachinesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListStateMachinesResponse x -> ListStateMachinesResponse
$cfrom :: forall x.
ListStateMachinesResponse -> Rep ListStateMachinesResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListStateMachinesResponse' 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', 'listStateMachinesResponse_nextToken' - If @nextToken@ is returned, there are more results available. The value
-- of @nextToken@ is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all other
-- arguments unchanged. Each pagination token expires after 24 hours. Using
-- an expired pagination token will return an /HTTP 400 InvalidToken/
-- error.
--
-- 'httpStatus', 'listStateMachinesResponse_httpStatus' - The response's http status code.
--
-- 'stateMachines', 'listStateMachinesResponse_stateMachines' - Undocumented member.
newListStateMachinesResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListStateMachinesResponse
newListStateMachinesResponse :: Int -> ListStateMachinesResponse
newListStateMachinesResponse Int
pHttpStatus_ =
  ListStateMachinesResponse'
    { $sel:nextToken:ListStateMachinesResponse' :: Maybe Text
nextToken =
        forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListStateMachinesResponse' :: Int
httpStatus = Int
pHttpStatus_,
      $sel:stateMachines:ListStateMachinesResponse' :: [StateMachineListItem]
stateMachines = forall a. Monoid a => a
Prelude.mempty
    }

-- | If @nextToken@ is returned, there are more results available. The value
-- of @nextToken@ is a unique pagination token for each page. Make the call
-- again using the returned token to retrieve the next page. Keep all other
-- arguments unchanged. Each pagination token expires after 24 hours. Using
-- an expired pagination token will return an /HTTP 400 InvalidToken/
-- error.
listStateMachinesResponse_nextToken :: Lens.Lens' ListStateMachinesResponse (Prelude.Maybe Prelude.Text)
listStateMachinesResponse_nextToken :: Lens' ListStateMachinesResponse (Maybe Text)
listStateMachinesResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStateMachinesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListStateMachinesResponse' :: ListStateMachinesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListStateMachinesResponse
s@ListStateMachinesResponse' {} Maybe Text
a -> ListStateMachinesResponse
s {$sel:nextToken:ListStateMachinesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListStateMachinesResponse)

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

-- | Undocumented member.
listStateMachinesResponse_stateMachines :: Lens.Lens' ListStateMachinesResponse [StateMachineListItem]
listStateMachinesResponse_stateMachines :: Lens' ListStateMachinesResponse [StateMachineListItem]
listStateMachinesResponse_stateMachines = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListStateMachinesResponse' {[StateMachineListItem]
stateMachines :: [StateMachineListItem]
$sel:stateMachines:ListStateMachinesResponse' :: ListStateMachinesResponse -> [StateMachineListItem]
stateMachines} -> [StateMachineListItem]
stateMachines) (\s :: ListStateMachinesResponse
s@ListStateMachinesResponse' {} [StateMachineListItem]
a -> ListStateMachinesResponse
s {$sel:stateMachines:ListStateMachinesResponse' :: [StateMachineListItem]
stateMachines = [StateMachineListItem]
a} :: ListStateMachinesResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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