Copyright | (c) 2013-2021 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 |
Gets information about device pools.
This operation returns paginated results.
Synopsis
- data ListDevicePools = ListDevicePools' {}
- newListDevicePools :: Text -> ListDevicePools
- listDevicePools_nextToken :: Lens' ListDevicePools (Maybe Text)
- listDevicePools_type :: Lens' ListDevicePools (Maybe DevicePoolType)
- listDevicePools_arn :: Lens' ListDevicePools Text
- data ListDevicePoolsResponse = ListDevicePoolsResponse' {
- devicePools :: Maybe [DevicePool]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDevicePoolsResponse :: Int -> ListDevicePoolsResponse
- listDevicePoolsResponse_devicePools :: Lens' ListDevicePoolsResponse (Maybe [DevicePool])
- listDevicePoolsResponse_nextToken :: Lens' ListDevicePoolsResponse (Maybe Text)
- listDevicePoolsResponse_httpStatus :: Lens' ListDevicePoolsResponse Int
Creating a Request
data ListDevicePools Source #
Represents the result of a list device pools request.
See: newListDevicePools
smart constructor.
ListDevicePools' | |
|
Instances
Create a value of ListDevicePools
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListDevicePools'
, listDevicePools_nextToken
- 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.
$sel:type':ListDevicePools'
, listDevicePools_type
- 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.
$sel:arn:ListDevicePools'
, listDevicePools_arn
- The project ARN.
Request Lenses
listDevicePools_nextToken :: 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.
listDevicePools_type :: 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.
listDevicePools_arn :: Lens' ListDevicePools Text Source #
The project ARN.
Destructuring the Response
data ListDevicePoolsResponse Source #
Represents the result of a list device pools request.
See: newListDevicePoolsResponse
smart constructor.
ListDevicePoolsResponse' | |
|
Instances
newListDevicePoolsResponse Source #
Create a value of ListDevicePoolsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:devicePools:ListDevicePoolsResponse'
, listDevicePoolsResponse_devicePools
- Information about the device pools.
$sel:nextToken:ListDevicePools'
, listDevicePoolsResponse_nextToken
- If the number of items that are returned is significantly large, this is
an identifier that is also returned. It can be used in a subsequent call
to this operation to return the next set of items in the list.
$sel:httpStatus:ListDevicePoolsResponse'
, listDevicePoolsResponse_httpStatus
- The response's http status code.
Response Lenses
listDevicePoolsResponse_devicePools :: Lens' ListDevicePoolsResponse (Maybe [DevicePool]) Source #
Information about the device pools.
listDevicePoolsResponse_nextToken :: Lens' ListDevicePoolsResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
listDevicePoolsResponse_httpStatus :: Lens' ListDevicePoolsResponse Int Source #
The response's http status code.