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 |
A list of devices.
This operation returns paginated results.
Synopsis
- data ListDevices = ListDevices' {}
- newListDevices :: ListDevices
- listDevices_latestHeartbeatAfter :: Lens' ListDevices (Maybe UTCTime)
- listDevices_modelName :: Lens' ListDevices (Maybe Text)
- listDevices_nextToken :: Lens' ListDevices (Maybe Text)
- listDevices_maxResults :: Lens' ListDevices (Maybe Int)
- listDevices_deviceFleetName :: Lens' ListDevices (Maybe Text)
- data ListDevicesResponse = ListDevicesResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- deviceSummaries :: [DeviceSummary]
- newListDevicesResponse :: Int -> ListDevicesResponse
- listDevicesResponse_nextToken :: Lens' ListDevicesResponse (Maybe Text)
- listDevicesResponse_httpStatus :: Lens' ListDevicesResponse Int
- listDevicesResponse_deviceSummaries :: Lens' ListDevicesResponse [DeviceSummary]
Creating a Request
data ListDevices Source #
See: newListDevices
smart constructor.
ListDevices' | |
|
Instances
newListDevices :: ListDevices Source #
Create a value of ListDevices
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:latestHeartbeatAfter:ListDevices'
, listDevices_latestHeartbeatAfter
- Select fleets where the job was updated after X
$sel:modelName:ListDevices'
, listDevices_modelName
- A filter that searches devices that contains this name in any of their
models.
$sel:nextToken:ListDevices'
, listDevices_nextToken
- The response from the last list when returning a list large enough to
need tokening.
$sel:maxResults:ListDevices'
, listDevices_maxResults
- Maximum number of results to select.
$sel:deviceFleetName:ListDevices'
, listDevices_deviceFleetName
- Filter for fleets containing this name in their device fleet name.
Request Lenses
listDevices_latestHeartbeatAfter :: Lens' ListDevices (Maybe UTCTime) Source #
Select fleets where the job was updated after X
listDevices_modelName :: Lens' ListDevices (Maybe Text) Source #
A filter that searches devices that contains this name in any of their models.
listDevices_nextToken :: Lens' ListDevices (Maybe Text) Source #
The response from the last list when returning a list large enough to need tokening.
listDevices_maxResults :: Lens' ListDevices (Maybe Int) Source #
Maximum number of results to select.
listDevices_deviceFleetName :: Lens' ListDevices (Maybe Text) Source #
Filter for fleets containing this name in their device fleet name.
Destructuring the Response
data ListDevicesResponse Source #
See: newListDevicesResponse
smart constructor.
ListDevicesResponse' | |
|
Instances
newListDevicesResponse Source #
Create a value of ListDevicesResponse
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:ListDevices'
, listDevicesResponse_nextToken
- The response from the last list when returning a list large enough to
need tokening.
$sel:httpStatus:ListDevicesResponse'
, listDevicesResponse_httpStatus
- The response's http status code.
$sel:deviceSummaries:ListDevicesResponse'
, listDevicesResponse_deviceSummaries
- Summary of devices.
Response Lenses
listDevicesResponse_nextToken :: Lens' ListDevicesResponse (Maybe Text) Source #
The response from the last list when returning a list large enough to need tokening.
listDevicesResponse_httpStatus :: Lens' ListDevicesResponse Int Source #
The response's http status code.
listDevicesResponse_deviceSummaries :: Lens' ListDevicesResponse [DeviceSummary] Source #
Summary of devices.