startResourceGroupingRecommendationTask method
Future<StartResourceGroupingRecommendationTaskResponse>
startResourceGroupingRecommendationTask({
- required String appArn,
Starts grouping recommendation task.
May throw AccessDeniedException.
May throw ConflictException.
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.
Implementation
Future<StartResourceGroupingRecommendationTaskResponse>
startResourceGroupingRecommendationTask({
required String appArn,
}) async {
final $payload = <String, dynamic>{
'appArn': appArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/start-resource-grouping-recommendation-task',
exceptionFnMap: _exceptionFns,
);
return StartResourceGroupingRecommendationTaskResponse.fromJson(response);
}