deleteRuleSet method
Delete a rule set.
May throw ConflictException.
May throw ValidationException.
Parameter ruleSetId :
The identifier of an existing rule set resource to delete.
Implementation
Future<void> deleteRuleSet({
required String ruleSetId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'MailManagerSvc.DeleteRuleSet'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'RuleSetId': ruleSetId,
},
);
}