generateFindingRecommendation method
Creates a recommendation for an unused permissions finding.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter analyzerArn :
The ARN
of the analyzer used to generate the finding recommendation.
Parameter id :
The unique ID for the finding recommendation.
Implementation
Future<void> generateFindingRecommendation({
required String analyzerArn,
required String id,
}) async {
final $query = <String, List<String>>{
'analyzerArn': [analyzerArn],
};
await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/recommendation/${Uri.encodeComponent(id)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}