delete_queued_messages
async
¶
delete_queued_messages(
id: WirelessDeviceId,
message_id: MessageId,
*,
config_overrides: Optional[AsyncIoTWirelessClientConfig] = None,
wireless_device_type: Optional[WirelessDeviceType] = None,
) -> DeleteQueuedMessagesResponse
Remove queued messages from the downlink queue.
Parameters:
-
id(WirelessDeviceId) –The ID of a given wireless device for which downlink messages will be deleted.
-
message_id(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. -
wireless_device_type(Optional[WirelessDeviceType], default:None) –The wireless device type, which can be either Sidewalk or LoRaWAN.
Raises:
-
AccessDeniedException–User does not have permission to perform this action.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–Resource does not exist.
-
ThrottlingException–The request was denied because it exceeded the allowed API request rate.
-
ValidationException–The input did not meet the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.