deleteGroup method

Future<void> deleteGroup({
  1. required String groupId,
})

Deletes a group.

May throw BadRequestException.

Parameter groupId : The ID of the Greengrass group.

Implementation

Future<void> deleteGroup({
  required String groupId,
}) async {
  ArgumentError.checkNotNull(groupId, 'groupId');
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/greengrass/groups/${Uri.encodeComponent(groupId)}',
    exceptionFnMap: _exceptionFns,
  );
}