associateWirelessDeviceWithMulticastGroup method

Future<void> associateWirelessDeviceWithMulticastGroup({
  1. required String id,
  2. required String wirelessDeviceId,
})

Associates a wireless device with a multicast group.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Implementation

Future<void> associateWirelessDeviceWithMulticastGroup({
  required String id,
  required String wirelessDeviceId,
}) async {
  final $payload = <String, dynamic>{
    'WirelessDeviceId': wirelessDeviceId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri:
        '/multicast-groups/${Uri.encodeComponent(id)}/wireless-device',
    exceptionFnMap: _exceptionFns,
  );
}