disableTopicRule method
Disables the rule.
Requires permission to access the DisableTopicRule action.
May throw ConflictingResourceUpdateException.
May throw InternalException.
May throw InvalidRequestException.
May throw ServiceUnavailableException.
May throw UnauthorizedException.
Parameter ruleName :
The name of the rule to disable.
Implementation
Future<void> disableTopicRule({
required String ruleName,
}) async {
await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/rules/${Uri.encodeComponent(ruleName)}/disable',
exceptionFnMap: _exceptionFns,
);
}