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 |
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_maxResults :: Lens' ListDeviceInstances (Maybe Int)
- listDeviceInstances_nextToken :: Lens' ListDeviceInstances (Maybe Text)
- data ListDeviceInstancesResponse = ListDeviceInstancesResponse' {}
- newListDeviceInstancesResponse :: Int -> ListDeviceInstancesResponse
- listDeviceInstancesResponse_deviceInstances :: Lens' ListDeviceInstancesResponse (Maybe [DeviceInstance])
- listDeviceInstancesResponse_nextToken :: Lens' ListDeviceInstancesResponse (Maybe Text)
- listDeviceInstancesResponse_httpStatus :: Lens' ListDeviceInstancesResponse Int
Creating a Request
data ListDeviceInstances Source #
See: newListDeviceInstances
smart constructor.
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:maxResults:ListDeviceInstances'
, listDeviceInstances_maxResults
- An integer that specifies the maximum number of items you want to return
in the API response.
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.
Request Lenses
listDeviceInstances_maxResults :: Lens' ListDeviceInstances (Maybe Int) Source #
An integer that specifies the maximum number of items you want to return in the API response.
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.
Destructuring the Response
data ListDeviceInstancesResponse Source #
See: newListDeviceInstancesResponse
smart constructor.
ListDeviceInstancesResponse' | |
|
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:deviceInstances:ListDeviceInstancesResponse'
, listDeviceInstancesResponse_deviceInstances
- An object that contains information about your device instances.
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:httpStatus:ListDeviceInstancesResponse'
, listDeviceInstancesResponse_httpStatus
- The response's http status code.
Response Lenses
listDeviceInstancesResponse_deviceInstances :: Lens' ListDeviceInstancesResponse (Maybe [DeviceInstance]) Source #
An object that contains information about your device instances.
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_httpStatus :: Lens' ListDeviceInstancesResponse Int Source #
The response's http status code.