Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about runs.
See: AWS API Reference for ListRuns.
- listRuns :: Text -> ListRuns
- data ListRuns
- lrNextToken :: Lens' ListRuns (Maybe Text)
- lrArn :: Lens' ListRuns Text
- listRunsResponse :: Int -> ListRunsResponse
- data ListRunsResponse
- lrrsRuns :: Lens' ListRunsResponse [Run]
- lrrsNextToken :: Lens' ListRunsResponse (Maybe Text)
- lrrsResponseStatus :: Lens' ListRunsResponse Int
Creating a Request
Creates a value of ListRuns
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Represents a request to the list runs operation.
See: listRuns
smart constructor.
Request Lenses
lrNextToken :: Lens' ListRuns (Maybe Text) Source
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Destructuring the Response
Creates a value of ListRunsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListRunsResponse Source
Represents the result of a list runs request.
See: listRunsResponse
smart constructor.
Response Lenses
lrrsRuns :: Lens' ListRunsResponse [Run] Source
Information about the runs.
lrrsNextToken :: Lens' ListRunsResponse (Maybe Text) Source
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
lrrsResponseStatus :: Lens' ListRunsResponse Int Source
The response status code.