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 |
Retrieves a paginated list of client devices that are associated with a core device.
This operation returns paginated results.
Synopsis
- data ListClientDevicesAssociatedWithCoreDevice = ListClientDevicesAssociatedWithCoreDevice' {}
- newListClientDevicesAssociatedWithCoreDevice :: Text -> ListClientDevicesAssociatedWithCoreDevice
- listClientDevicesAssociatedWithCoreDevice_nextToken :: Lens' ListClientDevicesAssociatedWithCoreDevice (Maybe Text)
- listClientDevicesAssociatedWithCoreDevice_maxResults :: Lens' ListClientDevicesAssociatedWithCoreDevice (Maybe Natural)
- listClientDevicesAssociatedWithCoreDevice_coreDeviceThingName :: Lens' ListClientDevicesAssociatedWithCoreDevice Text
- data ListClientDevicesAssociatedWithCoreDeviceResponse = ListClientDevicesAssociatedWithCoreDeviceResponse' {}
- newListClientDevicesAssociatedWithCoreDeviceResponse :: Int -> ListClientDevicesAssociatedWithCoreDeviceResponse
- listClientDevicesAssociatedWithCoreDeviceResponse_associatedClientDevices :: Lens' ListClientDevicesAssociatedWithCoreDeviceResponse (Maybe (NonEmpty AssociatedClientDevice))
- listClientDevicesAssociatedWithCoreDeviceResponse_nextToken :: Lens' ListClientDevicesAssociatedWithCoreDeviceResponse (Maybe Text)
- listClientDevicesAssociatedWithCoreDeviceResponse_httpStatus :: Lens' ListClientDevicesAssociatedWithCoreDeviceResponse Int
Creating a Request
data ListClientDevicesAssociatedWithCoreDevice Source #
See: newListClientDevicesAssociatedWithCoreDevice
smart constructor.
ListClientDevicesAssociatedWithCoreDevice' | |
|
Instances
newListClientDevicesAssociatedWithCoreDevice Source #
:: Text |
|
-> ListClientDevicesAssociatedWithCoreDevice |
Create a value of ListClientDevicesAssociatedWithCoreDevice
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:ListClientDevicesAssociatedWithCoreDevice'
, listClientDevicesAssociatedWithCoreDevice_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListClientDevicesAssociatedWithCoreDevice'
, listClientDevicesAssociatedWithCoreDevice_maxResults
- The maximum number of results to be returned per paginated request.
$sel:coreDeviceThingName:ListClientDevicesAssociatedWithCoreDevice'
, listClientDevicesAssociatedWithCoreDevice_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
Request Lenses
listClientDevicesAssociatedWithCoreDevice_nextToken :: Lens' ListClientDevicesAssociatedWithCoreDevice (Maybe Text) Source #
The token to be used for the next set of paginated results.
listClientDevicesAssociatedWithCoreDevice_maxResults :: Lens' ListClientDevicesAssociatedWithCoreDevice (Maybe Natural) Source #
The maximum number of results to be returned per paginated request.
listClientDevicesAssociatedWithCoreDevice_coreDeviceThingName :: Lens' ListClientDevicesAssociatedWithCoreDevice Text Source #
The name of the core device. This is also the name of the IoT thing.
Destructuring the Response
data ListClientDevicesAssociatedWithCoreDeviceResponse Source #
See: newListClientDevicesAssociatedWithCoreDeviceResponse
smart constructor.
ListClientDevicesAssociatedWithCoreDeviceResponse' | |
|
Instances
newListClientDevicesAssociatedWithCoreDeviceResponse Source #
:: Int |
|
-> ListClientDevicesAssociatedWithCoreDeviceResponse |
Create a value of ListClientDevicesAssociatedWithCoreDeviceResponse
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:associatedClientDevices:ListClientDevicesAssociatedWithCoreDeviceResponse'
, listClientDevicesAssociatedWithCoreDeviceResponse_associatedClientDevices
- A list that describes the client devices that are associated with the
core device.
$sel:nextToken:ListClientDevicesAssociatedWithCoreDevice'
, listClientDevicesAssociatedWithCoreDeviceResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListClientDevicesAssociatedWithCoreDeviceResponse'
, listClientDevicesAssociatedWithCoreDeviceResponse_httpStatus
- The response's http status code.
Response Lenses
listClientDevicesAssociatedWithCoreDeviceResponse_associatedClientDevices :: Lens' ListClientDevicesAssociatedWithCoreDeviceResponse (Maybe (NonEmpty AssociatedClientDevice)) Source #
A list that describes the client devices that are associated with the core device.
listClientDevicesAssociatedWithCoreDeviceResponse_nextToken :: Lens' ListClientDevicesAssociatedWithCoreDeviceResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listClientDevicesAssociatedWithCoreDeviceResponse_httpStatus :: Lens' ListClientDevicesAssociatedWithCoreDeviceResponse Int Source #
The response's http status code.