batchUpdateRecommendationStatus method
Enables you to include or exclude one or more operational recommendations.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter appArn :
Amazon Resource Name (ARN) of the Resilience Hub application. The format
for this ARN is:
arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs) in the Amazon Web Services General
Reference guide.
Parameter requestEntries :
Defines the list of operational recommendations that need to be included
or excluded.
Implementation
Future<BatchUpdateRecommendationStatusResponse>
batchUpdateRecommendationStatus({
required String appArn,
required List<UpdateRecommendationStatusRequestEntry> requestEntries,
}) async {
final $payload = <String, dynamic>{
'appArn': appArn,
'requestEntries': requestEntries,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/batch-update-recommendation-status',
exceptionFnMap: _exceptionFns,
);
return BatchUpdateRecommendationStatusResponse.fromJson(response);
}