getRecommendationReportDetails method

Future<GetRecommendationReportDetailsResponse> getRecommendationReportDetails({
  1. required String id,
})

Retrieves detailed information about the specified recommendation report.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter id : The recommendation report generation task id returned by StartRecommendationReportGeneration.

Implementation

Future<GetRecommendationReportDetailsResponse>
    getRecommendationReportDetails({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/get-recommendation-report-details/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetRecommendationReportDetailsResponse.fromJson(response);
}