deleteRule method
Deletes a rule for the specified Connect Customer instance.
May throw AccessDeniedException.
May throw InternalServiceException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find
the instance ID in the Amazon Resource Name (ARN) of the instance.
Parameter ruleId :
A unique identifier for the rule.
Implementation
Future<void> deleteRule({
required String instanceId,
required String ruleId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/rules/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(ruleId)}',
exceptionFnMap: _exceptionFns,
);
}