Skip to main content

multicast_groups

Creates, updates, deletes, gets or lists a multicast_groups resource.

Overview​

Namemulticast_groups
TypeResource
Idaws.iotwireless.multicast_groups

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe arn of the multicast group.
created_atstring (date-time)Created at timestamp for the resource.
descriptionstringThe description of the new resource.
idstringThe ID of the multicast group.
lo_ra_wanobjectThe LoRaWAN information that is to be returned from getting multicast group information.
namestringThe name of the multicast group.
statusstringThe status of the multicast group.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_multicast_groupselectid, regionGets information about a multicast group.
list_multicast_groupsselectregionnextToken, maxResultsLists the multicast groups registered to your AWS account.
create_multicast_groupinsertregion, LoRaWANCreates a multicast group.
associate_wireless_device_with_multicast_groupupdateid, region, WirelessDeviceIdAssociates a wireless device with a multicast group.
disassociate_wireless_device_from_multicast_groupupdateid, wireless_device_id, regionDisassociates a wireless device from a multicast group.
update_multicast_groupupdateid, regionUpdates properties of a multicast group session.
delete_multicast_groupdeleteid, regionDeletes a multicast group if it is not in use by a FUOTA task.
cancel_multicast_group_sessionexecid, regionCancels an existing multicast group session.
start_multicast_group_sessionexecid, region, LoRaWANStarts a multicast group session.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstring
regionstringAWS region (default: us-east-1)
wireless_device_idstring
maxResultsinteger
nextTokenstringTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

SELECT examples​

Gets information about a multicast group.

SELECT
arn,
created_at,
description,
id,
lo_ra_wan,
name,
status
FROM aws.iotwireless.multicast_groups
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples​

Creates a multicast group.

INSERT INTO aws.iotwireless.multicast_groups (
Name,
Description,
ClientRequestToken,
LoRaWAN,
Tags,
region
)
SELECT
'{{ Name }}',
'{{ Description }}',
'{{ ClientRequestToken }}',
'{{ LoRaWAN }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
arn,
id
;

UPDATE examples​

Associates a wireless device with a multicast group.

UPDATE aws.iotwireless.multicast_groups
SET
WirelessDeviceId = '{{ WirelessDeviceId }}'
WHERE
id = '{{ id }}' --required
AND region = '{{ region }}' --required
AND WirelessDeviceId = '{{ WirelessDeviceId }}' --required;

DELETE examples​

Deletes a multicast group if it is not in use by a FUOTA task.

DELETE FROM aws.iotwireless.multicast_groups
WHERE id = '{{ id }}' --required
AND region = '{{ region }}' --required
;

Lifecycle Methods​

Cancels an existing multicast group session.

EXEC aws.iotwireless.multicast_groups.cancel_multicast_group_session
@id='{{ id }}' --required,
@region='{{ region }}' --required
;