describeMitigationAction method
Gets information about a mitigation action.
Requires permission to access the DescribeMitigationAction action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter actionName :
The friendly name that uniquely identifies the mitigation action.
Implementation
Future<DescribeMitigationActionResponse> describeMitigationAction({
required String actionName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/mitigationactions/actions/${Uri.encodeComponent(actionName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeMitigationActionResponse.fromJson(response);
}