| 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 |
Amazonka.DeviceFarm.ListDeviceInstances
Description
Returns information about the private device instances associated with one or more AWS accounts.
This operation returns paginated results.
Synopsis
- data ListDeviceInstances = ListDeviceInstances' {}
- newListDeviceInstances :: ListDeviceInstances
- listDeviceInstances_nextToken :: Lens' ListDeviceInstances (Maybe Text)
- listDeviceInstances_maxResults :: Lens' ListDeviceInstances (Maybe Int)
- data ListDeviceInstancesResponse = ListDeviceInstancesResponse' {}
- newListDeviceInstancesResponse :: Int -> ListDeviceInstancesResponse
- listDeviceInstancesResponse_nextToken :: Lens' ListDeviceInstancesResponse (Maybe Text)
- listDeviceInstancesResponse_deviceInstances :: Lens' ListDeviceInstancesResponse (Maybe [DeviceInstance])
- listDeviceInstancesResponse_httpStatus :: Lens' ListDeviceInstancesResponse Int
Creating a Request
data ListDeviceInstances Source #
See: newListDeviceInstances smart constructor.
Constructors
| ListDeviceInstances' | |
Instances
newListDeviceInstances :: ListDeviceInstances Source #
Create a value of ListDeviceInstances 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:ListDeviceInstances', listDeviceInstances_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:maxResults:ListDeviceInstances', listDeviceInstances_maxResults - An integer that specifies the maximum number of items you want to return
in the API response.
Request Lenses
listDeviceInstances_nextToken :: Lens' ListDeviceInstances (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.
listDeviceInstances_maxResults :: Lens' ListDeviceInstances (Maybe Int) Source #
An integer that specifies the maximum number of items you want to return in the API response.
Destructuring the Response
data ListDeviceInstancesResponse Source #
See: newListDeviceInstancesResponse smart constructor.
Constructors
| ListDeviceInstancesResponse' | |
Fields
| |
Instances
newListDeviceInstancesResponse Source #
Create a value of ListDeviceInstancesResponse 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:ListDeviceInstances', listDeviceInstancesResponse_nextToken - An identifier that can be used in the next call to this operation to
return the next set of items in the list.
$sel:deviceInstances:ListDeviceInstancesResponse', listDeviceInstancesResponse_deviceInstances - An object that contains information about your device instances.
$sel:httpStatus:ListDeviceInstancesResponse', listDeviceInstancesResponse_httpStatus - The response's http status code.
Response Lenses
listDeviceInstancesResponse_nextToken :: Lens' ListDeviceInstancesResponse (Maybe Text) Source #
An identifier that can be used in the next call to this operation to return the next set of items in the list.
listDeviceInstancesResponse_deviceInstances :: Lens' ListDeviceInstancesResponse (Maybe [DeviceInstance]) Source #
An object that contains information about your device instances.
listDeviceInstancesResponse_httpStatus :: Lens' ListDeviceInstancesResponse Int Source #
The response's http status code.