startRecommendationReportGeneration method
Future<StartRecommendationReportGenerationResponse>
startRecommendationReportGeneration({
- List<
Group> ? groupIdFilter, - OutputFormat? outputFormat,
Starts generating a recommendation report.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter groupIdFilter :
Groups the resources in the recommendation report with a unique name.
Parameter outputFormat :
The output format for the recommendation report file. The default format
is Microsoft Excel.
Implementation
Future<StartRecommendationReportGenerationResponse>
startRecommendationReportGeneration({
List<Group>? groupIdFilter,
OutputFormat? outputFormat,
}) async {
final $payload = <String, dynamic>{
if (groupIdFilter != null) 'groupIdFilter': groupIdFilter,
if (outputFormat != null) 'outputFormat': outputFormat.value,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/start-recommendation-report-generation',
exceptionFnMap: _exceptionFns,
);
return StartRecommendationReportGenerationResponse.fromJson(response);
}