deleteReportPlan method

Future<void> deleteReportPlan({
  1. required String reportPlanName,
})

Deletes the report plan specified by a report plan name.

May throw ConflictException. May throw InvalidParameterValueException. May throw MissingParameterValueException. May throw ResourceNotFoundException. May throw ServiceUnavailableException.

Parameter reportPlanName : The unique name of a report plan.

Implementation

Future<void> deleteReportPlan({
  required String reportPlanName,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/audit/report-plans/${Uri.encodeComponent(reportPlanName)}',
    exceptionFnMap: _exceptionFns,
  );
}