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 |
Network.AWS.DeviceFarm.ListDevicePools
Description
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
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 #
Represents the result of a list device pools request.
See: listDevicePools
smart constructor.
Instances
Request Lenses
ldpNextToken :: Lens' ListDevicePools (Maybe Text) #
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) #
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 :: Lens' ListDevicePools Text #
The project ARN.
Destructuring the Response
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 #
Represents the result of a list device pools request.
See: listDevicePoolsResponse
smart constructor.
Response Lenses
ldprsDevicePools :: Lens' ListDevicePoolsResponse [DevicePool] #
Information about the device pools.
ldprsNextToken :: Lens' ListDevicePoolsResponse (Maybe Text) #
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 #
- - | The response status code.