| 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.ListDevicePools
Description
Gets information about device pools.
This operation returns paginated results.
Synopsis
- listDevicePools :: Text -> ListDevicePools
- data ListDevicePools
- ldpNextToken :: Lens' ListDevicePools (Maybe Text)
- ldpType :: Lens' ListDevicePools (Maybe DevicePoolType)
- ldpArn :: Lens' ListDevicePools Text
- listDevicePoolsResponse :: Int -> ListDevicePoolsResponse
- data ListDevicePoolsResponse
- ldprsDevicePools :: Lens' ListDevicePoolsResponse [DevicePool]
- ldprsNextToken :: Lens' ListDevicePoolsResponse (Maybe Text)
- ldprsResponseStatus :: Lens' ListDevicePoolsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ListDevicePools |
Creates a value of ListDevicePools with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldpNextToken- 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.ldpType- The device pools' type. Allowed values include: * CURATED: A device pool that is created and managed by AWS Device Farm. * PRIVATE: A device pool that is created and managed by the device pool developer.ldpArn- The project ARN.
data ListDevicePools Source #
Represents the result of a list device pools request.
See: listDevicePools smart constructor.
Instances
Request Lenses
ldpNextToken :: Lens' ListDevicePools (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.
ldpType :: Lens' ListDevicePools (Maybe DevicePoolType) Source #
The device pools' type. Allowed values include: * CURATED: A device pool that is created and managed by AWS Device Farm. * PRIVATE: A device pool that is created and managed by the device pool developer.
Destructuring the Response
listDevicePoolsResponse Source #
Arguments
| :: Int | |
| -> ListDevicePoolsResponse |
Creates a value of ListDevicePoolsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldprsDevicePools- Information about the device pools.ldprsNextToken- 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.ldprsResponseStatus- -- | The response status code.
data ListDevicePoolsResponse Source #
Represents the result of a list device pools request.
See: listDevicePoolsResponse smart constructor.
Instances
Response Lenses
ldprsDevicePools :: Lens' ListDevicePoolsResponse [DevicePool] Source #
Information about the device pools.
ldprsNextToken :: Lens' ListDevicePoolsResponse (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.
ldprsResponseStatus :: Lens' ListDevicePoolsResponse Int Source #
- - | The response status code.