Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.Mobile.ListProjects
Description
Lists projects in AWS Mobile Hub.
This operation returns paginated results.
Synopsis
- listProjects :: ListProjects
- data ListProjects
- lpNextToken :: Lens' ListProjects (Maybe Text)
- lpMaxResults :: Lens' ListProjects (Maybe Int)
- listProjectsResponse :: Int -> ListProjectsResponse
- data ListProjectsResponse
- lprsNextToken :: Lens' ListProjectsResponse (Maybe Text)
- lprsProjects :: Lens' ListProjectsResponse [ProjectSummary]
- lprsResponseStatus :: 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:
lpNextToken
- Pagination token. Set to null to start listing projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.lpMaxResults
- Maximum number of records to list in a single response.
data ListProjects Source #
Request structure used to request projects list in AWS Mobile Hub.
See: listProjects
smart constructor.
Instances
Request Lenses
lpNextToken :: Lens' ListProjects (Maybe Text) Source #
Pagination token. Set to null to start listing projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.
lpMaxResults :: Lens' ListProjects (Maybe Int) Source #
Maximum number of records to list in a single response.
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:
lprsNextToken
- Undocumented member.lprsProjects
- Undocumented member.lprsResponseStatus
- -- | The response status code.
data ListProjectsResponse Source #
Result structure used for requests to list projects in AWS Mobile Hub.
See: listProjectsResponse
smart constructor.
Instances
Response Lenses
lprsNextToken :: Lens' ListProjectsResponse (Maybe Text) Source #
Undocumented member.
lprsProjects :: Lens' ListProjectsResponse [ProjectSummary] Source #
Undocumented member.
lprsResponseStatus :: Lens' ListProjectsResponse Int Source #
- - | The response status code.