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 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
- listStateMachines :: ListStateMachines
- data ListStateMachines
- lsmNextToken :: Lens' ListStateMachines (Maybe Text)
- lsmMaxResults :: Lens' ListStateMachines (Maybe Natural)
- listStateMachinesResponse :: Int -> ListStateMachinesResponse
- data ListStateMachinesResponse
- lsmrsNextToken :: Lens' ListStateMachinesResponse (Maybe Text)
- lsmrsResponseStatus :: Lens' ListStateMachinesResponse Int
- lsmrsStateMachines :: Lens' ListStateMachinesResponse [StateMachineListItem]
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 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.lsmMaxResults
- 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.
data ListStateMachines Source #
See: listStateMachines
smart constructor.
Instances
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 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.lsmrsResponseStatus
- -- | The response status code.lsmrsStateMachines
- Undocumented member.
data ListStateMachinesResponse Source #
See: listStateMachinesResponse
smart constructor.
Instances
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.
lsmrsResponseStatus :: Lens' ListStateMachinesResponse Int Source #
- - | The response status code.
lsmrsStateMachines :: Lens' ListStateMachinesResponse [StateMachineListItem] Source #
Undocumented member.