Copyright | (c) 2013-2021 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 |
Lists projects in AWS Mobile Hub.
This operation returns paginated results.
Synopsis
- data ListProjects = ListProjects' {}
- newListProjects :: ListProjects
- listProjects_nextToken :: Lens' ListProjects (Maybe Text)
- listProjects_maxResults :: Lens' ListProjects (Maybe Int)
- data ListProjectsResponse = ListProjectsResponse' {
- nextToken :: Maybe Text
- projects :: Maybe [ProjectSummary]
- httpStatus :: Int
- newListProjectsResponse :: Int -> ListProjectsResponse
- listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text)
- listProjectsResponse_projects :: Lens' ListProjectsResponse (Maybe [ProjectSummary])
- listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int
Creating a Request
data ListProjects Source #
Request structure used to request projects list in AWS Mobile Hub.
See: newListProjects
smart constructor.
Instances
newListProjects :: ListProjects Source #
Create a value of ListProjects
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListProjects'
, listProjects_nextToken
- 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.
$sel:maxResults:ListProjects'
, listProjects_maxResults
- Maximum number of records to list in a single response.
Request Lenses
listProjects_nextToken :: 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.
listProjects_maxResults :: Lens' ListProjects (Maybe Int) Source #
Maximum number of records to list in a single response.
Destructuring the Response
data ListProjectsResponse Source #
Result structure used for requests to list projects in AWS Mobile Hub.
See: newListProjectsResponse
smart constructor.
ListProjectsResponse' | |
|
Instances
newListProjectsResponse Source #
Create a value of ListProjectsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListProjects'
, listProjectsResponse_nextToken
- Undocumented member.
$sel:projects:ListProjectsResponse'
, listProjectsResponse_projects
- Undocumented member.
$sel:httpStatus:ListProjectsResponse'
, listProjectsResponse_httpStatus
- The response's http status code.
Response Lenses
listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #
Undocumented member.
listProjectsResponse_projects :: Lens' ListProjectsResponse (Maybe [ProjectSummary]) Source #
Undocumented member.
listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int Source #
The response's http status code.