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 all projects in AWS CodeStar associated with your AWS account.
This operation returns paginated results.
Synopsis
- data ListProjects = ListProjects' {}
- newListProjects :: ListProjects
- listProjects_nextToken :: Lens' ListProjects (Maybe Text)
- listProjects_maxResults :: Lens' ListProjects (Maybe Natural)
- data ListProjectsResponse = ListProjectsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- projects :: [ProjectSummary]
- newListProjectsResponse :: Int -> ListProjectsResponse
- listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text)
- listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int
- listProjectsResponse_projects :: Lens' ListProjectsResponse [ProjectSummary]
Creating a Request
data ListProjects Source #
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
- The continuation token to be used to return the next set of results, if
the results cannot be returned in one response.
$sel:maxResults:ListProjects'
, listProjects_maxResults
- The maximum amount of data that can be contained in a single set of
results.
Request Lenses
listProjects_nextToken :: 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.
listProjects_maxResults :: Lens' ListProjects (Maybe Natural) Source #
The maximum amount of data that can be contained in a single set of results.
Destructuring the Response
data ListProjectsResponse Source #
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
- The continuation token to use when requesting the next set of results,
if there are more results to be returned.
$sel:httpStatus:ListProjectsResponse'
, listProjectsResponse_httpStatus
- The response's http status code.
$sel:projects:ListProjectsResponse'
, listProjectsResponse_projects
- A list of projects.
Response Lenses
listProjectsResponse_nextToken :: 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.
listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int Source #
The response's http status code.
listProjectsResponse_projects :: Lens' ListProjectsResponse [ProjectSummary] Source #
A list of projects.