amazonka-stepfunctions-1.5.0: Amazon Step Functions SDK.

Copyright(c) 2013-2017 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.ListExecutions

Contents

Description

Lists the executions of a state machine that meet the filtering criteria. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextToken returned by the previous call.

This operation returns paginated results.

Synopsis

Creating a Request

listExecutions Source #

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

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

  • leStatusFilter - If specified, only list the executions whose current execution status matches the given filter.
  • leNextToken - 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.
  • leMaxResults - 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 100. A value of 0 means to use the default. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.
  • leStateMachineARN - The Amazon Resource Name (ARN) of the state machine whose executions will be listed.

data ListExecutions Source #

See: listExecutions smart constructor.

Instances

Eq ListExecutions Source # 
Data ListExecutions Source # 

Methods

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

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

toConstr :: ListExecutions -> Constr #

dataTypeOf :: ListExecutions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListExecutions Source # 
Show ListExecutions Source # 
Generic ListExecutions Source # 

Associated Types

type Rep ListExecutions :: * -> * #

Hashable ListExecutions Source # 
ToJSON ListExecutions Source # 
NFData ListExecutions Source # 

Methods

rnf :: ListExecutions -> () #

AWSPager ListExecutions Source # 
AWSRequest ListExecutions Source # 
ToQuery ListExecutions Source # 
ToPath ListExecutions Source # 
ToHeaders ListExecutions Source # 
type Rep ListExecutions Source # 
type Rep ListExecutions = D1 (MetaData "ListExecutions" "Network.AWS.StepFunctions.ListExecutions" "amazonka-stepfunctions-1.5.0-72Mahrok8Tr5xIrxR72Cpm" False) (C1 (MetaCons "ListExecutions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_leStatusFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExecutionStatus))) (S1 (MetaSel (Just Symbol "_leNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_leMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_leStateMachineARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListExecutions Source # 

Request Lenses

leStatusFilter :: Lens' ListExecutions (Maybe ExecutionStatus) Source #

If specified, only list the executions whose current execution status matches the given filter.

leNextToken :: Lens' ListExecutions (Maybe Text) Source #

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.

leMaxResults :: Lens' ListExecutions (Maybe Natural) Source #

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 100. A value of 0 means to use the default. This is an upper limit only; the actual number of results returned per call may be fewer than the specified maximum.

leStateMachineARN :: Lens' ListExecutions Text Source #

The Amazon Resource Name (ARN) of the state machine whose executions will be listed.

Destructuring the Response

listExecutionsResponse Source #

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

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

  • lersNextToken - 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.
  • lersResponseStatus - -- | The response status code.
  • lersExecutions - The list of matching executions.

data ListExecutionsResponse Source #

See: listExecutionsResponse smart constructor.

Instances

Eq ListExecutionsResponse Source # 
Data ListExecutionsResponse Source # 

Methods

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

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

toConstr :: ListExecutionsResponse -> Constr #

dataTypeOf :: ListExecutionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListExecutionsResponse Source # 
Show ListExecutionsResponse Source # 
Generic ListExecutionsResponse Source # 
NFData ListExecutionsResponse Source # 

Methods

rnf :: ListExecutionsResponse -> () #

type Rep ListExecutionsResponse Source # 
type Rep ListExecutionsResponse = D1 (MetaData "ListExecutionsResponse" "Network.AWS.StepFunctions.ListExecutions" "amazonka-stepfunctions-1.5.0-72Mahrok8Tr5xIrxR72Cpm" False) (C1 (MetaCons "ListExecutionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_lersExecutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [ExecutionListItem])))))

Response Lenses

lersNextToken :: Lens' ListExecutionsResponse (Maybe Text) Source #

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.

lersResponseStatus :: Lens' ListExecutionsResponse Int Source #

  • - | The response status code.