Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns configuration details about all the projects in the current Region in your account.
This operation returns paginated results.
Synopsis
- data ListProjects = ListProjects' {}
- newListProjects :: ListProjects
- listProjects_maxResults :: Lens' ListProjects (Maybe Natural)
- listProjects_nextToken :: Lens' ListProjects (Maybe Text)
- 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 #
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:maxResults:ListProjects'
, listProjects_maxResults
- The maximum number of results to include in the response.
ListProjects
, listProjects_nextToken
- The token to use when requesting the next set of results. You received
this token from a previous ListProjects
operation.
Request Lenses
listProjects_maxResults :: Lens' ListProjects (Maybe Natural) Source #
The maximum number of results to include in the response.
listProjects_nextToken :: Lens' ListProjects (Maybe Text) Source #
The token to use when requesting the next set of results. You received
this token from a previous ListProjects
operation.
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:
ListProjects
, listProjectsResponse_nextToken
- The token to use in a subsequent ListProjects
operation to return the
next set of results.
$sel:projects:ListProjectsResponse'
, listProjectsResponse_projects
- An array of structures that contain the configuration details of the
projects in the Region.
$sel:httpStatus:ListProjectsResponse'
, listProjectsResponse_httpStatus
- The response's http status code.
Response Lenses
listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #
The token to use in a subsequent ListProjects
operation to return the
next set of results.
listProjectsResponse_projects :: Lens' ListProjectsResponse (Maybe [ProjectSummary]) Source #
An array of structures that contain the configuration details of the projects in the Region.
listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int Source #
The response's http status code.