| 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 |
Network.AWS.DeviceFarm.ListProjects
Description
Gets information about projects.
This operation returns paginated results.
- listProjects :: ListProjects
- data ListProjects
- lpArn :: Lens' ListProjects (Maybe Text)
- lpNextToken :: Lens' ListProjects (Maybe Text)
- listProjectsResponse :: Int -> ListProjectsResponse
- data ListProjectsResponse
- lprsNextToken :: Lens' ListProjectsResponse (Maybe Text)
- lprsProjects :: Lens' ListProjectsResponse [Project]
- lprsResponseStatus :: Lens' ListProjectsResponse Int
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:
lpArn- 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.lpNextToken- 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.
data ListProjects Source #
Represents a request to the list projects operation.
See: listProjects smart constructor.
Instances
Request Lenses
lpArn :: 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.
lpNextToken :: 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
Arguments
| :: Int | |
| -> ListProjectsResponse |
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- If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.lprsProjects- Information about the projects.lprsResponseStatus- -- | The response status code.
data ListProjectsResponse Source #
Represents the result of a list projects request.
See: listProjectsResponse smart constructor.
Response Lenses
lprsNextToken :: Lens' ListProjectsResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
lprsProjects :: Lens' ListProjectsResponse [Project] Source #
Information about the projects.
lprsResponseStatus :: Lens' ListProjectsResponse Int Source #
- - | The response status code.