deleteProfilingGroup method

Future<void> deleteProfilingGroup({
  1. required String profilingGroupName,
})

Deletes a profiling group.

May throw InternalServerException. May throw ValidationException. May throw ThrottlingException. May throw ResourceNotFoundException.

Parameter profilingGroupName : The name of the profiling group to delete.

Implementation

Future<void> deleteProfilingGroup({
  required String profilingGroupName,
}) async {
  ArgumentError.checkNotNull(profilingGroupName, 'profilingGroupName');
  _s.validateStringLength(
    'profilingGroupName',
    profilingGroupName,
    1,
    255,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/profilingGroups/${Uri.encodeComponent(profilingGroupName)}',
    exceptionFnMap: _exceptionFns,
  );
}