amazonka-stepfunctions-1.6.0: Amazon Step Functions SDK.

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

Network.AWS.StepFunctions.ListStateMachines

Contents

Description

Lists the existing state machines.

If a nextToken is 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.

This operation returns paginated results.

Synopsis

Creating a Request

listStateMachines :: ListStateMachines Source #

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 is 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 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 100. 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.

data ListStateMachines Source #

See: listStateMachines smart constructor.

Instances

Eq ListStateMachines Source # 
Data ListStateMachines Source # 

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 Source # 
Show ListStateMachines Source # 
Generic ListStateMachines Source # 
Hashable ListStateMachines Source # 
ToJSON ListStateMachines Source # 
NFData ListStateMachines Source # 

Methods

rnf :: ListStateMachines -> () #

AWSPager ListStateMachines Source # 
AWSRequest ListStateMachines Source # 
ToHeaders ListStateMachines Source # 
ToPath ListStateMachines Source # 
ToQuery ListStateMachines Source # 
type Rep ListStateMachines Source # 
type Rep ListStateMachines = D1 * (MetaData "ListStateMachines" "Network.AWS.StepFunctions.ListStateMachines" "amazonka-stepfunctions-1.6.0-9oIncLN4t9xDN3HGh7dGqV" 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 Source # 

Request Lenses

lsmNextToken :: Lens' ListStateMachines (Maybe Text) Source #

If a nextToken is 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) Source #

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 100. 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.

Destructuring the Response

listStateMachinesResponse Source #

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 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.
  • lsmrsResponseStatus - -- | The response status code.
  • lsmrsStateMachines - Undocumented member.

data ListStateMachinesResponse Source #

See: listStateMachinesResponse smart constructor.

Instances

Eq ListStateMachinesResponse Source # 
Data ListStateMachinesResponse Source # 

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 Source # 
Show ListStateMachinesResponse Source # 
Generic ListStateMachinesResponse Source # 
NFData ListStateMachinesResponse Source # 
type Rep ListStateMachinesResponse Source # 
type Rep ListStateMachinesResponse = D1 * (MetaData "ListStateMachinesResponse" "Network.AWS.StepFunctions.ListStateMachines" "amazonka-stepfunctions-1.6.0-9oIncLN4t9xDN3HGh7dGqV" False) (C1 * (MetaCons "ListStateMachinesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsmrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_lsmrsStateMachines") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [StateMachineListItem])))))

Response Lenses

lsmrsNextToken :: Lens' ListStateMachinesResponse (Maybe Text) Source #

If a nextToken is 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.