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 |
Network.AWS.DeviceFarm.ListProjects
Description
Gets information about projects.
See: AWS API Reference for ListProjects.
- listProjects :: ListProjects
- data ListProjects
- lpArn :: Lens' ListProjects (Maybe Text)
- lpNextToken :: Lens' ListProjects (Maybe Text)
- listProjectsResponse :: Int -> ListProjectsResponse
- data ListProjectsResponse
- lprsNextToken :: Lens' ListProjectsResponse (Maybe Text)
- lprsProjects :: Lens' ListProjectsResponse [Project]
- lprsStatus :: Lens' ListProjectsResponse Int
Creating a Request
listProjects :: ListProjects Source
Creates a value of ListProjects
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListProjects Source
Represents a request to the list projects operation.
See: listProjects
smart constructor.
Request Lenses
lpNextToken :: Lens' ListProjects (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
Arguments
:: Int | |
-> ListProjectsResponse |
Creates a value of ListProjectsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListProjectsResponse Source
Represents the result of a list projects request.
See: listProjectsResponse
smart constructor.
Response Lenses
lprsNextToken :: Lens' ListProjectsResponse (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.
lprsProjects :: Lens' ListProjectsResponse [Project] Source
Information about the projects.
lprsStatus :: Lens' ListProjectsResponse Int Source
The response status code.