IoTWireless / Client / delete_queued_messages

delete_queued_messages#

IoTWireless.Client.delete_queued_messages(**kwargs)#

Remove queued messages from the downlink queue.

See also: AWS API Documentation

Request Syntax

response = client.delete_queued_messages(
    Id='string',
    MessageId='string',
    WirelessDeviceType='Sidewalk'|'LoRaWAN'
)
Parameters:
  • Id (string) –

    [REQUIRED]

    The ID of a given wireless device for which downlink messages will be deleted.

  • MessageId (string) –

    [REQUIRED]

    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.

  • WirelessDeviceType (string) – The wireless device type, which can be either Sidewalk or LoRaWAN.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • IoTWireless.Client.exceptions.ValidationException

  • IoTWireless.Client.exceptions.ResourceNotFoundException

  • IoTWireless.Client.exceptions.ThrottlingException

  • IoTWireless.Client.exceptions.InternalServerException

  • IoTWireless.Client.exceptions.AccessDeniedException