deleteMitigationAction method
Deletes a defined mitigation action from your AWS account.
May throw InvalidRequestException. May throw ThrottlingException. May throw InternalFailureException.
Parameter actionName
:
The name of the mitigation action that you want to delete.
Implementation
Future<void> deleteMitigationAction({
required String actionName,
}) async {
ArgumentError.checkNotNull(actionName, 'actionName');
_s.validateStringLength(
'actionName',
actionName,
0,
128,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/mitigationactions/actions/${Uri.encodeComponent(actionName)}',
exceptionFnMap: _exceptionFns,
);
}