| 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.IoTWireless.ListQueuedMessages
Description
List queued messages in the downlink queue.
Synopsis
- data ListQueuedMessages = ListQueuedMessages' {}
- newListQueuedMessages :: Text -> ListQueuedMessages
- listQueuedMessages_maxResults :: Lens' ListQueuedMessages (Maybe Natural)
- listQueuedMessages_nextToken :: Lens' ListQueuedMessages (Maybe Text)
- listQueuedMessages_wirelessDeviceType :: Lens' ListQueuedMessages (Maybe WirelessDeviceType)
- listQueuedMessages_id :: Lens' ListQueuedMessages Text
- data ListQueuedMessagesResponse = ListQueuedMessagesResponse' {}
- newListQueuedMessagesResponse :: Int -> ListQueuedMessagesResponse
- listQueuedMessagesResponse_downlinkQueueMessagesList :: Lens' ListQueuedMessagesResponse (Maybe [DownlinkQueueMessage])
- listQueuedMessagesResponse_nextToken :: Lens' ListQueuedMessagesResponse (Maybe Text)
- listQueuedMessagesResponse_httpStatus :: Lens' ListQueuedMessagesResponse Int
Creating a Request
data ListQueuedMessages Source #
See: newListQueuedMessages smart constructor.
Constructors
| ListQueuedMessages' | |
Fields
| |
Instances
newListQueuedMessages Source #
Arguments
| :: Text | |
| -> ListQueuedMessages |
Create a value of ListQueuedMessages 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:ListQueuedMessages', listQueuedMessages_maxResults - The maximum number of results to return in this operation.
ListQueuedMessages, listQueuedMessages_nextToken - To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
$sel:wirelessDeviceType:ListQueuedMessages', listQueuedMessages_wirelessDeviceType - The wireless device type, whic can be either Sidewalk or LoRaWAN.
ListQueuedMessages, listQueuedMessages_id - The ID of a given wireless device which the downlink message packets are
being sent.
Request Lenses
listQueuedMessages_maxResults :: Lens' ListQueuedMessages (Maybe Natural) Source #
The maximum number of results to return in this operation.
listQueuedMessages_nextToken :: Lens' ListQueuedMessages (Maybe Text) Source #
To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
listQueuedMessages_wirelessDeviceType :: Lens' ListQueuedMessages (Maybe WirelessDeviceType) Source #
The wireless device type, whic can be either Sidewalk or LoRaWAN.
listQueuedMessages_id :: Lens' ListQueuedMessages Text Source #
The ID of a given wireless device which the downlink message packets are being sent.
Destructuring the Response
data ListQueuedMessagesResponse Source #
See: newListQueuedMessagesResponse smart constructor.
Constructors
| ListQueuedMessagesResponse' | |
Fields
| |
Instances
newListQueuedMessagesResponse Source #
Create a value of ListQueuedMessagesResponse 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:downlinkQueueMessagesList:ListQueuedMessagesResponse', listQueuedMessagesResponse_downlinkQueueMessagesList - The messages in the downlink queue.
ListQueuedMessages, listQueuedMessagesResponse_nextToken - To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
$sel:httpStatus:ListQueuedMessagesResponse', listQueuedMessagesResponse_httpStatus - The response's http status code.
Response Lenses
listQueuedMessagesResponse_downlinkQueueMessagesList :: Lens' ListQueuedMessagesResponse (Maybe [DownlinkQueueMessage]) Source #
The messages in the downlink queue.
listQueuedMessagesResponse_nextToken :: Lens' ListQueuedMessagesResponse (Maybe Text) Source #
To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
listQueuedMessagesResponse_httpStatus :: Lens' ListQueuedMessagesResponse Int Source #
The response's http status code.