{-# 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 #-}
module Amazonka.StepFunctions.ListStateMachines
(
ListStateMachines (..),
newListStateMachines,
listStateMachines_nextToken,
listStateMachines_maxResults,
ListStateMachinesResponse (..),
newListStateMachinesResponse,
listStateMachinesResponse_nextToken,
listStateMachinesResponse_httpStatus,
listStateMachinesResponse_stateMachines,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.StepFunctions.Types
data ListStateMachines = ListStateMachines'
{
ListStateMachines -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListStateMachines -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListStateMachines -> ListStateMachines -> Bool
(ListStateMachines -> ListStateMachines -> Bool)
-> (ListStateMachines -> ListStateMachines -> Bool)
-> Eq ListStateMachines
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]
(Int -> ReadS ListStateMachines)
-> ReadS [ListStateMachines]
-> ReadPrec ListStateMachines
-> ReadPrec [ListStateMachines]
-> Read 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
(Int -> ListStateMachines -> ShowS)
-> (ListStateMachines -> String)
-> ([ListStateMachines] -> ShowS)
-> Show ListStateMachines
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. ListStateMachines -> Rep ListStateMachines x)
-> (forall x. Rep ListStateMachines x -> ListStateMachines)
-> Generic ListStateMachines
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)
newListStateMachines ::
ListStateMachines
newListStateMachines :: ListStateMachines
newListStateMachines =
ListStateMachines' :: Maybe Text -> Maybe Natural -> ListStateMachines
ListStateMachines'
{ $sel:nextToken:ListStateMachines' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListStateMachines' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listStateMachines_nextToken :: Lens.Lens' ListStateMachines (Prelude.Maybe Prelude.Text)
listStateMachines_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListStateMachines -> f ListStateMachines
listStateMachines_nextToken = (ListStateMachines -> Maybe Text)
-> (ListStateMachines -> Maybe Text -> ListStateMachines)
-> Lens
ListStateMachines ListStateMachines (Maybe Text) (Maybe Text)
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)
listStateMachines_maxResults :: Lens.Lens' ListStateMachines (Prelude.Maybe Prelude.Natural)
listStateMachines_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListStateMachines -> f ListStateMachines
listStateMachines_maxResults = (ListStateMachines -> Maybe Natural)
-> (ListStateMachines -> Maybe Natural -> ListStateMachines)
-> Lens
ListStateMachines ListStateMachines (Maybe Natural) (Maybe Natural)
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)
instance Core.AWSPager ListStateMachines where
page :: ListStateMachines
-> AWSResponse ListStateMachines -> Maybe ListStateMachines
page ListStateMachines
rq AWSResponse ListStateMachines
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse ListStateMachines
ListStateMachinesResponse
rs
ListStateMachinesResponse
-> Getting (First Text) ListStateMachinesResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListStateMachinesResponse
-> Const (First Text) ListStateMachinesResponse
Lens' ListStateMachinesResponse (Maybe Text)
listStateMachinesResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListStateMachinesResponse
-> Const (First Text) ListStateMachinesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListStateMachinesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe ListStateMachines
forall a. Maybe a
Prelude.Nothing
| [StateMachineListItem] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
(AWSResponse ListStateMachines
ListStateMachinesResponse
rs ListStateMachinesResponse
-> Getting
[StateMachineListItem]
ListStateMachinesResponse
[StateMachineListItem]
-> [StateMachineListItem]
forall s a. s -> Getting a s a -> a
Lens.^. Getting
[StateMachineListItem]
ListStateMachinesResponse
[StateMachineListItem]
Lens' ListStateMachinesResponse [StateMachineListItem]
listStateMachinesResponse_stateMachines) =
Maybe ListStateMachines
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
ListStateMachines -> Maybe ListStateMachines
forall a. a -> Maybe a
Prelude.Just (ListStateMachines -> Maybe ListStateMachines)
-> ListStateMachines -> Maybe ListStateMachines
forall a b. (a -> b) -> a -> b
Prelude.$
ListStateMachines
rq
ListStateMachines
-> (ListStateMachines -> ListStateMachines) -> ListStateMachines
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> ListStateMachines -> Identity ListStateMachines
Lens ListStateMachines ListStateMachines (Maybe Text) (Maybe Text)
listStateMachines_nextToken
((Maybe Text -> Identity (Maybe Text))
-> ListStateMachines -> Identity ListStateMachines)
-> Maybe Text -> ListStateMachines -> ListStateMachines
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse ListStateMachines
ListStateMachinesResponse
rs
ListStateMachinesResponse
-> Getting (First Text) ListStateMachinesResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> ListStateMachinesResponse
-> Const (First Text) ListStateMachinesResponse
Lens' ListStateMachinesResponse (Maybe Text)
listStateMachinesResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> ListStateMachinesResponse
-> Const (First Text) ListStateMachinesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) ListStateMachinesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest ListStateMachines where
type
AWSResponse ListStateMachines =
ListStateMachinesResponse
request :: ListStateMachines -> Request ListStateMachines
request = Service -> ListStateMachines -> Request ListStateMachines
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListStateMachines
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListStateMachines)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListStateMachines))
-> Logger
-> Service
-> Proxy ListStateMachines
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListStateMachines)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> 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'
(Maybe Text
-> Int -> [StateMachineListItem] -> ListStateMachinesResponse)
-> Either String (Maybe Text)
-> Either
String (Int -> [StateMachineListItem] -> ListStateMachinesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"nextToken")
Either
String (Int -> [StateMachineListItem] -> ListStateMachinesResponse)
-> Either String Int
-> Either
String ([StateMachineListItem] -> ListStateMachinesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
Either String ([StateMachineListItem] -> ListStateMachinesResponse)
-> Either String [StateMachineListItem]
-> Either String ListStateMachinesResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe [StateMachineListItem])
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"stateMachines" Either String (Maybe [StateMachineListItem])
-> [StateMachineListItem] -> Either String [StateMachineListItem]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [StateMachineListItem]
forall a. Monoid a => a
Prelude.mempty)
)
instance Prelude.Hashable ListStateMachines
instance Prelude.NFData ListStateMachines
instance Core.ToHeaders ListStateMachines where
toHeaders :: ListStateMachines -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListStateMachines -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"AWSStepFunctions.ListStateMachines" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.0" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON ListStateMachines where
toJSON :: ListStateMachines -> Value
toJSON ListStateMachines' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListStateMachines' :: ListStateMachines -> Maybe Natural
$sel:nextToken:ListStateMachines' :: ListStateMachines -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"nextToken" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken,
(Text
"maxResults" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults
]
)
instance Core.ToPath ListStateMachines where
toPath :: ListStateMachines -> ByteString
toPath = ByteString -> ListStateMachines -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListStateMachines where
toQuery :: ListStateMachines -> QueryString
toQuery = QueryString -> ListStateMachines -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListStateMachinesResponse = ListStateMachinesResponse'
{
ListStateMachinesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListStateMachinesResponse -> Int
httpStatus :: Prelude.Int,
ListStateMachinesResponse -> [StateMachineListItem]
stateMachines :: [StateMachineListItem]
}
deriving (ListStateMachinesResponse -> ListStateMachinesResponse -> Bool
(ListStateMachinesResponse -> ListStateMachinesResponse -> Bool)
-> (ListStateMachinesResponse -> ListStateMachinesResponse -> Bool)
-> Eq ListStateMachinesResponse
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]
(Int -> ReadS ListStateMachinesResponse)
-> ReadS [ListStateMachinesResponse]
-> ReadPrec ListStateMachinesResponse
-> ReadPrec [ListStateMachinesResponse]
-> Read 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
(Int -> ListStateMachinesResponse -> ShowS)
-> (ListStateMachinesResponse -> String)
-> ([ListStateMachinesResponse] -> ShowS)
-> Show ListStateMachinesResponse
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.
ListStateMachinesResponse -> Rep ListStateMachinesResponse x)
-> (forall x.
Rep ListStateMachinesResponse x -> ListStateMachinesResponse)
-> Generic ListStateMachinesResponse
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)
newListStateMachinesResponse ::
Prelude.Int ->
ListStateMachinesResponse
newListStateMachinesResponse :: Int -> ListStateMachinesResponse
newListStateMachinesResponse Int
pHttpStatus_ =
ListStateMachinesResponse' :: Maybe Text
-> Int -> [StateMachineListItem] -> ListStateMachinesResponse
ListStateMachinesResponse'
{ $sel:nextToken:ListStateMachinesResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListStateMachinesResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:stateMachines:ListStateMachinesResponse' :: [StateMachineListItem]
stateMachines = [StateMachineListItem]
forall a. Monoid a => a
Prelude.mempty
}
listStateMachinesResponse_nextToken :: Lens.Lens' ListStateMachinesResponse (Prelude.Maybe Prelude.Text)
listStateMachinesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListStateMachinesResponse -> f ListStateMachinesResponse
listStateMachinesResponse_nextToken = (ListStateMachinesResponse -> Maybe Text)
-> (ListStateMachinesResponse
-> Maybe Text -> ListStateMachinesResponse)
-> Lens' ListStateMachinesResponse (Maybe Text)
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)
listStateMachinesResponse_httpStatus :: Lens.Lens' ListStateMachinesResponse Prelude.Int
listStateMachinesResponse_httpStatus :: (Int -> f Int)
-> ListStateMachinesResponse -> f ListStateMachinesResponse
listStateMachinesResponse_httpStatus = (ListStateMachinesResponse -> Int)
-> (ListStateMachinesResponse -> Int -> ListStateMachinesResponse)
-> Lens ListStateMachinesResponse ListStateMachinesResponse Int Int
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)
listStateMachinesResponse_stateMachines :: Lens.Lens' ListStateMachinesResponse [StateMachineListItem]
listStateMachinesResponse_stateMachines :: ([StateMachineListItem] -> f [StateMachineListItem])
-> ListStateMachinesResponse -> f ListStateMachinesResponse
listStateMachinesResponse_stateMachines = (ListStateMachinesResponse -> [StateMachineListItem])
-> (ListStateMachinesResponse
-> [StateMachineListItem] -> ListStateMachinesResponse)
-> Lens' ListStateMachinesResponse [StateMachineListItem]
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) (([StateMachineListItem] -> f [StateMachineListItem])
-> ListStateMachinesResponse -> f ListStateMachinesResponse)
-> (([StateMachineListItem] -> f [StateMachineListItem])
-> [StateMachineListItem] -> f [StateMachineListItem])
-> ([StateMachineListItem] -> f [StateMachineListItem])
-> ListStateMachinesResponse
-> f ListStateMachinesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([StateMachineListItem] -> f [StateMachineListItem])
-> [StateMachineListItem] -> f [StateMachineListItem]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Prelude.NFData ListStateMachinesResponse