deleteLabelGroup method

Future<void> deleteLabelGroup({
  1. required String labelGroupName,
})

Deletes a group of labels.

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

Parameter labelGroupName : The name of the label group that you want to delete. Data in this field will be retained for service usage. Follow best practices for the security of your data.

Implementation

Future<void> deleteLabelGroup({
  required String labelGroupName,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'AWSLookoutEquipmentFrontendService.DeleteLabelGroup'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'LabelGroupName': labelGroupName,
    },
  );
}