describeResourceGroupingRecommendationTask method
Future<DescribeResourceGroupingRecommendationTaskResponse>
describeResourceGroupingRecommendationTask({})
Describes the resource grouping recommendation tasks run by Resilience Hub for your application.
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 groupingId :
Identifier of the grouping recommendation task.
Implementation
Future<DescribeResourceGroupingRecommendationTaskResponse>
describeResourceGroupingRecommendationTask({
required String appArn,
String? groupingId,
}) async {
final $payload = <String, dynamic>{
'appArn': appArn,
if (groupingId != null) 'groupingId': groupingId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/describe-resource-grouping-recommendation-task',
exceptionFnMap: _exceptionFns,
);
return DescribeResourceGroupingRecommendationTaskResponse.fromJson(
response);
}