| 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.SageMaker.ListDevices
Description
A list of devices.
This operation returns paginated results.
Synopsis
- data ListDevices = ListDevices' {}
 - newListDevices :: ListDevices
 - listDevices_deviceFleetName :: Lens' ListDevices (Maybe Text)
 - listDevices_latestHeartbeatAfter :: Lens' ListDevices (Maybe UTCTime)
 - listDevices_maxResults :: Lens' ListDevices (Maybe Int)
 - listDevices_modelName :: Lens' ListDevices (Maybe Text)
 - listDevices_nextToken :: 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.
Constructors
| ListDevices' | |
Fields 
  | |
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:
ListDevices, listDevices_deviceFleetName - Filter for fleets containing this name in their device fleet name.
$sel:latestHeartbeatAfter:ListDevices', listDevices_latestHeartbeatAfter - Select fleets where the job was updated after X
$sel:maxResults:ListDevices', listDevices_maxResults - Maximum number of results to select.
ListDevices, listDevices_modelName - A filter that searches devices that contains this name in any of their
 models.
ListDevices, listDevices_nextToken - The response from the last list when returning a list large enough to
 need tokening.
Request Lenses
listDevices_deviceFleetName :: Lens' ListDevices (Maybe Text) Source #
Filter for fleets containing this name in their device fleet name.
listDevices_latestHeartbeatAfter :: Lens' ListDevices (Maybe UTCTime) Source #
Select fleets where the job was updated after X
listDevices_maxResults :: Lens' ListDevices (Maybe Int) Source #
Maximum number of results to select.
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.
Destructuring the Response
data ListDevicesResponse Source #
See: newListDevicesResponse smart constructor.
Constructors
| ListDevicesResponse' | |
Fields 
  | |
Instances
newListDevicesResponse Source #
Arguments
| :: Int | |
| -> ListDevicesResponse | 
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:
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.