deleteTopicRule method

Future<void> deleteTopicRule({
  1. required String ruleName,
})

Deletes the rule.

Requires permission to access the DeleteTopicRule action.

May throw ConflictingResourceUpdateException. May throw InternalException. May throw InvalidRequestException. May throw ServiceUnavailableException. May throw UnauthorizedException.

Parameter ruleName : The name of the rule.

Implementation

Future<void> deleteTopicRule({
  required String ruleName,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/rules/${Uri.encodeComponent(ruleName)}',
    exceptionFnMap: _exceptionFns,
  );
}