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