| 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.GreengrassV2.ListClientDevicesAssociatedWithCoreDevice
Description
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_maxResults :: Lens' ListClientDevicesAssociatedWithCoreDevice (Maybe Natural)
- listClientDevicesAssociatedWithCoreDevice_nextToken :: Lens' ListClientDevicesAssociatedWithCoreDevice (Maybe Text)
- 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.
Constructors
| ListClientDevicesAssociatedWithCoreDevice' | |
Fields
| |
Instances
newListClientDevicesAssociatedWithCoreDevice Source #
Arguments
| :: 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:maxResults:ListClientDevicesAssociatedWithCoreDevice', listClientDevicesAssociatedWithCoreDevice_maxResults - The maximum number of results to be returned per paginated request.
ListClientDevicesAssociatedWithCoreDevice, listClientDevicesAssociatedWithCoreDevice_nextToken - The token to be used for the next set of paginated results.
ListClientDevicesAssociatedWithCoreDevice, listClientDevicesAssociatedWithCoreDevice_coreDeviceThingName - The name of the core device. This is also the name of the IoT thing.
Request Lenses
listClientDevicesAssociatedWithCoreDevice_maxResults :: Lens' ListClientDevicesAssociatedWithCoreDevice (Maybe Natural) Source #
The maximum number of results to be returned per paginated request.
listClientDevicesAssociatedWithCoreDevice_nextToken :: Lens' ListClientDevicesAssociatedWithCoreDevice (Maybe Text) Source #
The token to be used for the next set of paginated results.
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.
Constructors
| ListClientDevicesAssociatedWithCoreDeviceResponse' | |
Fields
| |
Instances
newListClientDevicesAssociatedWithCoreDeviceResponse Source #
Arguments
| :: 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.
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.