Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- listExecutions :: Text -> ListExecutions
- data ListExecutions
- leStatusFilter :: Lens' ListExecutions (Maybe ExecutionStatus)
- leNextToken :: Lens' ListExecutions (Maybe Text)
- leMaxResults :: Lens' ListExecutions (Maybe Natural)
- leStateMachineARN :: Lens' ListExecutions Text
- listExecutionsResponse :: Int -> ListExecutionsResponse
- data ListExecutionsResponse
- lersNextToken :: Lens' ListExecutionsResponse (Maybe Text)
- lersResponseStatus :: Lens' ListExecutionsResponse Int
- lersExecutions :: Lens' ListExecutionsResponse [ExecutionListItem]
Creating a Request
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 anextToken
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 innextToken
. Keep all other arguments unchanged. The configuredmaxResults
determines how many results can be returned in a single call.leMaxResults
- The maximum number of results that are returned per call. You can usenextToken
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
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 anextToken
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 innextToken
. Keep all other arguments unchanged. The configuredmaxResults
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
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.
lersExecutions :: Lens' ListExecutionsResponse [ExecutionListItem] Source #
The list of matching executions.