updateMulticastGroup method
Updates properties of a multicast group session.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Implementation
Future<void> updateMulticastGroup({
required String id,
String? description,
LoRaWANMulticast? loRaWAN,
String? name,
}) async {
final $payload = <String, dynamic>{
if (description != null) 'Description': description,
if (loRaWAN != null) 'LoRaWAN': loRaWAN,
if (name != null) 'Name': name,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri: '/multicast-groups/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
}