deleteSafetyRule method

Future<void> deleteSafetyRule({
  1. required String safetyRuleArn,
})

Deletes a safety rule. />

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

Parameter safetyRuleArn : The ARN of the safety rule.

Implementation

Future<void> deleteSafetyRule({
  required String safetyRuleArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/safetyrule/${Uri.encodeComponent(safetyRuleArn)}',
    exceptionFnMap: _exceptionFns,
  );
}