| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.ListDevicePools
Description
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.
Constructors
| ListDevicePools' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListDevicePools |
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:
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.
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.
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.
Constructors
| ListDevicePoolsResponse' | |
Fields
| |
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.
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.