amazonka-stepfunctions-1.6.1: 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.ListExecutions

Contents

Description

Lists the executions of a state machine that meet the filtering criteria.

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

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 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.
  • leMaxResults - 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.
  • leStateMachineARN - The Amazon Resource Name (ARN) of the state machine whose executions is listed.

data ListExecutions Source #

See: listExecutions smart constructor.

Instances
Eq ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Data ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

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 # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Show ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Generic ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Associated Types

type Rep ListExecutions :: Type -> Type #

Hashable ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

ToJSON ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

AWSPager ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

AWSRequest ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Associated Types

type Rs ListExecutions :: Type #

ToHeaders ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

ToPath ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

ToQuery ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

NFData ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Methods

rnf :: ListExecutions -> () #

type Rep ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

type Rep ListExecutions = D1 (MetaData "ListExecutions" "Network.AWS.StepFunctions.ListExecutions" "amazonka-stepfunctions-1.6.1-2PTLha96w99Qwy2XlD0kq" False) (C1 (MetaCons "ListExecutions'" PrefixI True) ((S1 (MetaSel (Just "_leStatusFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExecutionStatus)) :*: S1 (MetaSel (Just "_leNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_leMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_leStateMachineARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListExecutions Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

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

leMaxResults :: Lens' ListExecutions (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.

leStateMachineARN :: Lens' ListExecutions Text Source #

The Amazon Resource Name (ARN) of the state machine whose executions is 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 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.
  • lersResponseStatus - -- | The response status code.
  • lersExecutions - The list of matching executions.

data ListExecutionsResponse Source #

See: listExecutionsResponse smart constructor.

Instances
Eq ListExecutionsResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Data ListExecutionsResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

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 # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Show ListExecutionsResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Generic ListExecutionsResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Associated Types

type Rep ListExecutionsResponse :: Type -> Type #

NFData ListExecutionsResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

Methods

rnf :: ListExecutionsResponse -> () #

type Rep ListExecutionsResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.ListExecutions

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

Response Lenses

lersNextToken :: Lens' ListExecutionsResponse (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.

lersResponseStatus :: Lens' ListExecutionsResponse Int Source #

  • - | The response status code.