deleteArchiveRule method
Deletes the specified archive rule.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter analyzerName :
The name of the analyzer that associated with the archive rule to delete.
Parameter ruleName :
The name of the rule to delete.
Parameter clientToken :
A client token.
Implementation
Future<void> deleteArchiveRule({
required String analyzerName,
required String ruleName,
String? clientToken,
}) async {
final $query = <String, List<String>>{
if (clientToken != null) 'clientToken': [clientToken],
};
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/analyzer/${Uri.encodeComponent(analyzerName)}/archive-rule/${Uri.encodeComponent(ruleName)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}