:doc:`IoTWireless <../../iotwireless>` / Client / send_data_to_multicast_group

****************************
send_data_to_multicast_group
****************************



.. py:method:: IoTWireless.Client.send_data_to_multicast_group(**kwargs)

  

  Sends the specified data to a multicast group.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/SendDataToMulticastGroup>`_  


  **Request Syntax**
  ::

    response = client.send_data_to_multicast_group(
        Id='string',
        PayloadData='string',
        WirelessMetadata={
            'LoRaWAN': {
                'FPort': 123
            }
        }
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The ID of the multicast group.

    

  
  :type PayloadData: string
  :param PayloadData: **[REQUIRED]** 

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

    

  
  :type WirelessMetadata: dict
  :param WirelessMetadata: **[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.

        

      
    
  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'MessageId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **MessageId** *(string) --* 

        ID of a multicast group message.

        
  
  **Exceptions**
  
  *   :py:class:`IoTWireless.Client.exceptions.ValidationException`

  
  *   :py:class:`IoTWireless.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IoTWireless.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`IoTWireless.Client.exceptions.ConflictException`

  
  *   :py:class:`IoTWireless.Client.exceptions.InternalServerException`

  
  *   :py:class:`IoTWireless.Client.exceptions.ThrottlingException`

  