| 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.ListDevices
Description
Gets information about unique device types.
This operation returns paginated results.
Synopsis
- listDevices :: ListDevices
- data ListDevices
- ldArn :: Lens' ListDevices (Maybe Text)
- ldNextToken :: Lens' ListDevices (Maybe Text)
- listDevicesResponse :: Int -> ListDevicesResponse
- data ListDevicesResponse
- ldrsNextToken :: Lens' ListDevicesResponse (Maybe Text)
- ldrsDevices :: Lens' ListDevicesResponse [Device]
- ldrsResponseStatus :: Lens' ListDevicesResponse Int
Creating a Request
listDevices :: ListDevices Source #
Creates a value of ListDevices with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldArn- The Amazon Resource Name (ARN) of the project.ldNextToken- 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 ListDevices Source #
Represents the result of a list devices request.
See: listDevices smart constructor.
Instances
Request Lenses
ldNextToken :: Lens' ListDevices (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 | |
| -> ListDevicesResponse |
Creates a value of ListDevicesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldrsNextToken- 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.ldrsDevices- Information about the devices.ldrsResponseStatus- -- | The response status code.
data ListDevicesResponse Source #
Represents the result of a list devices operation.
See: listDevicesResponse smart constructor.
Instances
Response Lenses
ldrsNextToken :: Lens' ListDevicesResponse (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.
ldrsDevices :: Lens' ListDevicesResponse [Device] Source #
Information about the devices.
ldrsResponseStatus :: Lens' ListDevicesResponse Int Source #
- - | The response status code.