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 |
Gets information about projects.
This operation returns paginated results.
Synopsis
- data ListProjects = ListProjects' {}
- newListProjects :: ListProjects
- listProjects_arn :: Lens' ListProjects (Maybe Text)
- listProjects_nextToken :: Lens' ListProjects (Maybe Text)
- data ListProjectsResponse = ListProjectsResponse' {}
- newListProjectsResponse :: Int -> ListProjectsResponse
- listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text)
- listProjectsResponse_projects :: Lens' ListProjectsResponse (Maybe [Project])
- listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int
Creating a Request
data ListProjects Source #
Represents a request to the list projects operation.
See: newListProjects
smart constructor.
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:arn:ListProjects'
, listProjects_arn
- Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device
Farm returns a list of all projects for the AWS account. You can also
specify a project ARN.
$sel:nextToken:ListProjects'
, listProjects_nextToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
Request Lenses
listProjects_arn :: Lens' ListProjects (Maybe Text) Source #
Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN.
listProjects_nextToken :: Lens' ListProjects (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Destructuring the Response
data ListProjectsResponse Source #
Represents the result of a list projects request.
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
- If the number of items that are returned is significantly large, this is
an identifier that is also returned. It can be used in a subsequent call
to this operation to return the next set of items in the list.
$sel:projects:ListProjectsResponse'
, listProjectsResponse_projects
- Information about the projects.
$sel:httpStatus:ListProjectsResponse'
, listProjectsResponse_httpStatus
- The response's http status code.
Response Lenses
listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
listProjectsResponse_projects :: Lens' ListProjectsResponse (Maybe [Project]) Source #
Information about the projects.
listProjectsResponse_httpStatus :: Lens' ListProjectsResponse Int Source #
The response's http status code.