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 all projects in AWS CodeStar associated with your AWS account.
Synopsis
- listProjects :: ListProjects
- data ListProjects
- lpNextToken :: Lens' ListProjects (Maybe Text)
- lpMaxResults :: Lens' ListProjects (Maybe Natural)
- listProjectsResponse :: Int -> ListProjectsResponse
- data ListProjectsResponse
- lprsNextToken :: Lens' ListProjectsResponse (Maybe Text)
- lprsResponseStatus :: Lens' ListProjectsResponse Int
- lprsProjects :: Lens' ListProjectsResponse [ProjectSummary]
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
- The continuation token to be used to return the next set of results, if the results cannot be returned in one response.lpMaxResults
- The maximum amount of data that can be contained in a single set of results.
data ListProjects Source #
See: listProjects
smart constructor.
Instances
Request Lenses
lpNextToken :: Lens' ListProjects (Maybe Text) Source #
The continuation token to be used to return the next set of results, if the results cannot be returned in one response.
lpMaxResults :: Lens' ListProjects (Maybe Natural) Source #
The maximum amount of data that can be contained in a single set of results.
Destructuring the Response
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
- The continuation token to use when requesting the next set of results, if there are more results to be returned.lprsResponseStatus
- -- | The response status code.lprsProjects
- A list of projects.
data ListProjectsResponse Source #
See: listProjectsResponse
smart constructor.
Instances
Response Lenses
lprsNextToken :: Lens' ListProjectsResponse (Maybe Text) Source #
The continuation token to use when requesting the next set of results, if there are more results to be returned.
lprsResponseStatus :: Lens' ListProjectsResponse Int Source #
- - | The response status code.
lprsProjects :: Lens' ListProjectsResponse [ProjectSummary] Source #
A list of projects.