| 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 |
Amazonka.IoT1ClickProjects.ListProjects
Description
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
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
- 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.
Constructors
| ListProjects' | |
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 return per request. If not set, a
default value of 100 is used.
ListProjects, listProjects_nextToken - The token to retrieve the next set of results.
Request Lenses
listProjects_maxResults :: Lens' ListProjects (Maybe Natural) Source #
The maximum number of results to return per request. If not set, a default value of 100 is used.
listProjects_nextToken :: Lens' ListProjects (Maybe Text) Source #
The token to retrieve the next set of results.
Destructuring the Response
data ListProjectsResponse Source #
See: newListProjectsResponse smart constructor.
Constructors
| ListProjectsResponse' | |
Fields
| |
Instances
newListProjectsResponse Source #
Arguments
| :: Int | |
| -> ListProjectsResponse |
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 used to retrieve the next set of results - will be effectively
empty if there are no further results.
$sel:httpStatus:ListProjectsResponse', listProjectsResponse_httpStatus - The response's http status code.
$sel:projects:ListProjectsResponse', listProjectsResponse_projects - An object containing the list of projects.
Response Lenses
listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int Source #
The response's http status code.
listProjectsResponse_projects :: Lens' ListProjectsResponse [ProjectSummary] Source #
An object containing the list of projects.