rejectResourceGroupingRecommendations method

Future<RejectResourceGroupingRecommendationsResponse> rejectResourceGroupingRecommendations({
  1. required String appArn,
  2. required List<RejectGroupingRecommendationEntry> entries,
})

Rejects resource grouping 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 entries : List of resource grouping recommendations you have selected to exclude from your application.

Implementation

Future<RejectResourceGroupingRecommendationsResponse>
    rejectResourceGroupingRecommendations({
  required String appArn,
  required List<RejectGroupingRecommendationEntry> entries,
}) async {
  final $payload = <String, dynamic>{
    'appArn': appArn,
    'entries': entries,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/reject-resource-grouping-recommendations',
    exceptionFnMap: _exceptionFns,
  );
  return RejectResourceGroupingRecommendationsResponse.fromJson(response);
}