IoTWireless / Client / send_data_to_multicast_group

send_data_to_multicast_group#

IoTWireless.Client.send_data_to_multicast_group(**kwargs)#

Sends the specified data to a multicast group.

See also: AWS API Documentation

Request Syntax

response = client.send_data_to_multicast_group(
    Id='string',
    PayloadData='string',
    WirelessMetadata={
        'LoRaWAN': {
            'FPort': 123
        }
    }
)
Parameters:
  • Id (string) –

    [REQUIRED]

    The ID of the multicast group.

  • PayloadData (string) –

    [REQUIRED]

    The binary to be sent to the end device, encoded in base64.

  • WirelessMetadata (dict) –

    [REQUIRED]

    Wireless metadata that is to be sent to multicast group.

    • LoRaWAN (dict) –

      The metadata information of the LoRaWAN multicast group.

      • FPort (integer) –

        The Fport value.

Return type:

dict

Returns:

Response Syntax

{
    'MessageId': 'string'
}

Response Structure

  • (dict) –

    • MessageId (string) –

      ID of a multicast group message.

Exceptions

  • IoTWireless.Client.exceptions.ValidationException

  • IoTWireless.Client.exceptions.ResourceNotFoundException

  • IoTWireless.Client.exceptions.AccessDeniedException

  • IoTWireless.Client.exceptions.ConflictException

  • IoTWireless.Client.exceptions.InternalServerException

  • IoTWireless.Client.exceptions.ThrottlingException