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 |
Remove queued messages from the downlink queue.
Synopsis
- data DeleteQueuedMessages = DeleteQueuedMessages' {}
- newDeleteQueuedMessages :: Text -> Text -> DeleteQueuedMessages
- deleteQueuedMessages_wirelessDeviceType :: Lens' DeleteQueuedMessages (Maybe WirelessDeviceType)
- deleteQueuedMessages_id :: Lens' DeleteQueuedMessages Text
- deleteQueuedMessages_messageId :: Lens' DeleteQueuedMessages Text
- data DeleteQueuedMessagesResponse = DeleteQueuedMessagesResponse' {
- httpStatus :: Int
- newDeleteQueuedMessagesResponse :: Int -> DeleteQueuedMessagesResponse
- deleteQueuedMessagesResponse_httpStatus :: Lens' DeleteQueuedMessagesResponse Int
Creating a Request
data DeleteQueuedMessages Source #
See: newDeleteQueuedMessages
smart constructor.
DeleteQueuedMessages' | |
|
Instances
newDeleteQueuedMessages Source #
Create a value of DeleteQueuedMessages
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:wirelessDeviceType:DeleteQueuedMessages'
, deleteQueuedMessages_wirelessDeviceType
- The wireless device type, which can be either Sidewalk or LoRaWAN.
DeleteQueuedMessages
, deleteQueuedMessages_id
- The ID of a given wireless device for which downlink messages will be
deleted.
DeleteQueuedMessages
, deleteQueuedMessages_messageId
- If message ID is "*"
, it cleares the entire downlink queue for a
given device, specified by the wireless device ID. Otherwise, the
downlink message with the specified message ID will be deleted.
Request Lenses
deleteQueuedMessages_wirelessDeviceType :: Lens' DeleteQueuedMessages (Maybe WirelessDeviceType) Source #
The wireless device type, which can be either Sidewalk or LoRaWAN.
deleteQueuedMessages_id :: Lens' DeleteQueuedMessages Text Source #
The ID of a given wireless device for which downlink messages will be deleted.
deleteQueuedMessages_messageId :: Lens' DeleteQueuedMessages Text Source #
If message ID is "*"
, it cleares the entire downlink queue for a
given device, specified by the wireless device ID. Otherwise, the
downlink message with the specified message ID will be deleted.
Destructuring the Response
data DeleteQueuedMessagesResponse Source #
See: newDeleteQueuedMessagesResponse
smart constructor.
DeleteQueuedMessagesResponse' | |
|
Instances
newDeleteQueuedMessagesResponse Source #
Create a value of DeleteQueuedMessagesResponse
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:httpStatus:DeleteQueuedMessagesResponse'
, deleteQueuedMessagesResponse_httpStatus
- The response's http status code.
Response Lenses
deleteQueuedMessagesResponse_httpStatus :: Lens' DeleteQueuedMessagesResponse Int Source #
The response's http status code.