amazonka-stepfunctions-1.4.5: Amazon Step Functions SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StepFunctions.ListStateMachines

Contents

Description

Lists the existing state machines. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call.

Synopsis

Creating a Request

listStateMachines :: ListStateMachines #

Creates a value of ListStateMachines with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lsmNextToken - If a nextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call.
  • lsmMaxResults - The maximum number of results that will be returned per call. nextToken can be used to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

data ListStateMachines #

See: listStateMachines smart constructor.

Instances

Eq ListStateMachines # 
Data ListStateMachines # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListStateMachines -> c ListStateMachines #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListStateMachines #

toConstr :: ListStateMachines -> Constr #

dataTypeOf :: ListStateMachines -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListStateMachines) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListStateMachines) #

gmapT :: (forall b. Data b => b -> b) -> ListStateMachines -> ListStateMachines #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListStateMachines -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListStateMachines -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListStateMachines -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListStateMachines -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListStateMachines -> m ListStateMachines #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStateMachines -> m ListStateMachines #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStateMachines -> m ListStateMachines #

Read ListStateMachines # 
Show ListStateMachines # 
Generic ListStateMachines # 
Hashable ListStateMachines # 
ToJSON ListStateMachines # 
NFData ListStateMachines # 

Methods

rnf :: ListStateMachines -> () #

AWSRequest ListStateMachines # 
ToQuery ListStateMachines # 
ToPath ListStateMachines # 
ToHeaders ListStateMachines # 
type Rep ListStateMachines # 
type Rep ListStateMachines = D1 (MetaData "ListStateMachines" "Network.AWS.StepFunctions.ListStateMachines" "amazonka-stepfunctions-1.4.5-Jw6S5ByJLFY5UX1mivZUjA" False) (C1 (MetaCons "ListStateMachines'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsmNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsmMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListStateMachines # 

Request Lenses

lsmNextToken :: Lens' ListStateMachines (Maybe Text) #

If a nextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call.

lsmMaxResults :: Lens' ListStateMachines (Maybe Natural) #

The maximum number of results that will be returned per call. nextToken can be used to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

Destructuring the Response

listStateMachinesResponse #

Creates a value of ListStateMachinesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lsmrsNextToken - If a nextToken is returned, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call.
  • lsmrsResponseStatus - -- | The response status code.
  • lsmrsStateMachines - Undocumented member.

data ListStateMachinesResponse #

See: listStateMachinesResponse smart constructor.

Instances

Eq ListStateMachinesResponse # 
Data ListStateMachinesResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListStateMachinesResponse -> c ListStateMachinesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListStateMachinesResponse #

toConstr :: ListStateMachinesResponse -> Constr #

dataTypeOf :: ListStateMachinesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListStateMachinesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListStateMachinesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListStateMachinesResponse -> ListStateMachinesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListStateMachinesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListStateMachinesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListStateMachinesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListStateMachinesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListStateMachinesResponse -> m ListStateMachinesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStateMachinesResponse -> m ListStateMachinesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStateMachinesResponse -> m ListStateMachinesResponse #

Read ListStateMachinesResponse # 
Show ListStateMachinesResponse # 
Generic ListStateMachinesResponse # 
NFData ListStateMachinesResponse # 
type Rep ListStateMachinesResponse # 
type Rep ListStateMachinesResponse = D1 (MetaData "ListStateMachinesResponse" "Network.AWS.StepFunctions.ListStateMachines" "amazonka-stepfunctions-1.4.5-Jw6S5ByJLFY5UX1mivZUjA" False) (C1 (MetaCons "ListStateMachinesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsmrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lsmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_lsmrsStateMachines") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [StateMachineListItem])))))

Response Lenses

lsmrsNextToken :: Lens' ListStateMachinesResponse (Maybe Text) #

If a nextToken is returned, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextToken . Keep all other arguments unchanged. The configured maxResults determines how many results can be returned in a single call.

lsmrsResponseStatus :: Lens' ListStateMachinesResponse Int #

  • - | The response status code.