Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about device pools.
This operation returns paginated results.
- 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
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:
data ListDevicePools Source #
Represents the result of a list device pools request.
See: listDevicePools
smart constructor.
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 #
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:
data ListDevicePoolsResponse Source #
Represents the result of a list device pools request.
See: listDevicePoolsResponse
smart constructor.
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.